mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Force safer mode of operation for man's use of *roff.
Obtained from: OpenBSD's nroff.sh 1.2 by aaron@openbsd.org
This commit is contained in:
parent
44fe63e5e7
commit
758ce8b4e2
2 changed files with 4 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ do
|
|||
echo "$prog: option $1 requires an argument" >&2
|
||||
exit 1
|
||||
;;
|
||||
-i|-[mrno]*)
|
||||
-i|-S|-[mrno]*)
|
||||
opts="$opts $1";
|
||||
;;
|
||||
|
||||
|
|
@ -65,4 +65,4 @@ done
|
|||
|
||||
# This shell script is intended for use with man, so warnings are
|
||||
# probably not wanted. Also load nroff-style character definitions.
|
||||
exec groff -Wall -mtty-char $T $opts ${1+"$@"}
|
||||
exec groff -S -Wall -mtty-char $T $opts ${1+"$@"}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ do
|
|||
echo "$prog: option $1 requires an argument" >&2
|
||||
exit 1
|
||||
;;
|
||||
-i|-[mrno]*)
|
||||
-i|-S|-[mrno]*)
|
||||
opts="$opts $1";
|
||||
;;
|
||||
|
||||
|
|
@ -65,4 +65,4 @@ done
|
|||
|
||||
# This shell script is intended for use with man, so warnings are
|
||||
# probably not wanted. Also load nroff-style character definitions.
|
||||
exec groff -Wall -mtty-char $T $opts ${1+"$@"}
|
||||
exec groff -S -Wall -mtty-char $T $opts ${1+"$@"}
|
||||
|
|
|
|||
Loading…
Reference in a new issue