3 ms·
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 ar
by amelius 8y ago
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.
- mruts 8y agoLike what? Sh? Zsh?
- thjan 8y agoPlease elaborate :)
- avar 8y agoThere'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-Parameters.html https://www.gnu.org/software/bash/manual/html_node/Special-P...
- ashelmire 8y agoNothing 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.
- floatingatoll 8y agoWhat? No, come on. You can’t extrapolate “someone didn’t read the manual” to “don’t use shell scripting”.