From 290aa7c93372c662d6a67a34c4188ef0c3bfcc3d Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Thu, 6 Jun 2024 18:37:16 -0700 Subject: [PATCH] hledger-flow: ally: comment cleanup Case-sensitive representation of header columns --- .../src/hledger-flow/accounts/ally/ally-shared.bash | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/container/src/hledger-flow/accounts/ally/ally-shared.bash b/container/src/hledger-flow/accounts/ally/ally-shared.bash index 971fa47..4270d68 100755 --- a/container/src/hledger-flow/accounts/ally/ally-shared.bash +++ b/container/src/hledger-flow/accounts/ally/ally-shared.bash @@ -48,14 +48,14 @@ function parse() gsub(/, /, " - ") # may have (multiple) commas followed by space gsub(/"/, "", $5) # may have (multiple) quotes - printf $1 OFS # date - printf $2 OFS # time + printf $1 OFS # Date + printf $2 OFS # Time sub(/^-/, "", $3) - printf $3 OFS # amount + printf $3 OFS # Amount - printf $4 OFS # type - printf $5 OFS # description + printf $4 OFS # Type + printf $5 OFS # Description printf ($4 ~ /^Withdrawal$/ ? "OUT" : "IN") OFS # Direction printf global_subaccount