@ -0,0 +1,11 @@
#!/bin/bash
function get_sum() {
cut -d";" -f4 "$1.csv" | tail -n+2 | paste -sd+ | bc
}
hil=$(get_sum "HIL")
ste=$(get_sum "STE")
total=$(echo "$hil+$ste" | bc)
echo -e "HIL:\t$hil\nSTE:\t$ste\nTotal:\t$total"
The note is not visible to the blocked user.