summaryrefslogtreecommitdiff
path: root/doc/gawk.1
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-11-26 20:53:35 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-11-26 20:53:35 +0200
commit6e786c0622d9afd845ff56ac83c6bc9726dbe230 (patch)
tree4c4894d35e2da7671750de7cac845471f1fa4728 /doc/gawk.1
parent868a694807f0b0a617a47648910a7004b2b9ff97 (diff)
parent7eac08335f61dc6b0f236f9bf7c3ad434576b70f (diff)
downloadgawk-6e786c0622d9afd845ff56ac83c6bc9726dbe230.tar.gz
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'doc/gawk.1')
-rw-r--r--doc/gawk.110
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/gawk.1 b/doc/gawk.1
index 17e25768..5caff79b 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -13,7 +13,7 @@
. if \w'\(rq' .ds rq "\(rq
. \}
.\}
-.TH GAWK 1 "Apr 08 2018" "Free Software Foundation" "Utility Commands"
+.TH GAWK 1 "Nov 26 2018" "Free Software Foundation" "Utility Commands"
.SH NAME
gawk \- pattern scanning and processing language
.SH SYNOPSIS
@@ -3053,7 +3053,7 @@ is the possibly null separator that appeared after
The value of
.B seps[0]
is the possibly null leading separator.
-\&\fRIf
+If
.I r
is omitted,
.B FPAT
@@ -3093,7 +3093,7 @@ between
.BI a[ i ]
and
.BI a[ i +1]\fR.
-\&\fRIf
+If
.I r
is a single space, then leading whitespace in
.I s
@@ -3106,6 +3106,10 @@ where
is the return value of
.BI split( s ", " a ", " r ", " seps )\fR.
Splitting behaves identically to field splitting, described above.
+In particular, if
+.I r
+is a single-character string, that string acts as the separator,
+even if it happens to be a regular expression metacharacter.
.TP
.BI sprintf( fmt , " expr-list" )
Print