Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / contrib / groff / src / preproc / eqn / neqn.sh
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: src/contrib/groff/src/preproc/eqn/neqn.sh,v 1.7.2.2 2001/08/06 17:02:03 ru Exp $
5 # $DragonFly: src/contrib/groff/src/preproc/eqn/Attic/neqn.sh,v 1.2 2003/06/17 04:24:02 dillon Exp $
6
7 # Default device.
8 case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
9   *.UTF-8)
10     T=utf8 ;;
11   iso_8859_1 | *.ISO*8859-1 | *.ISO*8859-15)
12     T=latin1 ;;
13   *.IBM-1047)
14     T=cp1047 ;;
15   *.KOI8-R)
16     T=koi8-r ;;
17   *)
18     T=ascii ;;
19 esac
20
21 : ${GROFF_BIN_PATH=@BINDIR@}
22 PATH=$GROFF_BIN_PATH:$PATH
23 export PATH
24 exec @g@eqn -T${T} ${1+"$@"}
25
26 # eof