Currently I can grep (in command line) the gzip files I receive using the command zgrep -a something logs.tar.gz
it outputs every line inside the logs.tar.gz
but without the file where it was found, so is 80% useful.
Then I turned to emacs but when I do the equivalent command zrgrep
I get only the Binary file ./logs.tar.gz matches
, when I click it opens the tar.gz file, but I don't see the matches. I tried to visualise it by installing ascii with el-get without success and read over the different greps. Unfortunately I didn't find any clue on how to grep the open gz file in the buffer, it always refers to a physical dir. So currently I need to uncompress it and do the regular grep (that works well)
Is it possible to have the possibility to pass the command -a to get it in ascii text?
or
Is there any possibility to run a grep (or equivalent command) on the buffer I have the gz file open?