This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: space in dir name
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- Cc: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
- Date: Mon, 18 Dec 2006 23:40:19 -0500 (EST)
- Subject: RE: space in dir name
- References: <31DDB7BE4BF41D4888D41709C476B657041694FC@NIHCESMLBX5.nih.gov>
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
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