On 4/7/15 6:56 AM, Sam Liddicott wrote: > Bash Version: 4.3 > Patch Level: 11 > Release Status: release > > Description: > Shell wrongly attaches stdin piped to command sequence with syntax error > > Repeat-By: > On a login shell or interactive shell, paste the following command: > > for x in 1 ; do echo $( { echo } ) ; done < <( echo touch /tmp/x2 ) > > The handling of the syntax error will cause stdin of the command > to become attached to the login shell, which will then execute: > touch /tmp/x2 > and then logout.
Thanks for the report. This will be fixed in the next release of bash. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/