From 282b7db22105f82c2927c1f4e1c746ae157dbf2a Mon Sep 17 00:00:00 2001 From: schwarze Date: Fri, 16 Jan 2015 15:53:24 +0000 Subject: [PATCH] fix placement of opening parentheses, and drop some .Xo while here --- usr.bin/awk/awk.1 | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1 index 6d05cb7a483..3c9f24d82c6 100644 --- a/usr.bin/awk/awk.1 +++ b/usr.bin/awk/awk.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: awk.1,v 1.42 2014/12/15 20:31:40 tedu Exp $ +.\" $OpenBSD: awk.1,v 1.43 2015/01/16 15:53:24 schwarze Exp $ .\" .\" Copyright (C) Lucent Technologies 1997 .\" All Rights Reserved @@ -22,7 +22,7 @@ .\" ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF .\" THIS SOFTWARE. .\" -.Dd $Mdocdate: December 15 2014 $ +.Dd $Mdocdate: January 16 2015 $ .Dt AWK 1 .Os .Sh NAME @@ -199,19 +199,11 @@ An action is a sequence of statements. A statement can be one of the following: .Pp .Bl -tag -width Ds -offset indent -compact -.It Xo Ic if ( Ar expression ) Ar statement -.Op Ic else Ar statement -.Xc -.It Ic while ( Ar expression ) Ar statement -.It Xo Ic for -.No ( Ar expression ; expression ; expression ) statement -.Xc -.It Xo Ic for -.No ( Ar var Ic in Ar array ) statement -.Xc -.It Xo Ic do -.Ar statement Ic while ( Ar expression ) -.Xc +.It Ic if Ar ( expression ) Ar statement Op Ic else Ar statement +.It Ic while Ar ( expression ) Ar statement +.It Ic for Ar ( expression ; expression ; expression ) statement +.It Ic for Ar ( var Ic in Ar array ) statement +.It Ic do Ar statement Ic while Ar ( expression ) .It Ic break .It Ic continue .It Xo Ic { -- 2.20.1