#text-format #text #format #text-formatting #constant-width

app flltr

Formats text by longest line, by inserting characters at the end of the string

1 unstable release

0.2.1 Mar 12, 2023

#28 in #text-formatting

GPL-3.0-or-later

76KB
57 lines

flltr

A small text formatting tool.

Description

Formats text by longest line, by inserting characters at the end of the string. You can insert characters at the beginning or end of the text.

Usage:

paste <(ls | flltr) <(ls -1)

Command paste output.

The ls command

C='red'; c=$(ls); n=$(($(wc -L <<<$c)+2)); flltr -s'' -c -n$n -f'' -e'' -C$C; flltr -s'' -e'' <<<$c -C$C; flltr -s'' -c -n$n -f'' -e'' -C$C

Command ls output.

License

GNU General Public License v3.0

Dependencies

~2–12MB
~103K SLoC