![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| match range of different numbers by AWK | repinementer | Shell Programming and Scripting | 54 | 09-14-2009 04:07 AM |
| read numbers from file and output which numbers belongs to which range | thepurple | Shell Programming and Scripting | 6 | 05-13-2009 07:07 AM |
| Using grep on a range of numbers | ProgChick2oo9 | UNIX for Dummies Questions & Answers | 1 | 03-15-2009 03:58 PM |
| Fill in missing numbers in range | bistru | Shell Programming and Scripting | 5 | 05-17-2006 03:42 AM |
| grep numbers range | azmathshaikh | Shell Programming and Scripting | 1 | 08-08-2005 08:45 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello,
I have two columns with data that look like this: Col1 Col2 ------ ----- a 1 a 2 a 3 a 4 a 7 a 8 a 9 a 10 a 11 b 6 b 7 b 8 b 9 b 14 b 15 b 16 b 17 c 88 c 89 c 90 c 91 c 92 c 95 c 96 c 97 I want to be able to get the range of the numbers in Col2 based on Col1, i.e. the output should look like this: Col1 Range a (1-4) a (7-11) b (6-9) b (14-17) c (88-92) c (95-97) Thank you in advance your input! ~Gussi |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|