This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash 2.05a-3 scripting problem (read function)


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!

Attachment: msg00187/pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]