Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Alexander Hall (alexanderbeard.se)
Date: Wed Aug 06 2008 - 08:26:22 CDT
Markus Lude 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
> 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). :)