Crates.io | tabwriter-bin |
lib.rs | tabwriter-bin |
version | |
source | src |
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 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.