Registry / utility / shell-words

shell-words

JSON →
library1.1.1rscratesunverified

Process command line according to parsing rules of UNIX shell.

# Cargo.toml [dependencies] shell-words = "1.1.1"
INSTALL
IMPORT
SIG · SHELL-WORDS
S
shell-words
utilityrustv1.1.1
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 shell_words::split;

Split a shell command string into arguments respecting quotes and escapes.

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

No known issues recorded.

Upgrade
Version history
1.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
shell-words — cargo add shell-words · libregistry