summaryrefslogtreecommitdiff
path: root/literature.meta.yml.gup
blob: a4c0d420fd0ace4e56d28d483863d36184d839fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env zsh

exec 1>$1

echo '---'

cat <<-EOF
	lang: de-de
	link-citations: true
	EOF

printf "bibliography:\n"

typeset -a bibFiles
bibFiles=(literature/**.bibtex)

gup --contents <<<"${bibFiles}"
for bibFile (${bibFiles}); do
    printf "  - %s\n" ${bibFile}
done

echo '...'