Deleted Added
full compact
nroff.sh (18128) nroff.sh (18248)
1#!/bin/sh
2# Emulate nroff with groff.
3
4prog="$0"
5# Default device.
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"
6if test `expr "$LC_CTYPE" : ".*\.ISO_8859-1"` -gt 0 || \
7 test `expr "$LANG" : ".*\.ISO_8859-1"` -gt 0
7then
8 T=-Tlatin1
9else
8then
9 T=-Tlatin1
10else
11if test "X$LC_CTYPE" = "Xru_SU.KOI8-R" || test "X$LANG" = "Xru_SU.KOI8-R"
12then
13 T=-Tkoi8-r
14else
10 T=-Tascii
11fi
15 T=-Tascii
16fi
17fi
12opts=
13
14for i
15do
16 case $1 in
17 -h)
18 opts="$opts -P-h"
19 ;;

--- 42 unchanged lines hidden ---
18opts=
19
20for i
21do
22 case $1 in
23 -h)
24 opts="$opts -P-h"
25 ;;

--- 42 unchanged lines hidden ---