Most Powerful Open Source ERP

Guideline End A File With Empty Line

Some tools cannot handle, display file as truncated.
  • Last Update:2017-04-10
  • Version:001
  • Language:en

End A File With Empty Line

Always have a blank line at the end of files, so that unified diff does not show a diff for the last line in some cases. Some tools also misbehave if the last line of data in a text file is not terminated with a newline or carriage return. They ignore that line as it is terminated with ^Z (eof) instead. An empty new line will also show the file opened was not trunceted.

Good Example:

Bad Example: