Hi ,
I want to write a unix script which can automate a process something given below :
---------------------------
unix prompt# lh console
configurator > getObject Resource "clarify-eu" > clarify-eu.xml
configurator > quit
#
-----------------------------
Logic here is that after i give " lh console" command it goes into " configurator prompt mode and then i need to give the getObject command. Now the problem is I dont know how to transfer the control of script to configurator mode and how to make it expect the command at that propmt and run that command.
this process is same as what we do in cases of databases that is once we give " sqlplus " command we enter into database command and prompt and then we use database commands there.
Please can somebody help in this
Thanks,
krishan
I want to write a unix script which can automate a process something given below :
---------------------------
unix prompt# lh console
configurator > getObject Resource "clarify-eu" > clarify-eu.xml
configurator > quit
#
-----------------------------
Logic here is that after i give " lh console" command it goes into " configurator prompt mode and then i need to give the getObject command. Now the problem is I dont know how to transfer the control of script to configurator mode and how to make it expect the command at that propmt and run that command.
this process is same as what we do in cases of databases that is once we give " sqlplus " command we enter into database command and prompt and then we use database commands there.
Please can somebody help in this
Thanks,
krishan