help-bash
[Top][All Lists]
Advanced

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

Re: Bash


From: Greg Wooledge
Subject: Re: Bash
Date: Wed, 15 Apr 2020 14:46:58 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

On Wed, Apr 15, 2020 at 02:38:07PM -0400, Tim Visher wrote:
> At least that but also reading rows into an array or while reading over a
> resultset kind of thing. I don't know if newer versions of bash than I'm
> used to support multi dimensional arrays but that would be cool as
> well. ¯\_(ツ)_/¯

They don't.  Multi-dimensional arrays have to be emulated using tricks.
The most common tricks are to use an associative array with keys of the
form "$i,$j" (or similar), or to use indexed arrays with keys of the
form "i * 1000 + j" (or similar).



reply via email to

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