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 to get rid of Windows \r\n as the line terminator ?
Moderators: AmigoJack, helios, bbadmin, Bob Hansen, MudGuard
-
- Posts: 4
- Joined: Tue Dec 13, 2016 9:07 pm
-
- Posts: 2456
- Joined: Sun Mar 02, 2003 9:22 pm
The HOW-TOs forum is not the the right place to ask questions. As it says in one place:
    Instructional HowTos, posted by users. No questions here please
and in another:
    PLEASE DO NOT POST QUESTIONS HERE
But anyway:
You can change the line endings and encoding when you save a file:
    File | Save As...
        Line ending: UNIX
        Encoding: UTF-8
You would have to do this on each file you want to change. TextPad is not designed to perform bulk edits on multiple files.
    Instructional HowTos, posted by users. No questions here please
and in another:
    PLEASE DO NOT POST QUESTIONS HERE
But anyway:
You can change the line endings and encoding when you save a file:
    File | Save As...
        Line ending: UNIX
        Encoding: UTF-8
You would have to do this on each file you want to change. TextPad is not designed to perform bulk edits on multiple files.
-
- Posts: 4
- Joined: Tue Dec 13, 2016 9:07 pm
PLEASE DO NOT POST QUESTIONS HERE
Please let me know where I can ask questions.
Thank you
Thank you
-
- Posts: 2456
- Joined: Sun Mar 02, 2003 9:22 pm
Visit https://forums.textpad.com/ and choose General
or go there directly:
https://forums.textpad.com/viewforum.php?f=8
Do you have further questions?
or go there directly:
https://forums.textpad.com/viewforum.php?f=8
Do you have further questions?
-
- Posts: 4
- Joined: Tue Dec 13, 2016 9:07 pm
No more questions for now
No more questions for now
Thank you.
Thank you.