The challenge: at the prompt take a line like
$ this is a long line with lots of space
and turn it into
$ this is a long line with lots of space
With GNU emacs, a mere M-h M-q does the job. But I bet bash is helpless
here.
P.S., if one day implementing emacs' just-one-space, note it will take
an argument soon, for the number of spaces needed.