diff options
author | jilles <jilles@FreeBSD.org> | 2011-02-08 23:19:40 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-02-08 23:19:40 +0000 |
commit | a0549c0f22e67847a4af56f2ce416a4ecbe37d10 (patch) | |
tree | 6aad79dd66d11aea4a425ed23ae5c678f4ed8b2f /bin | |
parent | 1cbab8a321b4fa3392f1ed1ec381b3fadbc41558 (diff) | |
download | FreeBSD-src-a0549c0f22e67847a4af56f2ce416a4ecbe37d10.zip FreeBSD-src-a0549c0f22e67847a4af56f2ce416a4ecbe37d10.tar.gz |
sh(1): Update description of arithmetic.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/sh.1 | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 1a3124d..4ff7d3d 100644 --- a/bin/sh/sh.1 +++ b/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. |