Date: Sat, 05 May 2001 04:22:35 CDT From: dave <dleimbac@earthlink.net> To: Bill Hickum <yh2789@yahoo.com>, freebsd-questions@freebsd.org Subject: Re: How do yo do that cool pipe | trick Message-ID: <200105051420.HAA05296@hawk.mail.pas.earthlink.net>
next in thread | raw e-mail | index | archive | help
You should read up and learn about sed. The stream editor!!! If it's too cryptic for you try awk. Dave On Sat, 5 May 2001, Bill Hickum wrote: > Date: Sat, 5 May 2001 06:35:34 -0700 (PDT) > To: freebsd-questions@freebsd.org > From: Bill Hickum <yh2789@yahoo.com> > Subject: How do yo do that cool pipe | trick > > 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 > > newgate[/etc]> vi | grep -ls hosts * > host.conf > hosts.allow > hosts.equiv > hosts.lpd > printcap > services > ex/vi: Vi's standard input and output must be a > terminal > > What's 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. > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 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?200105051420.HAA05296>