OUT="$(ftp -n $REMOTESERVER 2>&1 <<FTP
quote USER $LOGIN
quote PASS $PASSWORD
the output becomes something like
I dont know why it skips lines, but when I try to replace the lines with sed, \r or \n, it doesnt make any difference, has anyone encountered this problem before?