Skip to content

msrd0/ellipse-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ellipse

Command that truncates and ellipses strings in a human-friendly way.

How to use

$ echo very long sentence |ellipse -n 12
very long se…

How to install

Installation instructions are provided for ArchLinux only. When using a different operation system, adoption to their package manager is left as an exercise to the reader.

Install from AUR (recommended)

This example uses yay, but you can use your favourite AUR helper instead.

yay -S ellipse

Install via cargo

First, install rust/cargo:

sudo pacman -S rust

Then, install with cargo:

cargo install ellipse-bin

This will only work if you have cargo's binary install directory added to your $PATH variable.

About

Command that truncates and ellipses strings in a human-friendly way

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages