I am trying to pull data from SQL, and then write it to a text file. This does that, to an extent, but it only pulls 1 from the table, which reads test:test<
test:test<
echo "select concat(user,':',pass,'') from table order by fc desc" | mysql
I prefer to do this kind of thing in bash ;)