On 6/13/07, Mike McClain <[EMAIL PROTECTED]> wrote:

On 13 Jun 2007, L.V.Gandhi wrote:
>I added one more field and found that ^M in the LO_52_WK field before
comma.
>I tried sed -e 's/M$//'. this didn't help.
>Any solutions?
What you see as ^M is the carriage return, CR = \015 = \0x0d = "\r".
Look for fromdos or roll your own with `tr -d "\015"`.
HTH,
Mike

Thanks Mike.


--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042

Reply via email to