Crates.io | bt-echo |
lib.rs | bt-echo |
version | 0.1.1 |
source | src |
created_at | 2024-07-21 19:23:05.261492 |
updated_at | 2024-07-22 04:56:00.190096 |
description | A rust implemenation of the echo command-line utility. |
homepage | http://tech.bumbuna.com/learning-rust/echo |
repository | |
max_upload_size | |
id | 1310532 |
size | 6,448 |
A Rust implementation of the comand-line utility echo.
$ echo [OPTIONS] [STRINGS]
$ echo Hello world
> Hello world
$ echo "Hello\nworld"
> Hello\nworld
$ echo -e "Hello world \n"
> Hello
> world
-n Don't add newline at the end of the output (default is to add the line). -e Process escaped sequences (default is to ignore). --version Show installed version of the program. --help Display this help message.
\ backslash \a alert (BEL) \b backspace \c produce no further output \e escape \f form feed \n new line \r carriage return \t horizontal tab \v vertical tab \0NNN byte with octal value NNN (1 to 3 digits) (TBD) \xHH byte with hexadecimal value HH (1 to 2 digits) (TBD)
All contributions towards this project are welcomed through pull requests.