1 |
vapier 12/11/22 04:20:15 |
2 |
|
3 |
Modified: lesspipe.sh |
4 |
Log: |
5 |
Pass the -d flag to lzip for .lz files #444122 by Vincent Tai. |
6 |
|
7 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key FB7C4156) |
8 |
|
9 |
Revision Changes Path |
10 |
1.49 sys-apps/less/files/lesspipe.sh |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/files/lesspipe.sh?rev=1.49&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/files/lesspipe.sh?rev=1.49&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/less/files/lesspipe.sh?r1=1.48&r2=1.49 |
15 |
|
16 |
Index: lesspipe.sh |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/less/files/lesspipe.sh,v |
19 |
retrieving revision 1.48 |
20 |
retrieving revision 1.49 |
21 |
diff -u -r1.48 -r1.49 |
22 |
--- lesspipe.sh 4 Sep 2012 19:13:58 -0000 1.48 |
23 |
+++ lesspipe.sh 22 Nov 2012 04:20:15 -0000 1.49 |
24 |
@@ -13,7 +13,7 @@ |
25 |
case "$1" in |
26 |
*.gz|*.z) echo "gunzip -c" ;; |
27 |
*.bz2|*.bz) echo "bunzip2 -c" ;; |
28 |
- *.lz) echo "lzip -c" ;; |
29 |
+ *.lz) echo "lzip -dc" ;; |
30 |
*.lzma) echo "unlzma -c" ;; |
31 |
*.xz) echo "xzdec" ;; |
32 |
*) echo "cat" ;; |
33 |
@@ -233,7 +233,7 @@ |
34 |
elif [[ $1 == "-V" || $1 == "--version" ]] ; then |
35 |
Id="cvsid" |
36 |
cat <<-EOF |
37 |
- $Id: lesspipe.sh,v 1.48 2012/09/04 19:13:58 vapier Exp $ |
38 |
+ $Id: lesspipe.sh,v 1.49 2012/11/22 04:20:15 vapier Exp $ |
39 |
Copyright 2001-2010 Gentoo Foundation |
40 |
Mike Frysinger <vapier@g.o> |
41 |
(with plenty of ideas stolen from other projects/distros) |
42 |
@@ -243,7 +243,7 @@ |
43 |
less -V |
44 |
elif [[ $1 == "-h" || $1 == "--help" ]] ; then |
45 |
cat <<-EOF |
46 |
- lesspipe: preproccess files before sending them to less |
47 |
+ lesspipe: preprocess files before sending them to less |
48 |
|
49 |
Usage: lesspipe <file> |