Util-Linux package development
 help / color / mirror / Atom feed
From: "Thomas Voss" <mail@thomasvoss.com>
To: "Karel Zak" <kzak@redhat.com>
Cc: "util-linux" <util-linux@vger.kernel.org>
Subject: Re: Proposal for new column(1) flag
Date: Mon, 17 Oct 2022 12:10:19 +0200	[thread overview]
Message-ID: <CNO47QIM62X8.1T7V20XJ1ESE3@mango-os> (raw)
In-Reply-To: <20221017084247.egoe7ljueklp5jvb@ws.net.home>

On Mon Oct 17, 2022 at 10:42 AM CEST, Karel Zak wrote:
> I guess you want "table" mode for the column (see --table-* options).
> It provides almost all features from libsmartcols. The next important
> thing for your use-case is --output-separator, for example
>
>   $ echo "AAA BBB CCC" | ./column -t --output-separator "..."
>   AAA...BBB...CCC
>
> of course you can use "   " to define space as separator, etc.

That doesn't quite work as a solution the moment that any item I want to
display in a column contains spaces though.

- Thomas

      reply	other threads:[~2022-10-17 10:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13 19:26 Proposal for new column(1) flag Thomas Voss
2022-10-13 20:43 ` Bernhard Voelker
     [not found]   ` <CNO4L8IMOGYS.1DZ36WVMXZ8K4@mango-os>
2022-10-17 18:08     ` Bernhard Voelker
2022-10-17  8:42 ` Karel Zak
2022-10-17 10:10   ` Thomas Voss [this message]

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

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

  git send-email \
    --in-reply-to=CNO47QIM62X8.1T7V20XJ1ESE3@mango-os \
    --to=mail@thomasvoss.com \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox