summaryrefslogtreecommitdiffstats
path: root/lzgrep
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:23:06 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:23:06 +0000
commit4b650df10dcb0f7aa36b40f517e3ddb85b1198e4 (patch)
tree41c04636a5e74aa432e5f44d5904e805cae51790 /lzgrep
parentAdding debian version 1.6~pre1-1. (diff)
downloadlzip-4b650df10dcb0f7aa36b40f517e3ddb85b1198e4.tar.xz
lzip-4b650df10dcb0f7aa36b40f517e3ddb85b1198e4.zip
Merging upstream version 1.6~pre2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rwxr-xr-xlzgrep9
1 files changed, 7 insertions, 2 deletions
diff --git a/lzgrep b/lzgrep
index 9d9eaeb..0991f58 100755
--- a/lzgrep
+++ b/lzgrep
@@ -5,6 +5,8 @@
# This script is free software: you have unlimited permission
# to copy, distribute and modify it.
+LC_ALL=C
+export LC_ALL
invocation_name=$0
args=
default_prog=lzip
@@ -37,9 +39,12 @@ while [ x"$1" != x ] ; do
echo " --gzip use gzip as default decompressor"
echo " --bzip2 use bzip2 as default decompressor"
echo " --lzip use lzip as default decompressor (default)"
+ echo
+ echo "Report bugs to lzip-bug@nongnu.org"
+ echo "Lzip home page: http://www.nongnu.org/lzip/lzip.html"
exit 0 ;;
--version | --ve* | -V)
- echo "Lzgrep 0.3"
+ echo "Lzgrep 0.4"
echo "Copyright (C) 2009 Antonio Diaz Diaz."
echo "This script is free software: you have unlimited permission"
echo "to copy, distribute and modify it."
@@ -93,7 +98,7 @@ for i in "$@" ; do
case "$i" in
*.gz | *.tgz)
prog="gzip -cdfq" ;;
- *.bz2 | *.tbz2)
+ *.bz2 | *.tbz | *.tbz2)
prog="bzip2 -cdfq" ;;
*.lz | *.tlz)
prog="lzip -cdfq" ;;