No description
Find a file
2008-04-13 02:41:30 -04:00
scripts *** empty log message *** 2008-04-13 02:40:48 -04:00
acprep *** empty log message *** 2008-04-13 02:41:29 -04:00
amount.cc Added much better error location. 2008-04-13 02:41:29 -04:00
amount.h Added much better error location. 2008-04-13 02:41:29 -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 Added much better error location. 2008-04-13 02:41:29 -04:00
balance.h Added much better error location. 2008-04-13 02:41:29 -04:00
binary.cc Added much better error location. 2008-04-13 02:41:29 -04:00
binary.h Made several changes to the parsing infrastructure to allow passing 2008-04-13 02:41:23 -04:00
config.cc Added new --descend option. 2008-04-13 02:41:30 -04:00
config.h Added new --descend option. 2008-04-13 02:41:30 -04:00
configure.in (read_binary_journal): Fixed a tiny memory leak when reading from a 2008-04-13 02:41:28 -04:00
datetime.cc Added much better error location. 2008-04-13 02:41:29 -04:00
datetime.h Added much better error location. 2008-04-13 02:41:29 -04:00
debug.cc Added much better error location. 2008-04-13 02:41:29 -04:00
debug.h Added much better error location. 2008-04-13 02:41:29 -04:00
derive.cc Added much better error location. 2008-04-13 02:41:29 -04:00
derive.h updated to version 2.0 2008-04-13 02:40:47 -04:00
emacs.cc Transactions now track their beginning and ending position, as do 2008-04-13 02:41:24 -04:00
emacs.h Added an Emacs formatter, accessible with the new "emacs" command. 2008-04-13 02:40:56 -04:00
error.cc *** empty log message *** 2008-04-13 02:41:29 -04:00
error.h *** empty log message *** 2008-04-13 02:41:29 -04:00
fdstream.hpp Whitespace changes. 2008-04-13 02:41:01 -04:00
format.cc Added much better error location. 2008-04-13 02:41:29 -04:00
format.h *** empty log message *** 2008-04-13 02:41:29 -04:00
gnucash.cc Added much better error location. 2008-04-13 02:41:29 -04:00
gnucash.h Made several changes to the parsing infrastructure to allow passing 2008-04-13 02:41:23 -04:00
journal.cc *** empty log message *** 2008-04-13 02:41:29 -04:00
journal.h *** empty log message *** 2008-04-13 02:41:29 -04:00
ledger.el *** empty log message *** 2008-04-13 02:41:30 -04:00
ledger.h Restructed the code that it can build and be used as a shared library. 2008-04-13 02:41:21 -04:00
ledger.texi Added much better error location. 2008-04-13 02:41:29 -04:00
ledger.vim *** empty log message *** 2008-04-13 02:41:17 -04:00
LICENSE *** empty log message *** 2008-04-13 02:41:21 -04:00
main.cc *** empty log message *** 2008-04-13 02:41:30 -04:00
Makefile.am *** empty log message *** 2008-04-13 02:41:29 -04:00
mask.cc Added much better error location. 2008-04-13 02:41:29 -04:00
mask.h Added much better error location. 2008-04-13 02:41:29 -04:00
NEWS *** empty log message *** 2008-04-13 02:41:29 -04:00
ofx.cc *** empty log message *** 2008-04-13 02:41:29 -04:00
ofx.h Made several changes to the parsing infrastructure to allow passing 2008-04-13 02:41:23 -04:00
option.cc Added much better error location. 2008-04-13 02:41:29 -04:00
option.h Added much better error location. 2008-04-13 02:41:29 -04:00
parser.cc Added much better error location. 2008-04-13 02:41:29 -04:00
parser.h *** empty log message *** 2008-04-13 02:41:29 -04:00
qif.cc Added much better error location. 2008-04-13 02:41:29 -04:00
qif.h Made several changes to the parsing infrastructure to allow passing 2008-04-13 02:41:23 -04:00
quotes.cc Added much better error location. 2008-04-13 02:41:29 -04:00
quotes.h Began support for improved commodity handling. 2008-04-13 02:41:28 -04:00
README Removed Python integration support. 2008-04-13 02:41:21 -04:00
reconcile.cc Added much better error location. 2008-04-13 02:41:29 -04:00
reconcile.h Removed the --reconcilable option, since the pending flag is now being 2008-04-13 02:41:05 -04:00
sample.dat updated to version 2.0 2008-04-13 02:40:47 -04:00
setup.py (read_binary_journal): Fixed a tiny memory leak when reading from a 2008-04-13 02:41:28 -04:00
startup.cc Added a DATETIME value type. 2008-04-13 02:41:29 -04:00
test.py Added much better error location. 2008-04-13 02:41:29 -04:00
textual.cc *** empty log message *** 2008-04-13 02:41:29 -04:00
textual.h *** empty log message *** 2008-04-13 02:41:29 -04:00
timeclock.el Removed Python integration support. 2008-04-13 02:41:21 -04:00
timing.h Added a DATETIME value type. 2008-04-13 02:41:29 -04:00
util.h Added a fix for FreeBSD, so that Ledger can compile there. 2008-04-13 02:40:59 -04:00
valexpr.cc Added new --descend option. 2008-04-13 02:41:30 -04:00
valexpr.h Added new --descend option. 2008-04-13 02:41:30 -04:00
value.cc *** empty log message *** 2008-04-13 02:41:29 -04:00
value.h *** empty log message *** 2008-04-13 02:41:29 -04:00
walk.cc Added new --descend option. 2008-04-13 02:41:30 -04:00
walk.h Added new --descend option. 2008-04-13 02:41:30 -04:00
xml.cc Added much better error location. 2008-04-13 02:41:29 -04:00
xml.h Made several changes to the parsing infrastructure to allow passing 2008-04-13 02:41:23 -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.