file format

Dave Peticolas dave@krondo.com
Sat, 24 Mar 2001 00:53:45 -0800


Jason Rennie writes:
> 
> Is there a good description of the 1.4.x (binary) file format anywhere?
> I'd like to write a few perl scripts to generate reports from my data.

There isn't any description for the format other than the source
code that generates & parses it.


> I know that I could write a scheme script to do this, but writing my own
> perl scripts seems like it will be 20x easier (partially b/c I don't know
> scheme).  Also, the transaction report breaks (never completes) when I
> give it a lot of data.  I know that GNUCash is moving to an XML format,
> but I think I'll be using the 1.4.x series for a while now.

But since you're using perl, you might check out the perl interface
that comes with GnuCash 1.4.x. It is used by gnc-prices. You don't
have to parse anything :)

dave