bash 2.05a-3 scripting problem (read function)
David T-G
davidtg-cygwin@justpickone.org
Tue Jun 4 17:44:00 GMT 2002
Steven --
...and then Steven Weiss said...
%
% Hi
Hello!
%
% I've got a problem with the read function in bash 2.05a-3.
...
% bash$ read proj
% /temp
% bash$ cd $proj
% : No such file or directory
...
% When testing or trying to change directories using $proj it fails. When
% using the literal values it passes. It appears that the read function does
One thing you never did was ... Check to see if $proj got filled! What
does
echo $proj
say?
On my Win98 1.3.10 system, $proj properly gets filled and shows when
echoed and works for cd. How about you?
HTH & HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020604/4afb196f/attachment.sig>
More information about the Cygwin
mailing list