Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15744

Re: Cygwin bash build- command substitution fails

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Cygwin bash build- command substitution fails
Date 2019-12-18 10:35 -0500
Message-ID <mailman.1083.1576683329.1979.bug-bash@gnu.org> (permalink)
References <CAL2tZyfdAsZ07WsHJfJod3+x5ttSQW+xx7ATTBsQyjWki-wxmw@mail.gmail.com> <df79b252-dc12-e878-0663-7453ac136558@case.edu>

Show all headers | View raw


On 12/17/19 4:00 PM, Dave Taylor wrote:

> Bash Version: 4.4
> Patch Level: 12
> Release Status: release
> 
> Description:
> I'm trying to do a Cygwin build of the bash git repo at bminor/bash on
> github.
> 
> The configure (no options) and make (no options) finish successfully, but
> the build fails when doing $()-style command substitutions, claiming that
> the trailing paren is unexpected:
> 
> % echo $(echo hiya)
> bash: command substitution: line 9: syntax error near unexpected token `)'
> bash: command substitution: line 9: `echo hiya)'

This is generally the result of using something other than bison to
generate the parser.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Cygwin bash build- command substitution fails Chet Ramey <chet.ramey@case.edu> - 2019-12-18 10:35 -0500

csiph-web