batcater98 has asked for the wisdom of the Perl Monks concerning the following question:
What would be the best and most efficient way to do this, the file I will be parsing is rather large. Thanks, Ad.Data Example: base1,Thu 21Dec06 08:00:02 ,62bn6085, bytes 608584 base1,Thu 21Dec06 08:00:07 ,63bn5600, bytes 77383 base2,Thu 21Dec06 08:00:18 ,65bn6085, bytes 88373 base5,Thu 21Dec06 08:00:19 ,66bn6042, bytes 388377 base4,Thu 21Dec06 08:03:44 ,81bn4370, bytes 8956003 base6,Thu 21Dec06 08:03:57 ,82bn4512, bytes 7783 base3,Thu 21Dec06 08:01:03 ,06bn5600, bytes 77383 Output Would be: 6085 - 2 5600 - 2 6042 - 1 4270 - 1 4512 - 1 ..... And if it did not find any #### - 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing a Flat File and counting occurances of numbers?
by jettero (Monsignor) on Dec 22, 2006 at 13:43 UTC | |
by chargrill (Parson) on Dec 22, 2006 at 14:00 UTC | |
by batcater98 (Acolyte) on Dec 22, 2006 at 14:12 UTC | |
|
Re: Parsing a Flat File and counting occurances of numbers?
by Fletch (Bishop) on Dec 22, 2006 at 13:43 UTC | |
|
Re: Parsing a Flat File and counting occurances of numbers?
by BrowserUk (Patriarch) on Dec 22, 2006 at 13:48 UTC | |
|
Re: Parsing a Flat File and counting occurances of numbers?
by johngg (Canon) on Dec 22, 2006 at 14:24 UTC | |
|
Re: Parsing a Flat File and counting occurances of numbers?
by druud (Sexton) on Dec 22, 2006 at 15:57 UTC |