#!/usr/bin/perl while(<>) { chomp $_; map {$hash{$_}++ => $_} $_; } map {print ("$hash{$_}: $_\n") => $_ } sort keys %hash;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Occurrences of line.
by MidLifeXis (Monsignor) on Apr 12, 2005 at 17:05 UTC | |
|
Re: Occurrences of line.
by grinder (Bishop) on Apr 13, 2005 at 13:37 UTC |