Bug#194779: cbb: QIF export broken
Tags: upstream patch
QIF export appears to succeed, but the resulting file is not a legitimate
QIF file. It is missing the ! at the beginning of the file, and has a
broken format string in the place of amounts.
Here is a diff for /usr/lib/X11/cbb/export.pl that I believe fixes these
problems (I renamed the file export.pl.dist and edited export.pl; sorry
if this isn't standard practice):
--- export.pl.dist 2003-05-25 18:17:05.000000000 -0400
+++ export.pl 2003-05-25 18:22:53.000000000 -0400
@@ -76,7 +76,7 @@
- print QIF "Type:Bank\n"; # This will need to change,
+ print QIF "!Type:Bank\n"; # This will need to change,
# eventually, to handle other
# varieties of QUICKEN accounts.
# Credit cards, investments, etc.
@@ -97,7 +97,7 @@
# Handle amount
$amount = $credit-$debit;
- printf QIF "T%.2lf\n", $amount;
+ printf QIF "T%.2f\n", $amount;
printf QIF "C$cleared\n" unless ($cleared eq "");
-- System Information:
Debian Release: testing/unstable
Kernel: Linux brass 2.4.18 #1 Wed Nov 13 11:04:06 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages cbb depends on:
ii perl 5.8.0-17 Larry Wall's Practical Extraction
ii tk8.0 [wish] 8.0.5-10 The Tk toolkit for TCL and X11 v8.
ii tk8.2 [wish] 8.2.3-5 The Tk toolkit for TCL and X11 v8.
ii tk8.3 [wish] 8.3.5-2 Tk toolkit for Tcl and X11, v8.3 -
ii tk8.4 [wish] 8.4.3-1 Tk toolkit for Tcl and X11, v8.4 -
-- no debconf information