shellwords

Crates.ioshellwords
lib.rsshellwords
version1.1.0
sourcesrc
created_at2017-09-03 10:29:48.899602
updated_at2020-06-27 08:11:41.789671
descriptionManipulate strings according to the word parsing rules of the UNIX Bourne shell.
homepagehttps://github.com/jimmycuadra/rust-shellwords
repositoryhttps://github.com/jimmycuadra/rust-shellwords
max_upload_size
id30377
size10,267
Owners (github:rustaudio:owners)

documentation

https://docs.rs/shellwords

README

shellwords

Crate shellwords provides utilities for parsing strings as they would be interpreted by the UNIX Bourne shell.

Examples

Split a string into a vector of words in the same way the UNIX Bourne shell does:

assert_eq!(split("here are \"two words\"").unwrap(), ["here", "are", "two words"]);

Legal

shellwords is released under the MIT license. See LICENSE for details.

Commit count: 14

cargo fmt