aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.1
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-11-26 22:02:21 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-11-26 22:02:21 +0200
commitdc9c45a6258d9ab495bcd6dc97992532d5a2b862 (patch)
tree06081563ac8cbd14d5fcb8d4a98413801f8bcd65 /doc/gawk.1
parent1e6c88c44319694bfb2e9c0ca11db01ec670f0ad (diff)
parent4d481023b2ff756dc8c77c66e6a4864f9c072007 (diff)
downloadegawk-dc9c45a6258d9ab495bcd6dc97992532d5a2b862.tar.gz
egawk-dc9c45a6258d9ab495bcd6dc97992532d5a2b862.tar.bz2
egawk-dc9c45a6258d9ab495bcd6dc97992532d5a2b862.zip
Merge branch 'master' into feature/fix-comments
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