Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: bash, filename completion and spaces in path components [was RE: SSH Environment] Date: Wed, 29 Sep 2004 21:39:19 -0700 Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: h-67-102-25-114.lsanca54.covad.net User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) In-Reply-To: X-IsSubscribed: yes 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 don't work. Yeah you can /cygdrive/c/Prog/MyApp but that's a lot of typing, compared to /app/MyApp. Similarly with /cygdrive/m/ compared to /view/. -- 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/