HomeFreeBSD

Bring in bit operation functions, ala gawk.

Description

Bring in bit operation functions, ala gawk.

These are from OpenBSD:

Extend awk with bitwise operations. This is an extension to the awk
spec and documented as such, but comes in handy from time to time.
The prototypes make it compatible with a similar GNU awk extension.

ok millert@, enthusiasm from deraadt@

Edited to fix cut and paste in error messages, as well as
using tabs instead of spaces after #defines added.

Obtained From: OpenBSD awk.h 1.12, lex.c 1.10, run.c 1.29
Differential Revision: https://reviews.freebsd.org/D12361
Sponsored by: Netflix

Details

Provenance
impAuthored on
Differential Revision
D12361: Bring in bit operation functions, ala gawk.
Parents
rS323575: Add second entry to LUT on a link side in B2B mode.
Branches
Unknown
Tags
Unknown