Data parsing question

Bad boy, zoomkat. The break command will get out of the while loop just as well, without the need for spaghetti code.

Indeed, however in this case it's functionally identical, in fact GCC will generate exactly the same output in this type of construct (jump to the next instruction outside a loop), and it may be argued that "break" is more opaque than "goto" in this case. No spaghetti code in sight, IMHO.