From 52da3853c07d0cb6e7efdfb6bc41cc5232581f52 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 7 Mar 2020 13:59:53 -0800 Subject: [PATCH] ;tests: fix csv func tests on mac with default awk --- tests/hledger-csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hledger-csv b/tests/hledger-csv index 8ea96a06d..0804e8e4a 100755 --- a/tests/hledger-csv +++ b/tests/hledger-csv @@ -5,7 +5,7 @@ # RULES # # -awk -vCSV="t.$$.csv" -vRULES="t.$$.csv.rules" ' +awk -v CSV="t.$$.csv" -v RULES="t.$$.csv.rules" ' BEGIN{output=CSV} /^RULES/{output=RULES} !/^RULES/{print $0 >output}'