[alsa-devel] [PATCH][Trivial][resend] Documentation: Add newline at end-of-file to files lacking one

Jiri Kosina jkosina at suse.cz
Fri Jul 20 23:11:20 CEST 2012


On Fri, 20 Jul 2012, Jesper Juhl wrote:

> This patch simply adds a newline character at end-of-file to those
> files in Documentation/ that currently lack one.
> 
> This is done for a few different reasons:
> 
> A) It's rather annoying when you do "cat some_file.txt" that your
>    prompt/cursor ends up at the end of the last line of output rather
>    than on a new line.
> 
> B) Some tools that process files line-by-line may get confused by the
>    lack of a newline on the last line.
> 
> C) The "\ No newline at end of file" line in diffs annoys me for some
>    reason.
> 
> So, let's just add the missing newline once and for all.
> 
> Signed-off-by: Jesper Juhl <jj at chaosbits.net>

Queued for 3.6, thanks Jesper.

-- 
Jiri Kosina
SUSE Labs


More information about the Alsa-devel mailing list