From: earnie_boyd AT yahoo DOT com (Earnie Boyd) Subject: Re: Simplest way to translate file formats. 8 Nov 1998 01:32:44 -0800 Message-ID: <19981108025929.17841.rocketmail.cygnus.gnu-win32@send104.yahoomail.com> Reply-To: earnie_boyd AT yahoo DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Chris Searle , gnu-win32 AT cygnus DOT com ---Chris Searle wrote: > > I've brought down a couple of tarballs for various ported apps for > cygwin, and some have LF line terminated files, some have CR LF files. > Now, all my mounts are binary, and configure barfs on CR LF. > This is the price you pay for text=binary. I don't have any problems with \r\n files. I have my mounts set to text!=binary and modify the fopen/open to specify binary or text mode file processing. I simply don't have these kinds of problems. I suggest that if you don't want these headaches that you switch back to text!=binary mounts and port the programs properly. If you must, there are utilities for converting between unix and dos file formats. I'm not sure where or the names but search the web for dos2unix or d2u. == - \\||// -------------o0O0--Earnie--0O0o-------------- -- earnie_boyd AT yahoo DOT com -- -- http://www.freeyellow.com/members5/gw32 -- ----------------ooo0O--O0ooo----------------- PS: Newbie's, you should visit my page. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".