Date: Thu, 05 Mar 2026 23:58:24 +0000 From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b302ca6801dd - stable/14 - lesspipe: Allow zstd to operate on a symlink Message-ID: <69aa18a0.1885c.ffefe5e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=b302ca6801dd6a3de0133c51c21609cb96a889c9 commit b302ca6801dd6a3de0133c51c21609cb96a889c9 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2026-02-04 16:56:37 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2026-03-05 23:57:55 +0000 lesspipe: Allow zstd to operate on a symlink By default zstd refuses to operate on symlinks, so for example `zless /var/crash/vmcore.last.zst` failed to view the uncompressed core file. Add -f to the zstd command line to allow operation on symlinks. Reviewed by: delphij Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55101 (cherry picked from commit b4305c90a3be7e1a40b76545b8b761fdbda5c309) (cherry picked from commit 68125692efacbce537e14ba16ecedff750cccc36) --- 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 253914b8b3ee..6fc6cc471638 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 "$1" 2>/dev/null + exec zstd -d -q -c -f "$1" 2>/dev/null ;; *) exec cat "$1" 2>/dev/null ;;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69aa18a0.1885c.ffefe5e>
