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: Steve Sprang
Subject: [bug#30053] [PATCH 1/3] Improve appearance of tabular output.
Date: Tue, 16 Jan 2018 15:56:28 -0800

On Tue, Jan 16, 2018 at 6:16 AM, Ludovic Courtès <address@hidden> wrote:

> Again a matter of taste, but ‘cut’ looks to me both easier and simpler
> than awk (since it’s a full language).
>
> But anyway, as Danny write, if your patches retain tabs (in addition to
> spaces), presumably it’s OK even for those of us who prefer ‘cut’,
> right?

If the tab is retained I think most uses of 'cut' keep working. The
only exception I'm aware of is this:

$ guix build --quiet --keep-going \
        `guix package -A | cut -f1,2 address@hidden

Since 'cut' splits on the tab you end up retaining the padding spaces
from field 1 resulting in, say, "guile      @2.2.3" instead of the
desired "address@hidden".

-Steve





reply via email to

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