Re: bug-report: debug trap messes up pipestatus if containing command substitution

2019-05-23 Thread Hengyang Zhao
Awesome! Could you please cc the fix to this thread once it's done? Thank you! Hengyang On Wed, May 22, 2019, 7:27 AM Chet Ramey wrote: > On 5/21/19 12:51 AM, Hengyang Zhao wrote: > > Dear bash developers, > > > > I found an unexpected behavior when engineering some code in a callback > of > >

Re: Backslash mysteriously disappears in command expansion when unescaping would reference an existing file

2019-05-23 Thread Greg Wooledge
On Wed, May 22, 2019 at 10:23:04PM +, Charles-Henri Gros wrote: > But unfortunately, grep was just illustrative, I'm using another tool > that takes a regex but has no "-F" option 1. The questioner's first description of the problem/question will be misleading. 9. All examples given by the