lkml.org 
[lkml]   [2012]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [Trivial] Documentation: Add newline at end-of-file to files lacking one
On 04/16/2012 04:35 PM, 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@chaosbits.net>

Acked-by: Rob Landley <rob@landley.net>

Rob
--
GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code.
Either it's "mere aggregation", or a license violation. Pick one.


\
 
 \ /
  Last update: 2012-04-17 17:43    [W:0.086 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site