aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.1
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-07-09 21:11:54 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-07-09 21:11:54 +0300
commite1749c3c853ace06796efd7dd3bd3e9bf025a549 (patch)
tree7e326a2d99075f6d7617692284f4d62cf06f4736 /doc/gawk.1
parent518bcc6e640648717bc5512d3fd5c2bf16d6fec3 (diff)
downloadegawk-e1749c3c853ace06796efd7dd3bd3e9bf025a549.tar.gz
egawk-e1749c3c853ace06796efd7dd3bd3e9bf025a549.tar.bz2
egawk-e1749c3c853ace06796efd7dd3bd3e9bf025a549.zip
Extend or(), and(), xor() to N arguments, N >= 2.
Diffstat (limited to 'doc/gawk.1')
-rw-r--r--doc/gawk.124
1 files changed, 9 insertions, 15 deletions
diff --git a/doc/gawk.1 b/doc/gawk.1
index a2cfab6e..4a19219a 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -2977,11 +2977,9 @@ integers, doing the operation, and then converting the
result back to floating point.
The functions are:
.TP "\w'\fBrshift(\fIval\fB, \fIcount\fB)\fR'u+2n"
-\fBand(\fIv1\fB, \fIv2\fB)\fR
-Return the bitwise AND of the values provided by
-.I v1
-and
-.IR v2 .
+\fBand(\fIv1\fB, \fIv2 \fR[, ...]\fB)\fR
+Return the bitwise AND of the values provided in the argument list.
+There must be at least two.
.TP
\fBcompl(\fIval\fB)\fR
Return the bitwise complement of
@@ -2994,11 +2992,9 @@ shifted left by
.I count
bits.
.TP
-\fBor(\fIv1\fB, \fIv2\fB)\fR
-Return the bitwise OR of the values provided by
-.I v1
-and
-.IR v2 .
+\fBor(\fIv1\fB, \fIv2 \fR[, ...]\fB)\fR
+Return the bitwise OR of the values provided in the argument list.
+There must be at least two.
.TP
\fBrshift(\fIval\fB, \fIcount\fB)\fR
Return the value of
@@ -3007,11 +3003,9 @@ shifted right by
.I count
bits.
.TP
-\fBxor(\fIv1\fB, \fIv2\fB)\fR
-Return the bitwise XOR of the values provided by
-.I v1
-and
-.IR v2 .
+\fBxor(\fIv1\fB, \fIv2 \fR[, ...]\fB)\fR
+Return the bitwise XOR of the values provided in the argument list.
+There must be at least two.
.PP
.SS Type Function
The following function is for use with multidimensional arrays.