www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | Problem with the dos2unix command |
Date: | Wed, 17 Oct 2007 13:00:05 +0200 |
Message-ID: | <AB5E58B87EB73C46A38073D8F459F11335B8D2@dataspheresrv01> |
From: | "Patrick Monnerat" <Patrick DOT Monnerat AT datasphere DOT ch> |
To: | <cygwin AT cygwin DOT com> |
X-Virus-Status: | Clean |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l9HB0JiQ027686 |
Hello list, I'm trying to convert a \r\n line-ending file to unix style, but this file has some lines with their last character being \r (i.e.: the sequence of binary bytes is ...\r\r\n...) Using dos2unix to convert it strips both \r, resulting in a byte sequence ...\n... This seems to me a bug. I need the trailing \r in the file as a normal character, not being part of the line ending. Many thanks for support. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |