This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: space in dir name
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'The Don't-Cyg-Run-Before-You-Can-Walk Maiming List'" <cygwin-talk at cygwin dot com>
- Date: Tue, 19 Dec 2006 15:47:05 -0000
- Subject: RE: space in dir name
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
On 19 December 2006 15:34, Buchbinder, Barry (NIH/NIAID) wrote:
> 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.
The OP is having a hard time with elementary stuff like spaces and
backslashes.
It might be a good idea not to confuse him with advanced and
not-really-germane-to-the-point side-issues!
cheers,
DaveK
--
Can't think of a witty .sigline today....