From owner-freebsd-bugs@FreeBSD.ORG Thu Dec 8 19:20:23 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B488316A420; Thu, 8 Dec 2005 19:20:23 +0000 (GMT) (envelope-from stefanf@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECCEC43D49; Thu, 8 Dec 2005 19:20:19 +0000 (GMT) (envelope-from stefanf@FreeBSD.org) Received: from freefall.freebsd.org (stefanf@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB8JKJ6Y078972; Thu, 8 Dec 2005 19:20:19 GMT (envelope-from stefanf@freefall.freebsd.org) Received: (from stefanf@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB8JKJrW078968; Thu, 8 Dec 2005 19:20:19 GMT (envelope-from stefanf) Date: Thu, 8 Dec 2005 19:20:19 GMT From: Stefan Farfeleder Message-Id: <200512081920.jB8JKJrW078968@freefall.freebsd.org> To: Hideo.Kogoe@Sun.COM, stefanf@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: bin/45584: read builtin function of sh does not read standard input X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 19:20:23 -0000 Synopsis: read builtin function of sh does not read standard input State-Changed-From-To: analyzed->suspended State-Changed-By: stefanf State-Changed-When: Thu Dec 8 19:16:48 GMT 2005 State-Changed-Why: Suspend this PR as the current behaviour (while not exactly desirable) is allowed by POSIX and isn't really a bug. Of course a nice patch would be gladly accepted. # 2.12 Shell Execution Environment # # Additionally, each command of a multi-command pipeline is in a subshell # environment; as an extension, however, any or all commands in a pipeline may # be executed in the current environment. This means forking, executing read and setting variables in a sub-shell is allowed. Other shells implement this extension, FreeBSD's does not. http://www.freebsd.org/cgi/query-pr.cgi?pr=45584