#1091142 coreutils: ls: --dired broken with --color

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
наб
Date:
2024-12-22 17:00:02 UTC
Severity:
normal
#1091142#5
Date:
2024-12-22 16:56:23 UTC
From:
To:
Dear Maintainer,

Given
  /bin/ls --color --quoting-style=c -lD tests/wc/data/ . > ll
(attached), ll ends with
  //SUBDIRED// 2 5 14977 14993
which yields
  $ dd bs=1 skip=14977 count=$(( 14993 - 14977 )) < ll 2>/dev/null ; echo
  -xr-x 1 nabijacz
and as obvious from the arguments, the second subdir is tests/wc/data/.

Removing --color yields a valid output.

Best,