aboutsummaryrefslogtreecommitdiff
path: root/2024/init.sh
diff options
context:
space:
mode:
Diffstat (limited to '2024/init.sh')
-rwxr-xr-x2024/init.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/2024/init.sh b/2024/init.sh
new file mode 100755
index 0000000..1028c3a
--- /dev/null
+++ b/2024/init.sh
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3nn="$(printf '%02d' $1)"
4mkdir -p $nn
5sed "s/DAY/$nn/g" template.make > $nn/Makefile
6cp template.cpp $nn/day${nn}a.cpp
7cp template.cpp $nn/day${nn}b.cpp

Generated with cgit - Back to sebastiano.tronto.net