Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/historical/nawk/bin Remove macros with no effect.
details: https://anonhg.NetBSD.org/src/rev/9143d409054b
branches: trunk
changeset: 967687:9143d409054b
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Dec 18 10:17:48 2019 +0000
description:
Remove macros with no effect.
diffstat:
external/historical/nawk/bin/awk.1 | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diffs (74 lines):
diff -r 658ca7e7301c -r 9143d409054b external/historical/nawk/bin/awk.1
--- a/external/historical/nawk/bin/awk.1 Wed Dec 18 07:37:17 2019 +0000
+++ b/external/historical/nawk/bin/awk.1 Wed Dec 18 10:17:48 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: awk.1,v 1.6 2019/12/17 18:35:57 christos Exp $
+.\" $NetBSD: awk.1,v 1.7 2019/12/18 10:17:48 wiz Exp $
.Dd December 19, 2019
.Dt AWK 1
.Os
@@ -194,7 +194,7 @@
.It Ic ?:
C conditional expression.
This is used as
-.Ar expr1 Ic \&? Ar expr2 Ic \&: Ar expr3 No .
+.Ar expr1 Ic \&? Ar expr2 Ic \&: Ar expr3 .
If
.Ar expr1
is true, the result value is
@@ -212,7 +212,6 @@
.El
.Ss Control Statements
The control statements are as follows:
-.Pp
.Bl -tag -width indent
.It Ic if \&( Ar expression Ic \&) Ar statement Bq Ic else Ar statement
.It Ic while \&( Ar expression Ic \&) Ar statement
@@ -223,7 +222,7 @@
.It Ic break
.It Ic continue
.It Ic \&{ Ar [ statement ... ] Ic \&}
-.It Ic Ar expression
+.It Ar expression
Commonly var = expression
.It Ic return Bq Ar expression
.It Ic next
@@ -235,12 +234,11 @@
.It Ic delete Va array
Delete all elements of an array
.It Ic exit Bq Ar expression
-Exit immediately; status is
+Exit immediately; status is
.Ar expression
.El
.Ss I/O Statements
The input/output statements are as follows:
-.Pp
.Bl -tag -width indent
.It Fn close expr
Closes the file or pipe
@@ -286,7 +284,7 @@
if
.Ic \*[Gt] file
or to a pipe if
-.Ic | Ar expr
+.Ic \&| Ar expr
is present),
separated by the current output field separator
.Va OFS ,
@@ -308,7 +306,6 @@
.El
.Ss Mathematical and Numeric Functions
AWK has the following mathematical and numerical functions built-in:
-.Pp
.Bl -tag -width indent
.It Fn atan2 x y
Returns the arctangent of
@@ -356,7 +353,6 @@
.El
.Ss String Functions
AWK has the following string functions built-in:
-.Pp
.Bl -tag -width indent
.It Fn gensub r s h [t]
Search the target string
Home |
Main Index |
Thread Index |
Old Index