Hugo Coolens
2009-Oct-02 12:14 UTC
[Wine] problem with crlf ending using matlab 5 under wine
I have a light linux distrubution called puppy-linux which I modified to include all programs I currently use. One of them is an old matlab 5 student version which works fine under wine except for one thing: when I use the integrated matlab-editor to make or modify an m-script it does not save the file in dos-format ie using cr+lf file-endings. Is there an option in wine which I can use or change such that files are save with crlf-line endings? regards, Hugo
Martin Gregorie
2009-Oct-03 01:35 UTC
[Wine] problem with crlf ending using matlab 5 under wine
On Fri, 2009-10-02 at 14:14 +0200, Hugo Coolens wrote:> I have a light linux distrubution called puppy-linux which I modified to > include all programs I currently use. One of them is an old matlab 5 > student version which works fine under wine except for one thing: > when I use the integrated matlab-editor to make or modify an m-script it > does not save the file in dos-format ie using cr+lf file-endings. Is > there an option in wine which I can use or change such that files are > save with crlf-line endings? >I don't know Matlab or how it can be configured, but if may dig you out of a hole some time to know about two useful command-line utilities, dos2unix and unix2dos, which change newlines in files. They convert CRLF to LF and LF to CRLF respectively. Martin