using portversion (Was: keeping freebsd uptodate - doubt)
freebsd at orchid.homeunix.org
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 grep...you 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:
> -L CHARS
> --inv-limit CHARS Exclude the packages with the specified status
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