Submitted by gb24 on Fri, 03/28/2008 - 22:56.
( categories: perl questions )
Does anyboby understand what this is doing? cat filename | perl -ne 'print "$1\n" if /rule:\s(\d+)/'. I'm wanting to pull data from a file and calculate the number of individual instances of an item.
