in reply to Re^5: duplicating the rows and joining three lines into one using perl scriptin thread duplicating the rows and joining three lines into one using perl script
s/\s+$/,/; [download]
Sorry about the useless comment.