as a greeting, 1859, but the word is attested as a sailor's or huntsman's utterance since early 15c. Modern popularity dates from World War II (when, it is said, it was a common response at roll calls) and seems to have been most intense in Philadelphia.[yo etymology, yo origin, 英语词源]