diff options
Diffstat (limited to 'lines-per-second')
-rw-r--r-- | lines-per-second | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lines-per-second b/lines-per-second new file mode 100644 index 0000000..a9411c0 --- /dev/null +++ b/lines-per-second @@ -0,0 +1,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}}' |