From f8b9674f58381abb48e521383727d441b4335dee Mon Sep 17 00:00:00 2001 From: WF Date: Tue, 24 Sep 2024 17:45:56 +0200 Subject: [PATCH] display all certs in a pem file --- ChangeLog | 4 ++++ lesspipe.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7361f41..659d61a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ **************************************************************************** # ChangeLog for lesspipe.sh # **************************************************************************** +- display all certificates in pem files, not only the 1st one +- do not exit if called from other programs (man, git, perldoc) +- improve option processing in bat +- change (again) order of programs to process man pages - force unicode/utf8 for html2text Version 2.14 Aug 16 2024 - allow for colorizing dotfiles diff --git a/lesspipe.sh b/lesspipe.sh index 1d3e59c..5bb7ea2 100755 --- a/lesspipe.sh +++ b/lesspipe.sh @@ -584,7 +584,7 @@ isfinal () { djvu) has_cmd djvutxt && cmd=(djvutxt "$1") ;; x509|crl) - has_cmd openssl && cmd=(istemp "openssl $x -hash -text -noout -in" "$1") ;; + has_cmd openssl && cmd=(istemp "openssl storeutl -text -noout" "$1") ;; csr) has_cmd openssl && cmd=(istemp "openssl req -text -noout -in" "$1") ;; pgp)