|
|
|
|
|
by shubhamjain
1405 days ago
|
|
There are couple of flags you can use to mitigate the safety risks. `set -u`, for instance, will thrown an error if an unbound variable is used. I always start my scripts with > set -euo pipefail Here's a detail explaination of all the switches: https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e82.... I do agree though, it's not the best tool. But combining CLI utilities tends to be fast. |
|