Markus Lude wrote:
Hello,
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"?

I'm running the latest snapshot on sparc64 here.

I'd guess the proper way to see it is that last tab is "performed", rather than displayed. Fiddling with the terminal width makes me think that the "missing" tab moves the cursor to the end of the window but no further (and in this case it is already there). This is probably expected and proper behaviour, considering how regular typewriters works (or used to work). :)

/Alexander

Reply via email to