NetBSD Problem Report #4932

Received: (qmail 154 invoked from network); 4 Feb 1998 05:03:34 -0000
Message-Id: <199802040502.VAA07796@wormey.ndip.eskimo.net>
Date: Tue, 3 Feb 1998 21:02:58 -0800 (PST)
From: wormey@eskimo.com
Reply-To: wormey@eskimo.com
To: gnats-bugs@gnats.netbsd.org
Subject: sh list processing broken
X-Send-Pr-Version: 3.95

>Number:         4932
>Category:       bin
>Synopsis:       sh doesn't handle lists properly
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 03 21:05:00 +0000 1998
>Closed-Date:    Tue Feb 03 22:26:08 +0000 1998
>Last-Modified:  Wed Feb 04 06:27:35 +0000 1998
>Originator:     Steve Allen
>Release:        -current Feb 3 1998
>Organization:
I speak only for myself.
>Environment:

System: NetBSD wormey 1.3B NetBSD 1.3B (GENERICTEST) #57: Wed Jan 21 18:30:45 PST 1998 allen@wormey:/usr/src/systest/arch/mac68k/compile/GENERICTEST mac68k


>Description:
	sh repeats middle items in a list while processing it
>How-To-Repeat:

Freshly built sh from today's sources:
<73 wormey /bin/sh># obj/sh
# list="a b c d e f"
# for let in $list
> do
> echo $let
> done
a
b
c
d
e
b
c
d
e
f

>Fix:

>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: mikel
State-Changed-When: Tue Feb  3 22:26:08 1998
State-Changed-Why:
broken fix for PR 4851 backed out, which fixes this.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.