This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: space in dir name
- From: "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: "The Cygwin-Talk Maiming List" <cygwin-talk at cygwin dot com>
- Date: Tue, 19 Dec 2006 10:34:10 -0500
- Subject: RE: space in dir name
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
Igor Peshansky wrote on Monday, December 18, 2006 11:40 PM:
> 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
wrong list? :-) The OP may not be scanning cygwin-talk.