mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49241
@ -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 New Issue
Block a user