[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash vs sh in groff-1.17.1/src/preproc/eqn/neqn.sh
From: |
Peter Marquardt |
Subject: |
bash vs sh in groff-1.17.1/src/preproc/eqn/neqn.sh |
Date: |
Fri, 29 Jun 2001 10:23:40 +0200 (MET DST) |
Groff Bug Report
GROFF VERSION:
1.17.1
MACHINE:
Compaq XP1000 alpha
OS:
Tru64, OSF1 V4.0 1229
COMPILER:
gcc 2.95.3
INPUT FILES:
none
COMMAND LINE:
groff-1.17.1/src/preproc/eqn/neqn
DESCRIPTION OF INCORRECT BEHAVIOUR:
In groff-1.17.1/src/preproc/eqn/neqn.sh we read:
"export VAR=FOO"
This is *not* sh-syntax: it's bash.
So this is what happens:
-------- rrrrip -----------
$ /usr/local/bin/neqn
/usr/local/bin/neqn:
PATH=/usr/local/bin:/bin:/sbin:/usr/sbin:/usr/bin:/home/wwwutz/bin:
is not an identifier
-------- rrrrip -----------
SUGGESTED FIX [optional]:
VAR=FOO
export VAR
-------- rrrrip -----------
*** neqn.sh Fri Jun 29 10:19:36 2001
--- neqn.sh.fix Fri Jun 29 10:11:34 2001
***************
*** 3,9 ****
# GNU eqn with groff -Tascii|-Tlatin1|-Tutf8|-Tcp1047 is supported.
: address@hidden@}
! export PATH=$GROFF_BIN_PATH:$PATH
exec @address@hidden -Tascii ${1+"$@"}
# eof
--- 3,10 ----
# GNU eqn with groff -Tascii|-Tlatin1|-Tutf8|-Tcp1047 is supported.
: address@hidden@}
! PATH=$GROFF_BIN_PATH:$PATH
! export PATH
exec @address@hidden -Tascii ${1+"$@"}
# eof
-------- rrrrip -----------
regards,
Peter
##===========================##============================================##
Dipl.Ing. Peter Marquardt/// B.O.F.H. Max-Planck-Institute Molecular Genetics
|| +49-30-8413-1430 /// || --==> Earth-Germany-Berlin-Dahlem <==-- ||
:: fax -1432 \\\/// :: address@hidden ::
..================== *The Turtle Moves* ===================================..
- bash vs sh in groff-1.17.1/src/preproc/eqn/neqn.sh,
Peter Marquardt <=