Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

22
.bin/OLD/codi-convert.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
CATCH=\
"
SIGNAL IDUNA Krankenversic Signal Iduna Krankenversicherung
Apple Servi Apple Services
Baloise Sachversicherung Aktiengesellschaft Baloise Unfallversicherung
"
cat $1 | sed 's/\(..\)\.\(..\)\.\(....\)/\3-\2-\1/g' | sort | while read -r line
do
DATE="$(echo "$line" | cut -d";" -f1 | tr -d '"')"
ENTRY="$(echo "$line" | cut -d";" -f4 | sed 's/Auftraggeber: //g;s/Buchungstext: //g')"
AMOUNT="$(echo "$line" | cut -d";" -f5)"
if [ ! -z "$AMOUNT" ]
then
echo -e "\n$DATE $ENTRY\n Expenses: $AMOUNT EUR" | tr -d '"'
fi
done