3 releases

0.1.2 Mar 7, 2023
0.1.1 Nov 13, 2021
0.1.0 May 12, 2021

#8 in #pad

22 downloads per month

Unlicense OR MIT

6KB
56 lines

pillar - a new column(1) for a modern terminal

This tool is a small replacement for column(1) which adds support for tty ansi codes It will not make column gaps too wide if it encounters ansi codes for color etc.

pillar is currently not a full one-to-one replacement for column(1) and it doesn't aim to be.

Install

cargo install pillar

Usage

pillar reads from stdin and outputs to stdout.

$ printf "a{b{c\n1{{3\n" | pillar
a b c
1   3

Currently there's no support for specifying the column delimiter or any other column(1) flags.

Dependencies

~2–3.5MB
~61K SLoC