delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <19991002024942.A22581@ba.best.com> |
Date: | Sat, 2 Oct 1999 02:49:42 -0400 |
From: | Glenn Spell <glenn AT gs DOT fay DOT nc DOT us> |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: Making Cygwin write DOS style text files |
Mail-Followup-To: | cygwin AT sourceware DOT cygnus DOT com |
References: | <199909290743 DOT DAA05008 AT dagda DOT sunflower DOT com> <2332837762 DOT 938635708 AT isdn194 DOT ellemtel DOT net> |
Mime-Version: | 1.0 |
X-Mailer: | Mutt 0.93.2i |
In-Reply-To: | <2332837762.938635708@isdn194.ellemtel.net>; from "Rabbe Fogelholm" on Wed, Sep 29, 1999 at 08:08PM |
Organization: | the aerie |
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 <http://www.fay.nc.us/~glenn/cygwin/flip-1.00.tgz>. > 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! I know the above paragraph doesn't help you but perhaps someone else may have some idea as to why we get different results. Can you give me a test case? -glenn -- ________________________________________ _ _____ ) )_ _ (__\____o /_/_ | ) Glenn Spell <glenn AT gs DOT fay DOT nc DOT us> ) >-----._/_/__]> )________________________________________) `0 | -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |