Today I was wanting to break out a large certificate bundle, containing many X509 PEM-encoded certs, into separate files. While I was thinking about scripting it myself, I realised _surely_ someone has done this before? It's a pretty standard thing for sysadmins to have done before, so resorted to searching online.
Lo and behold, I found two great solutions via [_How to split a PEM file_ on Server Fault](https://serverfault.com/questions/391396/how-to-split-a-pem-file):
Using the `split` command, which I've not tried before: