Re: dash drops exported bash functions

2016-02-11 Thread Stephane Chazelas
2016-02-11 15:30:59 +0100, Makarius: [...] > The problem is a deeper one, though: export -f in bash no longer > works for systems that have /bin/sh -> dash (i.e. Debian and > Ubuntu). [...] Note that pdksh/posh/mksh also strip those variables which it can't map to shell variable names (and have

Re: dash drops exported bash functions

2016-02-11 Thread Olof Johansson
On 2016-02-11 14:40 +0100, Makarius wrote: > In any case, the Debian guys need to get involved, but I am myself > not a member of that society. Why? It's an upstream patch, it's not Debian specific. https://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-027 Adapt your software instead? -- Olof

Re: dash drops exported bash functions

2016-02-11 Thread Makarius
On Thu, 11 Feb 2016, Makarius wrote: After reading the official (!) sources of bash-4.3, I've found out the following: Not the bash guys are introducing this ill-formed name decoration "%%", but the Debian guys. See http://sourcesdev.debian.net/patches/bash/4.3-14/bash43-027.diff This means

Re: dash drops exported bash functions

2016-02-11 Thread Makarius
On Thu, 11 Feb 2016, Olof Johansson wrote: On 2016-02-11 14:40 +0100, Makarius wrote: In any case, the Debian guys need to get involved, but I am myself not a member of that society. Why? It's an upstream patch, it's not Debian specific.