Skip to content

pic16f877ccs/flltr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

Build and install with Rust package manager.

cargo install flltr

Installing the package using the Arch package manager.

sudo pacman -U ./flltr-0.2.1x86_64.pkg.tar.zst

Installing the package using the Ubuntu package manager.

sudo apt install ./flltr_0.2.1_amd64.deb

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

About

A small text formatting tool.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages