#
# mkbibresources -- this script builds the addbibresources.tex file
#
# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
#
awk 'BEGIN {
	printf("%%\n")
	printf("%% addbibresources.tex -- file to add all bib resources\n")
	printf("%%\n")
	printf("%% (c) 2020 Prof Dr Andreas Müller, Hochschule Rapperswil\n")
	printf("%%\n")
}
{
	printf("\\addbibresource{papers/%s/references.bib}\n", $1)
}' common/paperlist > common/addbibresources.tex