]> git.pld-linux.org Git - packages/less.git/commitdiff
- add .jar and .csr
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 13 Jan 2005 19:36:26 +0000 (19:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lesspipe.sh -> 1.10

lesspipe.sh

index aa7776efd2dd8254d7269aaf9b37f3819a082888..7bb51e645595b297b7c5341b3b4b1d2e4153d465 100644 (file)
@@ -32,9 +32,11 @@ lesspipe() {
        *.[Zz]|*.gz) gzip -dc -- "$1" ;;
        *.bz) bzip -dc -- "$1" ;;
        *.bz2) bzip2 -dc -- "$1" ;;
-       *.zip) unzip -l "$1" ;;
+       *.zip|*.jar) unzip -l "$1" ;;
        *.rpm) rpm -qpivl --changelog -- "$1" ;;
        *.cpi|*.cpio) cpio -itv < "$1" ;;
+       # SSL CERTS
+       *.csr) openssl req -noout -text -in "$1" ;;
        *.1|*.2|*.3|*.4|*.5|*.6|*.7|*.8|*.9|*.l|*.n|*.man) FILE=`file -L "$1"` ; # groff src
                FILE=`echo $FILE | cut -d ' ' -f 2`
                if [ "$FILE" = "troff" ]; then
This page took 0.042765 seconds and 4 git commands to generate.