> > I'm trying to import transactions I've downloaded from Chase in a QIF
> > file but when I'm importing Gnucash doesn't give me any options to
> > match them to an account (zero accounts in the list) and the button to
> > change the matched account is grayed out.  This is happening with 2
> > separate Chase accounts and I am able to import transactions from
> > another bank just fine.  What could be causing this?
>
> Lack of L lines in the transactions?


I just figured it out.  Chase uses a blank line instead of a line
containing only the "^" character to separate transactions.  I'm using
this to strip the top blank line:

sed -i '/./,$!d' file.qif

and then this to replace all blank lines with the "^" character:

sed -i 's/^[[:blank:]]*$/^/' file.qif

That seems to work.  Surely the Chase files are out of spec but is
this something Gnucash could work around?  If so I'll file a bug.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to