#!/bin/sh # from itod v1.0 - copyright (c) alec muffett, 1996 while read host do $PING1 $host $PING2 >/dev/null 2>&1 || continue echo $host done