hledger-flow: ally: comment cleanup
Case-sensitive representation of header columns
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user