diff options
Diffstat (limited to '2022/script.sh')
| -rwxr-xr-x | 2022/script.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/2022/script.sh b/2022/script.sh index cdb5e16..1bc63c4 100755 --- a/2022/script.sh +++ b/2022/script.sh @@ -1,10 +1,8 @@ #!/bin/sh +read N -for i in {3..25} -do - echo "d" | ~/.scripts/cpp_ps.sh "Day$i" - cp Makefile Day$i - touch "Day$i"/input.txt -done +echo "d" | ~/.scripts/cpp_ps.sh "Day$N" +cp Makefile Day$N +touch "Day$N"/input.txt |
