The second test there
env X='() { (a)=>\' sh -c "echo date"; cat echo
calls sh rather than bash, which is likely not linked to bash on Debian-y systems.Furthermore, keep in mind http://thejh.net/misc/website-terminal-copy-paste and use C-x C-e.