From 995fcbeaf55370ef012fa188c36a7f1aee562468 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 7 Jun 2017 13:29:30 -0700 Subject: [PATCH] examples: clarify b of i amount-in/out alternative example (#570) --- examples/csv/bankofireland-checking.csv.rules | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/csv/bankofireland-checking.csv.rules b/examples/csv/bankofireland-checking.csv.rules index 81ce531f3..3e54c8a89 100644 --- a/examples/csv/bankofireland-checking.csv.rules +++ b/examples/csv/bankofireland-checking.csv.rules @@ -21,9 +21,8 @@ currency EUR # set the base account for all txns account1 assets:personal:bank:bank of ireland:checking -# alternative way of handling two amount fields: -# use one field by default, if it's empty override with the other +# an alternative to using amount-in & amount-out: +# use the (sign-flipped) third field by default, or if it's empty, the fourth # amount -%3 -# if ~ -# ^[^,]*,[^,]*,, +# if ^[^,]*,[^,]*,, # amount %4