[SunHELP] help on script writing
DAUBIGNE Sebastien - BOR
sunhelp at sunhelp.org
Wed Dec 5 09:34:56 CST 2001
Expect is based on Tcl and is public domain. You can download it from
many anonymous FTP sites.
---
Sebastien DAUBIGNE
sebastien.daubigne at sema.fr <mailto:sebastien.daubigne at sema.fr> - (+33)
(0)5.57.26.56.36
Sema Global Services - AFM/DW/Pessac
-----Message d'origine-----
De: Alex Avriette [SMTP:a_avriette at acs.org]
Date: mercredi 5 dicembre 2001 14:18
@: 'sunhelp at sunhelp.org'
Objet: RE: [SunHELP] help on script writing
I agree with the previous answerers with regards to using sudo for
this.
However, in general when one needs to interact with a program
through a
shell script, expect(1) is used. Below is the header from the
manpage.
Interestingly, I cannot find expect on any of my solaris (5.8)
machines here
at work, though it is present on one of my clients' linux machines
(RH6.2).
Cheers,
alex
EXPECT(1) EXPECT(1)
NAME
expect - programmed dialogue with interactive programs,
Version 5
--
alex j. avriette
perl hacker.
a_avriette at acs.org
$dbh -> do('unhose');
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list