|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Alexander Hall (alexander
beard.se)
Date: Wed Aug 06 2008 - 08:26:22 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]