Re:"read < <(:); echo $?" prints 0 when job control is disabled (should be 1?)

2016-01-13 Thread Alastair Hughes
Thanks! Is this fix available in git yet? Alastair Hughes

Re: "read < <(:); echo $?" prints 0 when job control is disabled (should be 1?)

2016-01-13 Thread Chet Ramey
On 1/13/16 1:25 PM, Alastair Hughes wrote: > Thanks! Is this fix available in git yet? Next push. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/

Re: "read < <(:); echo $?" prints 0 when job control is disabled (should be 1?)

2016-01-11 Thread Chet Ramey
On 1/11/16 1:05 PM, Alastair Hughes wrote: > Sorry, I meant that I had compiled bash without job control support, by > adding 'bash_cv_job_control_missing=missing' Got it. This will be fixed in the next release. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

Re:"read < <(:); echo $?" prints 0 when job control is disabled (should be 1?)

2016-01-11 Thread Alastair Hughes
Sorry, I meant that I had compiled bash without job control support, by adding 'bash_cv_job_control_missing=missing'

Re: "read < <(:); echo $?" prints 0 when job control is disabled (should be 1?)

2016-01-11 Thread Chet Ramey
On 1/9/16 8:16 PM, Alastair Hughes wrote: > When job control is enabled: > $ read < <(:); echo $? > 1 > When job control is disabled: > $ read < <(:); echo $? > 0 When you say "job control is disabled", do you mean the shell is compiled without job control support? I get an exit status of