This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: script alternative
- To: "Mark Paulus" <commpg at yahoo dot com>, "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Subject: Re: script alternative
- From: "Gerrit P. Haase" <gerrit dot haase at t-online dot de>
- Date: Fri, 1 Jun 2001 08:51:43 +0200
- Organization: Esse keine toten Tiere
- Reply-to: gerrit dot haase at t-online dot de
Mark Paulus schrieb am 2001-05-31, 15:24:
> I was just looking through Don Libe's "Exploring Expect" book,
> and he lists the following expect script as a replacement for script:
>
> spawn $env(SHELL)
> log_file -noappend typescript
> interact
>
> "Exploring Expect", Nov 1996, page 180
>
> Thought this might be of interest for whoever was looking
> for the script command.
Hmmm, does it work?
How does it work?
I'm not very familiar with expect.
Does it need a special shebang?
i tried with shebang: #!/usr/bin/expect
The logfile is generated but the commands aren't expanded.
-gph
--
=^..^=
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple