Merge branch 'jc/allow-strlen-substitution-in-shell-scripts'

Coding guideline update.

* jc/allow-strlen-substitution-in-shell-scripts:
  CodingGuidelines: allow ${#posix} == strlen($posix)
maint
Junio C Hamano 2020-04-22 13:42:48 -07:00
commit 7d28d69174
1 changed files with 0 additions and 2 deletions

View File

@ -91,8 +91,6 @@ For shell scripts specifically (not exhaustive):

- No shell arrays.

- No strlen ${#parameter}.

- No pattern replacement ${parameter/pattern/string}.

- We use Arithmetic Expansion $(( ... )).