summaryrefslogtreecommitdiff
path: root/literature.meta.yml.gup
diff options
context:
space:
mode:
Diffstat (limited to 'literature.meta.yml.gup')
-rwxr-xr-x[-rw-r--r--]literature.meta.yml.gup21
1 files changed, 5 insertions, 16 deletions
diff --git a/literature.meta.yml.gup b/literature.meta.yml.gup
index a4c0d42..64ad0fd 100644..100755
--- a/literature.meta.yml.gup
+++ b/literature.meta.yml.gup
@@ -1,22 +1,11 @@
1#!/usr/bin/env zsh 1#!/usr/bin/env zsh
2 2
3exec 1>$1 3gup -u literature.bibtex
4 4
5echo '---' 5cat >$1 <<-EOF
6 6 ---
7cat <<-EOF
8 lang: de-de 7 lang: de-de
9 link-citations: true 8 link-citations: true
9 bibliography: literature.bibtex
10 ...
10 EOF 11 EOF
11
12printf "bibliography:\n"
13
14typeset -a bibFiles
15bibFiles=(literature/**.bibtex)
16
17gup --contents <<<"${bibFiles}"
18for bibFile (${bibFiles}); do
19 printf " - %s\n" ${bibFile}
20done
21
22echo '...'