[OpenWrt-Devel] Question regarding call python script

Paul Fertser fercerpav at gmail.com
Fri Mar 11 05:42:58 EST 2016


On Fri, Mar 11, 2016 at 08:37:31PM +1000, Jason Wu wrote:
> >>As a sidenote, POSIX shell doesn't support associative arrays (which
> >>were mentioned in this thread), so it's probably worth clarifying
> >>whether it's ok to require bash >= 4 for OpenWrt build scripts or not.
> >>
> >
> >what exactly do you need them for and can you solve it in a different
> >way ? ideally we run on as many distros as possible.
> 
> I can use indexed array instead of associative array.

Citing a SO answer: "POSIX shells have one array: the positional
parameters ($1, $2, etc., collectively refered to as "$@")".

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list