Meu Redhat 9, OpenBSD 4.9, FreeBSD 10, MacOS X, LinuxMint 17.3 e Ubuntu 14.04.4, todos imprimem OK ao executar este:
myfunc() { echo OK; }
export -f myfunc
perl -e open\(\$fh,\"\|-\",\"@ARGV\"\)\;close\$fh\; /bin/bash\ -c\ myfunc\\ a
Meu...
01.08.2016 / 17:07