Shell Programming/Control statements
Appearance
The test command can be shortened to '[' and when this is done in control statements it is customary to end it with an accompanying ']' like '[ ]'.
The test command can be shortened to '[' and when this is done in control statements it is customary to end it with an accompanying ']' like '[ ]'.