Gee, except for the one phrase, those lyrics aren't anything like the shanty. My guess is that sailors just liked the sound of it, and the musical phrase that carried it, and just took it from there.