Files on linux sz window to edit the extra ^ M,
method one:
. 1, -anR grep '^ M' filename | WC -l
2, the crontab -e filename or Vim
. 3,: // SET FF view format
4,: set ff = unix // set the file format
. 5,: WQ!
. 6 , grep -anR '^ M' filename | wc -l
Method Two
sed -i "s/$(echo -e '\015')//g" filename