Why do some text editors such as BBEdit and Textmate offer to end your file with a newline (line break)? Why is that important?
Are there any caveats to not ending a file with a line break?
Some Unix-style text processing commands may produce unexpected behavior if the last line does not end with a newline. For example,