[LAU] How to post selected contend of a configuration file Was: OT - Re: Kernel 2.6.39 Re: Linux-audio-user Digest, Vol 52, Issue 33

S C Rigler riglersc at gmail.com
Thu Jun 23 17:12:42 UTC 2011


On Thu, Jun 23, 2011 at 11:58 AM, R. Mattes <rm at mh-freiburg.de> wrote:
> On Thu, 23 Jun 2011 18:00:57 +0200, Emanuel Rumpf wrote
>> 2011/6/23 S C Rigler <riglersc at gmail.com>:
>>
>> > ...
>> > Grep is fully capably capable of matching lines directly from the file
>> > so you don't need anything piping the file to it.  ...
>>
>> Now, what if the file is compressed ?
>>
>> There is
>> bzless config.tar.bz2 | grep PREEMT*
>>
>> would that somehow work pipeless ?
>
> bzgrep?
>

The correct answer is neither since both grep or bzgrep will simply
state that "Binary file matches".  Why would anyone tar and then
compress a single text file anyways?

I apologize for the tangent, this is getting way OT.

--Steve


More information about the Linux-audio-user mailing list