Difference between revisions of "Common Errors - ctrl M"

From Rizzo_Lab
Jump to: navigation, search
(No difference)

Latest revision as of 12:37, 25 February 2009

Control M

Windows puts ^M at the end of the lines which makes the files incompatible with unix (especially paste -d',' command. Use the perl script to remove the ^M.

perl -pi -e 's/\r//g' filename