diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1996-11-23 02:31:40 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1996-11-23 02:31:40 +0000 |
commit | 6e3c6e427719e05f6b3d6f928a968f529158e199 (patch) | |
tree | e6c4bdbeaea723fa4173aed9b45f6adf604d8291 /contrib/groff/src | |
parent | f308a4b42c09510326fe6b05dc7b6eb00de66f2b (diff) | |
download | src-6e3c6e427719e05f6b3d6f928a968f529158e199.tar.gz src-6e3c6e427719e05f6b3d6f928a968f529158e199.zip |
Understand ru_RU too
Notes
Notes:
svn path=/head/; revision=19930
Diffstat (limited to 'contrib/groff/src')
-rwxr-xr-x | contrib/groff/src/roff/nroff/nroff.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh index 05b953b54886..02cd72f0cd29 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 |