A little Perl snippet for sampling a log file (or whatever):
grep something myfile | perl -n -e ‘print if $. % 12 == 1;’
Apparently it works the same if I s/perl/ruby/
Your email is never published nor shared. Required fields are marked *
This hCard created with the hCard creator.