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


Message #14 received at 25553 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: L A Walsh <coreutils <at> tlinx.org>
Cc: 25553 <at> debbugs.gnu.org
Subject: Re: bug#25553: How many coreutils rely on tabs to align things
 (other, than 'du'?
Date: Sat, 28 Jan 2017 02:41:24 -0800
L A Walsh wrote:
> I'm working on some loose ends, but basically,
> First, it would default to providing no change.  ;-)
>
> Through use of a switch it can expand the tabs to spaces
> using a default of every 8th column (after 1) (using a
> switch value of 'ExpandTo').
>
> And with 2 env vars, TTY_TABSIZE & TTY_TABSET
> it can re-entabulate the output to use the user's tabsize as related through the
> env vars.

It sounds like this could be done via 'du | expand', so why change 'du'?

Also, environment variables cause too many problems. If new functionality is 
needed here (which is not yet clear), it should be via new options.




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

Previous Next


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