;tests: fix csv func tests on mac with default awk

This commit is contained in:
Simon Michael 2020-03-07 13:59:53 -08:00
parent e725b6bb47
commit 52da3853c0

View File

@ -5,7 +5,7 @@
# RULES
# <multi-line 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}'