Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19991003040404.4751.rocketmail@web127.yahoomail.com> Date: Sat, 2 Oct 1999 21:04:04 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: Making Cygwin write DOS style text files To: Glenn Spell , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Glenn Spell wrote: > On 29 Sep 1999 around 8:08PM (+0200) Rabbe Fogelholm wrote: > > > [...] but other users out there will think that my Cygwin-based > > script does a poor job if it produces files that "look weird" in > > the Microsoft environment. > > > > So, while I consider the CR LF convention to be among the stupidest > > of this century, I still have to stick to it :-(. > > You have been assimilated. :-) > > Although not as elegant as awk, you may find Rahul Dhesi's > 'flip' useful. There's a Cygwin port with man pages at > . > > > It turns out that I was on a text!=binary mount, and that creating > > a text=binary mount did not solve my problem (either way I get > > files with a single LF as the end-of-line sequence). > > I don't understand why you're getting those type files with text > mounts (text!=binary). I use text mounts and only text mounts on > Win95 to achieve what I think you are after. Most files created with > Cygwin tools on my setup have CR/LF pairs for line endings. I thought > that was the purpose of text mounts! There is a bug in the stock b20.1 cygwin that could cause this. See my pages, the cygwin documentation pages at http://sourceware.cygnus.com/cygwin and the mail archives for more information on this. ===== Earnie Boyd Newbies, please visit (If you respond to the list, then please don't cc me) __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com