space in dir name
Igor Peshansky
pechtcha@cs.nyu.edu
Tue Dec 19 04:40:00 GMT 2006
On Mon, 18 Dec 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> Sunil Ravipati wrote
>
> The slash on the end of Files/ is harmless. cd will ignore it.
> I find it useful*. With it, I do not need to type the slash when
> cd'ing into a subdirectory of Program Files/.
Actually, one place where it is harmful is when completing directories
after "cvs update". Cvs will treat a trailing slash specially, and do
something completely unexpected. I've learned to remove that trailing
slash, but sometimes I forget and weird things happen.
> But if you must get rid of it, the "mark-directories" directive of
> readline or bash is probably what you want. See man bash or man
> readline.
Either that or programmable completion, to turn it off in specific cases
(like after "cvs update").
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Freedom is just another word for "nothing left to lose"... -- Janis Joplin
More information about the Cygwin-talk
mailing list