aboutsummaryrefslogblamecommitdiff
path: root/contrib/groff/src/preproc/eqn/neqn.sh
blob: f33b68e3b350e25368cdf5bc73d187e99f11d4be (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                         
                 

                                                 
    
                
    
                                             
    
                
    
               



                            
#!/bin/sh
# Provision of this shell script should not be taken to imply that use of
# GNU eqn with groff -Tascii|-Tlatin1 is supported.

# Default device.
locale=${LC_CTYPE:-$LANG}
if test `expr "$locale" : ".*\.ISO_8859-1"` -gt 0
then
	T=latin1
else
if test `expr "$locale" : ".*\.KOI8-R"` -gt 0
then
	T=koi8-r
else
	T=ascii
fi
fi

exec @g@eqn -T${T} ${1+"$@"}