fundtools

A few small scripts to help with asset allocation
Log | Files | Refs | README

commit 461c132fe8993044e8bf6a644b53f4f2a3f3e1e9
parent 37472b4c6ff31dfe348390b49bef2353ddcc0ffb
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Sun, 27 Oct 2024 21:34:49 -0700

Ignore empty lines and comments in er

Diffstat:
Mer | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/er b/er @@ -54,6 +54,11 @@ BEGIN { } { + if (!NF || !/^ *[^#]/) { + print + next + } + if (!action || action == "costs") { print $1, $2 * (er($1) / 100) } else if (action == "weighted") {