How to act on command output containing spaces in Bash loops

from blog Drew's blogsite, | ↗ original
A fool-proof way to write loops in bash that don't split input on spaces.