[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf adding ^M to field at the end of the line
From: |
Bob Proulx |
Subject: |
Re: printf adding ^M to field at the end of the line |
Date: |
Sat, 3 Nov 2007 11:05:25 -0600 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Lenz, Andrew John wrote:
> I'm running gawk-3.1.5-14.e15 on CentOS = 5
>
> "printf" it is adding an extra ^M = to the last
> = field of the Line. I
> don't what this to happen.
Thanks for the report but I am unable to recreate this problem. Could
you tell us how you are making this happen? A small test case that
reproduces the problem would allow us to recreate and look into it.
Something like this:
$ echo one two three | awk '{print$NF}' | od -tx1 -c
0000000 74 68 72 65 65 0a
t h r e e \n
0000006
Of course this shows it working okay. If possible we would like to
see a small test case such as the above that shows it not working so
that we can recreate the problem.
Bob