expr command for MoonX.
moonx cli/expr@0.2.2 EXPRESSION| Option | Description |
|---|---|
| EXPRESSION | Operators: |, &, comparisons, +, -, *, /, %, : and parentheses. |
| match / substr / index / length | String functions using byte positions. |
| + ARG | Treat the next argument literally. |
| --help / --version | Show help / package version. |
moonx cli/expr@0.2.2 2 + 3
moonx cli/expr@0.2.2 length example