guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30053] [PATCH 1/3] Improve appearance of tabular output.


From: Danny Milosavljevic
Subject: [bug#30053] [PATCH 1/3] Improve appearance of tabular output.
Date: Fri, 12 Jan 2018 15:56:12 +0100

Hi Ludo,
Hi Steve,

terminals support setting tab stops.  The user could (and arguably should) just 
set them (see tabs(1).  Example invocation: "tabs 1,20,25").

> I have a disappointing explanation I’m afraid: the reason columns look
> this way is because they are tab-separated, which in turn makes it easy
> to filter with ‘cut’:

Also, they are columns in a TABle.

There's also "column -t" which one can pipe the output to, which will take care 
of autosizing the columns. 

It's typical of UNIX tools that they prefer machine readability to usability.  
There are always small tools like the ones above one can use (either before the 
invocation or after the invocation) to make output more usable.

That said, Steve even retains the tabs, so both use cases would be supported.  
The only cost is that with the patch there's a lot of whitespace printed in 
columns that's actually not in the database at all.  But that's OK I think.

Also, "guix package -A" (even before the patch) eats up all my 8 GB of RAM on 
guix master and then my computer hangs.  What's up with that? (I tried it 3 
times now - it's reproducible) O_o





reply via email to

[Prev in Thread] Current Thread [Next in Thread]