]> git.pld-linux.org Git - packages/gzip.git/blame - gzip-stderr.patch
- Replaced "trap break SIGPIPE" with "trap break PIPE". This way it works with
[packages/gzip.git] / gzip-stderr.patch
CommitLineData
2b4e3558 1--- gzip-1.3/gzexe.in.orig Thu Nov 9 15:08:50 2000
2+++ gzip-1.3/gzexe.in Thu Nov 9 15:09:09 2000
3@@ -15,9 +15,9 @@
4
5 x=`basename $0`
6 if test $# = 0; then
7- echo compress executables. original file foo is renamed to foo~
8- echo usage: ${x} [-d] files...
9- echo " -d decompress the executables"
10+ echo compress executables. original file foo is renamed to foo~ 1&>2
11+ echo usage: ${x} [-d] files... 1>&2
12+ echo " -d decompress the executables" 1>&2
13 exit 1
14 fi
15
16--- gzip-1.3/zdiff.in.orig Thu Nov 9 15:08:50 2000
17+++ gzip-1.3/zdiff.in Thu Nov 9 15:09:29 2000
18@@ -32,7 +32,7 @@
19 esac
20 done
21 if test -z "$FILES"; then
22- echo "Usage: $prog [${comp}_options] file [file]"
23+ echo "Usage: $prog [${comp}_options] file [file]" 1>&2
24 exit 2
25 fi
26 set $FILES
27@@ -64,6 +64,6 @@
28 esac;;
29 esac
30 else
31- echo "Usage: $prog [${comp}_options] file [file]"
32+ echo "Usage: $prog [${comp}_options] file [file]" 1>&2
33 exit 2
34 fi
35--- gzip-1.3/zforce.in.orig Thu Nov 9 15:08:50 2000
36+++ gzip-1.3/zforce.in Thu Nov 9 15:09:47 2000
37@@ -9,8 +9,8 @@
38 PATH="BINDIR:$PATH"; export PATH
39 x=`basename $0`
40 if test $# = 0; then
41- echo "force a '.gz' extension on all gzip files"
42- echo usage: $x files...
43+ echo "force a '.gz' extension on all gzip files" 1>&2
44+ echo usage: $x files... 1>&2
45 exit 1
46 fi
47
48--- gzip-1.3/zgrep.in.orig Thu Nov 9 15:08:50 2000
49+++ gzip-1.3/zgrep.in Thu Nov 9 15:12:21 2000
50@@ -31,8 +31,8 @@
51 done
52
53 if test -z "$pat"; then
54- echo "grep through gzip files"
55- echo "usage: $prog [grep_options] pattern [files]"
56+ echo "grep through gzip files" 1>&2
57+ echo "usage: $prog [grep_options] pattern [files]" 1>&2
58 exit 1
59 fi
60
61--- gzip-1.3/zmore.in.orig Thu Nov 9 15:08:50 2000
62+++ gzip-1.3/zmore.in Thu Nov 9 15:13:49 2000
63@@ -23,7 +23,8 @@
64
65 if test $# = 0; then
66 if test -t 0; then
67- echo usage: zmore files...
68+ echo usage: zmore files... 1>&2
69+ exit 1
70 else
71 gzip -cdfq | eval ${PAGER-more}
72 fi
73--- gzip-1.3/znew.in.orig Thu Nov 9 15:08:50 2000
74+++ gzip-1.3/znew.in Thu Nov 9 15:14:20 2000
75@@ -51,13 +51,13 @@
76 done
77
78 if test $# -eq 0; then
79- echo "recompress .Z files into $ext (gzip) files"
80- echo usage: `echo $0 | sed 's,^.*/,,'` "[-tv9KP]" file.Z...
81- echo " -t tests the new files before deleting originals"
82- echo " -v be verbose"
83- echo " -9 use the slowest compression method (optimal compression)"
84- echo " -K keep a .Z file when it is smaller than the $ext file"
85- echo " -P use pipes for the conversion $warn"
86+ echo "recompress .Z files into $ext (gzip) files" 1>&2
87+ echo usage: `echo $0 | sed 's,^.*/,,'` "[-tv9KP]" file.Z... 1>&2
88+ echo " -t tests the new files before deleting originals" 1>&2
89+ echo " -v be verbose" 1>&2
90+ echo " -9 use the slowest compression method (optimal compression)" 1>&2
91+ echo " -K keep a .Z file when it is smaller than the $ext file" 1>&2
92+ echo " -P use pipes for the conversion $warn" 1>&2
93 exit 1
94 fi
95
This page took 0.042925 seconds and 4 git commands to generate.