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.
It's great for the command line, but for scripting there are much better, cleaner, faster and safer alternatives.