bug-coreutils
[Top][All Lists]
Advanced

[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: Bob Proulx
Subject: bug#8578: 8.12 and 8.10 'ls -dl' appends ' ' (0x20: space) to file output lines
Date: Thu, 28 Apr 2011 13:44:20 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Paul Eggert wrote:
> 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?

Perhaps this FAQ reference might be helpful.

  
http://www.gnu.org/software/coreutils/faq/#The-_0027od-_002dx_0027-command-prints-bytes-in-the-wrong-order_002e

Bob





reply via email to

[Prev in Thread] Current Thread [Next in Thread]