RE: Re: stupid spaces in environment vars

2007-02-09 Thread Phil Betts
David Bear wrote on Friday, February 09, 2007 4:56 AM:: > Okay, the problem is in quoting in shell scripts, I think. It is. It's not a Windows problem and it certainly isn't a cygwin problem. Although spaces occur more often in Windows than on other platforms, they can and do occur on Unix/Linu

RE: Re: stupid spaces in environment vars

2007-02-08 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Andrew Schulman wrote on Thursday, February 08, 2007 11:36 AM: >> BAD: >> alias cdp=cd\ "$USERPROFILE" >> +alias 'cdp=cd C:\Documents and Settings\me' >> >> alias cdp="cd $USERPROFILE" >> +alias 'cdp=cd C:\Documents and Settings\me' >> >> GOOD: >> alias cdp="cd \"$USERPROFILE\"" >> + alias 'cdp=c