File indexing completed on 2024-12-22 04:50:58
0001 #!/bin/bash 0002 if [[ $1 = "ls" ]]; then 0003 #Simulate: boobank ls -q -f csv -v -s id,balance 0004 echo "id;label;balance" 0005 echo "CPT1-1111111@bank;;" 0006 echo "CPT2-2222222@bank;;" 0007 else 0008 if [[ $5 = "CPT1-1111111@bank" ]]; then 0009 #Simulate: boobank -q -f csv history "47896@creditcooperatif" -s rdate,type,raw,label,amount --condition "rdate>%4" -n 99999 0010 echo "rdate;date;type;raw;label;amount" 0011 echo "2019-03-28;2019-03-28;0;VIR C/C CONTRAT PERSONNEL AJUST;VIR C/C CONTRAT PERSONNEL AJUST;-500.00" 0012 echo "2019-03-28;2019-03-28;0;VIR C/C CONTRAT PERSONNEL AJUST;VIR C/C CONTRAT PERSONNEL AJUST;-500.00" 0013 else 0014 echo "rdate;date;type;raw;label;amount" 0015 echo "2019-03-28;2019-03-28;0;VIR DE MME M MARTINI OU M V FRI;VIR DE MME M MARTINI OU M V FRI;500.00" 0016 echo "2019-03-28;2019-03-28;0;VIR DE MME M MARTINI OU M V FRI;VIR DE MME M MARTINI OU M V FRI;500.00" 0017 fi 0018 0019 fi