Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: To: Cygwin News Group Subject: Re: How do I remove CR/LF from text file In-Reply-To: <012401c08f8e$cb352680$275c100a@actfs.co.uk> From: Brian Keener 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