News for hackers. Stuff that matters.
Re:Show HN: Using Rust to write shell-script like tasks by IshKebab on Sunday August 23, 2020 @04:21AM (#24250484)
I agree, this is a misguided idea. The whole point of not using Bash is that you don't have to use it's terrible design and syntax surely?
Re:Show HN: Using Rust to write shell-script like tasks by foota on Sunday August 23, 2020 @06:31AM (#24250930)
This only seems to use the good parts of the shell, easy piping and redirection, while dropping the language for logic.
Re:Show HN: Using Rust to write shell-script like tasks by IshKebab on Sunday August 23, 2020 @11:26AM (#24252529)
It also appears to use some bad parts, e.g. command line switches and unquoted arguments.
Re:Show HN: Using Rust to write shell-script like tasks by rustshellscript on Sunday August 23, 2020 @12:12PM (#24252873)
Unquoted argument is not an issue here, see some examples here: https://github.com/rust-shell-script/rust_cmd_lib/issues/10