delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/05/12:43:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 05 Feb 2001 12:36:26 EST
X-Mailer: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va
Message-Id: <VA.00000619.002a2684@thesoftwaresource.com>
To: Cygwin News Group <cygwin AT sources DOT redhat DOT com>
Subject: Re: How do I remove CR/LF from text file
In-Reply-To: <012401c08f8e$cb352680$275c100a@actfs.co.uk>
From: Brian Keener <bkeener AT thesoftwaresource DOT com>
Reply-To: bkeener AT thesoftwaresource DOT com

Malcolm Boekhoff wrote:
> file in Word (and probably Wordpad)
> and then save it as text. This will put the \r\n sequence back in. 

Actually, it doesn't appear to - they just seem to display it properly and then saves it the same 
way and it still looks bad in Notepad and my email program.

> You can also use vim (part of Cygwin) to read the file in, change
> the file type to "dos" (via ":set fileformat=dos") then save it.

Hadn't tried this yet (actually didn't know about it) but just did and that works like a champ - I 
can live with that solution.  Thanks for the new command in vim.

Brian



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019