[CentOS] Need help in writing a shell/bash script
ankush grover
ankushcentos at gmail.comFri Dec 30 12:00:34 UTC 2011
- Previous message: [CentOS] CentOS 6 x86_64 can't detect raid 10
- Next message: [CentOS] UC Need help in writing a shell/bash script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Friends,
I am trying to write a shell script which can merge the 2 columns into
3rd one on Centos 5. The file is very long around 31200 rows having
around 1370 unique groups and around 12000 unique user-names.
The 1st column is the groupname and then 2nd column is the user-name.
1st Column (Groupname) 2nd Column (username)
admin ankush
admin amit
powerusers dinesh
powerusers jitendra
The desired output should be like this
admin: ankush, amit
powerusers: dinesh, jitendra
There are commands available but not able to use it properly to get
the desired output. Please help me
Thanks & Regards
Ankush
- Previous message: [CentOS] CentOS 6 x86_64 can't detect raid 10
- Next message: [CentOS] UC Need help in writing a shell/bash script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list