From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 783 invoked from network); 16 Sep 1998 05:29:15 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 16 Sep 1998 05:29:15 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id BAA28690; Wed, 16 Sep 1998 01:22:33 -0400 (EDT) Resent-Date: Wed, 16 Sep 1998 01:22:33 -0400 (EDT) Message-Id: Date: Wed, 16 Sep 1998 07:24:15 +0200 (MET-DST) From: Goran Larsson Subject: Re: select behaving strange in 3.1.4 To: schaefer@brasslantern.com cc: zsh-workers@math.gatech.edu In-Reply-To: <980915173702.ZM4523@candle.brasslantern.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Resent-Message-ID: <"fCx533.0.D07.Oiq_r"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4387 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On 15 Sep, Bart Schaefer wrote: > On Sep 16, 12:14am, Goran Larsson wrote: > > $ ./select_weirdness > > $ . ./select_weirdness > I see this behavior immediately, that is, it's not necessary to source > the script twice to have ^D cease to be end-of-file. I wasn't sourcing the file twice. The first time it was run as a script, thus showing that the problem only seemed to affect selects in the interactive shell, or something like that. -- Goran Larsson hoh@approve.se I was an atheist, http://home1.swipnet.se/%7Ew-12153/ until I found out I was God.