Posted by Mike FN on November 16, 2001 at 20:03:05:
Hi Folks,
I'm trying to execute sheel script in SCO.
It works fine with other Linux, like Redhat and Caldera. But I couldn't get it to work with SCO.
Here is my shell script:
# test1.sh
# set the path
AGHOME=`/u/user2/appgen5`; export AGHOME
PATH=$PATH:$AGHOME/bin; export PATH
cd $AGHOME/TP
# call the c program with 25 string inputs
applicant1 "${1}" "${2}" "${3}" "${4}" "${5}" "${6}" "${7}" "${8}" "${9}" "${10}" "${11}" "${12}" "${13}" "${14}" "${15}" "${16}" "${17}" "${18}" "${19}" "${20}" "${21}" "${22}" "${23}" "${24}" "${25}"
Now everytime I run this script, all the path scripts worked well. However, I got an error message that indicate bad substitution for applicant1.
Can anyone help me?
Thanks.
Mike
------------------------
Comments are closed for this page. If you have something very important to add, contact me by email.