There was a trend in the Middle Ages that involved changing the first letter of an abbreviated forename, so that Meg (short for Margaret) became Peg, Molly (short for Mary) became Polly and Rick (Richard) became Dick. Rob (Robert) became Bob and Will (William) became Bill. Ed (Edward) became Ted. Weird, but interesting.