Chet Ramey wrote:
Thanks for the report. I fixed this, and the fix is in the devel branch. `mapfile' only takes a single variable name argument, and ignores others. This is identical to the first example.
--- I see... but it pointed out that declare doesn't actually die until it touch's b, otherwise we wouldn't have seen the "a: not found"... not that you needed that info to isolate the problem.