News for hackers. Stuff that matters.
Re:The Story of the Ping Program by gvalkov on Wednesday January 09, 2013 @05:45AM (#5030973)
For the sake of comparison, here's the corresponding Python one-liner:

   ping google.com | python -c 'import os,re,sys; [os.system("say %s" % j[0]) for j in  (re.findall("time=(.*)", i) for i in sys.stdin) if j]'
I'm sure someone can come up with a shorter one-liner, but in general I think Python is simply too verbose for this kind of stuff.

There are no comments on this comment yet.