I am trying to load some sqlite3 output into an /n-delimited bash array. Seems like it should be a simple thing, but the read statement doesn't seem to produce any output. Echoing fqry just prior to the IFS statement confirms that the sqlite query is loading its output into a string correctly. But nothing appears to be getting into farray at all.
cmd="SELECT * FROM format"
fqry=`sqlite3 data.db "$cmd"`
IFS=$'\n'
read -ra farray <<< "$fqry"
for f in "${farray[@]}"
do
echo "$f"
done