Date: Mon, 14 Feb 2005 10:58:52 GMT From: Travis Morgan <travis@bigfiber.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/77493: freebsd 5.3 + bash process substitution Message-ID: <200502141058.j1EAwqqX029861@www.freebsd.org> Resent-Message-ID: <200502141100.j1EB0foM014068@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77493 >Category: misc >Synopsis: freebsd 5.3 + bash process substitution >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 14 11:00:40 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Travis Morgan >Release: 5.3-RELEASE >Organization: BigFiber.net >Environment: FreeBSD pliosaur.tera-byte.com 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #0: Sun Jan 9 22:01:00 MST 2005 root@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@mail.ecn.ab.ca:/usr/obj/usr/src/sys/IMBEZOL i386 >Description: 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 >How-To-Repeat: while read line ; do echo $line ; done < <(cat /etc/passwd) >Fix: 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502141058.j1EAwqqX029861>