[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using portversion (Was: keeping freebsd uptodate - doubt)



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
>                      flags.

so it would be like:

# portversion -vL"<"


Thanks for info!

Karol

-- 
Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>

Visit your host, monkey.org