I was trying to locate the file used whenever the command *'port search' *is called. I have been unable to find the correct file and would be immensely grateful if somebody could tell me where to look for it.
On Sun, Apr 5, 2020, 8:09 AM Vibhansh Gupta <vibhan...@gmail.com> wrote: > Thank you so much ! > I was having difficulty in finding out what exactly is returned when a > ‘port search’ command returns an error string. > > > > On 05-Apr-2020, at 7:59 AM, Joshua Root <j...@macports.org> wrote: > > > > On 2020-4-5 11:35 , Vibhansh Gupta wrote: > >> Can anyone help me in finding the definition files for functions such > as ui_error, ui_debug, ui_warning etc. > >> > >> I’ve tried to do so myself but have failed miserably. I’d be super > grateful for your help. > > > > These are created in macports.tcl by macports::ui_init, which is called > > for each priority level in mportinit. > > > > - Josh > >