Link to home
Start Free TrialLog in
Avatar of Aida2
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
Avatar of ahoffmann
ahoffmann
Flag of Germany image

could you please post just the code in your script (without any additional quotes)
Avatar of Aida2
Aida2

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
Avatar of Aida2

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
ASKER CERTIFIED SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial