Crates.io | flltr |
lib.rs | flltr |
version | 0.2.1 |
source | src |
created_at | 2023-03-12 20:29:46.148651 |
updated_at | 2023-03-12 20:29:46.148651 |
description | Formats text by longest line, by inserting characters at the end of the string |
homepage | https://github.com/pic16f877ccs/flltr |
repository | https://github.com/pic16f877ccs/flltr |
max_upload_size | |
id | 808262 |
size | 2,109,160 |
A small text formatting tool.
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.
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
GNU General Public License v3.0