11/12/2013

Zgrep/ Grep -a

 -a, --text
              Process a binary file as if it were text; this is equivalent to the --binary-files=text option.

$ zgrep -a cdp test.tl.gz

If this "-a" option is not specified, an error will come out

$ zgrep cdp tst.tl.gz

Binary file (standard input) matches

没有评论: