Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How to grep a bz2 file that is further under a zip folder - Ex: I have a work.zip folder inside which i got a couple of XXX.bz2 files which have a pattern i am searching for. I want to avoid unzipping the parent folder, is there a way?
zip -sf work.zip
unzip -p archive.zip | bzgrep 'regex'
Required, but never shown
2 years, 2 months ago