From 0577848b045e77729d6a132df3521de90e868408 Mon Sep 17 00:00:00 2001 From: xonix Date: Tue, 9 Jan 2024 17:58:15 +0200 Subject: [PATCH] impr minify.awk --- makesure_candidate | 2 +- minify.awk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/makesure_candidate b/makesure_candidate index 6135999..8518aba 100755 --- a/makesure_candidate +++ b/makesure_candidate @@ -601,7 +601,7 @@ function parseCli_2(line,vars,vars2,res,pos,c,c1,isDoll,q,var,inDef,defVal,val,w return"unterminated argument" if(!inDef&&":"==c&&"-"==substr(line,pos+1,1)){ inDef=1 - c=substr(line,pos += 2,1)} + c=substr(line,pos+=2,1)} if(inDef){ if("}"==c) break diff --git a/minify.awk b/minify.awk index 6806a9b..b88bfed 100644 --- a/minify.awk +++ b/minify.awk @@ -15,6 +15,7 @@ function minifyLine( l,subs) { gsub(/; +/, ";") gsub(/ ~ /, "~") gsub(/ !~ /, "!~") + gsub(/ \+= /, "+=") gsub(/ > /, ">") gsub(/ < /, "<") gsub(/ \/ /, "/")