n 0
}
Now let's create the script that will use functions in the file functions.sh. We can then use these functions. Notice the functions file is sou...
. /home/dave/bin/functions.sh
# now we can use the function(s)
echo -n "enter destination di... onments that are shared by a few backup scripts I use.
Here's the file.
$ pg backfunc
#!/bin/sh ... ODE}" ]; then
echo "Wrong code...exiting..will use defaults"
exit 1
fi
echo " The environment