git: edcfb3df7d13 - stable/15 - lesspipe: Use zstdcat
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Apr 2026 13:17:35 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=edcfb3df7d13352df8274fb29fdf817125a1dedb
commit edcfb3df7d13352df8274fb29fdf817125a1dedb
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-02-23 18:59:55 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-04-22 13:17:24 +0000
lesspipe: Use zstdcat
zstdcat is equivalent to zstd -dcf, and matches our intention.
Suggested by: delphij (in D55101)
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 34d7f100c1d9e6f21d2f79097e891f7a17749d1b)
---
usr.bin/less/lesspipe.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.bin/less/lesspipe.sh b/usr.bin/less/lesspipe.sh
index 6fc6cc471638..7992cc4e2e3d 100644
--- a/usr.bin/less/lesspipe.sh
+++ b/usr.bin/less/lesspipe.sh
@@ -21,7 +21,7 @@ case "$1" in
exec lzma -d -c "$1" 2>/dev/null
;;
*.zst)
- exec zstd -d -q -c -f "$1" 2>/dev/null
+ exec zstdcat -q "$1" 2>/dev/null
;;
*) exec cat "$1" 2>/dev/null
;;