[558] in Athena Bugs
Re: A bug with csh <--(please put the name of the program here)
daemon@ATHENA.MIT.EDU (Henry Mensch)
Tue Jul 26 15:57:08 1988
From: Henry Mensch <henry@ATHENA.MIT.EDU>
To: Tom Coppeto <tjcoppet@ATHENA.MIT.EDU>
Cc: bugs@ATHENA.MIT.EDU
In-Reply-To: Your message of Tue, 26 Jul 88 14:49:44 -0400.
Date: Tue, 26 Jul 88 15:56:36 EDT
While there is no discussion regarding the composition of
@i[environment] variables that I can find in the csh manpage, I do
find this regarding @i[shell] variables:
$name
${name}
Are replaced by the words of the value of variable
name, each separated by a blank. Braces insulate name
from following characters which would otherwise be part
of it. Shell variables have names consisting of up to
20 letters and digits starting with a letter. The
underscore character is considered a letter.
If name is not a shell variable, but is set in the
environment, then that value is returned (but : modif-
iers and the other forms given below are not available
in this case).
I would suppose that the bug is not really with getenv() but rather
with the setenv shell function, which permits these variables to be
set in the first place.
Thanks for reporting the problem.
--
-- Henry Mensch / <henry@ATHENA.MIT.EDU>
-- Project Athena Quality Assurance