name file key 'path'
This commit is contained in:
2
Makefile
2
Makefile
@@ -41,7 +41,7 @@ include cmd.mk
|
|||||||
$(databases): .dbs/%.rec: %/ | .dbs/
|
$(databases): .dbs/%.rec: %/ | .dbs/
|
||||||
$(info making $(@F))
|
$(info making $(@F))
|
||||||
for entry in $(shell find $< -type f -name "*.md") ; do \
|
for entry in $(shell find $< -type f -name "*.md") ; do \
|
||||||
printf "file: %s\n" "$$entry" ;\
|
printf "path: %s\n" "$$entry" ;\
|
||||||
sed -n '2,/^---$$/ {/^---$$/d; p}' "$$entry" |\
|
sed -n '2,/^---$$/ {/^---$$/d; p}' "$$entry" |\
|
||||||
tr -d '[]' | tr -s ' ' |\
|
tr -d '[]' | tr -s ' ' |\
|
||||||
sed '/tags: /s/, /\ntag: /g ; s/tags:/tag:/ ; /requires/s/, /\nrequires: /g' ;\
|
sed '/tags: /s/, /\ntag: /g ; s/tags:/tag:/ ; /requires/s/, /\nrequires: /g' ;\
|
||||||
|
|||||||
Reference in New Issue
Block a user