fix table

This commit is contained in:
matthias@arch 2023-12-09 11:54:33 +01:00
parent 8e30ece8b9
commit fedaaf62e6
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ This is a repository for my solutions for the [advent of code 2023](https://adve
<!-- table begin --> <!-- table begin -->
| Day | Language | Lines of code | Execuction time | Comment | | Day | Language | Lines of code | Execuction time | Comment |
|:---: |:---: | ---: | --- | | |:---: |:---: | ---: | ---: |--- |
| [01](01) | Python | 3 | 0,021 s | one-liners | | [01](01) | Python | 3 | 0,021 s | one-liners |
| [02](02) | Rust | 49 | 0,002 s | my very first rust program | | [02](02) | Rust | 49 | 0,002 s | my very first rust program |
| [03](03) | Rust | 85 | 0,006 s | | | [03](03) | Rust | 85 | 0,006 s | |

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
table="| Day | Language | Lines of code | Execuction time | Comment |\n" table="| Day | Language | Lines of code | Execuction time | Comment |\n"
table+="|:---:|:---:| ---:| --- |\n" table+="|:---:|:---:| ---:| ---: |--- |\n"
for day in $(seq -f "%02g" 1 25); do for day in $(seq -f "%02g" 1 25); do
[[ ! -d "$day" ]] && continue [[ ! -d "$day" ]] && continue
# echo $day # echo $day