I was about to drop the m4 experiment, but.. not yet. I want to split up the big man pages into chunks that are easier to deal with, so now using m4 for that (only. Pandoc is taking care of selective content stripping and other rendering adjustments.) I've switched the suffix of m4-enabled files from .md.m4 to .m4.md - less correct but activates more useful editor highlighting.
66 lines
1.6 KiB
Markdown
66 lines
1.6 KiB
Markdown
% hledger(1) hledger 0.26.98
|
|
%
|
|
% October 2015
|
|
|
|
<div class="web">
|
|
* toc
|
|
</div>
|
|
<div class="man">
|
|
|
|
# NAME
|
|
|
|
hledger - a command-line accounting tool
|
|
|
|
# SYNOPSIS
|
|
|
|
`hledger [-f FILE] COMMAND [OPTIONS] [CMDARGS]`\
|
|
`hledger [-f FILE] ADDONCMD -- [OPTIONS] [CMDARGS]`
|
|
|
|
# DESCRIPTION
|
|
|
|
hledger is a cross-platform program for tracking money, time, or any
|
|
other commodity, using double-entry accounting and a simple, editable
|
|
file format. It is inspired by and largely compatible with ledger(1).
|
|
hledger aims to be a reliable, practical tool for daily use. This man
|
|
page is a quick reference and introduction; for more complete docs, see
|
|
http://hledger.org/manual.
|
|
</div>
|
|
|
|
_include_(description.m4.md)
|
|
_include_(options.m4.md)
|
|
_include_(commands.m4.md)
|
|
_include_(queries.m4.md)
|
|
_include_(examples.m4.md)
|
|
|
|
<div class="man">
|
|
|
|
# ENVIRONMENT
|
|
|
|
**LEDGER_FILE**
|
|
sets the default journal file path. If not set, it is `~/.hledger.journal`.
|
|
|
|
**COLUMNS**
|
|
sets the default width used by the register command (normally the full terminal width).
|
|
|
|
# FILES
|
|
|
|
Reads data from a hledger journal file (`$LEDGER_FILE` or
|
|
`~/.hledger.journal` by default), or a CSV file plus associated CSV
|
|
rules file.
|
|
|
|
# BUGS
|
|
|
|
The need to precede options with `--` when invoked from hledger is awkward.
|
|
|
|
hledger can't render non-ascii characters when run from a Windows command prompt (up to Windows 7 at least).
|
|
|
|
When input data contains non-ascii characters, a suitable system locale must be configured (or there will be an unhelpful error).
|
|
Eg on POSIX, set LANG to something other than C.
|
|
|
|
# REPORTING BUGS
|
|
|
|
Report bugs at http://bugs.hledger.org.
|
|
|
|
}})
|
|
</div>
|