#!/bin/sh # biberls [-v] FILE.BIB - list biblatex bibliography keys jqscript='.[] | .id' if [ "$1" = -v ]; then shift jqscript=' .[] | .id + " : " + (.author // .editor // [] | map("\(.given) \(.family)") | join(", ") ) + " : " + .title ' fi pandoc-citeproc -j "$1" | jq -r "$jqscript" #biber --tool -q -O /dev/stdout --output-format=biblatexml "$1" | # xmllint --xpath '//*[local-name()="entry"]/@id' - | # grep -Po '".*?"' | # tr -d '"'