Existuje v bashi neco jako pole

Dalibor Straka dast na panelnet.cz
Čtvrtek Květen 1 16:36:46 CEST 2003


On Thu, 1 May 2003, sasdad wrote:

> Dobry den,
> potreboval bych vytvorit promennou (pole), ktera by mela nekolik polozek. Existuje neco takoveho? Popripade jak se s tim pracuje.
> 
> Dekuji

RTFM 
man bash

Arrays 
Bash provides one-dimensional array variables.  Any variable may be used
as an array; the declare builtin will explicitly declare an array.There is
no maximum limit on the size of an array, nor any requirement that members
be indexed or assigned contiguously. Arrays are indexed using integers and
are zero-based.

-- Dalibor Straka



Další informace o konferenci Linux