>That's because you set IFS for the vi, but not for the command
>substitution.  Break your result into two commands:
>
>IFS='\n'
>vi $(grep -l PATTERN *)
>
But also, if IFS is what it is supposed to be, wouldn't the correct
syntax be:

    IFS='\n'
    vi
    $(grep
    -l
    PATTERN
    *)

Or is IFS not really an IFS?



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to