portversion vs. pkg_version

Sherry Zhang yuleopen at gmail.com
Sun Dec 24 05:18:05 PST 2006


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);)

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.

ps,i like your essays on GNU/Linux, LaTex, etc. and I gain a lot from them

Sherry Zhang
On 12/24/06, Edward G.J. Lee <edt1023 at ms17.hinet.net> wrote:
> Hi all,
>
>  What's the difference between `portversion' and `pkg_version -I'?
>
>  Thanks.
>
>
>        Edward
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list