delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 <Andrew AT DeFaria DOT com> |
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: | <cjg2m4$jnb$1@sea.gmane.org> |
References: | <cjejkn$1of$1 AT sea DOT gmane DOT org> <NUTMEGNMzMU0YLNTLpy00000192 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> |
Mime-Version: | 1.0 |
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: | <NUTMEGNMzMU0YLNTLpy00000192@NUTMEG.CAM.ARTIMI.COM> |
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<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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |