This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
ledger /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
.gitmodules | Mon Oct 27 18:59:02 -0700 2008 | |
| |
LICENSE | ||
| |
Makefile.am | ||
| |
NEWS | ||
| |
README | ||
| |
TODO | ||
| |
acprep | Wed Sep 17 02:48:06 -0700 2008 | |
| |
amount.cc | Wed Sep 17 02:06:28 -0700 2008 | |
| |
amount.h | Sat Jul 26 20:55:06 -0700 2008 | |
| |
amounts.cc | Sat Apr 12 23:41:28 -0700 2008 | |
| |
autogen.sh | Sat Mar 07 00:14:11 -0800 2009 | |
| |
balance.cc | Sat Apr 12 23:41:32 -0700 2008 | |
| |
balance.h | Thu Jul 17 18:22:24 -0700 2008 | |
| |
binary.cc | Sat Jul 26 20:54:35 -0700 2008 | |
| |
binary.h | Sat Apr 12 23:41:23 -0700 2008 | |
| |
config.cc | Sat Apr 12 23:41:33 -0700 2008 | |
| |
config.h | Sat Apr 12 23:41:33 -0700 2008 | |
| |
configure.in | ||
| |
csv.cc | Sat Apr 12 23:41:33 -0700 2008 | |
| |
csv.h | Sat Apr 12 23:41:33 -0700 2008 | |
| |
data - e4eb5c2 | Mon Aug 25 21:14:51 -0700 2008 | |
| |
datetime.cc | Thu Jul 17 03:19:40 -0700 2008 | |
| |
datetime.h | Wed Sep 17 02:06:17 -0700 2008 | |
| |
debug.cc | Sat Apr 12 23:41:29 -0700 2008 | |
| |
debug.h | Sat Apr 12 23:41:32 -0700 2008 | |
| |
derive.cc | Sun Jul 20 17:31:53 -0700 2008 | |
| |
derive.h | Sat Apr 12 23:40:47 -0700 2008 | |
| |
emacs.cc | Tue Jul 29 02:37:35 -0700 2008 | |
| |
emacs.h | Sat Apr 12 23:40:56 -0700 2008 | |
| |
error.h | Sat Apr 12 23:41:32 -0700 2008 | |
| |
fdstream.hpp | Sat Apr 12 23:41:01 -0700 2008 | |
| |
format.cc | ||
| |
format.h | Sat Apr 12 23:41:32 -0700 2008 | |
| |
gnucash.cc | Thu Jul 17 18:26:41 -0700 2008 | |
| |
gnucash.h | Sat Apr 12 23:41:23 -0700 2008 | |
| |
journal.cc | Wed Sep 17 02:05:26 -0700 2008 | |
| |
journal.h | Wed Sep 17 02:05:49 -0700 2008 | |
| |
ledger.el | ||
| |
ledger.h | Sat Apr 12 23:41:33 -0700 2008 | |
| |
ledger.texi | ||
| |
ledger.vim | Sat Apr 12 23:41:17 -0700 2008 | |
| |
main.cc | ||
| |
mask.cc | Sat Apr 12 23:41:29 -0700 2008 | |
| |
mask.h | Sat Apr 12 23:41:29 -0700 2008 | |
| |
ofx.cc | Sat Apr 12 23:41:29 -0700 2008 | |
| |
ofx.h | Sat Apr 12 23:41:23 -0700 2008 | |
| |
option.cc | ||
| |
option.h | ||
| |
parser.cc | ||
| |
parser.h | Sat Apr 12 23:41:29 -0700 2008 | |
| |
qif.cc | Sat Apr 12 23:41:32 -0700 2008 | |
| |
qif.h | Sat Apr 12 23:41:23 -0700 2008 | |
| |
quotes.cc | Sat Apr 12 23:41:32 -0700 2008 | |
| |
quotes.h | Sat Apr 12 23:41:32 -0700 2008 | |
| |
reconcile.cc | Sat Apr 12 23:41:32 -0700 2008 | |
| |
reconcile.h | Sat Apr 12 23:41:32 -0700 2008 | |
| |
report.cc | Sat Apr 12 23:41:32 -0700 2008 | |
| |
report.h | Sat Apr 12 23:41:32 -0700 2008 | |
| |
sample.dat | Sat Apr 12 23:40:47 -0700 2008 | |
| |
scripts/ | Sat Apr 12 23:41:31 -0700 2008 | |
| |
setup.py | ||
| |
startup.cc | Sat Apr 12 23:41:29 -0700 2008 | |
| |
test.py | Sat Apr 12 23:41:29 -0700 2008 | |
| |
tests/ | Wed May 07 23:50:05 -0700 2008 | |
| |
textual.cc | ||
| |
textual.h | Sat Apr 12 23:41:29 -0700 2008 | |
| |
timeclock.el | Sat Apr 12 23:41:21 -0700 2008 | |
| |
timing.h | Sat Apr 12 23:41:29 -0700 2008 | |
| |
util.h | Sat Apr 12 23:40:59 -0700 2008 | |
| |
valexpr.cc | Sat Aug 09 04:17:59 -0700 2008 | |
| |
valexpr.h | Sat Aug 09 04:17:59 -0700 2008 | |
| |
value.cc | Sat Jul 19 13:52:16 -0700 2008 | |
| |
value.h | Sat Apr 12 23:41:32 -0700 2008 | |
| |
walk.cc | Sat Jul 19 13:52:16 -0700 2008 | |
| |
walk.h | Sat Jul 26 20:55:17 -0700 2008 | |
| |
xml.cc | Sat Apr 12 23:41:32 -0700 2008 | |
| |
xml.h | Wed Sep 17 02:05:59 -0700 2008 |
README
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.








