Fix example added in previous.

This commit is contained in:
wiz 2003-12-21 11:16:23 +00:00
parent f7c5e08a26
commit 4eb81d63b4
1 changed files with 5 additions and 2 deletions

View File

@ -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 @@ and
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