Chris Lamb wrote: > tags 486926 + patch > thanks > > Chris Lamb wrote: > > > I tried a few fd/fifo redirection tricks, but couldn't get the right > > combination..any ideas? > > Got it, hurrah. Updated and tested patch attached.
Huh, it looks like I was at least on the right track with my patch.. > + exec 4<&0 > + while read line && exec 5<&0; do > + exec <&4 > + db_progress STEP 1 > + exec <&5 > + exec 4<&- 5<&- If I'm managing to read this right, you use fd 5 only to store fd 0 temporarily. If so, jusr db_progress STEP 1 <&4 should work just as well and less messily, like in my patch. -- see shy jo
signature.asc
Description: Digital signature