Subject: bug#26727: Plain ls (from coreutils git master local build) sometimes emit leading spaces at output lines

From: Pádraig Brady <[email-masked]>
Date: Mon, 1 May 2017 09:12:40 -0700

tag 26727 notabug
close 26727
stop

On 01/05/17 02:17, Shlomi Fish wrote:
> On Mageia x86-64 6 and fedora 26 x86-64, I am getting this with an ls
> inovcation with ls from coreutils git master commit
> d91e912343ab04b37d011b5c8a7c0723edc35e3d :
> 
> shlomif@telaviv1:~$ /home/shlomif/apps/to-del-coreutils/bin/ls
>  apps   Backup   conf      Docs       Mail    node_modules   tmp
>  Arcs   bin      Desktop   Download   Music   progs         'VirtualBox VMs'
> shlomif@telaviv1:~$ ls # mageia v6's
> apps  Backup  conf     Docs      Mail   node_modules  tmp
> Arcs  bin     Desktop  Download  Music  progs         'VirtualBox VMs'
> shlomif@telaviv1:~$
> 
> 
> As you can see, in the git master output there are leading spaces in the output
> lines. Can and should this be fixed?

That was done to better align items when 'quotes' are added on some items.
It's a trade off and your example is pretty much worst case.
If you prefer you can get original output by adding -N to your ls alias.

thanks,
Pádraig