Đinh Thu Trang
New member
How do I remove a carriage return character in Unix?
Answer
The procedure to delete carriage return is as follows:
Answer
The procedure to delete carriage return is as follows:
- Open the terminal app and then type any one of the following command.
- Use the sed: sed ‘s/r$//’ file.txt > out.txt.
- Another option is tr: tr -d ‘r’ input.txt > out.txt.