=== modified file 'data.awk' --- data.awk 2014-05-26 09:10:52 +0000 +++ data.awk 2014-01-13 21:00:08 +0000 @@ -27,10 +27,10 @@ next } -/^del[ \t].*[a-zA-Z_][a-zA-Z0-9_.]$/ { +/^del[ \t].*[$/ { del_pattern = substr($0, 5) for(varname in V) { - if (match(varname, del_pattern)) { + if match(varname, del_pattern) { delete V[varname] } }