esc

Crates.ioesc
lib.rsesc
version0.2.2
sourcesrc
created_at2021-09-22 13:16:36.460676
updated_at2021-09-22 13:30:05.296595
descriptionEscape characters in strings
homepage
repositoryhttps://github.com/sstadick/esc
max_upload_size
id454888
size333,407
Seth (sstadick)

documentation

https://docs.rs/esc

README

🐌 esc

Small CLI for escaping characters in strings.

Install

cargo install esc

Usage

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.

Acknowledgments

This is just a tiny wrapper over snailquote which does all the actual work here.

Commit count: 9

cargo fmt