GNU bug report logs - #25553
How many coreutils rely on tabs to align things (other, than 'du'?

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Fri, 27 Jan 2017 06:36:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: L A Walsh <coreutils <at> tlinx.org>
Cc: 25553 <at> debbugs.gnu.org
Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'?
Date: Mon, 30 Jan 2017 15:56:33 -0800
On 01/28/2017 10:13 PM, L A Walsh wrote:
>
>
>     This is already a problem

Of course. All I am saying is that we should not make it worse.

> you skirted the issue of using system-wide and per-user
> config files which might also be used for similar purpose.

That's even worse. Coreutils doesn't do that now, thank goodness.

> How can I send ls's default output through a filter
> and have it be the same as to a TTY?

'ls -C'.

> you didn't mention how the output would be re-encoded for a user's
> tab settings on output

That could be the job of 'expand'. The user's tab settings can be 
specified as arguments to 'expand'. If 'expand' doesn't have the desired 
functionality now, perhaps we should improve 'expand'. But we should not 
be modifying every program to do expansion; just 'expand'. That's the 
software tools design philosophy.




This bug report was last modified 8 years and 137 days ago.

Previous Next


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