Crates.io | Text_Processing_Toolkit |
lib.rs | Text_Processing_Toolkit |
version | 0.1.1 |
source | src |
created_at | 2020-09-24 16:04:40.942382 |
updated_at | 2020-09-24 16:08:32.784042 |
description | A Rust implementation of the Unix concatenate command (cat) |
homepage | |
repository | https://github.com/IceBlockProduction/Text-Processing-Toolkit |
max_upload_size | |
id | 292561 |
size | 14,130 |
Text-Processing-Toolkit subsumes a few simple and lightweight Rust implementations of popular Unix Shell commands such as cat and wc that run everywhere thanks to the Rust compiler.
Installation works from source via
cargo install tpt
Text-Processing-Read - short tpr - is a command line utility similar to cat and can be used like this:
Text Processing Toolkit 0.1
IceBlockProduction
A Rust implementation of the Unix concatenate command (cat)
USAGE:
tpr.exe [FLAGS] --file <file>
FLAGS:
-h, --help Prints help information
-n, --numbered Print lines numbered
-V, --version Prints version information
OPTIONS:
-f, --file <file> Path to file
An example usage would be:
tpr -n -f faust.txt This prints everything from the specified file faust.txt with numbered lines to stdout
Text-Processing-Count - short tpc - is a command line utility similar to wc and can be used like this:
Text Processing Toolkit 0.1
A Rust implementation of the Unix wordcount command (wc)
USAGE:
tpc.exe [FLAGS] --file <file>
FLAGS:
-b, --bytes Print byte count
-c, --chars Print char count
-h, --help Prints help information
-l, --lines Print line count
-V, --version Prints version information
-w, --words Print word count
OPTIONS:
-f, --file <file> Path to file
An example usage would be:
tpc -bclw -f faust.txt This prints the byte count, char count, line count and word count of the file faust.txt to stdout
Licensed under MIT License.