diff options
author | imp <imp@FreeBSD.org> | 1999-07-30 05:20:17 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-07-30 05:20:17 +0000 |
commit | 937ff682c07f453beefdacfdce0ddd8afc82fad6 (patch) | |
tree | 0f25b0af73acd238889d9fdc72a59f499f19784b /contrib | |
parent | 7f07913dd9d4907b1588c65e612d6a27d349a7e5 (diff) | |
download | FreeBSD-src-937ff682c07f453beefdacfdce0ddd8afc82fad6.zip FreeBSD-src-937ff682c07f453beefdacfdce0ddd8afc82fad6.tar.gz |
Force safer mode of operation for man's use of *roff.
Obtained from: OpenBSD's nroff.sh 1.2 by aaron@openbsd.org
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/groff/nroff/nroff.sh | 4 | ||||
-rwxr-xr-x | contrib/groff/src/roff/nroff/nroff.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/groff/nroff/nroff.sh b/contrib/groff/nroff/nroff.sh index 02cd72f..25d9db2 100755 --- a/contrib/groff/nroff/nroff.sh +++ b/contrib/groff/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+"$@"} diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh index 02cd72f..25d9db2 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+"$@"} |