From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/less/files: lesspipe.sh |
Date: | Wed, 10 Feb 2010 23:57:06 |
Message-Id: | E1NfMQW-0006lM-AN@stork.gentoo.org |
1 | vapier 10/02/10 23:57:00 |
2 | |
3 | Modified: lesspipe.sh |
4 | Log: |
5 | many packed exe's can be viewed/unpacked with 7z |
6 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.38 sys-apps/less/files/lesspipe.sh |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/files/lesspipe.sh?rev=1.38&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/files/lesspipe.sh?rev=1.38&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/less/files/lesspipe.sh?r1=1.37&r2=1.38 |
14 | |
15 | Index: lesspipe.sh |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/less/files/lesspipe.sh,v |
18 | retrieving revision 1.37 |
19 | retrieving revision 1.38 |
20 | diff -u -r1.37 -r1.38 |
21 | --- lesspipe.sh 5 Feb 2010 06:36:59 -0000 1.37 |
22 | +++ lesspipe.sh 10 Feb 2010 23:56:59 -0000 1.38 |
23 | @@ -123,7 +123,7 @@ |
24 | *.cab) cabextract -l -- "$1" ;; |
25 | *.lha|*.lzh) lha v "$1" ;; |
26 | *.zoo) zoo -list "$1" || unzoo -l "$1" ;; |
27 | - *.7z) 7z l -- "$1" || 7za l -- "$1" ;; |
28 | + *.7z|*.exe) 7z l -- "$1" || 7za l -- "$1" ;; |
29 | *.a) ar tv "$1" ;; |
30 | *.elf) readelf -a -- "$1" ;; |
31 | *.so) readelf -h -d -s -- "$1" ;; |
32 | @@ -235,7 +235,7 @@ |
33 | echo "Usage: lesspipe.sh <file>" |
34 | elif [[ $1 == "-V" || $1 == "--version" ]] ; then |
35 | Id="cvsid" |
36 | - cvsid="$Id: lesspipe.sh,v 1.37 2010/02/05 06:36:59 vapier Exp $" |
37 | + cvsid="$Id: lesspipe.sh,v 1.38 2010/02/10 23:56:59 vapier Exp $" |
38 | cat <<-EOF |
39 | $cvsid |
40 | Copyright 2001-2009 Gentoo Foundation |