@@ -178,8 +178,9 @@ Operators:
|
||||
* `var name := value [value...]` — set only if the variable is unset or empty.
|
||||
* `var name == value` — exit 0 if the variable's first element equals `value`.
|
||||
* `var name =~ regex` — exit 0 if the variable's first element matches `regex`.
|
||||
* `var name is file` / `is dir` / `is directory` / `is fs_object` / `is empty` —
|
||||
filesystem-style tests on the value.
|
||||
* `var name is empty` — exit 0 if the variable is an empty string.
|
||||
* `var name is file` / `is dir` / `is directory` / `is fs_object` — check if
|
||||
the value of name[0] points to a filesystem object.
|
||||
* `var name u value` — exit 0 if `value` is one of the array's elements.
|
||||
* `var name` — create the accessor function and exit.
|
||||
* `name++` / `name--` — increment/decrement the first element.
|
||||
|
||||
Reference in New Issue
Block a user