[OT] Fun with walking package licenses

Andy Green andy at warmcat.com
Tue Feb 21 17:41:12 UTC 2006


Mike McCarty wrote:

>>>> if [ -z "`echo $pkg | grep not\ owned`" ] ; then
>>>
>>> I'm not familiar with that form for grep. Do you mean
>>>
>>> grep -v owned
>>
>> Nope.
> 
> Oh, of course, you were escaping the space. But isn't this
...
> grep -v not\ owned

Nope.

> You're welcome. It is a better solution, IMO. If the "not
> owned" string gets changed by the maintainers of rpm,
> then you'll have to track that. The "--quiet" is unlikely
> to change, I think, and results in less coupling.

Well it's the great thing about Free software, you can have
your version how you like.

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060221/13797ae0/attachment-0001.bin>


More information about the fedora-list mailing list