delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/01/02:52:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
Organization: Esse keine toten Tiere
To: "Mark Paulus" <commpg AT yahoo DOT com>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 1 Jun 2001 08:51:43 +0200
MIME-Version: 1.0
Subject: Re: script alternative
Reply-to: gerrit DOT haase AT t-online DOT de
Message-ID: <3B17579F.26742.273FC66D@localhost>
In-reply-to: <FMLH9031A6F66@familiehaase.dynu.com>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001 AT t-dialin DOT net

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019