-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/29/14, 9:58 PM, Marshall Giguere wrote:

> Bash Version: 4.2
> Patch Level: 25
> Release Status: release
> 
> Description:
> Submitting a shell script job to "at" either via pipe, or
> command line fails.

It fails if you have exported functions in your environment.  This is a bug
in `at': specifically, its assumption that every string that appears in the
environment is a valid shell identifier.  This was never a valid
assumption to make, but now that exported functions use characters outside
the identifier namespace it's become more apparent.  The problem is
amplified by the fact that dash is reacting poorly to whatever `at' is
trying to do to format the environment strings as assignment statements.

I believe that the upstream `at' developer is working on a fix.

Chet

- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iEUEARECAAYFAlRST1gACgkQu1hp8GTqdKsqZgCfVgW688lpx7NNTDrRlQyCp15C
PvkAl2TTvqdsoRh9r6+tnKk6QXQ3FNM=
=i5Yh
-----END PGP SIGNATURE-----

Reply via email to