+
Skip to content

Conversation

cakebaker
Copy link
Contributor

This PR fixes an issue with the padding of the size column when using -l and the folder contains more than one file. The output of ls -l before the change:

total 0
-rw-r--r-- 1 dho dho    0 Nov 30 15:29 c.txt
-rw-r--r-- 1 dho dho    0 Nov 30 15:51 d.txt

And after the change:

total 0
-rw-r--r-- 1 dho dho 0 Nov 30 15:29 c.txt
-rw-r--r-- 1 dho dho 0 Nov 30 15:51 d.txt

This is the same output as GNU ls produces.

@sylvestre
Copy link
Contributor

excellent, it has been bothering me for a while :)

@sylvestre sylvestre merged commit e24d6b2 into uutils:main Dec 2, 2023
@cakebaker cakebaker deleted the ls_fix_padding branch December 2, 2023 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载