Covert Mac to Unix endings
If you happen to see "Mac format" in nano and wonder how to
convert that to unix, you can use this command:
awk '{ gsub("\r", "\n"); print $0;}' file1 > file2
where file1 is the one with Mac endings and file2 is the
new file with Unix endings. Once converted you can opt to
delete file1.