Re: How do yo do that cool pipe | trick

[ Available lists | Index of freebsd-questions | Month of May 2001 | Week of 5 May 2001 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
dave <dleimbac@earthlink.net>
Date
5 May 2001 07:20:33
Subject
Re: How do yo do that cool pipe | trick
Message-ID
200105051420.HAA05296@hawk.mail.pas.earthlink.net


[ Hide this part ]
 

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



Elapsed time: 0.087 seconds