X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: L A Walsh <coreutils@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Fri, 27 Jan 2017 06:36:02 +0000 Resent-Message-ID: <handler.25553.B.14854989277494 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 25553 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14854989277494 (code B ref -1); Fri, 27 Jan 2017 06:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2017 06:35:27 +0000 Received: from localhost ([127.0.0.1]:46868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cX086-0001wn-Jn for submit <at> debbugs.gnu.org; Fri, 27 Jan 2017 01:35:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <coreutils@HIDDEN>) id 1cX085-0001wa-Iz for submit <at> debbugs.gnu.org; Fri, 27 Jan 2017 01:35:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cX07z-0006V8-L1 for submit <at> debbugs.gnu.org; Fri, 27 Jan 2017 01:35:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34037) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cX07z-0006V4-IG for submit <at> debbugs.gnu.org; Fri, 27 Jan 2017 01:35:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cX07y-0001Xn-LD for bug-coreutils@HIDDEN; Fri, 27 Jan 2017 01:35:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cX07v-0006UX-Ho for bug-coreutils@HIDDEN; Fri, 27 Jan 2017 01:35:18 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:42088 helo=Ishtar.sc.tlinx.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cX07v-0006Ps-8G for bug-coreutils@HIDDEN; Fri, 27 Jan 2017 01:35:15 -0500 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v0R6Z3kd012534 for <bug-coreutils@HIDDEN>; Thu, 26 Jan 2017 22:35:06 -0800 Message-ID: <588AEA17.5060702@HIDDEN> Date: Thu, 26 Jan 2017 22:35:03 -0800 From: L A Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Are there other utils that rely on tabs to align output as much as 'du'? What would be objections to fixing 'du' or others that rely on such?
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: L A Walsh <coreutils@HIDDEN> Subject: bug#25553: Acknowledgement (How many coreutils rely on tabs to align things (other, than 'du'?) Message-ID: <handler.25553.B.14854989277494.ack <at> debbugs.gnu.org> References: <588AEA17.5060702@HIDDEN> X-Gnu-PR-Message: ack 25553 X-Gnu-PR-Package: coreutils Reply-To: 25553 <at> debbugs.gnu.org Date: Fri, 27 Jan 2017 06:36:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 25553 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 25553: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25553 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: Paul Eggert <eggert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Fri, 27 Jan 2017 22:27:01 +0000 Resent-Message-ID: <handler.25553.B25553.148555597321579 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: L A Walsh <coreutils@HIDDEN>, 25553 <at> debbugs.gnu.org Received: via spool by 25553-submit <at> debbugs.gnu.org id=B25553.148555597321579 (code B ref 25553); Fri, 27 Jan 2017 22:27:01 +0000 Received: (at 25553) by debbugs.gnu.org; 27 Jan 2017 22:26:13 +0000 Received: from localhost ([127.0.0.1]:48635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cXEyD-0005bz-Ir for submit <at> debbugs.gnu.org; Fri, 27 Jan 2017 17:26:13 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1cXEyB-0005bm-Vo for 25553 <at> debbugs.gnu.org; Fri, 27 Jan 2017 17:26:12 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 96CB01600B9; Fri, 27 Jan 2017 14:26:06 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id yCKW0q1KbZ9U; Fri, 27 Jan 2017 14:26:06 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EB2601600DA; Fri, 27 Jan 2017 14:26:05 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id R2dfTUwDpeMO; Fri, 27 Jan 2017 14:26:05 -0800 (PST) Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id CD8AA1600B9; Fri, 27 Jan 2017 14:26:05 -0800 (PST) References: <588AEA17.5060702@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> Date: Fri, 27 Jan 2017 14:26:05 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <588AEA17.5060702@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.2 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.2 (---) L A Walsh wrote: > Are there other utils that rely on tabs to align > output as much as 'du'? Sure. 'ls', 'fmt', 'cut', 'cat', 'pr',.... > What would be objections to fixing 'du' or others > that rely on such? It would depend on the proposed change.
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: L A Walsh <coreutils@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Sat, 28 Jan 2017 02:35:02 +0000 Resent-Message-ID: <handler.25553.B25553.148557085217112 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert <eggert@HIDDEN> Cc: 25553 <at> debbugs.gnu.org Received: via spool by 25553-submit <at> debbugs.gnu.org id=B25553.148557085217112 (code B ref 25553); Sat, 28 Jan 2017 02:35:02 +0000 Received: (at 25553) by debbugs.gnu.org; 28 Jan 2017 02:34:12 +0000 Received: from localhost ([127.0.0.1]:48703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cXIqB-0004Rw-Nq for submit <at> debbugs.gnu.org; Fri, 27 Jan 2017 21:34:11 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:48492 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <coreutils@HIDDEN>) id 1cXIqA-0004Rn-3q for 25553 <at> debbugs.gnu.org; Fri, 27 Jan 2017 21:34:10 -0500 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v0S2XvUR037662; Fri, 27 Jan 2017 18:34:00 -0800 Message-ID: <588C0315.1070305@HIDDEN> Date: Fri, 27 Jan 2017 18:33:57 -0800 From: L A Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> In-Reply-To: <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.2 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.2 (---) Paul Eggert wrote: > L A Walsh wrote: >> Are there other utils that rely on tabs to align >> output as much as 'du'? > > Sure. 'ls', 'fmt', 'cut', 'cat', 'pr',.... > >> What would be objections to fixing 'du' or others >> that rely on such? > > It would depend on the proposed change. ---- 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. The env vars cause no change in program behavior unless the switch specifies 'AlignTo'. I developed the 'tabout' feature in a 'tabout.c+h' file and added it to 'du' -- but noted it was not the best way to test, so wrote a driver-program, 'retab', to allow focus testing on the retabbing code that does the retabbing on files or stdin and sends the result to stdout. ...that's a rough description... Will let you know as I finish off some loose ends and code refactoring/tidying...
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: Paul Eggert <eggert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Sat, 28 Jan 2017 10:42:01 +0000 Resent-Message-ID: <handler.25553.B25553.148560009327610 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: L A Walsh <coreutils@HIDDEN> Cc: 25553 <at> debbugs.gnu.org Received: via spool by 25553-submit <at> debbugs.gnu.org id=B25553.148560009327610 (code B ref 25553); Sat, 28 Jan 2017 10:42:01 +0000 Received: (at 25553) by debbugs.gnu.org; 28 Jan 2017 10:41:33 +0000 Received: from localhost ([127.0.0.1]:48796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cXQRp-0007BF-Ih for submit <at> debbugs.gnu.org; Sat, 28 Jan 2017 05:41:33 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:36656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1cXQRo-0007B3-Hs for 25553 <at> debbugs.gnu.org; Sat, 28 Jan 2017 05:41:32 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DF8151600EE; Sat, 28 Jan 2017 02:41:26 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id uHOxI0YXnifX; Sat, 28 Jan 2017 02:41:26 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0B5C81600EF; Sat, 28 Jan 2017 02:41:26 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2uswtu1xu97o; Sat, 28 Jan 2017 02:41:25 -0800 (PST) Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id C85E01600EE; Sat, 28 Jan 2017 02:41:25 -0800 (PST) References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> <588C0315.1070305@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> Date: Sat, 28 Jan 2017 02:41:24 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <588C0315.1070305@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.2 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.2 (---) 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: L A Walsh <coreutils@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Sat, 28 Jan 2017 22:46:01 +0000 Resent-Message-ID: <handler.25553.B.148564355520744 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert <eggert@HIDDEN> Cc: 25553 <at> debbugs.gnu.org X-Debbugs-Original-Cc: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.148564355520744 (code B ref -1); Sat, 28 Jan 2017 22:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2017 22:45:55 +0000 Received: from localhost ([127.0.0.1]:49486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cXbko-0005OU-E9 for submit <at> debbugs.gnu.org; Sat, 28 Jan 2017 17:45:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <coreutils@HIDDEN>) id 1cXbkn-0005OI-52 for submit <at> debbugs.gnu.org; Sat, 28 Jan 2017 17:45:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXbke-00074n-FV for submit <at> debbugs.gnu.org; Sat, 28 Jan 2017 17:45:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXbke-00074j-CZ for submit <at> debbugs.gnu.org; Sat, 28 Jan 2017 17:45:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXbka-0008Eb-LK for bug-coreutils@HIDDEN; Sat, 28 Jan 2017 17:45:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXbkX-00074S-Ic for bug-coreutils@HIDDEN; Sat, 28 Jan 2017 17:45:40 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:48380 helo=Ishtar.sc.tlinx.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXbkX-00074I-71 for bug-coreutils@HIDDEN; Sat, 28 Jan 2017 17:45:37 -0500 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v0SMjNMo048961; Sat, 28 Jan 2017 14:45:26 -0800 Message-ID: <588D1F04.9070109@HIDDEN> Date: Sat, 28 Jan 2017 14:45:24 -0800 From: L A Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> <588C0315.1070305@HIDDEN> <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> In-Reply-To: <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Paul Eggert wrote: > 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. --- The idea would be to have it be transparent. Adding on various output filters is hardly transparent. So would you care to show me how you would invoke expand to change 'du's tab-output to that on my output device (terminal seems a bit of a misnomer these days), but it is a tty-type window compatible with xterm, the linux console, vt100's/vt102's as well some standards. As for env-vars. What problems are you envisioning. As I mentioned, both env-vars and program options are required -- they serve different purposes. Alternatively, you could have settings files (i.e. /etc/gnurc & "~/.gnurc") that could store settings designed to apply across multiple tools, but like the ENV settings I'm conceiving of would be like the envvar "TERM" or an LC_CTYPE to describe the output device's character encoding. Indeed, in this case, TTY_TAB settings are specific to a person's terminal -- just like TERM and LC_CTYPE What type of problems outweighing the benefits do you see with env vars like TERM and LC_CTYPE. As for 'expand' handling the job -- how would expand convert tabstops from 'du' into the tabstops used by an arbitrary terminal? For that matter, since directory and file sizes often exceed 8-characters forcing du's output to not align, how can a user have 'du' align it's columns automatically, as my additions can do?
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: Paul Eggert <eggert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Sun, 29 Jan 2017 00:21:02 +0000 Resent-Message-ID: <handler.25553.B25553.14856492219678 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: L A Walsh <coreutils@HIDDEN> Cc: 25553 <at> debbugs.gnu.org Received: via spool by 25553-submit <at> debbugs.gnu.org id=B25553.14856492219678 (code B ref 25553); Sun, 29 Jan 2017 00:21:02 +0000 Received: (at 25553) by debbugs.gnu.org; 29 Jan 2017 00:20:21 +0000 Received: from localhost ([127.0.0.1]:49535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cXdEC-0002W2-Mu for submit <at> debbugs.gnu.org; Sat, 28 Jan 2017 19:20:20 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1cXdEA-0002Vo-LH for 25553 <at> debbugs.gnu.org; Sat, 28 Jan 2017 19:20:19 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 62BEC1600E6; Sat, 28 Jan 2017 16:20:12 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id w-4Son_pA9uJ; Sat, 28 Jan 2017 16:20:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 56FFE1600ED; Sat, 28 Jan 2017 16:20:11 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CQ4ppIMXqYvu; Sat, 28 Jan 2017 16:20:11 -0800 (PST) Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2B4BB1600E6; Sat, 28 Jan 2017 16:20:11 -0800 (PST) References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> <588C0315.1070305@HIDDEN> <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> <588D1F04.9070109@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <d8562f90-1aef-3f8c-77ea-9b42acc86926@HIDDEN> Date: Sat, 28 Jan 2017 16:20:07 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <588D1F04.9070109@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.2 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.2 (---) L A Walsh wrote: > The idea would be to have it be transparent. Adding > on various output filters is hardly transparent. Nor is having behavior depend on environment variables. > As for env-vars. What problems are you envisioning. Shell scripts might stop working because the environment variables are not set up in the usual or desired way. This is a common problem with other environment variables. In the past, we've relied on the environment too often for relatively-unimportant things. We should not repeat this mistake. > As for 'expand' handling the job -- how would > expand convert tabstops from 'du' into the tabstops used by > an arbitrary terminal? For that matter, since directory and > file sizes often exceed 8-characters forcing du's output to not align, how can a > user have 'du' align it's columns > automatically, as my additions can do? Send du's output to a file, look for the longest number in the file, and adjust column width accordingly. Whatever tabstops you like, you can tell to 'expand'. Expanding tabs is the job of 'expand', not of every program that outputs tabs.
Received: (at control) by debbugs.gnu.org; 29 Jan 2017 00:20:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 28 19:20:49 2017 Received: from localhost ([127.0.0.1]:49538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cXdEe-0002Wg-WF for submit <at> debbugs.gnu.org; Sat, 28 Jan 2017 19:20:49 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1cXdEd-0002WT-0M for control <at> debbugs.gnu.org; Sat, 28 Jan 2017 19:20:47 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 98B851600E6 for <control <at> debbugs.gnu.org>; Sat, 28 Jan 2017 16:20:41 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id hr4BX8iHqWfe for <control <at> debbugs.gnu.org>; Sat, 28 Jan 2017 16:20:41 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EC0001600ED for <control <at> debbugs.gnu.org>; Sat, 28 Jan 2017 16:20:40 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HA7_kaxHv6mV for <control <at> debbugs.gnu.org>; Sat, 28 Jan 2017 16:20:40 -0800 (PST) Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D1A8A1600E6 for <control <at> debbugs.gnu.org>; Sat, 28 Jan 2017 16:20:40 -0800 (PST) To: control <at> debbugs.gnu.org From: Paul Eggert <eggert@HIDDEN> Subject: 25553 is wishlist Organization: UCLA Computer Science Department Message-ID: <4b9499dc-af12-eb9e-db10-a3923adef92f@HIDDEN> Date: Sat, 28 Jan 2017 16:20:40 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.2 (---) severity 25553 wishlist
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: L A Walsh <coreutils@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Sun, 29 Jan 2017 06:14:01 +0000 Resent-Message-ID: <handler.25553.B.148567041121093 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert <eggert@HIDDEN> Cc: 25553 <at> debbugs.gnu.org X-Debbugs-Original-Cc: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.148567041121093 (code B ref -1); Sun, 29 Jan 2017 06:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jan 2017 06:13:31 +0000 Received: from localhost ([127.0.0.1]:49620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cXijz-0005U9-9W for submit <at> debbugs.gnu.org; Sun, 29 Jan 2017 01:13:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <coreutils@HIDDEN>) id 1cXijx-0005Tt-7T for submit <at> debbugs.gnu.org; Sun, 29 Jan 2017 01:13:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXijr-0005Ml-5R for submit <at> debbugs.gnu.org; Sun, 29 Jan 2017 01:13:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46604) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXijr-0005Md-21 for submit <at> debbugs.gnu.org; Sun, 29 Jan 2017 01:13:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXijp-0005BM-Pd for bug-coreutils@HIDDEN; Sun, 29 Jan 2017 01:13:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXijk-0005Lq-Q0 for bug-coreutils@HIDDEN; Sun, 29 Jan 2017 01:13:21 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:45606 helo=Ishtar.sc.tlinx.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cXijk-0005LO-JE for bug-coreutils@HIDDEN; Sun, 29 Jan 2017 01:13:16 -0500 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v0T6D1JT093266; Sat, 28 Jan 2017 22:13:04 -0800 Message-ID: <588D87EE.5000108@HIDDEN> Date: Sat, 28 Jan 2017 22:13:02 -0800 From: L A Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> <588C0315.1070305@HIDDEN> <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> <588D1F04.9070109@HIDDEN> <d8562f90-1aef-3f8c-77ea-9b42acc86926@HIDDEN> In-Reply-To: <d8562f90-1aef-3f8c-77ea-9b42acc86926@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Paul Eggert wrote: > L A Walsh wrote: >> The idea would be to have it be transparent. Adding >> on various output filters is hardly transparent. > > Nor is having behavior depend on environment variables. --- The behavior isn't dependent on environment variables. The behavior is selected by the run-time switch values. The run-time switch, like ls's --color flag get color values from LS_COLORS (which came from the user's TERM settings). There, you have core utils relying on a 2nd ENV var to cache the results of the 1st (TERM) env var. >> As for env-vars. What problems are you envisioning. > > Shell scripts might stop working because the environment variables are > not set up in the usual or desired way. --- This is already a problem with functions and aliases as well as PATH differences. Though, for that matter, scripts *RELY* on environment variables already. This usage could conceivable be no different than the case of 'ls' altering its screen output if output is not used in a script. How would that not address your concern? > This is a common problem with > other environment variables. In the past, we've relied on the > environment too often for relatively-unimportant things. We should not > repeat this mistake. ---- I've never had the problem, but what mistakes are you claiming were made by use of environment variables for TERMinal settings, character set settings or language settings? In fact, doesn't gnu make heavy use of LC_specific variables -- and would fail miserably in localization if those variables were disallowed? You can't argue that there are no valid uses for ENV vars. At the same time, you skirted the issue of using system-wide and per-user config files which might also be used for similar purpose. >> As for 'expand' handling the job -- how would >> expand convert tabstops from 'du' into the tabstops used by >> an arbitrary terminal? For that matter, since directory and >> file sizes often exceed 8-characters forcing du's output to not align, >> how can a user have 'du' align it's columns >> automatically, as my additions can do? > > Send du's output to a file, ---- And if the program doesn't generate the same output to a file as to a 'TTY'? However, this is for TTY-output devices -- it's not intended for inter-program communications. In fact, as you point out, that should likely be excluded by default. You mention 'ls' -- as an example of another tab-using program. How can I send ls's default output through a filter and have it be the same as to a TTY? By default -- one can't. The same happens for users of Gnu's libc. It, also dumps output to a terminal that, by default, is not redirectable. > look for the longest number in the file, and > adjust column width accordingly. Whatever tabstops you like, you can > tell to 'expand'. Expanding tabs is the job of 'expand', not of every > program that outputs tabs. ---- Expanding tabs, for *some* gnu programs, could be done w/expand, but you didn't mention how the output would be re-encoded for a user's tab settings on output, not to mention how you would redirect 'ls's output through a filter or to a file to any effect.
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: Paul Eggert <eggert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Mon, 30 Jan 2017 23:57:02 +0000 Resent-Message-ID: <handler.25553.B.14858206223706 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: L A Walsh <coreutils@HIDDEN> Cc: 25553 <at> debbugs.gnu.org X-Debbugs-Original-Cc: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14858206223706 (code B ref -1); Mon, 30 Jan 2017 23:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jan 2017 23:57:02 +0000 Received: from localhost ([127.0.0.1]:51486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cYLoj-0000xe-LM for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 18:57:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1cYLoi-0000xC-2r for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 18:57:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYLoc-0003yp-BO for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 18:56:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYLoc-0003yl-8D for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 18:56:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYLob-0000SI-2y for bug-coreutils@HIDDEN; Mon, 30 Jan 2017 18:56:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYLoX-0003yC-6v for bug-coreutils@HIDDEN; Mon, 30 Jan 2017 18:56:53 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39154) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYLoX-0003xx-12 for bug-coreutils@HIDDEN; Mon, 30 Jan 2017 18:56:49 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B048A160076; Mon, 30 Jan 2017 15:56:45 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id LBcMJ5p2yfkH; Mon, 30 Jan 2017 15:56:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 06A211600AA; Mon, 30 Jan 2017 15:56:45 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8NLSIdoQa-pb; Mon, 30 Jan 2017 15:56:44 -0800 (PST) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E40CC1600A8; Mon, 30 Jan 2017 15:56:44 -0800 (PST) References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> <588C0315.1070305@HIDDEN> <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> <588D1F04.9070109@HIDDEN> <d8562f90-1aef-3f8c-77ea-9b42acc86926@HIDDEN> <588D87EE.5000108@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <d222efd6-5614-3ac7-6b7b-d8ba0294ace6@HIDDEN> Date: Mon, 30 Jan 2017 15:56:33 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <588D87EE.5000108@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: L A Walsh <coreutils@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 31 Jan 2017 03:58:02 +0000 Resent-Message-ID: <handler.25553.B.148583503716456 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert <eggert@HIDDEN> Cc: 25553 <at> debbugs.gnu.org X-Debbugs-Original-Cc: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.148583503716456 (code B ref -1); Tue, 31 Jan 2017 03:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2017 03:57:17 +0000 Received: from localhost ([127.0.0.1]:51584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cYPZE-0004HK-Ue for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 22:57:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <coreutils@HIDDEN>) id 1cYPZC-0004Gr-Us for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 22:57:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYPZ6-0003g2-P8 for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 22:57:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYPZ6-0003fy-M6 for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 22:57:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYPZ5-0005LV-2l for bug-coreutils@HIDDEN; Mon, 30 Jan 2017 22:57:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYPZ1-0003ep-UO for bug-coreutils@HIDDEN; Mon, 30 Jan 2017 22:57:07 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:48638 helo=Ishtar.sc.tlinx.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYPZ1-0003cZ-Mv for bug-coreutils@HIDDEN; Mon, 30 Jan 2017 22:57:03 -0500 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v0V3ulSD032193; Mon, 30 Jan 2017 19:56:49 -0800 Message-ID: <58900AFF.30701@HIDDEN> Date: Mon, 30 Jan 2017 19:56:47 -0800 From: L A Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> <588C0315.1070305@HIDDEN> <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> <588D1F04.9070109@HIDDEN> <d8562f90-1aef-3f8c-77ea-9b42acc86926@HIDDEN> <588D87EE.5000108@HIDDEN> <d222efd6-5614-3ac7-6b7b-d8ba0294ace6@HIDDEN> In-Reply-To: <d222efd6-5614-3ac7-6b7b-d8ba0294ace6@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Paul Eggert wrote: > 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. --- "Do as I say, not as I do?" Wasn't 'ls' just change recently? You can come up with arguments that it really wasn't made worse, but I and others noticed it -- where as before, it wasn't that noticeable, in part, because ls ***already*** has an option to expand tabs in it that some have resorted to to get reasonable output. It _does NOT_ have an option to make use of a user's tab settings, nor does it have an option to always generate the same output whether to a TTY or a pipe/file. Just as 'ls' already added options for user control of color tab-expansion and such (up to a point -- still can't have it generate # of columns I want as it reads those in from the TTY/Env), I'm adding the ability to customize tab-usage on output. >> 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. ---- Well, on that I'm fine -- ENV vars are cleaner for terminal settings anyway, but thought I'd offer an alternative. ;-) > >> How can I send ls's default output through a filter >> and have it be the same as to a TTY? > > 'ls -C'. --- Doesn't work. I type 'ls' and get (abbreviated): '[' id set-fields.c b2sum id.c set-fields.h basename.o join.o sha512sum blake2 kill shred cat kill.c shred.c chcon.c libstdbuf.c shuf.o chcon.o libstdbuf.so single-binary.mk cp.c mknod sum cp.o mknod.c sum.c csplit mknod.o sum.o csplit.o mktemp.c sync.c cu-progs.mk mktemp.o sync.o cut mv system.h cut.c mv.c t date nice tabout.c.000 date.o nice.o tabout.c.002 --- I type 'ls -C' and it doesn't look anything like that. >> 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'. --- Expand would need to run in background and only apply changes to output that is going to a user's terminal. If you think that is possible I'd be happy to see/test/try it. > But we should not > be modifying every program to do expansion; just 'expand'. That's the > software tools design philosophy. ---- The various GNU and coreutil tools have mods in them to support different user terminals as well as different user languages (and locales) -- there is no generic filter done to take program output and translate it on the fly -- it's built into each program. But we **ARE NOT** talking piped or streamed programs -- but ones that alter the 1-char=>1 space whether to tty or file paradigm. They can't be filtered because they generate non-linear output (1 char in = 1 char advanced on the TTY). Even tabs don't really adhere to that as they go forward a variable amount of spacing depending on what came before and how the output device is setup to emulate tabs. This is the same thing -- but like translations, can't be done in a "post-filter" stage if for no other reason that programs like 'ls' don't generate the same output to TTY's as to 'filters'. There is no way for you to alter a general purpose expansion program like 'entab' to show you a filtered view of 'ls' because 'ls' generates different output to the TTY vs. filters. Even *if* the output was the same -- it is already the case that the tools don't have the option for a user to customize their output, say, to always expand tabs, or to always use user-specified tabsizes. The only solution to fix having different end-user-output devices / languages was to provide a common interface or Terminal API -- or to modify each program for translation into the the number of tabs used in each users "locale". Currently, all of the programs have some modifications for each end user's locale. Some adapt to the users output device, if ONLY, in-so-much as adapting to the user's TTY width. I don't think all the programs need modification, but if you really want to not touch all programs, then you are talking about adding a library module to filter stdout & maybe stderr. But having it work across all tools vs. a half-a-dozen is a very different scope and amount of work. I'm only proposing to "refilter" (retab) a handful of programs -- and only if the user includes a switch for that program. They can easily toss it into an alias and forget about it -- and if the changes are in those programs, they can be, optionally limited to only changing terminal output -- not pipe output.
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: Paul Eggert <eggert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 31 Jan 2017 06:06:01 +0000 Resent-Message-ID: <handler.25553.B.148584274330014 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: L A Walsh <coreutils@HIDDEN> Cc: 25553 <at> debbugs.gnu.org X-Debbugs-Original-Cc: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.148584274330014 (code B ref -1); Tue, 31 Jan 2017 06:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2017 06:05:43 +0000 Received: from localhost ([127.0.0.1]:51637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cYRZW-0007o1-VE for submit <at> debbugs.gnu.org; Tue, 31 Jan 2017 01:05:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1cYRZV-0007nn-Kv for submit <at> debbugs.gnu.org; Tue, 31 Jan 2017 01:05:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYRZP-0007Pm-Js for submit <at> debbugs.gnu.org; Tue, 31 Jan 2017 01:05:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYRZP-0007PZ-HN for submit <at> debbugs.gnu.org; Tue, 31 Jan 2017 01:05:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYRZO-0006wP-Bl for bug-coreutils@HIDDEN; Tue, 31 Jan 2017 01:05:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYRZK-0007OI-Ui for bug-coreutils@HIDDEN; Tue, 31 Jan 2017 01:05:34 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:52646) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1cYRZK-0007Nm-Nm for bug-coreutils@HIDDEN; Tue, 31 Jan 2017 01:05:30 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3C2C21600B0; Mon, 30 Jan 2017 22:05:29 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 7paDZyOu1Yay; Mon, 30 Jan 2017 22:05:28 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 938A21600B2; Mon, 30 Jan 2017 22:05:28 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id WGgMWJuBuDXg; Mon, 30 Jan 2017 22:05:28 -0800 (PST) Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7623F1600B0; Mon, 30 Jan 2017 22:05:28 -0800 (PST) References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> <588C0315.1070305@HIDDEN> <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> <588D1F04.9070109@HIDDEN> <d8562f90-1aef-3f8c-77ea-9b42acc86926@HIDDEN> <588D87EE.5000108@HIDDEN> <d222efd6-5614-3ac7-6b7b-d8ba0294ace6@HIDDEN> <58900AFF.30701@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <e1c03701-e643-ae8d-0caf-95e8ae40805d@HIDDEN> Date: Mon, 30 Jan 2017 22:05:24 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <58900AFF.30701@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) L A Walsh wrote: >> 'ls -C'. > --- > Doesn't work. It works for me. If it doesn't work for you, perhaps you need to investigate why. This alone might solve whatever problem you're having with 'ls'. As for the rest of the proposal, it sounds too complicated for what would be only a minor improvement.
X-Loop: help-debbugs@HIDDEN Subject: bug#25553: How many coreutils rely on tabs to align things (other, than 'du'? Resent-From: L A Walsh <coreutils@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 31 Jan 2017 20:11:02 +0000 Resent-Message-ID: <handler.25553.B.148589345510018 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25553 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: eggert@HIDDEN, 25553 <at> debbugs.gnu.org X-Debbugs-Original-To: Paul Eggert <eggert@HIDDEN>, bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.148589345510018 (code B ref -1); Tue, 31 Jan 2017 20:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2017 20:10:55 +0000 Received: from localhost ([127.0.0.1]:52580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cYelS-0002bW-TR for submit <at> debbugs.gnu.org; Tue, 31 Jan 2017 15:10:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:32822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <coreutils@HIDDEN>) id 1cYelR-0002bJ-9T for submit <at> debbugs.gnu.org; Tue, 31 Jan 2017 15:10:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYelL-0001lk-41 for submit <at> debbugs.gnu.org; Tue, 31 Jan 2017 15:10:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45958) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYelL-0001lg-0j for submit <at> debbugs.gnu.org; Tue, 31 Jan 2017 15:10:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYelJ-0001Vv-W1 for bug-coreutils@HIDDEN; Tue, 31 Jan 2017 15:10:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYelF-0001js-3H for bug-coreutils@HIDDEN; Tue, 31 Jan 2017 15:10:45 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:46232 helo=Ishtar.sc.tlinx.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1cYelE-0001jR-O0 for bug-coreutils@HIDDEN; Tue, 31 Jan 2017 15:10:40 -0500 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v0VKAXRu037371; Tue, 31 Jan 2017 12:10:35 -0800 Message-ID: <5890EF39.30102@HIDDEN> Date: Tue, 31 Jan 2017 12:10:33 -0800 From: L A Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 References: <588AEA17.5060702@HIDDEN> <a73c8729-b2b4-cc08-c8b2-11b97aa27e87@HIDDEN> <588C0315.1070305@HIDDEN> <1ad50f72-abf6-56c5-c94d-db9777ff5383@HIDDEN> <588D1F04.9070109@HIDDEN> <d8562f90-1aef-3f8c-77ea-9b42acc86926@HIDDEN> <588D87EE.5000108@HIDDEN> <d222efd6-5614-3ac7-6b7b-d8ba0294ace6@HIDDEN> <58900AFF.30701@HIDDEN> <e1c03701-e643-ae8d-0caf-95e8ae40805d@HIDDEN> In-Reply-To: <e1c03701-e643-ae8d-0caf-95e8ae40805d@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Paul Eggert wrote: > L A Walsh wrote: >>> 'ls -C'. >> --- >> Doesn't work. > > It works for me. --- Ah, I tested it the wrong window where I hadn't unset LS_OPTIONS... If only this was all "automatic" like locale settings or choosing terminal-specific color codes... ;^/ It still doesn't align the columns. '[' id set-fields.c b2sum id.c set-fields.h chown-core.o logname src_b2sum-md5sum.o chown.c logname.c src_base32-base64.o chroot.c ls src_ginstall-cp-hash.o comm ls-vdir.c src_libstdbuf_so-libstdbuf.o core make-prime-list.c src_sha512sum-md5sum.o expand-common.h printenv truncate.c extent-scan.c prog-fprintf.h tty.o extent-scan.h prog-fprintf.o uname find-mount-point.o realpath.o uniq.o I guess I need to look at ls next.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.