diff --git a/README.md b/README.md index 87d798c..24d9603 100644 --- a/README.md +++ b/README.md @@ -172,6 +172,8 @@ timeout =~ '^[0-9]+$' # regex match Operators: +* `var name` — create the accessor function and return 0. + Normal BASH scoping pitfalls apply. * `var name = value [value...]` — set the variable (it becomes a bash array). * `var name += value [value...]` — append values. * `var name _= value [value...]` — prepend values. @@ -182,7 +184,6 @@ Operators: * `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. * `var name -v other_name` — build the accessor for `other_name` instead of `name` (so `name` acts on `other_name`).