git: c8abb673a575 - main - man(1): Support zstd compressed manpages using zstdcat

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 18:12:55 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=c8abb673a57587fdf9de2d5bd4d3d1f54dfedc19

commit c8abb673a57587fdf9de2d5bd4d3d1f54dfedc19
Author:     Cameron Katri <me@cameronkatri.com>
AuthorDate: 2023-01-30 18:11:14 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-01-30 18:12:36 +0000

    man(1): Support zstd compressed manpages using zstdcat
    
    Reviewed by:    emaste, markj
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D32296
---
 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 3cb748c1ba8f..2c23a6fc60fd 100755
--- a/usr.bin/man/man.sh
+++ b/usr.bin/man/man.sh
@@ -909,6 +909,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
 }