delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/12/12:00:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; q=dns; s=default; b=hzfdRlNAgscimfc4
ffpYopSQHlX6ejn3YYnqVXW46vA2QLY6wNhM0sGkBN0rlb3hcObUtr+9pWCnspzQ
/ScyHmz1XGNCDIV1+nBpNFHAhwWhR6MBHYvKvsBWbNgioT/Iu0aljX68c1XyQqbM
O9CDaQPvmsHr6GEJbguGx73mAyE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; s=default; bh=tr6k9tQr330HBXbGe5DhuU
f2KX0=; b=rnu8enLMMEfM8cNbKqHhn2b03f51OiXIN5HCvHbBP9IrRcySBR4bUR
YcayR3FW01pSpv7bjRe7mlIJ44yoY7Mf7BJSyp1PtK346AWmjIfAon7gwMRILlto
NM+h/mwNbp24VcJAHFS7Z8CDGYbgzYE5wWPXwM5BVBcgPDnux43W4=
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
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.2
MIME-Version: 1.0
X-Received: by 10.68.254.138 with SMTP id ai10mr14650429pbd.151.1376323212990; Mon, 12 Aug 2013 09:00:12 -0700 (PDT)
In-Reply-To: <loom.20130812T145113-232@post.gmane.org>
References: <CA+t=3-91S0PSp3nYZgrNg9ymzx+9gB=HSTvT6EZznZX2Q=Jrgg AT mail DOT gmail DOT com> <loom DOT 20130812T145113-232 AT post DOT gmane DOT org>
Date: Tue, 13 Aug 2013 02:00:12 +1000
Message-ID: <CA+t=3--DJWuNXapE3OVBvngvFAZOKADQJ1LUcSjrJD5bo5-NFQ@mail.gmail.com>
Subject: Re: bash ignoring set -f on windows
From: Craig Ryan <cryan DOT dublin AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r7CG0mon010399

> I think putting the blame on bash is premature.  Try replacing the call to
> java with a script of your own to see what arguments it get called with,

How so? This works on un*x platforms so what am I missing?
The script IS my own, if you execute the script as suggested what
results did you get with cygwin/windows?

> then read this:
>
> http://www.oracle.com/technetwork/java/javase/7u4-relnotes-1575007.html

I read this, I'm not sure what it provides as a solution? Apart from
the fact that I dont require java 7, what is the expected cygwin bash
glob behaviour?
I ran my script with \"$ARGV\" as suggested and the output per my java
app is 'WRONG! NO ARGS AT ALL - should be '*'". If you can illustrate
how to make this work I'd like to see it because I've tried a lot of
variations with cygwin without sucess and so far I can only conclude
that 'set -f' is being ignored. Thanks for responding Achim but please
do try the code I provided and see what results you get.

Just a minor correction to my post, on Mac I said "with ‘set –f’
active expansion does occur as expected", instead I meant 'with set -f
removed from the script expansion does occur as expected'.

cheers,
craig.

--
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