casile
casile copied to clipboard
E-Book meta-data can have names split
So for we're saving names in meta data as full given names. This is usually what's needed, but sometimes (e.g. for some ebook metadata fields) we need names split up. One way to do that would be with this trick:
$ echo '@misc{x,author={Caleb Ede Maclennan}}' | pandoc -f bibtex -t gfm -s | grep -v -- '---' | yq -y .references[0].author
- family: Maclennan
given: Caleb Ede