![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to add numbers | email-lalit | Shell Programming and Scripting | 8 | 05-12-2008 03:34 PM |
| ksh and hex numbers | JamesByars | Shell Programming and Scripting | 2 | 01-15-2008 11:36 AM |
| to count their numbers using awk | cdfd123 | Shell Programming and Scripting | 3 | 10-15-2007 12:24 AM |
| How to add numbers? | pnxi | Shell Programming and Scripting | 7 | 09-11-2003 03:25 AM |
| Add some numbers! | TalkShowHost | Shell Programming and Scripting | 3 | 05-15-2002 09:28 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
need top 3 numbers
Hi Every one
I have a text file which is having a might be 100,000 record but i only need a maximum top 3 numbers and its phone number . please see below the samle file usa,asasas,ssss,asasasasas,9005451,10000,ikiikkk uk,asasas,ssss,asasasasas,9005452,110000,ikiikkk uae,asasas,ssss,asasasasas,9005453,20000,ikiikkk china,asasas,ssss,asasasasas,9005454,10,ikiikkk kuwait,asasas,ssss,asasasasas,9005455,100,ikiikkk qatar,asasas,ssss,asasasasas,9005456,5000000,ikiikkk bahrain,asasas,ssss,asasasasas,9005457,80,ikiikkk I need the top three maximum charge vaue which is filed number 6. it should give me the top 3 results like this. 9005456,5000000 9005452,110000 9005453,20000 PLEASE GIVE ME ANY COMMAND OR UNIX SHELL SCRIPT WHICH CAN HELP ME OUT TO CALCULATE THE TOP 3 NUMBERS OR EVEN I CAN APPLY THIS WITH 100 NUMBERS. Regards |
| Forum Sponsor | ||
|
|