bin/177674: /bin/sh 'while read X' loop problem
jilles at FreeBSD.org
jilles at FreeBSD.org
Sun Apr 7 15:50:33 UTC 2013
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 3<FILEWITHMP3PATHNAMES
Responsible-Changed-From-To: freebsd-bugs->jilles
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
More information about the freebsd-bugs
mailing list