How to get rid of Windows \r\n as the line terminator ?
Posted: Sun May 29, 2022 6:23 pm
I understand that I can set TextPad to save new files in UTF-8 Code and UNIX file type.
How do I convert many files registered in a particular CODE/FILE TYPE setup to another CODE/FILE TYPE setup ?
Or, how do I recognize a line has \r\n as a line terminator
and change it so it ends with just \n alone ?
I know the command line in linux is : sed -i 's/\r//g' «filename.txt»
but is there a way with TextPad ?
Thanks
How do I convert many files registered in a particular CODE/FILE TYPE setup to another CODE/FILE TYPE setup ?
Or, how do I recognize a line has \r\n as a line terminator
and change it so it ends with just \n alone ?
I know the command line in linux is : sed -i 's/\r//g' «filename.txt»
but is there a way with TextPad ?
Thanks