bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spaces in args, escapes, and command substitution


From: Bob Proulx
Subject: Re: Spaces in args, escapes, and command substitution
Date: Sun, 29 Oct 2006 03:24:16 -0700
User-agent: Mutt/1.5.9i

Bob Proulx wrote:
> This is probably not a an optimal solution because this is late night
> time for me but this works:
> 
>   eval vi $(grep -l PATTERN * | sed 's/ /\\ /')

This also works.

  find . -exec grep -q PATTERN {} \; -exec vi {} \;

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]