"a dog (especially a collie) trained to watch and tend sheep," 1774, from sheep (n.) + dog (n.).
Entries linking to sheep-dog
sheep n.
ruminant mammal of the genus Ovis, as a domestic species, one of the animals most useful to humans, Old English sceap, scep, Northumbrian scap, from West Germanic *skæpan (source also of Old Saxon scap, Old Frisian skep, Middle Low German schap, Middle Dutch scaep, Dutch schaap, Old High German scaf, German Schaf), a word of unknown origin. Not found in Scandinavian (Danish has faar for "sheep") or Gothic (which uses lamb), and with no known cognates outside Germanic. The more usual Indo-European word for the animal is represented in English by ewe.
The plural was leveled with the singular in Old English, but Old Northumbrian had a plural scipo. It has been used from Old English times as a type of timidity and figuratively of those under the guidance of God. The meaning "stupid, timid person" is attested from 1540s.
The image of the wolf in sheep's clothing was in Old English (from Matthew vii.15); that of separating the sheep from the goats is from Matthew xxv.33; the phrase itself by 1570s. To count sheep in a bid to induce sleep is recorded from 1854 but seems not to have been commonly written about until 1870s. It might simply be a type of a tedious activity, but an account of shepherd life from Australia from 1849 ["Sidney's Emigrant's Journal"] describes the night-shepherd ("hut-keeper") taking a count of the sheep regularly at the end of his shift to protect against being answerable for any animals later lost or killed.
Sheep's eyes "loving looks" is attested from 1520s (compare West Frisian skiepseach, Dutch schaapsoog, German Schafsauge). A sheep-biter was "an ill-trained mongrel, a dog that worries sheep" (1540s) and had extended senses: a mutton-monger" (1590s); and "a whore-monger" (1610s, i.e. one who "chases mutton"); hence Shakespeare's sheep-biting "thieving, sneaky." An old London chronicle c. 1450 has went to sheep-wash for "were slain."
dog n.
"quadruped of the genus Canis," Old English docga, a late, rare word, used in at least one Middle English source in reference specifically to a powerful breed of canine; other early Middle English uses tend to be depreciatory or abusive. Its origin remains one of the great mysteries of English etymology.
The word forced out Old English hund (the general Germanic and Indo-European word, from root from PIE root *kwon-) by 16c. and subsequently was picked up in many continental languages (French dogue (16c.), Danish dogge, German Dogge (16c.). The common Spanish word for "dog," perro, also is a mystery word of unknown origin, perhaps from Iberian. A group of Slavic "dog" words (Old Church Slavonic pisu, Polish pies, Serbo-Croatian pas) likewise is of unknown origin.
In reference to persons, by c. 1200 in abuse or contempt as "a mean, worthless fellow, currish, sneaking scoundrel." Playfully abusive sense of "rakish man," especially if young, "a sport, a gallant" is from 1610s. Slang meaning "ugly woman" is from 1930s; that of "sexually aggressive man" is from 1950s.
Many expressions — a dog's life (c. 1600), go to the dogs (1610s), dog-cheap (1520s), etc. — reflect the earlier hard use of the animals as hunting accessories, not pets. In ancient times, "the dog" was the worst throw in dice (attested in Greek, Latin, and Sanskrit, where the word for "the lucky player" was literally "the dog-killer"), which plausibly explains the Greek word for "danger," kindynos, which appears to be "play the dog" (but Beekes is against this).
Notwithstanding, as a dog hath a day, so may I perchance have time to declare it in deeds. [Princess Elizabeth, 1550]
Meaning "something poor or mediocre, a failure" is by 1936 in U.S. slang. From late 14c. as the name for a heavy metal clamp of some kind. Dog's age "a long time" is by 1836. Adjectival phrase dog-eat-dog "ruthlessly competitive" is by 1850s. Phrase put on the dog "get dressed up" (1934) may be from comparison of dog collars to the stiff stand-up shirt collars that in the 1890s were the height of male fashion (and were known as dog-collars from at least 1883).