Re: [Feature Request]export extglob from environment

2009-05-10 Thread Jan Schampera
Hello Chet, hello Raph, I was involved in the discussion on IRC (Freenode / #bash) yesterday, maybe I can give one or the other comment. It took a while for us to find out why it happens. When we knew it, and after some discussion, we agreed that the easiest way would be to make Bash able to init

Re: [Feature Request]export extglob from environment

2009-05-09 Thread Raph
Thank for the answer, even if I don't think that making available to programmers a notation which failed to be parsed at export because the interpreter rely on a specific option disabled by default is (always ?) a good idea; I'll precise my real use-case: I wanted to make some functions available o

Re: [Feature Request]export extglob from environment

2009-05-09 Thread Chet Ramey
Raph wrote: > Hello, > while trying to export this function : > > foo() { > case "$1" in > ?(a)) > echo a > ;; > esac > } > > with export -f foo I went into some problem > as soon as any

[Feature Request]export extglob from environment

2009-05-09 Thread Raph
Hello, while trying to export this function : foo() { case "$1" in ?(a)) echo a ;; esac } with export -f foo I went into some problem as soon as any new instance is launched : b