summaryrefslogtreecommitdiffstats
path: root/source/a/less/lesspipe.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/less/lesspipe.sh')
-rw-r--r--source/a/less/lesspipe.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/a/less/lesspipe.sh b/source/a/less/lesspipe.sh
index 2f1ce2a54..b5d76d48a 100644
--- a/source/a/less/lesspipe.sh
+++ b/source/a/less/lesspipe.sh
@@ -2,7 +2,7 @@
#
# Copyright 1997, 1998, 1999, 2000 Patrick Volkerding, Moorhead, MN, USA
# Copyright 2001, 2002 Slackware Linux, Inc, Concord, CA, USA
-# Copyright 2006, 2009, 2017 Patrick Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2009, 2017, 2021 Patrick Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -33,6 +33,7 @@ lesspipe() {
*.tgz | *.tar.gz | *.tar.Z | *.tar.z | *.tar.bz2 | *.tbz ) tar tvvf "$1" 2>/dev/null ;;
*.tlz | *.tar.lz ) lzip -dc "$1" 2> /dev/null | tar tvvf - 2> /dev/null ;;
*.txz | *.tar.xz ) xz -dc "$1" 2> /dev/null | tar tvvf - 2> /dev/null ;;
+ *.tzst | *.tar.zst | *.tar.zstd ) tar tvvf "$1" 2> /dev/null ;;
*.zip) unzip -l "$1" 2>/dev/null ;;
*.rpm) rpm -qpvl "$1" 2>/dev/null ;;
*.rar) # check if rar is installed first