From e0a110da6ff3595d2557d86c6df0f15f6ed45593 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 23 Mar 2022 07:52:50 -0700 Subject: hygiene: shell escape $awk and $prepro. Since $awk and $prepro are now controlled via command line options, and are being fed to eval, we should shell escape them. Two of our test cases rely on the loose interpolation behavior; we fix those using proper external mock programs testawk and testcpp. --- testcpp | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 testcpp (limited to 'testcpp') diff --git a/testcpp b/testcpp new file mode 100755 index 0000000..d93bcbb --- /dev/null +++ b/testcpp @@ -0,0 +1,3 @@ +#!/bin/sh +printf "[%.3s]" "$@" +printf "\n" -- cgit v1.2.3