Re:Show HN: Forget bash, write your shell scripts in plain E...
by alyt on Wednesday March 26, 2025 @09:45AM
(#43482221)
> Does this actually work? Yeah, somewhat! Could it create scripts that erase your drive? Maybe! Good luck!
Love the transparency lol.
Cool idea though! I imagine the "erase your hard drive" risk could be mitigated pretty well by adding an extra LLM step to double-check the generated script and explain each part of it (maybe add an `# explanatory comment` at the end of each line), and then an extra human step to confirm before executing the script.
Love the transparency lol.
Cool idea though! I imagine the "erase your hard drive" risk could be mitigated pretty well by adding an extra LLM step to double-check the generated script and explain each part of it (maybe add an `# explanatory comment` at the end of each line), and then an extra human step to confirm before executing the script.