Re: heredocs incorrectly printed in for ((...)) loop

2011-04-29 Thread Mike Frysinger
On Tuesday, April 19, 2011 16:38:57 Chet Ramey wrote: > > seems to be just like the bug fixed in bash41-006, but with a diff for > > loop style. simple example: > > Try the attached patch and let me know the results. It fixes this > case and a couple of others. sorry for the delay ... that patch

Re: heredocs incorrectly printed in for ((...)) loop

2011-04-19 Thread Chet Ramey
> seems to be just like the bug fixed in bash41-006, but with a diff for loop > style. simple example: Try the attached patch and let me know the results. It fixes this case and a couple of others. Chet *** ../bash-4.2-patched/print_cmd.c 2010-05-30 18:34:08.0 -0400 --- print_cmd

Re: heredocs incorrectly printed in for ((...)) loop

2011-04-13 Thread Chet Ramey
On 4/12/11 11:56 PM, Mike Frysinger wrote: > seems to be just like the bug fixed in bash41-006, but with a diff for loop Yep, and with the same one-line fix. I'm looking at other cases that might require it. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

heredocs incorrectly printed in for ((...)) loop

2011-04-12 Thread Mike Frysinger
seems to be just like the bug fixed in bash41-006, but with a diff for loop style. simple example: f() { for (( :; :; )) ; do cat < signature.asc Description: This is a digitally signed message part.