mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Add a zstdless equivalent to zless, bzless xzless
This commit is contained in:
parent
e229090553
commit
7ccae4e0a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316979
@ -12,7 +12,8 @@ LIBADD= ncursesw
|
||||
LINKS= ${BINDIR}/less ${BINDIR}/more \
|
||||
${BINDIR}/zless ${BINDIR}/bzless \
|
||||
${BINDIR}/zless ${BINDIR}/xzless \
|
||||
${BINDIR}/zless ${BINDIR}/lzless
|
||||
${BINDIR}/zless ${BINDIR}/lzless \
|
||||
${BINDIR}/zless ${BINDIR}/zstless
|
||||
MLINKS= less.1 more.1
|
||||
CLEANFILES= less.1
|
||||
|
||||
|
@ -22,4 +22,7 @@ case "$1" in
|
||||
*.lzma)
|
||||
exec lzma -d -c "$1" 2>/dev/null
|
||||
;;
|
||||
*.zst)
|
||||
exec zstd -d -q -c "$1" 2>/dev/null
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user