Enhancement suggestion for "expand" (original) (raw)

From:

CoreUtils subscribtion for PLC

Subject:

Enhancement suggestion for "expand"

Date:

Tue, 18 Sep 2012 16🔞29 +0200

This post is about a possible enhancement to the "expand" command included in coreutils.

I oten use expand to format scripts output by manually setting tabs stop. The idea would be to add an option to "expand" to be able to auto-set tabstops by analyzing first lines of test (0 for analyzing whole stream) so that the TS would be set to the minimum number of spaces to obtains clean columns.