From 31f457fb4f3ca8826c50775101813f069d0eb7b0 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 2 Sep 2022 13:23:11 -0300 Subject: v2/src/bin/extract: Include preamble when extracting --- v2/src/bin/extract | 2 ++ 1 file changed, 2 insertions(+) (limited to 'v2/src/bin') diff --git a/v2/src/bin/extract b/v2/src/bin/extract index a086264..7bbcba7 100755 --- a/v2/src/bin/extract +++ b/v2/src/bin/extract @@ -81,6 +81,8 @@ eval "$(assert-arg "$TYPE" '-t TYPE')" case "$TYPE" in content) + . "${FILENAME%.md}.entry-env" + printf '%s\n' "$PREAMBLE" awk ' separator >= 2 /^---$/ { separator++ } -- cgit v1.2.3