chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Help with columnar formatting in the fmt egg


From: Alex Shinn
Subject: Re: [Chicken-users] Help with columnar formatting in the fmt egg
Date: Mon, 30 Nov 2015 18:22:41 -0600

On Fri, Nov 20, 2015 at 5:53 AM, Christian Kellermann <address@hidden> wrote:

I would like to ask some help for finding the right fmt _expression_ to
print entries formatted as like this:

2015-11-20 foo bar baz... Some·Label   Some·Other·Label
                             -123.23            -100.00
                                      Yet·Another·Label
                                                 -23.23

The hard part is obviously the last columns. Both are fed in a list of
entries consisting of (label amount).  All positive amounts should be
printed in the first column the negative ones in the second.

Your example is split across 4 lines, is this what you intended?
It's not really clear what the rule is.

The columnar/tabular formatters are oriented around formatting
single rows, so if you want to use them you'd need to first group
the data accordingly.

-- 
Alex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]