]> git.pld-linux.org Git - packages/less.git/commitdiff
- textual display of .crt files less-382-2
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 5 Mar 2005 16:38:22 +0000 (16:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lesspipe.sh -> 1.16

lesspipe.sh

index 51024a87af6d759d87f67ce7dd3e66fe024c6bf1..69a5e8e45f2f7267e540d9db1db3e3e5cb2ec58e 100644 (file)
@@ -39,6 +39,7 @@ lesspipe() {
        # SSL CERTS
        *.csr) openssl req -noout -text -in "$1" ;;
        *.crl) openssl crl -noout -text -in "$1" ;;
+       *.crt) openssl x509 -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.5189 seconds and 4 git commands to generate.