[Geany-devel] "Ensure new line on file end" inserts new line when file is empty

Eugene Arshinov earshinov at xxxxx
Sat Oct 16 12:37:10 UTC 2010


On Sat, 16 Oct 2010 16:21:02 +0400%
Eugene Arshinov <earshinov at gmail.com> wrote:

> [...]
> 
> 2) and so, to my knowledge, do most text utilities like wc (they do
> not process last line if it is unterminated)
> 
> [...]

I'm wrong here.  For example, 'sort' and 'grep' work fine when the last
line does not end with \n.  So there's rather "just one tool", wc…



More information about the Devel mailing list