Subject: Re: Question on pipes
To: None <firstname.lastname@example.org>
From: Bill Warrick (Earthlink) <email@example.com>
Date: 08/26/2000 19:40:53
From: John Maier <firstname.lastname@example.org>
To: email@example.com <firstname.lastname@example.org>
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?