thanks Michal this test shows 3 different behaviors: one line of output with "1" -- correct one empty line of output -- incorrect hang -- incorrect
for builtin { head wc } the example works with { 2012-06-19 2012-06-22 2012-06-28 } but hangs with ksh -c 'echo $( ( /usr/bin/head -c 1 /dev/zero | ( /usr/bin/wc -c ) 2>&1 ) 2>&1 )' we'll have to ammend the regression test to use builtin and standalone { head wc } On Wed, 18 Jul 2012 16:34:46 +0200 Michal Hlavinka wrote: > Hi, > while testing different bug, we found regression in ksh. It hangs with > following reproducer. Regression was introduced between 2011-01-31 > (works) and 2011-02-08 (first broken). > Reproducer: > ksh -c 'echo $( ( head -c 1 /dev/zero | ( wc -c ) 2>&1 ) 2>&1 )' > Let me know if you need another information. > Michal > _______________________________________________ > ast-developers mailing list > ast-developers@research.att.com > https://mailman.research.att.com/mailman/listinfo/ast-developers _______________________________________________ ast-developers mailing list ast-developers@research.att.com https://mailman.research.att.com/mailman/listinfo/ast-developers