Co robi EXPR użycie. Konsola by spaces. In most cases, an argument is an integer, typed literally.

Czy przydatne?

Polecenie expr

Wykonanie, użycie: Evaluate arguments as expressions and print the results. Arguments and operators must be separated by spaces. In most cases, an argument is an integer, typed literally or represented by a shell variable. There are three types of operators: arithmetic, relational, and logical, as well as keyword expressions. Exit status for expr is 0 (expression is nonzero and nonnull), 1 (expression is 0 or null), or 2 (expression is invalid)

Opcje wykonania expr w konsoli

Przykłady expr działanie w Słownik polecenie E