Subject: Re: Question on pipes
To: None <email@example.com>
From: Bill Warrick (Earthlink) <firstname.lastname@example.org>
Date: 08/26/2000 19:40:53
From: John Maier <email@example.com>
To: firstname.lastname@example.org <email@example.com>
Date: Saturday, August 26, 2000 7:40 PM
Subject: Question on pipes
>I'm doing some clean-up on our domains and I want to parse and log just
>parts of a whois is query.
>This might work, if whois resposes were not so long...
> set whoiss = `whois $dname`
> echo "$whoiss" | grep -A 100 "Domain Name"
> echo "$whoiss" | grep -A 100 "Domain servers"
> echo "$whoiss" | grep "NO MATCH"
>(get a word too long error)
>Is there a way to pipe one output to several different programs?