bash 依存だけどこんな関数を作って使ってた事もあった

function _join {
local IFS="$1"; shift; echo "$*"
}

bash$ _join , {1..10}
1,2,3,4,5,6,7,8,9,10