Crates.io | yapv |
lib.rs | yapv |
version | 0.2.0 |
source | src |
created_at | 2020-07-12 05:01:06.114912 |
updated_at | 2023-02-22 06:05:23.389883 |
description | Yest Another Pipe Viewer |
homepage | https://github.com/kromych/yapv |
repository | https://github.com/kromych/yapv |
max_upload_size | |
id | 264302 |
size | 23,399 |
This is an educational project that follows the Packt's book on system programming in Rust. The utility is similar to pv, and outputs number of bytes processed and statistics.
Command line parameters:
Yet Another Pipe Viewer
USAGE:
yapv [FLAGS] [OPTIONS] [infile]
FLAGS:
-h, --help Prints help information
-s, --silent Be silent. Also can set YAPV_SILENT for the effect
-V, --version Prints version information
OPTIONS:
-o, --outfile <outfile> Write to a file rather than stdout
ARGS:
<infile> Read from a file rather than stdin
Here is a fun example to give you an idea:
yes | target/release/yapv -o /dev/null