hledger-flow: ally: comment cleanup

Case-sensitive representation of header columns
This commit is contained in:
2024-06-06 18:37:16 -07:00
parent 36d99e1da3
commit 290aa7c933

View File

@@ -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