#!/usr/bin/env bash # shift - Bitwise stream transform # v2.1.0 (2025-08-14) # # Applies rotational bit-shifting to each byte in the # input stream. Configurable offset with default of 7 # bits. Transform is reversible with the -r flag. # # Usage: shift [options] output # -o N Bit offset (default: 7) # -r Reverse transform # # Part of the rf0 analysis toolkit. # Gregory Alan, 2025 # See also: # /home/greg/bin/remap https://gregoryalan.com/home/greg/bin/remap # /var/log/daemon.log https://gregoryalan.com/var/log/daemon.log