|
From: | Jason Vas Dias |
Subject: | bug#8578: 8.12 and 8.10 'ls -dl' appends ' ' (0x20: space) to file output lines |
Date: | Thu, 28 Apr 2011 19:34:42 +0100 |
User-agent: | KMail/1.12.4 (Linux/2.6.38.2-jvd; KDE/4.3.4; x86_64; svn-1073138; 2010-01-11) |
I do: $ ls --version | grep '[(]G' ls (GNU coreutils) 8.12 $ ls -dl /. | od -cx 0000000 d r w x r - x r - x . 2 5 r 7264 7877 2d72 7278 782d 202e 3532 7220 0000020 o o t r o o t 4 0 9 6 A p 6f6f 2074 6f72 746f 3420 3930 2036 7041 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 believe confusion over this issue is at the root of Python bug #11946 : http://bugs.python.org/issue11946 because Python isn't handling the trailing space. Thanks for an otherwise flawless coreutils & Regards, Jason (JVD) <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |