Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
On 14/07/15 06:49, Dmitry Bogatov wrote:
> Guile is for situations, when script is mainly calls other programs,
> but still needs moderately complex logic of text manipulation,
> compraison and mapping. Recently I wrote script, that had to emulate
> map(data structure). Well, I would prefer that is was part of Bash.
Bash has associative arrays, which is the data structure other languages
refer to as a map.
> Second (possible) reason is that it allows Bash to be extended by every
> user in Emacs way. After all, Guile was created for this to be possible.
Bash has coproc, which allows 2-way communication with other processes
including scripting language interpreters. (Whether that's a good idea
or not is a different story, but it's possible.)
signature.asc Description: OpenPGP digital signature