arv has asked for the wisdom of the Perl Monks concerning the following question:
The format of the file is like this:
1.2.3.4,1.2.3.255,USA
2.3.4.0,2.3.4.25,USA
124.2.3.0,124.2.3.255,Argentina
I need to sort the file based on IP Address, country wise
How can I do this?
1.2.3.4,1.2.3.255,USA
2.3.4.0,2.3.4.25,USA
124.2.3.0,124.2.3.255,Argentina
I need to sort the file based on IP Address, country wise
How can I do this?
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I sort a file with IP Addresses and another text column
by tadman (Prior) on Jun 15, 2001 at 20:46 UTC | |
Re: How do I sort a file with IP Addresses and another text column
by I0 (Priest) on Jun 15, 2001 at 11:09 UTC | |
by Saint Aardvark (Acolyte) on Jan 25, 2002 at 04:18 UTC | |
Re: How do I sort a file with IP Addresses and another text column
by mikeB (Friar) on Jun 14, 2001 at 19:03 UTC | |
Re: How do I sort a file with IP Addresses and another text column
by Anonymous Monk on Jun 14, 2001 at 21:08 UTC |
Back to
Seekers of Perl Wisdom