deeclare: declare as shell commands, used to declare variables shell , in a first syntax used to declare variables and set the properties of the variable ([RIX] is the properties of the variable), the syntax used to display a second shell functions . If plus any parameters, will all variables and functions of the shell (with the same effect by executing the set of instructions) display
DECLARE [+/-] [ RXI ] [Variable Name Value = Set] or DECLARE - F
- +/- "-" can be used to specify a variable properties, "+" is provided to cancel the variable properties.
- -f display function only.
- The variable r is set to read-only.
- The variable x will be specified in the environment variables available to the program other than the shell to use.
- I [Settings] can be a value, i.e. integer variables
1, the use -i properties
2, r cognitive attributes, namely r property can only read but not write settings can not be canceled after
3, -i + i property is canceled to add a digital numeric attributes, in the form of letters output must be a digital
Definition array 1
Definition array 2
Array output
Tips: If you open the file suffix .wap of vim compiled bar appears, usually hidden files need to use ls -a can be detected ,, deleted
Produce such documents, because the compiler generated file temporary swap file does not close properly, can be deleted, it does not matter