summaryrefslogtreecommitdiffstats
path: root/lines-per-second
blob: a9411c05e830a7ac35ccd461bb7c3f9384569212 (plain)
1
2
3
4
5
#!/bin/bash

# this is really just a snippet to be copied when needed

exec perl -e 'while (<>) {$l++;if (time > $e) {$e=time;print "$l\n";$l=0}}'