![]() |
|
|
|
|
|||||||
| 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 |
| count number of files in a directory | finalight | Shell Programming and Scripting | 3 | 05-21-2008 09:14 PM |
| How count number of fields in a record | sureshg_sampat | Shell Programming and Scripting | 5 | 01-07-2008 02:30 AM |
| Finding number ranges using grep | DKNUCKLES | Shell Programming and Scripting | 2 | 11-06-2007 10:30 PM |
| Count number of files in subdirectories | cbeverly | UNIX for Dummies Questions & Answers | 2 | 06-02-2005 12:06 PM |
| Count Number Of Threads in a Process | S.P.Prasad | High Level Programming | 7 | 01-02-2003 02:04 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Number count per number ranges
Hi,
I have a question here that need to get advise from all of you. Let say I have a set of data 12347777 12359899 12347677 12360090 12347688 12359979 12359009 12367022 12346677 I need to count the number that appear in each numbering ranges and the output is like below: Prefix Count 1234 4 1235 3 1236 2 How can I do this by using shell script? What command that I can use? Please advise. Really appreaciate your help. Thank you so much. Best Regards, Shirley |
| Forum Sponsor | ||
|
|
|
|||
|
Number count per number ranges
Hi vgersh99,
I have tested on the script with test data, but no output is showing. The output file is empty. Tried to modify the script, but still the same. Please advise. Thank you so much. Best Regards, Shirley |
|
|||
|
Hi vgersh99 and ranjithpr,
The script is working now and I able to get the output data that I needed. Thank you so so so much for your helps. Thank you. Best Regards, Shirley |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|