On Sun, Apr 8, 2012, at 06:09 PM, Jim Pryor wrote: > test3() { > IN=$(cat) > printf "test3 <%s>\n" "$IN" > } > > test4() { > IN=$(cat) > printf "test4 <%s>\n" "$IN" > } test4 was supposed to use quotes: "$(cat)". It works fine either way. This also works fine: test1a() { local IN IN=$(cat) printf "test1a <%s>\n" "$IN" } It's only this which fails: test1a() { local IN=$(cat) printf "test1 <%s>\n" "$IN" } I've also reported to FreeBSD: <http://www.freebsd.org/cgi/query-pr.cgi?pr=166771> -- dubiousjim@xxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html