/bin/sh => STDIN & functions, var scope messing
Ryan Stone
rysto32 at gmail.com
Tue May 28 12:00:57 UTC 2013
On Tue, May 28, 2013 at 5:48 AM, Václav Zeman <vhaisman at gmail.com> wrote:
> Curious. Which of the two behaviours is POSIXly correct?
>
I believe that /bin/sh's behaviour is correct. I don't know what shell the
manpage is referring to, but it's not bash (bash does the same thing in a
pipeline). Perhaps it's referring to csh? If that is the case that line
is probably causing more confusion rather than alleviating it.
More information about the freebsd-hackers
mailing list