how to remove lf from a text file
I need help removing LF from a text file. I have a file I want to turn into one long line of data, but I can not figure out how to do it, I have tried...
cat file.txt | perl -pe 's:\r::g' > file2.txt
but no luck. I also tried...
sed 's/r//g' filename.txt >newfile.txt
with no luck.
any help is appreciated.
-Gregg
|