www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/09/12:10:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AA7D306.2090403@cygwin.com>
Date: Wed, 09 Sep 2009 12:08:38 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: syntax for Cygwin bash invoking Win apps
References: <796377 DOT 93249 DOT qm AT web30205 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <796377.93249.qm@web30205.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On 09/09/2009 11:27 AM, Ziser, Jesse wrote:

<snip>

> Huh?  Last time I checked, bash translates "\"abc\"" to "abc".

Yeah, I don't know what test I did last night that made me think this was 
right for
bash.  The lesson here is that I shouldn't try a bunch of tests quickly late 
at night. ;-)

<snip>

> Does "handles quoting" mean that it implements the "Quoting" section, and
> only that section, of the bash manpage?  I just need to know exactly what
> it does.  It clearly does not *only* do quoting.  That's why I
> demonstrated the asterisk example.  It is doing at least wildcard
> expansion in addition to quoting.  What else is it doing?  I'm trying to
> figure this out so I know how to properly escape or quote a general
> command in order to execute it from a Windows application without any
> unexpected changes.

Yeah, actually I'm not sure I understand what's behind this unpredictable 
behavior
either.  I'd tend to agree with Chris' thought here.  It would take more 
investigation
to track down what's really going on here.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019