[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Re: bash, filename completion and spaces in path components [was RE: SSH Environment]
From:       Andrew DeFaria <Andrew () DeFaria ! com>
Date:       2004-09-30 4:39:19
Message-ID: cjg2m4$jnb$1 () sea ! gmane ! org
[Download RAW message or body]

Dave Korn wrote:

> I use the same trick myself because a lot of apps can't handle a 
> filename with a space in it, not even if it gets correctly escaped and 
> passed through to argv, but I've never known bash filename completion 
> to have a problem: it escapes all the spaces and other metachars 
> beautifully. Sometimes I use it just to save me having to figure out 
> what needs escaping and what doesn't. What problem do you see?

Forgive me! I misspoke! One place where it helps me is with Clearcase. 
Clearcase uses the M drive for views. On Unix it uses /view. So I map 
/cygdrive/m -> /view. Then it's the same in Unix and under Cygwin.

But also, things like C:/Prog<tab> don't work. Yeah you can 
/cygdrive/c/Prog<tab>/MyApp<tab> but that's a lot of typing, compared to 
/app/MyApp<tab>. Similarly with /cygdrive/m/<viewname><tab> compared to 
/view/<viewname><tab>.
-- 
If there is a god, he will understand why I don't believe in him.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic