public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Jose I. Cabrera" <cabrera@wrc.xerox.com>
To: gnu-win32@cygnus.com
Subject: bash scripts and cd's....
Date: Wed, 25 Nov 1998 12:51:00 -0000	[thread overview]
Message-ID: <365C55B5.733F7445@wrc.xerox.com> (raw)
In-Reply-To: <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".

  parent reply	other threads:[~1998-11-25 12:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-07  4:10 Installshield lro
1998-09-08  7:53 ` Colors Jose I. Cabrera
1998-09-09 19:41   ` Colors Alex Rezinsky
1998-09-10  2:15     ` Colors Jose I. Cabrera
1998-10-08  8:26     ` tcsh Jose I. Cabrera
1998-10-09  2:33       ` tcsh Corinna Vinschen
1998-10-10  7:18         ` tcsh Michael Hirmke
1998-10-10 13:36           ` tcsh Corinna Vinschen
1998-11-25 12:51     ` Jose I. Cabrera [this message]
1998-09-09 19:41   ` Colors Michael Weiser
1998-11-27  4:40 bash scripts and cd's Earnie Boyd
1998-11-27 15:14 ` Jose I. Cabrera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=365C55B5.733F7445@wrc.xerox.com \
    --to=cabrera@wrc.xerox.com \
    --cc=gnu-win32@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).