[plug] audible ping

bob bob at contact.omen.com.au
Sun Jul 28 15:04:23 WST 2002


On Sun, 2002-07-28 at 14:42, Leon Brooks wrote:
> ping 1.2.3.4 | gawk '/bytes from/ { print $0 "\a" }'

Ok, so why does gawk work when 'tail-f | grep" doesn't? (yah yah, my
lousy scripting :() I was finding that ping was holding the file open so
tail wasn't reading it till ping had finished at which point I'd get a
flurry of beeps. I had expected tail to look at open files, apparently
not, and had given up scripted way. 
 
> Cheers; Leon
 
-- 
bob
Cave canem...te necet lingendo.



More information about the plug mailing list