Answers for "how to change line separator of a file ubuntu"

2

how to change line separator of a file ubuntu

sed -i.bak 's/\r$//' file.txt
Posted by: Guest on October-15-2021

Code answers related to "how to change line separator of a file ubuntu"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language