#command-line #user-input #send #version #external #exit #documentation

bin+lib send

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

8 breaking releases

0.8.0 Jul 9, 2019
0.6.0 Mar 28, 2019

#7 in #sends

28 downloads per month

Custom license and maybe LGPL-3.0-or-later

16KB
276 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

~30KB