News for hackers. Stuff that matters.
Re:Learn to use Awk with hundreds of examples by majewsky on Thursday October 26, 2017 @05:44AM (#15557529)
Ah, I was going by the snippet in the parent, not the original one in the grandparent. That here should do it:

  perl -F: -anE '$_=$F[2];$t+=$_if$_>240}{say$t'
I wanted to be clever by doing `$t+=$_*($_>240)`, but that's actually one byte larger. :(

There are no comments on this comment yet.