Penned by Alexander Hall on 20110513 2:22.36, we have: | On 05/13/11 04:54, Todd T. Fries wrote: | | > ping host 2>&1 | awk '/is down/{next}{print}' | | "grep -v" was too trivial, was it? ;-D
sed -n '/is down/{p;}' Just depends on how granular and what makes most sense to you. Multiple ways to skin this cat, er paint this bikeshed, etc.. -- Todd Fries .. t...@fries.net _____________________________________________ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | 2525 NW Expy #525, Oklahoma City, OK 73112 \ sip:freedae...@ekiga.net | "..in support of free software solutions." \ sip:4052279...@ekiga.net \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt