I am creating and editing UNIX shell scripts (with extension .sh) on Windows. I’d like these to automatically have UNIX line endings. It’s a pain to have to set them manually, and I often forget. Is there a way to do this?
I realize this topic has already been discussed on this forum (see link below) but I find the answer so terse that I can’t figure out what I’m supposed to do. Can someone please spell this out in detail, as in an ST for Dummies book.