Files
oldlinux-files/Minix/2.0.0/wwwman/man1/expr.1.html
2024-02-19 00:21:39 -05:00

72 lines
985 B
HTML

<HTML>
<HEAD>
<TITLE>expr(1)</TITLE>
</HEAD>
<BODY>
<H1>expr(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
expr - evaluate experession
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>expr</STRONG> <EM>arg</EM> ...
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>x=`expr</STRONG> <STRONG>$x</STRONG> <STRONG>+</STRONG> <STRONG>1`</STRONG> # Add 1 to shell variable x
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Expr</EM> 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: |, &amp;, {&lt;, &lt;=, ==, !=, &gt;=, &gt;}, {+, -}, *, /, %, and :.
Parentheses are permitted.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man1/sh.1.html">sh(1)</A></STRONG>, <STRONG><A HREF="../man1/test.1.html">test(1)</A></STRONG>.
</PRE>
</BODY>
</HTML>