Ah, better yet would be xargs to add a flag to: Wait till receiving an EOF on stdin before executing anything.
$ xargs -n 1 a a b b c c $ xargs -n 1 --wait-for-eof a b c ^D a b c (I discovered the need when pasting more and more URLs into $ xargs -n 1 wwwoffle-ls ) _______________________________________________ Bug-findutils mailing list Bug-findutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-findutils