diff options
| author | Warner Losh <imp@FreeBSD.org> | 2017-09-14 05:48:23 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2017-09-14 05:48:23 +0000 |
| commit | 73f7ff91b2e0fb568779b6ab0393079294506fbc (patch) | |
| tree | 099136cc59e74270d7ea7817325bfd84898e8eb3 /usr.bin/awk | |
| parent | 69679fc10f063232621951eefb5d4d5ca5ae4759 (diff) | |
Notes
Diffstat (limited to 'usr.bin/awk')
| -rw-r--r-- | usr.bin/awk/awk.1 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1 index 2de54738031d..aba0f393dd08 100644 --- a/usr.bin/awk/awk.1 +++ b/usr.bin/awk/awk.1 @@ -690,12 +690,15 @@ and returns its exit status. .Bl -tag -width "lshift(a, b)" .It Fn compl x Returns the bitwise complement of integer argument x. -.It Fn and x y -Performs a bitwise AND on integer arguments x and y. -.It Fn or x y -Performs a bitwise OR on integer arguments x and y. -.It Fn xor x y -Performs a bitwise Exclusive-OR on integer arguments x and y. +.It Fn and v1 v2 ... +Performs a bitwise AND on all arguments provided, as integers. +There must be at least two values. +.It Fn or v1 v2 ... +Performs a bitwise OR on all arguments provided, as integers. +There must be at least two values. +.It Fn xor v1 v2 ... +Performs a bitwise Exclusive-OR on all arguments provided, as integers. +There must be at least two values. .It Fn lshift x n Returns integer argument x shifted by n bits to the left. .It Fn rshift x n |
