On 9/28/14, 11:38 AM, [email protected] wrote:
> If I use the Arch linux [testing] bash-4.3.027-1 which is uses this patch
> then I have a patch against the at(1) source which converts exported
> functions into something that sh can parse and allows exported functions to
> be used in the environment that calls at.
This looks like a problem with `at' assuming that everything in the
environment is a valid shell assignment statement (or equivalent). Since
the environment can include arbitrary strings, that's not a safe
assumption. Bash, for instance, ignores and passes environment strings
that it doesn't recognize as valid assignment statements.
> Also is there anyone here who knows where such a patch should be sent?
I'd send it to your vendor. If appropriate they can send it upstream.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/