Aida2
asked on
Help for Shell scripts
Can someone tell me what is wrong. I try to compille forms 9i with fgenm when i say
" f90genm userid=user_name/password@ datbase batch=yes module=$i module_type=library
compile_all=yes window_state=minimize" in command line it's ok but when put it in shell scrits and say
" for i in `ls *.pll` do
# echo "Compiling Library $i ...."
f90genm userid=user_name/password@ datbase batch=yes module=$i module_type=library
compile_all=yes window_state=minimize
done"
i get error bash: syntax error near unexpected token 'f90genm'
Thanks
" f90genm userid=user_name/password@
compile_all=yes window_state=minimize" in command line it's ok but when put it in shell scrits and say
" for i in `ls *.pll` do
# echo "Compiling Library $i ...."
f90genm userid=user_name/password@
compile_all=yes window_state=minimize
done"
i get error bash: syntax error near unexpected token 'f90genm'
Thanks
could you please post just the code in your script (without any additional quotes)
ASKER
Here is
for i in `ls *.pll` do
echo Compiling Library $i ....
f90genm userid=est/est123@cust batch=yes module=$i module_type=library
compile_all=yes window_state=minimize
done
for i in `ls *.pll` do
echo Compiling Library $i ....
f90genm userid=est/est123@cust batch=yes module=$i module_type=library
compile_all=yes window_state=minimize
done
ASKER
I correct it thank you very much
it must be
for i in `ls *.pll` ;
do
echo Compiling Library $i ....
f90genm userid=est/est123@cust batch=yes module=$i module_type=library
compile_all=yes window_state=minimize;
done
it must be
for i in `ls *.pll` ;
do
echo Compiling Library $i ....
f90genm userid=est/est123@cust batch=yes module=$i module_type=library
compile_all=yes window_state=minimize;
done
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.