EXPR.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .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).