From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: bug#16187: Tabbed output of "guix package -l" Date: Mon, 23 Dec 2013 21:13:22 +0100 Message-ID: References: <4d4b0f02692209dbc25f2d759949d5b8@moefel.org> <87y53goj4f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwfO6-0000Qg-2n for bug-guix@gnu.org; Fri, 27 Dec 2013 16:56:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwfNz-0000gq-48 for bug-guix@gnu.org; Fri, 27 Dec 2013 16:56:10 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:33169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwfNz-0000gi-0s for bug-guix@gnu.org; Fri, 27 Dec 2013 16:56:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VwfNy-00077u-GK for bug-guix@gnu.org; Fri, 27 Dec 2013 16:56:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Resent-To: 16187@debbugs.gnu.org Resent-Message-ID: <87eh4yrmar.fsf@gnu.org> In-Reply-To: <87y53goj4f.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: ludo@gnu.org > Hi, > > Thanks for the report. > > Roel Janssen 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=20 >> package >> -A" > > As discussed on IRC, the rationale (for -I and -A) was to have=20 > something > both human-readable and processable=E2=80=93that is, one can pipe it th= rough > =E2=80=98cut=E2=80=99 and extract the data. I think that=E2=80=99s an = important property,=20 > for a > Unix command-line tool. > > Now, ideally, =E2=80=98guix package=E2=80=99 would be just one of the u= ser=20 > interfaces, > with others being more user-oriented than command-oriented (see=20 > TODO)... > > What do you think? > > Ludo=E2=80=99. Hello, I think a separation between command-oriented and user-oriented output is a good solution. Kind regards, Roel.