diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-06-11 20:35:02 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-06-11 20:35:02 +0300 |
commit | c02d836a8cdfd0c26d56b4547dfef69a762a3576 (patch) | |
tree | da2cafbd7381592eb818a41c16149c6debf04539 /doc/gawktexi.in | |
parent | 8885876b4479b55c45a580addeffe36a18c7d5e4 (diff) | |
download | egawk-c02d836a8cdfd0c26d56b4547dfef69a762a3576.tar.gz egawk-c02d836a8cdfd0c26d56b4547dfef69a762a3576.tar.bz2 egawk-c02d836a8cdfd0c26d56b4547dfef69a762a3576.zip |
Small improvement in documentation of RS.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 4ac3133f..8ed19cbf 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -6371,6 +6371,13 @@ Using an unusual character such as @samp{/} is more likely to produce correct behavior in the majority of cases, but there are no guarantees. The moral is: Know Your Data. +@command{gawk} allows @code{RS} to be a full regular expression +(discussed shortly; @pxref{gawk split records}). Even so, using +a regular expression metacharacter, such as @samp{.} as the single +character in the value of @code{RS} has no special effect: it is +treated literally. This is required for backwards compatibility with +both Unix @command{awk} and with POSIX. + When using regular characters as the record separator, there is one unusual case that occurs when @command{gawk} is being fully POSIX-compliant (@pxref{Options}). |