advent2024

Advent of Code 2024
git clone git://bsandro.tech/advent2024
Log | Files | Refs

makenew.sh (99B)


      1 #!/bin/sh
      2 DAY=$1
      3 echo "AoC day $DAY"
      4 cp -r tpl "day$DAY"
      5 sed -i "s/\\\$DAY/$DAY/" day$DAY/main.cpp