I have got a text file with a list of first names, and I am trying to replace newline with ,.
Here is the command I am using
sed 's/\
/,/g' file
while the reverse is working
sed 's/,/\
/g' file
it replaces , with newline.
|
|
|
Also, with many tools you can use Like Stephane pointed,
|
|||||||||
|