unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16187: Tabbed output of "guix package -l"
@ 2013-12-18 18:03 Roel Janssen
  2013-12-19 17:17 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2013-12-18 18:03 UTC (permalink / raw)
  To: 16187

I'd like the output of a command like "guix package -l" to be tabbed 
preserving all columns.

An example output of the current version:
Generation 68	dec 18 2013 12:46:45	(current)
   make  4.0     out     /nix/store/...
   automake      1.14	out     /nix/store/...
   ...

What I would like to see:
   make          4.0     out     /nix/store/...
   automake      1.14    out     /nix/store/...
   ...

The same applies for the output of "guix package -I" and "guix package 
-A"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#16187: Tabbed output of "guix package -l"
  2013-12-18 18:03 bug#16187: Tabbed output of "guix package -l" Roel Janssen
@ 2013-12-19 17:17 ` Ludovic Courtès
  2013-12-23 20:13   ` Roel Janssen
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-12-19 17:17 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 16187

Hi,

Thanks for the report.

Roel Janssen <roel@moefel.org> skribis:

> I'd like the output of a command like "guix package -l" to be tabbed
> preserving all columns.
>
> An example output of the current version:
> Generation 68	dec 18 2013 12:46:45	(current)
>   make  4.0     out     /nix/store/...
>   automake      1.14	out     /nix/store/...
>   ...
>
> What I would like to see:
>   make          4.0     out     /nix/store/...
>   automake      1.14    out     /nix/store/...
>   ...
>
> The same applies for the output of "guix package -I" and "guix package
> -A"

As discussed on IRC, the rationale (for -I and -A) was to have something
both human-readable and processable–that is, one can pipe it through
‘cut’ and extract the data.  I think that’s an important property, for a
Unix command-line tool.

Now, ideally, ‘guix package’ would be just one of the user interfaces,
with others being more user-oriented than command-oriented (see TODO)...

What do you think?

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#16187: Tabbed output of "guix package -l"
  2013-12-19 17:17 ` Ludovic Courtès
@ 2013-12-23 20:13   ` Roel Janssen
  2013-12-27 21:56     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2013-12-23 20:13 UTC (permalink / raw)
  To: ludo

> Hi,
>
> Thanks for the report.
>
> Roel Janssen <roel@moefel.org> skribis:
>
>> I'd like the output of a command like "guix package -l" to be tabbed
>> preserving all columns.
>>
>> An example output of the current version:
>> Generation 68	dec 18 2013 12:46:45	(current)
>>   make  4.0     out     /nix/store/...
>>   automake      1.14	out     /nix/store/...
>>   ...
>>
>> What I would like to see:
>>   make          4.0     out     /nix/store/...
>>   automake      1.14    out     /nix/store/...
>>   ...
>>
>> The same applies for the output of "guix package -I" and "guix 
>> package
>> -A"
>
> As discussed on IRC, the rationale (for -I and -A) was to have 
> something
> both human-readable and processable–that is, one can pipe it through
> ‘cut’ and extract the data.  I think that’s an important property, 
> for a
> Unix command-line tool.
>
> Now, ideally, ‘guix package’ would be just one of the user 
> interfaces,
> with others being more user-oriented than command-oriented (see 
> TODO)...
>
> What do you think?
>
> Ludo’.

Hello,

I think a separation between command-oriented and user-oriented
output is a good solution.

Kind regards,
Roel.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#16187: Tabbed output of "guix package -l"
  2013-12-23 20:13   ` Roel Janssen
@ 2013-12-27 21:56     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-12-27 21:56 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 16187-close

Roel Janssen <roel@moefel.org> skribis:

> I think a separation between command-oriented and user-oriented
> output is a good solution.

Great.  I’m closing this bug, but let’s reopen it if someone feels
there’s more to discuss.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-27 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-18 18:03 bug#16187: Tabbed output of "guix package -l" Roel Janssen
2013-12-19 17:17 ` Ludovic Courtès
2013-12-23 20:13   ` Roel Janssen
2013-12-27 21:56     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).