macOS / binaries /

refer

/usr/bin/refer
Preprocess bibliographic references for groff

refer copies the contents of file-name to the standard output, except that lines between .[ and .] are interpreted as citations, and lines between .R1 and .R2 are interpreted as commands about how citations are to be processed.

source: man