mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
sh(1): Update description of arithmetic.
This commit is contained in:
parent
6262b84eee
commit
075b72ef01
1 changed files with 3 additions and 8 deletions
11
bin/sh/sh.1
11
bin/sh/sh.1
|
|
@ -32,7 +32,7 @@
|
|||
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd February 4, 2011
|
||||
.Dd February 8, 2011
|
||||
.Dt SH 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -1499,13 +1499,8 @@ and contain integer constants.
|
|||
.Li "* / % + - << >> < <= > >= == != & ^ | && ||"
|
||||
.It Assignment operators
|
||||
.Li "= += -= *= /= %= <<= >>= &= ^= |="
|
||||
.It Short-circuit evaluation
|
||||
The
|
||||
.Li &&
|
||||
and
|
||||
.Li ||
|
||||
operators always evaluate both sides.
|
||||
This is a bug.
|
||||
.It Conditional operator
|
||||
.Li "? :"
|
||||
.El
|
||||
.Pp
|
||||
The result of the expression is substituted in decimal.
|
||||
|
|
|
|||
Loading…
Reference in a new issue