A voir également:
- Taille max tableau
- Tableau word - Guide
- Comment réduire la taille d'un fichier - Guide
- Tableau ascii - Guide
- Trier un tableau excel - Guide
- Imprimer un tableau excel - Guide
1 réponse
Salut,
Extrait du man bash :
Extrait du man bash :
Tableaux
Bash propose des variables tableaux à une dimension. N'importe quelle
variable peut être utilisée comme tableau ; la commande interne declare
peut servir à déclarer explicitement un tableau. Il n'y a pas de limite
maximale à la taille d'un tableau, ni d'obligation que les membres
soient indexés ou assignés de manière contigûe. Les tableaux sont
indexés par des entiers en commençant à zéro.Extrait du man ksh :Parameters
Parameters are shell variables; they can be assigned values and their
values can be accessed using a parameter substitution. A parameter
name is either one of the special single punctuation or digit character
parameters described below, or a letter followed by zero or more let-
ters or digits (`_' counts as a letter). The later form can be treated
as arrays by appending an array index of the form: [expr] where expr is
an arithmetic expression. Array indicies are currently limited to the
range 0 through 1023, inclusive. Parameter substitutions take the form
$name, ${name} or ${name[expr]}, where name is a parameter name. If
substitution is performed on a parameter (or an array parameter ele-
ment) that is not set, a null string is substituted unless the nounset
option (set -o nounset or set -u) is set, in which case an error
occurs.;-))