[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unattended package install.

On Fri, 3 Apr 1998, Henry Hollenberg wrote:
> Anybody got any quick tips on how to plug expect into your
> scripts similar to how Alex did below?  (That expect is one
> long man page...i hope there are some examples...).

See /usr/doc/expect.../examples

With autoexpect you should be able to generate a expect script from the
first (manuall) run:
  autoexpect -f new-expect-script your-shell-script
(you must first install/decompress autoxepect, on hamm the reference for 
expect on the first line of autoexpect must be changed, similar for the
resulting expect script).


Hubert Weikert   DB1MQ   Member of DARC (www.darc.de) and FITUG (www.fitug.de)
Email: weikert@cube.net  weikert@compuserve.com  http://www.cube.net/~weikert/
Book: Kryptographie mit dem Computer (PGP Praxis) ISBN 3-7905-1503-5  DM 19,80
Key = 21978C61  fingerprint = 99 38 A5 83 C8 76 F4 E1  A7 9C B9 70 9A A7 70 10

To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: