summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>1999-09-23 13:40:28 +0000
committerphantom <phantom@FreeBSD.org>1999-09-23 13:40:28 +0000
commit472736db15828521093662e4dbf7f2e42c759cfd (patch)
treee4d84d113db010d578651552c7412c2cb0f08695 /contrib
parenta2ad4c3e54fd891f1e153e59d59542be6ed3708c (diff)
downloadFreeBSD-src-472736db15828521093662e4dbf7f2e42c759cfd.zip
FreeBSD-src-472736db15828521093662e4dbf7f2e42c759cfd.tar.gz
Learn nroff about -p and -t options. It allows to preprocess
file with pic(1) and tbl(1). Not objected to: mpp
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/groff/nroff/nroff.sh3
-rwxr-xr-xcontrib/groff/src/roff/nroff/nroff.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/contrib/groff/nroff/nroff.sh b/contrib/groff/nroff/nroff.sh
index 2515968..57e5d45 100755
--- a/contrib/groff/nroff/nroff.sh
+++ b/contrib/groff/nroff/nroff.sh
@@ -1,5 +1,6 @@
#!/bin/sh
# Emulate nroff with groff.
+# $FreeBSD$
prog="$0"
# Default device.
@@ -30,7 +31,7 @@ do
echo "$prog: option $1 requires an argument" >&2
exit 1
;;
- -i|-S|-[mrno]*)
+ -[iStp]|-[mrno]*)
opts="$opts $1";
;;
diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh
index 2515968..57e5d45 100755
--- a/contrib/groff/src/roff/nroff/nroff.sh
+++ b/contrib/groff/src/roff/nroff/nroff.sh
@@ -1,5 +1,6 @@
#!/bin/sh
# Emulate nroff with groff.
+# $FreeBSD$
prog="$0"
# Default device.
@@ -30,7 +31,7 @@ do
echo "$prog: option $1 requires an argument" >&2
exit 1
;;
- -i|-S|-[mrno]*)
+ -[iStp]|-[mrno]*)
opts="$opts $1";
;;
OpenPOWER on IntegriCloud