Help for this page

Select Code to Download


  1. or download this
    $ perl -pe 's|(/\w+)|$1 . ++$counts{$1}|ge' logfile>countedlogfile
    
    ...
    $ cat countedlogfile
    doc123/print1 doc456/read1 doc789/print2 doc145/print3 doc123/read2