[8638] in Athena Bugs
decmips 7.3P: csh
daemon@ATHENA.MIT.EDU (mosquito@Athena.MIT.EDU)
Tue Nov 19 19:31:10 1991
From: mosquito@Athena.MIT.EDU
To: bugs@Athena.MIT.EDU
Date: Tue, 19 Nov 91 19:31:13 EST
System name: hodge
Type and version: KN01 7.3P (1 update(s) to same version)
Display type: PMAX-MFB
What were you trying to do?
athena% eval `echo \$name`
(where $name is not defined)
What's wrong:
athena% eval `echo \$name`
name: Undefined variable.
^C
^D
^Z
^Z
(hanged)
What should have happened:
It should not have hung. Contrast with:
athena% eval "echo \$name"
name: Undefined variable.
athena%
athena% eval `echo \$hosttype`
decmips: Command not found.
athena% eval `eval efa`
efa: Command not found.
athena% eval `echo $hosttypj`
hosttypj: Undefined variable.
athena% eval echo \$name\[3\]
name: Undefined variable.
^C
^D
^Z
athena% eval `echo \$name\[3\]`
athena% eval `echo \$hosttype\[3\]`
athena% eval echo
athena% eval echo $hosttype
decmips
Only some erroneous arguments hang.
?