htmlentity An awk program that decodes html entities. Installation bpkg install StephenHamilton/htmlentity Usage decodehtml accepts input on stdin, decodes the input, and outputs on stdout. decodehtml <<< "&" To Do Write a matching encoder.