This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Can't use special characters \n or \r
- From: jay3205 <prismswordsman at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 29 Jul 2008 20:46:23 -0700 (PDT)
- Subject: Can't use special characters \n or \r
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/