Date: Tue, 18 Sep 2001 04:47:15 -0700 From: Matthew Hunt <mph@astro.caltech.edu> To: Alex Dyas <adyas@twowaytv.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: xterm -exec question Message-ID: <20010918044714.A5527@wopr.caltech.edu> In-Reply-To: <20010918123643.S1269-100000@>; from adyas@twowaytv.com on Tue, Sep 18, 2001 at 12:40:52PM %2B0100 References: <20010918123643.S1269-100000@>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 18, 2001 at 12:40:52PM +0100, Alex Dyas wrote: > xterm -exec tail -f foo.txt | grep -v bar > > however, the grep part seems to be interpreted outside the exec. the result is > that the exec happens, the the grep happens on it's own. i would like to be > able to run the whole thing, tail and grep all as part of the exec. xterm -exec sh -c 'tail -f foo.txt | grep -v bar' -- Matthew Hunt <mph@astro.caltech.edu> * Eight lanes of shimmering cement from http://www.pobox.com/~mph/ * here to Pasadena! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010918044714.A5527>