Simple Step by Step Creation

Roger Oberholtzer roger
Mon May 17 12:00:09 PDT 2004


Even better:	autoexpect

which is part of the expect (Tcl/Tk) package. It captures everything, with
the goal of being able to redo it later. It is fantastic at automating
things. By default it captures everything you do. The resulting script can
be trimmed to suit. Play back what you have done with expect. What it offers
over 'script' is that it sorts out what you typed and what came from
elsewhere. And, when automating, you can make the expected output from a
program as specific or flexible as needed. You can even pop control to the
user for parts of the script.

On Thu, 4 Mar 2004 07:17:52 -0500
"David A. Bandel" <david at pananix.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thu, 04 Mar 2004 19:26:45 +1100
> James McDonald <james at jamesmcdonald.id.au> wrote:
> 
> > I just thought of this and am assuming that more experienced people on
> > 
> > this list have used this in the past but here is a thought I just 
> > had.... (after looking at Dougs Sendmail from source SxS)
> > 
> > If you do the commands that are required in a bash terminal and then
> > run history and dump it to a file or whatever you have exactly what
> > you did to achieve your result... Just delete the bad commands put a
> > short blurb on top and you have a step by step....
> 
> Actually, a much better program for this is called `script`.  You should
> have it on your system.  It will not capture everything (like a vi
> session), but it will capture most things.
> 
> man script
> 


-- 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Erik Dahlbergsgatan 41-43  ?    Phone: Int + 46 8   314223 ?
? 115 34 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   302602 ?
+????????????????????????????+???????????????????????????????+




More information about the Linux-users mailing list