Re: Patch for autoload.v3 to allow export of function

2017-02-08 Thread Eduardo Bustamante
On Wed, Feb 8, 2017 at 11:27 AM, Matthew Persico wrote: [...] > > Where should it be discussed and how does one format and submit a patch > (fork, clone, pull request or patch submission on the savanah site or > something else)? Hi Matthew, you can send patches to this list, or to Chet Ramey. You

Here strings and brace expansion not working as per man page

2017-02-08 Thread Conor McCarthy
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linu x-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/ local/share/locale' -DPACKA

Patch for autoload.v3 to allow export of function

2017-02-08 Thread Matthew Persico
I would like to submit a patch to the autoload.v3 script. The modification would allow the export of the autoloaded function to subshells. autoload() would now take a -x option, pass it into _aload() which would then make the approrpiate calls to export -f. Where should it be discussed and how d