[oclug] ...and speaking of awk...

Joe Burpee jeb at burkby.com
Fri Feb 23 15:48:31 EST 2001


Jonathan Earle wrote:
> What is the issue with an additional process?
...
> One other sed related question though.
...
> nslookup 216.122.141.15 2>/dev/null | \
>             grep "Name" | \
>             cut -d : -f 2 | \
>             sed "s/.lightrealm.com//g" | \
>             sed "s/ //g"

nslookup 216.122.141.15 2>/dev/null |
sed -n 's/^Name: *\([^.]*\).*/\1/p'

But "What is the issue with an additional process?" (or several) ;-)

Joe



More information about the OCLUG mailing list