I have a file that has blank lines with ^M in position one. I have this if [ "$end-line" = "^M"]; then Is that the correct way to code that between the quotes?