On 2008-08-06, Markus Lude <[EMAIL PROTECTED]> wrote:
> while using grep on tab separated data I spotted some strange thing
> today. Somehow the last tab isn't displayed:
>
> $ echo "1                                                             1234567 
> 123"
> 1                                                                     
> 1234567123
>
> To see the tabs more easier:
>
> $ echo "1                                                                     
> 1234567 123" | cat -evt
> 1^I^I^I^I^I^I^I^I^I1234567^I123$
>
> I used an xterm with width 80. Any ideas where the problem may be? Or is
> this for some strange reason considered "normal"?

Looks like an xterm bug. This works ok in a normal console,
and works ok in screen in a normal console, but fails in an
xterm or screen in an xterm.

Let's make it easier for people to test;

$ printf "1\t\t\t\t\t\t\t\t\t1234567\t123"

Reply via email to