1#!/bin/sh 2# Provision of this shell script should not be taken to imply that use of
| 1#!/bin/sh 2# Provision of this shell script should not be taken to imply that use of
|
3# GNU eqn with groff -Tascii|-Tlatin1 is supported.
| 3# GNU eqn with groff -Tascii|-Tlatin1|-Tutf8|-Tcp1047 is supported. 4# $FreeBSD: head/contrib/groff/src/preproc/eqn/neqn.sh 69631 2000-12-05 19:06:41Z ru $
|
4 5# Default device. 6locale=${LC_CTYPE:-$LANG} 7if test `expr "$locale" : ".*\.ISO_8859-1"` -gt 0 8then 9 T=latin1 10else 11if test `expr "$locale" : ".*\.KOI8-R"` -gt 0 12then 13 T=koi8-r 14else 15 T=ascii 16fi 17fi 18 19exec @g@eqn -T${T} ${1+"$@"}
| 5 6# Default device. 7locale=${LC_CTYPE:-$LANG} 8if test `expr "$locale" : ".*\.ISO_8859-1"` -gt 0 9then 10 T=latin1 11else 12if test `expr "$locale" : ".*\.KOI8-R"` -gt 0 13then 14 T=koi8-r 15else 16 T=ascii 17fi 18fi 19 20exec @g@eqn -T${T} ${1+"$@"}
|