1 unstable release
0.2.1 | Mar 12, 2023 |
---|
#30 in #text-formatting
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)
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
License
GNU General Public License v3.0
Dependencies
~2–12MB
~90K SLoC