Hello.
Your post brings back memories, of when I first started my research, in the early 1980's at the LDS family centre, scrolling through the films of the 1820's OPR's of the Environs of Glasgow. I've had a quick look back through my notes of that time, but can't find a note made of what I found so interesting.
An OPR entry noting the Christening of a "foundling" left on the Kirk steps and given to a family in the parish to raise. They christened the child "Christian LOVE" Previously I had not given any thought to what happened to those born out of wedlock.
- Alan.