Re: error parsing file glob when importing function from environment

2015-02-27 Thread Chet Ramey
On 2/26/15 5:24 PM, Stephane Chazelas wrote: > 2015-02-26 16:35:14 -0500, Chet Ramey: >> On 2/26/15 2:37 PM, ad...@ptc.com wrote: >> >>> Bash Version: 4.2 >>> Patch Level: 47 >>> Release Status: release >>> >>> Description: >>> A bash function containing the syntax "files=( !(PAT) )" fails to p

Re: error parsing file glob when importing function from environment

2015-02-26 Thread Chet Ramey
On 2/26/15 2:37 PM, ad...@ptc.com wrote: > Bash Version: 4.2 > Patch Level: 47 > Release Status: release > > Description: > A bash function containing the syntax "files=( !(PAT) )" fails to parse > in a sub-shell when imported from the environment (to which it was exported > by the pare