On Fri, 3 Sep 2010, Bob Dunlop wrote:

> With Bash you can avoid placing the while loop in a subshell by pushing
> the source_process out on to the end of a named pipe and reading from
> that.
>
>     while
>     do
>       something
>     done < <( source_process )
>
> Unfortunately Ash doesn't support named pipes.

Doesn't this:

        while <list>; do
                something
        done <<-EOF
                $(source_process)
        EOF

do that in all shells?


Cheers,

-- 
Cristian
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to