|
1.1.0
| 2020 年 6 月 27 日 |
|
1.0.0
| 2018 年 9 月 27 日 |
|
0.1.0
| 2017 年 9 月 3 日 |
#122 in 命令行界面
92,370 每月下载量
在 53 个 crate 中使用 (直接使用 35 个)
shellwords
Crate shellwords 提供了将字符串解析为 UNIX Bourne shell 会解释的方式的实用工具。
示例
以 UNIX Bourne shell 的方式将字符串拆分为单词向量
assert_eq!(split("here are \"two words\"").unwrap(), ["here", "are", "two words"]);
法律
shellwords 在 MIT 许可下发布。有关详细信息,请参阅 LICENSE。
Crate shellwords 提供了将字符串解析为 UNIX Bourne shell 会解释的方式的实用工具。