diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-01 09:40:19 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-01 09:40:19 +0100 |
| commit | 0aefd410a18acf826af5187cdb038fd9b4f25fc5 (patch) | |
| tree | f24d69d83567079412924bf6ce06e058673171b7 /2024/init.sh | |
| parent | 6c5fe99d41a3d63975deb08911ebb0e162684a43 (diff) | |
| download | aoc-0aefd410a18acf826af5187cdb038fd9b4f25fc5.tar.gz aoc-0aefd410a18acf826af5187cdb038fd9b4f25fc5.zip | |
Started 2024 + day 1
Diffstat (limited to '2024/init.sh')
| -rwxr-xr-x | 2024/init.sh | 7 |
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 | |||
| 3 | nn="$(printf '%02d' $1)" | ||
| 4 | mkdir -p $nn | ||
| 5 | sed "s/DAY/$nn/g" template.make > $nn/Makefile | ||
| 6 | cp template.cpp $nn/day${nn}a.cpp | ||
| 7 | cp template.cpp $nn/day${nn}b.cpp | ||
