1

Weird ^M characters is disturbing the paste command

view story
linux-howto

http://www.unix.com – Dear all, I have the files: xaa xab xac and I try to paste them using $paste -d, xaa xab xac I see: output Code: 3e-130 ,6e-78 ,5e-74 6e-124 ,0,007 ,0,026 2e-119 When I type: $ paste -d, xaa xab xac |less I see: output Code: 3e-130^M,6e-78^M,5e-74 6e-124^M,0,007^M,0,026 2e-119^M,0,040^M,0,041 1e-82^M,0,19^M,0,069 3e-71^M,1e-77^M,0,13 3e-66^M,1e-77^M,0,43 2e-62^M,0,44^M,6e-84 Anyway, what is this ^M character? Is it disturbing the correct output from paste command? How can I figure out this problem? NOTE: xaa xab xac are outputs of a python script. Cheers. (HowTos)