misc/77493: freebsd 5.3 + bash process substitution

Travis Morgan travis at bigfiber.net
Mon Feb 14 03:00:42 PST 2005

>Number:         77493
>Category:       misc
>Synopsis:       freebsd 5.3 + bash process substitution
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 14 11:00:40 GMT 2005
>Originator:     Travis Morgan
>Release:        5.3-RELEASE
FreeBSD pliosaur.tera-byte.com 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #0: Sun Jan  9 22:01:00 MST 2005     root at pliosaur.tera-byte.com:/usr/src/sys/i386/compile/IMBEZOL  i386

FreeBSD home.ecn.ab.ca 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Sat Feb 12 12:07:46 MST 2005     root at mail.ecn.ab.ca:/usr/obj/usr/src/sys/IMBEZOL  i386

process substitution gives garbled results

while read line ; do echo $line ; done < <(cat /etc/passwd)

For some reason under 5.3 it loses a chunk off the front of each line producing garbage results
while read line ; do echo $line ; done < <(cat /etc/passwd)
Not sure if this is a bash issue or a kernel issue but this is not a problem on any of the 4.x boxes I've tried it on. Also, the version of bash is not a factor.. it happens with 2.x and 3.x

More information about the freebsd-bugs mailing list