RE: Help changing dir with spaces...
I can move to C:\Work or C:\tmp but anything with spaces it balks at. Since I can't change XP's default, is there a way to get Bash to accept the space? cd dir with spaces -Richard Campbell. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Help changing dir with spaces...
On Wed, 27 Feb 2002 18:56:28 +0100, Jonathan Gift [EMAIL PROTECTED] wrote: I'm very familiar with Linux and new to Cywin, but one of my first priorities is to mobe around the Bash shell. The only really pressing matter is how to move to the folders under WXP: C:\Documents and settings I can move to C:\Work or C:\tmp but anything with spaces it balks at. Since I can't change XP's default, is there a way to get Bash to accept the space? Bash on Cygwin works exactly as Bash on GNU/Linux. If you are very familiar with Linux, you should know that you have several options. 1. You can escape the space by using backslash, i.e. do cd /cygdrive/c/Documents\ and\ settings 2. You can use wildcard - cd /cygdrive/c/Documents*settings or cd /cygdrive/c/Documents?and?settings 3. You can quote the full directory name, i.e. do cd /cygdrive/c/Documents and settings 4. You can use the Bash name completion mechanism - type: cd /cygdrive/c/Documen and TAB play with it and learn how it work. Ehud. P.S. I saw Larry's email, but I couldn't resist myself. -- Ehud Karni Tel: +972-3-7966-561 /\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:[EMAIL PROTECTED] Better Safe Than Sorry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Help changing dir with spaces- Uncle!
Bash on Cygwin works exactly as Bash on GNU/Linux. If you are very familiar with Linux, you should know that you have several options. Thanks all for the help. The few that knocked me for putting in the very familiar are right. It's just been a while since I was on Linux and it's amazing how much I forgot. Ok, I've got to get the books back out. I'm back in humble newbie mode... BTW, just how cool is Cygwin? First I heard of it was just a short time ago. Really like having a great shell again? Jonathan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Help changing dir with spaces...
From: Jonathan Gift [mailto:[EMAIL PROTECTED]] Subject: Help changing dir with spaces... I'm very familiar with Linux and new to Cywin, but one of my first priorities is to mobe around the Bash shell. The only really pressing matter is how to move to the folders under WXP: C:\Documents and settings I can move to C:\Work or C:\tmp but anything with spaces it balks at. Since I can't change XP's default, is there a way to get Bash to accept the space? Since you are very familiar with Linux this should be no problem. Do it the same as in Linux: cd /c/Documents and settings or cd /c/Documents\ and\ settings -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Help changing dir with spaces- Uncle!
On Wed, 27 Feb 2002 20:19:42 +0100, Jonathan Gift [EMAIL PROTECTED] wrote: BTW, just how cool is Cygwin? First I heard of it was just a short time ago. Really like having a great shell again? Cygwin is cool! I'm using it for more than 2 years and it made my life much easier on M$Windows front. I port programs from UNIX in a matter of minuets and I can use (almost) all the GNU tools. We must all thank the small Cygwin team and the few long time volunteers who help them. Ehud. -- Ehud Karni Tel: +972-3-7966-561 /\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:[EMAIL PROTECTED] Better Safe Than Sorry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Help changing dir with spaces...
At 02:06 PM 2/27/2002, Ehud Karni wrote: Ehud. P.S. I saw Larry's email, but I couldn't resist myself. The more the merrier! ;-) It's actually worthwhile to have someone enumerate all the possible options like you did. You're to be commended for your lack of restraint. ;-) Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Help changing dir with spaces- Uncle!
From: Ehud Karni [mailto:[EMAIL PROTECTED]] On Wed, 27 Feb 2002 20:19:42 +0100, Jonathan Gift [EMAIL PROTECTED] wrote: BTW, just how cool is Cygwin? First I heard of it was just a short time ago. Really like having a great shell again? Cygwin is cool! I'm using it for more than 2 years and it made my life much easier on M$Windows front. I port programs from UNIX in a matter of minuets Yes, it really helps us waltz through the development process, without making a song and dance about it. (Sorry. Couldn't resist. :-) ) and I can use (almost) all the GNU tools. We must all thank the small Cygwin team and the few long time volunteers who help them. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/