Skip to content

Commit 7d28d69

Browse files
committed
Merge branch 'jc/allow-strlen-substitution-in-shell-scripts'
Coding guideline update. * jc/allow-strlen-substitution-in-shell-scripts: CodingGuidelines: allow ${#posix} == strlen($posix)
2 parents dfdce31 + 78725eb commit 7d28d69

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Documentation/CodingGuidelines

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ For shell scripts specifically (not exhaustive):
9191

9292
- No shell arrays.
9393

94-
- No strlen ${#parameter}.
95-
9694
- No pattern replacement ${parameter/pattern/string}.
9795

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

0 commit comments

Comments
 (0)