[plug] `Expect` and `cron` <http://expect.nist.gov>

W.Kenworthy billk at iinet.net.au
Thu Jan 6 09:39:28 WST 2005


expect can be a lifesaver.  Are you using autoexpect to generate a
framework and then editing it? - makes it a lot easier.  Also, use
subsets of strings for recognition (e.g., longprompt:> could be
shortened to pt:>) - not sure why, but this improves reliability.

cron has a very bare environment - you need to set the required env up
in your script - think this a security thing, but it can be a pain.

just installed expect to check on a new system, and autoexpect hasnt
been installed - not sure where to get it ...

BillK

On Thu, 2005-01-06 at 09:07 +0800, James Devenish wrote:
> Hi,
> 
> Does anyone here use `expect`, and is it anything other than a





More information about the plug mailing list