Richard van der Leeden <[EMAIL PROTECTED]> wrote: > The examples in the FAQ do work for the their examples, but I can't figure > out a clean way to implement it with a while loop when reading in lines from > the output of a piped command(s).
The redirection applied to "read" in those examples would be applied to your while loop instead. For example: while ...; do var=...; done <<EOT $(generate-input-for-while) EOT use "$var" paul _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash