[Rd] cat with backspace and newline characters

Jari Oksanen jari.oksanen at oulu.fi
Thu Nov 7 09:28:27 CET 2013


On 07/11/2013, at 09:35 AM, Renaud Gaujoux wrote:

> I agree that the handling of \b is not that strange, once one agrees
> on what \b actually means, i.e. "go back one character" and not
> "delete previous character".
> The fact that R GUI on Mac and Windows interprets/renders it
> differently shows that normality and strangeness is quite relative
> though.
> 
As a user DEC LA120 terminal I expect the following:

> cat("a\b^\n")
â
>

Everything else feels like a bug.

Cheers, Jari Oksanen



More information about the R-devel mailing list