unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Roel Janssen <roel@moefel.org>
Cc: 16187@debbugs.gnu.org
Subject: bug#16187: Tabbed output of "guix package -l"
Date: Thu, 19 Dec 2013 18:17:36 +0100	[thread overview]
Message-ID: <87y53goj4f.fsf@gnu.org> (raw)
In-Reply-To: <4d4b0f02692209dbc25f2d759949d5b8@moefel.org> (Roel Janssen's message of "Wed, 18 Dec 2013 19:03:56 +0100")

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’.

  reply	other threads:[~2013-12-19 17:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18 18:03 bug#16187: Tabbed output of "guix package -l" Roel Janssen
2013-12-19 17:17 ` Ludovic Courtès [this message]
2013-12-23 20:13   ` Roel Janssen
2013-12-27 21:56     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y53goj4f.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=16187@debbugs.gnu.org \
    --cc=roel@moefel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).