declare - Declare variables and give them attributes.
-a Each name is an array variable.
-f Use function names only.
-i The variable is to be treated as an integer; arithmetic evaluation
is performed when the variable is assigned a value.
-p Display the attributes and values of each name. When '-p' is
used, additional options are ignored.
-r Make names readonly. These names cannot then be assigned
values by subsequent assignment statements or unset.
-x Mark each name for export to subsequent commands via the
environment.
Смотрите видео Bash Basics -- How to Use declare and array on Linux онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь WPJ852 29 Июнь 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 532 раз и оно понравилось 1 людям.