shithub: trueawk

Download patch

ref: fabf9efece19b24f11aa26dd4b63f7af52ab4bcc
parent: 28dacbd66b5fb07add399e2ee9e46d85258e078d
author: Arnold D. Robbins <arnold@skeeve.com>
date: Thu Jun 6 07:29:20 EDT 2019

Minor fixes in the man page.

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-06-06         Arnold D. Robbins     <arnold@skeeve.com>
+
+	* awk.1: Fix a typo, minor edits.
+
 2019-06-05         Arnold D. Robbins     <arnold@skeeve.com>
 
 	* b.c (relex): Count parentheses and treat umatched right paren
--- a/awk.1
+++ b/awk.1
@@ -209,7 +209,7 @@
 if no argument.
 .TP
 .B rand
-random number on (0,1)
+random number on (0,1).
 .TP
 .B srand
 sets seed for
@@ -217,7 +217,7 @@
 and returns the previous seed.
 .TP
 .B int
-truncates to an integer value
+truncates to an integer value.
 .TP
 \fBsubstr(\fIs\fB, \fIm\fR [\fB, \fIn\^\fR]\fB)\fR
 the
@@ -228,9 +228,8 @@
 .I m 
 counted from 1.
 If no
-.IR m ,
-use the rest of the string
-.I 
+.IR n ,
+use the rest of the string.
 .TP
 .BI index( s , " t" )
 the position in
--