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 "1234567A@ldlc;;"
0006     echo "LEO-987654321@ldlc;;"  
0007     echo "LEO-1111111A@ldlc;;"  
0008     
0009     echo "1234567W089@bp;;"  
0010     echo "1234B56789H@bp;MYACCOUNTNAME;"  
0011     echo "1234567890S@bp;;"  
0012     echo "123456789@bp;;"  
0013 else
0014     #Simulate: boobank -q -f csv history "47896@creditcooperatif" -s rdate,type,raw,label,amount --condition "rdate>%4" -n 99999
0015     echo "rdate;date;type;raw;label;amount"
0016     echo "2013-05-04;2013-05-04;1;TOTAL;TOTAL;-50"
0017     echo "2013-05-04;2013-05-04;2;TOTAL;TOTAL;0"
0018     echo "2013-05-04;2013-05-04;3;TOTAL;TOTAL;0"
0019     echo "2013-05-04;2013-05-04;4;TOTAL;TOTAL;0"
0020     echo "2013-05-04;2013-05-04;5;TOTAL;TOTAL;0"
0021     echo "2013-05-04;2013-05-04;6;TOTAL;TOTAL;0"
0022     echo "2013-05-04;2013-05-04;7;TOTAL;TOTAL;0"
0023     echo "2013-05-04;2013-05-04;8;TOTAL;TOTAL;0"
0024     echo "2013-05-04;2013-05-04;9;TOTAL;TOTAL;0"
0025     echo "2013-05-04;2013-05-04;10;TOTAL;TOTAL;0"
0026     echo "2013-05-04;2013-05-04;11;TOTAL;TOTAL;0"
0027     echo "2013-05-04;2013-05-04;12;TOTAL;TOTAL;0"
0028 fi