portversion vs. pkg_version

Edward G.J. Lee edt1023 at ms17.hinet.net
Sun Dec 24 07:20:58 PST 2006


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


More information about the freebsd-questions mailing list