2013-01-31 17:49:11 +01:00
|
|
|
Index: gzip-1.5/zgrep.1
|
|
|
|
===================================================================
|
|
|
|
--- gzip-1.5.orig/zgrep.1
|
|
|
|
+++ gzip-1.5/zgrep.1
|
|
|
|
@@ -10,7 +10,7 @@ zgrep \- search possibly compressed file
|
2021-09-10 16:22:11 +02:00
|
|
|
.B zgrep
|
|
|
|
command invokes
|
|
|
|
.B grep
|
2013-01-31 17:49:11 +01:00
|
|
|
-on compressed or gzipped files.
|
|
|
|
+on compressed, xz'ed, lzma'ed, bzip2'ed or gzipped files.
|
|
|
|
All options specified are passed directly to
|
2021-09-10 16:22:11 +02:00
|
|
|
.BR grep .
|
2013-01-31 17:49:11 +01:00
|
|
|
If no file is specified, then the standard input is decompressed
|
|
|
|
Index: gzip-1.5/zgrep.in
|
|
|
|
===================================================================
|
|
|
|
--- gzip-1.5.orig/zgrep.in
|
|
|
|
+++ gzip-1.5/zgrep.in
|
|
|
|
@@ -178,6 +178,12 @@ do
|
|
|
|
*.bz2)
|
|
|
|
uncompress=bzip2
|
|
|
|
;;
|
|
|
|
+ *.xz)
|
|
|
|
+ uncompress=xz
|
|
|
|
+ ;;
|
|
|
|
+ *.lzma)
|
|
|
|
+ uncompress=lzma
|
|
|
|
+ ;;
|
|
|
|
*)
|
|
|
|
uncompress=gzip
|
|
|
|
;;
|