| Crates.io | esc |
| lib.rs | esc |
| version | 0.2.2 |
| created_at | 2021-09-22 13:16:36.460676+00 |
| updated_at | 2021-09-22 13:30:05.296595+00 |
| description | Escape characters in strings |
| homepage | |
| repository | https://github.com/sstadick/esc |
| max_upload_size | |
| id | 454888 |
| size | 333,407 |
Small CLI for escaping characters in strings.
cargo install esc
cat LICENSE-MIT | esc escape | pbcopy
pbpaste | esc unescape | pbcopy
Note This reads the entire input in memory at once in order to locate paired characters.
This is just a tiny wrapper over snailquote which does all the actual work here.