From: cwalsh AT nf DOT sympatico DOT ca (Colin Walsh) Newsgroups: comp.os.msdos.djgpp Subject: Re: Writing a struct to disk Date: 26 Aug 97 20:53:16 GMT Organization: Colossal Software Lines: 22 Distribution: world Message-ID: <3403423c.0@204.101.95.15> References: <34033702 DOT 0 AT 204 DOT 101 DOT 95 DOT 15> Reply-To: cwalsh AT nf DOT sympatico DOT ca NNTP-Posting-Host: 204.101.95.15 Cc: djgpp AT delorie DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <34033702 DOT 0 AT 204 DOT 101 DOT 95 DOT 15> cwalsh AT nf DOT sympatico DOT ca (Colin Walsh) wrote: >> So, if you want a text file to be portable to Unix, you should write >> it in binary mode on MS-DOS, so it doesn't have those CRs. > > Last night I did up a program to do exactly this (It was to convert a > Unix mail file into DOS CR/LF text so Eudora could read it). > > Hope this counts as an ObHack too (It kinda falls into the definition of a hack :) > Oops... for some strange reason I thought I was posting to the moderated group alt.hackers which requires a "hack" to be put into the post (Note: *NOT* a group where you will find "31337 d00dZ" looking for "WaReZ"... the definition of a "Cracker"... whereas alt.hackers follows the traditional definition of hacker- someone who is good at using computers.) Methinks you can ignore this part of my post :)... Now seeking professional help :), Colin Walsh cwalsh AT nf DOT sympatico DOT ca