rust-shell-script/rust_cmd_lib
View on GitHub ↗ ★ 1,157 Rust
Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way
14 mentions on Hacker News by 7 people: 2 stories, 12 comments · first 2019-09-27 · latest 2023-10-26
20082026
-
You can check https://github.com/rust-shell-script/rust_cmd_lib
comment by rustshellscript · 2023-10-26 · in Was Rust Worth It? -
Here: https://github.com/rust-shell-script/rust_cmd_lib
comment by rustshellscript · 2023-10-26 · in Was Rust Worth It? -
…the idea of shell blocks. Looks like you can get something similar in Rust with cmd_lib[1]. [1] https://github.com/rust-shell-script/rust_cmd_lib
comment by heavyset_go · 2022-04-26 · in Hush, a modern shell scripting language -
Here is the rust library with the “the only good parts” of bash/shell script: https://github.com/rust-shell-script/rust_cmd_lib
comment by rustshellscript · 2021-11-01 · in Bash functions are better than I thought -
…with safety, though tougher maintainability. [1] https://raimonster.com/scripting-field-guide/ [2] https://github.com/rust-shell-script/rust_cmd_lib
comment by dejj · 2021-05-04 · in ShellCheck: Finds bugs in your shell scripts -
…sh/bash script’s puzzles/pitfalls all the time. Maybe it is time to consider using rust instead: https://github.com/rust-shell-script/rust_cmd_lib ?
comment by rustshellscript · 2021-04-12 · in What was the point of [ “x$var” = “xval” ]? -
…I just released rust_cmd_lib 1.0 recently, which can do variable substitution without any quotes: https://github.com/rust-shell-script/rust_cmd_lib
comment by rustshellscript · 2021-04-03 · in How to do things safely in Bash (2018) -
…ttps://samizdat.dev/help-message-for-shell-scripts/ - Make bash scripts safer by writing them in Rust https://github.com/rust-shell-script/rust_cmd_lib - Additional shell options for non-trivial bash scripts…
comment by nikisweeting · 2020-09-08 · in Bash Pitfalls -
…like tasks nowadays. [1] https://github.com/anordal/shellharden/blob/master/how_to_do... [2] https://github.com/rust-shell-script/rust_cmd_lib
comment by rustshellscript · 2020-09-07 · in Bash Pitfalls -
Unquoted argument is not an issue here, see some examples here: https://github.com/rust-shell-script/rust_cmd_lib/issues/10
comment by rustshellscript · 2020-08-23 · in Show HN: Using Rust to write shell-script like tasks -
…then calls 'std:Process::Command' [2] which, I believe, does not execute a subshell by default. [1] https://github.com/rust-shell-script/rust_cmd_lib/blob/maste... [2] https://github.com/rust-shell-script/rust_cmd_lib/blob/maste...
comment by papaf · 2020-08-23 · in Show HN: Using Rust to write shell-script like tasks -
▲ 231
Show HN: Using Rust to write shell-script like tasksstory by rustshellscript · 2020-08-23 · 80 comments
-
▲ 2
Show HN: Rust for Shell Scriptingstory by glorioustao · 2019-09-27 · 1 comment