From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebS32-00024H-0U for guix-patches@gnu.org; Tue, 16 Jan 2018 09:17:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebS2w-00045E-3C for guix-patches@gnu.org; Tue, 16 Jan 2018 09:17:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebS2w-000457-0Q for guix-patches@gnu.org; Tue, 16 Jan 2018 09:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ebS2v-0000XR-LS for guix-patches@gnu.org; Tue, 16 Jan 2018 09:17:01 -0500 Subject: [bug#30053] [PATCH 1/3] Improve appearance of tabular output. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <878td4nksy.fsf@gnu.org> <87fu7b2old.fsf@gnu.org> Date: Tue, 16 Jan 2018 15:16:48 +0100 In-Reply-To: (Steve Sprang's message of "Sat, 13 Jan 2018 11:59:14 -0800") Message-ID: <87zi5d6g8f.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Steve Sprang Cc: 30053@debbugs.gnu.org Steve Sprang skribis: > On Fri, Jan 12, 2018 at 5:28 AM, Roel Janssen wrote: >> If we use GNU awk instead of cut, I think any whitespace will work: >> $ guix package -A | awk '{ print $1 "@" $2 }' >> >> And then we can optimize the output reading experience for our users >> instead of for the 'cut' program. > > I like this proposal, unless there is a strong reason to prefer 'cut'? Again a matter of taste, but =E2=80=98cut=E2=80=99 looks to me both easier = and simpler than awk (since it=E2=80=99s a full language). But anyway, as Danny write, if your patches retain tabs (in addition to spaces), presumably it=E2=80=99s OK even for those of us who prefer =E2=80= =98cut=E2=80=99, right? Thanks, Ludo=E2=80=99.