Re: dot gob+extglob bug

2014-06-20 Thread Chet Ramey
On 6/19/14, 6:47 PM, Ian Kelling wrote: > The doc says "When matching a pathname, the slash character > must always be matched explicitly." Shortly thereafter, in the next > paragraph of the same section, GLOBIGNORE is described, which does not > treat / as special, but this is not mentioned, and

Re: Possible bug when combining Bash's process substitution with HERE-document?

2014-06-20 Thread Chet Ramey
On 6/19/14, 6:00 PM, Tim Friske wrote: > When I try to explicitly return success in case read fails because of > EOF the script indefinitely waits: > > read -d '' -r foobar || true < bla bla > BARFOO You have constructed a command where `read' will wait forever for terminal input and `true' will

Re: Possible bug when combining Bash's process substitution with HERE-document?

2014-06-20 Thread Greg Wooledge
On Fri, Jun 20, 2014 at 12:00:02AM +0200, Tim Friske wrote: > While searching for an alternative I came up with the following code > which does not work when I have the "shopt -os errexit" command line > at the top of my script: > > read -d '' -r foobar < bla bla > BARFOO read returns "failure" b