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: Emanuel Rumpf <xbran@email-addr-hidden>
Date: Thu Jun 23 2011 - 19:00:57 EEST

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 ?

> $ less config-2.6.39.1 | grep PREEMPT

It's also possible with the angle bracket
<config.txt grep PREEMT*

BUT: I really would NOT recommend that.
If you accidentally reverse the bracket (>), you've lost....

-- 
E.R.
_______________________________________________
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:06 2011

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