commands behind a bash here script
Hi,
using a here-script in a bash script prevents any command behind this from executing.
Example:
echo Connecting
echo "Trying to downoad files now..."
ftp <<**
open 192.168.0.8
get ${1%.*}.tgz
bye
**
tar xvzf ${1%.*}.tgz
The tar command will NOT be executed.
Does anybody know why? Is there a workround?
Regards, Onurbi
|