Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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 stan-
       dard 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)

NAME | SYNOPSIS | EXAMPLES | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=expr&sektion=1&manpath=Minix+2.0>

home | help