Field2 0 #### perl -ne ' s/\r\n?//g; print ' foo.xml sed -e s/^M\n//g foo.xml tr -d ^M\n foo.xml