GNU bug report logs - #26727
Plain ls (from coreutils git master local build) sometimes emit leading spaces at output lines

Previous Next

Package: coreutils;

Reported by: Shlomi Fish <shlomif <at> shlomifish.org>

Date: Mon, 1 May 2017 09:19:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Shlomi Fish <shlomif <at> shlomifish.org>, 26727 <at> debbugs.gnu.org
Subject: bug#26727: Plain ls (from coreutils git master local build) sometimes emit leading spaces at output lines
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 <at> 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 <at> telaviv1:~$ ls # mageia v6's
> apps  Backup  conf     Docs      Mail   node_modules  tmp
> Arcs  bin     Desktop  Download  Music  progs         'VirtualBox VMs'
> shlomif <at> 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




This bug report was last modified 6 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.