From f0367fb142a3eb04765aa7753cd8225348a20746 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Wed, 27 Nov 2024 08:42:55 -0600 Subject: [PATCH] now with proper output file name creation --- makepdf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepdf.sh b/makepdf.sh index 23d635a..5c59fdd 100644 --- a/makepdf.sh +++ b/makepdf.sh @@ -1,7 +1,7 @@ #!/bin/bash INPUT_FILE="$1" -OUTPUT_FILE="$(basename $INPUT_FILE).pdf" +OUTPUT_FILE="$(echo $INPUT_FILE|awk -F '.' '{print $1}').pdf" METADATA_FILE="$2" TEMPLATE="eisvogel" PANDOC_OPTIONS="--listings"