pnmhisteq(1) on Linux
The text 9944c2155ad0, as Debian 12 (Bookworm) shipped it.
histogram equalize a PNM image
Flags it lists
-
-gray -
-noblack -
-nowhite -
-rmap -
-verbose -
-wmap