[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
Emanuel Rumpf
xbran at web.de
Thu Jun 23 16:00:57 UTC 2011
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 ?
> $ 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.
More information about the Linux-audio-user
mailing list