bad choice for a var name

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-29 20:46:18 +00:00
parent afac639c2d
commit 6126cd7859
+3 -3
View File
@@ -162,12 +162,12 @@ other operators are evaluated in place and leave their result in `$?`, e.g.
under `if`/`&&`/`||`.
```bash
var timeout = 5 # set (values become an array)
var testvar = 5 # set (values become an array)
var service_args = -a --long-arg "parameter"
service_args u --long-arg # membership in the array
timeout == 5 # compare first element against a value
timeout =~ '^[0-9]+$' # regex match
testvar == 5 # compare first element against a value
testvar =~ '^[0-9]+$' # regex match
```
Operators: