#!/bin/sh # $Id: memo,v 1.28 2018/02/21 04:08:14 gilles Exp gilles $ echo paypal_bilan_todo paypal_bilan_todo() { cat < prestation hors France pour - Article 259 B-1 Cessions de droits de licences - Article 259 B-4 Prestations des conseillers, ingénieurs dans tous les domaines - Article 259 B-5 Traitement de données et fournitures d information Hors Europe : Article 262 => Exoneration - Article 262-1 les livraisons de biens expédiés par le vendeur [...] ainsi que les prestations de services directement liées à l exportation ; - Article 262-2 les livraisons de biens expédiés ou transportés par l'acheteur [...] ainsi que les prestations de services directement liées à l exportation. Europe a un autre assujetti : Article 262 ter => Exoneration - Article 262 ter-1 sur livraisons de biens expédiés. Question : oeuvre immaterielle, service ? ============================================================================== https://www.impots.gouv.fr/portail/professionnel/prestations-entre-assujettis Fourniture d'une prestation par un assujetti implanté en France (vente par un prestataire français) Prestations relevant de la règle générale Dans quel État payer la TVA ? La réalisation, par un assujetti implanté en France, d'une prestation au profit d’un assujetti implanté dans ou hors de l'Union européenne n'est pas imposable à la TVA française. Le prestataire français facture sans TVA. Il porte la mention « autoliquidation » sur la facture si le client est un assujetti établi dans l'UE. Il indique « TVA non applicable – art. 259-1 du CGI » si le client est un assujetti établi hors de l'UE. Quelles sont les modalités déclaratives ? Le montant de la prestation apparaîtra en « Autres opérations non imposables », ligne 05 de la télé-déclaration n° 3310-CA3, 03 de la télé-déclaration n° 3517-CA12 ou 02 de la télé-déclaration n° 3517-CA12A. Lorsque le preneur assujetti de la prestation est implanté dans un autre État membre de l'UE, une déclaration européenne de services (DES) doit être transmise dans les dix jours du mois qui suit l'exigibilité de la TVA (réalisation de la prestation ou paiement de l'acompte) (cf. site douane.gouv.fr). EOF } echo paypal_bilan_individuals_counter paypal_bilan_individuals_counter() { # DID output diff between paypal_bilan_1.100 and next one ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.108 || return 1 cd /g/var/paypal_bilan_individuals_counter/ || return 1 echo Working in `pwd` /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.108 \ --first_in 60001 --debug_invoice_utf8 \ /g/paypal/paypal_201?_??_complet.csv \ > all.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --first_in 60001 --debug_invoice_utf8 \ /g/paypal/paypal_201?_??_complet.csv \ > all.out2 2>&1 || return 1 echo diff all.out1 all.out2 diff all.out1 all.out2 ) } echo paypal_bilan_online_summary_bug2 paypal_bilan_online_summary_bug2() { # DID output diff between paypal_bilan_1.100 and next one ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.100 || return 1 cd /g/var/paypal_bilan_online_summary_bug2/ || return 1 echo Working in `pwd` /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.100 \ --first_in 147 --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298 2625 2626 2970 2971 2972 3093 3296 3411 3412 3450 3451 3614 3615 3616 3617 3807 3808 3957 3958 4030 4194 4195 4381 4382 4449 4450 4574 4641 5213 5214 5215 5355 5406 5489 5650' \ /g/paypal/paypal_201?_??_complet.csv \ > all.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --first_in 147 --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298 2625 2626 2970 2971 2972 3093 3296 3411 3412 3450 3451 3614 3615 3616 3617 3807 3808 3957 3958 4030 4194 4195 4381 4382 4449 4450 4574 4641 5213 5214 5215 5355 5406 5489 5650' \ /g/paypal/paypal_201?_??_complet.csv \ > all.out2 2>&1 || return 1 echo diff all.out1 all.out2 diff all.out1 all.out2 ) } echo paypal_bilan_online_summary_bug paypal_bilan_online_summary_bug() { # DID output diff between paypal_bilan_1.100 and next one ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.100 || return 1 cd /g/var/paypal_bilan_online_summary_bug/ || return 1 echo Working in `pwd` test -f 2017_07.csv || { echo no 2017_07.csv; return 1; } /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.100 \ --debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_online_summary_bug/ --first_in 52001 \ 2017_07.csv \ > 2017_07.out1 2>&1 || return 1 rm 52???/imapsync_var_manual.tex /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_online_summary_bug/ --first_in 52001 \ 2017_07.csv \ > 2017_07.out2 2>&1 || return 1 echo diff 2017_07.out1 2017_07.out2 diff 2017_07.out1 2017_07.out2 ) } echo paypal_bilan_online paypal_bilan_online() { # DID output diff between paypal_bilan_1.96 and next one ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.96 || return 1 cd /g/var/paypal_bilan_online/ || return 1 echo Working in `pwd` test -f 2017_06.csv || { echo no 2017_06.csv; return 1; } /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.96 \ --debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_online/ --write_invoices --first_in 51001 \ 2017_06.csv \ > 2017_06.out1 2>&1 || return 1 rm 51???/imapsync_var_manual.tex /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_online/ --write_invoices --first_in 51001 \ 2017_06.csv \ > 2017_06.out2 2>&1 || return 1 echo diff 2017_06.out1 2017_06.out2 diff 2017_06.out1 2017_06.out2 ) } #echo paypal_bilan_invoices_utf8_bug paypal_bilan_invoices_utf8_bug() { # DID output diff between paypal_bilan_1.93 and next one ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.93 || return 1 cd /g/var/paypal_bilan_invoices_utf8_bug/ || return 1 echo Working in `pwd` test -f 2017_02.csv || { echo no 2017_02.csv; return 1; } /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.93 \ --debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_invoices_utf8_bug/ --write_invoices --first_in 51001 \ 2017_02.csv \ > 2017_02.out1 2>&1 || return 1 rm 51???/imapsync_var_manual.tex /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_invoices_utf8_bug/ --write_invoices --first_in 51001 \ 2017_02.csv \ > 2017_02.out2 2>&1 || return 1 echo diff 2017_02.out1 2017_02.out2 diff 2017_02.out1 2017_02.out2 ) } #echo paypal_bilan_no_US_if_0_dollars paypal_bilan_no_US_if_0_dollars() { # DID output diff between paypal_bilan_1.92 and next one ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.92 || return 1 cd /g/var/paypal_bilan_no_US_if_0_dollars/ || return 1 test -f /g/paypal/paypal_2017_03_complet.csv || { echo no /g/paypal/paypal_2017_03_complet.csv; return 1; } /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.92 --first_in 54001 \ /g/paypal/paypal_2017_03_complet.csv \ > 2017_03.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --first_in 54001 \ /g/paypal/paypal_2017_03_complet.csv \ > 2017_03.out2 2>&1 || return 1 echo diff 2017_03.out1 2017_03.out2 diff 2017_03.out1 2017_03.out2 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.92 --first_in 55001 \ /g/paypal/paypal_201?_??_complet.csv \ > all.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --first_in 55001 \ /g/paypal/paypal_201?_??_complet.csv \ > all.out2 2>&1 || return 1 echo diff all.out1 all.out2 diff all.out1 all.out2 ) } #echo paypal_bilan_client_type_VAT_imply_pro paypal_bilan_client_type_VAT_imply_pro() { # DID output diff between paypal_bilan_1.91 and next one ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.91 || return 1 cd /g/var/paypal_bilan_client_type_VAT_imply_pro/ || return 1 cp /g/paypal/paypal_2017_03_complet.csv 2017_03.csv || return 1 test -f 2017_03.csv || { echo no 2017_03.csv; return 1; } /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.91 \ --debug --debug_csv --debug_email --details --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_client_type_VAT_imply_pro/ --first_in 52001 \ 2017_03.csv \ > 2017_03.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_client_type_VAT_imply_pro/ --first_in 52001 \ 2017_03.csv \ > 2017_03.out2 2>&1 || return 1 echo diff 2017_03.out1 2017_03.out2 diff 2017_03.out1 2017_03.out2 cp /g/paypal/paypal_201[67]_??_complet.csv . /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.91 \ --debug --debug_csv --debug_email --details --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_client_type_VAT_imply_pro/ --first_in 53001 \ paypal_201[67]_??_complet.csv \ > all.out1 2>&1 || return 1 #cp /g/paypal/paypal_201[67]_??_complet.csv . /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice_utf8 \ --dir_invoices /g/var/paypal_bilan_client_type_VAT_imply_pro/ --first_in 53001 \ paypal_201[67]_??_complet.csv \ > all.out2 2>&1 || return 1 echo diff all.out1 all.out2 diff all.out1 all.out2 ) } #echo paypal_bilan_individual_or_france_bug paypal_bilan_individual_or_france_bug() { # DID output diff between paypal_bilan_1.84 and next ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.84 || return 1 cd /g/var/paypal_bilan_individual_or_france_bug/ || return 1 test -f 2016_10.csv || { echo no 2016_10.csv; return 1; } /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.84 \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 50001 \ 2016_10.csv \ > 2016_10.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 50001 \ 2016_10.csv \ > 2016_10.out2 2>&1 || return 1 echo diff 2016_10.out1 2016_10.out2 diff 2016_10.out1 2016_10.out2 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.84 \ --first_in 4575 --avoid_numbers '4574 4641 5213 5214 5215' \ /g/paypal/paypal_2016_??_complet.csv > 2016.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --first_in 4575 --avoid_numbers '4574 4641 5213 5214 5215' \ /g/paypal/paypal_2016_??_complet.csv > 2016.out2 2>&1 || return 1 echo diff 2016.out1 2016.out2 diff 2016.out1 2016.out2 ) } #echo paypal_bilan_changefix_Commission_Frais paypal_bilan_changefix_Commission_Frais() { # DID output diff between ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 cd /g/var/paypal_bilan_changefix_Commission_Frais || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.81 \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --first_in 40001 \ 2016_07_old.csv \ > 2016_07_old.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --first_in 40001 \ 2016_07_old.csv \ > 2016_07_old.out2 2>&1 || return 1 echo diff 2016_07_old.out1 2016_07_old.out2 diff 2016_07_old.out1 2016_07_old.out2 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --first_in 40001 \ 2016_07_old.csv \ > 2016_07_old.out3 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --first_in 40001 \ 2016_07_new.csv \ > 2016_07_new.out3 2>&1 || return 1 echo diff 2016_07_old.out3 2016_07_new.out3 diff 2016_07_old.out3 2016_07_new.out3 ) } #echo paypal_bilan_licence_support_only_csv paypal_bilan_licence_support_only_csv() { # DID output diff between paypal_bilan_1.79 and next ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 cd /g/var/paypal_bilan_support_only/ || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.79 \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 30001 \ 2015_08.csv \ > 2015_08.out1 2>&1 || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 30001 \ 2015_08.csv \ > 2015_08.out2 2>&1 || return 1 echo diff 2015_08.out1 2015_08.out2 diff 2015_08.out1 2015_08.out2 ) } #echo paypal_bilan_licence_support_same_button_04_2014_04_csv paypal_bilan_licence_support_same_button_04_2014_04_csv() { # DID output diff between paypal_bilan_1.78 and next ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 cd /g/var/paypal_bilan_A_B_C/ /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.78 \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 30001 \ 2014_04.csv \ > 2014_04.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 30001 \ 2014_04.csv \ > 2014_04.out2 2>&1 echo diff 2014_04.out1 2014_04.out2 diff 2014_04.out1 2014_04.out2 ) } #echo paypal_bilan_licence_support_same_button_03_A_B_several_csv paypal_bilan_licence_support_same_button_03_A_B_several_csv() { # DID output diff between paypal_bilan_1.78 and next ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 cd /g/var/paypal_bilan_A_B_C/ /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.78 \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 20001 \ ??_*.csv \ > several.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 20001 \ ??_*.csv \ > several.out2 2>&1 echo diff several.out1 several.out2 diff several.out1 several.out2 ) } #echo paypal_bilan_licence_support_same_button_02_A_B_one_line paypal_bilan_licence_support_same_button_02_A_B_one_line() { # DID output diff between paypal_bilan_1.78 and next ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 cd /g/var/paypal_bilan_A_B_C/ for csv in ??_*.csv ; do b=`basename $csv .csv` /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.78 \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 10001 \ $b.csv \ > $b.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --debug --debug_csv --debug_email --details --debug_invoice \ --dir_invoices /g/var/paypal_invoices_dev --write_invoices --first_in 10001 \ $b.csv \ > $b.out2 2>&1 echo diff $b.out1 $b.out2 diff $b.out1 $b.out2 done ) } #echo paypal_bilan_licence_support_same_button_01_ALL_before_B_C paypal_bilan_licence_support_same_button_01_ALL_before_B_C() { # DID output diff between paypal_bilan_1.77 and next ( set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.77 --bnc --debug --details --debug_email --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298 2625 2626 2970 2971 2972 3093' \ /g/paypal/paypal_201[01234]_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --details --debug_email --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298 2625 2626 2970 2971 2972 3093' \ /g/paypal/paypal_201[01234]_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_final_presentation_for_tva paypal_bilan_final_presentation_for_tva() { # DID output diff between paypal_bilan_1.72 and 1.73 ( set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.72 --bnc --debug --details --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298 2625 2626 2970 2971 2972 3093' \ /g/paypal/paypal_201[01234]_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --details --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298 2625 2626 2970 2971 2972 3093' \ /g/paypal/paypal_201[01234]_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_tva_taux_20 paypal_bilan_tva_taux_20() { # DID output diff between paypal_bilan_1.70 and 1.71 ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.70 --bnc --debug --details --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298 2625 2626 2970 2971 2972 3093' \ /g/paypal/paypal_201[01234]_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --details --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298 2625 2626 2970 2971 2972 3093' \ /g/paypal/paypal_201[01234]_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_bncexport2 paypal_bilan_bncexport2() { # DID output diff between paypal_bilan_1.66 and 1.67 ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.66 --bnc --debug --details --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --details --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_bncexport paypal_bilan_bncexport() { # DID output diff between paypal_bilan_1.66 and 1.67 ( #set -x perl -c /g/public_html/imapsync/W/paypal_reply/paypal_bilan || return 1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.66 --bnc --debug --debug_csv --details --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_csv --details --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_tva_prestation_de_service_fix_date paypal_bilan_tva_prestation_de_service_fix_date() { # DID output diff between paypal_bilan_1.65 and 1.64 ( #set -x /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.64 --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_tva_prestation_de_service paypal_bilan_tva_prestation_de_service() { # DID output diff between paypal_bilan_1.63 and 1.64 ( #set -x /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.63 --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132 2295 2296 2297 2298' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } paypal_bilan_invoice_00000() { # DID output diff between paypal_bilan_1.62 and 1.63 ( #set -x /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.62 --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --dry --write_invoices --exportbnc paypal_bnc.txt --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_Avant_commission paypal_bilan_Avant_commission() { # DID output diff between paypal_bilan_1.61 and 1.62 ( #set -x /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.61 --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --exportbnc paypal_bnc.txt --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653 2131 2132' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_tests_tva_2 paypal_bilan_tests_tva_2() { # DID output no diff between paypal_bilan_1.56 and 1.5? ( #set -x /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.56 --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_tests_tva paypal_bilan_tests_tva() { # DID output no diff between paypal_bilan_1.55 and 1.5? ( #set -x /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.55 --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_tests_invoice paypal_bilan_tests_invoice() { # DID output no diff between paypal_bilan_1.53 and 1.53 ( #set -x /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.52 --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --debug_invoice --first_in 147 \ --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334 1652 1653' \ /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_invoice.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 diff /g/var/paypal_bilan/tests/paypal_invoice.out1 /g/var/paypal_bilan/tests/paypal_invoice.out2 ) } #echo paypal_bilan_tests_Etat_Province paypal_bilan_tests_Etat_Province() { # DID output no diff between paypal_bilan_1.41 and 1.42 ( #set -x /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.41 --bnc --debug --first_in 147 --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334' /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_Etat_Province.out1 2>&1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 147 --avoid_numbers '292 293 643 644 731 732 1093 1330 1331 1332 1333 1334' /g/paypal/paypal_201?_??_complet.csv \ > /g/var/paypal_bilan/tests/paypal_Etat_Province.out2 2>&1 echo diff /g/var/paypal_bilan/tests/paypal_Etat_Province.out1 /g/var/paypal_bilan/tests/paypal_Etat_Province.out2 diff /g/var/paypal_bilan/tests/paypal_Etat_Province.out1 /g/var/paypal_bilan/tests/paypal_Etat_Province.out2 ) } #echo paypal_bilan_tests_refact_4 paypal_bilan_tests_refact_4() { # DID output no diff between paypal_bilan_1.33 and 1.?? ( #set -x # from 147 to 213 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 147 /g/paypal/paypal_2010_11_complet.csv > /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 147 /g/paypal/paypal_2010_11_complet.csv > /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out2 echo diff /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out2 diff /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2010_11_complet.csv.1.33_first_in.out2 # from 214 to 291 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 214 /g/paypal/paypal_2010_12_complet.csv > /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 214 /g/paypal/paypal_2010_12_complet.csv > /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out2 echo diff /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out2 diff /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2010_12_complet.csv.1.33_first_in.out2 # from 294 to 381 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 294 /g/paypal/paypal_2011_01_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 294 /g/paypal/paypal_2011_01_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out2 echo diff /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out2 diff /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out2 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 292 --avoid_numbers '292 293' /g/paypal/paypal_2011_01_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out3 echo diff /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out3 diff /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_01_complet.csv.1.33_first_in.out3 # from 382 to 472 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 382 /g/paypal/paypal_2011_02_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 382 /g/paypal/paypal_2011_02_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out2 echo diff /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out2 diff /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_02_complet.csv.1.33_first_in.out2 # from 473 to 569 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 473 /g/paypal/paypal_2011_03_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 473 /g/paypal/paypal_2011_03_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out2 echo diff /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out2 diff /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_03_complet.csv.1.33_first_in.out2 # from 570 to 642 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 570 /g/paypal/paypal_2011_04_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 570 /g/paypal/paypal_2011_04_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out2 echo diff /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out2 diff /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_04_complet.csv.1.33_first_in.out2 # from 645 to 730 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 645 /g/paypal/paypal_2011_05_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 645 /g/paypal/paypal_2011_05_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out2 echo diff /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out2 diff /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_05_complet.csv.1.33_first_in.out2 # from 733 to 764 /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 --bnc --debug --first_in 733 /g/paypal/paypal_2011_06_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 733 /g/paypal/paypal_2011_06_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out2 echo diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out2 diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out2 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 733 --avoid_numbers '' \ /g/paypal/paypal_2011_06_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out3 echo diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out3 diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out3 /g/public_html/imapsync/W/paypal_reply/paypal_bilan --bnc --debug --first_in 731 --avoid_numbers '731 732' \ /g/paypal/paypal_2011_06_complet.csv > /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out4 echo diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out4 diff /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out1 /g/var/paypal_bilan/tests/paypal_2011_06_complet.csv.1.33_first_in.out4 for f in /g/paypal/paypal_201?_??_complet.csv; do fb=`basename "$f"` f1=/g/var/paypal_bilan/tests/${fb}_1.32.out1 f2=/g/var/paypal_bilan/tests/${fb}_1.32.out2 rm "$f2" /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 \ --bnc --debug --debug_csv "$f" \ > "$f1" /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --bnc --debug --debug_csv "$f" \ > "$f2" echo diff "$f1" "$f2" diff "$f1" "$f2" done for f in /g/paypal/paypal_201?_??_complet.csv; do fb=`basename "$f"` f1=/g/var/paypal_bilan/tests/${fb}_tva.out1 f2=/g/var/paypal_bilan/tests/${fb}_tva.out2 rm "$f2" /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.33 \ "$f" \ > "$f1" /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ "$f" \ > "$f2" echo diff "$f1" "$f2" diff "$f1" "$f2" done ) } #echo paypal_bilan_tests_refact_3 paypal_bilan_tests_refact_3() { # DID output no diff between paypal_bilan_1.27 and 1.?? ( #set -x for f in /g/paypal/paypal_201?_??_complet.csv; do fb=`basename "$f"` f1=/g/var/paypal_bilan/tests/${fb}_1.27.out1 f2=/g/var/paypal_bilan/tests/${fb}_1.27.out2 rm "$f2" /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.27 \ --bnc --debug --debug_csv "$f" \ > "$f1" /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ --bnc --debug --debug_csv "$f" \ > "$f2" echo diff "$f1" "$f2" diff "$f1" "$f2" done for f in /g/paypal/paypal_201?_??_complet.csv; do fb=`basename "$f"` f1=/g/var/paypal_bilan/tests/${fb}_tva.out1 f2=/g/var/paypal_bilan/tests/${fb}_tva.out2 rm "$f2" /g/public_html/imapsync/W/paypal_reply/paypal_bilan_1.27 \ "$f" \ > "$f1" /g/public_html/imapsync/W/paypal_reply/paypal_bilan \ "$f" \ > "$f2" echo diff "$f1" "$f2" diff "$f1" "$f2" done ) } #echo paypal_bilan_tests_refact_2 paypal_bilan_tests_refact_2() { # DID output no diff between paypal_bilan_1.22 and 1.23 ( set -x for f in /g/paypal/paypal_201?_??_complet.csv; do fb=`basename "$f"` f1=/g/var/paypal_bilan/tests/${fb}_1.22.out1 f2=/g/var/paypal_bilan/tests/${fb}_1.22.out2 rm "$f2" /g/public_html/imapsync/paypal_reply/paypal_bilan_1.22 \ --bnc --debug --debug_csv "$f" \ > "$f1" /g/public_html/imapsync/paypal_reply/paypal_bilan \ --bnc --debug --debug_csv "$f" \ > "$f2" echo diff "$f1" "$f2" diff "$f1" "$f2" done for f in /g/paypal/paypal_201?_??_complet.csv; do fb=`basename "$f"` f1=/g/var/paypal_bilan/tests/${fb}_tva.out1 f2=/g/var/paypal_bilan/tests/${fb}_tva.out2 rm "$f2" /g/public_html/imapsync/paypal_reply/paypal_bilan_1.22 \ "$f" \ > "$f1" /g/public_html/imapsync/paypal_reply/paypal_bilan \ "$f" \ > "$f2" echo diff "$f1" "$f2" diff "$f1" "$f2" done ) } #echo paypal_bilan_tests_refact_1 paypal_bilan_tests_refact_1() { # DID output no diff between paypal_bilan_1.11 and 1.13 ( #set -x for f in /g/paypal/paypal_201?_??.csv; do fb=`basename "$f"` f1=/g/var/paypal_bilan/tests/$fb.out1 f2=/g/var/paypal_bilan/tests/$fb.out2 rm "$f2" /g/public_html/imapsync/paypal_reply/paypal_bilan_1.11 \ --bnc --debug "$f" \ > "$f1" /g/public_html/imapsync/paypal_reply/paypal_bilan \ --bnc --debug "$f" \ > "$f2" echo diff "$f1" "$f2" diff "$f1" "$f2" done for f in /g/paypal/paypal_201?_??.csv; do fb=`basename "$f"` f1=/g/var/paypal_bilan/tests/$fb.out1 f2=/g/var/paypal_bilan/tests/$fb.out2_usd_eur rm "$f2" /g/public_html/imapsync/paypal_reply/paypal_bilan_1.11 \ --bnc --debug "$f" \ > "$f1" /g/public_html/imapsync/paypal_reply/paypal_bilan \ --bnc --debug --usdeur 1.2981 "$f" \ > "$f2" echo diff "$f1" "$f2" diff "$f1" "$f2" done for f in /g/paypal/paypal_201?_??.csv; do fb=`basename "$f" .csv` #echo $fb f1i=/g/paypal/$fb.csv f2i=/g/paypal/${fb}_complet.csv f1o=/g/var/paypal_bilan/tests/t03_$fb.out1 f2o=/g/var/paypal_bilan/tests/t03_$fb.out2 #echo $f1i #echo $f2i #echo $f1o #echo $f2o rm -f "$f1o" "$f2o" /g/public_html/imapsync/paypal_reply/paypal_bilan \ --bnc --debug "$f1i" \ > "$f1o" /g/public_html/imapsync/paypal_reply/paypal_bilan \ --bnc --debug "$f2i" \ > "$f2o" echo diff "$f1o" "$f2o" diff "$f1o" "$f2o" done ) } #echo paypal_bilan_tests_dev paypal_bilan_tests_dev() { /g/public_html/imapsync/paypal_reply/paypal_bilan \ /g/paypal/paypal_201?_??_complet.csv --invoices '1 50 200' # Strange characters /g/public_html/imapsync/paypal_reply/paypal_bilan \ /g/paypal/paypal_201?_??_complet.csv --invoices '389 234 96' # France /g/public_html/imapsync/paypal_reply/paypal_bilan \ /g/paypal/paypal_201?_??_complet.csv --invoices '9 392' # individual /g/public_html/imapsync/paypal_reply/paypal_bilan \ /g/paypal/paypal_201?_??_complet.csv --invoices '313 415' # /g/public_html/imapsync/paypal_reply/paypal_bilan /g/paypal/paypal_2011_03_complet.csv # pb with latex # Ok 10 # character # 65 clientAdrB Keyboard character used is undefined YOSHITO YONEI # Ok 84 Missing $ inserted. clientEmail victor_su@yahoo.com # 92 Dr. Westernacher & Partner GmbH # /g/public_html/imapsync/paypal_reply/paypal_bilan --first_in 147 --invoices '242' /g/paypal/paypal_2010_1?_complet.csv }