Hacker GitHub

← All repos

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

Mentions per year 14 mentions · busiest year 2020 (5)
20082026
  1. You can check https://github.com/rust-shell-script/rust_cmd_lib
    comment by rustshellscript · 2023-10-26 · in Was Rust Worth It?
  2. Here: https://github.com/rust-shell-script/rust_cmd_lib
    comment by rustshellscript · 2023-10-26 · in Was Rust Worth It?
  3. …https://github.com/rust-unofficial/awesome-rust#command-line rust-shell-script/rust_cmd_lib https://github.com/rust-shell-script/rust_cmd_lib : > Common rust command-line macros and utilities, to write shell-script like tasks in a clean,…
    comment by westurner · 2022-09-28 · in Bash 5.2
  4. …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
  5. 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
  6. …with safety, though tougher maintainability. [1] https://raimonster.com/scripting-field-guide/ [2] https://github.com/rust-shell-script/rust_cmd_lib
  7. …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” ]?
  8. …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)
  9. …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
  10. …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
  11. 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
  12. …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...