| Crates.io | tabwriter-bin |
| lib.rs | tabwriter-bin |
| version | 0.2.2 |
| created_at | 2018-10-02 22:38:48.3411+00 |
| updated_at | 2025-03-29 17:04:20.966256+00 |
| description | Command line tool for elastic tabstops. |
| homepage | https://github.com/BurntSushi/tabwriter |
| repository | https://github.com/BurntSushi/tabwriter |
| max_upload_size | |
| id | 87707 |
| size | 7,673 |
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.