From the same site, the source code of ed:
while :;do read x;echo \?;done
-- https://www.gnu.org/fun/jokes/ed.html