[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
stripping the ^M
- From: "Cimarron Ryan" <cryan mail wesleyan edu>
- To: <redhat-list redhat com>
- Subject: stripping the ^M
- Date: Fri, 9 Apr 1999 00:46:02 -0400
Just for kicks, I decided to try and strip the nasty ^M from windows/dos
text files using sed.
$ sed -e s/^M//g filename
doesn't work. And neither does
$ sed -e s/\^M//g filename
How can you match control characters in the regexp?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]