[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8578: 8.12 and 8.10 'ls -dl' appends ' ' (0x20: space) to file outpu
From: |
Paul Eggert |
Subject: |
bug#8578: 8.12 and 8.10 'ls -dl' appends ' ' (0x20: space) to file output lines |
Date: |
Thu, 28 Apr 2011 12:34:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 |
On 04/28/11 11:34, Jason Vas Dias wrote:
> $ ls -dl /. | od -cx
> ...
> 0000040 r 2 0 1 5 : 2 8 / . \n
> 2072 3032 3120 3a35 3832 2f20 0a2e
> 0000056
>
> Please could the ls developer let me know if it 100% POSIXLY correct
> that ls appends 0x20 to the filename '/.' here ?
I don't see any space appended there. The last four bytes of
output are 0x20, 0x2f, 0x2e, 0x0a (space, /, ., newline).
Perhaps you're misunderstanding the little-endian nature of
od -x output?