std.file.readText() extra Line Feed character

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 18 14:29:30 PST 2014


On 12/18/2014 02:51 AM, Colin wrote:

 > > vi, and it does indeed have a '\n' at the end of file.
 >
 > Ah, I see. That's a little annoying.

It looks like there are ways of dealing with it:

 
http://stackoverflow.com/questions/1050640/vim-disable-automatic-newline-at-end-of-file

Ali
"happy with Emacs :p"



More information about the Digitalmars-d-learn mailing list