nroff.sh (18100) | nroff.sh (18128) |
---|---|
1#!/bin/sh 2# Emulate nroff with groff. 3 4prog="$0" 5# Default device. 6if test "X$LC_CTYPE" = "Xiso_8859_1" || test "X$LESSCHARSET" = "Xlatin1" 7then 8 T=-Tlatin1 --- 14 unchanged lines hidden (view full) --- 23 -[mrnoT]) 24 echo "$prog: option $1 requires an argument" >&2 25 exit 1 26 ;; 27 -i|-[mrno]*) 28 opts="$opts $1"; 29 ;; 30 | 1#!/bin/sh 2# Emulate nroff with groff. 3 4prog="$0" 5# Default device. 6if test "X$LC_CTYPE" = "Xiso_8859_1" || test "X$LESSCHARSET" = "Xlatin1" 7then 8 T=-Tlatin1 --- 14 unchanged lines hidden (view full) --- 23 -[mrnoT]) 24 echo "$prog: option $1 requires an argument" >&2 25 exit 1 26 ;; 27 -i|-[mrno]*) 28 opts="$opts $1"; 29 ;; 30 |
31 -Tascii|-Tlatin1) | 31 -Tascii|-Tlatin1|-Tkoi8-r) |
32 T=$1 33 ;; 34 -T*) 35 # ignore other devices 36 ;; 37 -u*) 38 # Solaris 2.2 `man' uses -u0; ignore it, 39 # since `less' and `more' can use the emboldening info. --- 22 unchanged lines hidden --- | 32 T=$1 33 ;; 34 -T*) 35 # ignore other devices 36 ;; 37 -u*) 38 # Solaris 2.2 `man' uses -u0; ignore it, 39 # since `less' and `more' can use the emboldening info. --- 22 unchanged lines hidden --- |