Import gwk

This commit is contained in:
2023-05-27 23:39:57 +02:00
parent 3c8d018a0c
commit 38257dd7b6
3 changed files with 174 additions and 35 deletions

View File

@ -104,3 +104,4 @@ date,from,to,hours,category,name
2023-05-27,10:00,13:00,3,wpf,telephone numbers
2023-05-27,15:30,18:00,1.5,wpf,telephone numbers
2023-05-27,18:00,19:00,1,migrate,wine origin
2023-05-27,19:00,23:00,4,migrate,GWK

Can't render this file because it has a wrong number of fields in line 79.

View File

@ -1,7 +1,7 @@
#!/bin/bash
function get_sum() {
cut -d";" -f4 "$1.csv" | tail -n+2 | paste -sd+ | bc
cut -d"," -f4 "$1.csv" | tail -n+2 | paste -sd+ | bc
}
hil=$(get_sum "HIL")