neqn.sh revision 303975
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|-Tkoi8-r|-Tutf8|-Tcp1047 is supported. 4# $FreeBSD: releng/11.0/contrib/groff/src/preproc/eqn/neqn.sh 151503 2005-10-20 10:53:15Z ru $ 5 6# Default device. 7case "${LC_ALL-${LC_CTYPE-${LANG}}}" in 8 *.UTF-8) 9 T=utf8 ;; 10 iso_8859_1 | *.ISO*8859-1 | *.ISO*8859-15) 11 T=latin1 ;; 12 *.IBM-1047) 13 T=cp1047 ;; 14 *.KOI8-R) 15 T=koi8-r ;; 16 *) 17 T=ascii ;; 18esac 19 20@GROFF_BIN_PATH_SETUP@ 21PATH="$GROFF_RUNTIME$PATH" 22export PATH 23exec @g@eqn -T${T} ${1+"$@"} 24 25# eof 26