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. https://ftp.gnu.org/gnu/bash/bash-4.3-patc

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.di

Re: dash drops exported bash functions

2016-02-11 Thread Makarius
On Thu, 11 Feb 2016, Makarius wrote: I am a long-term user of GNU bash who is depending on the "export -f" feature of that shell (in an application that is on the free market for decades). The bash guys turn a shell function "foo" into the environment variable "BASH_F

Re: dash drops exported bash functions

2016-02-10 Thread Makarius
d3c1a614f11f0d40a7e73376359618ff07abcd In that change 46d3c1a614f, the original motivation was to make "export -p" work more robustly in dash, and not to cripple export -f in bash because of POSIX violations. Makarius