![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Urgent : Help required | V3l0 | AIX | 2 | 01-11-2008 11:37 AM |
| Urgent help required | umanglalani | Shell Programming and Scripting | 1 | 04-12-2007 04:24 AM |
| Very Urgent help required in Shell Program | Suppandi | Shell Programming and Scripting | 1 | 12-09-2005 08:33 AM |
| Urgent help required with uname() | rm1 | High Level Programming | 2 | 02-23-2005 10:18 PM |
| C programming - Urgent help required | kkumar1975 | High Level Programming | 2 | 04-08-2002 08:36 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi UNIX Gurus,
I have got the following requirement and totally how to proceed.A file is dummy.lst is there in the following format:-- ID NAME TYPE_ID -------- --------- ----------- 1947 Asia 7 1942 India 4 1942 India 7 1942 Kenya 7 But I want a spool file from it in the follwing format:-- ID NAME TYPE_ID -------- -------- ----------- 1947 Asia 7 1942 India,Kenya 4,7 The logic that is going to be followed is whenever the ID is same, we need to consolidate the all the values of NAME and TYPE_ID in a comma separated manner with all the unique values as in above. Thanx in advance, Regards, rahul26 ![]() |
|
|||||
|
Interestingly, a very similar problem was presented (and solved) in this recent thread: Need help in awk
Wierd. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|