expect
I want to run an expect script as:
script dpkg -i package
Then have the script spawn "dpkg -i package". How do I do this? Expect wants
to combine all the parameters into a single parameter that contains spaces.
How can I solve this?
Also I want to do it for numerous packages (so having an entry for each
parameter isn't going to work).
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
Reply to: