1996-09-07 16:18:32 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Provision of this shell script should not be taken to imply that use of
|
|
|
|
# GNU eqn with groff -Tascii|-Tlatin1 is supported.
|
|
|
|
|
1997-09-15 02:03:13 +00:00
|
|
|
# Default device.
|
1999-07-30 16:34:06 +00:00
|
|
|
locale=${LC_CTYPE:-$LANG}
|
|
|
|
if test `expr "$locale" : ".*\.ISO_8859-1"` -gt 0
|
1997-09-15 02:03:13 +00:00
|
|
|
then
|
1999-06-07 19:28:47 +00:00
|
|
|
T=latin1
|
1997-09-15 02:03:13 +00:00
|
|
|
else
|
1999-07-30 16:34:06 +00:00
|
|
|
if test `expr "$locale" : ".*\.KOI8-R"` -gt 0
|
1997-09-15 02:03:13 +00:00
|
|
|
then
|
1999-06-07 19:28:47 +00:00
|
|
|
T=koi8-r
|
1997-09-15 02:03:13 +00:00
|
|
|
else
|
1999-06-07 19:28:47 +00:00
|
|
|
T=ascii
|
1997-09-15 02:03:13 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
exec @g@eqn -T${T} ${1+"$@"}
|