Apple からメールが来ていた。
"Based on our records we have determined that your organization downloaded a sales report dated 06/18/09. We have identified a discrepancy in the data set that was used to create the reports. As such please delete your existing report dated 06/18/09 and please log into iTunes Connect to download an updated report with the correct data for 06/18/09. We apologize for the inconvenience and are working hard to limit/prevent these types of issues.
Please note that this issue only affects the daily report for June 18, 2009. No other daily or weekly reports are affected. "
transaction report は cron ジョブで毎日ダウンロードしている。
"discrepancy" の具体的な内容を確認するため
mac-mini:reports dxy$ diff <(gzcat S_D_*20090618*) <(gzcat ~/Downloads/S_D_*20090618*)
で比較してみた。
私の場合、各アプリケーションとも新規ダウンロード(Product Type Identifier が 1 のダウンロード)が本来の数値の 2 倍になっていた(修正されたデータは以前のデータの半分の値だった)。
というわけで、bash(1) の Process Substitution 便利だね、というお話でした。
