bash:files:delete_carriage_returns_from_a_file
BASH - Files - Delete carriage returns from a file
Remove all carriage returns from file and rewrite the edits back to same file.
tr -d "\015" < filename | tee > filename
NOTE: tr uses the octal form for cr.
bash/files/delete_carriage_returns_from_a_file.txt · Last modified: 2022/06/13 11:26 by peter