diff options
author | wlemb <wlemb> | 2001-04-18 20:22:36 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-04-18 20:22:36 +0000 |
commit | 0f162cb51f1cf6f3528f7f1e86b149c9541cfa98 (patch) | |
tree | 1764ea04d0e9b4f7e286fe8315c5479a9898cd58 /src | |
parent | 63b593093e0a0612aa272e218d817312814420a8 (diff) | |
download | groff-0f162cb51f1cf6f3528f7f1e86b149c9541cfa98.tar.gz |
* src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
Fix usage of GROFF_BIN_PATH.
* src/roff/nroff/nroff.man: Updated.
* NEWS: Fixing typos.
Updated.
Diffstat (limited to 'src')
-rw-r--r-- | src/roff/nroff/nroff.man | 8 | ||||
-rw-r--r-- | src/roff/nroff/nroff.sh | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/src/roff/nroff/nroff.man b/src/roff/nroff/nroff.man index c021316b..e9230bb6 100644 --- a/src/roff/nroff/nroff.man +++ b/src/roff/nroff/nroff.man @@ -36,7 +36,9 @@ the original English. .OP \-m name .OP \-n num .OP \-o list +.OP \-p .OP \-r cn +.OP \-t .OP \-T name .RI "[\ " file\|.\|.\|. "\ ]" .br @@ -82,6 +84,10 @@ silently ignores options of or .BR \-s . Options +.B \-p +(pic), +.B \-t +(tbl), .B \-S (safer) and .B \-U @@ -97,7 +103,7 @@ shows the version number. .B GROFF_BIN_PATH A colon separated list of directories in which to search for the .B groff -executable. If unset, `@BINDIR@' is used. +executable before searching in PATH. If unset, `@BINDIR@' is used. .SH NOTES This shell script is basically intended for use with .BR man (1), diff --git a/src/roff/nroff/nroff.sh b/src/roff/nroff/nroff.sh index 0e9eebdd..cdc221f0 100644 --- a/src/roff/nroff/nroff.sh +++ b/src/roff/nroff/nroff.sh @@ -49,7 +49,7 @@ for i -[mrnoT]) echo "$prog: option $1 requires an argument" >&2 exit 1 ;; - -i | -[mrno]*) + -[ipt] | -[mrno]*) opts="$opts $1" ;; -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047) T=$1 ;; @@ -70,7 +70,7 @@ for i echo "GNU nroff (groff) version @VERSION@" exit 0 ;; --help) - echo "usage: nroff [-h] [-i] [-mNAME] [-nNUM] [-oLIST] [-rCN] [-Tname] [FILE...]" + echo "usage: nroff [-h] [-i] [-mNAME] [-nNUM] [-oLIST] [-p] [-rCN] [-t] [-Tname] [FILE...]" exit 0 ;; --) shift @@ -89,10 +89,8 @@ done # This shell script is intended for use with man, so warnings are # probably not wanted. Also load nroff-style character definitions. -OLD_PATH=$PATH : ${GROFF_BIN_PATH=@BINDIR@} export GROFF_BIN_PATH -PATH=$GROFF_BIN_PATH -PATH=$OLD_PATH groff $safer -Wall -mtty-char $T $opts ${1+"$@"} +PATH=$GROFF_BIN_PATH:$PATH groff $safer -Wall -mtty-char $T $opts ${1+"$@"} # eof |