>I was hoping for a generalized, simple idiom for this, rather than >needing to implement it myself, for demonstration purposes
---------------------------------------- #!/bin/sh cat "$@" | while read x do echo "I saw $x" done ---------------------------------------- Sheesh. R's, John _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"