flltr

Crates.ioflltr
lib.rsflltr
version0.2.1
sourcesrc
created_at2023-03-12 20:29:46.148651
updated_at2023-03-12 20:29:46.148651
descriptionFormats text by longest line, by inserting characters at the end of the string
homepagehttps://github.com/pic16f877ccs/flltr
repositoryhttps://github.com/pic16f877ccs/flltr
max_upload_size
id808262
size2,109,160
(pic16f877ccs)

documentation

README

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

Commit count: 24

cargo fmt