From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 7 15:50:33 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D9BF2E26; Sun, 7 Apr 2013 15:50:33 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B5E8F236; Sun, 7 Apr 2013 15:50:33 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r37FoXcV035129; Sun, 7 Apr 2013 15:50:33 GMT (envelope-from jilles@freefall.freebsd.org) Received: (from jilles@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r37FoXiu035128; Sun, 7 Apr 2013 15:50:33 GMT (envelope-from jilles) Date: Sun, 7 Apr 2013 15:50:33 GMT Message-Id: <201304071550.r37FoXiu035128@freefall.freebsd.org> To: root@ai1.alaska.net, jilles@FreeBSD.org, freebsd-bugs@FreeBSD.org, jilles@FreeBSD.org From: jilles@FreeBSD.org Subject: Re: bin/177674: /bin/sh 'while read X' loop problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2013 15:50:33 -0000 Synopsis: /bin/sh 'while read X' loop problem State-Changed-From-To: open->closed State-Changed-By: jilles State-Changed-When: Sun Apr 7 15:48:19 UTC 2013 State-Changed-Why: As described by kuro, this is not a bug. The mplayer reads from stdin, so that 'read' misses data. Try: while read X <&3; do mplayer $X; done 3jilles Responsible-Changed-By: jilles Responsible-Changed-When: Sun Apr 7 15:48:19 UTC 2013 Responsible-Changed-Why: Track replies. http://www.freebsd.org/cgi/query-pr.cgi?pr=177674