On Mon, May 27, 2019 at 12:12 PM Steffen Nurpmeso wrote:
> Actually only one.  Because that works on all shells i have
> tested, even on SunOS 5.9 /bin/sh.  If you do not care about
> portability why not use mksh or bash directly (in the shebang)?

I am not interested in a brittle function that leaks variables into the global
scope:

    $ quote_rndtrip aa
    'aa'

    $ echo "[$i]"
    [aa]

    $ echo "[$j]"
    [ ]

I am interested in having Dash source code modified such that it supports arrays
natively. If you have a patch for that I would be interested, thank you.

Reply via email to