expr.1
来自「操作系统设计与实现源码」· 1 代码 · 共 60 行
1
60 行
EXPR(1) Minix Programmer's Manual EXPR(1)
NAME
expr - evaluate experession
SYNOPSIS
expr arg ...
EXAMPLES
x=`expr $x + 1` # Add 1 to shell variable x
DESCRIPTION
Expr computes the value of its argument and writes the result on standard
output. The valid operators, in order of increasing precedence, are
listed below. Operators grouped by {...} have the same precedence. The
operators are: |, &, {<, <=, ==, !=, >=, >}, {+, -}, *, /, %, and :.
Parentheses are permitted.
SEE ALSO
sh(1), test(1).
1
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?