Hi,
When I edit a text file that exists on UNIX file system, texdpad is adding ^M charaters at the end of each line. What do I do to keep the UNIX line endings.
Thank you,
Hari.
How do I keep UNIX line endings
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Berend Hasselman
Re: How do I keep UNIX line endings
This is weird.
TextPad determines the file type on opening the file.
It retains the file type when saving and will use linefeeds.
It may be that your file contains one line with a CR/LF combination. Textpad will then regard the file as a PC file.
So the first thing you should do is right click in the edit window, select Properties and the General tab and look at the File type.
If it says anything other than UNIX, your file is not what you think it is.
You can save your file with a different type by choosing Save As and changing the File Type.
succes,
Berend
TextPad determines the file type on opening the file.
It retains the file type when saving and will use linefeeds.
It may be that your file contains one line with a CR/LF combination. Textpad will then regard the file as a PC file.
So the first thing you should do is right click in the edit window, select Properties and the General tab and look at the File type.
If it says anything other than UNIX, your file is not what you think it is.
You can save your file with a different type by choosing Save As and changing the File Type.
succes,
Berend