Re: Converting dos 2 unix with a regexp

2001-08-10 Thread Brett W. McCoy
On Fri, 10 Aug 2001, Michael Wolfrom wrote: > My question is: How can a match the ^M at the end of a dos text file > in a regexp? > What I am trying to do is print all the characters up until the ^M (if > there is one). \cM is how you can match it on a regexp. Some people also use \r. you c

Converting dos 2 unix with a regexp

2001-08-10 Thread Michael Wolfrom
My question is: How can a match the ^M at the end of a dos text file in a regexp? What I am trying to do is print all the characters up until the ^M (if there is one). Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]