Subject: Question on pipes
To: None <netbsd-users@netbsd.org>
From: John Maier <jmaier@midamerica.net>
List: netbsd-users
Date: 08/26/2000 19:40:09
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?



jam