[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Help with columnar formatting in the fmt egg
From: |
Christian Kellermann |
Subject: |
[Chicken-users] Help with columnar formatting in the fmt egg |
Date: |
Fri, 20 Nov 2015 12:53:08 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi!
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.
Note that the labels should be left aligned and the amounts as well.
What I have tried so far are combinations of columnar and tabular but
none of these seem to do the alignment or laying out the column widths
correctly.
Do you know a way to achieve the above?
Kind regards,
Christian
--
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.
- [Chicken-users] Help with columnar formatting in the fmt egg,
Christian Kellermann <=