The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=b302ca6801dd6a3de0133c51c21609cb96a889c9
commit b302ca6801dd6a3de0133c51c21609cb96a889c9 Author: Ed Maste <[email protected]> AuthorDate: 2026-02-04 16:56:37 +0000 Commit: Ed Maste <[email protected]> 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 ;;
