From 4ab8876daa573ae49be0dda0507d18446cda8dba Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 7 Dec 2022 17:53:31 +0100 Subject: Add 2022 day 7 solutions --- Makefiles/sh.mk | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefiles/sh.mk (limited to 'Makefiles/sh.mk') diff --git a/Makefiles/sh.mk b/Makefiles/sh.mk new file mode 100644 index 0000000..2eaa3a2 --- /dev/null +++ b/Makefiles/sh.mk @@ -0,0 +1,9 @@ +.POSIX: + +all: + sed '/START PART 2/,/END PART 2/d' puzzles.sh >puzzle-1.sh + sed '/START PART 1/,/END PART 1/d' puzzles.sh >puzzle-2.sh + chmod +x puzzle-[12].sh + +clean: + rm -f puzzle-[12].sh -- cgit v1.2.3