EXPR.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .TH EXPR 1
- .SH NAME
- expr - evaluate experession
- .SH SYNOPSIS
- fBexpr fIarg ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH EXAMPLES
- .EX "x=`expr $x + 1`" "Add 1 to shell variable x"
- .SH DESCRIPTION
- .PP
- fIExprfR 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.
- .SH "SEE ALSO"
- .BR sh (1),
- .BR test (1).