[Kmymoney] KMM misbehaves after trying to install qif

Thomas Baumgart thb at net-bembel.de
Sat Aug 20 05:31:09 UTC 2011


Hi,

on Friday 19 August 2011 18:09:50 aga wrote:

> On Fri, 19 Aug 2011 07:02:34 -0700 (PDT)
> 
> Jack <ostroffjh at sbcglobal.net> wrote:
> > Jack, reading in Quicken 10 help it does not say it can export a qif
> > file in a format that other money programs can read.  You can export
> > reports that can be read by spread sheet programs and even word
> > processing programs but not transactions.
> > 
> > 
> > The output of  file date.qif is :  ASCII text, with CRLF line
> > terminators.  So I tried opening with text ed again and it opened
> > this time.  Just a long document in one column.  Progress?
> > 
> > gary
> > --------------
> > Please post the first five to ten lines of the file here - you can
> > change any account numbers or actual amounts.  Then we can confirm
> > whether or not it is really a QIF file.
> > 
> > 
> > However, the CRLF means it was exported on a PC.  I'm pretty sure KMM
> > will read it correctly with either PC or Linux line endings (can
> > someone confirm this?) ...
> 
> I've imported Quicken files many times, without line-ending problems.
> But, that was v2002.
> 
> > ...but just as a test you could try "dos2linux <
> > date.qif > newdate.qif" to change the line endings and see if that
> > copy will import.

KMyMoney should be able to deal with this. It reads a byte stream and simply 
treats both as line endings and at the same time skips empty lines. So 
"something<CR><LF>" actually is read as two lines "something<CR>" and "<LF>" 
where the second one is empty and skipped.

BTW: isn't it 'dos2unix date.qif' and it converts the stuff in the same file?

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
New processes are created by other processes, just like new humans.
New humans are created by other humans, of course, not by processes.
(Unix System Administrator Handbook)
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20110820/a6317b8e/attachment.sig>


More information about the KMyMoney mailing list