Brett Smith, 04/08/2016 02:58 PM
#!/bin/bash
showvars() { echo "$#" "$@"; }
declare -a VOLUMES=()
showvars "${VOLUMES[@]}"
VOLUMES+=("-v=/tmp")
VOLUMES+=("-v=/test/spacey path")