missing quotes around $1 and $param, also it could be: `arg=$(awk -F'=' '{print $2}' <<<"$1")`