man.sh (c06e7b66a147edf55f4241fbfbfa32856550cd15) | man.sh (73577bf01de5c4677dc54d97f93310286c254780) |
---|---|
1#! /bin/sh 2# 3# SPDX-License-Identifier: BSD-2-Clause-FreeBSD 4# 5# Copyright (c) 2010 Gordon Tetlow 6# All rights reserved. 7# 8# Redistribution and use in source and binary forms, with or without --- 998 unchanged lines hidden (view full) --- 1007TROFF='groff -S -man' 1008VGRIND=vgrind 1009 1010LOCALE=/usr/bin/locale 1011STTY=/bin/stty 1012SYSCTL=/sbin/sysctl 1013 1014debug=0 | 1#! /bin/sh 2# 3# SPDX-License-Identifier: BSD-2-Clause-FreeBSD 4# 5# Copyright (c) 2010 Gordon Tetlow 6# All rights reserved. 7# 8# Redistribution and use in source and binary forms, with or without --- 998 unchanged lines hidden (view full) --- 1007TROFF='groff -S -man' 1008VGRIND=vgrind 1009 1010LOCALE=/usr/bin/locale 1011STTY=/bin/stty 1012SYSCTL=/sbin/sysctl 1013 1014debug=0 |
1015man_default_sections='1:8:2:3:n:4:5:6:7:9:l' | 1015man_default_sections='1:8:2:3:3lua:n:4:5:6:7:9:l' |
1016man_default_path='/usr/share/man:/usr/share/openssl/man:/usr/local/share/man:/usr/local/man' 1017cattool='/usr/bin/zcat -f' 1018 1019config_global='/etc/man.conf' 1020 1021# This can be overridden via a setting in /etc/man.conf. 1022config_local='/usr/local/etc/man.d/*.conf' 1023 1024# Set noglobbing for now. I don't want spurious globbing. 1025set -f 1026 1027case "$0" in 1028*apropos) do_apropos "$@" ;; 1029*manpath) do_manpath "$@" ;; 1030*whatis) do_whatis "$@" ;; 1031*) do_man "$@" ;; 1032esac | 1016man_default_path='/usr/share/man:/usr/share/openssl/man:/usr/local/share/man:/usr/local/man' 1017cattool='/usr/bin/zcat -f' 1018 1019config_global='/etc/man.conf' 1020 1021# This can be overridden via a setting in /etc/man.conf. 1022config_local='/usr/local/etc/man.d/*.conf' 1023 1024# Set noglobbing for now. I don't want spurious globbing. 1025set -f 1026 1027case "$0" in 1028*apropos) do_apropos "$@" ;; 1029*manpath) do_manpath "$@" ;; 1030*whatis) do_whatis "$@" ;; 1031*) do_man "$@" ;; 1032esac |