Registry / utility / shellwords

shellwords

JSON →
library1.1.0rscratesunverified

Manipulate strings according to the word parsing rules of the UNIX Bourne shell.

# Cargo.toml [dependencies] shellwords = "1.1.0"
INSTALL
IMPORT
SIG · SHELLWORDS
S
shellwords
utilityrustv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

split
use shellwords::split;

Split a shell command string into words respecting quotes.

use shellwords::split; fn main() { let words = split("echo 'hello world'").unwrap(); println!("Words: {:?}", words); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
shellwords — cargo add shellwords · libregistry