Update nps.csv.sh
This commit is contained in:
parent
59ff2a9542
commit
00442a6440
@ -6,7 +6,7 @@
|
|||||||
# removes all lines before the last 'Date'
|
# removes all lines before the last 'Date'
|
||||||
# substitutes certain descriptions
|
# substitutes certain descriptions
|
||||||
# outputs to a temporary file
|
# outputs to a temporary file
|
||||||
# runs hledger csv import as a dry-run with nps-transactions.rules.
|
# runs hledger csv import as a dry-run with nps.csv.rules.
|
||||||
|
|
||||||
cat "$1" \
|
cat "$1" \
|
||||||
| awk 's{s=s"\n"$0;} /Date/{s=$0;} END{print s;}' \
|
| awk 's{s=s"\n"$0;} /Date/{s=$0;} END{print s;}' \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user