Anyone know how to fix "Simple use of array variables" in BASH?
for instance:
# will complain $paths[@] is a simple array variable
for path in "${paths[@]}"; do
[ ! -d "${path}" ] && mkdir -p "${path}"
done
I have about 10 notices in my code I would like to take care of