awk

A bit awkward, but itโ€™s POSIX.