awk(1) lacks \S; bc(1) uppercase hex; printf \OCT
awk(1) lacks \S; bc(1) uppercase hex; printf \OCT

awk(1) 3.1.5 lacks \S, so use [[:print:]].

bc(1) 1.06 fails on lowercase hex digits.

dash(1) wants 3 escapes, bash(1) wants 2;
avoid all escaping by calling a function.

sunaku/dasht