Bash: for…in-loop fails, what am I doing wrong?

Paul Smith paul at mad-scientist.net
Thu Jan 10 21:07:35 UTC 2013


On Thu, 2013-01-10 at 16:03 -0500, Paul Smith wrote:
> -exec can only invoke a single command hence cannot replace the OP's
> loop, by itself.

I guess you could pass /bin/bash -c 'some long script' to -exec, but
that would get unwieldy quickly, I would think.





More information about the ubuntu-users mailing list