This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: wordexp bug
- From: Peter Rosin <peda at lysator dot liu dot se>
- 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>
- Date: Fri, 17 Aug 2012 21:49:44 +0200
- Subject: Re: wordexp bug
- References: <CAGvSfexSDQ_d5waQSzciemaSa0PsXAJ3EiVsv8Zt_i_5DYgyoA@mail.gmail.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