This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bash scripts and cd's....
- To: gnu-win32 at cygnus dot com
- Subject: bash scripts and cd's....
- From: "Jose I. Cabrera" <cabrera at wrc dot xerox dot com>
- Date: Wed, 25 Nov 1998 11:08:37 PST
- Organization: C. P. B. U.
- References: <199809071110.HAA03366@web06.iname.net> <35F53DD1.E246F3C@wrc.xerox.com> <35F68310.9630D97D@aurora.sps.mot.com>
I have NT4SP3 running Cygnus v20.
I have a script:
--- begin script ---
#! /bin/sh
cd k:
cd NormalDirectory
cd "Directory with a spaces in between"
exit 0
--- end script ---
This executes ok. But, when I do a ls, the files echo'ed are the
files from HOME. why? If I do this manually, I could get to
"Directory with a spaces in between". Any idea why?
What I would like to happen is when I run this script, I would
like bash to point to the contents of
"Directory with a spaces in between". Any help is already
appreciated.
thanks,
jose
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".