neqn.sh revision 75590
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: head/contrib/groff/src/preproc/eqn/neqn.sh 75590 2001-04-17 12:28:31Z 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-1) 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=@BINDIR@} 21export PATH=$GROFF_BIN_PATH:$PATH 22exec @g@eqn -T${T} ${1+"$@"} 23 24# eof 25