1
0
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:
Baptiste Daroussin 2017-04-15 20:06:24 +00:00
parent e229090553
commit 7ccae4e0a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316979
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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