I\'m parsing query results from a mysql command (with the --table parameter)
local records=`echo \"${query}\" | $MYSQL -u $MyUSER -h $MyHOST -p$MyPASS --tabl
Check that you use Unix line endings. Using Windows line endings caused the same behavior for me, overwriting strings.