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 To: cygwin AT cygwin DOT com Subject: Can't use special characters \n or \r MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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/