Bug#561325: closed by Jari Aalto <jari.aalto at cante.net> (Bug#561325 Close)

Marc MAURICE marc.maurice at smile.fr
Thu Mar 4 08:29:22 UTC 2010


Hello,

All standard text editors add a newline at end of files (vi, emacs, 
gedit, kedit...).
Only Windows Notepad doesn't.

It's part of the POSIX standard :

http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap03.html#tag_03_205

See also the following arguments :

(scroll down to the last posts)

http://support.github.com/discussions/site/226-no-newline-at-end-of-file-appended-at-the-end-of-my-source-listing-in-the-commit-view
http://www.codeguru.com/forum/archive/index.php/t-423606.html

Thanks in advance,
Marc


Le 04/03/2010 00:48, Debian Bug Tracking System a écrit :
> This is an automatic notification regarding your Bug report
> which was filed against the leafpad package:
>
> #561325: Does not add newline at end of file
>
> It has been closed by Jari Aalto <jari.aalto at cante.net>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Jari Aalto <jari.aalto at cante.net> by
> replying to this email.
>
>
>   
>
> ------------------------------------------------------------------------
>
> Sujet:
> Bug#561325 Close
> Expéditeur:
> Jari Aalto <jari.aalto at cante.net>
> Date:
> Thu, 04 Mar 2010 01:46:17 +0200
> Destinataire:
> 561325-done at bugs.debian.org
>
> Destinataire:
> 561325-done at bugs.debian.org
>
>
> Reason for close:
>
> Standard editors do not add sxtra newlines. Feature will not be
> implmented.
>
> From: Tarot Osuji <tarot at sdf.lonestar.org>
> Subject: Re: Debian leafpad: new release with patches included?
> To: Jari Aalto <jari.aalto at cante.net>
> Date: 1 hour, 1 minute -- 2010-03-04 00:43 EET
> Message-ID: <4B8EE5FB.7060600 at sdf.lonestar.org>
> References: <87iq9kmshg.fsf at jondo.cante.net>
>
> Hi Jari
>
> #561325
>  WinXP's Notepad does not add newline at end of line. I feel no demand.
>
> Regards,
> Tarot
>
>   
>
> ------------------------------------------------------------------------
>
> Sujet:
> Does not add newline at end of file
> Expéditeur:
> Marc MAURICE <marc.maurice at smile.fr>
> Date:
> Wed, 16 Dec 2009 08:50:34 +0100
> Destinataire:
> submit at bugs.debian.org
>
> Destinataire:
> submit at bugs.debian.org
>
>
> Package: leafpad
> Version: 0.8.17-1
>
> Leafpad doesn't add a newline character at end of file like other text 
> editors.
>
> Steps to reproduce :
>
> $ leafpad test.txt
> # type in a simple word, save and quit
> $ cat test.txt
> myword$
>
> Thanks in advance,
> Good day !
> Marc
>






More information about the pkg-gnome-maintainers mailing list