tabwriter-bin

Crates.iotabwriter-bin
lib.rstabwriter-bin
version0.2.1
sourcesrc
created_at2018-10-02 22:38:48.3411
updated_at2020-01-12 13:40:55.309002
descriptionCommand line tool for elastic tabstops.
homepagehttps://github.com/BurntSushi/tabwriter
repositoryhttps://github.com/BurntSushi/tabwriter
max_upload_size
id87707
size10,142
Andrew Gallant (BurntSushi)

documentation

https://docs.rs/tabwriter

README

tabwriter-bin

Simple example of command line utility

[andrew@Liger tabwriter] cat sample | sed 's/   /\\t/g'
a\tb\tc
abc\tmnopqrstuv\txyz
abcmnoxyz\tmore text

a\tb\tc
[andrew@Liger tabwriter] ./target/tabwriter < sample
a          b           c
abc        mnopqrstuv  xyz
abcmnoxyz  more text

a   b   c

Notice that once a column block is broken, alignment starts over again.

Commit count: 113

cargo fmt