SyntaxFix
Write A Post
Hire A Developer
Questions
My attempt.
$ array=(one two "three four" five) $ echo "${array[0]}$(printf " SEP %s" "${array[@]:1}")" one SEP two SEP three four SEP five