Hi,
I�m new on this Linux groups and like to learn more,
Right now, I�m working on a project (personal) and have a question fallowing problem
I�m making a bash script to read many files and extract some fields and separate them according certain criteria, let say a have a big file with records like these
210,linux
211,linux
220,windows
230, solaris
240, linux
250,ubuntu
Now I made an awk process to make 4 different files:
Linux.txt
210,linux
211,linux
212, linux ....219
Windows.txt
220,windows...220
Solaris.txt
230.solaris...239
Ubuntu.txt
250,ubuntu...259
Here is where the fun begin, I already remove field 2 from each file, but can not make all records on a singled line, I need them all like look this
Linux.txt
210,211,212,...219
Windows.txt
220...229
Solaris.txt
230,...230
Ubuntu.txt
250,...259
Any help would be appreciated.
Zopilota