delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <18725646.post@talk.nabble.com> |
Date: | Tue, 29 Jul 2008 20:46:23 -0700 (PDT) |
From: | jay3205 <prismswordsman AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Can't use special characters \n or \r |
MIME-Version: | 1.0 |
X-Nabble-From: | prismswordsman AT hotmail DOT com |
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 |
I have a text file made in Windows, and I'm trying to replace all the carriage returns with nothing. However, whenever I use \r or \n to indicate a carriage return or newline in a grep or sed search string, it is treated as a normal r and normal n. Anyone have any idea of what may be causing this? -- View this message in context: http://www.nabble.com/Can%27t-use-special-characters-%5Cn-or-%5Cr-tp18725646p18725646.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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 |