No announcement yet.

No newline at end of file

  • Filter
  • Time
  • Show
Clear All
new posts

  • Aaron
    Re: No newline at end of file

    Thanks for the information. We are aware of the issue, but the quick reference material for 'how we should fix it' is nice and useful. I've appended that information to the bug report.

    Leave a comment:

  • microbeclarke
    started a topic No newline at end of file

    No newline at end of file

    Beyond Compare does not produce a "\ No newline at end of file" marker when one is required for Unified Diffs. This can cause errors when supplying diffs to a patch program that will apply the patch to a base version. Is there an option to turn this feature on, otherwise can it be added to the product?

    From Wikipedia (

    "As a special case, unified diff expects to work with files that end in a newline. If either file does not, unified diff will emit the special line
    \ No newline at end of file
    after the modifications. The patch program should be aware of this."