Minor fixes in the man page.

This commit is contained in:
Arnold D. Robbins 2019-06-06 11:29:20 -06:00
parent 28dacbd66b
commit fabf9efece
2 changed files with 8 additions and 5 deletions

View File

@ -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> 2019-06-05 Arnold D. Robbins <arnold@skeeve.com>
* b.c (relex): Count parentheses and treat umatched right paren * b.c (relex): Count parentheses and treat umatched right paren

9
awk.1
View File

@ -209,7 +209,7 @@ or length of
if no argument. if no argument.
.TP .TP
.B rand .B rand
random number on (0,1) random number on (0,1).
.TP .TP
.B srand .B srand
sets seed for sets seed for
@ -217,7 +217,7 @@ sets seed for
and returns the previous seed. and returns the previous seed.
.TP .TP
.B int .B int
truncates to an integer value truncates to an integer value.
.TP .TP
\fBsubstr(\fIs\fB, \fIm\fR [\fB, \fIn\^\fR]\fB)\fR \fBsubstr(\fIs\fB, \fIm\fR [\fB, \fIn\^\fR]\fB)\fR
the the
@ -228,9 +228,8 @@ that begins at position
.I m .I m
counted from 1. counted from 1.
If no If no
.IR m , .IR n ,
use the rest of the string use the rest of the string.
.I
.TP .TP
.BI index( s , " t" ) .BI index( s , " t" )
the position in the position in