Crate shellwords provides utilities for parsing strings as they would be interpreted by the UNIX Bourne shell.
- shellwords on crates.io
- Documentation for the latest crates.io release
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"]);
shellwords is released under the MIT license.
See LICENSE
for details.