On Wed, Apr 25, 2012 at 12:55:06PM -0400, Greg Wooledge wrote: > It also fails on OpenBSD 5.0 using bash 4.2.10 from ports.
And it also fails on OpenBSD 5.0 using bash 4.2.24 straight from the original sources. cyclops:/var/tmp/bash/bash-4.2$ ./bash -c 'echo $BASH_VERSION' 4.2.24(1)-release cyclops:/var/tmp/bash/bash-4.2$ cat ~/foo #!/bin/bash shopt -s lastpipe echo hi | read foo echo "<$foo>" cyclops:/var/tmp/bash/bash-4.2$ ./bash ~/foo <> cyclops:/var/tmp/bash/bash-4.2$ uname -a OpenBSD cyclops.wooledge.org 5.0 GENERIC.MP#63 amd64