Merge branch 'jc/allow-strlen-substitution-in-shell-scripts'
Coding guideline update.
* jc/allow-strlen-substitution-in-shell-scripts:
CodingGuidelines: allow ${#posix} == strlen($posix)
This commit is contained in:
@ -91,8 +91,6 @@ For shell scripts specifically (not exhaustive):
|
|||||||
|
|
||||||
- No shell arrays.
|
- No shell arrays.
|
||||||
|
|
||||||
- No strlen ${#parameter}.
|
|
||||||
|
|
||||||
- No pattern replacement ${parameter/pattern/string}.
|
- No pattern replacement ${parameter/pattern/string}.
|
||||||
|
|
||||||
- We use Arithmetic Expansion $(( ... )).
|
- We use Arithmetic Expansion $(( ... )).
|
||||||
|
|||||||
Reference in New Issue
Block a user