summaryrefslogtreecommitdiff
path: root/doc/ledger3.texi
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-02-21 19:11:36 +0100
committerthdox <thdox@free.fr>2015-02-21 19:41:46 +0100
commit557ef398e69815c99b11aba0eb96b902089bc080 (patch)
treee57ba127078a4af419321a88dc01959f68204d90 /doc/ledger3.texi
parente0f7b637cf339838334b42ab02f84ead4efa3635 (diff)
downloadfork-ledger-557ef398e69815c99b11aba0eb96b902089bc080.tar.gz
fork-ledger-557ef398e69815c99b11aba0eb96b902089bc080.tar.bz2
fork-ledger-557ef398e69815c99b11aba0eb96b902089bc080.zip
Update to be compliant with file & with_file.
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r--doc/ledger3.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index 4c108331..81777d09 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -4645,21 +4645,23 @@ and @option{--rich-data} which stores additional metadata as tags.
Using the two first lines of the above csv file,
-@smallexample @c input:DD85579
+@smallexample @c file:B2EA7E8
+,date,payee,note,amount,,,code,
767718,12/13/2011,"Withdrawal","ACE HARDWARE 16335 S HOUGHTON RD",-8.80,,00001640.04,,
767406,12/13/2011,"Withdrawal","ACE HARDWARE 16335 S HOUGHTON RD",-1.03,,00001648.84,,
@end smallexample
and launching the below command,
-@smallexample @c command:DD85579
+@smallexample @c command:B2EA7E8,with_file:download.csv
$ ledger convert download.csv --input-date-format "%m/%d/%Y" \
- --invert --account Assets:MyBank --rich-data
+ --invert --account Assets:MyBank --rich-data \
+ --file sample.dat --now=2012/01/13 \
@end smallexample
you will get the result:
-@smallexample @c result:DD85579
+@smallexample @c output:B2EA7E8
2011/12/13 * Withdrawal ;ACE HARDWARE 16335 S HOUGHTON RD
; CSV: 767718,12/13/2011,"Withdrawal","ACE HARDWARE 16335 S HOUGHTON RD",-8.80,,00001640.04,,
; Imported: 2012/01/13