consonantal digraph, an initial sequence used in Latin (and thus in English words from Latin) to represent Greek initial aspirated r-. The medial Greek form of it usually is represented by -rrh-, as in catarrh, diarrhea, hemorrhage, myrrh, Pyrrhic. As it was pronounced as simply "r" in Middle English (as in Old French and Spanish), the -h- tended to be dropped in spelling but was restored in early Modern English with the classical revival.
a sound represented in Old English by -sc- (fisc "fish"), which originally was pronounced "-sk-" but which by late Old English had softened to "-sh-." Modern English words with -sc- mostly are imports (generally Scandinavian).
The "sh" sound did not exist in Old French, therefore French scribes in England after the Norman conquest often represented it with -ssh- in medial and final positions, and sch- in initial positions (schape, schamful, schaft for shape, shameful, shaft). But the spelling -sh- has been standard since Caxton, probably as a worn-down form of Middle English -sch-.
In some East Anglian texts from 14c.-15c., x- is used (xal, xulde for shall, should), which would have given the language a very different look had it prevailed, but the London-based sh- ended up as the standard form. The same Germanic sound has become, by natural evolution, modern German and Dutch sch-, Scandinavian sk-.