diff options
author | Warner Losh <imp@FreeBSD.org> | 1999-07-30 05:20:17 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 1999-07-30 05:20:17 +0000 |
commit | 758ce8b4e2066f8a1e3b930fbb5d3930e014c82e (patch) | |
tree | 1e0b21c344d539e12a5f092a9cb9cee815a98b45 /contrib/groff/src | |
parent | 44fe63e5e7231552122c5e42fb029a44c56f2c91 (diff) | |
download | src-758ce8b4e2066f8a1e3b930fbb5d3930e014c82e.tar.gz src-758ce8b4e2066f8a1e3b930fbb5d3930e014c82e.zip |
Force safer mode of operation for man's use of *roff.
Obtained from: OpenBSD's nroff.sh 1.2 by aaron@openbsd.org
Notes
Notes:
svn path=/head/; revision=49241
Diffstat (limited to 'contrib/groff/src')
-rwxr-xr-x | contrib/groff/src/roff/nroff/nroff.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh index 02cd72f0cd29..25d9db268824 100755 --- a/contrib/groff/src/roff/nroff/nroff.sh +++ b/contrib/groff/src/roff/nroff/nroff.sh @@ -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+"$@"} |