No description
Find a file
John Wiegley 035c418f60 Merge branch 'master' into v2.7a.
The only change to come forward was updating the binary version number.
2008-07-27 01:16:38 -04:00
scripts Added a new script that enables use of Ledger as a smart "du". 2008-04-13 02:41:31 -04:00
test 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
.gitignore Merge branch 'master' into v2.7a 2008-07-23 15:56:31 -04:00
acprep More work toward getting the textual parser working again. Since this means 2008-07-24 09:02:47 -04:00
amount.cc 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
amount.h 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
amounts.cc (read_binary_journal): Fixed a tiny memory leak when reading from a 2008-04-13 02:41:28 -04:00
balance.cc The code is compiling again, but it's far from being able to run yet. 2008-05-08 02:50:19 -04:00
balance.h 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
balpair.h 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
binary.cc Merge branch 'master' into v2.7a. 2008-07-27 01:16:38 -04:00
binary.h A great deal of reorganization to restore the old parsing code (since the 2008-07-22 02:23:45 -04:00
commodity.cc --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
commodity.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
configure.tmpl Renamed configure.in to configure.tmpl. 2008-05-11 20:50:12 -04:00
csv.cc Brought in the final round of 3.0 code, although it does not compile yet: 2008-07-20 05:03:54 -04:00
csv.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
derive.cc A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
derive.h A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
emacs.cc Brought in the final round of 3.0 code, although it does not compile yet: 2008-07-20 05:03:54 -04:00
emacs.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
error.h 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
fdstream.hpp Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
flags.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
format.cc A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
format.h 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
gnucash.cc 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
gnucash.h A great deal of reorganization to restore the old parsing code (since the 2008-07-22 02:23:45 -04:00
journal.cc A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
journal.h A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
ledger.el Merged in from master. 2008-07-21 17:34:39 -04:00
ledger.h A great deal of reorganization to restore the old parsing code (since the 2008-07-22 02:23:45 -04:00
ledger.texi More copyright date updates. 2008-07-21 06:29:40 -04:00
ledger.vim *** empty log message *** 2008-04-13 02:41:17 -04:00
LICENSE More copyright date updates. 2008-07-21 06:29:40 -04:00
main.cc A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
main.py Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
Makefile.am A great deal of reorganization to restore the old parsing code (since the 2008-07-22 02:23:45 -04:00
mask.cc --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
mask.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
NEWS Updated the version number to 2.6.1. 2008-07-17 23:28:05 -04:00
ofx.cc 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
ofx.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
option.cc Added the var_t helper class, which can be seen in the beginning 2008-07-21 20:41:42 -04:00
option.h Brought in the final round of 3.0 code, although it does not compile yet: 2008-07-20 05:03:54 -04:00
parser.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
parsexp.cc A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
parsexp.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
pushvar.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
py_amount.cc Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
py_commodity.cc Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
py_times.cc Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
py_utils.cc Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
pyfstream.h 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
pyinterp.cc --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
pyinterp.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
pyledger.cc Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
pyledger.h Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
pyutils.h Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
qif.cc A great deal of reorganization to restore the old parsing code (since the 2008-07-22 02:23:45 -04:00
qif.h A great deal of reorganization to restore the old parsing code (since the 2008-07-22 02:23:45 -04:00
quotes.cc The code is compiling again, but it's far from being able to run yet. 2008-05-08 02:50:19 -04:00
quotes.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
README Removed Python integration support. 2008-04-13 02:41:21 -04:00
reconcile.cc More work toward getting the textual parser working again. Since this means 2008-07-24 09:02:47 -04:00
reconcile.h A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
report.cc A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
report.h A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
sample.dat updated to version 2.0 2008-04-13 02:40:47 -04:00
session.cc A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
session.h A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
setup.py Updated the version number to 2.6.1. 2008-07-17 23:28:05 -04:00
system.hh The code is compiling again, but it's far from being able to run yet. 2008-05-08 02:50:19 -04:00
test.py Added much better error location. 2008-04-13 02:41:29 -04:00
textual.cc 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
textual.h The --verify option is now working properly again. Use "--verify --verbose" 2008-07-26 05:06:06 -04:00
timeclock.el Removed Python integration support. 2008-04-13 02:41:21 -04:00
times.cc The new XPath parser has been integrated, although I have removed the 2008-07-20 23:12:04 -04:00
times.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
tuples.hpp Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
utils.cc The --verify option is now working properly again. Use "--verify --verbose" 2008-07-26 05:06:06 -04:00
utils.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00
valexpr.cc Added a simple optimization to the way amount strings are parsed. 2008-07-26 23:55:06 -04:00
valexpr.h A large body of work to get the register report printing again, but still 2008-07-27 00:10:35 -04:00
valgrind.sh Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
value.cc Parsing now works again. And there was much rejoicing. 2008-07-24 11:36:40 -04:00
value.h 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
version Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
walk.cc 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
walk.h 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
xml.cc 'make check' is now working again. Also, conversion from amount_t to/from 2008-07-27 01:03:41 -04:00
xml.h --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -04:00

			  Welcome to Ledger

		 the command-line accounting program

Introduction
============

Ledger is an accounting program which is invoked from the command-line
using a textual ledger file.  To start using Ledger, you will need to
create such a file containing your financial transactions.  A sample
has been provided in the file "sample.dat".  See the documentation
(ledger.pdf, or ledger.info) for full documentation on creating a
ledger file and using Ledger to generate reports.

Once you have such a file -- you might call it "ledger.dat" -- you can
start looking at balances and account registers using commands like
the following:

  ledger -f ledger.dat balance assets:checking
  ledger -f ledger.dat register expenses:food

This assumes, of course, that like the sample file you use account
names such as "Assets:Checking" and "Expenses:Food".  If you use other
account names, you will need to vary the reporting commands you use
accordingly.


Building
========

To build Ledger, you will need a fairly modern C++ compiler (gcc 2.95
will not work), and at least these two libraries installed:

    gmp        GNU multi-precision library
    pcre       Perl regular expression library

(On some GNU/Linux systems, the packages you need to install are
called "gmp-dev" and "pcre-dev").

If you wish to read Gnucash data files, you will also need two XML
libraries, which may or may not be available in a single package (it
depends on your distribution):

    libexpat, or libxmlparse and libxmltok

Once you have determined where the headers and libraries for the above
packages are installed, run the script "configure", passing those
paths.  If you installed everything under /usr/local, you can probably
just type "./configure".  Otherwise, do this:

    ./configure CPPFLAGS=-I<INCLUDE-PATH>  LDFLAGS=-L<LIBRARY-PATH>

If you need to specify multiple include or library paths, then do
this:

    ./configure CPPFLAGS="-I<PATH1> -I<PATH2>"  LDFLAGS="-L<PATH1> -L<PATH2>"

Once configure is done running, just type:

    make install


Mailing List and IRC
====================

If you need help on how to use Ledger, or run into problems, you can
join the Ledger mailing list at the following Web address:

    https://lists.sourceforge.net/lists/listinfo/ledger-discuss

You can also find help at the #ledger channel on the IRC server
irc.freenode.net.