GNU bug report logs - #23191
ls alignment bug

Previous Next

Package: coreutils;

Reported by: Seth Kushniryk <sethkushniryk <at> linux.com>

Date: Sat, 2 Apr 2016 19:26:02 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: Seth Kushniryk <sethkushniryk <at> linux.com>
To: 23191 <at> debbugs.gnu.org
Subject: bug#23191: ls alignment bug
Date: Fri, 1 Apr 2016 19:53:57 -0700
Hi, I've been having a minor issue with ls. It seems that sometimes the
character 'é' (e accent aigu) causes the rest of the listing to be
misaligned. My options are "-F -T 0".

Here is an example of me using it in my music library:

First Aid Kit/              Pink Floyd/                The Who/
Fleetwood Mac/              Queen/                     Ton Koopman/
Foreigner/                  Rage Against The Machine/  Trooper/
Frank Sinatra/              Red Rider/                 U2/
Félix Leclerc/             Rodriguez/                 Van Morrison/
George Harrison/            Roy Orbison/               Whitesnake/
Green Day/                  Run-DMC/                   Woody Guthrie/
Iron Butterfly/             Rush/
James/                      Simon and Garfunkel/

Renaming the directory to "Felix Leclerc" fixes the issue. I think the
problem is in "ls.c" in the function "quote_name", and what it sets for
"size_t *width".




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

Previous Next


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