Date: Sun, 24 Dec 2006 23:19:12 +0800 From: "Edward G.J. Lee" <edt1023@ms17.hinet.net> To: Sherry Zhang <yuleopen@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: portversion vs. pkg_version Message-ID: <20061224151912.GA94439@lgj.amnesia.net> In-Reply-To: <68bfdc900612240518o52dcc52cyef9b3a07f3b3115f@mail.gmail.com> References: <20061224054239.GA4470@lgj.amnesia.net> <68bfdc900612240518o52dcc52cyef9b3a07f3b3115f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Sherry, On Sun, Dec 24, 2006, Sherry Zhang wrote: > Mr. Lee: > > imho, portversion(uses the INDEX file to look up port versions) is > like the desktop search(searh an index file), and the pkg_version( > queries the port > versions directly) is like the find command(search the entire disk);) But pkg_version -I use INDEX file too. > use portversion instead, it's efficient cause it use port database. > however, it will take a long time using portsdb to update the database > file (the INDEX file) when you want to use portversion. If I run `pkg_version -v -I -L=', will fast then `portversion -v -L='. > ps,i like your essays on GNU/Linux, LaTex, etc. and I gain a lot from them Thanks, I hope you like it.:) Edward
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061224151912.GA94439>