Date: Sat, 5 May 2001 17:56:21 -0400 From: parv <parv_@yahoo.com> To: f-q <freebsd-questions@freebsd.org> Subject: Re: How do yo do that cool pipe | trick Message-ID: <20010505175621.A457@moo.holy.cow> In-Reply-To: <20010505133534.30774.qmail@web10907.mail.yahoo.com>; from yh2789@yahoo.com on Sat, May 05, 2001 at 06:35:34AM -0700 References: <20010505133534.30774.qmail@web10907.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
so, Bill Hickum shared this in my lifetime... > It doesn't work like I think it's going to. > > newgate[/etc]> grep -ls hosts * | vi > ex/vi: Vi's standard input and output must be a > terminal > [ ... ] > > I did the man pipe and man xargs but man pages aren't > any good unless you don't need them. What kind of > people write like that. > you need: # grep -l hosts * | xargs vi [----] usage of xargs(1) is clearly there in first 2 paragraphs under DESCRIPTION (and SYNOPSIS). -- 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?20010505175621.A457>