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


Groups > gnu.bash.bug > #15312

Re: Filename expansion bug

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Filename expansion bug
Date 2019-08-08 10:36 -0400
Message-ID <mailman.1066.1565275009.1985.bug-bash@gnu.org> (permalink)
References <CABN8V7MFbLErHGDJTq0fsBJwS8nofcT8+jcd1LQf1QBq_GTPHQ@mail.gmail.com> <73368735-73a6-4956-5583-4141862961ad@case.edu>

Show all headers | View raw


On 8/8/19 10:33 AM, Janek Mi wrote:
> For some time in my scripts I was using something like this:
> 
> ```shell
> #!/usr/bin/env bash
> shopt -s failglob
> command="echo xyz\(\)"
> $command
> ```
> 
> And it was working fine. But somewhere between bash version 4 and 5 I
> realized it generates an error:
> no match: xyz\(\)
> 
> with exit code equal 1.

>From just yesterday:

https://lists.gnu.org/archive/html/bug-bash/2019-08/msg00015.html


-- 
``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: Filename expansion bug Chet Ramey <chet.ramey@case.edu> - 2019-08-08 10:36 -0400

csiph-web