retaining first value, joining with the rest of the row values ?

2008-07-11 Thread Erasmo Perez
Hi dear Perl list: I would like to thank you for all the support I have received from you in my last couple of questions. But here is another question: I would like to know how could I transform the following CSV file: 1,2,3,4,5,6 2,3,4,6,7,8,9 3,876,986,876,765 ... 987,983,654,990,654 989,876,

How to remove [], {}, and other characters, rendering numeric values in a CSV file ?

2008-06-26 Thread Erasmo Perez
Hi dear list: Thank you very much for you great help in solving my past issue, regarding the removing of the trailing commas and points. Thank you very much indeed :-) Now, my last (I hope) issue. I got another text file in the following format: cluster[1] = { 2 3 4 8 10 14 } cluster[2] = { 25

How to remove trailing commas and points from a CSV file ?

2008-06-26 Thread Erasmo Perez
Hi dear list: Please forgive my lack of Perl credentials, but i am a complete beginner But, and that is the problem, I do have an urgent issue and that's why I came to perl in the very first instance I have a CSV file, which comes in the following format: a,b,.,.,.,.,.,.,. b,c,d,.,.,.,.,.,. e,f