I want to write a script that loops through 15 strings (array possibly?) Is that possible?
Something like:
for databaseName in listOfNames then # D
Possible first line of every Bash script/session:
say() { for line in "${@}" ; do printf "%s\n" "${line}" ; done ; }
Use e.g.:
$ aa=( 7 -4 -e ) ; say "${aa[@]}" 7 -4 -e
May consider: echo interprets -e as option here
echo
-e