script code for end-line

Ernie Luzar luzar722 at gmail.com
Sat Sep 9 00:15:35 UTC 2017


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?



More information about the freebsd-questions mailing list