This is the mail archive of the
mailing list for the Cygwin project.
Re: cygwin and long filenames with spaces
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin at cygwin dot com
- Date: Fri, 9 Aug 2002 12:11:45 -0400 (EDT)
- Subject: Re: cygwin and long filenames with spaces
- Reply-to: cygwin at cygwin dot com
On Fri, 9 Aug 2002, Chris Game wrote:
> In an earlier post, Randall R Schulz said...
> > It sounds like you have an alias or shell procedure standing in for the
> > built-in "cd" command.
> Ah! That vaguely rings a bell.
> <goes away and tries it>
> Yes, long ago in the days of beta 19.whatever I must have set cd up
> as a function including a 'pwd' line. The response is:
> cd is a function
> cd ()
> builtin cd $1;
> cd is a shell builtin
> So - I need to modify the 'builtin ...' line.
> <tries a couple of possibilities>
> Well, 'builtin cd "$*";' works! No idea if that's the correct
> modification though.
> Thanks for all the help - what a group!
I'd make that 'builtin cd "$@"' instead. Not sure if it matters in the
case of cd, but this would make it treat quoted parameters properly...
Good practice, anyway. :-)
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html