On Mon, May 15, 2017 at 8:09 PM, Elliott Cable wrote:
> I'm no shell-script master, but this is segfaulting my Bash, and I was
> able to reproduce it on a couple different systems (including the #bash
> shbot :P):
>
> echo '_() { exec <&- ;}; _ "$0" "$@"' >bleh.sh
> cat bleh.sh | bash
It'
I'm no shell-script master, but this is segfaulting my Bash, and I was
able to reproduce it on a couple different systems (including the #bash
shbot :P):
echo '_() { exec <&- ;}; _ "$0" "$@"' >bleh.sh
cat bleh.sh | bash
Same doesn't cause any problems in recent `dash` or `zsh`.
Someone r