[EMAIL PROTECTED] wrote: > But, given that find is clever enough to assemble arguments containing > spaces into an arglist and feeding them to vi, why can't bash?
I find the 'find' solution to be one that I am more attracted to but if you put it that way I will note that bash has the capabilities. grep --null -l PATTERN * | while read -d $'\0' f; do vi "$f"; done Or: grep --null -l PATTERN * | while read -d '' f; do vi "$f"; done Bob _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash