diff options
author | ache <ache@FreeBSD.org> | 1996-11-23 02:31:40 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-11-23 02:31:40 +0000 |
commit | 21ba09024d45cc1e5a94cd62484004cda50ddb51 (patch) | |
tree | e6c4bdbeaea723fa4173aed9b45f6adf604d8291 /contrib | |
parent | b63c62d83045f7979db1916dce8aa337236c009a (diff) | |
download | FreeBSD-src-21ba09024d45cc1e5a94cd62484004cda50ddb51.zip FreeBSD-src-21ba09024d45cc1e5a94cd62484004cda50ddb51.tar.gz |
Understand ru_RU too
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/groff/nroff/nroff.sh | 3 | ||||
-rwxr-xr-x | contrib/groff/src/roff/nroff/nroff.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/contrib/groff/nroff/nroff.sh b/contrib/groff/nroff/nroff.sh index 05b953b..02cd72f 100755 --- a/contrib/groff/nroff/nroff.sh +++ b/contrib/groff/nroff/nroff.sh @@ -8,7 +8,8 @@ if test `expr "$LC_CTYPE" : ".*\.ISO_8859-1"` -gt 0 || \ then T=-Tlatin1 else -if test "X$LC_CTYPE" = "Xru_SU.KOI8-R" || test "X$LANG" = "Xru_SU.KOI8-R" +if test `expr "$LC_CTYPE" : ".*\.KOI8-R"` -gt 0 || \ + test `expr "$LANG" : ".*\.KOI8-R"` -gt 0 then T=-Tkoi8-r else diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh index 05b953b..02cd72f 100755 --- a/contrib/groff/src/roff/nroff/nroff.sh +++ b/contrib/groff/src/roff/nroff/nroff.sh @@ -8,7 +8,8 @@ if test `expr "$LC_CTYPE" : ".*\.ISO_8859-1"` -gt 0 || \ then T=-Tlatin1 else -if test "X$LC_CTYPE" = "Xru_SU.KOI8-R" || test "X$LANG" = "Xru_SU.KOI8-R" +if test `expr "$LC_CTYPE" : ".*\.KOI8-R"` -gt 0 || \ + test `expr "$LANG" : ".*\.KOI8-R"` -gt 0 then T=-Tkoi8-r else |