aboutsummaryrefslogblamecommitdiff
path: root/contrib/groff/src/preproc/eqn/neqn.sh
blob: 5390bba6c9ad71e38222a1bee9e747bfd0adbfeb (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|-Tkoi8-r|-Tutf8|-Tcp1047 is supported.
# $FreeBSD$

# Default device.
case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
  *.UTF-8)
    T=utf8 ;;
  iso_8859_1 | *.ISO*8859-1 | *.ISO*8859-15)
    T=latin1 ;;
  *.IBM-1047)
    T=cp1047 ;;
  *.KOI8-R)
    T=koi8-r ;;
  *)
    T=ascii ;;
esac

@GROFF_BIN_PATH_SETUP@
PATH="$GROFF_RUNTIME$PATH"
export PATH
exec @g@eqn -T${T} ${1+"$@"}

# eof