Re: range error compiler warnings on ARM, comparing char to -1

2021-08-18 Thread Alan Bram
Sorry for the late reply: this was languishing in my "spam" category, which I unfortunately do not look at often enough. Yes, this occurs on ARM, as I mentioned. I believe it is safe to ignore (meaning, I believe it does not lead to incorrect calculations in Ledger), but IMHO it should definitely

Re: Forecasting beginning in the future

2020-09-13 Thread Alan Bram
Here's a demo of what I mean. Reading from "sample.dat" produces no output; compare to "another.dat." (Data files attached.) % ledger --version Ledger 3.2.1-20200518, the command-line accounting tool Copyright (c) 2003-2019, John Wiegley. All rights reserved. This program is made available

Re: how to strip dollar sign in reports

2018-02-17 Thread Alan Bram
Thanks, John! I appreciate it! On Fri, Feb 16, 2018 at 11:04 PM, John Wiegley <jwieg...@gmail.com> wrote: > >>>>> "AB" == Alan Bram <sf.fly...@gmail.com> writes: > > AB> Using "to_int" does indeed remove the dollar sign, but it also

Re: how to strip dollar sign in reports

2018-02-16 Thread Alan Bram
Thanks so much for the super-quick reply, John! Using "to_int" does indeed remove the dollar sign, but it also of course truncates the part after the decimal point (the cents). I guess the following works: -F 'whatever ... %(0.01 * t)\n' -t 'to_int(100 * a)' but seems pretty clumsy. I don't see

Re: leap day

2012-02-28 Thread Alan Bram
On Tue, Feb 28, 2012 at 6:02 PM, John Wiegley jwieg...@gmail.com wrote: Hmm... do you use a 'Y' directive to specify the year? It sounds like a bug if I don't accept 2/29 this year. Yes. Here's the entire input file contents: Y2008 2/29E-trade Bank Income:Bank Interest

Re: periodic reports for expense category groups

2012-01-24 Thread Alan Bram
Thanks, Pete! That's exactly what I was looking for. Cheers, - arb On Mon, Jan 23, 2012 at 7:50 PM, Peter Keen peter.k...@bugsplat.info wrote: You want to use a register report with the -M for monthly and -n for 'total' options. Like this:    ledger -Mn -b 2011/01/01 reg expenses --Pete

Re: A web-based reporting system for Ledger

2012-01-05 Thread Alan Bram
I've had a similar itch, but never got around to doing much about it. So this is interesting to me. How long does it take to load a substantial ledger file into Postgres? On Sat, Dec 31, 2011 at 7:59 PM, Peter Keen peter.k...@gmail.com wrote: I've put together a little reporting system for

format changes?

2011-03-01 Thread Alan Bram
Hi, I used ledger version 2.3 for a long time, and now I'm trying to use version 2.6. Have the format strings changed? I used to be able to say: ledger --plot-total-format '%[%m] %(ST)\n' -J reg mortgage because I want to get the amount without any dollar sign or comma. In fact, the info

Re: A quick poll: XML support

2009-10-30 Thread Alan Bram
Hi, I use XML output occasionally, so I would need that in order to upgrade. Thanks! Cheers, - ar