summaryrefslogtreecommitdiff
path: root/qdsg.sh
diff options
context:
space:
mode:
authorzeldakatze <coffee@zeldakatze.de>2025-08-20 19:30:33 +0200
committerzeldakatze <coffee@zeldakatze.de>2025-08-20 19:30:33 +0200
commitb48b5b9bbc8dbae6d5362e5bbf68985412cab5fc (patch)
tree9131e073bde0c4f212d9dbbc16b9e80e0e62f663 /qdsg.sh
downloadwebsite-b48b5b9bbc8dbae6d5362e5bbf68985412cab5fc.tar.gz
website-b48b5b9bbc8dbae6d5362e5bbf68985412cab5fc.zip
Initial commitHEADmain
Diffstat (limited to 'qdsg.sh')
-rwxr-xr-xqdsg.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/qdsg.sh b/qdsg.sh
new file mode 100755
index 0000000..28bbb07
--- /dev/null
+++ b/qdsg.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+mkdir -p out/
+
+for inFile in in/*.html; do
+ [ -e "$inFile" ] || continue
+
+ echo "Processing file $inFile"
+ filename=$(basename "$inFile")
+ outFile="out/$filename"
+ cat header.html > "$outFile"
+ cat "$inFile" >> "$outFile"
+ cat footer.html >> "$outFile"
+done