This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]