Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh Fix example added in previous.



details:   https://anonhg.NetBSD.org/src/rev/e02e81f379e9
branches:  trunk
changeset: 556592:e02e81f379e9
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Dec 21 11:16:23 2003 +0000

description:
Fix example added in previous.

diffstat:

 bin/sh/sh.1 |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 86b2c9824117 -r e02e81f379e9 bin/sh/sh.1
--- a/bin/sh/sh.1       Sun Dec 21 11:12:32 2003 +0000
+++ b/bin/sh/sh.1       Sun Dec 21 11:16:23 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sh.1,v 1.73 2003/12/21 08:40:29 jdolecek Exp $
+.\"    $NetBSD: sh.1,v 1.74 2003/12/21 11:16:23 wiz Exp $
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -662,7 +662,10 @@
 both have the same priority.
 Note that these operators are left-associative, so
 .Dq true || echo bar && echo baz
-and nothing else.  This is not the way it works in C.
+writes
+.Dq baz
+and nothing else.
+This is not the way it works in C.
 .Ss Flow-Control Constructs -- if, while, for, case
 The syntax of the if command is
 .Bd -literal -offset indent



Home | Main Index | Thread Index | Old Index