Shell script commands NOT executing!!
Posted on 2004-10-20
This is my exact script:
The scipt ignore the part of the script after the FTP function. The echo statements never execute. Those echo parts work when I get rid of the upper FTP parts..
/bin/ftp -nv 22.214.171.124 << -EOF
user test1 abc123
ret=`/usr/bin/diff /tmp/test_file.txt /export/usr1/test_file.txt`
echo "it is not going to output!!!!!!!!!!"
if [ $? -ne 0 ] ; then