aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-03-18 09:44:00 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-03-18 09:44:00 -0700
commit211a836d5e2887083021d3e6d7f7f69fc52a69d5 (patch)
treea850e9a221c1ceb5d268e13bb64f42fbac3a0ac4
parent750ca3854099771112a2420784220d86f7e97af6 (diff)
downloadcppawk-211a836d5e2887083021d3e6d7f7f69fc52a69d5.tar.gz
cppawk-211a836d5e2887083021d3e6d7f7f69fc52a69d5.tar.bz2
cppawk-211a836d5e2887083021d3e6d7f7f69fc52a69d5.zip
Protect against sed mistaking argument as option.
-rwxr-xr-xcppawk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppawk b/cppawk
index 86e4d27..7893586 100755
--- a/cppawk
+++ b/cppawk
@@ -37,7 +37,7 @@ prepro_opts="-D__gawk__=1" # Blank out for generic or use __mawk__, etc.
awk_file=
awk_opts=
tmp_file=
-delhashbang="sed -e /^#!/d"
+delhashbang="sed -e /^#!/d --"
prepro_only=
# functions