On Thu, Jun 23, 2011 at 11:58 AM, R. Mattes <rm(a)mh-freiburg.de> wrote:
On Thu, 23 Jun 2011 18:00:57 +0200, Emanuel Rumpf
wrote
2011/6/23 S C Rigler <riglersc(a)gmail.com>om>:
...
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