| 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 |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | bash, filename completion and spaces in path components [was RE: SSH Environment] |
| Date: | Thu, 30 Sep 2004 00:02:34 +0100 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <cjejkn$1of$1@sea.gmane.org> |
| Message-ID: | <NUTMEGNMzMU0YLNTLpy00000192@NUTMEG.CAM.ARTIMI.COM> |
| X-OriginalArrivalTime: | 29 Sep 2004 23:02:34.0361 (UTC) FILETIME=[67F4F690:01C4A678] |
> -----Original Message-----
> From: cygwin-owner On Behalf Of Andrew DeFaria
> Sent: 29 September 2004 16:16
> However, one trick that I do to more easily deal with the "Program
> Files" think is:
>
> $ mount -bsf "/cydrive/c/Program Files" /apps
>
> Then it's simply /apps/<application>/<etc>. Much easier to deal with,
> shorter and file name completion under bash works well with this.
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?
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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 |