]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement gawk multiple-arg extension to and, or, and xor.
authorimp <imp@FreeBSD.org>
Thu, 14 Sep 2017 05:48:23 +0000 (05:48 +0000)
committerimp <imp@FreeBSD.org>
Thu, 14 Sep 2017 05:48:23 +0000 (05:48 +0000)
commitbc7f36b972dc65c3b7a83bd74a43e40fc4862882
tree099136cc59e74270d7ea7817325bfd84898e8eb3
parent30603bb99c82b0f0f3996057adead91ac1ce46bd
Implement gawk multiple-arg extension to and, or, and xor.

gawk allows multiple arguemnts to bit-wiste and, or and xor
functions. Implement an arbitrary number of arguments for these
functions. Also, use NULL in preference to 0 to match rest of file.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D12361
contrib/one-true-awk/run.c
usr.bin/awk/awk.1