|
From: | bash |
Subject: | Re: Spaces in args, escapes, and command substitution |
Date: | Mon, 30 Oct 2006 11:29:46 +1100 |
>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?
[Prev in Thread] | Current Thread | [Next in Thread] |