On 9/15/15 6:31 AM, ziyunfei wrote: > $ echo $BASH_VERSION > 4.2.45(2)-release > $ echo :>test > $ chmod +x test > $ exec -c ./test > [1] 15650 segmentation fault bash
Thanks for the report. This bug has existed for at least 20 years. It 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/