delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/17/15:49:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <502EA058.1020806@lysator.liu.se>
Date: Fri, 17 Aug 2012 21:49:44 +0200
From: Peter Rosin <peda AT lysator DOT liu DOT se>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
CC: newlib AT sourceware DOT org, cygwin AT cygwin DOT com, Eric Blake <eblake AT redhat DOT com>
Subject: Re: wordexp bug
References: <CAGvSfexSDQ_d5waQSzciemaSa0PsXAJ3EiVsv8Zt_i_5DYgyoA AT mail DOT gmail DOT com>
In-Reply-To: <CAGvSfexSDQ_d5waQSzciemaSa0PsXAJ3EiVsv8Zt_i_5DYgyoA@mail.gmail.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 2012-08-17 15:35, Yaakov (Cygwin/X) wrote:
> AFAICS wordexp(3) is completely broken, returning WRDE_SYNTAX no
> matter what I supply as the string.  STC attached.

I suspect you are using Cygwin, and if so I suspect that we have been
bitten by this change in bash-4.1-rc:

c.  The (undocumented) --wordexp option is no longer included by default.

The documentation states that you have to enable the WORDEXP_OPTION
when building bash, but I'll leave the details of how to do that to Eric,
the Cygwin bash maintainer.

Cheers,
Peter


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