[Wine] problem with crlf ending using matlab 5 under wine

Martin Gregorie martin at gregorie.org
Fri Oct 2 20:35:07 CDT 2009


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





More information about the wine-users mailing list