[Tutor] readline

ALAN GAULD alan.gauld at btinternet.com
Thu Aug 1 01:20:50 CEST 2013



> For some reason I thought that readline counted the \n at the end of
> each line and stopped at each one. Clearly, I was mistaken!


That is kind of what the default behaviour does. It doesn't 
actually count the \n characters but it reads up to and 
including it.

Alan G.


More information about the Tutor mailing list