Skip to content

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

License

Notifications You must be signed in to change notification settings

jimmycuadra/rust-shellwords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages