Why can't the script be written in a sane way?
configureduuids=$(cat /etc/mdadm/mdadm.conf | grep UUID | sed 's/.*UUID=\([^\s]*\).*/\1/')
Why can't the script be written in a sane way?
configureduuids =$(cat /etc/mdadm/ mdadm.conf | grep UUID | sed 's/.*UUID= \([^\s] *\).*/\ 1/')