#command-line

bin+lib send

This program lets the user type in input and sends it to either external command or piped-stdout

8 breaking releases

✓ Uses Rust 2018 edition

0.8.0 Jul 9, 2019
0.6.0 Mar 28, 2019

#885 in Command line utilities

Download history 267/week @ 2019-12-08 10/week @ 2019-12-22 30/week @ 2020-01-12 11/week @ 2020-02-09 10/week @ 2020-02-16 30/week @ 2020-02-23 1/week @ 2020-03-01 20/week @ 2020-03-08 20/week @ 2020-03-15 60/week @ 2020-03-22

146 downloads per month

Custom license

16KB
280 lines

Send




lib.rs:

Send

Project


This program lets the user type in input, then sends it to one other program.

Other program can be either:

  • Piped via stdout. In this case, all input data will be sent untouched.

  • Or specified after a double-hyphen phrase (--). The phrase {} will be replaced with input data. Since this method sends input data via command line, it will be filtered. The program will exit with ERROR_EXIT_CODE if it detects some illegal characters, such as: #0, tab, line break...

If both methods are used at once, the program will exit with ERROR_EXIT_CODE.

Dependencies

~24KB