PƔdraig Brady writes:
>On 19/07/11 08:13, Hallvard B Furuseth wrote:
>> Coreutils 5.12 gets that right in my test:
>> 1st output line is "1234567<space><tab>1".
>
> That's incorrect according to POSIX.
> The space should be converted to tab as
> it's followed by a blank.
Duh, sorry. I read "...immediately preceding a tab stop"
as "...immediately preceding a <tab>".
The manpage about this is wrong too:
"-a, --all convert all blanks, instead of just initial blanks"
No, not single spaces that happen to be just before a tab stop.
--
Hallvard