4 ms·
I like scala too but I have to say, it is a bit on a heavy side when it comes to scripting. re: the rm -rf "$STEAMROOT/"* there is much simpler way to avoid it
by Kubuxu 9y ago
I like scala too but I have to say, it is a bit on a heavy side when it comes to scripting.
re: the rm -rf "$STEAMROOT/"* there is much simpler way to avoid it:
set -euo pipefail
IFS=$'\n\t'
This would prevent this bug and many others. For whole overview on that see: http://redsymbol.net/articles/unofficial-bash-strict-mode/ http://redsymbol.net/articles/unofficial-bash-strict-mode/
- vijucat 9y agoThanks, that's a good one!