https://bugzilla.novell.com/show_bug.cgi?id=799561 https://bugzilla.novell.com/show_bug.cgi?id=799561#c2 Wojtek Dziewięcki <vdziewiecki@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WONTFIX --- Comment #2 from Wojtek Dziewięcki <vdziewiecki@suse.com> 2013-01-28 13:46:39 UTC ---
From the xzgrep manpage: xzgrep invokes grep(1) on files which may be either uncompressed or compressed with xz(1), lzma(1), gzip(1), or bzip2(1).
I see no reason to fix this since an utility with the desired functionality already exists - xzgrep. If you really want zgrep to handle this, edit /usr/bin/zgrep and change: case $i in *.bz2) uncompress=bzip2 ;; *) uncompress=gzip ;; esac to: case $i in *.bz2) uncompress=bzip2 ;; *.xz) uncompress=xz ;; *.lzma) uncompress=lzma ;; *) uncompress=gzip ;; esac Wojtek -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.