Re: [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

From: S C Rigler <riglersc@email-addr-hidden>
Date: Thu Jun 23 2011 - 20:12:42 EEST

On Thu, Jun 23, 2011 at 11:58 AM, R. Mattes <rm@email-addr-hidden-freiburg.de> wrote:
> On Thu, 23 Jun 2011 18:00:57 +0200, Emanuel Rumpf wrote
>> 2011/6/23 S C Rigler <riglersc@email-addr-hidden>:
>>
>> > ...
>> > 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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Jun 23 20:15:09 2011

This archive was generated by hypermail 2.1.8 : Thu Jun 23 2011 - 20:15:09 EEST