Hacker News new | ask | show | jobs
by BossingAround 1048 days ago
I think this is a trap for engineers inexperienced with Bash. You can (and should of course) use ChatGPT to be more productive in writing bash scripts, but as was said in the previous discussions, bash contains so many traps which you won't be able to spot.

Bash's dangers might be exacerbated by using ChatGPT, since you'll rely on the tool and you might not be able to understand what's wrong if shit hits the fan.

I'd recommend not using bash for anything other than the simplest tasks, as per Google's Shell style guide [0].

[0] https://google.github.io/styleguide/shellguide.html#s1.2-whe...