emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Export arrays for 'sh' code blocks when using bash


From: Pascal Fleury
Subject: Re: [O] Export arrays for 'sh' code blocks when using bash
Date: Wed, 23 Apr 2014 16:13:22 +0200

Hi,
Yes that is a test I added, and did not think of older versions of bash (have not used bash3 in quite a long time :-)

Actually, if we have bash3, then we should not use the associative arrays at all, but fallback to the lists.
Will give it a go.

--paf


On Wed, Apr 23, 2014 at 3:51 PM, Skip Collins <address@hidden> wrote:
On Tue, Apr 22, 2014 at 5:22 PM, Bastien <address@hidden> wrote:
> Mhh... okay then, thanks for mentioning it.

The stackoverflow link contains what appears to be a good workaround
that functions in old and new versions of bash. Perhaps Pascal Fleury
could modify the org code to avoid using 'declare -A' when bash
version < 4.



--
--paf

reply via email to

[Prev in Thread] Current Thread [Next in Thread]