in reply to Search in the .tgz file without unpack and untar

Not a perl solution

If you are in unix you can use eval "$(lesspipe)" and then give less yourfilename. It will show you the contents inside the tar.

--Lakshmanan G.

The great pleasure in my life is doing what people say you cannot do.


  • Comment on Re: Search in the .tgz file without unpack and untar

Replies are listed 'Best First'.
Re^2: Search in the .tgz file without unpack and untar
by Porculus (Hermit) on May 23, 2009 at 23:14 UTC
    This is not something you can do "in unix". It is something you might be able to do if you happen to have a lesspipe program installed, but it is in no way a standard behaviour. Most UNIX systems have no such program.