CR /LF

Joerg Lenneis lenneis at wu-wien.ac.at
Thu Oct 30 22:42:27 GMT 1997


Jeroen Vriesman <joenix at xs4all.nl> writes:

> Hi,
> 
> The users of my network used to get their file with ftp from the Unix
> machines, I've installed samba, so they can just drag and drop,
> everything works fine.
> Now I'm looking for a way to insert the DOS CR/LF in ASCII text files
> when there is only a LF.
> It could be done simply by a sed script ofcourse, but how do I put the
> sed script the Unix files and the SMB server?
> I would like it to be trnsparent, so the users can drag & drop their
> files without knowing about it.
> 
> Thanks for your attention.
> 

There is a little utility program for Windows 3.xx in the
"contributed" directory in the main Samba directory called fixcrlf. It
gives you an icon on the desktop that you can drop textfiles on, that
are then converted to/from crlf/cr. Maybe it works under Windows 95 or
can be adapted.


-- 

Joerg Lenneis

email: lenneis at wu-wien.ac.at


More information about the samba mailing list