by databasher · 6y ago · 0 comments
string=$(printf ' %q' "${array[@]}")
function quote() { echo "${@@Q}" }