AWK Easy · Lesson 4

Bit operations and switch statements

Mask and shift with and, or, xor, lshift and rshift, invert with compl, and branch with gawk's switch/case.

Lessons · AWK Easy · Lesson 4 of 10

Bit operations and switch statements

Mask and shift with and, or, xor, lshift and rshift, invert with compl, and branch with gawk's switch/case.

Illustration for AWK
Mask and shift with and, or, xor, lshift and rshift, invert with compl, and branch with gawk's switch/case.