[plug] calling a script within a script

Jon Miller jlmiller at mmtnetworks.com.au
Fri Dec 9 11:22:19 WST 2005


Like to know how do I call a script (backup1-functions) within a script (backup1.sh).  Within the backup1-functions script there are other functions.  

Tried the following
. backup1-functions
./backup1-functions
. ./backup1-functions
I get the same response:
# ./backup1.sh
./backup1.sh: line 21: ./backup1-functions: No such file or directory
./backup1.sh: line 24: tar_backup: command not found
./backup1.sh: line 27: tar_verify: command not found

Thanks





More information about the plug mailing list