using portversion (Was: keeping freebsd uptodate - doubt)

Karol Kwiatkowski freebsd at
Wed Feb 2 06:33:13 PST 2005

Chris Hodgins wrote:
>>> 4) portversion -v
>> 'portversion -v | grep -v "=" ' is what I use.
> You shouldn't require the can do this instead:
> # portversion -vl"<"

Cheers for that, I didn't thought about that.

But, that's not exactly what I wanted: '-l' switch includes only "<"
while 'grep -v "="' excludes "=". The difference is I wanted ">"
included, too (just in case).

Quick scan of portversion manpage gave me '-L' option:

> --inv-limit CHARS    Exclude the packages with the specified status
>                      flags.

so it would be like:

# portversion -vL"<"

Thanks for info!


Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>

More information about the freebsd-questions mailing list