minix man page for expr

Query: expr

OS: minix

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

EXPR(1) 						      General Commands Manual							   EXPR(1)

NAME
expr - evaluate experession
SYNOPSIS
expr arg ...
EXAMPLES
x=`expr + 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). EXPR(1)
Related Man Pages
expr(1b) - sunos
expr(1b) - opensolaris
expr(1) - osx
expr(1) - xfree86
expr(1) - x11r4
Similar Topics in the Unix Linux Community
regular expression for MAC address validation
shell script for extracting out the shortest substring from the given starting and en
AWK Script Issue insert newline for a regular expression match
Sed: -e expression #1, char 16: unterminated address regex
Use of expr to calc differenc ein to epoch values