Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2011 23:19:40 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218467 - head/bin/sh
Message-ID:  <201102082319.p18NJevx063427@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Tue Feb  8 23:19:40 2011
New Revision: 218467
URL: http://svn.freebsd.org/changeset/base/218467

Log:
  sh(1): Update description of arithmetic.

Modified:
  head/bin/sh/sh.1

Modified: head/bin/sh/sh.1
==============================================================================
--- head/bin/sh/sh.1	Tue Feb  8 23:18:06 2011	(r218466)
+++ head/bin/sh/sh.1	Tue Feb  8 23:19:40 2011	(r218467)
@@ -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102082319.p18NJevx063427>