From ruipbarradas at sapo.pt  Fri Nov  1 16:45:35 2013
From: ruipbarradas at sapo.pt (Rui Barradas)
Date: Fri, 01 Nov 2013 15:45:35 +0000
Subject: [Rd] cat with backspace and newline characters
In-Reply-To: <CAHavPHGe1A7R6RxD45exQnq7zJXWatiKQ8rR7SiFJBE2RGVQDQ@mail.gmail.com>
References: <CAHavPHGe1A7R6RxD45exQnq7zJXWatiKQ8rR7SiFJBE2RGVQDQ@mail.gmail.com>
Message-ID: <5273CC9F.60802@sapo.pt>

Hello,

Can't reproduce it, there must be something with your console. I get

 > cat("abc\b")
ab> cat("abc\b\n")
ab
 >


Hope this helps,

Rui Barradas

Em 01-11-2013 11:06, Renaud Gaujoux escreveu:
> Hi,
>
> when mixing newline and backspace characters I get the following output
> (see below). In the second call, the backspace character is simply not
> applied. Is this normal behaviour?
> Thank you.
>
>> cat("abc\b")
> ab> cat("abc\b\n")
> abc
>>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] cat with backspace and newline characters
Rui Barradas