News for hackers. Stuff that matters.
Re:Stop Using `rm` in Bash. Use `del` by amelius on Sunday March 17, 2019 @09:28AM (#19413907)
This is another example that shows that Bash (and similar shells) should not be used for scripting.

It's great for the command line, but for scripting there are much better, cleaner, faster and safer alternatives.

Re:Stop Using `rm` in Bash. Use `del` by floatingatoll on Sunday March 17, 2019 @10:22AM (#19414141)
What? No, come on. You can’t extrapolate “someone didn’t read the manual” to “don’t use shell scripting”.
Re:Stop Using `rm` in Bash. Use `del` by avar on Sunday March 17, 2019 @09:59AM (#19414041)
There's plenty of good reasons not to use shellscript, but someone not knowing the difference between "$@" and $* isn't one of them. This is prominently documented in Bash's documentation: https://www.gnu.org/software/bash/manual/html_node/Special-P...
Re:Stop Using `rm` in Bash. Use `del` by ashelmire on Sunday March 17, 2019 @11:37AM (#19414533)
Nothing about that is especially prominent (its just regular documentation), and then you still need to consider how any given utility will interact with one word vs multiple words.
Re:Stop Using `rm` in Bash. Use `del` by thjan on Sunday March 17, 2019 @09:55AM (#19414028)
Please elaborate :)
Re:Stop Using `rm` in Bash. Use `del` by mruts on Sunday March 17, 2019 @09:52AM (#19414012)
Like what? Sh? Zsh?