ledger/doc/Ledger.scriv/164.rtfd/TXT.rtf
John Wiegley 1f5ceb0db5 Added beginning draft of manual for 3.0
This is being kept in Scrivener format, for ease of writing.
2009-10-25 23:11:30 -04:00

35 lines
No EOL
1.1 KiB
Text

{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
{\fonttbl\f0\fmodern\fcharset0 Courier;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sl264\slmult1\ql\qnatural\pardirnatural
\f0\fs28 \cf0 @c -r, --related calculate report using related postings\
\
Normally, a register report includes only the postings that match\
the regular expressions specified after the command word. For\
example, to report all expenses:\
\
@example\
ledger reg ^expenses\
@end example\
\
This reports:\
\
@smallexample\
2004/05/29 Book Store Expenses:Books $20.00 $20.00\
@end smallexample\
\
Using @option\{--related\} (@option\{-r\}) reports the postings that\
did not match your query, but only in transactions that otherwise would\
have matched. This has the effect of indicating where money came\
from, or when to:\
\
@example\
ledger -r reg ^expenses\
@end example\
\
Reports:\
\
@smallexample\
2004/05/29 Book Store Liabilities:MasterCard $20.00 $20.00\
@end smallexample}