aboutsummaryrefslogtreecommitdiffstats
path: root/doc/awkcard.in
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2017-03-22 20:26:03 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2017-03-22 20:26:03 -0400
commit19bebf51939d4c24d261c5720b3e54333d441fa6 (patch)
tree00da0a8711b1a008be31ef6de6444cddf6570389 /doc/awkcard.in
parent1a417d68f71b18525c572b903086f451ed75902b (diff)
downloadegawk-19bebf51939d4c24d261c5720b3e54333d441fa6.tar.gz
egawk-19bebf51939d4c24d261c5720b3e54333d441fa6.tar.bz2
egawk-19bebf51939d4c24d261c5720b3e54333d441fa6.zip
Start to document new FIELDWIDTHS and API input parser capabilities.
Diffstat (limited to 'doc/awkcard.in')
-rw-r--r--doc/awkcard.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/awkcard.in b/doc/awkcard.in
index 418cc8d9..86aeee2e 100644
--- a/doc/awkcard.in
+++ b/doc/awkcard.in
@@ -556,8 +556,10 @@ fails, or if
\*(FCclose()\*(FR fails.
T}
\*(FCFIELDWIDTHS\fP T{
-Whitespace separated list of field widths. Used
-to parse the input into fields of fixed width,
+Whitespace-separated list of field widths.
+Each field width may optionally be preceded by a colon-separated
+value specifying the number of characters to skip before the field starts.
+Used to parse the input into fields of fixed width,
instead of the value of \*(FCFS\fP.\*(CD
T}
\*(FCFILENAME\fP T{
@@ -1017,6 +1019,8 @@ also affects how fields are split when
variable is set to a space-separated list of numbers, each field is
expected to have a fixed width, and \*(GK
splits up the record using the specified widths.
+Each field width may optionally be preceded by a colon-separated
+value specifying the number of characters to skip before the field starts.
The value of \*(FCFS\fP is ignored.
Assigning a new value to \*(FCFS\fP or \*(FCFPAT\fP
overrides the use of \*(FCFIELDWIDTHS\*(FR.