Article 58V72 converting multiple lines of text to single line of text with comma separting them

converting multiple lines of text to single line of text with comma separting them

by
cogiz
from LinuxQuestions.org on (#58V72)
I have a file called abc.txt

00:00:00:00
00:02:59:90
00:09:08:50

I would like it to read as follows:

00:00:00:00,00:02:59:90,00:09:08:50

I have tried
Code:tr "n" " " < abc.txt > xyz.txtbut to no avail.
Any help or assistance is greatly appreciated.
Thank you.

Cogizlatest?d=yIl2AUoC8zA latest?i=uCCLY1CLHw4:iRqVzqfR3WI:F7zBnMy latest?i=uCCLY1CLHw4:iRqVzqfR3WI:V_sGLiP latest?d=qj6IDK7rITs latest?i=uCCLY1CLHw4:iRqVzqfR3WI:gIN9vFwuCCLY1CLHw4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments