Answers for "change unix line separator to dos"

2

change unix line separator to dos

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language