Bash Assign Function Output To Variable Definition