git: 92f9219d07ce - stable/13 - man(1): Support zstd compressed manpages using zstdcat
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Feb 2023 14:20:47 UTC
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=92f9219d07ce8bebe5066f27a5e0184548fbf511 commit 92f9219d07ce8bebe5066f27a5e0184548fbf511 Author: Cameron Katri <me@cameronkatri.com> AuthorDate: 2023-01-30 18:11:14 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2023-02-06 14:20:35 +0000 man(1): Support zstd compressed manpages using zstdcat Reviewed by: emaste, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D32296 (cherry picked from commit c8abb673a57587fdf9de2d5bd4d3d1f54dfedc19) --- usr.bin/man/man.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh index 084f4a06829b..cf90b64f7991 100755 --- a/usr.bin/man/man.sh +++ b/usr.bin/man/man.sh @@ -897,6 +897,7 @@ setup_cattool() { *.gz) cattool='/usr/bin/zcat' ;; *.lzma) cattool='/usr/bin/lzcat' ;; *.xz) cattool='/usr/bin/xzcat' ;; + *.zst) cattool='/usr/bin/zstdcat' ;; *) cattool='/usr/bin/zcat -f' ;; esac }