2 # Emulate nroff with groff.
7 locale=${LC_CTYPE:-$LANG}
8 if test `expr "$locale" : ".*\.ISO_8859-1"` -gt 0
12 if test `expr "$locale" : ".*\.KOI8-R"` -gt 0
29 # ignore these options
32 echo "$prog: option $1 requires an argument" >&2
39 -Tascii|-Tlatin1|-Tkoi8-r)
43 # ignore other devices
54 # Solaris 2.2 `man' uses -u0; ignore it,
55 # since `less' and `more' can use the emboldening info.
65 echo "$prog: invalid option $1" >&2
75 # This shell script is intended for use with man, so warnings are
76 # probably not wanted. Also load nroff-style character definitions.
77 exec groff $safer -Wall -mtty-char $T $opts ${1+"$@"}