{"commit":"3ee703d0afefbf88f7a839948a45dad0cab07cbb","subject":"rnc2rng.awk: Support define\/@combine in compact syntax","message":"rnc2rng.awk: Support define\/@combine in compact syntax\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rnc2rng.awk\n+++ rnc2rng.awk\n@@ -427,13 +427,29 @@\n   }\n   else {\n     nameix = index($0, \"=\");\n+    combine = \"\";\n     if (nameix < 1) next;\n-    name = substr($0, 1, nameix - 1);\n+    if (substr($0, nameix - 1, 1) == \"|\") {\n+      combine = \"choice\";\n+      name = substr($0, 1, nameix - 2);\n+    }\n+    else if (substr($0, nameix - 1, 1) == \"&\") {\n+      combine = \"interleave\";\n+      name = substr($0, 1, nameix - 2);\n+    }\n+    else {\n+      name = substr($0, 1, nameix - 1);\n+    }\n     sub(\/ \/, \"\", name);\n     if (name == \"start\")\n       stack[++stack_i] = \"<start>\"\n-    else\n-      stack[++stack_i] = sprintf(\"<define name='%s'>\", name);\n+    else {\n+      define = sprintf(\"<define name='%s'\", name);\n+      if (combine != \"\")\n+        define = define \" combine='\" combine \"'\"\n+      define = define \">\"\n+      stack[++stack_i] = define;\n+    }\n     mode = \"pattern\";\n     if (length($0) >= nameix + 1)\n       parse_pattern(substr($0, nameix + 1))\n"}
{"commit":"13cfce664550e2f3352441333f17322a1fcbb20b","subject":"LanguageData: update section E","message":"LanguageData: update section E\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -563,9 +563,7 @@\n     Locale[\"dz\"][\"spoken-in\"]          = \"Bhutan\"\n     Locale[\"dz\"][\"supported-by\"]       = \"\"\n \n-\n-\n-    #21 English (Standard English)\n+    # English\n     Locale[\"en\"][\"name\"]               = \"English\"\n     Locale[\"en\"][\"endonym\"]            = \"English\"\n     Locale[\"en\"][\"translations-of\"]    = \"Translations of %s\"\n@@ -574,12 +572,15 @@\n     Locale[\"en\"][\"examples\"]           = \"Examples\"\n     Locale[\"en\"][\"see-also\"]           = \"See also\"\n     Locale[\"en\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"en\"][\"branch\"]             = \"West Germanic\"\n     Locale[\"en\"][\"iso\"]                = \"eng\"\n     Locale[\"en\"][\"glotto\"]             = \"stan1293\"\n     Locale[\"en\"][\"script\"]             = \"Latn\"\n     Locale[\"en\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #22 Esperanto\n+    Locale[\"en\"][\"spoken-in\"]          = \"worldwide\"\n+    Locale[\"en\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Esperanto\n     Locale[\"eo\"][\"name\"]               = \"Esperanto\"\n     Locale[\"eo\"][\"endonym\"]            = \"Esperanto\"\n     Locale[\"eo\"][\"translations-of\"]    = \"Tradukoj de %s\"\n@@ -588,11 +589,15 @@\n     Locale[\"eo\"][\"examples\"]           = \"Ekzemploj\"\n     Locale[\"eo\"][\"see-also\"]           = \"Vidu anka\u016d\"\n     Locale[\"eo\"][\"family\"]             = \"Constructed language\"\n+    #Locale[\"eo\"][\"branch\"]\n     Locale[\"eo\"][\"iso\"]                = \"epo\"\n     Locale[\"eo\"][\"glotto\"]             = \"espe1235\"\n     Locale[\"eo\"][\"script\"]             = \"Latn\"\n-\n-    #23 Estonian\n+    Locale[\"eo\"][\"spoken-in\"]          = \"worldwide\"\n+    Locale[\"eo\"][\"description\"]        = \"the world's most widely spoken constructed international auxiliary language, designed to be a universal second language for international communication\"\n+    Locale[\"eo\"][\"supported-by\"]       = \"google; yandex\"\n+\n+    # Estonian\n     Locale[\"et\"][\"name\"]               = \"Estonian\"\n     Locale[\"et\"][\"endonym\"]            = \"Eesti\"\n     Locale[\"et\"][\"translations-of\"]    = \"S\u00f5na(de) %s t\u00f5lked\"\n@@ -601,9 +606,12 @@\n     Locale[\"et\"][\"examples\"]           = \"N\u00e4ited\"\n     Locale[\"et\"][\"see-also\"]           = \"Vt ka\"\n     Locale[\"et\"][\"family\"]             = \"Uralic\"\n+    Locale[\"et\"][\"branch\"]             = \"Finnic\"\n     Locale[\"et\"][\"iso\"]                = \"est\"\n     Locale[\"et\"][\"glotto\"]             = \"esto1258\"\n     Locale[\"et\"][\"script\"]             = \"Latn\"\n+    Locale[\"et\"][\"spoken-in\"]          = \"Estonia\"\n+    Locale[\"et\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n     # Ewe\n     Locale[\"ee\"][\"name\"]               = \"Ewe\"\n@@ -614,9 +622,14 @@\n     #Locale[\"ee\"][\"examples\"]\n     #Locale[\"ee\"][\"see-also\"]\n     Locale[\"ee\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"ee\"][\"branch\"]             = \"Gbe\"\n     Locale[\"ee\"][\"iso\"]                = \"ewe\"\n     Locale[\"ee\"][\"glotto\"]             = \"ewee1241\"\n     Locale[\"ee\"][\"script\"]             = \"Latn\"\n+    Locale[\"ee\"][\"spoken-in\"]          = \"Ghana; Togo; Benin\"\n+    Locale[\"ee\"][\"supported-by\"]       = \"google\"\n+\n+\n \n     #24 Filipino \/ Tagalog\n     Locale[\"tl\"][\"name\"]               = \"Filipino\"\n"}
{"commit":"bf56ad61a673a8b544ba2e4caa9d3542c645011b","subject":"MONDRIAN: Integrate new checkFile rule from \/\/open\/util\/bin\/checkFile.awk.","message":"MONDRIAN: Integrate new checkFile rule from \/\/open\/util\/bin\/checkFile.awk.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian\/\": change = 13379]\n","repos":"inevo\/mondrian,inevo\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -356,6 +356,9 @@\n         error(fname, FNR, \"operator '\" a[1] \"' must not be at end of line\");\n     }\n }\n+match(s, \/^ *(=) \/, a) {\n+    error(fname, FNR, \"operator '\" a[1] \"' must not be at start of line\");\n+}\n s ~ \/\\<[[:digit:][:lower:]][[:alnum:]_]*<\/ {\n     # E.g. \"p<\" but not \"Map<\"\n     if (!matchFile(fname)) {}\n"}
{"commit":"eae988b2bd0f127570794b37512bfed13465bea2","subject":"collapse exceptions into prefixes, cover lagging http(no S):\/\/monarch","message":"collapse exceptions into prefixes, cover lagging http(no S):\/\/monarch\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -65,16 +65,12 @@\n function contract(uri){\n \tu = uri\n \t# shorten till longest uri in curi map is found (or not)\n-\twhile(!(u in prefix) && (0 < length(u)))\n+\twhile(!(u in prefix))\n \t\tu = stripid(substr(u,1,length(u)-1))\n \tif(u in prefix)\n \t\treturn prefix[u]\n \telse\n-\t\tfor(ex in exception){\n-\t\t\tif((0 < match(uri, ex)) && exception[substr(uri,1,RLENGTH)])\n-\t\t\t\treturn exception[substr(uri,1,RLENGTH)]\n-\t\t}\n-\t\treturn \"___\" simplify(uri)\n+\t\treturn simplify(uri)\n }\n \n # get the final (incl fragment identifier) portion of a slashed path\n@@ -88,21 +84,22 @@\n }\n \n BEGIN{\n+\t# exceptions\n \tprefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n \tprefix[\"https:\/\/monarchinitiative.org\/_\"]=\"BNODE\"\n \t# just until skolemized bnodes get in the curie map?\n-\texception[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n+\tprefix[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n \t# revisit if exceptions are still necessary\n-\texception[\"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#\"]=\"rdf\"\n-\texception[\"http:\/\/www.w3.org\/2000\/01\/rdf-schema#\"]=\"rdfs\"\n-\texception[\"http:\/\/www.w3.org\/2002\/07\/owl#\"]=\"owl\"\n+\tprefix[\"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#\"]=\"rdf\"\n+\tprefix[\"http:\/\/www.w3.org\/2000\/01\/rdf-schema#\"]=\"rdfs\"\n+\tprefix[\"http:\/\/www.w3.org\/2002\/07\/owl#\"]=\"owl\"\n \t# in mgi\n-\texception[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n+\tprefix[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n \t# in panther\n-\texception[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n+\tprefix[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n \t# till all non httpS: are purged\n-\texception[\"http:\/\/monarchinitiative.org\/\"]=\"BASE\"\n-\texception[\"https:\/\/monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n+\tprefix[\"http:\/\/monarchinitiative.org\/\"]=\"BASE\"\n+\tprefix[\"http:\/\/monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n }\n \n # main loop\n"}
{"commit":"e8612a819669cca313293db43543d649f2ee0fea","subject":"comments","message":"comments\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -1,21 +1,24 @@\n #! \/usr\/bin\/gawk -f\n \n #  Reduce the subject and object of RDF triples (ntriples format)\n-# down to their @prefix (or literal object class)\n-#  Reduce predicates to the specific identifier and\n-# the ontology they are from.(curi form)\n+#  down to their @prefix (or literal object class)\n+#  Reduce predicates to the specific identifier\n+#  and the ontology they are from.(curi form)\n #  Express the subject and object as nodes with a directed edge\n-# labeled with the predicate in the graphviz dot format\n+#  labeled with the predicate in the graphviz dot format\n #  Include a tally of each combination of nodes and edge\n \n #  This may over generalize in some cases because I do not have\n-# a handy way to differentiate uri for subjects and objects\n-# which may belong to a \"structural\" ontology as opposed to\n+#  a handy way to differentiate uri for subjects and objects\n+#  which may belong to a \"structural\" ontology as opposed to\n # a data uri.\n \n #  Perhaps an improvement would be to also\n-# express subject and objects as individual curies (ala predicates)\n-# iff their namespace is also used by a predicate.\n+#  express subject and objects as individual curies (ala predicates)\n+#  iff their namespace is also used by a predicate.\n+\n+#  Post processing to augment predicate identifiers\n+#  with their labels seems to improve usefulness.\n \n ##########################################################\n # remove first and last chars from input string <>\n@@ -210,4 +213,3 @@\n \tprint \"label=\\\"\" substr(title,1,length(title)-3) \" (\" datestamp \")\\\";\"\n \tprint \"}\"\n }\n-\n"}
{"commit":"1148e2b3b2b57fc7204d6ffea06face9f7ecd217","subject":"library: entab only replace 2 or more spaces","message":"library: entab only replace 2 or more spaces\n","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -701,7 +701,7 @@\n     siz = checkpos(siz, 8, \"detab: second argument must be positive\")\n     str = detab(str, siz)\n     gsub(\".{\" siz \"}\", \"&\\1\", str)\n-    gsub(\" +\\1\", \"\\t\", str)\n+    gsub(\"  +\\1\", \"\\t\", str)\n     gsub(\"\\1\", \"\", str)\n     return str\n }\n"}
{"commit":"9865537354df85edf977958f1c04e00b0d5f6589","subject":"Rename default to default_function, for compatibility with GNU awk. (For cross-compiling out-of-tree kernel modules, for example.)","message":"Rename default to default_function, for compatibility with GNU awk.\n(For cross-compiling out-of-tree kernel modules, for example.)\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/makeobjops.awk\n+++ sys\/tools\/makeobjops.awk\n@@ -240,7 +240,7 @@\n \t\tlineno++\n \t}\n \n-\tdefault = \"\";\n+\tdefault_function = \"\";\n \tif (!match(line, \/\\};?\/)) {\n \t\twarnsrc(\"Premature end of file\");\n \t\terror = 1;\n@@ -248,9 +248,9 @@\n \t}\n \textra = substr(line, RSTART + RLENGTH);\n \tif (extra ~ \/[\t ]*DEFAULT[ \t]*[a-zA-Z_][a-zA-Z_0-9]*[ \t]*;\/) {\n-\t\tdefault = extra;\n-\t\tsub(\/.*DEFAULT[\t ]*\/, \"\", default);\n-\t\tsub(\/[; \t]+.*$\/, \"\", default);\n+\t\tdefault_function = extra;\n+\t\tsub(\/.*DEFAULT[\t ]*\/, \"\", default_function);\n+\t\tsub(\/[; \t]+.*$\/, \"\", default_function);\n \t}\n \telse if (extra && opt_d) {\n \t\t#   Warn about garbage at end of line.\n@@ -294,8 +294,8 @@\n \n \tfirstvar = varnames[1];\n \n-\tif (default == \"\")\n-\t\tdefault = \"kobj_error_method\";\n+\tif (default_function == \"\")\n+\t\tdefault_function = \"kobj_error_method\";\n \n \t# the method description \n \tprinth(\"\/** @brief Unique descriptor for the \" umname \"() method *\/\");\n@@ -308,7 +308,7 @@\n \n \t# Print out the method desc\n \tprintc(\"struct kobj_method \" mname \"_method_default = {\");\n-\tprintc(\"\\t&\" mname \"_desc, (kobjop_t) \" default);\n+\tprintc(\"\\t&\" mname \"_desc, (kobjop_t) \" default_function);\n \tprintc(\"};\\n\");\n \n \tprintc(\"struct kobjop_desc \" mname \"_desc = {\");\n"}
{"commit":"ef3df1760c9b828a6845da7effadf643dec5b551","subject":"rnc2rng: Allow combine on start","message":"rnc2rng: Allow combine on start\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rnc2rng.awk\n+++ rnc2rng.awk\n@@ -467,14 +467,13 @@\n     sub(\/^ *\/, \"\", name);\n     sub(\/ *$\/, \"\", name);\n     if (name == \"start\")\n-      stack[++stack_i] = \"<start>\"\n-    else {\n+      define = \"<start\"\n+    else\n       define = sprintf(\"<define name='%s'\", name);\n-      if (combine != \"\")\n-        define = define \" combine='\" combine \"'\"\n-      define = define \">\"\n-      stack[++stack_i] = define;\n-    }\n+    if (combine != \"\")\n+      define = define \" combine='\" combine \"'\"\n+    define = define \">\"\n+    stack[++stack_i] = define;\n     mode = \"pattern\";\n     if (length($0) >= nameix + 1)\n       parse_pattern(substr($0, nameix + 1))\n"}
{"commit":"51c1efec6071472fbc60df49d1b41eff48c559ce","subject":"(#4109) change .awk script so that VMWARE_LOCAL_SETTINGS_FILE config is commented out by default. ===VersionHistory:Pending===","message":"(#4109) change .awk script so that VMWARE_LOCAL_SETTINGS_FILE config is commented\nout by default.\n===VersionHistory:Pending===\n","repos":"neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -192,7 +192,7 @@\n \tnext\n }\n \/^#VMWARE_LOCAL_SETTINGS_FILE\/ {\n-\tprint \"VMWARE_LOCAL_SETTINGS_FILE = $(RELEASE_DIR)\/condor_vmware_local_settings\"\n+\tprint \"#VMWARE_LOCAL_SETTINGS_FILE = $(RELEASE_DIR)\/condor_vmware_local_settings\"\n \tnext\n }\n \n"}
{"commit":"8c69ca315218cfb0d901dde0bca3f2a66710d326","subject":"update","message":"update\n","repos":"crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot,Dhs92\/exec-irc-bot,crutchy-\/exec-irc-bot,crutchy-\/exec-irc-bot,crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot,crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- sedbot.awk\n+++ sedbot.awk\n@@ -1,12 +1,10 @@\n #!\/usr\/bin\/gawk -f\n-\n # https:\/\/github.com\/FoobarBazbot\/sedbot\n # https:\/\/github.com\/FoobarBazbot\/sedbot\/blob\/master\/LICENSE\n # by FoobarBazbot\n # modified by crutchy\n # https:\/\/github.com\/crutchy-\/test\/blob\/master\/sedbot.awk\n # 21-july-2014\n-\n function lineout(old,new,nouser) {\n   if(old!=new) print (nouser?\"\":\"<\" tauntuser(user) \"> \") new >outfile; close(outfile);\n   if(taunt[tolower(user)]>0) taunt[tolower(user)]--;\n@@ -16,6 +14,7 @@\n   return u;\n }\n BEGIN {\n+  #outfile=( ENVIRON[\"HOME\"] \"\/sedbotirc\/irc.sylnt.us\/#soylent\/in\");\n   line_re=\"^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2} <([^>]*)> (.*)$\";\n   blag_re=\"world wide web|internet|interweb|intersphere|intertubes|interblag|blogosphere|blagonet|blagosphere|blagoblag|webnet|webweb\";\n   blag_n=split(blag_re,blag_word,\/\\|\/);\n"}
{"commit":"2552885b88b85d61b7e8473cfc6e553522499a32","subject":"Fix order of opening and closing tags","message":"Fix order of opening and closing tags\n\n- When generating HTML from a manual page ensure that opening\n  and closing tags always come in the right order\n- Allow combining bold and underline statements\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doxy\/mantohtml.awk\n+++ doxy\/mantohtml.awk\n@@ -10,10 +10,28 @@\n \t# The backspace character is used to combine characters\n \tBS = \"\\x08\"\n \n-\t# Special character substitutions\n+\t# special HTML character substitutions\n \tSUB[\"&\"] = \"&amp;\"\n \tSUB[\"<\"] = \"&lt;\"\n \tSUB[\">\"] = \"&gt;\"\n+\n+\t# formatting flags\n+\tFMT_REGULAR    = 0\n+\tFMT_BOLD       = 1\n+\tFMT_UNDERLINE  = 2\n+\n+\t# formatting selectors\n+\tSELECT[\"_\"] = FMT_UNDERLINE\n+\n+\t# opening tags\n+\tOPEN[FMT_BOLD]                 = \"<b>\"\n+\tOPEN[FMT_UNDERLINE]            = \"<u>\"\n+\tOPEN[FMT_BOLD + FMT_UNDERLINE] = \"<b><u>\"\n+\n+\t# closing tags\n+\tCLOSE[FMT_BOLD]                 = \"<\/b>\"\n+\tCLOSE[FMT_UNDERLINE]            = \"<\/u>\"\n+\tCLOSE[FMT_BOLD + FMT_UNDERLINE] = \"<\/u><\/b>\"\n \n \tprint \"<pre>\"\n }\n@@ -79,31 +97,32 @@\n \tn = p\n \n \t#\n-\t# replace special characters\n+\t# detect per character formatting\n \t#\n+\tdelete format\n+\tdelete ochars\n+\n+\tolen = 0\n \tfor (i = 1; i <= n; ++i) {\n-\t\tuchars[i] in SUB && uchars[i] = SUB[uchars[i]]\n+\t\t# skip ahead of formatting to the output character\n+\t\twhile (uchars[i + 1] == BS) {\n+\t\t\ti += 2\n+\t\t\tcontinue\n+\t\t}\n+\t\t# add character\n+\t\tochars[++olen] = uchars[i]\n+\t\t# apply formatting\n+\t\tfor (p = i - 2; uchars[p + 1] == BS; p -= 2) {\n+\t\t\tformat[olen] = SELECT[uchars[p]]\n+\t\t\tformat[olen] += (uchars[i] == uchars[p] ? FMT_BOLD : FMT_REGULAR)\n+\t\t}\n \t}\n \n \t#\n-\t# detect per character formatting\n+\t# replace special characters\n \t#\n-\tdelete hide\n-\tdelete formatted\n-\tdelete bold\n-\tdelete underline\n-\tdelete strike\n-\n-\tfor (i = 1; i <= n; ++i) {\n-\t\tif (uchars[i] != BS) {\n-\t\t\tcontinue\n-\t\t}\n-\t\t# hide composed characters\n-\t\thide[i - 1] = hide[i] = 1\n-\t\t# detect formatting\n-\t\tbold[i + 1] = (uchars[i - 1] == uchars[i + 1]) || bold[i - 1];\n-\t\tunderline[i + 1] = !bold[i + 1] && (uchars[i - 1] == \"_\") || underline[i - 1];\n-\t\tstrike[i + 1] = !bold[i + 1] && (uchars[i - 1] == \"-\") || strike[i - 1];\n+\tfor (i = 1; i <= olen; ++i) {\n+\t\tochars[i] in SUB && ochars[i] = SUB[ochars[i]]\n \t}\n \n \t#\n@@ -111,48 +130,15 @@\n \t#\n \t$0 = \"\"\n \n-\tbmode = 0\n-\tumode = 0\n-\tsmode = 0\n-\tfor (i = 1; i <= n; ++i) {\n-\t\tif (hide[i]) {\n-\t\t\tcontinue\n+\tlast = FMT_REGULAR\n+\tfor (i = 1; i <= olen; ++i) {\n+\t\tif (format[i] != last) {\n+\t\t\t$0 = $0 CLOSE[last] OPEN[format[i]]\n \t\t}\n-\t\tif (!bmode && bold[i]) {\n-\t\t\t$0 = $0 \"<b>\"\n-\t\t\tbmode = 1\n-\t\t}\n-\t\tif (!umode && underline[i]) {\n-\t\t\t$0 = $0 \"<u>\"\n-\t\t\tumode = 1\n-\t\t}\n-\t\tif (!smode && strike[i]) {\n-\t\t\t$0 = $0 \"<strike>\"\n-\t\t\tsmode = 1\n-\t\t}\n-\t\tif (smode && !strike[i]) {\n-\t\t\t$0 = $0 \"<\/strike>\"\n-\t\t\tsmode = 0\n-\t\t}\n-\t\tif (umode && !underline[i]) {\n-\t\t\t$0 = $0 \"<\/u>\"\n-\t\t\tumode = 0\n-\t\t}\n-\t\tif (bmode && !bold[i]) {\n-\t\t\t$0 = $0 \"<\/b>\"\n-\t\t\tbmode = 0\n-\t\t}\n-\t\t$0 = $0 uchars[i]\n+\t\t$0 = $0 ochars[i]\n+\t\tlast = format[i]\n \t}\n-\tif (smode && !strike[i]) {\n-\t\t$0 = $0 \"<\/strike>\"\n-\t}\n-\tif (umode && !underline[i]) {\n-\t\t$0 = $0 \"<\/u>\"\n-\t}\n-\tif (bmode && !bold[i]) {\n-\t\t$0 = $0 \"<\/b>\"\n-\t}\n+\t$0 = $0 CLOSE[last]\n \n \tprint\n }\n"}
{"commit":"80cf1c22b629d524de18f20dcfd155d889ee5d2f","subject":"gbuild: Replace SHOWINCLUDES_PREFIX without regexp.","message":"gbuild: Replace SHOWINCLUDES_PREFIX without regexp.\n\nWith MSVC Japanese, SHOWINCLUDES_PREFIX includes regexp special\ncharactor \\x5b (left square bracket). In this case replacing\nSHOWINCLUDES_PREFIX with regexp fails. To fix it, this commit\nchanges the script not to use regexp.\n\nExample value of $SHOWINCLUDES_PREFIX from MSVC Japanese:\n$ echo $SHOWINCLUDES_PREFIX | hexdump -C\n83 81 83 82 3a 20 83 43 83 93 83 4e 83 8b 81 5b |....:.C...N...[|\n83 68 20 83 74 83 40 83 43 83 8b 3a 20 20 43 3a |.h.t.@.C..:  C:|\n5c 54 65 6d 70 5c 73 74 64 69 6f 2e 68 0d 0a    |\\Temp\\stdio.h..|\n\nChange-Id: Ic7d85fc3a93807de11155488e9d0368427375c78\nReviewed-on: https:\/\/gerrit.libreoffice.org\/3579\nReviewed-by: Kohei Yoshida <6e47bc5169e040ede988a669348d2aebab98c987@suse.de>\nTested-by: Kohei Yoshida <6e47bc5169e040ede988a669348d2aebab98c987@suse.de>\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/gbuild\/platform\/filter-showIncludes.awk\n+++ solenv\/gbuild\/platform\/filter-showIncludes.awk\n@@ -31,8 +31,6 @@\n     if (!showincludes_prefix) {\n         showincludes_prefix = \"Note: including file:\"\n     }\n-    regex = \"^ *\" showincludes_prefix \" *\"\n-    pattern = \"\/\" regex \"\/\"\n \n     # to match especially drive letters in whitelist case insensitive\n     IGNORECASE = 1\n@@ -42,8 +40,10 @@\n }\n \n {\n-    if ($0 ~ regex) {\n-        sub(regex, \"\")\n+    sub(\/^ *\/, \"\")\n+    if (index($0, showincludes_prefix) == 1) {\n+        $0 = substr($0, 1, length(showincludes_prefix))\n+        sub(\/^ *\/, \"\")\n         gsub(\/\\\\\/, \"\/\")\n         gsub(\/ \/, \"\\\\ \")\n         if ($0 ~ whitelist) { # filter out system headers\n"}
{"commit":"219377812da3396a2846c375eb5c32f6b5162a23","subject":"#i10000# workaround limitations of solaris awk","message":"#i10000# workaround limitations of solaris awk","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/gbuild\/processdelivered.awk\n+++ solenv\/gbuild\/processdelivered.awk\n@@ -30,6 +30,6 @@\n     FS=\":\"\n }\n \n-NF == 2 {\n+length($1) > 0 && length($2) > 0 {\n     print \"COPY \" $1 \" \" $2;\n }\n"}
{"commit":"04edb86da34b59c077d721c073b0efa51f1286b4","subject":"output edges in a sorted order, make gawk explicit","message":"output edges in a sorted order, make gawk explicit\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -1,4 +1,4 @@\n-#! \/usr\/bin\/awk -f\n+#! \/usr\/bin\/gawk -f\n \n #  Reduce the subject and object of RDF triples (ntriples format)\n # down to their @prefix (or literal object class)\n@@ -195,7 +195,10 @@\n \tprint \"digraph {\"\n \tprint \"rankdir=LR;\"\n \tprint \"charset=\\\"utf-8\\\";\"\n-\tfor(edge in edgelist){\n+\t# sort the edges to facilitate future inter dot comparisons\n+\tn=asorti(edgelist, sortlist)\n+\tfor (i=1; i<=n; i++) {\n+\t\tedge=sortlist[i]\n \t\tsplit(edge ,spo, SUBSEP);\n \t\tprint simplify(spo[1]) \" -> \" simplify(spo[3]) \\\n \t\t\" [label=\\\"\" spo[2] \" (\" edgelist[edge] \")\\\"];\"\n"}
{"commit":"b441c837001709d3348dd58659c545932f3d825e","subject":" - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS    environment variable to enable the lock verifiction code.","message":" - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS\n   environment variable to enable the lock verifiction code.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"a4694effb36e721bc33301cdcf5592d9a8f7150f","subject":"nasty conversion:dataset_identifier replacement bug fixed.","message":"nasty conversion:dataset_identifier replacement bug fixed.\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"unknown","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"044c2d993c0dc9b9a1d1e4f09ec4462234969763","subject":"Better changelog creator.","message":"Better changelog creator.\n","repos":"oneminot\/libcvd,oneminot\/libcvd,oneminot\/libcvd","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- make\/log_to_changelog.awk\n+++ make\/log_to_changelog.awk\n@@ -1,147 +1,161 @@\n BEGIN{\n-\tkey=0\n+\trevision_key=0\n+}\n+\n+function gline()\n+{\n+\tif(!getline)\n+\t\terror(\"Unexpected EOF\")\n+\treturn 1\n+}\n+\n+function error(s)\n+{\n+\tprint s > \"\/dev\/stderr\"\n+\texit(1)\n+}\n+\n+\/^?\/{next}\n+\n+#Process a file entry\n+\/^Working file:\/{\n+\n+\t#Get the filename\n+\tfilename=$3\n+\t\n+\t#Find the tags\n+\twhile(gline() && !\/^symbolic names:\/);\n+\n+\t#Extract tags\n+\tdelete revision_to_tag\n+\twhile(gline() && ! \/^keyword substitution:\/)\n+\t{\n+\t\ttagname=substr($1, 1, length($1)-1)\n+\t\trevision_to_tag[$2]=tagname\n+\t}\n+\t\n+\t#Skip over the rest until the revisions\n+\twhile(gline() && !\/^----------------\/);\n+\t\n+\t#There is always at least one revision\n+\tdo\n+\t{\n+\t\t#The revision number\n+\t\tgline()\n+\t\trevision=$2\n+\n+\t\t#The commit line\n+\t\tgline()\n+\t\tcommit_line=$0\n+\t\tauthor=substr($6, 1, length($6)-1)\n+\t\t\n+\t\t#Store the date* 10 for extra precision\n+\t\tdate = $2\" \"$3\n+\t\tgsub(\/[^0-9]+\/, \" \", date)\n+\t\tdate=mktime(date)*10\n+\t\t\n+\t\t#The commit message\n+\t\tmessage=\"\"\n+\t\twhile(gline() && !\/^[-=]+$\/)\n+\t\t\tmessage = message $0 \"\\n\"\n+\n+\t\t#The commit line is the primary key.\n+\t\t\n+\t\t#Keep track of commits\n+\t\tdate_to_line[date]=commit_line\n+\t\tline_to_message[commit_line]=message\n+\t\tline_to_author[commit_line]=author\n+\t\tline_to_files[commit_line]=line_to_files[commit_line] \" \" filename\n+\t\tline_to_revision[commit_line]=line_to_revision[commit_line] \" \" revision\n+\t\t\n+\t\t#The last file commit which has a certain tag \n+\t\t#happens just before the tag.\n+\t\tif(tag_to_date[revision_to_tag[revision]] < date)\n+\t\t\ttag_to_date[revision_to_tag[revision]] = date\n+\t}\n+\twhile(!\/^=+$\/)\n }\n \n \n+END{\n+\t#Delete the null tag for untagged revisions\n+\tdelete tag_to_date[\"\"]\n \n-\n-#A log entry\n-\/RCS file:\/{\n-\tgetline\n-\tsub(\/^Working file: \/,\"\")\n-\tfilename=$0\n-\n-\tdo\n-\t\tgetline\n-\twhile(!\/symbolic names\/)\n-\n-\tdelete sym\n-\n-\tgetline\n-\tfor(;!\/keyword substitution\/;getline)\n-\t{\n-\t\tsub(\/:\/,\"\",$1)\n-\t\tsym[$2]=$1\n+\t#The last\n+\tfor(i in tag_to_date)\n+\t{\t\n+\t\t#Put the tag in just after the last commit\n+\t\tdate = tag_to_date[i] + 1\n+\t\tdate_to_line[date]=\"hello\"\n+\t\tdate_to_tag[date]=i\n \t}\n \n \n-\twhile(!\/----------\/)\n-\t\tgetline\n+\t#Sort commits by date\n+\tnum_dates=asorti(date_to_line, sorted_dates)\n+\t\n+\t#Iterate through all commits, newest first\n+\tfor(i=num_dates; i > 0; i--)\n+\t{\n+\t\tdate = sorted_dates[i]\n \n-\twhile(1)\n-\t{\n-\t\tgetline\n-\t\trevision=$2\n-\t\tgetline\n-\t\tdate=$2\" \"$3\n-\n-\t\tdatestamp=date\n-\t\tgsub(\/[^0-9]+\/, \" \", datestamp)\n-\n-\t\tepoch=mktime(datestamp)\n-\t\tdate = strftime(\"%a %e %b, %Y %H:%M:%S\", epoch)\n-\n-\n-\t\tauthor = $6\n-\t\tsub(\/;$\/, \"\", author)\n-\n-\t\t#Try to build a checkin stamp\n-\t\t\t\n-\t\ttag=sym[revision]\n-\t\n-\t\t#Find the most recent date for the tag (if present)\n-\t\tif(tag != \"\" && alltags[tag] < datestamp)\n-\t\t\talltags[tag] = datestamp\n-\n-\t\ttext=\"\"\n-\t\t#Get text\n-\t\twhile(getline && !\/-----\/ && !\/======\/)\n-\t\t\ttext=text (text == \"\" ? \"\" : \"\\n\") $0\n-\n-\t\t#Now we have: filename revision date datestamp author tag text key\n-\t\tauthors[key] = author\n-\t\trevisions[key] = revision\n-\t\ttags[key] =  tag\n-\t\ttexts[key] = text\n-\t\tfiles[key] = filename\n-\t\n-\t\tdates[datestamp] = date\n-\n-\t\tentries[datestamp] = entries[datestamp] \" \" key\n-\n-\t\tkey++\n-\n-\t\tif(\/========\/)\n-\t\t\tbreak\n-\t}\n-}\n-\n-\n-\n-END{\n-\t#Put tags in to entries\n-\tfor(i in alltags)\n-\t\tentries[alltags[i]] = \"tag \" i\n-\n-\n-\tn = asorti(entries, se)\n-\n-\tfor(i=n; i >0; i--)\n-\t{\n-\t\tds = se[i]\n-\t\tkeylist = entries[ds]\n-\t\tnk = split(keylist, keys)\n-\n-\t\t#Try to concatenate non-atomic commits\n-\t\tconcat=\"\"\n-\t\tnc=1\n-\t\tfor(;;)\n+\t\tif(date in date_to_tag)\n \t\t{\n-\t\t\tds1 = se[i-1]\n-\t\t\tkl1 = entries[ds1]\n-\t\t\tnk1 = split(kl1, k1)\n-\t\t\tif(authors[keys[1]] == authors[k1[1]] && texts[keys[1]] == texts[k1[1]])\n-\t\t\t{\n-\t\t\t\tkeylist = keylist \" \" kl1\n-\t\t\t\tnk = split(keylist, keys)\n-\t\t\t\ti--\n-\t\t\t\tconcat = concat \", \"(ds1 - ds) \"s\"\n-\t\t\t\tnc++\n-\t\t\t}\n-\t\t\telse\n-\t\t\t\tbreak\n-\t\t}\n-\n-\t\tif(concat != \"\")\n-\t\t\tconcat = \"(Concatenated \" nc \" entries at 0s\" concat \")\"\n-\n-\n-\t\t\n-\n-\t\tif(keys[1] == \"tag\")\n-\t\t{\n-\t\t\tprint \"=====================================================================\"\n-\t\t\tprint \"Repository tagged as \" keys[2]\n-\t\t\tprint \"=====================================================================\"\n-\t\t\tprint \"\"\n-\t\t\tprint \"\"\n+\t\t\tprint \"==========================================\"\n+\t\t\tprint \"Repository tagged as \" date_to_tag[date]\n+\t\t\tprint \"==========================================\"\n \t\t}\n \t\telse\n \t\t{\n-\t\t\tprint dates[ds] \" author: \" authors[keys[1]] \" \" concat\n+\t\t\tline = date_to_line[date]\n \n-\t\t\tfor(j=1; j <= nk; j++)\n+\t\t\tauthor=line_to_author[line]\n+\t\t\tmessage=line_to_message[line]\n+\n+\t\t\tfile_list=line_to_files[line]\n+\t\t\trev_list=line_to_revision[line]\n+\t\t\t\n+\t\t\tprint \"\"\n+\t\t\t#Long commits can get spread over several seconds.\n+\t\t\t#Try to concatenate entries which differ by a few \n+\t\t\t#seconds, but have the same commit messsage and \n+\t\t\t#author\n+\t\t\t#We allow 20 seconds\n+\t\t\tconcatenation=\"\"\n+\t\t\tnum_concat=0\n+\t\t\tfor(j=i-1; j>0 && \n+\t\t\t\t\t   author==line_to_author[date_to_line[sorted_dates[j]]] &&\n+\t\t\t\t\t   message==line_to_message[date_to_line[sorted_dates[j]]] &&\n+\t\t\t\t\t   date - sorted_dates[j] < 20; j--)\n \t\t\t{\n-\t\t\t\tk = keys[j]\n-\t\t\t\tprint \"   File: \" files[k] \" (Rev. \" revisions[k] \")\" \n+\t\t\t\t#Reset i, so that the fragment appears once only.\n+\t\t\t\ti=j\n+\t\t\t\t\n+\t\t\t\t#Append to the file and revision list\n+\t\t\t\tfile_list=file_list \" \" line_to_files[date_to_line[sorted_dates[j]]];\n+\t\t\t\trev_list=rev_list \" \" line_to_revision[date_to_line[sorted_dates[j]]];\n+\n+\t\t\t\t#Make a note of teh concatenations\n+\t\t\t\tconcatenation=concatenation \", \" date - sorted_dates[j] \"s\"\n+\t\t\t\tnum_concat++\n \t\t\t}\n \n-\t\t\tprint \"\"\n-\t\t\tprint texts[keys[1]]\n-\t\t\tprint \"\"\n-\t\t\tprint \"-----------------------------------\"\n-\t\t\tprint \"\"\n+\t\t\t#Create a message based on concatenation\n+\t\t\tif(num_concat)\n+\t\t\t\tconcatenation = \" (Concatenated \" num_concat+1 \" entries at \" substr(concatenation, 3) \")\"\n+\t\t\t\n+\t\t\t#Leader line\n+\t\t\tprint strftime(\"%a %e %b, %Y %H:%M:%S\", date\/10) \" author: \" author concatenation\n+\t\t\t\n+\t\t\t#List files commit happened on\n+\t\t\tnumfiles=split(file_list, files);\n+\t\t\tsplit(rev_list, revisions);\n+\n+\t\t\tfor(j=1; j <= numfiles; j++)\n+\t\t\t\tprint \"    File: \" files[j] \" (Rev. \" revisions[j] \")\"\n+\t\t\t\n+\t\t\t#Print the commit message\n+\t\t\tprint \"\\n\" message \"\\n--------------\"\n \t\t}\n \t}\n-\n }\n"}
{"commit":"016c55f48843db4b7c03d4116cfb2ed53d19ecf1","subject":"Use color \"0\" (black) is no session information is found.","message":"Use color \"0\" (black) is no session information is found.\n\n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@20 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- awk-scripts\/callflow.awk\n+++ awk-scripts\/callflow.awk\n@@ -173,6 +173,8 @@\n \t\t# If over 11 colors, choose black color as default...\n \t\t# TODO: change color behavior\n \t\tif (strtonum(c)>11) {c=\"0\"}\n+\t } else {\n+\t\tc = 0\n \t }\n \t l1 = sprintf(\"%s:%s\", $2,$3);\n \t l2 = sprintf(\"%s:%s\", $5,$6);\n"}
{"commit":"7b732400ba108d39ee51ce53ed15659e0402d04f","subject":"include systm.h in vnode_if.c so that panic is defined when we're doing DEBUG_ALL_VFS_LOCKS.","message":"include systm.h in vnode_if.c so that panic is defined when we're doing\nDEBUG_ALL_VFS_LOCKS.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -128,6 +128,7 @@\n if (cfile) {\n \tprintc(common_head \\\n \t    \"#include <sys\/param.h>\\n\" \\\n+\t    \"#include <sys\/systm.h>\\n\" \\\n \t    \"#include <sys\/vnode.h>\\n\" \\\n \t    \"\\n\" \\\n \t    \"struct vnodeop_desc vop_default_desc = {\\n\" \\\n"}
{"commit":"c4798b694a2037def10cb52560aeeb530cfe45d0","subject":"add a usage fx","message":"add a usage fx\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -13,12 +13,15 @@\n #  which may belong to a \"structural\" ontology as opposed to\n # a data uri.\n \n-#  Perhaps an improvement would be to also\n-#  express subject and objects as individual curies (ala predicates)\n-#  iff their namespace is also used by a predicate.\n-\n #  Post processing to augment predicate identifiers\n #  with their labels seems to improve usefulness.\n+\n+\n+function usage(){\n+\tprint \"usage: ntriple2dot.awk curie_map.yaml rdf.nt > rdf.dot\"\n+}\n+\n+\n \n ##########################################################\n # remove first and last chars from input string <>\n"}
{"commit":"4e08f4d2c42d8fa2170b4ac57e630f5c80e18b3a","subject":"fix for relation between p tag and other block elem","message":"fix for relation between p tag and other block elem\n","repos":"amamama\/hairy-octo-sansa,amamama\/hairy-octo-sansa","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- md2slide.awk\n+++ md2slide.awk\n@@ -1,16 +1,9 @@\n function parse_line(line,   ret) {\n-\tif (line ~ \/^#[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h1\", parse_line(gensub(\/^#[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^##[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h2\", parse_line(gensub(\/^##[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^###[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h3\", parse_line(gensub(\/^###[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^####[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h4\", parse_line(gensub(\/^####[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^#####[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h5\", parse_line(gensub(\/^#####[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^######[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h6\", parse_line(gensub(\/^######[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n+\tif (line ~ \/^==+\/ || lines ~ \/^--+\/) {\n+\t\tif (line ~ \/^==+\/ && (slide == \"hamaji\" || slide == \"shinh\" || slide == \"simple\" || slide == \"s\")) {\n+\t\t} else {\n+\t\t\tret = ret \"<hr \/>\"\n+\t\t}\n \t} else if (line ~ \/\\*\\*[^[:space:]].*[^[:space:]]\\*\\*\/) {\n \t\tret = ret parse_line(gensub(\/\\*\\*([^[:space:]].*[^[:space:]])\\*\\*\/, \"<strong>\\\\1<\/strong>\", \"g\", line))\n \t} else if (line ~ \/__[^[:space:]].*[^[:space:]]__\/) {\n@@ -32,58 +25,106 @@\n \treturn \"<\" stag \" \" opt \">\" body \"<\/\" stag \">\"\n }\n \n-function parse_para(para,   lines, ret) {\n+function parse_para(para,   lines, ispara, ret, begp, endp) {\n \tmax_idx = split(para, lines)\n+\tbegp = \"\"\n+\tendp = \"\"\n+\tispara = 0\n \tfor (i = 1; i <= max_idx; i++) {\n \t\tif (lines[i + 1] ~ \/^==+\/) {\n \t\t\tif (slide == \"hamaji\" || slide == \"shinh\" || slide == \"simple\" || slide == \"s\") {\n \t\t\t\theadline = tag(\"h1\", parse_line(lines[i])) \"<hr \/>\"\n+\t\t\t\ti++\n \t\t\t} else {\n-\t\t\t\tret = ret tag(\"h1\", parse_line(lines[i]))\n+\t\t\t\tret = ret endp tag(\"h1\", parse_line(lines[i]))\n+\t\t\t\tispara = 0\n+\t\t\t\tendp = \"\"\n \t\t\t}\n \t\t} else if (lines[i + 1] ~ \/^--+\/) {\n \t\t\tif (slide == \"hamaji\" || slide == \"shinh\" || slide == \"simple\" || slide == \"s\") {\n-\t\t\t\tret = ret parse_line(lines[i])\n+\t\t\t\tret = ret endp parse_line(lines[i])\n+\t\t\t\tispara = 0\n+\t\t\t\tendp = \"\"\n \t\t\t} else {\n-\t\t\t\tret = ret tag(\"h2\", parse_line(lines[i]))\n+\t\t\t\tret = ret endp tag(\"h2\", parse_line(lines[i]))\n+\t\t\t\tispara = 0\n+\t\t\t\tendp = \"\"\n \t\t\t}\n-\t\t} else if (lines[i] ~ \/^==+\/ || lines[i] ~ \/^--+\/) {\n-\t\t\tif (lines[i] ~ \/^==+\/ && (slide == \"hamaji\" || slide == \"shinh\" || slide == \"simple\" || slide == \"s\")) {\n-\t\t\t} else {\n-\t\t\t\tret = ret \"<hr \/>\"\n-\t\t\t}\n+\t\t} else if (lines[i] ~ \/^#[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h1\", parse_line(gensub(\/^#[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n+\t\t} else if (lines[i] ~ \/^##[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h2\", parse_line(gensub(\/^##[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n+\t\t} else if (lines[i] ~ \/^###[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h3\", parse_line(gensub(\/^###[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n+\t\t} else if (lines[i] ~ \/^####[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h4\", parse_line(gensub(\/^####[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n+\t\t} else if (lines[i] ~ \/^#####[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h5\", parse_line(gensub(\/^#####[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n+\t\t} else if (lines[i] ~ \/^######[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h6\", parse_line(gensub(\/^######[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n \t\t}else if (lines[i] ~ \/^[[:space:]]*>\/) {\n-\t\t\tret = ret \"<blockquote>\"\n+\t\t\tret = ret endp \"<blockquote>\"\n \t\t\tfor (; lines[i] ~ \/^[[:space:]]*>\/; i++) {\n \t\t\t\tret = ret parse_line(gensub(\/^[[:space:]]*>(.*)\/, \"\\\\1\", \"g\", lines[i]))\n \t\t\t}\n \t\t\ti--\n \t\t\tret = ret \"<\/blockquote>\"\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n \t\t} else if (lines[i] ~ \/^[[:space:]]*(\\*|-)[[:space:]]+[^[:space:]].*\/) {\n-\t\t\tret = ret \"<ul>\"\n+\t\t\tret = ret endp \"<ul>\"\n \t\t\tfor (; lines[i] ~ \/^[[:space:]]*(\\*|-)\/; i++) {\n \t\t\t\tret = ret tag(\"li\", parse_line(gensub(\/^[[:space:]]*(\\*|-)[[:space:]]+([^[:space:]].*)\/, \"\\\\2\", \"g\", lines[i])))\n \t\t\t}\n \t\t\ti--\n \t\t\tret = ret \"<\/ul>\"\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n \t\t} else if (lines[i] ~ \/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+[^[:space:]].*\/) {\n-\t\t\tret = ret \"<ol>\"\n+\t\t\tret = ret endp \"<ol>\"\n \t\t\tfor (; lines[i] ~ \/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+[^[:space:]].*\/; i++) {\n \t\t\t\tret = ret tag(\"li\", parse_line(gensub(\/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+([^[:space:]].*)\/, \"\\\\1\", \"g\", lines[i])))\n \t\t\t}\n \t\t\ti--\n \t\t\tret = ret \"<\/ol>\"\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n \t\t} else if (lines[i] ~ \/^```\/) {\n-\t\t\tret = ret \"<pre><code>\"\n+\t\t\tret = ret endp \"<pre><code>\"\n \t\t\tfor (i++; lines[i] !~ \/^```\/; i++) {\n \t\t\t\tgsub(\/>\/, \"\\\\&gt;\", lines[i])\n \t\t\t\tgsub(\/<\/, \"\\\\&lt;\", lines[i])\n \t\t\t\tret = ret  lines[i] \"\\n\"\n \t\t\t}\n \t\t\tret = ret \"<\/code><\/pre>\"\n+\t\t\tispara = 0\n+\t\t\tendp = \"\"\n \t\t} else {\n-\t\t\tret = ret parse_line(lines[i])\n+\t\t\tif (ispara != 0) {\n+\t\t\t\tret = ret parse_line(lines[i])\n+\t\t\t} else {\n+\t\t\tret = ret \"<p>\" parse_line(lines[i])\n+\t\t\tispara = 1\n+\t\t\tendp = \"<\/p>\"\n+\t\t\t}\n \t\t}\n+\t}\n+\tif (ispara != 0) {\n+\t\tret = ret \"<\/p>\"\n+\t\tispara = 0\n+\t\tendp = \"\"\n \t}\n \treturn ret\n }\n@@ -103,7 +144,7 @@\n \t\tprint \"<!DOCTYPE html>\" tag(\"html\", tag(\"head\",\"<meta charset=\\\"UTF-8\\\">\") tag(\"body\",\n \t\t\t\ttag(\"a\", \"&lt;\", \"href = \\\".\/\" filename NR-1 \".html\\\"\") \\\n \t\t\t\ttag(\"a\", \"&gt;\", \"href = \\\".\/\" filename NR+1 \".html\\\"\") \\\n-\t\t\t\ttag(\"p\", headline body) \\\n+\t\t\t\ttag(\"section\", headline body) \\\n \t\t\t\t)) >  \".\/\" filename \"\/\" filename NR \".html\"\n \t} else {\n \t\tbody = body tag(\"p\", parse_para($0))\n"}
{"commit":"cf43bd283a7b08333e2c4f4cb35abc7e422b9ec7","subject":"Remove special processing that BBox fixed","message":"Remove special processing that BBox fixed\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFromSitemap.awk\n+++ getBBoxCatalogFromSitemap.awk\n@@ -246,13 +246,6 @@\n         missingEntityIds += 1\n         printf (\"==> Missing EntityId for %s %s '%s' in show %s at line %d\\n\", contentType, contentId,\n                 title, showContentId, firstLineNum) >> ERRORS\n-        # Special processing for tv_episode p07gnw9f in show p07gnpx0 - add missing EntityId \n-        if (contentId == \"p07gnw9f\") {\n-            EntityId = \"_23842\"\n-            printf (\"==> Added EntityId %s for %s %s '%s' in show %s\\n\", EntityId, contentType, contentId,\n-                    title, showContentId) >> ERRORS\n-            # print \"==> EntityId = \" EntityId > \"\/dev\/stderr\"\n-        }\n     }\n \n     if (contentType == \"movie\") {\n"}
{"commit":"7bc668fc3415d7c746d55f4f6027d2e3f4efdc23","subject":"Add totals to bottom line of output","message":"Add totals to bottom line of output\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@16921 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -15,6 +15,8 @@\n   }\n   b[$1,$2,$3]++\n   c[$1,$2,$3,$4]++\n+  x[$4]++\n+  tt++\n }\n \n END {\n@@ -43,4 +45,9 @@\n     }\n     printf \"\\n\"\n   }\n+    printf \"Publisher\\tContract\\tYear\\t%d\", tt\n+    for (j = 0 ; j < sn ; j++) {\n+    \tprintf \"\\t%d\", x[s[j]]\n+    }\n+\n }\n"}
{"commit":"678fe9517b48af8189bd349313238392a2879d36","subject":"Shortened the parameter list by applying Go syntax (omit duplicated parameter types)","message":"Shortened the parameter list by applying Go syntax (omit duplicated parameter types)\n","repos":"asukakenji\/go,asukakenji\/go,asukakenji\/go,asukakenji\/go","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- jni\/scripts\/gen_jnienv_go.awk\n+++ jni\/scripts\/gen_jnienv_go.awk\n@@ -121,8 +121,13 @@\n \t}\n \tfor (pi = 1; pi <= param_indices[mi]; ++pi) {\n \t\tpt = parameter_types[mi, pi]\n+\t\tpt1 = parameter_types[mi, pi + 1]\n \t\tpn = parameter_names[mi, pi]\n-\t\tpa[pi] = transform_parameter_name(pn) \" \" transform_type(pt)\n+\t\tif (pt == pt1) {\n+\t\t\tpa[pi] = transform_parameter_name(pn)\n+\t\t} else {\n+\t\t\tpa[pi] = transform_parameter_name(pn) \" \" transform_type(pt)\n+\t\t}\n \t}\n \treturn join(pa, \", \", param_indices[mi])\n }\n"}
{"commit":"7ca00282f448b46f42adca4c0d159b254b436a29","subject":"- Fixed typo in kern_params initialization (was kern_parms) - Fixed handing of kernel parameter entries to allow spaces - Enabled acpi - Specified bridge network interface gt #1079","message":"- Fixed typo in kern_params initialization (was kern_parms) - Fixed handing of kernel parameter entries to allow spaces - Enabled acpi - Specified bridge network interface gt #1079\n","repos":"neurodebian\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/condor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_vm-gahp\/libvirt_simple_script.awk\n+++ src\/condor_vm-gahp\/libvirt_simple_script.awk\n@@ -24,13 +24,18 @@\n # that the entire classad has been sent to us.\n {\n     gsub(\/\\\"\/, \"\")\n-    attrs[$1] = $3\n+    key = $1\n+    # Matching value should be $3-$NR\n+    $1 = \"\"\n+    $2 = \"\"\n+    sub(\/^  \/, \"\")\n+    attrs[key] = $0\n     bootloader = \"\"\n     root = \"\"\n     initrd = \"\"\n     kernel = \"\"\n-    kern_parms = \"\"\n-    print \"Received attribute: \" $1 \"=\" attrs[$1] >debug_file\n+    kern_params = \"\"\n+    print \"Received attribute: \" key \"=\" attrs[key] >debug_file\n }\n \n END {\n@@ -85,6 +90,11 @@\n     {\n \tprint \"<bootloader>\" bootloader \"<\/bootloader>\"\n     }\n+\n+    # Make sure guests destroy on power off\n+    print \"<features><acpi\/><apic\/><pae\/><\/features>\" ;\n+    print \"<on_poweroff>destroy<\/on_poweroff><on_reboot>restart<\/on_reboot><on_crash>restart<\/on_crash>\" ;\n+\n     print \"<devices>\" ;\n     if(attrs[\"JobVMNetworking\"] == \"TRUE\")\n     {\n@@ -94,7 +104,7 @@\n \t}\n \telse\n \t{\n-\t    print \"<interface type='bridge'><mac address='\" attrs[\"JobVM_MACADDR\"] \"'\/><\/interface>\" ;\n+\t    print \"<interface type='bridge'><mac address='\" attrs[\"JobVM_MACADDR\"] \"'\/><source bridge='br0'\/><\/interface>\" ;\n \t}\n     }\n     print \"<disk type='file'>\" ;\n"}
{"commit":"d839d5398d70a2e040211783d9c157ec7cd0af49","subject":"LanguageData: update section J","message":"LanguageData: update section J\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1079,7 +1079,7 @@\n     Locale[\"ikt\"][\"spoken-in\"]         = \"the Canadian Arctic\"\n     Locale[\"ikt\"][\"supported-by\"]      = \"bing\"\n \n-    # Inuktitut\n+    # Inuktitut (Eastern Canadian Inuktitut)\n     Locale[\"iu\"][\"name\"]               = \"Inuktitut\"\n     Locale[\"iu\"][\"endonym\"]            = \"\u1403\u14c4\u1483\u144e\u1450\u1466\"\n     #Locale[\"iu\"][\"translations-of\"]\n@@ -1095,7 +1095,7 @@\n     Locale[\"iu\"][\"spoken-in\"]          = \"the Canadian Arctic\"\n     Locale[\"iu\"][\"supported-by\"]       = \"bing\"\n \n-    # Inuktitut, Latin alphabet\n+    # Inuktitut (Eastern Canadian Inuktitut), Latin alphabet\n     Locale[\"iu-Latn\"][\"name\"]          = \"Inuktitut (Latin)\"\n     Locale[\"iu-Latn\"][\"endonym\"]       = \"Inuktitut\"\n     #Locale[\"iu-Latn\"][\"translations-of\"]\n@@ -1145,9 +1145,7 @@\n     Locale[\"it\"][\"spoken-in\"]          = \"Italy; Switzerland; San Marino; Vatican City\"\n     Locale[\"it\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #44 Japanese\n+    # Japanese\n     Locale[\"ja\"][\"name\"]               = \"Japanese\"\n     Locale[\"ja\"][\"endonym\"]            = \"\u65e5\u672c\u8a9e\"\n     Locale[\"ja\"][\"translations-of\"]    = \"\u300c%s\u300d\u306e\u7ffb\u8a33\"\n@@ -1156,12 +1154,15 @@\n     Locale[\"ja\"][\"examples\"]           = \"\u4f8b\"\n     Locale[\"ja\"][\"see-also\"]           = \"\u95a2\u9023\u9805\u76ee\"\n     Locale[\"ja\"][\"family\"]             = \"Japonic\"\n+    #Locale[\"ja\"][\"branch\"]\n     Locale[\"ja\"][\"iso\"]                = \"jpn\"\n     Locale[\"ja\"][\"glotto\"]             = \"nucl1643\"\n     Locale[\"ja\"][\"script\"]             = \"Jpan\"\n     Locale[\"ja\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #45 Javanese, Latin alphabet\n+    Locale[\"ja\"][\"spoken-in\"]          = \"Japan\"\n+    Locale[\"ja\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Javanese, Latin alphabet\n     Locale[\"jv\"][\"name\"]               = \"Javanese\"\n     Locale[\"jv\"][\"endonym\"]            = \"Basa Jawa\"\n     Locale[\"jv\"][\"translations-of\"]    = \"Terjemahan %s\"\n@@ -1170,9 +1171,14 @@\n     Locale[\"jv\"][\"examples\"]           = \"Conto\"\n     Locale[\"jv\"][\"see-also\"]           = \"Deleng uga\"\n     Locale[\"jv\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"jv\"][\"branch\"]             = \"Malayo-Polynesian\"\n     Locale[\"jv\"][\"iso\"]                = \"jav\"\n     Locale[\"jv\"][\"glotto\"]             = \"java1254\"\n     Locale[\"jv\"][\"script\"]             = \"Latn\"\n+    Locale[\"jv\"][\"spoken-in\"]          = \"Java, Indonesia\"\n+    Locale[\"jv\"][\"supported-by\"]       = \"google; yandex\"\n+\n+\n \n     #46 Kannada (Modern Kannada)\n     Locale[\"kn\"][\"name\"]               = \"Kannada\"\n"}
{"commit":"7427f6ee3925e537549f11df4eff999478994b22","subject":"Remove makeDistortosConfiguration.awk script","message":"Remove makeDistortosConfiguration.awk script","repos":"jasmin-j\/distortos,CezaryGapinski\/distortos,jasmin-j\/distortos,CezaryGapinski\/distortos,DISTORTEC\/distortos,CezaryGapinski\/distortos,CezaryGapinski\/distortos,jasmin-j\/distortos,DISTORTEC\/distortos,jasmin-j\/distortos,DISTORTEC\/distortos,CezaryGapinski\/distortos,jasmin-j\/distortos,DISTORTEC\/distortos","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- scripts\/makeDistortosConfiguration.awk\n+++ scripts\/makeDistortosConfiguration.awk\n@@ -1,62 +0,0 @@\n-#!\/usr\/bin\/awk -f\n-\n-#\n-# file: makeDistortosConfiguration.awk\n-#\n-# author: Copyright (C) 2015 Kamil Szczygiel http:\/\/www.distortec.com http:\/\/www.freddiechopin.info\n-#\n-# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not\n-# distributed with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n-#\n-\n-BEGIN {\n-\tconfigPattern = \"CONFIG_[A-Za-z0-9_]+\"\n-\tbooleanTrueConfigPattern = \"^\" configPattern \"=y$\"\n-\tbooleanFalseConfigPattern = \"^\" configPattern \"=n$\"\n-\tnotSetConfigPattern = \"^# \" configPattern \" is not set$\"\n-\tnumericConfigPattern = \"^\" configPattern \"=(([[:digit:]]+)|(0x[[:xdigit:]]+))$\"\n-\tstringConfigPattern = \"^\" configPattern \"=\\\"([^\\\"\\\\\\\\]|\\\\\\\\.)*\\\"$\"\n-\n-\tprint \"\/**\"\n-\tprint \" * \\\\file\"\n-\tprint \" * \\\\brief distortos configuration\"\n-\tprint \" *\"\n-\tprint \" * \\\\warning\"\n-\tprint \" * Automatically generated file - do not edit!\"\n-\tprint \" *\"\n-\tprint \" * \\\\date \" strftime(\"%Y-%m-%d %H:%M:%S\")\n-\tprint \" *\/\"\n-\tprint \"\"\n-\tprint \"#ifndef INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_\"\n-\tprint \"#define INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_\"\n-\tprint \"\"\n-}\n-\n-$0 ~ booleanTrueConfigPattern {\n-\tsplit($0, array, \"=\")\n-\tprint \"#define \" array[1]\n-}\n-\n-$0 ~ booleanFalseConfigPattern {\n-\tsplit($0, array, \"=\")\n-\tprint \"#undef \" array[1]\n-}\n-\n-$0 ~ notSetConfigPattern {\n-\tprint \"#undef \" $2\n-}\n-\n-$0 ~ numericConfigPattern {\n-\tsplit($0, array, \"=\")\n-\tprint \"#define \" array[1] \" \" array[2]\n-}\n-\n-$0 ~ stringConfigPattern {\n-\tequalsSign = index($0, \"=\")\n-\tprint \"#define \" substr($0, 1, equalsSign - 1) \" \" substr($0, equalsSign + 1)\n-}\n-\n-END {\n-\tprint \"\"\n-\tprint \"#endif\t\/* INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_ *\/\"\n-}\n"}
{"commit":"91d08055771a95268235eaed50f424cca56202c6","subject":"Fix decimal number regex and change err msg","message":"Fix decimal number regex and change err msg\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -31,7 +31,7 @@\n     print \"function are_headers_valid(valid_headers) { v=0; split($0, h, \\\",\\\"); split(valid_headers, vh, \\\"|\\\"); return eql(h, vh); }\"\n     print \"function is_unique(i, val) { if (vals[i,val]) { return 0; } else { vals[i,val] = 1; return 1; } }\"\n     print \"function is_integer(x) { return x ~ \/^-?[0-9]+$\/ }\"\n-    print \"function is_number(x) { return x ~ \/^-?[0-9]+.[0-9]+$\/ }\"\n+    print \"function is_number(x) { return x ~ \/^-?[0-9]+\\.[0-9]+$\/ }\"\n     print \"function print_cats(categories) { for (category in categories) { if (categories[category]) print \\\"      \\\" category \\\": \\\" categories[category]; } }\"\n     print \"function log_err(cat) { cats[cat]++; err_count++; }\"\n     print RS\n@@ -123,8 +123,8 @@\n         } else if (type == \"number\") {\n             cat       = \"error\"\n             test      = field \" && !is_number(\" field \")\"\n-            mini_msg  = field \" should be a number\"\n-            msg       = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be a number but was \\\" \" field \" \\\" \"\n+            mini_msg  = field \" should be a decimal number\"\n+            msg       = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be a decimal number but was \\\" \" field \" \\\" \"\n         }\n     } else if (rule_type == \"required\") {\n         req = params[2]\n"}
{"commit":"f260b99890e1a3b76e1bf839b5315c33a4c06be6","subject":"program update","message":"program update\n","repos":"CORDEA\/extract-sequences","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- cut_files.awk\n+++ cut_files.awk\n@@ -1,8 +1,9 @@\n #!\/bin\/awk -f\n+#encoding:utf-8\n #\n # Author : Yoshihiro Tanaka\n # Date   : 2014-11-04\n-# Version: 0.1.0\n+# Version: 0.1.2\n \n function output(chrom, header, seq) {\n     filename = \"db\/Canis_familiaris.CanFam3.1.dna.chromosome.\" chrom \".fa\";\n@@ -12,7 +13,9 @@\n     print \"Successful output: \" filename;\n }\n BEGIN {\n-    c = 0\n+    \"wc -l \" ARGV[1] \" | xargs -n 1 | head -n 1\" | getline wc;\n+    wc = wc \".0\"\n+    c  = 0\n }\n {\n     if (\">\" == substr($1, 1, 1)) {\n@@ -27,7 +30,8 @@\n     } else {\n         seq = seq \"\\n\" $0\n     }\n-    c++\n+    c++;\n+    printf(\"progress: %f%%\\r\\b\", (c \/ wc)*100)\n }\n END {\n     output(chrom, header, seq)\n"}
{"commit":"02f539a2ca3c303f3161fbb086bfa02e7b492544","subject":"speed improvements, reducing use of for loops","message":"speed improvements, reducing use of for loops\n","repos":"dbro\/csvquote,dbro\/csvquote","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- csvquote.awk\n+++ csvquote.awk\n@@ -5,7 +5,7 @@\n \n BEGIN {\n     # read one line at a time\n-    FS=\"\";\n+    FS=\"\\033\"; # not used!\n     OFS=FS;\n     delimiter=\",\";\n     recordsep=\"\\n\";\n@@ -13,21 +13,13 @@\n     delimiter_code=\"\\035\";\n     recordsep_code=\"\\034\";\n     replace_mode = 1; # true. if restore mode then 0\n-    # existing_state is a global variable\n-    existing_state[1] = 0; # false\n-    existing_state[2] = 0; # false\n-    existing_state[3] = \"\"; # empty buffer\n+    # these are volatile global variables\n+    quote_in_effect = 0; # false\n+    maybe_escaped_quote_char = 0; # false\n+    writebuf = \"\";\n }\n \n function replace_special_chars(c) {\n-    # existing_state is a global variable. it could be passed in as an array\n-    # (pass-by-ref) but we still need to persist its state from one input\n-    # line to the next and it needs to be altered by this function, so\n-    # can't be simple variables\n-    quote_in_effect = existing_state[1];\n-    maybe_escaped_quote_char = existing_state[2];\n-    writebuf = existing_state[3];\n-\n     if (maybe_escaped_quote_char) {\n         if (c != quotechar) {\n             # this is the end of a quoted field\n@@ -55,45 +47,42 @@\n             quote_in_effect = 1; # true\n         }\n     }\n-\n-    existing_state[1] = quote_in_effect;\n-    existing_state[2] = maybe_escaped_quote_char;\n-    existing_state[3] = writebuf;\n-}\n-\n-function restore_special_chars(c) {\n-    writebuf = existing_state[3];\n-    if (c == delimiter_code) {\n-        writebuf = writebuf delimiter; # concat\n-    } else if (c == recordsep_code) {\n-        writebuf = writebuf recordsep; # concat\n-    } else {\n-        writebuf = writebuf c; # concat\n-    }\n-    existing_state[3] = writebuf;\n }\n \n (replace_mode) {\n     # do this for every input line\n-    for (i=1;i<=NF;i++) {\n-        replace_special_chars($i);\n+    fastrack = 0; # speed optimization\n+    if (!(quote_in_effect)) {\n+        quoteposition = index($0, quotechar); # index() is faster than our for loop\n+        if (quoteposition == 0) {\n+            # we don't need to scan this line. there are no quote characters in it\n+            fastrack = 1;\n+        }\n     }\n-    printf(\"%s\", existing_state[3]);\n-    existing_state[3] = \"\";\n-    replace_special_chars(RS);\n+    if (fastrack) {\n+        print writebuf $0;\n+        writebuf = \"\";\n+    } else {\n+        # otherwise we scan the line for quote characters\n+        numchars = length($0);\n+        for (i=1;i<=numchars;i++) {\n+            replace_special_chars(substr($0,i,1));\n+        }\n+        printf(\"%s\", writebuf);\n+        writebuf = \"\";\n+        replace_special_chars(RS);\n+    }\n }\n \n (!replace_mode) {\n     # restore the original special characters\n     # do this for every input line\n-    for (i=1;i<=NF;i++) {\n-        restore_special_chars($i);\n-    }\n-    printf(\"%s\", existing_state[3]);\n-    existing_state[3] = \"\";\n-    restore_special_chars(RS);\n+    writebuf = $0;\n+    sub(\/\\035\/, delimiter, writebuf); # Beware ! delimitercode repeated\n+    sub(\/\\034\/, recordsep, writebuf); # Beware ! recordsepcode repeated\n+    print writebuf;\n }\n \n END {\n-    printf(\"%s\", existing_state[3]); #flush\n+    printf(\"%s\", writebuf); #flush\n }\n"}
{"commit":"c5018d88df077245867ba164105c834211a89c54","subject":"Languages: mark as stable: Shona","message":"Languages: mark as stable: Shona\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -317,15 +317,14 @@\n     Locale[\"gd\"][\"glotto\"]             = \"scot1245\"\n     Locale[\"gd\"][\"script\"]             = \"Latn\"\n \n-    #? Shona\n-    Locale[\"sn\"][\"support\"]            = \"unstable\"\n+    # Shona\n     Locale[\"sn\"][\"name\"]               = \"Shona\"\n     Locale[\"sn\"][\"endonym\"]            = \"chiShona\"\n-    #Locale[\"sn\"][\"translations-of\"]\n-    #Locale[\"sn\"][\"definitions-of\"]\n-    #Locale[\"sn\"][\"synonyms\"]\n-    #Locale[\"sn\"][\"examples\"]\n-    #Locale[\"sn\"][\"see-also\"]\n+    Locale[\"sn\"][\"translations-of\"]    = \"Shanduro dze %s\"\n+    Locale[\"sn\"][\"definitions-of\"]     = \"Zvinoreva %s\"\n+    Locale[\"sn\"][\"synonyms\"]           = \"Mashoko anoreva zvakafana nemamwe\"\n+    Locale[\"sn\"][\"examples\"]           = \"Mienzaniso\"\n+    Locale[\"sn\"][\"see-also\"]           = \"Onawo\"\n     Locale[\"sn\"][\"family\"]             = \"Atlantic-Congo\"\n     Locale[\"sn\"][\"iso\"]                = \"sna\"\n     Locale[\"sn\"][\"glotto\"]             = \"core1255\"\n"}
{"commit":"25d32a1cd86d28e3b64edbbb1998de7b58701420","subject":"Make print-results.awk compatible with mawk","message":"Make print-results.awk compatible with mawk\n","repos":"cventus\/otivm,cventus\/otivm,cventus\/otivm","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- ok\/bin\/print-results.awk\n+++ ok\/bin\/print-results.awk\n@@ -38,8 +38,14 @@\n \tsystem(\"\") # Flush output buffer\n }\n \n+function arrlen(arr,   elem, n) {\n+\tn = 0\n+\tfor (elem in arr) n++\n+\treturn n\n+}\n+\n function print_table(msg, table, text, first) {\n-\tif (length(table)) {\n+\tif (arrlen(table)) {\n \t\tfirst = 1\n \t\tfor (id in table) {\n \t\t\tprint_test(msg, id, text, first)\n@@ -117,7 +123,7 @@\n \t} else if (fail) {\n \t\t# Test failed\n \t\tfailed[id] = 1\n-\t\tprint_test(failcol(\"FAILED\"), id, message, length(failed) == 1)\n+\t\tprint_test(failcol(\"FAILED\"), id, message, arrlen(failed) == 1)\n \t} else {\n \t\tpassed[id] = 1\n \t}\n@@ -140,7 +146,7 @@\n \tfor (id in planned) {\n \t\tif (id in passed || id in skipped || id in failed) continue;\n \t\tfailed[id] = 1\n-\t\tprint_test(failcol(\"FAILED\"), id, message, length(failed) == 1)\n+\t\tprint_test(failcol(\"FAILED\"), id, message, arrlen(failed) == 1)\n \t}\n \n \t# Check for tests that aren't part of any plan\n@@ -149,17 +155,17 @@\n \t}\n \n \t# Print test summary (finish failed tests)\n-\tno_plan = length(planned) == 0 && !skip_all\n-\tnfail = length(failed)\n-\tnpass = length(passed) + length(skipped)\n+\tno_plan = arrlen(planned) == 0 && !skip_all\n+\tnfail = arrlen(failed)\n+\tnpass = arrlen(passed) + arrlen(skipped)\n \tn = npass + nfail\n \tif (n > 0) {\n \t\tif (nfail) {\n \t\t\tprintf (verbose ? \"\\n\\t\" : \" \")\n \t\t} else {\n-\t\t\tif (length(done) || length(repeat) || length(noplan)) {\n+\t\t\tif (arrlen(done) || arrlen(repeat) || arrlen(noplan)) {\n \t\t\t\tprintf warncol(\"OK\")\n-\t\t\t} else if (length (skipped)) {\n+\t\t\t} else if (arrlen(skipped)) {\n \t\t\t\tprintf noticecol(\"OK\")\n \t\t\t} else {\n \t\t\t\tprintf okcol(\"OK\")\n"}
{"commit":"1ead12b0f0aabc7e1450f948ab290d2d3fd56bce","subject":"Add \"in numSeasons seasons\" to info about shows","message":"Add \"in numSeasons seasons\" to info about shows\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- verifyBBoxDownloadsFrom-webscraper.awk\n+++ verifyBBoxDownloadsFrom-webscraper.awk\n@@ -14,40 +14,48 @@\n \n \/\\\/us\\\/\/ {\n     programURL = $1\n-    nflds = split (programURL,fld,\"\/\") \n-    showType = fld[3]\n-    showType == \"show\" ? spacer = \"  \" : spacer = \" \"\n-    # Must have single quotes to handle special charaters in targets\n-    target = sprintf (\"'%s'\",fld[nflds])\n-    unquotedTarget = substr(target,2,length(target)-2)\n-    #\n-    cmd = \"grep -c \" target \" \" EPISODES_SORTED_FILE\n-    if ((cmd | getline NumEpisodes) > 0) {\n-        NumEpisodes == 1 ? epiStr = \" episode\" : epiStr = \" episodes\"\n-        print \"==> \" showType spacer target \" has \" NumEpisodes epiStr\n+    numSeasons = $4\n+\n+    seaStr = \"\"\n+    if (numSeasons != \"null\") {\n+        sub (\/ Seasons?\/,\"\",numSeasons)\n+        numSeasons == 1 ? seaStr = \" in 1 season\" : seaStr = \" in \" numSeasons \" seasons\"\n     }\n-    close (cmd)\n-    if (NumEpisodes == 0) {\n-        badEpisodes += 1\n-        print \"    \" unquotedTarget >> TEMP_FILE\n+\n+nflds = split (programURL,fld,\"\/\") \n+showType = fld[3]\n+showType == \"show\" ? spacer = \"  \" : spacer = \" \"\n+# Must have single quotes to handle special charaters in targets\n+target = sprintf (\"'%s'\",fld[nflds])\n+unquotedTarget = substr(target,2,length(target)-2)\n+#\n+cmd = \"grep -c \" target \" \" EPISODES_SORTED_FILE\n+if ((cmd | getline numEpisodes) > 0) {\n+    numEpisodes == 1 ? epiStr = \" episode\" : epiStr = \" episodes\"\n+    print \"==> \" showType spacer target \" has \" numEpisodes epiStr seaStr\n+}\n+close (cmd)\n+if (numEpisodes == 0) {\n+    badEpisodes += 1\n+    print \"    \" unquotedTarget >> TEMP_FILE\n+}\n+#\n+cmd = \"grep \" target \" \" SEASONS_SORTED_FILE\n+while ((cmd | getline seasonLine) > 0) {\n+    nfields = split (seasonLine, fields, \"\\t\")\n+    seasonField = fields[nfields-4]\n+    episodeField = fields[nfields-2]\n+    if (seasonField == \"\") {\n+        print \"==> \" target \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" \\\n+            > \"\/dev\/stderr\"\n+        print \"    \" unquotedTarget \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" \\\n+            >> TEMP_FILE\n+        continue\n     }\n-    #\n-    cmd = \"grep \" target \" \" SEASONS_SORTED_FILE\n-    while ((cmd | getline seasonLine) > 0) {\n-        nfields = split (seasonLine, fields, \"\\t\")\n-        seasonField = fields[nfields-4]\n-        episodeField = fields[nfields-2]\n-        if (seasonField == \"\") {\n-            print \"==> \" target \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" \\\n-                > \"\/dev\/stderr\"\n-            print \"    \" unquotedTarget \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" \\\n-                >> TEMP_FILE\n-            continue\n-        }\n-        print \"          \" target \" \" seasonField \" has \" episodeField\n+    print \"          \" target \" \" seasonField \" has \" episodeField\n \n-    }\n-    close (cmd)\n+}\n+close (cmd)\n }\n \n END {\n"}
{"commit":"9cad54cf0ccf41147b93188465d639bc6e40d056","subject":"build.awk: update","message":"build.awk: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -233,7 +233,7 @@\n     return 0\n }\n \n-function release() {\n+function release(    content, group, sha1, size, temp, text) {\n     (\"sha1sum \" Trans) | getline temp\n     split(temp, group)\n     sha1 = group[1]\n"}
{"commit":"24857e4bee24b0afa7fe168e45f5f69a943fbc37","subject":"taking care of two hads","message":"taking care of two hads\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/checkdouble.awk\n+++ src\/awk\/checkdouble.awk\n@@ -11,10 +11,10 @@\n   prevfile = FILENAME\n }\n NF > 0{\n-  if ($1 == lastword)\n+  if ($1 == lastword && $1 != \"had\")\n      printf \"double %s, file %s, line %d\\n\", $1, FILENAME, NR\n   for (i=2; i <= NF; i++)\n-      if ($i == $(i-1))\n+      if ($i == $(i-1) && $i != \"had\")\n          printf \"double %s, file %s, line %d\\n\", $i, FILENAME, NR\n   if (NF > 0){\n      lastword = $NF\n"}
{"commit":"97b6875afc946c9bde443a228568b1d63d610eb9","subject":"Make season number match that in the URL","message":"Make season number match that in the URL\n\nCreated shortSeasonURL\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-showPages.awk\n+++ getAcornFrom-showPages.awk\n@@ -48,14 +48,16 @@\n     if (episodeLinesFound == 1) {\n         showEpisodes = fld[4]\n         if (showEpisodes == \"\") {\n-            printf (\"==> Blank showEpisodes in numberOfEpisodes: %s\\t%s\\n\", shortURL, showTitle) >> ERRORS\n+            printf (\"==> Blank showEpisodes in numberOfEpisodes: %s\\t%s\\n\", shortURL,\n+                    showTitle) >> ERRORS\n         }\n         # print \"==> showEpisodes = \" showEpisodes \" \" shortURL > \"\/dev\/stderr\"\n     }\n     if (episodeLinesFound != 1) {\n         seasonEpisodes = seasonEpisodes \"+\" fld[4]\n         if (seasonEpisodes == \"\") {\n-            printf (\"==> Blank seasonEpisodes in numberOfEpisodes: %s\\t%s\\n\", shortURL, showTitle) >> ERRORS\n+            printf (\"==> Blank seasonEpisodes in numberOfEpisodes: %s\\t%s\\n\", shortURL,\n+                    showTitle) >> ERRORS\n         }\n         # print \"==> seasonEpisodes = \" seasonEpisodes \" \" shortURL > \"\/dev\/stderr\"\n     }\n@@ -114,10 +116,13 @@\n \/<a itemprop=\"url\"\/ {\n     split ($0,fld,\"\\\"\")\n     episodeURL = fld[4]\n+    sub (\/\\\/$\/,\"\",episodeURL)\n     # print \"==> episodeURL = \" episodeURL > \"\/dev\/stderr\"\n     print episodeURL >> EPISODE_URLS\n     shortEpisodeURL = episodeURL\n     sub (\/.*acorn\\.tv\/,\"acorn.tv\",shortEpisodeURL)\n+    split (episodeURL, part, \"\/\")\n+    shortSeasonURL = \"acorn.tv\/\" part[4] \"\/\" part[5]\n     next\n }\n \n@@ -180,15 +185,36 @@\n     if (episodeURL ~ \\\n         \/\\\/cryptoftears\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/|\\\/newtonslaw\\\/bonus\\\/\/ \\\n         && seasonNumber != 1) {\n-            printf (\"==> Changed S%02d to S01: %s\\n\", seasonNumber, shortEpisodeURL) >> ERRORS\n+            printf (\"==> Changed S%02d to S01: %s\\n\", seasonNumber, shortSeasonURL) >> ERRORS\n         seasonNumber = 1\n     }\n     # Plain christmasspecial, seriesfinale don't increment seasonNumber\n     if (episodeURL ~ \/\\\/christmasspecial\\\/|\\\/seriesfinale\\\/\/) {\n         printf (\"==> Changed S%02d to S%02d: %s\\n\", seasonNumber, seasonNumber-1, \n-                shortEpisodeURL) >> ERRORS\n+                shortSeasonURL) >> ERRORS\n         seasonNumber -= 1\n     }\n+    #\n+    # The season number should match that in the URL\n+    # Birds of a Feather, Doc Martin, Murdoch, Poirot, Rebus, Vera, and others have problems\n+    if (episodeURL ~ \\\n+           \/\\\/series[0-9]{1,2}\\\/|[0-9]{1,2}bonus\\\/|\\\/murdoch\\\/season[0-9]{1,2}\/) {\n+        split (episodeURL, part, \"\/\")\n+        URLseasonNumber = part[5]\n+        sub (\/bonus\/,\"\",URLseasonNumber)\n+        # Foyle's War has sets: foyleswar\/series9set8bonus\/\n+        sub (\/set[0-9]\/,\"\",URLseasonNumber)\n+        # Midsomer Murders has two parts: midsomermurders\/series19parttwo\/\n+        sub (\/parttwo\/,\"\",URLseasonNumber)\n+        sub (\/christmasspecial\/,\"\",URLseasonNumber)\n+        sub (\/[[:alpha:]]*\/,\"\",URLseasonNumber)\n+        if (URLseasonNumber != seasonNumber) {\n+            printf (\"==> Changed S%02d to S%02d: %s\\n\", seasonNumber, URLseasonNumber,\n+                    shortSeasonURL) >> ERRORS\n+            seasonNumber = URLseasonNumber\n+        }\n+    }\n+    #\n     # Wrap up this episode\n     # =HYPERLINK(\"https:\/\/acorn.tv\/1900island\/series1\/week-one\";\"1900 Island, S01E01, Week One\")\n     episodeLink = sprintf (\"=HYPERLINK(\\\"%s\\\";\\\"%s, %s%02d%s%02d, %s\\\"\\)\", episodeURL, showTitle,\n@@ -197,7 +223,10 @@\n     # =HYPERLINK(\"https:\/\/acorn.tv\/1900island\/series1\/week-one\";\"1900 Island, S01E01, Week One\") \\\n     # \\t\\t\\t 00:59:17 \\t As they arrive\n         printf (\"%s\\t\\t\\t%s\\t%s\\n\", episodeLink, episodeDuration, episodeDescription) >> LONG_SPREADSHEET\n+    # Make sure there is no carryover\n     episodeURL = \"\"\n+    shortEpisodeURL = \"\"\n+    shortSeasonURL = \"\"\n     episodeType = \"\"\n     episodeTitle = \"\"\n     episodeNumber = \"\"\n"}
{"commit":"741839f63568a2dbabce2b1669c76532e6d57af3","subject":"Account for two spaces in MHz header","message":"Account for two spaces in MHz header\n\nTwo spaces in \"|  TV\" caused header to be skipped and included it in the description instead\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-seriesPages.awk\n+++ getMHzFrom-seriesPages.awk\n@@ -62,11 +62,11 @@\n         sub (\/.*name=\"description\" content=\"\/,\"\")\n     }\n     # If we find a header, clean it up and print it\n-    if ($0 ~ \/\\| TV\/) {\n+    if ($0 ~ \/\\| {1,2}TV\/) {\n         sub (\/WITH ENGLISH SUBTITLES \/,\"\")\n         sub (\/SCANDINAVIAN CRIME FICTION\/,\"Sweden\")\n         sub (\/NONFICTION - DOCUMENTARY\/,\"Documentary\")\n-        gsub (\/ \\| \/,\"|\")\n+        gsub (\/ \\| {1,2}\/,\"|\")\n         sub (\/\\r\/,\"\")\n         # Split out header fields\n         numFields = split ($0,fld,\"\\|\")\n"}
{"commit":"83d6bd024d9987509c2667013d7b8dcebd195695","subject":"Allow KMOD with hypens and dots.","message":"Allow KMOD with hypens and dots.\n\nMFC after:\t1 week\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/fw_stub.awk\n+++ sys\/tools\/fw_stub.awk\n@@ -118,6 +118,8 @@\n \n cfilename = opt_c;\n ctmpfilename = cfilename \".tmp\";\n+modname = opt_m;\n+gsub(\/[-\\.]\/, \"_\", modname);\n \n printc(\"#include <sys\/param.h>\\\n #include <sys\/errno.h>\\\n@@ -139,7 +141,7 @@\n }\n \n printc(\"\\nstatic int\\n\"\\\n-opt_m \"_fw_modevent(module_t mod, int type, void *unused)\\\n+modname \"_fw_modevent(module_t mod, int type, void *unused)\\\n {\\\n \tconst struct firmware *fp, *parent;\\\n \tint error;\\\n@@ -206,14 +208,14 @@\n \treturn (EINVAL);\\\n }\\\n \\\n-static moduledata_t \" opt_m \"_fw_mod = {\\\n-        \\\"\" opt_m \"_fw\\\",\\\n-        \" opt_m \"_fw_modevent,\\\n+static moduledata_t \" modname \"_fw_mod = {\\\n+        \\\"\" modname \"_fw\\\",\\\n+        \" modname \"_fw_modevent,\\\n         0\\\n };\\\n-DECLARE_MODULE(\" opt_m \"_fw, \" opt_m \"_fw_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);\\\n-MODULE_VERSION(\" opt_m \"_fw, 1);\\\n-MODULE_DEPEND(\" opt_m \"_fw, firmware, 1, 1, 1);\\\n+DECLARE_MODULE(\" modname \"_fw, \" modname \"_fw_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);\\\n+MODULE_VERSION(\" modname \"_fw, 1);\\\n+MODULE_DEPEND(\" modname \"_fw, firmware, 1, 1, 1);\\\n \");\n \n if (opt_c)\n"}
{"commit":"213b6a75c667c757d09a70c47cb5ea62a66988a2","subject":"minor improvements for 4.19 and 5.3 kernel","message":"minor improvements for 4.19 and 5.3 kernel\n\n- add build salt to file if available\n- put KBUILD_MODNAME in name info section\n- skip symbols named 'gpl' and 'strings' that appear everywhere\n- generate proper EXPORT_SYMBOL strings for unused symbols\n","repos":"openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -586,6 +586,7 @@\n }\n function set_symbol(sym, mod, crc, expt, set, pos, own, src, use, from)\n {\n+    if (sym ~ \/^(gpl|strings)$\/) { return }\n     if (!(sym in syms)) {\n \tsyms[sym] = 1\n \tcache_dirty = 1\n@@ -771,7 +772,7 @@\n }\n function read_modobject(command, dir, own, src,\n \t\t\tpfx,fmt,files,progress,SECTION,string,mod,count_syms,count_unds,\n-\t\t\tcount_weak,count_vers,flags,val,sec,offset,sym,crc,char)\n+\t\t\tcount_weak,count_vers,flags,val,sec,offset,sym,crc,char,unused)\n {\n     pfx = \"r: ko object, \"\n     fmt = \"%3d syms, %3d unds, %3d weak, %3d vers\"\n@@ -809,9 +810,10 @@\n \t\t\t}\n \t\t\tif (sub(\/^_?_?__ksymtab\/,\"\",sec)) {\n \t\t\t    sub(\/\\+.*\/,\"\",sec)\n+\t\t\t    if (sub(\/^_unused\/,\"\",sec)) { unused = \"UNUSED_\" } else { unused = \"\" }\n \t\t\t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n \t\t\t\tprint_debug(3,pfx \"symbol: \" sym)\n-\t\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_SYMBOL\" toupper(sec), \"\", 0, own, \"\", 0, \"ko object\")\n+\t\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_\" unused \"SYMBOL\" toupper(sec), \"\", 0, own, \"\", 0, \"ko object\")\n \t\t\t\tcount_syms++\n \t\t\t    }\n \t\t\t    continue\n@@ -823,9 +825,10 @@\n \t\t    if (substr(flags,7,1) == \"O\" || !values[\"modversions\"]) {\n \t\t\tif (sub(\/^_?_?__ksymtab\/,\"\",sec)) {\n \t\t\t    sub(\/\\+.*\/,\"\",sec)\n+\t\t\t    if (sub(\/^_unused\/,\"\",sec)) { unused = \"UNUSED_\" } else { unused = \"\" }\n \t\t\t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n \t\t\t\tprint_debug(3,pfx \"symbol: \" sym)\n-\t\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_SYMBOL\" toupper(sec), \"\", 0, own, \"\", 0, \"ko object\")\n+\t\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_\" unused \"SYMBOL\" toupper(sec), \"\", 0, own, \"\", 0, \"ko object\")\n \t\t\t\tcount_syms++\n \t\t\t    }\n \t\t\t    continue\n@@ -1693,9 +1696,16 @@\n function write_header(file, mod, base)\n {\n     print \"\\\n+#ifdef HAVE_KINC_LINUX_BUILD_SALT_H\\n\\\n+#include <linux\/build-salt.h>\\n\\\n+#endif\\n\\\n #include <linux\/module.h>\\n\\\n #include <linux\/vermagic.h>\\n\\\n #include <linux\/compiler.h>\\n\\\n+\\n\\\n+#ifdef HAVE_KINC_LINUX_BUILD_SALT_H\\n\\\n+BUILD_SALT;\\n\\\n+#endif\\n\\\n \\n\\\n MODULE_INFO(vermagic, VERMAGIC_STRING);\\n\\\n #ifdef CONFIG_SUSE_KERNEL\\n\\\n@@ -1722,6 +1732,7 @@\n #define KBUILD_MODNAME \" base \"\\n\\\n \\n\\\n #ifdef KBUILD_MODNAME\\n\\\n+MODULE_INFO(name, KBUILD_MODNAME);\\n\\\n struct module __this_module\\n\\\n __attribute__((section(\\\".gnu.linkonce.this_module\\\"))) = {\\n\\\n \t.name = __stringify(KBUILD_MODNAME),\\\n"}
{"commit":"07cc58ff3107a4d253ef87637b1bac2864113985","subject":"Allow empty titles","message":"Allow empty titles\n\nUseful to order sections without have a title.\n","repos":"feld\/Varnish-Cache,feld\/Varnish-Cache,gquintard\/Varnish-Cache,gquintard\/Varnish-Cache,gquintard\/Varnish-Cache,feld\/Varnish-Cache,gquintard\/Varnish-Cache,feld\/Varnish-Cache,feld\/Varnish-Cache","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- doc\/sphinx\/vtc-syntax.awk\n+++ doc\/sphinx\/vtc-syntax.awk\n@@ -13,7 +13,11 @@\n $0 ~ \"[ \/]* SECTION: \" {\n \tsection = $3;\n \tsl[len++] = section;\n-\ttl[section] = gensub(\/[\\t ]*\\\/?\\* SECTION: [^ ]+ +\/, \"\", \"1\", $0);\n+\tif ($4) {\n+\t\ttl[section] = gensub(\/[\\t ]*\\\/?\\* SECTION: [^ ]+ +\/, \"\", \"1\", $0);\n+\t} else {\n+\t\ttl[section] = \"\";\n+\t}\n \tp = 1;\n }\n \n"}
{"commit":"961b1adb0d077eb98d261d670153ce646ae95a8b","subject":"Fix number\/int check to be more accurate","message":"Fix number\/int check to be more accurate\n\nsee: https:\/\/trello.com\/c\/t9k52j93\/517-as-a-developer-i-will-ensure-integers-do-not-allow-decimals-during-import-this-will-ensure-that-decimals-do-not-cause-issue-load\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -30,7 +30,8 @@\n     print \"function eql(x,y) {v=1; for (i in x) v=(v&&x[i]==y[i]); return v;}\"\n     print \"function are_headers_valid(valid_headers) { v=0; split($0, h, \\\",\\\"); split(valid_headers, vh, \\\"|\\\"); return eql(h, vh); }\"\n     print \"function is_unique(i, val) { if (vals[i,val]) { return 0; } else { vals[i,val] = 1; return 1; } }\"\n-    print \"function is_numeric(x){ return(x==x+0) }\"\n+    print \"function is_integer(x) { return x ~ \/^[0-9]+$\/ }\"\n+    print \"function is_number(x) { return x ~ \/^[0-9]+.[0-9]+$\/ }\"\n     print \"function print_cats(categories) { for (category in categories) { if (categories[category]) print \\\"      \\\" category \\\": \\\" categories[category]; } }\"\n     print \"function log_err(cat) { cats[cat]++; err_count++; }\"\n     print RS\n@@ -114,13 +115,17 @@\n     if (rule_type == \"type\") {\n         type = params[2]\n \n-        if (type ~ \/^integer|number$\/) {\n+        if (type == \"integer\") {\n             cat       = \"error\"\n-            test      = field \" && !is_numeric(\" field \")\"\n-            mini_msg  = field \" should be numeric but was a string\"\n-            msg       = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be a numeric but was \\\" \" field \" \\\" \"\n-        }\n-\n+            test      = field \" && !is_integer(\" field \")\"\n+            mini_msg  = field \" should be an integer\"\n+            msg       = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be an integer but was \\\" \" field \" \\\" \"\n+        } else if (type == \"number\") {\n+            cat       = \"error\"\n+            test      = field \" && !is_number(\" field \")\"\n+            mini_msg  = field \" should be a number\"\n+            msg       = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be a number but was \\\" \" field \" \\\" \"\n+        }\n     } else if (rule_type == \"required\") {\n         req = params[2]\n \n"}
{"commit":"4877a3d516f1d1580a0d3912b0178be777ccad7f","subject":"feature: Add new prefixes: feature, refactor and update","message":"feature: Add new prefixes: feature, refactor and update\n","repos":"ianhenderson\/simple-git-changelog","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changelog.awk\n+++ changelog.awk\n@@ -3,7 +3,7 @@\n \t# Determines whether to print 'Unreleased' banner at top\n \tUNRELEASED_COMMITS = 1\n \t# Prefixes that determine whether a commit will be printed\n-\tCHANGELOG_REGEX = \"^(changelog|fix|docs|chore|feat): \"\n+\tCHANGELOG_REGEX = \"^(changelog|fix|docs|chore|feat|feature|refactor|update): \"\n \tFS=\"|\"\n \twhile (\"git log --pretty='%D|%s|%H'\" | getline) {\n \t\tIS_GIT_TAG = length($1) && match($1, \/tag:\/)\n"}
{"commit":"ba8f9f05eb0524d69e1ae95da60c9586a318450c","subject":"Clarified duration file output","message":"Clarified duration file output\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- calculateMHzDurations.awk\n+++ calculateMHzDurations.awk\n@@ -10,7 +10,7 @@\n #  him disappears the same day. Directed by Alberto Sironi, 1999.\n #\n # OUTPUT:\n-#       $DURATION_FILE\n+#       $DURATION_FILE with one total duration of a series per line\n \n # Extract the duration\n BEGIN {\n"}
{"commit":"3e49a91622d5e48e727f4525d2e09ed13bcc9209","subject":"r5301\/sofa-dev : FIX: make filter-qmake-pro.awk script more robust","message":"r5301\/sofa-dev : FIX: make filter-qmake-pro.awk script more robust\n","repos":"hdeling\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,FabienPean\/sofa,hdeling\/sofa,hdeling\/sofa,FabienPean\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,FabienPean\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,FabienPean\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,FabienPean\/sofa,hdeling\/sofa,Anatoscope\/sofa,FabienPean\/sofa,FabienPean\/sofa","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- scripts\/filter-qmake-pro.awk\n+++ scripts\/filter-qmake-pro.awk\n@@ -9,13 +9,42 @@\n # init\n BEGIN {\n     infilelist=0;\n+    blk_before=0;\n+    blk_after=0;\n+    blk_dev=0;\n+}\n+\n+{ blk_before=blk_after; }\n+\n+\/[{}]\/ {\n+  split($0,a,\"#\")\n+  if (a[1]!=\"\") {\n+    split(a[1],beg,\"{\")\n+    split(a[1],end,\"}\")\n+    blk_after = blk_before + length(beg) - length(end)\n+  }\n+}\n+\n+END {\n+    if (blk_after != 0) print \"# ERROR: unmatched brackets\"\n }\n \n # Match blocks conditionnally included depending on the SOFA_DEV flag\n+# Note that we now count the brackets in the source file to find the\n+# SOFA_DEV closing one instead of relying on the presence of a comment\n \n-\/contains[ \\t]*\\([ \\t]*DEFINES[ \\t]*,[ \\t]*SOFA_DEV[ \\t]*\\)[ \\t]*{\/,\/[ \\t]*}.*SOFA_DEV\/ {\n-#    for(f=1;f<=NF && !(f==NF && $f~\/\\\\[:space:]*\/);f++)\n-#        print f \" -> \\\"\" $f \"\\\"\"\n+blk_dev==0 && \/contains[ \\t]*\\([ \\t]*DEFINES[ \\t]*,[ \\t]*SOFA_DEV[ \\t]*\\)[ \\t]*{\/ {\n+    blk_dev=blk_after;\n+    infilelist=0;\n+}\n+\n+blk_dev>0 && blk_after < blk_dev {\n+    blk_dev=0;\n+    next;\n+}\n+\n+# \/contains[ \\t]*\\([ \\t]*DEFINES[ \\t]*,[ \\t]*SOFA_DEV[ \\t]*\\)[ \\t]*{\/,\/[ \\t]*}.*SOFA_DEV\/ {\n+blk_dev>0 {\n     # look for a filename\n     # we assume files and directories are listed inside variables containing SUBDIRS, SOURCES or HEADERS\n     f0=1;\n@@ -27,12 +56,13 @@\n \t}\n     }\n     if (infilelist) {\n-\tfor(f=f0;f<=NF && !(f==NF && $f~\/\\\\[:space:]*\/);f++) {\n+\tfor(f=f0;f<=NF && !(f==NF && $f~\/^[:space:]*\\\\[:space:]*$\/);f++) {\n \t    fname=$f\n \t    gsub(\/[\\r\\n]\/,\"\",fname);\n+\t    gsub(\/\\\\[:space:]*$\/,\"\",fname);\n \t    if (fname != \"#\") print fname > \"\/dev\/stderr\";\n \t}\n-\tif (f>NF) { # no \"\\\\\" is put at the end of the line -> end of list\n+\tif (f>NF && (NF==0 || $NF!~\/\\\\[:space:]*$\/)) { # no \"\\\\\" is put at the end of the line -> end of list\n #\t    print \"end\"\n \t    infilelist=0;\n \t}\n@@ -44,4 +74,5 @@\n \/SOFA_DEV\/ { next; }\n \n # other: simply print the line\n-{ print; }\n+#{ print blk_before \"<\" $0 \">\" blk_after; }\n+{ print }\n"}
{"commit":"f83d664eef180478c2dc0a0099e9d7bc1c8177ff","subject":"wireless: fix comments in genregdb.awk","message":"wireless: fix comments in genregdb.awk\n\nApparently some awk versions choke on C-style comments -- who knew? :-)\n\nSigned-off-by: John W. Linville <2a53bac7a5d324865ef46ec4c38b2c0fba1456b4@tuxdriver.com>\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- net\/wireless\/genregdb.awk\n+++ net\/wireless\/genregdb.awk\n@@ -26,11 +26,11 @@\n }\n \n \/^[ \\t]*#\/ {\n-\t\/* Ignore *\/\n+\t# Ignore\n }\n \n !active && \/^[ \\t]*$\/ {\n-\t\/* Ignore *\/\n+\t# Ignore\n }\n \n !active && \/country\/ {\n"}
{"commit":"13f7e549aa6252cfbceecbc1ccf9124beb2a7ae1","subject":"Debug msg for restart parameters.","message":"Debug msg for restart parameters.\n","repos":"eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -273,7 +273,7 @@\n \tprint \"    solver.setThreadCount(param['threads'])\";\n \tprint \"if param['solver'] == 'Mistral':\";\n \tprint \"    # LUBY, GEOMETRIC = 0, 1\"\n-\tprint \"    # print 'running %d %d %.1f' % (param['restart'], param['base'], param['factor'])\";\n+\tprint \"    print '%% running Mistral with restarts: %d %d %.1f' % (param['restart'], param['base'], param['factor'])\";\n \t#print \"    solver.solveAndRestart(GEOMETRIC, 256, 1.3)\";\n \tprint \"    solver.solveAndRestart(param['restart'], param['base'], param['factor'])\";\n \tprint \"else:\";\n"}
{"commit":"065098db9730af2317cd9abbc8c92ba8a9fb4543","subject":"cleaning up header2params2.awk; relics from header2params.awk","message":"cleaning up header2params2.awk; relics from header2params.awk\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -100,7 +100,7 @@\n    if(length(conversionID))         printf(\"      conversion:enhancement_identifier \\\"%s\\\";\\n\",conversionID);\n    if(length(subjectDiscriminator)) printf(\"      conversion:subject_discriminator  \\\"%s\\\";\\n\",subjectDiscriminator);\n                                      print\n-   if(length(person_uri)&&length(machine_uri)&&length(whoami)) {\n+   if(length(person_uri)&&length(machine_uri)&&length(whoami)) { # NOTE: implemented in bin\/util\/user-account-cite.sh, too.\n                                     printf(\"      dcterms:creator <%s%s>;\\n\",machine_uri,whoami);\n    }else if(length(machine_uri) && length(whoami)) {\n                                     printf(\"      dcterms:creator <%s%s>;\\n\",machine_uri,whoami); # TODO: same as above.\n@@ -140,12 +140,9 @@\n    }\n    } # END if(showConversionProcess > 0)\n }\n-#NR == 1 && length(conversionID) {\n-length(conversionID) {\n-#   for(i=1;i<=NF;i++) {\n-#     label=$i;\n+\n+length(conversionID) { #NR == 1 && length(conversionID) {\n       label=$0;\n-#     gsub(\/\"\/,\"\",label);\n       (length(label)>0) ? sprintf(\"\\n         ov:csvHeader      \\\"%s\\\";\",label) : \"\";\n       print \"      conversion:enhance [\"\n       printf(\"         ov:csvCol         %s;\\n\",NR)\n@@ -164,6 +161,7 @@\n       print \"      ];\"\n    #}\n }\n+\n END {\n    if (showConversionProcess > 0) print \"   ];\"\n    printf(\".\");\n"}
{"commit":"28908be3f4aeefe2b7d373145c8c2e947a123e7f","subject":"Languages: update section D","message":"Languages: update section D\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -462,9 +462,7 @@\n     Locale[\"cs\"][\"spoken-in\"]          = \"Czechia\"\n     Locale[\"cs\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #19 Danish\n+    # Danish\n     Locale[\"da\"][\"name\"]               = \"Danish\"\n     Locale[\"da\"][\"endonym\"]            = \"Dansk\"\n     Locale[\"da\"][\"translations-of\"]    = \"Overs\u00e6ttelser af %s\"\n@@ -473,13 +471,34 @@\n     Locale[\"da\"][\"examples\"]           = \"Eksempler\"\n     Locale[\"da\"][\"see-also\"]           = \"Se ogs\u00e5\"\n     Locale[\"da\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"da\"][\"branch\"]             = \"North Germanic\"\n     Locale[\"da\"][\"iso\"]                = \"dan\"\n     Locale[\"da\"][\"glotto\"]             = \"dani1285\"\n     Locale[\"da\"][\"script\"]             = \"Latn\"\n+    Locale[\"da\"][\"spoken-in\"]          = \"Denmark; Greenland; the Faroe Islands; the northern German region of Southern Schleswig\"\n+    Locale[\"da\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Dari (Dari Persian)\n+    Locale[\"prs\"][\"name\"]              = \"Dari\"\n+    Locale[\"prs\"][\"endonym\"]           = \"\u062f\u0631\u06cc\"\n+    #Locale[\"prs\"][\"translations-of\"]\n+    #Locale[\"prs\"][\"definitions-of\"]\n+    #Locale[\"prs\"][\"synonyms\"]\n+    #Locale[\"prs\"][\"examples\"]\n+    #Locale[\"prs\"][\"see-also\"]\n+    Locale[\"prs\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"prs\"][\"branch\"]            = \"Iranian\"\n+    Locale[\"prs\"][\"iso\"]               = \"prs\"\n+    Locale[\"prs\"][\"glotto\"]            = \"dari1249\"\n+    Locale[\"prs\"][\"script\"]            = \"Arab\"\n+    Locale[\"prs\"][\"rtl\"]               = \"true\" # RTL language\n+    Locale[\"prs\"][\"spoken-in\"]         = \"Afghanistan; Iran\"\n+    Locale[\"prs\"][\"supported-by\"]      = \"bing\"\n \n     # Dhivehi\n     Locale[\"dv\"][\"name\"]               = \"Dhivehi\"\n     Locale[\"dv\"][\"name2\"]              = \"Divehi\"\n+    Locale[\"dv\"][\"name3\"]              = \"Maldivian\"\n     Locale[\"dv\"][\"endonym\"]            = \"\u078b\u07a8\u0788\u07ac\u0780\u07a8\"\n     #Locale[\"dv\"][\"translations-of\"]\n     #Locale[\"dv\"][\"definitions-of\"]\n@@ -487,10 +506,13 @@\n     #Locale[\"dv\"][\"examples\"]\n     #Locale[\"dv\"][\"see-also\"]\n     Locale[\"dv\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"dv\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"dv\"][\"iso\"]                = \"div\"\n     Locale[\"dv\"][\"glotto\"]             = \"dhiv1236\"\n     Locale[\"dv\"][\"script\"]             = \"Thaa\"\n     Locale[\"dv\"][\"rtl\"]                = \"true\" # RTL language\n+    Locale[\"dv\"][\"spoken-in\"]          = \"the Maldives\"\n+    Locale[\"dv\"][\"supported-by\"]       = \"google; bing\"\n \n     # Dogri\n     Locale[\"doi\"][\"name\"]              = \"Dogri\"\n@@ -501,11 +523,14 @@\n     #Locale[\"doi\"][\"examples\"]\n     #Locale[\"doi\"][\"see-also\"]\n     Locale[\"doi\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"doi\"][\"branch\"]            = \"Indo-Aryan\"\n     Locale[\"doi\"][\"iso\"]               = \"doi\"\n     Locale[\"doi\"][\"glotto\"]            = \"indo1311\"\n     Locale[\"doi\"][\"script\"]            = \"Deva\"\n-\n-    #20 Dutch\n+    Locale[\"doi\"][\"spoken-in\"]         = \"the Jammu region in northern India\"\n+    Locale[\"doi\"][\"supported-by\"]      = \"google\"\n+\n+    # Dutch\n     Locale[\"nl\"][\"name\"]               = \"Dutch\"\n     Locale[\"nl\"][\"endonym\"]            = \"Nederlands\"\n     Locale[\"nl\"][\"translations-of\"]    = \"Vertalingen van %s\"\n@@ -514,10 +539,31 @@\n     Locale[\"nl\"][\"examples\"]           = \"Voorbeelden\"\n     Locale[\"nl\"][\"see-also\"]           = \"Zie ook\"\n     Locale[\"nl\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"nl\"][\"branch\"]             = \"West Germanic\"\n     Locale[\"nl\"][\"iso\"]                = \"nld\"\n     Locale[\"nl\"][\"glotto\"]             = \"dutc1256\"\n     Locale[\"nl\"][\"script\"]             = \"Latn\"\n     Locale[\"nl\"][\"dictionary\"]         = \"true\" # has dictionary\n+    Locale[\"nl\"][\"spoken-in\"]          = \"the Netherlands; Belgium; Suriname; Aruba; Cura\u00e7ao; Sint Maarten; the Caribbean Netherlands\"\n+    Locale[\"nl\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Dzongkha\n+    Locale[\"dz\"][\"name\"]               = \"Dzongkha\"\n+    Locale[\"dz\"][\"endonym\"]            = \"\u0f62\u0fab\u0f7c\u0f44\u0f0b\u0f41\"\n+    #Locale[\"dz\"][\"translations-of\"]\n+    #Locale[\"dz\"][\"definitions-of\"]\n+    #Locale[\"dz\"][\"synonyms\"]\n+    #Locale[\"dz\"][\"examples\"]\n+    #Locale[\"dz\"][\"see-also\"]\n+    Locale[\"dz\"][\"family\"]             = \"Sino-Tibetan\"\n+    Locale[\"dz\"][\"branch\"]             = \"Tibetic\"\n+    Locale[\"dz\"][\"iso\"]                = \"dzo\"\n+    Locale[\"dz\"][\"glotto\"]             = \"nucl1307\"\n+    Locale[\"dz\"][\"script\"]             = \"Tibt\"\n+    Locale[\"dz\"][\"spoken-in\"]          = \"Bhutan\"\n+    Locale[\"dz\"][\"supported-by\"]       = \"\"\n+\n+\n \n     #21 English (Standard English)\n     Locale[\"en\"][\"name\"]               = \"English\"\n@@ -1949,16 +1995,6 @@\n     Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n     Locale[\"zu\"][\"script\"]             = \"Latn\"\n \n-    #* Dari (Dari Persian)\n-    Locale[\"prs\"][\"support\"]           = \"bing-only\"\n-    Locale[\"prs\"][\"name\"]              = \"Dari\"\n-    Locale[\"prs\"][\"endonym\"]           = \"\u062f\u0631\u06cc\"\n-    Locale[\"prs\"][\"family\"]            = \"Indo-European\"\n-    Locale[\"prs\"][\"iso\"]               = \"prs\"\n-    Locale[\"prs\"][\"glotto\"]            = \"dari1249\"\n-    Locale[\"prs\"][\"script\"]            = \"Arab\"\n-    Locale[\"prs\"][\"rtl\"]               = \"true\" # RTL language\n-\n     #* Fijian\n     Locale[\"fj\"][\"support\"]            = \"bing-only\"\n     Locale[\"fj\"][\"name\"]               = \"Fijian\"\n@@ -2058,20 +2094,6 @@\n     Locale[\"br\"][\"iso\"]                = \"bre\"\n     Locale[\"br\"][\"glotto\"]             = \"bret1244\"\n     Locale[\"br\"][\"script\"]             = \"Latn\"\n-\n-    #? Dzongkha\n-    Locale[\"dz\"][\"support\"]            = \"unstable\"\n-    Locale[\"dz\"][\"name\"]               = \"Dzongkha\"\n-    Locale[\"dz\"][\"endonym\"]            = \"\u0f62\u0fab\u0f7c\u0f44\u0f0b\u0f41\"\n-    #Locale[\"dz\"][\"translations-of\"]\n-    #Locale[\"dz\"][\"definitions-of\"]\n-    #Locale[\"dz\"][\"synonyms\"]\n-    #Locale[\"dz\"][\"examples\"]\n-    #Locale[\"dz\"][\"see-also\"]\n-    Locale[\"dz\"][\"family\"]             = \"Sino-Tibetan\"\n-    Locale[\"dz\"][\"iso\"]                = \"dzo\"\n-    Locale[\"dz\"][\"glotto\"]             = \"nucl1307\"\n-    Locale[\"dz\"][\"script\"]             = \"Tibt\"\n \n     #? Eastern Mari\n     Locale[\"mhr\"][\"support\"]           = \"yandex-only\"\n"}
{"commit":"422143f61bf9e24837e7416dd7b070b4a42c07e6","subject":"Translators\/BingTranslator: cn.bing.com as fallback","message":"Translators\/BingTranslator: cn.bing.com as fallback\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -195,6 +195,19 @@\n \n     # Translation\n     content = postResponse(text, _sl, _tl, _hl, \"translate\")\n+    if (content == \"\") {\n+        # Empty content. Assume \"301 Moved Permanently\" and use cn.bing.com\n+        HttpHost = \"cn.bing.com\"\n+        # Just dirty hack\n+        if (Option[\"proxy\"]) {\n+            HttpPathPrefix = HttpProtocol HttpHost\n+        } else {\n+            HttpService = \"\/\" \"inet\" \"\/tcp\/0\/\" HttpHost \"\/\" HttpPort  # FIXME: inet version\n+        }\n+\n+        # Try again\n+        content = postResponse(text, _sl, _tl, _hl, \"translate\")\n+    }\n     if (Option[\"dump\"])\n         return content\n     tokenize(tokens, content)\n"}
{"commit":"2d2adfd020ae6fb85a1837a10a83012bd875b523","subject":"Fixed bug in how titles were rendered","message":"Fixed bug in how titles were rendered\n","repos":"apgoetz\/puffin","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/render.awk\n+++ lib\/render.awk\n@@ -27,7 +27,7 @@\n \t\n \t# populate title if not set\n \tif (! (\"Title\" in rules)) {\n-\t\tn = split(fileparts[1], words, \/[^ -_]\/)\n+\t\tn = split(fileparts[1], words, \/[ \\-_]\/)\n \t\tfor (i in words) {\n \t\t\twords[i] = toupper(substr(words[i], 1, 1)) substr(words[i], 2)\n \t\t}\n"}
{"commit":"8ad44461219d1bca944befbcae6acd35fa725814","subject":"Update int\/number check to allow negative","message":"Update int\/number check to allow negative\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -30,8 +30,8 @@\n     print \"function eql(x,y) {v=1; for (i in x) v=(v&&x[i]==y[i]); return v;}\"\n     print \"function are_headers_valid(valid_headers) { v=0; split($0, h, \\\",\\\"); split(valid_headers, vh, \\\"|\\\"); return eql(h, vh); }\"\n     print \"function is_unique(i, val) { if (vals[i,val]) { return 0; } else { vals[i,val] = 1; return 1; } }\"\n-    print \"function is_integer(x) { return x ~ \/^[0-9]+$\/ }\"\n-    print \"function is_number(x) { return x ~ \/^[0-9]+.[0-9]+$\/ }\"\n+    print \"function is_integer(x) { return x ~ \/^-?[0-9]+$\/ }\"\n+    print \"function is_number(x) { return x ~ \/^-?[0-9]+.[0-9]+$\/ }\"\n     print \"function print_cats(categories) { for (category in categories) { if (categories[category]) print \\\"      \\\" category \\\": \\\" categories[category]; } }\"\n     print \"function log_err(cat) { cats[cat]++; err_count++; }\"\n     print RS\n"}
{"commit":"bada8e4163a6bfd58be6d266d725f462b9c02ac9","subject":"Fixed bug where static rendered to wrong location","message":"Fixed bug where static rendered to wrong location\n\nStatic actions would include their source directory under the build\ndirectory.\n","repos":"apgoetz\/puffin","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/make_depend.awk\n+++ lib\/make_depend.awk\n@@ -12,8 +12,8 @@\n \t\tget_rules(adt, rule, p_rule)\n \t\tif (p_rule[\"action\"] == \"static\") {\n \t\t\t# if it is a static source, add it separately, since we are just going to copy it over anyways\n-\t\t\tprint p_rule[\"default_target\"] \": $(patsubst %, \" p_rule[\"buildDir\"] \"\/%, $(shell find \" rule \" -type f))\" \n-\t\t\tprint p_rule[\"buildDir\"] \"\/\" rule \"\/%: \" rule \"\/%\"\n+\t\t\tprint p_rule[\"default_target\"] \": $(patsubst \" rule \"\/%, \" p_rule[\"buildDir\"] \"\/%, $(shell find \" rule \" -type f))\"\n+\t\t\tprint p_rule[\"buildDir\"] \"\/%: \" rule \"\/%\"\n \t\t\tprint \"\\tmkdir -p $(@D)\"\n \t\t\tprint \"\\tcp $< $@\"\n \t\t} else if (p_rule[\"action\"] == \"convert\"){\n"}
{"commit":"50bf4226c9218ddde6e171e1651fbcb2b1db3282","subject":"Main: cleanup","message":"Main: cleanup\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -17,6 +17,7 @@\n \n     Option[\"debug\"] = 0\n \n+    # Display\n     Option[\"verbose\"] = 1\n     Option[\"show-original\"] = 1\n     Option[\"show-original-phonetics\"] = 1\n@@ -27,35 +28,37 @@\n     Option[\"show-original-dictionary\"] = 0\n     Option[\"show-dictionary\"] = 1\n     Option[\"show-alternatives\"] = 1\n-\n-    Option[\"no-ansi\"] = 0\n-\n     Option[\"width\"] = ENVIRON[\"COLUMNS\"] ? ENVIRON[\"COLUMNS\"] : 64\n     Option[\"indent\"] = 4\n-\n+    Option[\"no-ansi\"] = 0\n+    Option[\"theme\"] = \"default\"\n+\n+    # Audio\n+    Option[\"play\"] = 0\n+    Option[\"player\"] = ENVIRON[\"PLAYER\"]\n+\n+    # Terminal paging and web\n     Option[\"view\"] = 0\n     Option[\"pager\"] = ENVIRON[\"PAGER\"]\n-\n     Option[\"browser\"] = ENVIRON[\"BROWSER\"]\n \n-    Option[\"play\"] = 0\n-    Option[\"player\"] = ENVIRON[\"PLAYER\"]\n-\n+    # Networking\n     Option[\"proxy\"] = ENVIRON[\"HTTP_PROXY\"] ? ENVIRON[\"HTTP_PROXY\"] : ENVIRON[\"http_proxy\"]\n     Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"]\n \n+    # Interactive shell\n+    Option[\"no-rlwrap\"] = 0\n     Option[\"interactive\"] = 0\n-    Option[\"no-rlwrap\"] = 0\n     Option[\"emacs\"] = 0\n \n+    # I\/O\n     Option[\"input\"] = NULLSTR\n     Option[\"output\"] = STDOUT\n \n+    # Language preference\n     Option[\"hl\"] = ENVIRON[\"HOME_LANG\"] ? ENVIRON[\"HOME_LANG\"] : UserLang\n     Option[\"sl\"] = ENVIRON[\"SOURCE_LANG\"] ? ENVIRON[\"SOURCE_LANG\"] : \"auto\"\n     Option[\"tl\"][1] = ENVIRON[\"TARGET_LANG\"] ? ENVIRON[\"TARGET_LANG\"] : UserLang\n-\n-    Option[\"theme\"] = \"default\"\n }\n \n # Initialization script.\n@@ -86,39 +89,13 @@\n     }\n }\n \n-# Theme initialization.\n-function initTheme() {\n-    # Set theme\n-    setTheme()\n+# Miscellany initialization.\n+function initMisc(    group) {\n+    initHttpService()\n \n     # Disable ANSI escape codes if required\n     if (Option[\"no-ansi\"])\n         delete AnsiCode\n-}\n-\n-# Miscellany initialization.\n-function initMisc(    group) {\n-    initHttpService()\n-\n-    # Initialize pager\n-    if (Option[\"view\"]) {\n-        if (!Option[\"pager\"]) {\n-            initPager()\n-            Option[\"pager\"] = Pager\n-        }\n-\n-        if (!Option[\"pager\"]) {\n-            w(\"[WARNING] No available terminal pager.\")\n-            Option[\"view\"] = 0\n-        }\n-    }\n-\n-    # Initialize browser\n-    if (!Option[\"browser\"]) {\n-        \"xdg-mime query default text\/html\" SUPERR |& getline Option[\"browser\"]\n-        match(Option[\"browser\"], \"(.*).desktop$\", group)\n-        Option[\"browser\"] = group[1]\n-    }\n \n     # Initialize audio player or speech synthesizer\n     if (Option[\"play\"]) {\n@@ -134,14 +111,34 @@\n             Option[\"play\"] = 0\n         }\n     }\n+\n+    # Initialize pager\n+    if (Option[\"view\"]) {\n+        if (!Option[\"pager\"]) {\n+            initPager()\n+            Option[\"pager\"] = Pager\n+        }\n+\n+        if (!Option[\"pager\"]) {\n+            w(\"[WARNING] No available terminal pager.\")\n+            Option[\"view\"] = 0\n+        }\n+    }\n+\n+    # Initialize browser\n+    if (!Option[\"browser\"]) {\n+        \"xdg-mime query default text\/html\" SUPERR |& getline Option[\"browser\"]\n+        match(Option[\"browser\"], \"(.*).desktop$\", group)\n+        Option[\"browser\"] = group[1]\n+    }\n }\n \n # Main entry point.\n BEGIN {\n     init()\n-    initScript()\n-\n-    # Option parsing\n+    initScript() # initialization script overrides default setting\n+\n+    # Command-line options override initialization script\n     pos = 0\n     while (ARGV[++pos]) {\n         # -, -no-op\n@@ -483,7 +480,7 @@\n         break # no more option from here\n     }\n \n-    initTheme()\n+    setTheme() # theme overrides command-line options\n \n     if (Option[\"interactive\"] && !Option[\"no-rlwrap\"])\n         rlwrapMe() # interactive mode\n@@ -491,10 +488,12 @@\n         if (emacsMe()) # emacs front-end\n             Option[\"interactive\"] = 1 # fallback to interactive mode\n \n+    # Get started\n+\n+    initMisc()\n+\n     if (Option[\"interactive\"])\n         welcome()\n-\n-    initMisc()\n \n     if (pos < ARGC) {\n         # More parameters\n"}
{"commit":"1b7afe9dca60a1bee2f52612eedec9e199e20142","subject":"Remove a redundant escape character.","message":"Remove a redundant escape character.\n\nSome awks warn about it having no effect.\n\n\ngit-svn-id: 8dbf393e6e9ab8d4979d29f9a341a98016792aa6@16492 0101bb08-14d6-0310-b084-bc0e0c8e3800\n","repos":"KTXSoftware\/theora,Distrotech\/libtheora,Distrotech\/libtheora,Distrotech\/libtheora,KTXSoftware\/theora,KTXSoftware\/theora,Distrotech\/libtheora,KTXSoftware\/theora,Distrotech\/libtheora,KTXSoftware\/theora","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- lib\/defexp.awk\n+++ lib\/defexp.awk\n@@ -8,7 +8,7 @@\n \/^\\w*;.*\/ {next}\n \n # remember and propagate the library name\n-\/LIBRARY\/ {name = $2; print \"\\# export list for\", name; next}\n+\/LIBRARY\/ {name = $2; print \"# export list for\", name; next}\n \n # skip various other lines\n \/^\\w*NAME\/ ||\n"}
{"commit":"43ef5e094d2764658d8d47515853f985ca9bf282","subject":"fix option: -reference","message":"fix option: -reference\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -85,7 +85,7 @@\n         }\n \n         # -r, -reference\n-        match(ARGV[pos], \/^--?(ref(e(r(e(n(ce?)?)?)?)?)?|r)$\/)\n+        match(ARGV[pos], \/^--?r(e(f(e(r(e(n(ce?)?)?)?)?)?)?)?$\/)\n         if (RSTART) {\n             print getReference(\"endonym\")\n             exit\n"}
{"commit":"5a6af67164ea8ac4316e0379f5a21724a3802e85","subject":"Fixed total","message":"Fixed total","repos":"overheadhunter\/CreateAppStoreBill,totalvoidness\/CreateAppStoreBill","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- csvToLatex.awk\n+++ csvToLatex.awk\n@@ -19,13 +19,13 @@\n }\n \n END {\n-\troundedTotal=sprintf(\"%.2f\", totalTargetCurrency);\n-\troundedTax=sprintf(\"%.2f\", totalWithholdingTax);\n \tif (length(adRevenueTargetCurrency) != 0) {\n \t\tprintf \"Ad Revenue & & & %.2f USD & %.2f EUR & %.2f EUR \\\\\\\\ \\\\hline \\n\", adRevenueUsd, adRevenueTargetCurrency, adRevenueWithholdingTaxTargetCurrency;\n \t\ttotalTargetCurrency += adRevenueTargetCurrency;\n \t\ttotalWithholdingTax += adRevenueWithholdingTaxTargetCurrency;\n \t}\n+\troundedTotal=sprintf(\"%.2f\", totalTargetCurrency);\n+\troundedTax=sprintf(\"%.2f\", totalWithholdingTax);\n \tprintf \"\\\\hline & & & Gesamt & %.2f EUR & %.2f EUR \\\\\\\\ \\\\hline \\n\", totalTargetCurrency, totalWithholdingTax;\n \tprint \"\\\\end{longtable}\";\n \tprint \"\\n\\n\";\n"}
{"commit":"bd7652b12d6f9fa8b787253555f8ded096f8ddf8","subject":"Fixes for bonus episode mismatches","message":"Fixes for bonus episode mismatches\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -226,9 +226,13 @@\n         showType = \"S\"\n     # Default episodeType to \"E\"\n     episodeType = \"E\"\n-    # Default christmasspecial episodeType to \"X\", don't increment seasonNumber\n+    # Default bonus episodeType to \"X\"\n+    if (episodeURL ~ \/bonus\\\/\/) {\n+        episodeType = \"X\"\n+    }\n+    # Default christmasspecial episodeType to \"K\", don't increment seasonNumber\n     if (episodeURL ~ \/christmasspecial\\\/\/) {\n-        episodeType = \"X\"\n+        episodeType = \"K\"\n         seasonNumber -= 1\n     }\n     #\n@@ -241,11 +245,14 @@\n     if (totalEpisodes == 1)\n         next\n     # The season number should match that in the URL\n-    # Birds of a Feather, Doc Martin, Murdoch, Poirot, Rebus, and Vera have known problems\n+    # Birds of a Feather, Doc Martin, Murdoch, Poirot, Rebus, Vera, and others have problems\n     if (episodeURL ~ \\\n-           \/\\\/series[0-9]{1,2}\\\/|\\\/murdoch\\\/season[0-9]{1,2}\/) {\n+           \/\\\/series[0-9]{1,2}\\\/|[0-9]{1,2}bonus\\\/|\\\/murdoch\\\/season[0-9]{1,2}\/) {\n         split (episodeURL, part, \"\/\")\n         URLseasonNumber = part[5]\n+        sub (\/bonus\/,\"\",URLseasonNumber)\n+        # Foyle's War has sets: foyleswar\/series9set8bonus\/\n+        sub (\/set[0-9]\/,\"\",URLseasonNumber)\n         sub (\/christmasspecial\/,\"\",URLseasonNumber)\n         sub (\/[[:alpha:]]*\/,\"\",URLseasonNumber)\n         if (URLseasonNumber != seasonNumber) {\n"}
{"commit":"96cad870d4f5b674d2da264cb8811306ec9386a5","subject":"fix single to double quotes","message":"fix single to double quotes\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -137,7 +137,7 @@\n \t# kegg\n \tprefix[\"http:\/\/www.genome.jp\/kegg\/pathway\/map\/map\"]=\"KEGG-img\"\n \t# in EOM\n-\tprefix['https:\/\/elementsofmorphology.nih.gov\/images\/terms\/']=\"EOM_IMG\"\n+\tprefix[\"https:\/\/elementsofmorphology.nih.gov\/images\/terms\/\"]=\"EOM_IMG\"\n \n \t# playing with the idea of a LOCAL identifier\n     # not the same as a bnode in that tools won't rewrite identifier\n"}
{"commit":"b9043343f3d6881e4d013c5d62a7d886ec41ee9d","subject":"Make sure newline at end of file","message":"Make sure newline at end of file\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- fixExtraLinesFrom-webscraper.awk\n+++ fixExtraLinesFrom-webscraper.awk\n@@ -9,3 +9,8 @@\n     else\n         printf\n }\n+\n+END {\n+    printf (\"\\n\")\n+}\n+\n"}
{"commit":"1a5f3e1c36b5af05e3d006e20d04043f0690847e","subject":"Increment loops in-line with the call to `fsmgvedge()`.","message":"Increment loops in-line with the call to `fsmgvedge()`.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -222,11 +222,9 @@\n #\t\tprintf \"draw llxy -- lxy withpen pencircle scaled 1bp withcolor red;\\n\"\n \t}\n \n-\tprintf \"fsmgvedge(%s, %s.diam, %s, %s.diam, e, pp, \\\"%s\\\", %s.loops);\", tail, tail, head, head, label, head;\n-\n-\tif (head == tail) {\n-\t\tprint \"\t%s.loops := %s.loops + 1;\", head, head\n-\t}\n+\tprintf \"fsmgvedge(%s, %s.diam, %s, %s.diam, e, pp, \\\"%s\\\", %s);\",\n+\t\ttail, tail, head, head, label,\n+\t\thead != tail ? 0 : sprintf(\"incr %s.loops\", head);\n }\n \n \/^stop$\/ {\n"}
{"commit":"b81b52603773c507eef9f0efdbfd28e2e44899d6","subject":"\\u needs extra \\","message":"\\u needs extra \\\n","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -582,9 +582,9 @@\n function json(str, T, V,    c,s,n,a,A,b,B,C,U,W,i,j,k,u,v,w,root) {\n     # use strings, numbers, booleans as separators\n     # c = \"[^\\\"\\\\\\\\[:cntrl:]]|\\\\\\\\[\\\"\\\\\\\\\/bfnrt]|\\\\u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]\"\n-    c = \"[^\\\"\\\\\\\\\\001-\\037]|\\\\\\\\[\\\"\\\\\\\\\/bfnrt]|\\\\u[[:xdigit:]A-F][[:xdigit:]A-F][[:xdigit:]A-F][[:xdigit:]A-F]\"\n+    c = \"[^\\\"\\\\\\\\\\001-\\037]|\\\\\\\\[\\\"\\\\\\\\\/bfnrt]|\\\\\\\\u[[:xdigit:]A-F][[:xdigit:]A-F][[:xdigit:]A-F][[:xdigit:]A-F]\"\n     s =\"\\\"(\" c \")*\\\"\"\n-    n = \"-?(0|[1-9][[:digit:]]*)(\\\\.[[:digit:]]+)?([eE][+-]?[[:digit:]]+)?\"\n+    n = \"-?(0|[1-9][[:digit:]]*)([.][[:digit:]]+)?([eE][+-]?[[:digit:]]+)?\"\n \n     root = gsplit(str, A, s \"|\" n \"|true|false|null\", T)\n     assert(root > 0, \"unexpected\")\n"}
{"commit":"61fbc9a7bd90ebe9daf8e31266d1728a33ec3c73","subject":"drop leading space","message":"drop leading space\n","repos":"TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/label_dot_edge.awk\n+++ scripts\/label_dot_edge.awk\n@@ -34,7 +34,8 @@\n \t\tfor(i=2;i<=length(term);i++)\n \t\t\trow[4] = row[4] \"\\\"\" term[i]\n \t}\n-\tfor(i=1;i<=length(row);i++)\n+    line = row[1]\n+\tfor(i=2;i<=length(row);i++)\n \t\tline = line \" \" row[i]\n \tprint  line\n }\n"}
{"commit":"dcd9f3fef8ac18b85ede44b2b80539f5868b95c1","subject":"Cannonicalize MHz headers","message":"Cannonicalize MHz headers\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-seriesPages.awk\n+++ getMHzFrom-seriesPages.awk\n@@ -66,6 +66,7 @@\n         sub (\/WITH ENGLISH SUBTITLES \/,\"\")\n         sub (\/SCANDINAVIAN CRIME FICTION\/,\"Sweden\")\n         sub (\/NONFICTION - DOCUMENTARY\/,\"Documentary\")\n+        sub (\/NON-FICTION - DOCUMENTARY\/,\"Documentary\")\n         gsub (\/ \\| {1,2}\/,\"|\")\n         sub (\/\\r\/,\"\")\n         # Split out header fields\n@@ -80,6 +81,8 @@\n         }\n         # print the finalized header\n         if (numFields > 3 ) {\n+            sub (\"Drama-crime\",\"Drama - crime\",fld[1])\n+            gsub (\" \",\"\",fld[4])\n             print fld[1] \"\\t\" fld[2] \"\\t\" fld[(numFields-1)] \"\\t\" fld[(numFields)] >> HEADER_FILE\n             headerPrinted = \"yes\"\n         }\n"}
{"commit":"e1f3e620ee4966fe5e62ac1d0db0a4016d846818","subject":"Add doNotProcess to statuses.","message":"Add doNotProcess to statuses.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@30770 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -59,7 +59,8 @@\n   s[8] = \"down\"\n   s[9] = \"superseded\"\n   s[10] = \"zapped\"\n-  sn = 11\n+  s[11] = \"doNotProcess\"\n+  sn = 12\n   \n   sc[0] = \"expe\"\n   sc[1] = \"exis\"\n@@ -72,7 +73,8 @@\n   sc[8] = \"down\"\n   sc[9] = \"supe\"\n   sc[10] = \"zapp\"\n-  scn = 11\n+  sc[11] = \"doNP\"\n+  scn = 12\n \n   #print out header\n   printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\tTotal\"\n"}
{"commit":"f3ac368d1c19bcf26c6eb7fd947c07e07b7a1cbf","subject":"Better scalac coloring","message":"Better scalac coloring\n","repos":"jhclark\/ducttape,jhclark\/ducttape,jhclark\/ducttape","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- color_scalac.awk\n+++ color_scalac.awk\n@@ -4,7 +4,10 @@\n \n {\n   if($2==\"error\") {\n-    print \"\\033[91m\"$0\n+    # see http:\/\/stackoverflow.com\/questions\/287871\/print-in-terminal-with-colors-using-python\n+    printf \"\\033[94m\"$1\n+    for(i=2; i<=NF; i++) printf \": \\033[91m\"$i\n+    printf \"\\n\"\n   } else {\n     print \"\\033[0m\"$0\n   }\n"}
{"commit":"fb0687b819b443a5615e1ff800c81489b6e0de0b","subject":"Mark the generated output as 'DO NOT EDIT'","message":"Mark the generated output as 'DO NOT EDIT'\n","repos":"allevato\/swift-protobuf,thomasvl\/swift-protobuf,apple\/swift-protobuf,tbkka\/swift-protobuf,tbkka\/swift-protobuf,apple\/swift-protobuf,allevato\/swift-protobuf,cburrows\/swift-protobuf,apple\/swift-protobuf,thomasvl\/swift-protobuf,thomasvl\/swift-protobuf,tbkka\/swift-protobuf,thomasvl\/swift-protobuf,allevato\/swift-protobuf,cburrows\/swift-protobuf,apple\/swift-protobuf,apple\/swift-protobuf,tbkka\/swift-protobuf,tbkka\/swift-protobuf,cburrows\/swift-protobuf,cburrows\/swift-protobuf,apple\/swift-protobuf,thomasvl\/swift-protobuf,allevato\/swift-protobuf,allevato\/swift-protobuf,tbkka\/swift-protobuf,cburrows\/swift-protobuf,cburrows\/swift-protobuf,thomasvl\/swift-protobuf,cburrows\/swift-protobuf,apple\/swift-protobuf,thomasvl\/swift-protobuf,allevato\/swift-protobuf,allevato\/swift-protobuf,tbkka\/swift-protobuf","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- CollectTests.awk\n+++ CollectTests.awk\n@@ -31,6 +31,11 @@\n     CLASS=\"\"\n     TESTCASES=\"\"\n     TESTCASE_separator=\"\"\n+    printf(\"\/\/\\n\")\n+    printf(\"\/\/ GENERATED FILE\\n\")\n+    printf(\"\/\/ DO NOT EDIT\\n\")\n+    printf(\"\/\/\\n\")\n+    printf(\"\\n\")\n     printf(\"import XCTest\\n\")\n     printf(\"@testable import SwiftProtobufTests\\n\")\n     printf(\"\\n\")\n"}
{"commit":"0b0b68894d28e2d1562a402d1f4a491d3aa391d5","subject":"revise a bit","message":"revise a bit\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tool.hgas\/split_particle.awk\n+++ tool.hgas\/split_particle.awk\n@@ -1,4 +1,3 @@\n-# argv: n (Original number)\n BEGIN{\n     pi  = 3.141;\n     idc = 0;\n"}
{"commit":"33a8127621c9ffe65af4de026d18faac063de1d8","subject":"Fix an issue with fzn2py.awk where no output variables are specified in the mzn model.","message":"Fix an issue with fzn2py.awk where no output variables are specified in the mzn model.\n","repos":"JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -256,12 +256,12 @@\n \t\t\toutput_vars = output_vars e;\n \t\t}\n \t}\n-\tprint \"    output_vars = (\" output_vars \",)\";\n+\tprint \"    output_vars = (\" output_vars \")\";\n \tprint \"    return model, output_vars\";\n \n \tprint \"\";\n \tprint \"model, output_vars = get_model()\";\n-\tprint output_vars \" = output_vars\";\n+\tif(output_vars) print output_vars \" = output_vars\";\n \tprint \"solvers = ['Mistral', 'SCIP', 'MiniSat', 'Toulbar2', 'Gurobi']\";\n \tprint \"default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1), ('restart', GEOMETRIC), ('base', 256), ('factor', 1.3)])\";\n \tprint \"param = input(default)\";\n"}
{"commit":"4851e365ace19f4911d72cac25ca12c550fd6b95","subject":"Tidy code","message":"Tidy code\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- PBS\/scripts\/split_rmdups.awk\n+++ PBS\/scripts\/split_rmdups.awk\n@@ -10,10 +10,10 @@\n # to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n # copies of the Software, and to permit persons to whom the Software is\n # furnished to do so, subject to the following conditions:\n-# \n+#\n # The above copyright notice and this permission notice shall be included in\n # all copies or substantial portions of the Software.\n-# \n+#\n # THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n@@ -23,7 +23,7 @@\n # THE SOFTWARE.\n ##########\n \n-# Dedup script that submits deduping jobs after splitting at known \n+# Dedup script that submits deduping jobs after splitting at known\n # non-duplicates\n # Juicer version 1.5\n \n@@ -34,25 +34,26 @@\n {\n \tif (tot >= 1000000) {\n \t\tif (p1 != $1 || p2 != $2 || p4 != $4 || p5 != $5 || p8 != $8) {\n-\t        print \"this is the beginging part of split rmdups awk\";\n-            cmd=sprintf(\"qstat | grep osplit%s |cut -c 1-7\", groupname);\n-            cmd |& getline jID_osplit;\n-    \t\tsname=sprintf(\"%s_msplit%04d_\", groupname, name);\n-\t\t\tsysstring1=sprintf(\"qsub -l %s -o %s_%s.log -j oe -q %s -N DDuP%s%s -l mem=4gb -l nodes=1:ppn=1:AMD -W depend=afterok:%s <<-EOF\\nawk -f  %s\/scripts\/dups.awk -v name=%s\/%s %s\/split%04d;\\nEOF\\n\", walltime, outfile, sname, queue, name, groupname, jID_osplit ,juicedir, dir, sname, dir, name, dir, name);\n+\t\t\tprint \"this is the beginging part of split rmdups awk\";\n+\t\t\tcmd=sprintf(\"qstat | grep osplit%s |cut -c 1-8\", groupname);\n+\t\t\tcmd |& getline jID_osplit;\n+\t\t\tsname=sprintf(\"%s_msplit%04d_\", groupname, name);\n+\t\t\tsysstring1=sprintf(\"qsub -l %s -o %s_%s.log -j oe -W group_list=cu_10027 -A cu_10027 -q %s -N DDuP%s%s -l mem=4gb -l nodes=1:ppn=1:thinnode -W depend=afterok:%s <<-EOF\\nawk -f  %s\/scripts\/dups.awk -v name=%s\/%s %s\/split%04d;\\nEOF\\n\", walltime, outfile, sname, queue, name, groupname, jID_osplit ,juicedir, dir, sname, dir, name, dir, name);\n \t\t\tsystem(sysstring1);\n-            cmd1=sprintf(\"qstat | grep DDuP%s%s | cut -d ' ' -f 1\",name,groupname);\n-            cmd1 |& getline jID;\n-            close(cmd1);\n-            if (name==0){\n-            waitstring=sprintf(\"%s\",jID );\n-            waitstring2=sprintf(\"%s\",jID)\n-            }\n-\t\t    else {\n-            waitstring=sprintf(\"%s:%s\",waitstring,jID);\n-            waitstring2=sprintf(\"%s %s\",waitstring2,jID)\n-            }\n-            \n-            name++;\n+\t\t\tcmd1=sprintf(\"qstat | grep DDuP%s%s | cut -d ' ' -f 1 | cut -d '.' -f 1-2\",name,groupname);\n+\t\t\tcmd1 |& getline jID;\n+\n+\t\t\tclose(cmd1);\n+\t\t\tif (name==0){\n+\t\t\t\twaitstring=sprintf(\"%s\",jID );\n+\t\t\t\twaitstring2=sprintf(\"%s\",jID)\n+\t\t\t}\n+\t\t  else {\n+\t\t\t\twaitstring=sprintf(\"%s:%s\",waitstring,jID);\n+\t\t\t\twaitstring2=sprintf(\"%s %s\",waitstring2,jID)\n+\t\t  }\n+\n+\t\t  name++;\n \t\t\ttot=0;\n \t\t}\n \t}\n@@ -66,40 +67,41 @@\n     print \"This is the begining of END step, submitting _dedup job in END step\";\n \tsysstring2=sprintf(\"qsub -l %s -o %s_%s_dedup%s.log -j oe -q %s -N DDuP%s%s -W depend=afterok:%s <<-EOF\\nawk -f %s\/scripts\/dups.awk -v name=%s\/%s %s\/split%04d;\\nEOF\\n\", walltime, outfile, sname, name, queue, name, groupname, jID_osplit ,juicedir, dir, sname, dir, name, dir, name);\n     system(sysstring2);\n+\tsname=sprintf(\"%s_msplit%04d_\", groupname, name);\n+\tsystem(sysstring2);\n \n-    cmd2=sprintf(\"qstat | grep DDuP%s%s | cut -d ' ' -f 1\",name,groupname);\n-    cmd2 |& getline jID;\n-    close(cmd2);\n-    if ( name==0 ){\n-    waitstring=sprintf(\"%s\",jID );\n-    waitstring2=sprintf(\"%s\",jID);\n-    }\n-    else {\n-    waitstring=sprintf(\"%s:%s\",waitstring,jID);\n-    waitstring2=sprintf(\"%s %s\",waitstring2,jID);\n-    }\n-    cmd3=sprintf(\"qstat %s\",waitstring2);\n-    cmd3 |& getline waitedjobstatus;\n-    close(cmd3)\n-    print \"below is the waitingstring1 and waitingstring2\";\n+\tcmd2=sprintf(\"qstat | grep DDuP%s%s | cut -d ' ' -f 1 | cut -d '.' -f 1-2\",name,groupname);\n+\tcmd2 |& getline jID;\n+\tclose(cmd2);\n+\tif ( name==0 ){\n+\t\twaitstring=sprintf(\"%s\",jID );\n+\t\twaitstring2=sprintf(\"%s\",jID);\n+\t}\n+\telse {\n+\t\twaitstring=sprintf(\"%s:%s\",waitstring,jID);\n+\t\twaitstring2=sprintf(\"%s %s\",waitstring2,jID);\n+\t}\n+\tcmd3=sprintf(\"qstat %s\",waitstring2);\n+\tcmd3 |& getline waitedjobstatus;\n+\tclose(cmd3)\n+\tprint \"below is the waitingstring1 and waitingstring2\";\n \tprint waitstring;\n-    print waitstring2;\n-    print \"below is te waited job status before qsub\"\n-    print $waitedjobstatus;\n-    print \"submitting _catsplit jobs\";\n \tsysstring = sprintf(\"qsub -l %s -o %s_catsplit.log -j oe -q %s -N CtSplt%s -W depend=afterok:%s <<-EOF\\ncat %s\/%s_msplit*_optdups.txt > %s\/opt_dups.txt;  cat %s\/%s_msplit*_dups.txt > %s\/dups.txt; cat %s\/%s_msplit*_merged_nodups.txt > %s\/merged_nodups.txt; \\nEOF\\n\", walltime, outfile, queue, groupname, waitstring, dir, groupname, dir, dir, groupname, dir, dir, groupname, dir, dir);\n-    system(sysstring);\n-    cmd4=sprintf(\"qstat | grep CtSplt%s | cut -d ' ' -f 1\",groupname);\n-    cmd4 |& getline jID_catsplit;\n-    close(cmd4);\n-    print \"below is the _catsplit id\";\n+\tprint waitstring2;\n+\tprint \"below is the waited job status before qsub\"\n+\tprint waitedjobstatus;\n+\tprint \"submitting _catsplit jobs\";\n+\tsystem(sysstring);\n+\tcmd4=sprintf(\"qstat | grep CtSplt%s | cut -d ' ' -f 1 | cut -d '.' -f 1-2\",groupname);\n+\tcmd4 |& getline jID_catsplit;\n+\tclose(cmd4);\n+\tprint \"below is the _catsplit id\";\n \tprint jID_catsplit;\n-    print \"submitting _rmsplit jobs\";\n \tsysstring=sprintf(\"qsub -l %s -o %s_rmsplit.log -j oe -q %s -N RmSplt%s -W depend=afterok:%s <<-EOF\\n rm %s\/*_msplit*_optdups.txt; rm %s\/*_msplit*_dups.txt; rm %s\/*_msplit*_merged_nodups.txt; rm %s\/split*;\\nEOF\", walltime, outfile, queue, groupname,jID_catsplit, dir, dir, dir, dir);\n-  system(sysstring);\n-    cmd=sprintf(\"qstat | grep RmSplt%s | cut -d ' ' -f 1\",groupname);\n-    cmd |& getline jID_rmsplit;\n-    print \"below is the jID_rmsplit:\";\n-    print jID_rmsplit;\n+\tprint \"submitting _rmsplit jobs\";\n+\tsystem(sysstring);\n+\tcmd=sprintf(\"qstat | grep RmSplt%s | cut -d ' ' -f 1 | cut -d '.' -f 1-2\",groupname);\n+\tcmd |& getline jID_rmsplit;\n+\tprint \"below is the jID_rmsplit:\";\n+\tprint jID_rmsplit;\n }\n-\n"}
{"commit":"285c45df8f7625e5d02bc30213fc17da4ad21d66","subject":"Added awk to parse config file","message":"Added awk to parse config file\n","repos":"apgoetz\/puffin","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/config.awk\n+++ lib\/config.awk\n@@ -0,0 +1,47 @@\n+# awk library to parse config file\n+\n+\n+# if we are in find_sec look for things that match brackets\n+match($0, \/\\[([[:alnum:]_]).*\\]\/) {\n+  section = substr($0, (RSTART + 1), (RLENGTH - 2))\n+\n+  # if we have encountered a new rule\n+  if (section != \"RENDERERS\") {\n+\t  if (section in section_names) {\n+\t\t  print \"Error Parsing config @ line\", FNR \": encountered section\", section, \"multiple times\"\n+\t\texit -1\n+\t  } else {\n+\t\t  section_names[section] = 1\n+\t  }\n+  }\n+  next\n+}\n+\n+# if we detect a setting of a key value\n+\/.*=.*\/ {\n+\tn = split($0, kval, \"=\")\n+\tif (n != 2) {\n+\t\tprint \"Error Parsing config @ line\", FNR \": Bad key val\", $0\n+\t\texit -1\n+\t}\n+\n+\tkey = kval[1]\n+\tval = kval[2]\n+\t\n+\t# special exception for renderer: we use this to store converters\n+\tif (section == \"RENDERERS\") {\n+\t\trenderers[key] = val\n+\t} else { \t\t# we are parsing a rule\n+\t\trules[section,key] = val\n+\t} \n+}\n+\n+# helper function to print all of the rules identified during the configuration\n+function dump_rules() {\n+\tprint \"RULES\"\n+\tfor (r in rules) {\n+\t\tsplit(r,sep,SUBSEP)\n+\t\tprint \"PATH\",sep[1] \",\", sep[2], \"->\", rules[r]\n+\n+\t}\n+}\n"}
{"commit":"1b1245dcd6b6f0c6a637672489eda0ddc19436e3","subject":"Help: show web browser in getVersion","message":"Help: show web browser in getVersion\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -26,6 +26,8 @@\n                 \"[NOT INSTALLED]\")                                      \\\n         sprintf(\"%-22s%s\\n\", \"terminal pager\", Pager ? Pager :\n                 \"[NOT INSTALLED]\")                                      \\\n+        sprintf(\"%-22s%s\\n\", \"web browser\", Option[\"browser\"] != NONE ?\n+                Option[\"browser\"] :\"[NONE]\")                            \\\n         sprintf(\"%-22s%s (%s)\\n\", \"user locale\", UserLocale, getName(UserLang)) \\\n         sprintf(\"%-22s%s\\n\", \"home language\", Option[\"hl\"])             \\\n         sprintf(\"%-22s%s\\n\", \"source language\", join(Option[\"sls\"], \"+\")) \\\n"}
{"commit":"78281083f172ad19cb4e787560e338a7e9c94b5d","subject":"Fix seasons in c3","message":"Fix seasons in c3\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -85,7 +85,12 @@\n     } else if (URL ~ \/Episode_[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/Episode_5_26089\n         revisedSeasons3 += 1\n-        seasonNumber = \"98\"\n+        seasonNumber = Years\n+        if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n+            printf (\"==> Fixed c3 season: %02d-%02d\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, shortURL, episodeTitle) >> ERROR_FILE\n+            seasonNumber = episodeSeason\n+        }\n         episodeNumber = substr(fld[nflds-1], 1)\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c3Num += 1\n"}
{"commit":"af4d479ae10ab5de77b81fa1f4bdd20c82c0c699","subject":"ahrf.awk: allow backticks at the beginning of the word","message":"ahrf.awk: allow backticks at the beginning of the word\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -34,7 +34,7 @@\n \t\tgsub(\/ +$\/,\"<br>\\n\",$p)\n \t\tx = split($p,word,\" \")\n \t\tfor (w=1; w<=x; w++) {\n-\t\t\tif (word[w] ~ \/``\/) {\n+\t\t\tif (word[w] ~ \/^``\/) {\n \t\t\t\tsplit(word[w],code,\"``\")\n \t\t\t\tprintf(\"%s<code>%s<\/code>%s\", code[1], code[2], code[3])\n \t\t\t}\n"}
{"commit":"37ddb3c97fa75ee64b34bfdefed50a5d17f5ff2e","subject":"vector extraction script fixed","message":"vector extraction script fixed\n","repos":"WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/get_vectors.awk\n+++ scripts\/get_vectors.awk\n@@ -2,8 +2,8 @@\n \n ##################################################################\n BEGIN {\n-    if (ARGC != 2) {\n-\tprintf(\"Incorrect number of arguments.\") > \"\/sys\/stderr\"\n+    if (ARGC != 3) {\n+\tprintf(\"Incorrect number of arguments.\") > \"\/dev\/stderr\"\n \texit 1\n     }\n \n"}
{"commit":"5199c012e24f11cff8ffd6c714d9f996b1e75d70","subject":"pass on less three or less","message":"pass on less three or less\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -276,7 +276,7 @@\n \n     n = asorti(warn, wsort, \"@val_num_desc\")\n     for(i=1;i<=n;i++){\n-        if(warn[wsort[i]] >= toofew)\n+        if(warn[wsort[i]] > toofew)\n             printf(\"%s\\t%s\\t%i\\n\", FILENAME, wsort[i], warn[wsort[i]]) > \"\/dev\/stderr\"\n         else\n             i = n + 1\n"}
{"commit":"1571b6796cd5276a841b5ee345205882f8c79c6a","subject":"Do not check nisas","message":"Do not check nisas\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/rdf-nt.awk\n+++ misc\/rdf-nt.awk\n@@ -25,7 +25,7 @@\n     nsenses = split($3, senses, \", \");\n     nisas   = split($5, isas,   \", \");\n \n-    if (nsenses == 0 || nisas == 0) next;\n+    if (nsenses == 0) next;\n \n     print \"<\" URN \"c\" $1 \">\", TYPE,  CONCEPT,            \".\";\n     print \"<\" URN \"c\" $1 \">\", LABEL, \"\\\"synset\" $1 \"\\\"\", \".\";\n"}
{"commit":"9f5a64a1d49d86e8d088b181019f286aace33ee3","subject":"Removed renamed file","message":"Removed renamed file\n","repos":"marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rewrite-to-bash-case.awk\n+++ rewrite-to-bash-case.awk\n@@ -1,15 +0,0 @@\n-#! \/bin\/bash -\n- \n-#########################\n-# \n-# Name: rewrite-to-bash-case.bash\n-#\n-# Purpose: Rewrite CMIP5-tables to bash case selection\n-#\n-# Usage: .\/rewrite-to-bash-case.bash\n-#\n-# Revision history: 2016-02-25  --  Script created, Martin Evaldsson, Rossby Centre\n-#\n-# Contact persons:  martin.evaldsson@smhi.se\n-#\n-########################\n"}
{"commit":"7b9167b1e6bbf980d9398a1408410789afce39e3","subject":"bash: more generic name for count","message":"bash: more generic name for count\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/numstats.awk\n+++ bin\/numstats.awk\n@@ -4,7 +4,7 @@\n $1 > max  {max = $1}\n           {sum+=$1; sumsq+=$1*$1}\n END {\n-  print \"lines: \", NR;\n+  print \"count: \", NR;\n   print \"min:   \", min;\n   print \"max:   \", max;\n   print \"sum:   \", sum;\n"}
{"commit":"ea9c18f3e4cd91ee99dd371991149fa8e1775150","subject":"win32\/version.awk: fixed whitespace","message":"win32\/version.awk: fixed whitespace\n\ndarcs-hash:20081127232850-db55f-a65203bc70bccd003a74acf8fe55d78d4f639b41.gz\n","repos":"unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- win32\/version.awk\n+++ win32\/version.awk\n@@ -1,7 +1,7 @@\n #! \/bin\/gawk\n #\n # This script extracts the version information from configure.ac\n-# and re-generates win32\/config.h and \n+# and re-generates win32\/config.h and\n # libsofia-sip-ua\/features\/sofia_sip_features.h\n #\n # --------------------------------------------------------------------\n@@ -38,7 +38,7 @@\n \n IN && \/^AC_INIT\/ { version=$2; gsub(\/[\\]\\[)]\/, \"\", version); }\n \n-OUT && \/@[A-Z_]+@\/ { \n+OUT && \/@[A-Z_]+@\/ {\n   gsub(\/@PACKAGE_VERSION@\/, version);\n   gsub(\/@PACKAGE_BUGREPORT@\/, \"sofia-sip-devel@lists.sourceforge.net\");\n   gsub(\/@PACKAGE_NAME@\/, \"sofia-sip\");\n"}
{"commit":"c6625769929c4e9d2e1474f5146b80f149b4f27d","subject":"Rearranged columns in outfile reports","message":"Rearranged columns in outfile reports\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -68,7 +68,7 @@\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c1Num += 1\n         outfile = \"BBox-scrapes\/c1-\" longdate \".csv\"\n-        printf (\"c1\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c1Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n+        printf (\"c1\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c1Num,sortkey,showTitle,shortURL,episodeTitle,Years) >> outfile\n     } else if (URL ~ \/_E[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/35_Hours_E1_26129\n         revisedSeasons2 += 1\n@@ -82,7 +82,7 @@\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c2Num += 1\n         outfile = \"BBox-scrapes\/c2-\" longdate \".csv\"\n-        printf (\"c2\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c2Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n+        printf (\"c2\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c2Num,sortkey,showTitle,shortURL,episodeTitle,Years) >> outfile\n     } else if (URL ~ \/Episode_[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/Episode_5_26089\n         revisedSeasons3 += 1\n@@ -96,7 +96,7 @@\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c3Num += 1\n         outfile = \"BBox-scrapes\/c3-\" longdate \".csv\"\n-        printf (\"c3\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c3Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n+        printf (\"c3\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c3Num,sortkey,showTitle,shortURL,episodeTitle,Years) >> outfile\n     } else {\n         revisedSeasons4 += 1\n         URL ~ \/^\\\/us\\\/movie\\\/\/ ? showtype = \"M\" : showtype = \"E\"\n@@ -105,13 +105,13 @@\n         sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n         if (episodeSeason != \"\") {\n             showtype = \"S\"\n-            sortkey = sprintf (\"%s%02dE%05d\", showtype, episodeSeason, fld[nflds])\n+            sortkey = sprintf (\"%s%02dE%05d\", showtype, episodeSeason, 99999 - fld[nflds])\n             printf (\"==> Fixed c4 season: null-%02d\\t%s\\t%s\\t%s\\n\", \\\n                     episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n         }\n         c4Num += 1\n         outfile = \"BBox-scrapes\/c4-\" longdate \".csv\"\n-        printf (\"c4\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c4Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n+        printf (\"c4\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c4Num,sortkey,showTitle,shortURL,episodeTitle,Years) >> outfile\n     }\n \n     # Convert duration from minutes to HMS\n"}
{"commit":"886136ffdd088b801b35027d0c7d989348025abf","subject":"Main: update","message":"Main: update\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -2,8 +2,8 @@\n # Main.awk                                                         #\n ####################################################################\n \n-# Initialization #0. (prior to option parsing)\n-function init0() {\n+# Initialization.\n+function init() {\n     initGawk()\n \n     initBiDi()\n@@ -88,8 +88,8 @@\n     }\n }\n \n-# Initialization #2. (prior to interactive mode handling)\n-function init2() {\n+# Theme initialization.\n+function initTheme() {\n     # Set theme\n     setTheme()\n \n@@ -98,9 +98,8 @@\n         delete AnsiCode\n }\n \n-# Initialization #3.\n-function init3(    group) {\n-    # Translate.awk\n+# Miscellany initialization.\n+function initMisc(    group) {\n     initHttpService()\n \n     # Initialize pager\n@@ -141,8 +140,8 @@\n \n # Main entry point.\n BEGIN {\n-    init0() # initialization #0\n-    initScript() # initialization script\n+    init()\n+    initScript()\n \n     # Option parsing\n     pos = 0\n@@ -486,7 +485,7 @@\n         break # no more option from here\n     }\n \n-    init2() # initialization #2\n+    initTheme()\n \n     if (Option[\"interactive\"] && !Option[\"no-rlwrap\"])\n         rlwrapMe() # interactive mode\n@@ -497,7 +496,7 @@\n     if (Option[\"interactive\"])\n         welcome()\n \n-    init3() # initialization #3\n+    initMisc()\n \n     if (pos < ARGC) {\n         # More parameters\n"}
{"commit":"49ed469e4c0e214acb6fd0ba79bb3d2bd4eee0a5","subject":"[as] Add some debug information in generated files","message":"[as] Add some debug information in generated files\n","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- as\/target\/gen.awk\n+++ as\/target\/gen.awk\n@@ -50,6 +50,7 @@\n \n \t\tprint \"struct op optab[] = {\"\n \t\tfor (i = 0; i < nvar; i++) {\n+\t\t\tprintf \"\\t\/* %d *\/\\n\", i\n \t\t\tprintf \"\\t{\\n\" \\\n \t\t\t       \"\\t\\t.size = %d,\\n\"\\\n \t\t\t       \"\\t\\t.format = %s,\\n\",\n"}
{"commit":"c6f1ae4fce4161dec21cabd3f0025b0366579707","subject":"genplotscript.awk has moved to scripts at top level","message":"genplotscript.awk has moved to scripts at top level\n","repos":"raim\/SBML_odeSolver,raim\/SBML_odeSolver,raim\/SBML_odeSolver,raim\/SBML_odeSolver","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Win32\/binary\/genplotscript.awk\n+++ Win32\/binary\/genplotscript.awk\n@@ -1,29 +0,0 @@\n-#!\/usr\/bin\/awk -f\r\n-\/\\#t\/\r\n-{\r\n-  printf(\"set data style linespoints\\n\");\r\n-  printf(\"plot\");\r\n-  n = 0;\r\n-  for (i = 2; i != ARGC; i++)\r\n-  {\r\n-    for (j = 2; j != NF+1; j++)\r\n-    {\r\n-      if (ARGV[i] == $(j))\r\n-      {\r\n-        printf(\" '\");\r\n-\tprintf(ARGV[1]);\r\n-\tprintf(\"'\");\r\n-\tprintf(\" using 1:\");\r\n-\tprintf(j);\r\n-\tprintf(\" title '\");\r\n-\tprintf($(j));\r\n-\tprintf(\"'\");\r\n-\t\r\n-\tif (i != ARGC - 1)\r\n-\t   printf(\",\");\r\n-\tn++;\r\n-      }\t      \r\n-    }      \r\n-  }\r\n-  exit 0;\r\n-}"}
{"commit":"546f2f70c3665e9c125c6b824abe2b04b7913607","subject":"Clarify UTF-8 messages","message":"Clarify UTF-8 messages\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -305,8 +305,11 @@\n         #\n         # Look for directors\n         director_name = episodeDescription\n-        if (gsub (\/\\xc2\\xa0\/,\" \",director_name))\n-            printf (\"==> UTF8 non-breaking-space in %s\\n\", shortEpisodeURL) >> ERRORS\n+        if (gsub (\/\\xc2\\xa0\/,\" \",director_name)) {\n+            printf (\"==> UTF-8 non-breaking-space in %s, S%02d%s%02d, %s\\n\", showTitle, seasonNumber,\n+                    episodeType, episodeNumber, episodeTitle) >> ERRORS\n+            print \"    \" episodeDescription >> ERRORS\n+        }\n         if (director_name ~ \/[Dd]irected by \/) {\n             sub (\/.*[Dd]irected by \/,\"\",director_name)\n             sub (\/,.*$\/,\"\",director_name)\n"}
{"commit":"d58a7da8b8912fa70b957139bead69c465a9dc41","subject":"add option -upgrade","message":"add option -upgrade\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -198,6 +198,13 @@\n             continue\n         }\n \n+        # -U, -upgrade\n+        match(ARGV[pos], \/^--?(U|upgrade)$\/)\n+        if (RSTART) {\n+            InfoOnly = \"upgrade\"\n+            continue\n+        }\n+\n         # -N, -nothing\n         match(ARGV[pos], \/^--?(N|nothing)$\/)\n         if (RSTART) {\n@@ -575,6 +582,9 @@\n     case \"list\":\n         print getList(Option[\"tl\"])\n         exit\n+    case \"upgrade\":\n+        upgrade()\n+        exit\n     case \"nothing\":\n         exit\n     }\n"}
{"commit":"2ecdbb34f0f66c12a11fa7c0de654dbd51345125","subject":"cleaning global.e1.params.ttl with bin\/util\/update-e-params-subject-discrim.awk","message":"cleaning global.e1.params.ttl with bin\/util\/update-e-params-subject-discrim.awk\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/update-e-params-subject-discrim.awk\n+++ bin\/util\/update-e-params-subject-discrim.awk\n@@ -10,11 +10,11 @@\n {\n    if( $1 == \"@prefix\" && $2 == \":\" ) {\n       # Fix up default namespace.\n-      printf(\"@prefix :           <%s\/source\/%s\/dataset\/%s\/version\/%s\/params\/enhancement\/%s\/> .\",baseURI,sourceID,dataset_identifier,);\n+      printf(\"@prefix :           <%s\/source\/%s\/dataset\/%s\/version\/%s\/params\/enhancement\/%s\/> .\",baseURI,sourceID,dataset_identifier,datasetVersion,layerID);\n \n    }else if( $0 == \":dataset a void:Dataset;\" ) {\n       # Change subject to name of layer dataset itself.\n-      printf(\"%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/enhancement\/%s\",baseURI,sourceID,dataset_identifier,datasetVersion,$layerID);\n+      printf(\"%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/enhancement\/%s\",baseURI,sourceID,dataset_identifier,datasetVersion,layerID);\n \n    }else if( $0~\"conversion:subject_discriminator\" ) {\n       printf(\"      conversion:subject_discriminator \\\"%s\\\";\\n\",subjectDiscriminator)\n"}
{"commit":"438ea54ca3c9983e09b5c51284e9fec4509b9f2b","subject":"Fix dependencies generation","message":"Fix dependencies generation\n","repos":"FarGroup\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- far\/scripts\/mkdep.awk\n+++ far\/scripts\/mkdep.awk\n@@ -46,6 +46,8 @@\n       for (i in force_include)\n         print \" \" force_include[i];\n     }\n+    else if (ext == obj)\n+        print \" disabled_warnings.hpp\"\n   }\n   else\n   {\n"}
{"commit":"3039e9b6b330349a034f3361c756f936b388b63a","subject":"Translate: handle 301 redirection via curl() (often HTTPS)","message":"Translate: handle 301 redirection via curl() (often HTTPS)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"unknown","license":"unlicense","lang":"Awk","diff":""}
{"commit":"84b5bb781aaf841b957659dca27732fce2eeb0fd","subject":"Update min\/max messaging","message":"Update min\/max messaging\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -146,8 +146,8 @@\n \n         cat         = \"error\"\n         test        = field \" != \\\"\\\" && \" field \" \" comparator \" \" limit\n-        mini_msg    = \"value should be \" term \" than: \" limit\n-        msg         = field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be \" term \" than \" limit \" and was \\\" \" field \" \\\" \"\n+        mini_msg    = \"value should be \" term \" or equal to: \" limit\n+        msg         = field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be \" term \" or equal to\" limit \" and was \\\" \" field \" \\\" \"\n \n     } else if (rule_type == \"pattern\") {\n         pattern     = params[2]\n@@ -165,7 +165,7 @@\n         cat         = \"error\"\n         test        = field \" != \\\"\\\" && length(\" field \") \" comparator \" \" limit\n         mini_msg    = \"max length is: \" limit\n-        msg         = field \" length in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be \" term \" than \" limit \" and was \\\" length(\" field \") \\\" \"\n+        msg         = field \" length in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be \" term \" or equal to \" limit \" and was \\\" length(\" field \") \\\" \"\n     }\n }\n \n"}
{"commit":"0307174e3801f3ed866522c6c991d18b57a13e2e","subject":"reworked to improve splitting namespace from id","message":"reworked to improve splitting namespace from id\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -13,28 +13,46 @@\n # which may belong to a \"structural\" ontology as opposed to\n # a data uri.\n \n-#  Perhaps an improvement would be to to also\n+#  Perhaps an improvement would be to also\n # express subject and objects as individual curies (ala predicates)\n # iff their namespace is also used by a predicate.\n \n ##########################################################\n-# remove first and last chars from input\n+# remove first and last chars from input string <>\n function trim(str){ \n \treturn substr(str,2,length(str)-2)\n }\n \n-# remove final element in slashed path\n-# this leaves the namespace of the removed identifier\n+########################################################\n+# remove final(ish) element in paths with various delimiters\n+# this leaves the namespace of a removed identifier\n+\n+# this may need to be called more than once since \n+# some identifiers may have embedded delimiters\n function stripid(uri){\n-\tl = match(uri,\/.*\\\/\/)  # side effect is RLENGTH\n-\tif(l<=0)\n+\t# <_:blanknode> are not allowed in ntriples (but may happen anyway)\n+\tif(1 == match(uri, \/^_:\/))\n+\t\treturn \"BNODE\"\n+\t# perspective endpoints, choose the longest\n+\tdelim[\"_\"]=0; delim[\"\/\"]=0;\n+\tdelim[\"=\"]=0; delim[\":\"]=0; delim[\"#\"]=0;\n+\tchar=\"\"; max=-1;\n+\tfor(c in delim){\n+\t\tl = match(uri, char)  # side effect is RLENGTH\n+\t\tif(l > max){\n+\t\t\tchar = c;\n+\t\t\tdelim[char] = RLENGTH\n+\t\t}\n+\t}\n+\tif(max<=0) # we don't know what it is, a literal perhaps or uri fragment\n \t\treturn uri\n \telse \n-\t\treturn substr(uri,1,RLENGTH-1)\n+\t\treturn substr(uri,1,delim[char])  # the probably truncated uri\n }\n \n # keep underscore, letters & numbers \n # change the rest to (a single) underscore sans leading & trailing\n+# this passes valid node labels from dot's perspective\n function simplify(str){\n \tgsub(\/[^[:alpha:][:digit:]_]+\/,\"_\",str)\n \tgsub(\/^_+|_+$\/, \"\",str)\n@@ -44,15 +62,19 @@\n \n # if possible, find a shorter form for the input\n function contract(uri){\n-\tif(uri in prefix)\n-\t\treturn prefix[uri]\n+\tu = uri\n+\t# shorten till longest uri in curi map is found (or not)\n+\twhile(!(u in prefix) && (0 < length(u)))\n+\t\tu = stripid(substr(u,1,length(u)-1))\n+\n+\tif(u in prefix)\n+\t\treturn prefix[u]\n \telse \n \t\tfor(ex in exception){\n-\t\t\tstart = match(uri, ex)\n-\t\t\tif(0 < start)\n-\t\t\t\treturn exception[substr(uri, start, RLENGTH)]\n+\t\t\tif(0 < match(uri, ex))\n+\t\t\t\treturn exception[substr(uri, 1, RLENGTH)]\n \t\t}\n-\t\treturn simplify(uri)\n+\t\treturn \"___\" simplify(uri) \n }\n \n # get the final (incl fragment identifier) portion of a slashed path\n@@ -66,16 +88,13 @@\n }\n \n BEGIN{\n-\t# Monarchinitiave's dipper ingest files have cases \n-\t# which escape the general rules\n-\t# in everything\n-\texception[\"http:\/\/www.w3.org\/2002\/07\"]=\"OWL_\"\n-\texception[\"http:\/\/www.w3.org\/1999\/02\"]=\"RDF\"\n-\texception[\"http:\/\/www.w3.org\/2000\/01\"]=\"RDFS\"\n-\t# in go,mgi,wormbase\n-\texception[\"http:\/\/dx.doi.org\"]=\"DOI\"\n+\tprefix[\"BNODE\"] = \"BNODE\"  # is a fixed point\n+\t# revisit if exceptions are still necessary\n+\texception[\"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#\"]=\"rdf\"\n+\texception[\"http:\/\/www.w3.org\/2000\/01\/rdf-schema#\"]=\"rdfs\"\n+\texception[\"http:\/\/www.w3.org\/2002\/07\/owl#\"]=\"owl\"\n \t# in mgi\n-\texception[\"https:\/\/www.mousephenotype.org\"]=\"IMPC_\"\n+\texception[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n \t# in panther\n \texception[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n \t# just until skolemized bnodes get in the curie map?\n@@ -85,10 +104,13 @@\n }\n \n # main loop\n-# parse and stash the curie file (first file)\n-(FNR == NR) && \/^'[^']*' *: 'http[^']*'.*\/ {\n-\tsplit($0,a,\"'\")\n-\tprefix[stripid(a[4])]=a[2]\n+# parse and stash the curie yaml file (first file)\n+# YAML format is tic delimited word (the curi prefix)\n+# optional whitespace, a colon, then a tic delimited url\n+# (FNR == NR) && \/^'[^']*' *: 'http[^']*'.*\/ { # loosing some?\n+(FNR == NR) && \/^'.*\/ {\n+\tsplit($0, arr, \"'\")\n+\tprefix[arr[4]]=arr[2]\n }\n # process the ntriple file(s)  which are not the first file\n ### case when subject predicate and object are all uri\n@@ -96,22 +118,22 @@\n \t### Subject (uri)\n \ts = contract(stripid(trim($1)))\n \t### Predicate (uri)\n-\tq = final(trim($2))\n-\tp = contract(stripid(trim($2)))\n+\tp =  final(trim($2))\n+\tns = contract(stripid(trim($2)))\n \t### Object (like subject)\n \to = contract(stripid(trim($3)))\n-\tedgelist[s \" -> \" o \" [label=\\\"\" p \":\" q]++\n+\tedgelist[s,ns \":\" p,o]++\n }\n ### case when the object is a literal\n (FNR != NR) && \/^<[^>]*> <[^>]*> \"[^\"]*\" \\.$\/ {\n \t### Subject (uri)\n \ts = contract(stripid(trim($1)))\n \t### Predicate (uri)\n-\tq = final(trim($2))\n-\tp = contract(stripid(trim($2)))\n+\tp = final(trim($2))\n+\tns = contract(stripid(trim($2)))\n \t### not a uri\n \to = \"LITERAL\"\n-\tedgelist[s \" -> \" o \" [label=\\\"\" p\":\"q ]++\n+\tedgelist[s, ns \":\" p, o]++\n \tnodelist[o \" [shape=record];\"]++\n }\n \n@@ -120,14 +142,17 @@\n \tprint \"digraph {\"\n \tprint \"rankdir=LR;\"\n \tprint \"charset=\\\"utf-8\\\";\"\n-\tfor(edge in edgelist) print edge \" (\" edgelist[edge] \")\\\"];\"\n+\tfor(edge in edgelist){\n+\t\tsplit(edge ,spo, SUBSEP);\n+\t\tprint simplify(spo[1]) \" -> \" simplify(spo[3]) \\\n+\t\t\" [label=\\\"\" spo[2] \" (\" edgelist[edge] \")\\\"];\"\n+\t}\n \tfor(node in nodelist) print node\n \tprint \"labelloc=\\\"t\\\";\"\n \ttitle = final(FILENAME)\n-\tnow = systime()\n-\t# return date(1)-style output\n-\tdatestamp = strftime(\"%Y%m%d\", now)\n+\tdatestamp = strftime(\"%Y%m%d\", systime())\n \tprint \"label=\\\"\" substr(title,1,length(title)-3) \" (\" datestamp \")\\\";\"\n \tprint \"}\"\n+\n }\n \n"}
{"commit":"865ac721669b7989abdf3c3980f84e30ce9fa872","subject":"Close command in curl and curlPost","message":"Close command in curl and curlPost","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -164,6 +164,7 @@\n     content = NULLSTR\n     while ((command |& getline line) > 0)\n         content = (content ? content \"\\n\" : NULLSTR) line\n+    close(command)\n     return content\n }\n \n@@ -192,6 +193,7 @@\n     content = NULLSTR\n     while ((command |& getline line) > 0)\n         content = (content ? content \"\\n\" : NULLSTR) line\n+    close(command)    \n     return content\n }\n \n"}
{"commit":"a4b71c082396ac6d5f84fefdc43524722c564b26","subject":"CWS gnumake3: replacement of cygpath by variables was broken","message":"CWS gnumake3: replacement of cygpath by variables was broken","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/gbuild\/processdeps.awk\n+++ solenv\/gbuild\/processdeps.awk\n@@ -47,7 +47,7 @@\n function mangle_path(path) {\n     gsub(\"\\\\\\\\\", \"\/\", path);\n     if( path ~ \/^[a-zA-Z]:\/ )\n-        path = toupper(substr(path,0,1)) substr(path,2);\n+        path = tolower(substr(path,0,1)) substr(path,2);\n     gsub(WORKDIR, \"$(WORKDIR)\/\", path);\n     gsub(OUTDIR, \"$(OUTDIR)\/\", path);\n     gsub(SRCDIR, \"$(SRCDIR)\/\", path);\n@@ -58,11 +58,15 @@\n }\n \n BEGIN {\n+   WORKDIR = tolower(substr(WORKDIR,0,1)) substr(WORKDIR,2); \n+   OUTDIR = tolower(substr(OUTDIR,0,1)) substr(OUTDIR,2); \n+   SRCDIR = tolower(substr(SRCDIR,0,1)) substr(SRCDIR,2); \n+   REPODIR = tolower(substr(REPODIR,0,1)) substr(REPODIR,2); \n #   print \"# WORKDIR=\" WORKDIR;\n #   print \"# OUTDIR=\" OUTDIR;\n #   print \"# SRCDIR=\" SRCDIR;\n #   print \"# REPODIR=\" REPODIR;\n-    print mangle_path(OBJECTFILE) \": \\\\\";\n+   print mangle_path(OBJECTFILE) \": \\\\\";\n }\n \n \/^[^#]\/ {\n"}
{"commit":"d51e6e3e338cac8d161921a85afbcecc958eadeb","subject":"Make debian happier (cherry picked from commit eb52c44c0ce952817ff48821d037eaa6d93cd7c1)","message":"Make debian happier\n(cherry picked from commit eb52c44c0ce952817ff48821d037eaa6d93cd7c1)\n","repos":"jmorse\/numbness","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- smt_parse.awk\n+++ smt_parse.awk\n@@ -1,4 +1,4 @@\n-#!\/usr\/bin\/gawk -f\n+#!\/usr\/bin\/awk -f\n # Simplified approach: only pick out lines with round definitions\n \/^\\(\\(round.*\\)\\)$\/ {\n \tprint $0;\n"}
{"commit":"d0cc37d9126cd9e3cc76c7c84b8b99820697604d","subject":"Help: adjust wrong alphabetical order","message":"Help: adjust wrong alphabetical order\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -95,10 +95,10 @@\n             Locale[\"mr\"][\"name\"] \"        - \" ansi(\"bold\", \"mr\") \"  \u2502 \" \\\n             Locale[\"yi\"][\"name\"] \"    - \" ansi(\"bold\", \"yi\") \" \u2502\" RS \\\n             \"\u2502 \" Locale[\"de\"][\"name\"] \"              - \" ansi(\"bold\", \"de\") \"    \u2502 \" \\\n-            Locale[\"my\"][\"name\"] \"        - \" ansi(\"bold\", \"my\") \"  \u2502 \" \\\n+            Locale[\"mn\"][\"name\"] \"      - \" ansi(\"bold\", \"mn\") \"  \u2502 \" \\\n             Locale[\"yo\"][\"name\"] \"     - \" ansi(\"bold\", \"yo\") \" \u2502\" RS \\\n             \"\u2502 \" Locale[\"el\"][\"name\"] \"               - \" ansi(\"bold\", \"el\") \"    \u2502 \" \\\n-            Locale[\"mn\"][\"name\"] \"      - \" ansi(\"bold\", \"mn\") \"  \u2502 \" \\\n+            Locale[\"my\"][\"name\"] \"        - \" ansi(\"bold\", \"my\") \"  \u2502 \" \\\n             Locale[\"zu\"][\"name\"] \"       - \" ansi(\"bold\", \"zu\") \" \u2502\" RS \\\n             \"\u2502 \" Locale[\"gu\"][\"name\"] \"            - \" ansi(\"bold\", \"gu\") \"    \u2502 \" \\\n             Locale[\"ne\"][\"name\"] \"         - \" ansi(\"bold\", \"ne\") \"  \u2502 \" \\\n"}
{"commit":"ec44b14a0d368949e0ad7cca1b90c30997392b11","subject":"Main: change default User-Agent","message":"Main: change default User-Agent\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -44,7 +44,7 @@\n \n     # Networking\n     Option[\"proxy\"] = ENVIRON[\"HTTP_PROXY\"] ? ENVIRON[\"HTTP_PROXY\"] : ENVIRON[\"http_proxy\"]\n-    Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"] ? ENVIRON[\"USER_AGENT\"] : \"Mozilla\/5.0 (X11; Linux x86_64; rv:40.0) Gecko\/20100101 Firefox\/40.0\"\n+    Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"] ? ENVIRON[\"USER_AGENT\"] : \"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/602.1 (KHTML, like Gecko) Version\/8.0 Safari\/602.1 Epiphany\/3.18.2\"\n \n     # Interactive shell\n     Option[\"no-rlwrap\"] = 0\n"}
{"commit":"240ea59592db40bcb1970ad949adb643407b5b6b","subject":"REPL: update","message":"REPL: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/REPL.awk\n+++ include\/REPL.awk\n@@ -4,7 +4,7 @@\n \n # Detect external readline wrapper (rlwrap).\n function initRlwrap() {\n-    Rlwrap = (\"rlwrap --version\" SUPERR | getline) ? \"rlwrap\" : \"\"\n+    Rlwrap = detectProgram(\"rlwrap\", \"--version\")\n }\n \n # Prompt for interactive session.\n"}
{"commit":"cf88c4f743fdcb4e3829eaa2c019d44df270e86f","subject":"updates to support -Wextra","message":"updates to support -Wextra\n","repos":"openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/strconf.awk\n+++ scripts\/strconf.awk\n@@ -1095,7 +1095,7 @@\n #endif\\n\\\n \\n\\\n #if !defined(USER)\\n\\\n-void copying(int argc, char *argv[])\\n\\\n+void copying()\\n\\\n {\\n\\\n \tfprintf(stdout, \\\"\\\\\\n\\\n \\\\n\\\\\\n\\\n@@ -1136,10 +1136,10 @@\n Commercial  licensing  and  support of this  software is  available from OpenSS7\\\\n\\\\\\n\\\n Corporation at a fee.  See http:\/\/www.openss7.com\/\\\\n\\\\\\n\\\n \\\\n\\\\\\n\\\n-\\\", argv[0], ident);\\n\\\n+\\\", NAME, ident);\\n\\\n }\\n\\\n \\n\\\n-void version(int argc, char *argv[])\\n\\\n+void version()\\n\\\n {\\n\\\n \tfprintf(stdout, \\\"\\\\\\n\\\n \\\\n\\\\\\n\\\n@@ -1160,7 +1160,7 @@\n \\\", NAME, PACKAGE, VERSION);\\n\\\n }\\n\\\n \\n\\\n-void usage(int argc, char *argv[])\\n\\\n+void usage(char *argv[])\\n\\\n {\\n\\\n \tfprintf(stderr, \\\"\\\\\\n\\\n Usage:\\\\n\\\\\\n\\\n@@ -1171,7 +1171,7 @@\n \\\", argv[0]);\\n\\\n }\\n\\\n \\n\\\n-void help(int argc, char *argv[])\\n\\\n+void help(char *argv[])\\n\\\n {\\n\\\n \tfprintf(stdout, \\\"\\\\\\n\\\n \\\\n\\\\\\n\\\n@@ -1231,13 +1231,13 @@\n \t\t\trmopt = 1;\\n\\\n                         break;\\n\\\n \t\tcase 'h':\t\/* -h, --help *\/\\n\\\n-\t\t\thelp(argc, argv);\\n\\\n+\t\t\thelp(argv);\\n\\\n \t\t\texit(0);\\n\\\n \t\tcase 'V':\t\/* -V, --version *\/\\n\\\n-\t\t\tversion(argc, argv);\\n\\\n+\t\t\tversion();\\n\\\n \t\t\texit(0);\\n\\\n \t\tcase 'C':\t\/* -C, --copying *\/\\n\\\n-\t\t\tcopying(argc, argv);\\n\\\n+\t\t\tcopying();\\n\\\n \t\t\texit(0);\\n\\\n \t\tcase '?':\\n\\\n \t\t\toptind--;\\n\\\n@@ -1248,7 +1248,7 @@\n \t\t\t\t\tfprintf(stderr, \\\"%s \\\", argv[optind]);\\n\\\n \t\t\t\tfprintf(stderr, \\\"\\\\n\\\");\\n\\\n \t\t\t}\\n\\\n-\t\t\tusage(argc, argv);\\n\\\n+\t\t\tusage(argv);\\n\\\n \t\t\texit(2);\\n\\\n \t\t}\\n\\\n \t}\\n\\\n"}
{"commit":"0ad75e154c98ab8176f99b353d3f30894a98e8a9","subject":"missed the trailing digit","message":"missed the trailing digit\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/pci\/drm\/i915\/devlist.awk\n+++ dev\/pci\/drm\/i915\/devlist.awk\n@@ -3,7 +3,7 @@\n \tprint(\"static const struct pci_matchid i915_devices[] = {\");\n }\n \/INTEL_VGA_DEVICE\\(0x\/ {\n-\tval = substr($0, 19, 5);\n+\tval = substr($0, 19, 6);\n \tprint \"\\t{ 0x8086,\", val \" },\";\n }\n END {\n"}
{"commit":"bf401c1a402ec26ed8f2da13e14f72b9cc7e7c33","subject":"Utils: update","message":"Utils: update\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -62,10 +62,11 @@\n                 command = command \" \" parameterize(ARGV[i])\n \n         l(\">> forking: \" command)\n-        if (!system(command))\n-            exit ExitCode # child process finished\n-        else {\n-            l(\">> non-zero code returned from process\")\n+        if (!system(command)) {\n+            l(\">> process exited with code 0\")\n+            exit ExitCode\n+        } else {\n+            l(\">> process exited with non-zero return code\")\n             return 1\n         }\n     }\n@@ -99,9 +100,12 @@\n         command = Emacs \" --eval \" parameterize(el)\n \n         l(\">> forking: \" command)\n-        if (!system(command))\n-            exit ExitCode # child process finished\n-        else\n+        if (!system(command)) {\n+            l(\">> process exited with code 0\")\n+            exit ExitCode\n+        } else {\n+            l(\">> process exited with non-zero return code\")\n             return 1\n+        }\n     }\n }\n"}
{"commit":"3c6548fcb9ad0e31007b249b4e893aa65c4b26de","subject":"Move back. Start testing 2013 on Dec 1.","message":"Move back. Start testing 2013 on Dec 1.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@29223 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if either status is _not_ manifest or ending year is gt or eq to contract year\n-  current_year = 2013\n+  current_year = 2012\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"e97821403eb5b294e55af21c6bda7f9de90ef421","subject":"Fix extra lines in header file","message":"Fix extra lines in header file\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-seriesPages.awk\n+++ getMHzFrom-seriesPages.awk\n@@ -88,9 +88,10 @@\n             sub (\/\"\\>\/,\"\")\n             print $0 >> DESCRIPTION_FILE\n             # if we didn't find a header in this block, print a blank one\n-            if (headerPrinted == \"no\")\n+            if (headerPrinted == \"no\") {\n                 print \"==> No genre\/country line: \" seriesTitle >> ERROR_FILE\n                 print \"\\t\\t\\t\" >> HEADER_FILE\n+            }\n         }\n     }\n }\n"}
{"commit":"e06824458a8dec7183860c975dd1e73fde31aaee","subject":"default prefixes","message":"default prefixes\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -68,6 +68,8 @@\n       print \"@prefix doap:          <http:\/\/usefulinc.com\/ns\/doap#> .\"\n       print \"@prefix nfo:           <http:\/\/www.semanticdesktop.org\/ontologies\/2007\/03\/22\/nfo#> .\"\n       print \"@prefix sio:           <http:\/\/semanticscience.org\/resource\/> .\"\n+      print \"@prefix vsr:           <http:\/\/purl.org\/twc\/vocab\/vsr#> .\"\n+      print \"@prefix dcat:          <http:\/\/www.w3.org\/ns\/dcat#> .\"\n       print \"@prefix qb:            <http:\/\/purl.org\/linked-data\/cube#> .\"\n       print \"@prefix dgtwc:         <http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#> .\"\n    }\n"}
{"commit":"0e1999f8d6e1038ff5a67954ff942692ca332c56","subject":"Disambiguate \"The Moonstone\" 2016\/1972","message":"Disambiguate \"The Moonstone\" 2016\/1972\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFromSitemap.awk\n+++ getBBoxCatalogFromSitemap.awk\n@@ -192,6 +192,17 @@\n \/<\\\/item>\/ {\n     lastLineNum = NR\n \n+    # \"The Moonstone\" needs to be revised to avoid duplicate names\n+    if (title == \"The Moonstone\") {\n+        if (EntityId == \"_9283\") {\n+            revisedTitles += 1\n+            printf (\"==> Changed title '%s' to 'The Moonstone (2016)'\\n\", title) >> ERRORS\n+            title = \"The Moonstone (2016)\"\n+        }\n+        # print \"==> title = \" title > \"\/dev\/stderr\"\n+        # print \"==> EntityId = \" EntityId > \"\/dev\/stderr\"\n+    }\n+\n     # \"Porridge\" needs to be revised to avoid duplicate names\n     if (title == \"Porridge\") {\n         if (EntityId == \"_9509\") {\n"}
{"commit":"5a5c5b5d5031e67082f0753c97f0b7ed909006fd","subject":"Update to 2015.","message":"Update to 2015.\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@42941 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,7 +8,8 @@\n \n {\n   # add a loop to add line only if either status is (wanted or testing) or ending year is gt or eq to contract year\n-  current_year = 2014\n+  # increased to 2015 July 1 2015.\n+  current_year = 2015\n   # end_year is the AU year, or the second half of a range, ie 2014 in 2013-2014\n   end_year = 0\n   incontract = 0\n"}
{"commit":"0ed598569eda43dc204b224391363b08844d27f3","subject":"Add comments and update code to not include 2015 during 2014.","message":"Add comments and update code to not include 2015 during 2014.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@38854 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -9,8 +9,10 @@\n {\n   # add a loop to add line only if ending year is gt or eq to contract year\n   current_year = 2014\n+  # end_year is the AU year, or the second half of a range, ie 2014 in 2013-2014\n   end_year = 0\n   incontract = 0\n+  # test_year is the contract year, or the back year if there is one.\n   test_year = \"\"\n   if ($7 == \"\") {\n     test_year = $3\n@@ -22,7 +24,7 @@\n   }\n   #printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", $1,$2,$3,$4,$7,end_year,test_year\n   if (end_year >= test_year) {\n-    if ((end_year < current_year) || ((end_year >= current_year) && (incl_cur == 1))) {\n+    if ((end_year < current_year) || ((end_year == current_year) && (incl_cur == 1))) {\n       incontract = 1\n     }\n   } \n"}
{"commit":"614eb0f774fe4e777d9d89b070242db7cefb52ab","subject":"Add deepCrawl.","message":"Add deepCrawl.","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -67,14 +67,15 @@\n   s[5] = \"notReady\"\n   s[6] = \"ready\"\n   s[7] = \"crawling\"\n-  s[8] = \"frozen\"\n-  s[9] = \"ingNotReady\"\n-  s[10] = \"finished\"\n-  s[11] = \"down\"\n-  s[12] = \"superseded\"\n-  s[13] = \"zapped\"\n-  s[14] = \"doNotProcess\"\n-  sn = 15\n+  s[8] = \"deepCrawl\"\n+  s[9] = \"frozen\"\n+  s[10] = \"ingNotReady\"\n+  s[11] = \"finished\"\n+  s[12] = \"down\"\n+  s[13] = \"superseded\"\n+  s[14] = \"zapped\"\n+  s[15] = \"doNotProcess\"\n+  sn = 16\n   \n   sc[0] = \"expe\"\n   sc[1] = \"exis\"\n@@ -84,14 +85,15 @@\n   sc[5] = \"notR\"\n   sc[6] = \"read\"\n   sc[7] = \"craw\"\n-  sc[8] = \"froz\"\n-  sc[9] = \"ingN\"\n-  sc[10] = \"fini\"\n-  sc[11] = \"down\"\n-  sc[12] = \"supe\"\n-  sc[13] = \"zapp\"\n-  sc[14] = \"doNP\"\n-  scn = 15\n+  sc[8] = \"deep\"\n+  sc[9] = \"froz\"\n+  sc[10] = \"ingN\"\n+  sc[11] = \"fini\"\n+  sc[12] = \"down\"\n+  sc[13] = \"supe\"\n+  sc[14] = \"zapp\"\n+  sc[15] = \"doNP\"\n+  scn = 16\n \n   #print out header\n   printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\tTotal\"\n"}
{"commit":"70794b63cde1f868699e4f7e27bf7a974ea4a4a3","subject":"mmake\/mwg_pp.awk: update","message":"mmake\/mwg_pp.awk: update\n","repos":"akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- mmake\/mwg_pp.awk\n+++ mmake\/mwg_pp.awk\n@@ -231,7 +231,7 @@\n           _w=_w _c;\n         }\n       }\n-    }else if(_c ~ \/\\s\/){\n+    }else if(_c ~ \/[[:space:]]\/){\n       continue; # ignore blank\n     }else{\n       print_error(\"mwg_pp.eval_expr\",\"unrecognizable character '\" _c \"'\");\n"}
{"commit":"0c1a7764d1fd1260207a472ba23d9755270751b0","subject":"After egg's review.","message":"After egg's review.\n","repos":"pleroy\/Principia,eggrobin\/Principia,eggrobin\/Principia,pleroy\/Principia,mockingbirdnest\/Principia,mockingbirdnest\/Principia,pleroy\/Principia,eggrobin\/Principia,pleroy\/Principia,mockingbirdnest\/Principia,mockingbirdnest\/Principia","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- astronomy\/generate_initial_state.awk\n+++ astronomy\/generate_initial_state.awk\n@@ -57,6 +57,12 @@\n \n   for (i = 0; i < n; ++i) {\n     b = bodies[i]\n+    sub(\/E\/, \"e\", x[b])\n+    sub(\/E\/, \"e\", y[b])\n+    sub(\/E\/, \"e\", z[b])\n+    sub(\/E\/, \"e\", vx[b])\n+    sub(\/E\/, \"e\", vy[b])\n+    sub(\/E\/, \"e\", vz[b])\n     print \"  body {\"\n     print \"    name : \\\"\" b \"\\\"\"\n     print \"    x    : \\\"\" x[b] \" km\\\"\"\n"}
{"commit":"fa9362b22b218a484857a11002c00ba371b8dd2e","subject":"Duplicate keycode 50 as keycode 49, some USB keyboards use the latter.","message":"Duplicate keycode 50 as keycode 49, some USB keyboards use the latter.\n\nwith and ok millert@\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/makemap.awk\n+++ dev\/usb\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.5 2005\/05\/19 17:49:54 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.6 2005\/05\/23 21:33:03 miod Exp $\n #\n # Copyright (c) 2005, Miodrag Vallat\n #\n@@ -31,7 +31,7 @@\n #\n \n BEGIN {\n-\trcsid = \"$OpenBSD: makemap.awk,v 1.5 2005\/05\/19 17:49:54 miod Exp $\"\n+\trcsid = \"$OpenBSD: makemap.awk,v 1.6 2005\/05\/23 21:33:03 miod Exp $\"\n \tifdepth = 0\n \tignore = 0\n \tdeclk = 0\n@@ -299,10 +299,15 @@\n \t}\n \n \tif (haskeys) {\n-\t\t# Duplicate 42 (backspace) as 76\n-\t\t# XXX maybe not correct anymore?\n-\t\tlines[76] = lines[42]\n-\t\tsub(\"42\", \"76\", lines[76])\n+\t\t# Duplicate 42 (backspace) as 76 and 50 (backslash bar) as 49\n+\t\tif (!lines[76]) {\n+\t\t\tlines[76] = lines[42]\n+\t\t\tsub(\"42\", \"76\", lines[76])\n+\t\t}\n+\t\tif (!lines[49]) {\n+\t\t\tlines[49] = lines[50]\n+\t\t\tsub(\"50\", \"49\", lines[49])\n+\t\t}\n \n \t\tfor (i = 0; i < 256; i++)\n \t\t\tif (lines[i]) {\n"}
{"commit":"b91ea8cf0fc194736ad0ad3c618ae4250d85b660","subject":"Cleaned up second awk script","message":"Cleaned up second awk script\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMhzFrom-seriesPages.awk\n+++ getMhzFrom-seriesPages.awk\n@@ -10,7 +10,7 @@\n # INPUT:\n #       <title>A French Village - MHz Choice<\/title>\n #       <meta name=\"description\" content=\"DRAMA | FRANCE | FRENCH WITH ENGLISH SUBTITLES | TV-MA^M\n-#       This acclaimed drama is about the German...all in a day&#x27;s worki... its inhabitants.\">\n+#       This acclaimed drama is about the German...all in a day&#x27;s work... its inhabitants.\">\n #\n # OUTPUT:\n #       $MARQUEE_FILE, $DESCRIPTION_FILE, $HEADER_FILE,\n@@ -18,8 +18,7 @@\n #       \n \n BEGIN {\n-    numPrinted = 0\n-    FS = \"\\|\"\n+    printed = \"no\"\n }\n \n \/title>\/ {\n@@ -41,18 +40,19 @@\n         sub (\/NONFICTION - DOCUMENTARY\/,\"Documentary\")\n         gsub (\/ \\| \/,\"|\")\n         sub (\/\\r\/,\"\")\n-        # ensure lowercase for everything but the first character\n-        # in all fields but the last\n-        for (i = 1; i < NF; ++i) {\n-            $i = substr($i,1,1) tolower(substr($i,2))\n-            # uppercase for second of two word fields\n-            if (match($i,\/ \/) > 0)\n-                $i = substr($i,1,RSTART) toupper(substr($i,RSTART+1,1)) \\\n-                   (substr($i,RSTART+2))\n+        # Split out header fields\n+        numFields = split($0,fld,\"\\|\")\n+        # lowercase everything but the first character in all fields but the last\n+        for (i = 1; i < numFields; ++i) {\n+            fld[i] = substr(fld[i],1,1) tolower(substr(fld[i],2))\n+            # uppercase the first character of any second word\n+            if (match(fld[i],\/ \/) > 0)\n+                fld[i] = substr(fld[i],1,RSTART) toupper(substr(fld[i],RSTART+1,1)) \\\n+                   (substr(fld[i],RSTART+2))\n         }\n         # print the finalized header\n-        print $1 \"\\t\" $2 \"\\t\" $(NF-1) \"\\t\" $(NF) >> HEADER_FILE\n-        numPrinted += 1\n+        print fld[1] \"\\t\" fld[2] \"\\t\" fld[(numFields-1)] \"\\t\" fld[(numFields)] >> HEADER_FILE\n+        printed = \"yes\"\n     } else {\n         # Extract the description\n         gsub (\/\"\\>\/,\"\")\n@@ -65,7 +65,7 @@\n }\n \n END {\n-    if (numPrinted == 0)\n-        printf (\"\\t\\t\\t\\n\") >> HEADER_FILE\n+    if (printed == \"no\")\n+        print \"\\t\\t\\t\" >> HEADER_FILE\n     print \"\" >> DESCRIPTION_FILE\n }\n"}
{"commit":"c19e11184b3594b6ae30455a7978fd95f3ee6b29","subject":"Create clickable URL","message":"Create clickable URL\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -268,7 +268,6 @@\n     }\n \n     if (contentType == \"tv_season\") {\n-        #xxx\n         countSeasons += 1\n         # print \"\\ntv_season\" > \"\/dev\/stderr\"\n         for ( i = 1; i <= countShows; i++ ) {\n@@ -311,14 +310,31 @@\n         # print \"sortkey = \" sortkey > \"\/dev\/stderr\"\n         # Compose title\n     }\n-    \n+\n+    # Generate a link that will lead to the show on Britbox\n+    # https:\/\/www.britbox.com\/us\/movie\/A_Queen_Is_Crowned_13551\n+    # https:\/\/www.britbox.com\/us\/movie\/_13551\n+    #\n+    # https:\/\/www.britbox.com\/us\/show\/All_Creatures_Great_and_Small_23737\n+    # https:\/\/www.britbox.com\/us\/show\/_23737\n+    #\n+    # https:\/\/www.britbox.com\/us\/season\/All_Creatures_Great_and_Small_S2_23752\n+    # https:\/\/www.britbox.com\/us\/season\/_23752\n+    #\n+    # https:\/\/www.britbox.com\/us\/episode\/All_Creatures_Great_and_Small_S2_E2_23764\n+    # https:\/\/www.britbox.com\/us\/episode\/_23764\n+    showType = contentType\n+    sub (\"tv_\",\"\",showType)\n+    URL = \"https:\/\/www.britbox.com\/us\/\" showType EntityId\n+    fullTitle = \"=HYPERLINK(\\\"\" URL \"\\\";\\\"\" title \"\\\")\"\n+\n     # Copied from above to make it easier to coordinate printing fields\n     # printf (\"Sortkey\\tTitle\\tSeasons\\tEpisodes\\tDuration\\tYear\\tRating\\tDescription\\t\")\n     # printf (\"Content_Type\\tContent_ID\\tEntity_ID\\tGenre\\tShow_Type\\tDate_Type\\tOriginal_Date\\t\")\n     # printf (\"Show_ID\\tSeason_ID\\tSn_#\\tEp_#\\t1st_#\\tLast_#\\n\")\n \n     printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%06d\\t%06d\\n\",\n-            sortkey, title, numSeasons, numEpisodes, duration, year, rating, description,\n+            sortkey, fullTitle, numSeasons, numEpisodes, duration, year, rating, description,\n             contentType, contentId, EntityId, genre, showType, dateType, originalDate,\n             showContentId, seasonContentId, seasonNumber, episodeNumber, firstLineNum, lastLineNum)\n }\n"}
{"commit":"78d4d03eccd32cd27faa301cd26510e5cb2920a4","subject":"add option -dictionary","message":"add option -dictionary\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -179,6 +179,13 @@\n         match(ARGV[pos], \/^--?verbose$\/)\n         if (RSTART) {\n             Option[\"verbose\"] = 1 # default value\n+            continue\n+        }\n+\n+        # -d, -dictionary\n+        match(ARGV[pos], \/^--?d(i(c(t(i(o(n(a(ry?)?)?)?)?)?)?)?)?$\/)\n+        if (RSTART) {\n+            Option[\"show-original-dictionary\"] = 1\n             continue\n         }\n \n"}
{"commit":"5c4055f05d6c7f2f76799e03a78cc00046fb4716","subject":"Added -f option to awk so that script can be invoked manually","message":"Added -f option to awk so that script can be invoked manually\n\n\ngit-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@2537 8cc4aa7f-3514-0410-904f-f2cc9021211c\n","repos":"crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- bin\/memdbg.awk\n+++ bin\/memdbg.awk\n@@ -1,4 +1,4 @@\n-#!\/bin\/awk\n+#!\/bin\/awk -f\n #\n # This script is intended to extract all useful information from output of\n #\n"}
{"commit":"e2838c4da160434d02bb256e4a6fc2f1baa60bed","subject":"MONDRIAN: Ordering rules for olap4j imports.","message":"MONDRIAN: Ordering rules for olap4j imports.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian\/\": change = 14728]\n","repos":"cesarmarinhorj\/mondrian,nextelBIS\/mondrian,stiberger\/mondrian,Seiferxx\/mondrian,cocosli\/mondrian,ivanpogodin\/mondrian,syncron\/mondrian,pentaho\/mondrian,pentaho\/mondrian,bmorrise\/mondrian,AvinashPD\/mondrian,rfellows\/mondrian,pedrofvteixeira\/mondrian,syncron\/mondrian,mdamour1976\/mondrian,lgrill-pentaho\/mondrian,cesarmarinhorj\/mondrian,cocosli\/mondrian,cesarmarinhorj\/mondrian,bmorrise\/mondrian,citycloud-bigdata\/mondrian,wetet2\/mondrian,syncron\/mondrian,citycloud-bigdata\/mondrian,mdamour1976\/mondrian,stiberger\/mondrian,OSBI\/mondrian,rfellows\/mondrian,lgrill-pentaho\/mondrian,lgrill-pentaho\/mondrian,Seiferxx\/mondrian,sayanh\/mondrian,pedrofvteixeira\/mondrian,OSBI\/mondrian,preisanalytics\/mondrian,preisanalytics\/mondrian,AvinashPD\/mondrian,pedrofvteixeira\/mondrian,ivanpogodin\/mondrian,wetet2\/mondrian,openedbox\/mondrian,julianhyde\/mondrian,bmorrise\/mondrian,truvenganong\/mondrian,julianhyde\/mondrian,cocosli\/mondrian,dkincade\/mondrian,dkincade\/mondrian,dkincade\/mondrian,nextelBIS\/mondrian,wetet2\/mondrian,nextelBIS\/mondrian,mdamour1976\/mondrian,mustangore\/mondrian,OSBI\/mondrian,openedbox\/mondrian,preisanalytics\/mondrian,sayanh\/mondrian,Seiferxx\/mondrian,AvinashPD\/mondrian,citycloud-bigdata\/mondrian,pentaho\/mondrian,sayanh\/mondrian,truvenganong\/mondrian,ivanpogodin\/mondrian,mustangore\/mondrian,openedbox\/mondrian,stiberger\/mondrian,mustangore\/mondrian,truvenganong\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -193,6 +193,9 @@\n     }\n }\n \n+\/^package \/ {\n+    thisPackage = $2;\n+}\n \/^package \/ && previousLineWasEmpty {\n     error(fname, FNR, \"'package' declaration must not occur after empty line\");\n }\n@@ -207,19 +210,23 @@\n     thisImport = $2;\n     gsub(\/;\/, \"\", thisImport);\n     gsub(\/\\*\/, \"\", thisImport);\n-    if (thisImport ~ \/^mondrian\/) {\n-        importGroup = \"a\";\n+    if (thisPackage ~ \/^mondrian.*\/ && thisImport ~ \/^mondrian.*\/ \\\n+        || thisPackage ~ \/^org.olap4j.*\/ && thisImport ~ \/^org.olap4j.*\/)\n+    {\n+        importGroup = \"a\";       \n     } else if (thisImport ~ \/^static\/) {\n         importGroup = \"z\";\n-    } else if (thisImport ~ \/^java\/) {\n+    } else if (thisImport ~ \/^java.*\/) {\n         importGroup = \"y\";\n-    } else if (thisImport ~ \/^junit\/) {\n+    } else if (thisImport ~ \/^junit.*\/) {\n         importGroup = \"b\";\n-    } else if (thisImport ~ \/^org.apache\/) {\n+    } else if (thisImport ~ \/^mondrian.*\/) {\n+        importGroup = \"bb\";\n+    } else if (thisImport ~ \/^org.apache.*\/) {\n         importGroup = \"c\";\n-    } else if (thisImport ~ \/^org.eigenbase\/) {\n+    } else if (thisImport ~ \/^org.eigenbase.*\/) {\n         importGroup = \"d\";\n-    } else if (thisImport ~ \/^org.olap4j\/) {\n+    } else if (thisImport ~ \/^org.olap4j.*\/) {\n         importGroup = \"e\";\n     } else {\n         importGroup = \"f\";\n"}
{"commit":"266425fd2a79e364da8854efdbeae9a04d8a9c98","subject":"addr_utils.awk\t\t-- strip state [zip], country from reply addresses","message":"addr_utils.awk\t\t-- strip state [zip], country from reply addresses\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -1,4 +1,4 @@\n-function AU_parse(rply, addr, result, towns, st_types, st_quals, dirs,   nf, ary, i, town, f_st, nf2, ary2, street, i1) {\n+function AU_parse(rply, addr, result, towns, st_types, st_quals, dirs,   nf, ary, i, f_st, nf2, ary2, i1, name, street, town) {\n \n \tresult[\"status\"] = \"B\"\n \tresult[\"emsg\"  ] = \"\"\n@@ -7,17 +7,34 @@\n \tresult[\"town\"  ] = \"\"\n \tresult[\"state\" ] = \"\"\n \n-\t# TODO: rply addresses have 2 extra fields: ST[ DDDDD], United States\n \tnf = split(addr, ary, \",\")\n+\tfor(i = 1; i <= nf; i++){\n+\t\tsub(\/^ *\/, \"\", ary[i])\n+\t\tsub(\/ *$\/, \"\", ary[i])\n+\t}\n+\n+\tif(rply){\n+\t\tif(ary[nf] != \"United States of America\"){\n+\t\t\tresult[\"emsg\"] = \"not.usa\"\n+\t\t\treturn 1\n+\t\t}else\n+\t\t\tnf--\n+\t\tif(ary[nf] == \"CA\")\n+\t\t\tnf--\n+\t\telse if(ary[nf] ~ \/CA [0-9]{5}$\/)\n+\t\t\tnf--\n+\t\telse if(ary[nf] ~ \/CA [0-9]{5}-[0-9]{4}$\/)\n+\t\t\tnf--\n+\t\telse{\n+\t\t\tresult[\"emsg\"] = \"not.CA\"\n+\t\t\treturn 1\n+\t\t}\n+\t}\n \n \t# minimal address has 2 fields: street, town\n \tif(nf < 2){\n \t\tresult[\"emsg\"] = \"short.addr\"\n \t\treturn 1\n-\t}\n-\tfor(i = 1; i <= nf; i++){\n-\t\tsub(\/^ *\/, \"\", ary[i])\n-\t\tsub(\/ *$\/, \"\", ary[i])\n \t}\n \n \t# check that we have a known town\n@@ -44,8 +61,17 @@\n \t\tresult[\"emsg\"] = \"no.street\"\n \t\treturn 1\n \t}\n+\t\n+\t# The name is what precedes f_st.  if f_st == 1, set name to \"Residence\"\n+\tif(f_st == 1)\n+\t\tname = \"Residence\"\n+\telse{\n+\t\tname = ary[1]\n+\t\tfor(i = 2; i < f_st; i++)\n+\t\t\tname = name \", \" ary[i]\n+\t}\n \n-\t# TODO: reply addresses need extra though here\n+\t# TODO: reply addresses need extra thought here\n \t# clean up street\n \tnf2 = split(ary[f_st], ary2, \/  *\/)\n \tif(nf2 < 2){\n@@ -66,6 +92,7 @@\n \tstreet = street ((ary2[nf2] in st_types) ? (\" \" st_types[ary2[nf2]]) : (\" \" ary2[nf2]))\n \n \tresult[\"status\"] = \"G\"\n+\tresult[\"name\"] = name\n \tresult[\"street\"] = street\n \tresult[\"town\"] = town\n \tresult[\"state\"] = \"CA\"\n"}
{"commit":"882f10b336366491f3e6ae09a4974f07c253f48f","subject":"- syntax error","message":"- syntax error\n","repos":"kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -2018,7 +2018,7 @@\n \t    command = cat_command(\"\/lib\/modules\/\" kversion \"\/build\/System.map\")\n \t    if (command) { read_systemmap(command, \"vmlinux\", \"kernel\", \"systemmap\") }\n \t    else {\n-\t    print_error(\"r: systemmap, file not found\") } } }\n+\t    print_error(\"r: systemmap, file not found\") } } } }\n \t}\n \tif ((\"infile\" in values) && values[\"infile\"]) {\n \t    command = cat_command(values[\"infile\"])\n"}
{"commit":"d282f6f937a100318c3959ec446eb97e8105f0ee","subject":"fix quoting a bit","message":"fix quoting a bit","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -51,7 +51,7 @@\n \n \n ## pragmas do not count\n-\/\\#labels\/ {\n+\/^\\#labels\/ {\n   next;\n }\n \n@@ -59,6 +59,11 @@\n ## make sure that control sequences are always at the front\n \/ *=\/ { sub(\/ *\/, \"\") }\n \n+quoting && \/^ \/ {\n+  sub(\/^ \/, \"\");\n+  print;\n+  next;\n+}\n \n \n itemizing && !\/^   *\\*\/ {\n@@ -66,16 +71,13 @@\n   itemizing = 0;\n }\n \n-quoting && \/^  \/ {\n-  sub(\/^  \/, \"\");\n-  print;\n-  next;\n-}\n \n \n-\n-quoting && !\/^  \/ {\n+## quoting stops when item appears\n+## or not indented any more\n+quoting && (\/^   *\\*\/ || !\/^ \/) {\n   print \"\\\\end{quotation}\";\n+  print \"\"\n   quoting = 0;\n }\n \n@@ -120,10 +122,11 @@\n }\n \n \n-\/^  \/ {\n+\/^ \/ {\n+  print \"\"\n   print \"\\\\begin{quotation}\";\n   quoting = 1;\n-  sub(\/^  \/, \"\");\n+  sub(\/^ \/, \"\");\n   print;\n   next;\n }\n"}
{"commit":"086b42a4be328f4ced1430422fc1c558e6e670e8","subject":"Script: do not upgrade myself","message":"Script: do not upgrade myself\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Script.awk\n+++ include\/Script.awk\n@@ -43,25 +43,12 @@\n }\n \n # Upgrade script.\n-function upgrade(    gitHead, i, newVersion, registry, tokens, trans) {\n-    if (!ENVIRON[\"TRANS_ABSPATH\"]) {\n-        w(\"[ERROR] Not running from a single executable.\")\n-        gitHead = getGitHead()\n-        if (gitHead)\n-            w(\"        Please try to upgrade via git commands.\")\n-        else\n-            w(\"        Please download the latest release from here:\" RS \\\n-              \"        https:\/\/github.com\/soimort\/translate-shell\/releases\")\n-        ExitCode = 1\n-        return\n-    }\n-\n+function upgrade(    i, newVersion, registry, tokens) {\n     RegistryIndex = \"https:\/\/raw.githubusercontent.com\/soimort\/translate-shell\/registry\/index.trans\"\n-    TransExecutable = \"http:\/\/www.soimort.org\/translate-shell\/trans\"\n \n     registry = curl(RegistryIndex)\n     if (!registry) {\n-        e(\"[ERROR] Upgrading failed.\")\n+        e(\"[ERROR] Failed to check for upgrade.\")\n         ExitCode = 1\n         return\n     }\n@@ -71,13 +58,11 @@\n         if (tokens[i] == \":translate-shell\")\n             newVersion = literal(tokens[i + 1])\n     if (newerVersion(newVersion, Version)) {\n-        trans = curl(TransExecutable)\n-        if (trans) {\n-            print \"Successfully upgraded to \" newVersion \".\" > STDERR\n-            print trans > ENVIRON[\"TRANS_ABSPATH\"]\n-            exit 0\n-        } else\n-            e(\"[ERROR] Upgrading failed due to network errors.\")\n-    } else\n-        e(\"[ERROR] Already up-to-date.\")\n+        w(\"Current version: \\t\" Version)\n+        w(\"New version available: \\t\" newVersion)\n+        w(\"Download from: \\t\" \"http:\/\/www.soimort.org\/translate-shell\/trans\")\n+    } else {\n+        w(\"Current version: \\t\" Version)\n+        w(\"Already up-to-date.\")\n+    }\n }\n"}
{"commit":"c55bfb0045094c38a158d22666bea78682df1716","subject":"tests\/uid.awk: rewrite in a more maintainable style","message":"tests\/uid.awk: rewrite in a more maintainable style\n\nSince the test is virtually a FSM, rewrite it as a FSM.\n","repos":"Infinitive-OS\/platform_external_strace,AOSP-YU\/platform_external_strace,YUPlayGodDev\/platform_external_strace,cuviper\/strace,geekboxzone\/mmallow_external_strace,kapdop\/android_external_strace,bigzz\/strace_android,bnoordhuis\/strace,vrastogi\/strace,geofft\/strace,Yu-AndroidM\/android_external_strace,TeamExodus\/external_strace,bigzz\/strace_android,Infinitive-OS\/platform_external_strace,YUPlayGodDev\/platform_external_strace,Infinitive-OS\/platform_external_strace,vrastogi\/strace,Infinitive-OS\/platform_external_strace,bigzz\/strace_android,cuviper\/strace,cuviper\/strace,geekboxzone\/mmallow_external_strace,vrastogi\/strace,geofft\/strace,bnoordhuis\/strace,Yu-AndroidM\/android_external_strace,bnoordhuis\/strace,geofft\/strace,Saruta\/strace,Yu-AndroidM\/android_external_strace,bigzz\/strace_android,kapdop\/android_external_strace,Saruta\/strace,Distrotech\/strace,bigzz\/strace_android,YUPlayGodDev\/platform_external_strace,geekboxzone\/mmallow_external_strace,MonkeyZZZZ\/platform_external_strace,Saruta\/strace,TeamExodus\/external_strace,YUPlayGodDev\/platform_external_strace,Distrotech\/strace,kapdop\/android_external_strace,Yu-AndroidM\/android_external_strace,MonkeyZZZZ\/platform_external_strace,AOSP-YU\/platform_external_strace,geekboxzone\/mmallow_external_strace,Infinitive-OS\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,geofft\/strace,cuviper\/strace,kapdop\/android_external_strace,Distrotech\/strace,geofft\/strace,Distrotech\/strace,MonkeyZZZZ\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,vrastogi\/strace,TeamExodus\/external_strace,AOSP-YU\/platform_external_strace,vrastogi\/strace,cuviper\/strace,Yu-AndroidM\/android_external_strace,AOSP-YU\/platform_external_strace,YUPlayGodDev\/platform_external_strace,Saruta\/strace,kapdop\/android_external_strace,bnoordhuis\/strace,TeamExodus\/external_strace,Saruta\/strace,AOSP-YU\/platform_external_strace,geekboxzone\/mmallow_external_strace,TeamExodus\/external_strace,Distrotech\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/uid.awk\n+++ tests\/uid.awk\n@@ -1,51 +1,48 @@\n BEGIN {\n-  ok = 0\n+  r_uint = \"(0|[1-9][0-9]*)\"\n+  regexp = \"^getuid\" suffix \"\\\\(\\\\)[[:space:]]+= \" r_uint \"$\"\n+  expected = \"getuid\"\n   fail = 0\n-  r_uid = \"(0|[1-9][0-9]*)\"\n-  r_getuid = \"^getuid\" suffix \"\\\\(\\\\)[[:space:]]+= \" r_uid \"$\"\n-  r_setuid = \"^\/$\"\n-  r_getresuid = \"^\/$\"\n-  r_setreuid = \"^\/$\"\n-  r_setresuid = \"^\/$\"\n-  r_chown = \"^\/$\"\n-  s_last = \"\/\"\n }\n \n-ok == 1 {\n+regexp == \"\" {\n   fail = 1\n   next\n }\n \n-$0 == s_last {\n-  ok = 1\n-  next\n-}\n-\n {\n-  if (match($0, r_getuid, a)) {\n-    r_uid = a[1]\n-    r_setuid = \"^setuid\" suffix \"\\\\(\" r_uid \"\\\\)[[:space:]]+= 0$\"\n-    next\n-  }\n-  if (match($0, r_setuid)) {\n-    r_getresuid = \"^getresuid\" suffix \"\\\\(\\\\[\" r_uid \"\\\\], \\\\[\" r_uid \"\\\\], \\\\[\" r_uid \"\\\\]\\\\)[[:space:]]+= 0$\"\n-    next\n-  }\n-  if (match($0, r_getresuid)) {\n-    r_setreuid = \"^setreuid\" suffix \"\\\\(-1, -1\\\\)[[:space:]]+= 0$\"\n-    next\n-  }\n-  if (match($0, r_setreuid)) {\n-    r_setresuid = \"^setresuid\" suffix \"\\\\(-1, \" r_uid \", -1\\\\)[[:space:]]+= 0$\"\n-    next\n-  }\n-  if (match($0, r_setresuid)) {\n-    r_chown = \"^chown\" suffix \"\\\\(\\\".\\\", -1, -1\\\\)[[:space:]]+= 0$\"\n-    next\n-  }\n-  if (match($0, r_chown)) {\n-    s_last = \"+++ exited with 0 +++\"\n-    next\n+  if (match($0, regexp, a)) {\n+    switch (expected) {\n+      case \"getuid\":\n+        uid = a[1]\n+        expected = \"setuid\"\n+        regexp = \"^setuid\" suffix \"\\\\(\" uid \"\\\\)[[:space:]]+= 0$\"\n+        next\n+      case \"setuid\":\n+        expected = \"getresuid\"\n+        regexp = \"^getresuid\" suffix \"\\\\(\\\\[\" uid \"\\\\], \\\\[\" uid \"\\\\], \\\\[\" uid \"\\\\]\\\\)[[:space:]]+= 0$\"\n+        next\n+      case \"getresuid\":\n+        expected = \"setreuid\"\n+        regexp = \"^setreuid\" suffix \"\\\\(-1, -1\\\\)[[:space:]]+= 0$\"\n+        next\n+      case \"setreuid\":\n+        expected = \"setresuid\"\n+        regexp = \"^setresuid\" suffix \"\\\\(-1, \" uid \", -1\\\\)[[:space:]]+= 0$\"\n+        next\n+      case \"setresuid\":\n+        expected = \"chown\"\n+        regexp = \"^chown\" suffix \"\\\\(\\\".\\\", -1, -1\\\\)[[:space:]]+= 0$\"\n+        next\n+      case \"chown\":\n+        expected = \"the last line\"\n+        regexp = \"^\\\\+\\\\+\\\\+ exited with 0 \\\\+\\\\+\\\\+$\"\n+        next\n+      case \"the last line\":\n+        expected = \"nothing\"\n+        regexp = \"\"\n+        next\n+    }\n   }\n   next\n }\n@@ -55,32 +52,8 @@\n     print \"Unexpected output after exit\"\n     exit 1\n   }\n-  if (ok)\n+  if (regexp == \"\")\n     exit 0\n-  if (r_setuid == \"^\/$\") {\n-    print \"getuid doesn't match\"\n-    exit 1\n-  }\n-  if (r_getresuid == \"^\/$\") {\n-    print \"setuid doesn't match\"\n-    exit 1\n-  }\n-  if (r_setreuid == \"^\/$\") {\n-    print \"getresuid doesn't match\"\n-    exit 1\n-  }\n-  if (r_setresuid == \"^\/$\") {\n-    print \"setreuid doesn't match\"\n-    exit 1\n-  }\n-  if (r_chown == \"^\/$\") {\n-    print \"setresuid doesn't match\"\n-    exit 1\n-  }\n-  if (s_last == \"\/\") {\n-    print \"chown doesn't match\"\n-    exit 1\n-  }\n-  print \"The last line doesn't match\"\n+  print \"error: \" expected \" doesn't match\"\n   exit 1\n }\n"}
{"commit":"823ffac3ef59b8368df2f164cc5a36a70738bcf6","subject":"Removing unneeded files in repo","message":"Removing unneeded files in repo\n","repos":"Bookworm-project\/BookwormDB,Bookworm-project\/BookwormDB","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parse_metadata.awk\n+++ parse_metadata.awk\n@@ -1,287 +0,0 @@\n-##  Script for parsing arxiv metadata.  Call with a catalog file\n-##  that lists the bookids and file location (with _ for \/) of the\n-##  abstracts:\n-##          awk -f parse_metadata.awk ..\/texts\/catalog.txt\n-##\n-##  The code in the BEGIN statement sets up hashes for convenience.  \"a\"\n-##  is used to make the date into proper datetime SQL format.  \"b\" is to\n-##  translate the raw categories into ones that we will use in our database\n-BEGIN{\n-  a[\"Jan\"] = \"01\"; \n-  a[\"Feb\"] = \"02\";\n-  a[\"Mar\"] = \"03\";\n-  a[\"Apr\"] = \"04\";\n-  a[\"May\"] = \"05\";\n-  a[\"Jun\"] = \"06\";\n-  a[\"Jul\"] = \"07\";\n-  a[\"Aug\"] = \"08\";\n-  a[\"Sep\"] = \"09\";\n-  a[\"Oct\"] = \"10\";\n-  a[\"Nov\"] = \"11\";\n-  a[\"Dec\"] = \"12\"; \n-  OFS = \"\\t\";\n-  where=0;  \n-\n-  b[\"acc-phys\"]=\"physics\"\n-  b[\"adap-org\"]=\"nlin\"\n-  b[\"alg-geom\"]=\"math\"\n-  b[\"ao-sci\"]=\"physics\"\n-  b[\"astro-ph\"]=\"physics.astro-ph\"\n-  b[\"astro-ph.CO\"]=\"physics.astro-ph\"\n-  b[\"astro-ph.EP\"]=\"physics.astro-ph\"\n-  b[\"astro-ph.GA\"]=\"physics.astro-ph\"\n-  b[\"astro-ph.HE\"]=\"physics.astro-ph\"\n-  b[\"astro-ph.IM\"]=\"physics.astro-ph\"\n-  b[\"astro-ph.SR\"]=\"physics.astro-ph\"\n-  b[\"atom-ph\"]=\"physics\"\n-  b[\"bayes-an\"]=\"physics\"\n-  b[\"chao-dyn\"]=\"nlin\"\n-  b[\"chem-ph\"]=\"physics\"\n-  b[\"cmp-lg\"]=\"cs\"\n-  b[\"comp-gas\"]=\"nlin\"\n-  b[\"cond-mat\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.dis-nn\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.mes-hall\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.mtrl-sci\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.other\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.quant-gas\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.soft\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.stat-mech\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.str-el\"]=\"physics.cond-mat\"\n-  b[\"cond-mat.supr-con\"]=\"physics.cond-mat\"\n-  b[\"cs.AI\"]=\"cs\"\n-  b[\"cs.AR\"]=\"cs\"\n-  b[\"cs.CC\"]=\"cs\"\n-  b[\"cs.CE\"]=\"cs\"\n-  b[\"cs.CG\"]=\"cs\"\n-  b[\"cs.CL\"]=\"cs\"\n-  b[\"cs.CR\"]=\"cs\"\n-  b[\"cs.CV\"]=\"cs\"\n-  b[\"cs.CY\"]=\"cs\"\n-  b[\"cs.DB\"]=\"cs\"\n-  b[\"cs.DC\"]=\"cs\"\n-  b[\"cs.DL\"]=\"cs\"\n-  b[\"cs.DM\"]=\"cs\"\n-  b[\"cs.DS\"]=\"cs\"\n-  b[\"cs.ET\"]=\"cs\"\n-  b[\"cs.FL\"]=\"cs\"\n-  b[\"cs.GL\"]=\"cs\"\n-  b[\"cs.GR\"]=\"cs\"\n-  b[\"cs.GT\"]=\"cs\"\n-  b[\"cs.HC\"]=\"cs\"\n-  b[\"cs.IR\"]=\"cs\"\n-  b[\"cs.IT\"]=\"cs\"\n-  b[\"cs.LG\"]=\"cs\"\n-  b[\"cs.LO\"]=\"cs\"\n-  b[\"cs.MA\"]=\"cs\"\n-  b[\"cs.MM\"]=\"cs\"\n-  b[\"cs.MS\"]=\"cs\"\n-  b[\"cs.NA\"]=\"cs\"\n-  b[\"cs.NE\"]=\"cs\"\n-  b[\"cs.NI\"]=\"cs\"\n-  b[\"cs.OH\"]=\"cs\"\n-  b[\"cs.OS\"]=\"cs\"\n-  b[\"cs.PF\"]=\"cs\"\n-  b[\"cs.PL\"]=\"cs\"\n-  b[\"cs.RO\"]=\"cs\"\n-  b[\"cs.SC\"]=\"cs\"\n-  b[\"cs.SD\"]=\"cs\"\n-  b[\"cs.SE\"]=\"cs\"\n-  b[\"cs.SI\"]=\"cs\"\n-  b[\"cs.SY\"]=\"cs\"\n-  b[\"dg-ga\"]=\"math\"\n-  b[\"funct-an\"]=\"math\"\n-  b[\"gr-qc\"]=\"physics.gr-qc\"\n-  b[\"hep-ex\"]=\"physics.hep-ex\"\n-  b[\"hep-lat\"]=\"physics.hep-lat\"\n-  b[\"hep-ph\"]=\"physics.hep-ph\"\n-  b[\"hep-th\"]=\"physics.hep-th\"\n-  b[\"math.AC\"]=\"math\"\n-  b[\"math.AG\"]=\"math\"\n-  b[\"math.AP\"]=\"math\"\n-  b[\"math.AT\"]=\"math\"\n-  b[\"math.CA\"]=\"math\"\n-  b[\"math.CO\"]=\"math\"\n-  b[\"math.CT\"]=\"math\"\n-  b[\"math.CV\"]=\"math\"\n-  b[\"math.DG\"]=\"math\"\n-  b[\"math.DS\"]=\"math\"\n-  b[\"math.FA\"]=\"math\"\n-  b[\"math.GM\"]=\"math\"\n-  b[\"math.GN\"]=\"math\"\n-  b[\"math.GR\"]=\"math\"\n-  b[\"math.GT\"]=\"math\"\n-  b[\"math.HO\"]=\"math\"\n-  b[\"math.IT\"]=\"math\"\n-  b[\"math.KT\"]=\"math\"\n-  b[\"math.LO\"]=\"math\"\n-  b[\"math.MG\"]=\"math\"\n-  b[\"math.MP\"]=\"math\"\n-  b[\"math.NA\"]=\"math\"\n-  b[\"math.NT\"]=\"math\"\n-  b[\"math.OA\"]=\"math\"\n-  b[\"math.OC\"]=\"math\"\n-  b[\"math-ph\"]=\"math.math-ph\"\n-  b[\"math.PR\"]=\"math\"\n-  b[\"math.QA\"]=\"math\"\n-  b[\"math.RA\"]=\"math\"\n-  b[\"math.RT\"]=\"math\"\n-  b[\"math.SG\"]=\"math\"\n-  b[\"math.SP\"]=\"math\"\n-  b[\"math.ST\"]=\"math\"\n-  b[\"mtrl-th\"]=\"physics.cond-mat\"\n-  b[\"nlin.AO\"]=\"nlin\"\n-  b[\"nlin.CD\"]=\"nlin\"\n-  b[\"nlin.CG\"]=\"nlin\"\n-  b[\"nlin.PS\"]=\"nlin\"\n-  b[\"nlin.SI\"]=\"nlin\"\n-  b[\"nucl-ex\"]=\"physics.nucl-ex\"\n-  b[\"nucl-th\"]=\"physics.nucl-th\"\n-  b[\"patt-sol\"]=\"nlin\"\n-  b[\"physics.acc-ph\"]=\"physics\"\n-  b[\"physics.ao-ph\"]=\"physics\"\n-  b[\"physics.atm-clus\"]=\"physics\"\n-  b[\"physics.atom-ph\"]=\"physics\"\n-  b[\"physics.bio-ph\"]=\"physics\"\n-  b[\"physics.chem-ph\"]=\"physics\"\n-  b[\"physics.class-ph\"]=\"physics\"\n-  b[\"physics.comp-ph\"]=\"physics\"\n-  b[\"physics.data-an\"]=\"physics\"\n-  b[\"physics.ed-ph\"]=\"physics\"\n-  b[\"physics.flu-dyn\"]=\"physics\"\n-  b[\"physics.gen-ph\"]=\"physics\"\n-  b[\"physics.geo-ph\"]=\"physics\"\n-  b[\"physics.hist-ph\"]=\"physics\"\n-  b[\"physics.ins-det\"]=\"physics\"\n-  b[\"physics.med-ph\"]=\"physics\"\n-  b[\"physics.optics\"]=\"physics\"\n-  b[\"physics.plasm-ph\"]=\"physics\"\n-  b[\"physics.pop-ph\"]=\"physics\"\n-  b[\"physics.soc-ph\"]=\"physics\"\n-  b[\"physics.space-ph\"]=\"physics\"\n-  b[\"plasm-ph\"]=\"physics\"\n-  b[\"q-alg\"]=\"math\"\n-  b[\"q-bio.BM\"]=\"q-bio\"\n-  b[\"q-bio.CB\"]=\"q-bio\"\n-  b[\"q-bio.GN\"]=\"q-bio\"\n-  b[\"q-bio.MN\"]=\"q-bio\"\n-  b[\"q-bio.NC\"]=\"q-bio\"\n-  b[\"q-bio.OT\"]=\"q-bio\"\n-  b[\"q-bio.PE\"]=\"q-bio\"\n-  b[\"q-bio.QM\"]=\"q-bio\"\n-  b[\"q-bio\"]=\"q-bio\"\n-  b[\"q-bio.SC\"]=\"q-bio\"\n-  b[\"q-bio.TO\"]=\"q-bio\"\n-  b[\"q-fin.CP\"]=\"q-fin\"\n-  b[\"q-fin.GN\"]=\"q-fin\"\n-  b[\"q-fin.PM\"]=\"q-fin\"\n-  b[\"q-fin.PR\"]=\"q-fin\"\n-  b[\"q-fin.RM\"]=\"q-fin\"\n-  b[\"q-fin.ST\"]=\"q-fin\"\n-  b[\"q-fin.TR\"]=\"q-fin\"\n-  b[\"quant-ph\"]=\"physics.quant-ph\"\n-  b[\"solv-int\"]=\"nlin\"\n-  b[\"stat.AP\"]=\"stat\"\n-  b[\"stat.CO\"]=\"stat\"\n-  b[\"stat.ME\"]=\"stat\"\n-  b[\"stat.ML\"]=\"stat\"\n-  b[\"stat.OT\"]=\"stat\"\n-  b[\"stat.TH\"]=\"stat\"\n-  b[\"supr-con\"]=\"physics.cond-mat\"\n-}\n-{\n-  # x is the book id\n-  x = $1;\n-\n-  # fn is the filename\n-  fn = $2;\n-  gsub(\/_\/,\"\/\", fn);\n-  fn = \"..\/abs\/\"fn\".abs\"\n-\n-  # where is used to deal with multiline author and title fields\n-  # t is title, au is author, c is the categories, fields is the line\n-  # we read in \n-  where = 0;\n-  t = \"\";\n-  au = \"\";\n-  delete c;\n-  delete fields;\n-  while ((getline line < fn) > 0) {\n-    len=split(line, fields);\n-    # arxiv id\n-    if (line ~ \/^arXiv:\/) {\n-      id=substr(line,7);\n-    }\n-    # email address\n-    if (line ~ \/^From:\/) {\n-      from=substr(line,7);\n-      # take only the email address, not user name\n-      st=index(from, \"<\");\n-      ed=index(from, \">\");\n-      from2=substr(from,st+1,ed-st-1);\n-      # take only the domain from the email address\n-      at=index(from2, \"@\");\n-      from=substr(from2, at+1);\n-      num=split(from, s, \"\\\\.\");\n-      final=s[num];\n-      # write out the domain levels separated by tabs.\n-      # the first level is \"edu\", then \"harvard.edu\", then \"seas.harvard.edu\"\n-      for (i=num-1; i>=1; i--) {\n-        dl=sprintf(\"%s\", s[i]);\n-        for (j=i+1; j<=num; j++) {\n-\t  dl=sprintf(\"%s.%s\", dl,s[j]); \n-        }\n-        final=sprintf(\"%s\\t%s\",final,dl);\n-      }\n-    }\n-    # date, convert to datetime format\n-    if (line ~ \/^Date:\/) {\n-      ds=sprintf(\"%s-%s-%02d %s\",fields[5],a[fields[4]],fields[3],fields[6])\n-    }\n-    # where is for dealing with multiline title\n-    if (line ~ \/^Title:\/) {\n-      t=substr(line, index(line,fields[2]));\n-      where=1;\n-    }\n-    # where is for dealing with multiline author\n-    if (line ~ \/^Authors:\/) {\n-      au=substr(line, index(line,fields[2]));\n-      where=2;\n-    }\n-    # if line starts with an indentation, choose appropriate field to add to\n-    if (line ~ \/^  \/) {\n-      if (where==1)\n-\tt=t\"\"line;\n-      else if (where==2) \n-\tau=au\"\"line;\n-    }\n-    # reset where if we get to end of metadata\n-    if (line ~ \/^\\\\\/) {\n-      where=0;\n-    }\n-    # reset where if we get to Categories, which is always after title\/author\n-    if (line ~ \/^Categories:\/) {\n-      where = 0;\n-      # loop over all categories\n-      for (i=2; i<=len; i++) {\n-\t# check if we already saw it; want to preserve original order\n-        if (!(fields[i] in c)) {\n-\t  # check if it's a funky one\n-\t  if (fields[i] in b) {\n-\t    # b-mapped category not seen yet, add\n-\t    if (!(b[fields[i]] in c)) {\n-\t      c[b[fields[i]]]=i;\n-\t      print x,id,ds,t,au,b[fields[i]], final;\n-\t    }\n-\t  }\n-\t  else {\n-\t    # regular category not seen yet, add\n-\t    c[fields[i]] = i;\n-\t    print x,id,ds,t,au,fields[i], final;\n-\t  }\n-\t}\n-      }\n-    } \n-  }\n-  close (fn);\n-}\n"}
{"commit":"4125f949928067767bf19ed1cca14357cec657fc","subject":"render code blocks at EOF - CTR","message":"render code blocks at EOF - CTR\n","repos":"apache\/tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,pluradj\/incubator-tinkerpop,pluradj\/incubator-tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,apache\/incubator-tinkerpop,krlohnes\/tinkerpop,pluradj\/incubator-tinkerpop,krlohnes\/tinkerpop,krlohnes\/tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/preprocessor\/awk\/tabify.awk\n+++ docs\/preprocessor\/awk\/tabify.awk\n@@ -126,3 +126,10 @@\n     else code = code \"\\n\" $0\n   }\n }\n+\n+END {\n+  # EOF\n+  if (status == 3) {\n+    print_tabs(next_id, tabs, blocks)\n+  }\n+}\n"}
{"commit":"bbbe922c16126b0baafdee5f04bd42044d1dd6a0","subject":"second","message":"second\n","repos":"greencardamom\/WaybackMedic,greencardamom\/WaybackMedic,greencardamom\/WaybackMedic","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- demon-lin-wm-auto.awk\n+++ demon-lin-wm-auto.awk\n@@ -39,24 +39,14 @@\n   while ((C = getopt(ARGC, ARGV, \"d:p:\")) != -1) {\n     if(C == \"p\")                                     # -p <project>      Project to run \n       pid = verifypid(Optarg)\n-    if(C == \"d\")                                     # -d <number>       Delay seconds to use (must be > 12). If set, no random delay.\n-      delay = Optarg                                 #                     If -d not set, a random delay period is used (15 + 1-50 seconds)         \n-                                                     #                     If -d0 (zero), no delay   \n+    if(C == \"d\")                                     # -d <number>       Delay seconds to use. \n+      delay = Optarg                                 #                     If -d0 (zero), no delay   \n   }\n   setProject(pid)     # library.awk .. load Project[] paths via project.cfg\n                       # if -p not given, use default noted in project.cfg\n \n-  if( delay == \"\" || (delay < 12 && delay > 0) || ! isanumber(delay) ) {\n-    delay = 15 \n-    delayrandom = 1\n-  }\n-  else if(delay == 0) {\n+  if(delay == \"\" || ! isanumber(delay) ) {\n     delay = 0\n-    delayrandom = 0\n-  }\n-  else {\n-    delay = 15\n-    delayrandom = 0\n   }\n \n   main()\n@@ -119,10 +109,7 @@\n                 if(checkexists(tempid \"article.waybackmedic.txt\") ) {\n                   command = Exe[\"cp\"] \" \" tempid \"article.waybackmedic.txt \" Ramdisk \"article.txt\"\n                   prnt(\"demon-lin.awk: Status successful. Copying article.waybackmedic.txt to shared directory. \" name)\n-                  if(delayrandom)\n-                    sleep( delay + randomnumber(40) ) # 180 will do ~300 in ~ 9 hours\n-                  else\n-                    sleep( delay )\n+                  sleep( delay )\n                   sys2var(command)\n                 }\n                 else {\n"}
{"commit":"41b6c4cdc7da95f371bcaf0656c949c434a09508","subject":"layerman: fix typo in text output","message":"layerman: fix typo in text output\n\nSigned-off-by: Koen Kooi <42e3d96910f922bdd7dd1805fe3f8aff634f391d@dominion.thruhere.net>\n","repos":"Ambertec\/setup-scripts,wwright2\/angstrom-setup.methode,Angstrom-distribution\/setup-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/layers.awk\n+++ scripts\/layers.awk\n@@ -4,6 +4,6 @@\n \tprint \"Configured layers:\\n\";\n  }\n \n-$1 != \"# Name\" { print \"layer repository nam\/e: \" $1 \"\\nlayer uri: \" $2 \"\\nlayer branch\/revision: \" $3 \"\/\" $4 ; system(\"${OE_BASE}\/scripts\/layerman \" $1 \" \"  $2 \" \" $3 \" \" $4 \" \" command \" \" commandarg);}\n+$1 != \"# Name\" { print \"layer repository name: \" $1 \"\\nlayer uri: \" $2 \"\\nlayer branch\/revision: \" $3 \"\/\" $4 ; system(\"${OE_BASE}\/scripts\/layerman \" $1 \" \"  $2 \" \" $3 \" \" $4 \" \" command \" \" commandarg);}\n \n \n"}
{"commit":"79e5ca6dc7d8b20df564a528053e8159fa3d1913","subject":"MONDRIAN: Integrate from latest util\/bin\/checkFile.awk.","message":"MONDRIAN: Integrate from latest util\/bin\/checkFile.awk.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian\/\": change = 14186]\n","repos":"citycloud-bigdata\/mondrian,mustangore\/mondrian,sayanh\/mondrian,cesarmarinhorj\/mondrian,syncron\/mondrian,preisanalytics\/mondrian,pedrofvteixeira\/mondrian,mdamour1976\/mondrian,nextelBIS\/mondrian,openedbox\/mondrian,dkincade\/mondrian,openedbox\/mondrian,Seiferxx\/mondrian,ivanpogodin\/mondrian,citycloud-bigdata\/mondrian,pedrofvteixeira\/mondrian,bmorrise\/mondrian,julianhyde\/mondrian,lgrill-pentaho\/mondrian,bmorrise\/mondrian,truvenganong\/mondrian,pedrofvteixeira\/mondrian,cesarmarinhorj\/mondrian,preisanalytics\/mondrian,pentaho\/mondrian,Seiferxx\/mondrian,wetet2\/mondrian,stiberger\/mondrian,stiberger\/mondrian,lgrill-pentaho\/mondrian,wetet2\/mondrian,mdamour1976\/mondrian,syncron\/mondrian,dkincade\/mondrian,openedbox\/mondrian,OSBI\/mondrian,nextelBIS\/mondrian,nextelBIS\/mondrian,citycloud-bigdata\/mondrian,sayanh\/mondrian,mdamour1976\/mondrian,mustangore\/mondrian,Seiferxx\/mondrian,preisanalytics\/mondrian,mustangore\/mondrian,ivanpogodin\/mondrian,lgrill-pentaho\/mondrian,ivanpogodin\/mondrian,rfellows\/mondrian,dkincade\/mondrian,stiberger\/mondrian,julianhyde\/mondrian,pentaho\/mondrian,cocosli\/mondrian,AvinashPD\/mondrian,pentaho\/mondrian,rfellows\/mondrian,truvenganong\/mondrian,bmorrise\/mondrian,cocosli\/mondrian,sayanh\/mondrian,syncron\/mondrian,cesarmarinhorj\/mondrian,AvinashPD\/mondrian,wetet2\/mondrian,cocosli\/mondrian,OSBI\/mondrian,OSBI\/mondrian,AvinashPD\/mondrian,truvenganong\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -12,6 +12,7 @@\n        || fname ~ \"\/aspen\/\" \\\n        || fname ~ \"\/farrago\/\" \\\n        || fname ~ \"\/fennel\/\" \\\n+       || fname ~ \"\/extensions\/\" \\\n        || fname ~ \"\/com\/sqlstream\/\" \\\n        || !lenient;\n }\n@@ -30,6 +31,43 @@\n     delete switchStack[switchStackLen];\n     return val;\n }\n+function afterFile() {\n+    # Compute basename. If fname=\"\/foo\/bar\/baz.txt\" then basename=\"baz.txt\".\n+    basename = fname;\n+    gsub(\".*\/\", \"\", basename);\n+    gsub(lf, \"\", lastNonEmptyLine);\n+    terminator = \"\/\/ End \" basename;\n+    if (matchFile && (lastNonEmptyLine != terminator)) {\n+        error(fname, FNR, sprintf(\"Last line should be %c%s%c\", 39, terminator, 39));\n+    }\n+}\n+# Returns whether there are unmatched open parentheses.\n+# unmatchedOpenParens(\"if ()\") returns false.\n+# unmatchedOpenParens(\"if (\") returns true.\n+# unmatchedOpenParens(\"if (foo) bar(\") returns false\n+function unmatchedOpenParens(s) {\n+    i = index(s, \"(\");\n+    if (i == 0) {\n+    if (0)         print FNR, \"unmatchedOpenParens=0\";\n+        return 0;\n+    }\n+    openCount = 1;\n+    while (++i <= length(s)) {\n+        c = substr(s, i, 1);\n+        if (c == \"(\") {\n+            ++openCount;\n+        }\n+        if (c == \")\") {\n+            if (--openCount == 0) {\n+    if (0)         print FNR, \"unmatchedOpenParens=0 (b)\";\n+                return 0;\n+            }\n+        }\n+    }\n+    if (0) print FNR, \"unmatchedOpenParens=1\";\n+    return 1;\n+}\n+\n BEGIN {\n     # pre-compute regexp for quotes, linefeed\n     apos = sprintf(\"%c\", 39);\n@@ -39,6 +77,9 @@\n     if (0) printf \"maxLineLength=%s lenient=%s\\n\", maxLineLength, lenient;\n }\n FNR == 1 {\n+    if (fname) {\n+        afterFile();\n+    }\n     fname = FILENAME;\n     matchFile = _matchFile(fname);\n     isCpp = _isCpp(fname);\n@@ -114,6 +155,9 @@\n         error(fname, FNR, \"Carriage return character (file is in DOS format?)\");\n     }\n }\n+\/.\/ {\n+    lastNonEmptyLine = $0;\n+}\n {\n     # Rules beyond this point only apply to Java and C++.\n     if (!isCpp && !isJava) {\n@@ -165,7 +209,7 @@\n         error(fname, FNR, \"for\/switch\/synchronized\/catch must be followed by space\");\n     }\n }\n-s ~ \/\\<(if|while|for|switch)\\>\/ {\n+s ~ \/\\<(if|while|for|switch|catch)\\>\/ {\n     # Check single-line if statements, such as\n     #   if (condition) return;\n     # We recognize such statements because there are equal numbers of open and\n@@ -186,11 +230,11 @@\n     } else if (s ~ \/if \\(true|false\\)\/) {\n         # allow \"if (true)\" and \"if (false)\" because they are\n         # used for commenting\n-    } else if (length(opens) == length(closes)  \\\n-               && length($0) != 79              \\\n+    } else if (!unmatchedOpenParens(s)  \\\n+               && length($0) != 79      \\\n                && length($0) != 80)\n     {\n-        error(fname, FNR, \"single-line if\/while\/for\/switch must end in {\");\n+        error(fname, FNR, \"single-line if\/while\/for\/switch\/catch must end in {\");\n     }\n }\n s ~ \/[[:alnum:]]\\(\/ &&\n@@ -518,9 +562,6 @@\n         FNR, \\\n         \"Line length (\" length($0) \") exceeds \" maxLineLength \" chars\");\n }\n-\/.\/ {\n-    lastNonEmptyLine = $0;\n-}\n \/}$\/ {\n     previousLineEndedInCloseBrace = 2;\n }\n@@ -556,14 +597,7 @@\n     next;\n }\n END {\n-    # Compute basename. If fname=\"\/foo\/bar\/baz.txt\" then basename=\"baz.txt\".\n-    basename = fname;\n-    gsub(\".*\/\", \"\", basename);\n-    gsub(lf, \"\", lastNonEmptyLine);\n-    terminator = \"\/\/ End \" basename;\n-    if (matchFile && (lastNonEmptyLine != terminator)) {\n-        error(fname, FNR, sprintf(\"Last line should be %c%s%c\", 39, terminator, 39));\n-    }\n+    afterFile();\n }\n \n # End checkFile.awk\n"}
{"commit":"d7d021422e13ffedf8f7c4c68c74c81e8485b294","subject":"First working version of parser","message":"First working version of parser\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getFullcastFrom-imdb.awk\n+++ getFullcastFrom-imdb.awk\n@@ -1,5 +1,6 @@\n BEGIN {\n     FS = \"\\t\"\n+    printf (\"Title\\tPerson\\tType\\tRole\\tEpisodes\\tYears\\n\")\n }\n \n {\n@@ -33,6 +34,8 @@\n         nflds1 = split (Cast,fld,\/[[:blank:]]{3,99}\/)\n         person = fld[1]\n         role = fld[3]\n+        if (role ~ \/^'\/)\n+            role = \"'\" role\n         sub (\/\\302\\240\/,\"\",role)\n         episodes = fld[4]\n         if (episodes !~ \/episodes?\/) {\n@@ -85,6 +88,7 @@\n         }\n     }\n \n-    printf (\"%s %s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",Title,Years,person,type,role,num_episodes,episode_years)\n+    printf (\"=HYPERLINK(\\\"%s\\\";\\\"%s %s\\\"\\)\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",web_scraper_start_url,Title,Years,person,type,role,\\\n+                num_episodes,episode_years)\n \n }\n"}
{"commit":"ee9bafa370e0e8d8e1d48ba412a12228a670d1a2","subject":"interp_utils.awk\t-- reordered to put visible funcs first; also added '_' pfx to funcs that are not to be used directly","message":"interp_utils.awk\t-- reordered to put visible funcs first; also added '_' pfx to funcs that are not to be used directly\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/interp_utils.awk\n+++ lib\/interp_utils.awk\n@@ -31,9 +31,9 @@\n \t\tif(index(ary[i], \":\") != 0){\n \t\t\tinterp[\"is_grad\"] = 1\n \t\t\tv_pat = v_pat \"g\"\n-\t\t\tv_len = IU_check_grad(ary[i])\n+\t\t\tv_len = _IU_check_grad(ary[i])\n \t\t\tif(v_len == 0){\n-\t\t\t\tprintf(\"ERROR: IU_init: IU_check_grad failed for value %d (%s)\\n\", i, ary[i]) > \"\/dev\/stderr\"\n+\t\t\t\tprintf(\"ERROR: IU_init: _IU_check_grad failed for value %d (%s)\\n\", i, ary[i]) > \"\/dev\/stderr\"\n \t\t\t\treturn 1\n \t\t\t}else if(interp[\"v_len\"] == 0){\n \t\t\t\tinterp[\"v_len\"] = v_len\n@@ -101,7 +101,7 @@\n \tkey = name \".exceptions\"\n \twork = config[\"_globals\", key]\n \tif(work != \"\"){\n-\t\tif(IU_parse_exceptions(interp, work))\n+\t\tif(_IU_parse_exceptions(interp, work))\n \t\t\treturn 1\n \t}\n \n@@ -113,81 +113,60 @@\n \treturn 0\n }\n \n-function IU_check_grad(grad,   v_len, n_ary, ary, i, n_ary2, ary2, j) {\n-\n-\tv_len = 0\n-\tn_ary = split(grad, ary, \":\")\n-\tif(n_ary != 2){\n-\t\tprintf(\"ERROR: IU_check_grad: grad %s has %d fields, must have %d\\n\", grad, n_ary, 2) > \"\/dev\/stderr\"\n-\t\treturn 0\n-\t}\n-\tfor(i = 1; i <= n_ary; i++){\n-\t\tn_ary2 = split(ary[i], ary2, \",\")\n-\t\tif(v_len == 0)\n-\t\t\tv_len = n_ary2\n-\t\telse if(n_ary2 != v_len){\n-\t\t\tprintf(\"ERROR: IU_check_grad: vector %s has %d elements, must have %d\\n\", ary[i], n_ary2, v_len) > \"\/dev\/stderr\"\n-\t\t\treturn 0\n-\t\t}\n-\t}\n-\n-\treturn v_len\n-}\n-\n-function IU_parse_exceptions(interp, str,   err, n_ary, ary, i, colon, cond, op, opnd, value) {\n-\n-\terr = 0\n-\tinterp[\"exceptions\"] = str\n-\tn_ary = split(str, ary, \"|\")\n-\tfor(i = 1; i <= n_ary; i++){\n-\t\tsub(\/^  *\/, \"\", ary[i])\n-\t\tsub(\/  *$\/, \"\", ary[i])\n-\t}\n-\tinterp[\"nexceptions\"] = n_ary\n-\tfor(i = 1; i <= n_ary; i++){\n-\t\tcolon = index(ary[i], \":\")\n-\t\tif(colon == 0){\n-\t\t\tprintf(\"ERROR: IU_parse_exception: no colon: %s\\n\", ary[i]) > \"\/dev\/stderr\"\n-\t\t\treturn 1\n-\t\t}\n-\t\tcond = substr(ary[i], 1, colon - 1)\n-\t\tsub(\/^  *\/, \"\", cond)\n-\t\tsub(\/  *$\/, \"\", cond)\n-\t\tif(cond == \"\"){\n-\t\t\tprintf(\"ERROR: IU_parse_exception: empty condition: %s\\n\", ary[i]) > \"\/dev\/stderr\"\n-\t\t\treturn 1\n-\t\t}\n-\t\t# op can be <=, <, ==, !=, >=, >\n-\t\top = substr(cond, 1, 2)\n-\t\tif(op == \"<=\" || op == \"==\" || op == \"!=\" || op == \">=\"){\n-\t\t\topnd = substr(cond, 3)\n-\t\t}else{\n-\t\t\top = substr(op, 1, 1)\n-\t\t\tif(op == \"<\" || op == \">\")\n-\t\t\t\topnd = substr(cond, 2)\n-\t\t\telse{\n-\t\t\t\tprintf(\"ERROR: IU_parse_exception: unknown operator \\\"%s\\\"\\n\", cond) > \"\/dev\/stderr\"\n-\t\t\t\treturn 1\n-\t\t\t}\n-\t\t}\n-\t\tsub(\/^  *\/, \"\", opnd)\n-\t\tsub(\/  *$\/, \"\", opnd)\n-\t\tif(cond == \"\"){\n-\t\t\tprint(\"ERROR: IU_parse_exception: exception %d: %s: empty operand %s\\n\", i, ary[i]) > \"\/dev\/stderr\"\n-\t\t\treturn 1\n-\t\t}\n-\n-\t\tvalue = substr(ary[i], colon + 1)\n-\t\tsub(\/^  *\/, \"\", value)\n-\t\tsub(\/  *$\/, \"\", value)\n-\t\t# TODO? value can be empty, is this OK?\n-\n-\t\tinterp[\"exceptions\", i, \"op\"] = op \n-\t\tinterp[\"exceptions\", i, \"opnd\"] = opnd + 0 # force numeric\n-\t\tinterp[\"exceptions\", i, \"value\"] = value\n-\t\tinterp[\"ecounts\", i] = 0\n-\t}\n-\treturn err\n+function IU_interpolate(interp, v,   ev, idx, work, n_ary, ary, i) {\n+\n+\tif(\"exceptions\" in interp){\n+\t\tev = _IU_handle_exceptions(interp, v)\n+\t\tif(ev != \"\")\n+\t\t\treturn ev\n+\t}else if(interp[\"scale_type\"] == \"log\"){\n+\t\tif(v <= 0)\n+\t\t\treturn \"\"\n+\t}\n+\n+\tidx = _IU_search(interp, v)\n+\tinterp[\"tcounts\"]++\n+\tinterp[\"counts\", idx]++\n+\tif(!interp[\"is_grad\"]){\n+\t\treturn interp[\"values\", idx]\n+\t}else{\n+\t\t# nbreaks = nvalues - 1\n+\t\tif(interp[\"v_ob_info\"]  == \"\"){\t# ^gg*$, take out of bounds values from first and last grad elemnt\n+\t\t\tif(idx == 1){\n+\t\t\t\twork = interp[\"values\", 1]\n+\t\t\t\tn_ary = split(work, ary, \":\")\n+\t\t\t\treturn ary[1]\n+\t\t\t}else if(idx == interp[\"nbreaks\"] + 1){\n+\t\t\t\twork = interp[\"values\", interp[\"nvalues\"]]\n+\t\t\t\tn_ary = split(work, ary, \":\")\n+\t\t\t\treturn ary[2]\n+\t\t\t}else\t\n+\t\t\t\treturn _IU_interpolate_grad(interp, interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n+\t\t}else if(interp[\"v_ob_info\"] == \"^\"){\t# ^bgg*$, lower out of bounds specified, take higher ob from last grad element\n+\t\t\tif(idx == 1)\n+\t\t\t\treturn interp[\"values\", 1]\n+\t\t\telse if(idx == interp[\"nbreaks\"] + 1){\n+\t\t\t\twork = interp[\"values\", interp[\"nvalues\"]]\n+\t\t\t\tn_ary = split(work, ary, \":\")\n+\t\t\t\treturn ary[2]\n+\t\t\t}else\n+\t\t\t\treturn _IU_interpolate_grad(interp, interp[\"values\", idx], v, interp[\"breaks\", idx], interp[\"breaks\", idx + 1])\n+\t\t}else if(interp[\"v_ob_info\"] == \"$\"){\t# ^gg*b$, upper out of bounds specified, take lower ob from first grad element\n+\t\t\tif(idx == 1){\n+\t\t\t\twork = interp[\"values\", 1]\n+\t\t\t\tn_ary = split(work, ary, \":\")\n+\t\t\t\treturn ary[1]\n+\t\t\t}else if(idx == interp[\"nbreaks\"] + 1)\n+\t\t\t\treturn interp[\"values\", idx - 1]\n+\t\t\telse\n+\t\t\t\treturn _IU_interpolate_grad(interp, interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n+\t\t}else{\t# ^bgg*b$, lower & upper ob info specified\n+\t\t\tif(idx == 1 || idx == interp[\"nbreaks\"] + 1)\n+\t\t\t\treturn interp[\"values\", idx]\n+\t\t\telse\n+\t\t\t\treturn _IU_interpolate_grad(interp, interp[\"values\", idx], v, interp[\"breaks\", idx], interp[\"breaks\", idx + 1])\n+\t\t}\n+\t}\n }\n \n function IU_dump(file, interp,   i, keys, nk) {\n@@ -229,63 +208,84 @@\n \tprintf(\"}\\n\") > file\n }\n \n-function IU_interpolate(interp, v,   ev, idx, work, n_ary, ary, i) {\n-\n-\tif(\"exceptions\" in interp){\n-\t\tev = IU_handle_exceptions(interp, v)\n-\t\tif(ev != \"\")\n-\t\t\treturn ev\n-\t}else if(interp[\"scale_type\"] == \"log\"){\n-\t\tif(v <= 0)\n-\t\t\treturn \"\"\n-\t}\n-\n-\tidx = IU_search(interp, v)\n-\tinterp[\"tcounts\"]++\n-\tinterp[\"counts\", idx]++\n-\tif(!interp[\"is_grad\"]){\n-\t\treturn interp[\"values\", idx]\n-\t}else{\n-\t\t# nbreaks = nvalues - 1\n-\t\tif(interp[\"v_ob_info\"]  == \"\"){\t# ^gg*$, take out of bounds values from first and last grad elemnt\n-\t\t\tif(idx == 1){\n-\t\t\t\twork = interp[\"values\", 1]\n-\t\t\t\tn_ary = split(work, ary, \":\")\n-\t\t\t\treturn ary[1]\n-\t\t\t}else if(idx == interp[\"nbreaks\"] + 1){\n-\t\t\t\twork = interp[\"values\", interp[\"nvalues\"]]\n-\t\t\t\tn_ary = split(work, ary, \":\")\n-\t\t\t\treturn ary[2]\n-\t\t\t}else\t\n-\t\t\t\treturn IU_interpolate_grad(interp, interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n-\t\t}else if(interp[\"v_ob_info\"] == \"^\"){\t# ^bgg*$, lower out of bounds specified, take higher ob from last grad element\n-\t\t\tif(idx == 1)\n-\t\t\t\treturn interp[\"values\", 1]\n-\t\t\telse if(idx == interp[\"nbreaks\"] + 1){\n-\t\t\t\twork = interp[\"values\", interp[\"nvalues\"]]\n-\t\t\t\tn_ary = split(work, ary, \":\")\n-\t\t\t\treturn ary[2]\n-\t\t\t}else\n-\t\t\t\treturn IU_interpolate_grad(interp, interp[\"values\", idx], v, interp[\"breaks\", idx], interp[\"breaks\", idx + 1])\n-\t\t}else if(interp[\"v_ob_info\"] == \"$\"){\t# ^gg*b$, upper out of bounds specified, take lower ob from first grad element\n-\t\t\tif(idx == 1){\n-\t\t\t\twork = interp[\"values\", 1]\n-\t\t\t\tn_ary = split(work, ary, \":\")\n-\t\t\t\treturn ary[1]\n-\t\t\t}else if(idx == interp[\"nbreaks\"] + 1)\n-\t\t\t\treturn interp[\"values\", idx - 1]\n-\t\t\telse\n-\t\t\t\treturn IU_interpolate_grad(interp, interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n-\t\t}else{\t# ^bgg*b$, lower & upper ob info specified\n-\t\t\tif(idx == 1 || idx == interp[\"nbreaks\"] + 1)\n-\t\t\t\treturn interp[\"values\", idx]\n-\t\t\telse\n-\t\t\t\treturn IU_interpolate_grad(interp, interp[\"values\", idx], v, interp[\"breaks\", idx], interp[\"breaks\", idx + 1])\n-\t\t}\n-\t}\n-}\n-\n-function IU_handle_exceptions(interp, v,   i, hit) {\n+function _IU_check_grad(grad,   v_len, n_ary, ary, i, n_ary2, ary2, j) {\n+\n+\tv_len = 0\n+\tn_ary = split(grad, ary, \":\")\n+\tif(n_ary != 2){\n+\t\tprintf(\"ERROR: _IU_check_grad: grad %s has %d fields, must have %d\\n\", grad, n_ary, 2) > \"\/dev\/stderr\"\n+\t\treturn 0\n+\t}\n+\tfor(i = 1; i <= n_ary; i++){\n+\t\tn_ary2 = split(ary[i], ary2, \",\")\n+\t\tif(v_len == 0)\n+\t\t\tv_len = n_ary2\n+\t\telse if(n_ary2 != v_len){\n+\t\t\tprintf(\"ERROR: _IU_check_grad: vector %s has %d elements, must have %d\\n\", ary[i], n_ary2, v_len) > \"\/dev\/stderr\"\n+\t\t\treturn 0\n+\t\t}\n+\t}\n+\n+\treturn v_len\n+}\n+\n+function _IU_parse_exceptions(interp, str,   err, n_ary, ary, i, colon, cond, op, opnd, value) {\n+\n+\terr = 0\n+\tinterp[\"exceptions\"] = str\n+\tn_ary = split(str, ary, \"|\")\n+\tfor(i = 1; i <= n_ary; i++){\n+\t\tsub(\/^  *\/, \"\", ary[i])\n+\t\tsub(\/  *$\/, \"\", ary[i])\n+\t}\n+\tinterp[\"nexceptions\"] = n_ary\n+\tfor(i = 1; i <= n_ary; i++){\n+\t\tcolon = index(ary[i], \":\")\n+\t\tif(colon == 0){\n+\t\t\tprintf(\"ERROR: _IU_parse_exception: no colon: %s\\n\", ary[i]) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}\n+\t\tcond = substr(ary[i], 1, colon - 1)\n+\t\tsub(\/^  *\/, \"\", cond)\n+\t\tsub(\/  *$\/, \"\", cond)\n+\t\tif(cond == \"\"){\n+\t\t\tprintf(\"ERROR: _IU_parse_exception: empty condition: %s\\n\", ary[i]) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}\n+\t\t# op can be <=, <, ==, !=, >=, >\n+\t\top = substr(cond, 1, 2)\n+\t\tif(op == \"<=\" || op == \"==\" || op == \"!=\" || op == \">=\"){\n+\t\t\topnd = substr(cond, 3)\n+\t\t}else{\n+\t\t\top = substr(op, 1, 1)\n+\t\t\tif(op == \"<\" || op == \">\")\n+\t\t\t\topnd = substr(cond, 2)\n+\t\t\telse{\n+\t\t\t\tprintf(\"ERROR: _IU_parse_exception: unknown operator \\\"%s\\\"\\n\", cond) > \"\/dev\/stderr\"\n+\t\t\t\treturn 1\n+\t\t\t}\n+\t\t}\n+\t\tsub(\/^  *\/, \"\", opnd)\n+\t\tsub(\/  *$\/, \"\", opnd)\n+\t\tif(cond == \"\"){\n+\t\t\tprint(\"ERROR: _IU_parse_exception: exception %d: %s: empty operand %s\\n\", i, ary[i]) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}\n+\n+\t\tvalue = substr(ary[i], colon + 1)\n+\t\tsub(\/^  *\/, \"\", value)\n+\t\tsub(\/  *$\/, \"\", value)\n+\t\t# TODO? value can be empty, is this OK?\n+\n+\t\tinterp[\"exceptions\", i, \"op\"] = op \n+\t\tinterp[\"exceptions\", i, \"opnd\"] = opnd + 0 # force numeric\n+\t\tinterp[\"exceptions\", i, \"value\"] = value\n+\t\tinterp[\"ecounts\", i] = 0\n+\t}\n+\treturn err\n+}\n+\n+function _IU_handle_exceptions(interp, v,   i, hit) {\n \n \tfor(i = 1; i <= interp[\"nexceptions\"]; i++){\n \t\thit = \"\"\n@@ -316,34 +316,7 @@\n \treturn \"\"\n }\n \n-function IU_interpolate_grad(interp, grad, v, v_min, v_max,   n_ary, ary, n_ary2, ary2, i, g_min, g_max, f, rstr) {\n-\n-\t# grad is well formed or IU_init() would have failed\n-\tn_ary = split(grad, ary, \":\")\n-\tn_ary2 = split(ary[1], ary2, \",\")\n-\tfor(i = 1; i <= n_ary2; i++)\n-\t\tg_min[i] = ary2[i] + 0\t# force numeric\n-\tn_ary2 = split(ary[2], ary2, \",\")\n-\tfor(i = 1; i <= n_ary2; i++)\n-\t\tg_max[i] = ary2[i] + 0\t# force numeric\n-\n-\t# other scales may be possible but for now\n-\tif(interp[\"scale_type\"] == \"log\"){\n-\t\tlog10 = log(10)\n-\t\tv = log(v)\/log10\n-\t\tv_min = log(v_min)\/log10\n-\t\tv_max = log(v_max)\/log10\n-\t}\n-\n-\tf = (v - v_min) \/ (v_max - v_min)\t# safe b\/c IU_init() checked that v_max > v_min\n-\trstr = \"\"\n-\tfor(i = 1; i <= n_ary2; i++){\n-\t\trstr = rstr ((i > 1) ? \",\" : \"\") sprintf(\"%g\", g_min[i] + f * (g_max[i] - g_min[i]))\n-\t}\n-\treturn rstr\n-}\n-\n-function IU_search(interp, v,   i, j, k, cv) {\n+function _IU_search(interp, v,   i, j, k, cv) {\n \n \t# deal with out of range values here to simplify the binary interval search\n \tif(v <= interp[\"breaks\", 1])\n@@ -370,3 +343,30 @@\n \t# should never get here!\n \treturn 0\n }\n+\n+function _IU_interpolate_grad(interp, grad, v, v_min, v_max,   n_ary, ary, n_ary2, ary2, i, g_min, g_max, f, rstr) {\n+\n+\t# grad is well formed or IU_init() would have failed\n+\tn_ary = split(grad, ary, \":\")\n+\tn_ary2 = split(ary[1], ary2, \",\")\n+\tfor(i = 1; i <= n_ary2; i++)\n+\t\tg_min[i] = ary2[i] + 0\t# force numeric\n+\tn_ary2 = split(ary[2], ary2, \",\")\n+\tfor(i = 1; i <= n_ary2; i++)\n+\t\tg_max[i] = ary2[i] + 0\t# force numeric\n+\n+\t# other scales may be possible but for now\n+\tif(interp[\"scale_type\"] == \"log\"){\n+\t\tlog10 = log(10)\n+\t\tv = log(v)\/log10\n+\t\tv_min = log(v_min)\/log10\n+\t\tv_max = log(v_max)\/log10\n+\t}\n+\n+\tf = (v - v_min) \/ (v_max - v_min)\t# safe b\/c IU_init() checked that v_max > v_min\n+\trstr = \"\"\n+\tfor(i = 1; i <= n_ary2; i++){\n+\t\trstr = rstr ((i > 1) ? \",\" : \"\") sprintf(\"%g\", g_min[i] + f * (g_max[i] - g_min[i]))\n+\t}\n+\treturn rstr\n+}\n"}
{"commit":"bd7f223149ef46f50efd887a1ce1edc40b9ed302","subject":"update ext\/mwg_pp.awk","message":"update ext\/mwg_pp.awk\n","repos":"akinomyoga\/ble.sh,akinomyoga\/ble.sh,akinomyoga\/ble.sh,akinomyoga\/ble.sh","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ext\/mwg_pp.awk\n+++ ext\/mwg_pp.awk\n@@ -95,781 +95,781 @@\n \n # -*- mode:awk -*-\n \n-function ev1scan_init_opregister(opname,optype,opprec){\n-  ev_db_operator[opname]=optype;\n-  ev_db_operator[opname,\"a\"]=opprec;\n-}\n-\n-function ev1scan_init(){\n-  OP_BIN=1;\n-  OP_UNA=2; # prefix\n-  OP_SGN=3; # prefix or binary\n-  OP_INC=4; # prefix or suffix\n-\n-  ev1scan_init_opregister(\".\" ,OP_BIN,12.0);\n-\n-  ev1scan_init_opregister(\"++\",OP_INC,11.0);\n-  ev1scan_init_opregister(\"--\",OP_INC,11.0);\n-  ev1scan_init_opregister(\"!\" ,OP_UNA,11.0);\n-\n-  ev1scan_init_opregister(\"*\" ,OP_BIN,10.0);\n-  ev1scan_init_opregister(\"\/\" ,OP_BIN,10.0);\n-  ev1scan_init_opregister(\"%\" ,OP_BIN,10.0);\n-\n-  ev1scan_init_opregister(\"+\" ,OP_SGN,9.0);\n-  ev1scan_init_opregister(\"-\" ,OP_SGN,9.0);\n-\n-  ev1scan_init_opregister(\"==\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\"!=\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\"<\" ,OP_BIN,8.0);\n-  ev1scan_init_opregister(\"<=\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\">\" ,OP_BIN,8.0);\n-  ev1scan_init_opregister(\">=\",OP_BIN,8.0);\n-\n-  ev1scan_init_opregister(\"&\" ,OP_BIN,7.4);\n-  ev1scan_init_opregister(\"^\" ,OP_BIN,7.2);\n-  ev1scan_init_opregister(\"|\" ,OP_BIN,7.0);\n-  ev1scan_init_opregister(\"&&\",OP_BIN,6.4);\n-  ev1scan_init_opregister(\"||\",OP_BIN,6.0);\n-\n-  ev1scan_init_opregister(\"=\" ,OP_BIN,2.0);\n-  ev1scan_init_opregister(\"+=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"-=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"*=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"\/=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"%=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"|=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"^=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"&=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\",\" ,OP_BIN,1.0);\n+function ev1scan_init_opregister(opname, optype, opprec) {\n+  ev_db_operator[opname] = optype;\n+  ev_db_operator[opname, \"a\"] = opprec;\n+}\n+\n+function ev1scan_init() {\n+  OP_BIN = 1;\n+  OP_UNA = 2; # prefix\n+  OP_SGN = 3; # prefix or binary\n+  OP_INC = 4; # prefix or suffix\n+\n+  ev1scan_init_opregister(\".\" , OP_BIN, 12.0);\n+\n+  ev1scan_init_opregister(\"++\", OP_INC, 11.0);\n+  ev1scan_init_opregister(\"--\", OP_INC, 11.0);\n+  ev1scan_init_opregister(\"!\" , OP_UNA, 11.0);\n+\n+  ev1scan_init_opregister(\"*\" , OP_BIN, 10.0);\n+  ev1scan_init_opregister(\"\/\" , OP_BIN, 10.0);\n+  ev1scan_init_opregister(\"%\" , OP_BIN, 10.0);\n+\n+  ev1scan_init_opregister(\"+\" , OP_SGN, 9.0);\n+  ev1scan_init_opregister(\"-\" , OP_SGN, 9.0);\n+\n+  ev1scan_init_opregister(\"==\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"!=\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"<\" , OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"<=\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\">\" , OP_BIN, 8.0);\n+  ev1scan_init_opregister(\">=\", OP_BIN, 8.0);\n+\n+  ev1scan_init_opregister(\"&\" , OP_BIN, 7.4);\n+  ev1scan_init_opregister(\"^\" , OP_BIN, 7.2);\n+  ev1scan_init_opregister(\"|\" , OP_BIN, 7.0);\n+  ev1scan_init_opregister(\"&&\", OP_BIN, 6.4);\n+  ev1scan_init_opregister(\"||\", OP_BIN, 6.0);\n+\n+  ev1scan_init_opregister(\"=\" , OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"+=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"-=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"*=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"\/=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"%=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"|=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"^=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"&=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\",\" , OP_BIN, 1.0);\n \n   # for ev2\n-  SE_VALU=1;\n-  SE_PREF=0;\n-  SE_MARK=-1;\n-\n-  ATTR_SET=\"t\";\n-  ATTR_TYP=\"T\";\n-  ATTR_MOD=\"M\";\n-\n-  MOD_NUL=0;\n-  MOD_REF=1;\n-  ATTR_REF=\"R\";\n-  MOD_ARG=2;\n-  MOD_ARR=4;\n-  MOD_MTH=8;\n-  ATTR_MTH_OBJ=\"Mo\";\n-  ATTR_MTH_MEM=\"Mf\";\n-\n-  TYPE_NUM=0;\n-  TYPE_STR=1;\n-}\n-\n-function ev1scan_scan(expression,words, _wlen,_i,_len,_c,_t,_w){\n-  _wlen=0;\n-  _len=length(expression);\n-  for(_i=0;_i<_len;_i++){\n-    _c=substr(expression,_i+1,1);\n-\n-    if(_c ~ \/[.0-9]\/){\n-      _t=\"n\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        if(_c !~ \/[.0-9]\/)break;\n-        _w=_w _c;\n+  SE_VALU = 1;\n+  SE_PREF = 0;\n+  SE_MARK = -1;\n+\n+  ATTR_SET = \"t\";\n+  ATTR_TYP = \"T\";\n+  ATTR_MOD = \"M\";\n+\n+  MOD_NUL = 0;\n+  MOD_REF = 1;\n+  ATTR_REF = \"R\";\n+  MOD_ARG = 2;\n+  MOD_ARR = 4;\n+  MOD_MTH = 8;\n+  ATTR_MTH_OBJ = \"Mo\";\n+  ATTR_MTH_MEM = \"Mf\";\n+\n+  TYPE_NUM = 0;\n+  TYPE_STR = 1;\n+}\n+\n+function ev1scan_scan(expression, words, _wlen, _i, _len, _c, _t, _w) {\n+  _wlen = 0;\n+  _len = length(expression);\n+  for (_i = 0; _i < _len; _i++) {\n+    _c = substr(expression, _i + 1, 1);\n+\n+    if (_c ~ \/[.0-9]\/) {\n+      _t = \"n\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        if (_c !~ \/[.0-9]\/) break;\n+        _w = _w _c;\n         _i++;\n       }\n-      #if(_w==\".\")_w=0;\n-      if(_w==\".\"){\n-        _t=\"o\";\n-      }\n-    }else if(ev_db_operator[_c]!=\"\"){\n-      _t=\"o\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        #print \"dbg: ev_db_op[\" _w _c \"]=\" ev_db_operator[_w _c] > \"\/dev\/stderr\"\n-        if(ev_db_operator[_w _c]!=\"\"){\n-          _w=_w _c;\n+      #if (_w == \".\")_w = 0;\n+      if (_w == \".\") {\n+        _t = \"o\";\n+      }\n+    } else if (ev_db_operator[_c] != \"\") {\n+      _t = \"o\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        #print \"dbg: ev_db_op[\" _w _c \"] = \" ev_db_operator[_w _c] > \"\/dev\/stderr\"\n+        if (ev_db_operator[_w _c] != \"\") {\n+          _w = _w _c;\n           _i++;\n-        }else break;\n-      }\n-    }else if(_c ~ \"[[({?]\"){\n-      _t=\"op\";\n-      _w=_c;\n-    }else if(_c ~ \"[])}:]\"){\n-      _t=\"cl\";\n-      _w=_c;\n-    }else if(_c ~ \/[_a-zA-Z]\/){\n-      _t=\"w\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        if(_c !~ \/[_a-zA-Z0-9]\/)break;\n-        _w=_w _c;\n+        } else break;\n+      }\n+    } else if (_c ~ \"[[({?]\") {\n+      _t = \"op\";\n+      _w = _c;\n+    } else if (_c ~ \"[])}:]\") {\n+      _t = \"cl\";\n+      _w = _c;\n+    } else if (_c ~ \/[_a-zA-Z]\/) {\n+      _t = \"w\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        if (_c !~ \/[_a-zA-Z0-9]\/) break;\n+        _w = _w _c;\n         _i++;\n       }\n-    }else if(_c==\"\\\"\"){\n+    } else if (_c == \"\\\"\") {\n       # string literal\n-      _t=\"S\";\n-      _w=\"\";\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n+      _t = \"S\";\n+      _w = \"\";\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n         _i++;\n-        if(_c ==\"\\\"\"){\n+        if (_c  == \"\\\"\") {\n           break;\n-        }else if(_c==\"\\\\\"){\n-          #print_error(\"dbg: (escchar = \" _c \" \" substr(expression,_i+2,1) \")\" );\n-          if(_i+1<_len){\n-            _w=_w ev1scan_scan_escchar(substr(expression,_i+2,1));\n+        } else if (_c == \"\\\\\") {\n+          #print_error(\"dbg: (escchar = \" _c \" \" substr(expression, _i + 2, 1) \")\" );\n+          if (_i + 1 < _len) {\n+            _w = _w ev1scan_scan_escchar(substr(expression, _i + 2, 1));\n             _i++;\n-          }else{\n-            _w=_w _c;\n+          } else {\n+            _w = _w _c;\n           }\n-        }else{\n-          _w=_w _c;\n+        } else {\n+          _w = _w _c;\n         }\n       }\n-    }else if(_c ~ \/\\s\/){\n+    } else if (_c ~ \/[[:space:]]\/) {\n       continue; # ignore blank\n-    }else{\n-      print_error(\"mwg_pp.eval_expr\",\"unrecognizable character '\" _c \"'\");\n+    } else {\n+      print_error(\"mwg_pp.eval_expr\", \"unrecognizable character '\" _c \"'\");\n       continue; # ignore unknown character\n     }\n \n-    words[_wlen,\"t\"]=_t;\n-    words[_wlen,\"w\"]=_w;\n+    words[_wlen, \"t\"] = _t;\n+    words[_wlen, \"w\"] = _w;\n     _wlen++;\n   }\n \n   # debug\n-  #for(_i=0;_i<_wlen;_i++){\n-  #    print \"yield \" words[_i,\"w\"] \" as \" words[_i,\"t\"] > \"\/dev\/stderr\"\n+  #for (_i = 0; _i < _wlen; _i++) {\n+  #    print \"yield \" words[_i, \"w\"] \" as \" words[_i, \"t\"] > \"\/dev\/stderr\"\n   #}\n \n   return _wlen;\n }\n \n-function ev1scan_scan_escchar(c){\n-  if(c !~ \/[nrtvfaeb]\/)return c;\n-  if(c==\"n\")return \"\\n\";\n-  if(c==\"r\")return \"\\r\";\n-  if(c==\"t\")return \"\\t\";\n-  if(c==\"v\")return \"\\v\";\n-  if(c==\"f\")return \"\\f\";\n-  if(c==\"a\")return \"\\a\";\n-  if(c==\"e\")return \"\\33\";\n-  if(c==\"b\")return \"\\b\";\n+function ev1scan_scan_escchar(c) {\n+  if (c !~ \/[nrtvfaeb]\/) return c;\n+  if (c == \"n\") return \"\\n\";\n+  if (c == \"r\") return \"\\r\";\n+  if (c == \"t\") return \"\\t\";\n+  if (c == \"v\") return \"\\v\";\n+  if (c == \"f\") return \"\\f\";\n+  if (c == \"a\") return \"\\a\";\n+  if (c == \"e\") return \"\\33\";\n+  if (c == \"b\") return \"\\b\";\n   return c;\n }\n \n-function ev1scan_cast_bool(arg){\n-  return arg!=0&&arg!=\"\";\n-}\n-# -*- mode:awk -*-\n-\n-function eval_expr(expression){\n+function ev1scan_cast_bool(arg) {\n+  return arg != 0 && arg != \"\";\n+}\n+# -*- mode: awk -*-\n+\n+function eval_expr(expression) {\n   return ev2_expr(expression);\n }\n \n-function ev2_expr(expression, _wlen,_words,_i,_len,_t,_w,_v,_sp,_s,_sp1,_optype){\n-  _wlen=ev1scan_scan(expression,_words);\n+function ev2_expr(expression, _wlen, _words, _i, _len, _t, _w, _v, _sp, _s, _sp1, _optype) {\n+  _wlen = ev1scan_scan(expression, _words);\n \n   # <param name=\"_s\">\n   #  parsing stack\n-  #  _s[index,\"t\"]  : SE_PREF  SE_MARK  SE_VALU\n-  #  _s[index]      : lhs               value\n-  #  _s[index,\"T\"]  : dataType          dataType\n-  #  _s[index,\"c\"]  : b+ u!    op      \n-  #  _s[index,\"l\"]  : assoc             \n+  #  _s[index, \"t\"]  : SE_PREF  SE_MARK  SE_VALU\n+  #  _s[index]       : lhs               value\n+  #  _s[index, \"T\"]  : dataType          dataType\n+  #  _s[index, \"c\"]  : b+ u!    op\n+  #  _s[index, \"l\"]  : assoc\n   #\n-  #  _s[index,\"M\"]=MOD_ARG;\n-  #  _s[index,\"A\"]=length;\n-  #  _s[index,\"A\",i]=element;\n+  #  _s[index, \"M\"] = MOD_ARG;\n+  #  _s[index, \"A\"] = length;\n+  #  _s[index, \"A\", i] = element;\n   # <\/param>\n \n   # parse\n-  _sp=-1;\n-  for(_i=0;_i<_wlen;_i++){\n+  _sp = -1;\n+  for (_i = 0; _i < _wlen; _i++) {\n     # _t: token type\n     # _w: token word\n     # _l: token prefix level\n-    _t=_words[_i,\"t\"];\n-    _w=_words[_i,\"w\"];\n+    _t = _words[_i, \"t\"];\n+    _w = _words[_i, \"w\"];\n \n     #-- process token --\n-    if(_t==\"n\"){\n+    if (_t == \"n\") {\n       _sp++;\n-      _s[_sp]=+_w;\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=TYPE_NUM;\n-      _s[_sp,\"M\"]=MOD_NUL;\n+      _s[_sp] = 0 + _w;\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = TYPE_NUM;\n+      _s[_sp, \"M\"] = MOD_NUL;\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"o\"){\n-      _optype=ev_db_operator[_w];\n-      if(_optype==OP_SGN){ # signature operator +-\n-        if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-          _t=\"b\"; # binary operator\n-        }else{\n-          _t=\"u\"; # unary operator\n+    } else if (_t == \"o\") {\n+      _optype = ev_db_operator[_w];\n+      if (_optype == OP_SGN) { # signature operator +-\n+        if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+          _t = \"b\"; # binary operator\n+        } else {\n+          _t = \"u\"; # unary operator\n         }\n-      }else if(_optype==OP_BIN){ # binary operator\n-        _t=\"b\";\n-      }else if(_optype==OP_UNA){ # unary prefix operator\n-        _t=\"u\";\n-      }else if(_optype==OP_INC){ # operator++ --\n-        if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-          if(and(_s[_sp,\"M\"],MOD_REF)){\n-            if(_w==\"++\")\n-              d_data[_s[_sp,\"R\"]]++;\n-            else if(_w==\"--\")\n-              d_data[_s[_sp,\"R\"]]--;\n+      } else if (_optype == OP_BIN) { # binary operator\n+        _t = \"b\";\n+      } else if (_optype == OP_UNA) { # unary prefix operator\n+        _t = \"u\";\n+      } else if (_optype == OP_INC) { # operator++ --\n+        if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+          if (and(_s[_sp, \"M\"], MOD_REF)) {\n+            if (_w == \"++\")\n+              d_data[_s[_sp, \"R\"]]++;\n+            else if (_w == \"--\")\n+              d_data[_s[_sp, \"R\"]]--;\n             else\n-              print_error(\"mwg_pp.eval\",\"unknown increment operator \" _w);\n-\n-            _s[_sp,\"M\"]=MOD_NUL;\n-            delete _s[_sp,\"R\"];\n+              print_error(\"mwg_pp.eval\", \"unknown increment operator \" _w);\n+\n+            _s[_sp, \"M\"] = MOD_NUL;\n+            delete _s[_sp, \"R\"];\n           }\n \n-          _t=\"\";\n-        }else{\n-          _t=\"u\"; # unary operator\n+          _t = \"\";\n+        } else {\n+          _t = \"u\"; # unary operator\n         }\n-      }else{\n-        print_error(\"mwg_pp.eval\",\"unknown operator \" _w);\n-      }\n-\n-      if(_t==\"b\"){\n+      } else {\n+        print_error(\"mwg_pp.eval\", \"unknown operator \" _w);\n+      }\n+\n+      if (_t == \"b\") {\n         #-- binary operator\n-        _l=ev_db_operator[_w,\"a\"];\n+        _l = ev_db_operator[_w, \"a\"];\n         #print \"dbg: binary operator level = \" _l > \"\/dev\/stderr\"\n-        \n+\n         # get lhs\n-        _sp=ev2_pop_value(_s,_sp,_l); # left assoc\n-        #_sp=ev2_pop_value(_s,_sp,_l+0.1); # right assoc # TODO =\n-        \n+        _sp = ev2_pop_value(_s, _sp, _l); # left assoc\n+        #_sp = ev2_pop_value(_s, _sp, _l + 0.1); # right assoc # TODO =\n+\n         # overwrite to lhs\n-        _s[_sp,\"t\"]=SE_PREF;\n-        _s[_sp,\"p\"]=\"b\";\n-        _s[_sp,\"P\"]=_w;\n-        _s[_sp,\"l\"]=_l; # assoc level\n-      }else if(_t==\"u\"){\n+        _s[_sp, \"t\"] = SE_PREF;\n+        _s[_sp, \"p\"] = \"b\";\n+        _s[_sp, \"P\"] = _w;\n+        _s[_sp, \"l\"] = _l; # assoc level\n+      } else if (_t == \"u\") {\n         # unary operator\n-        _l=ev_db_operator[_w,\"a\"];\n+        _l = ev_db_operator[_w, \"a\"];\n \n         _sp++;\n-        _s[_sp,\"t\"]=SE_PREF\n-        _s[_sp,\"p\"]=\"u\";\n-        _s[_sp,\"P\"]=_w;\n-        _s[_sp,\"l\"]=_l; # assoc level\n+        _s[_sp, \"t\"] = SE_PREF\n+        _s[_sp, \"p\"] = \"u\";\n+        _s[_sp, \"P\"] = _w;\n+        _s[_sp, \"l\"] = _l; # assoc level\n       }\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"op\"){\n+    } else if (_t == \"op\") {\n       _sp++;\n-      _s[_sp,\"t\"]=SE_MARK;\n-      _s[_sp,\"m\"]=_w;\n-    }else if(_t==\"cl\"){\n-      if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-        _sp1=ev2_pop_value(_s,_sp,0);\n-        _sp=_sp1-1;\n-      }else{\n+      _s[_sp, \"t\"] = SE_MARK;\n+      _s[_sp, \"m\"] = _w;\n+    } else if (_t == \"cl\") {\n+      if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+        _sp1 = ev2_pop_value(_s, _sp, 0);\n+        _sp = _sp1-1;\n+      } else {\n         # empty arg\n-        _sp1=_sp+1;\n-        _s[_sp1]=\"\";\n-        _s[_sp1,\"t\"]=SE_VALU;\n-        _s[_sp1,\"T\"]=TYPE_STR;\n-        _s[_sp1,\"M\"]=MOD_ARG;\n-        _s[_sp1,\"A\"]=0;\n+        _sp1 = _sp+1;\n+        _s[_sp1] = \"\";\n+        _s[_sp1, \"t\"] = SE_VALU;\n+        _s[_sp1, \"T\"] = TYPE_STR;\n+        _s[_sp1, \"M\"] = MOD_ARG;\n+        _s[_sp1, \"A\"] = 0;\n       }\n       # state: [.. _sp=open _sp1]\n \n       # parentheses\n-      if(!(_sp>=0&&_s[_sp,\"t\"]==SE_MARK)){\n+      if (!(_sp >= 0 && _s[_sp, \"t\"] == SE_MARK)) {\n         print_error(\"mwg_pp.eval: no matching open paren to \" _w \" in \" expression);\n         continue;\n       }\n-      _w=_s[_sp,\"m\"] _w;\n+      _w = _s[_sp, \"m\"] _w;\n       _sp--;\n-      \n+\n \n       # state: [_sp open _sp1]\n-      if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-        if(_w==\"?:\"){\n-          _sp=ev2_pop_value(_s,_sp,3.0); # assoc_value_3\n-          _v=(_s[_sp]!=0&&_s[_sp]!=\"\")?\"T\":\"F\";\n+      if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+        if (_w == \"?:\") {\n+          _sp = ev2_pop_value(_s, _sp, 3.0); # assoc_value_3\n+          _v = (_s[_sp] != 0 && _s[_sp] != \"\") ? \"T\" : \"F\";\n           #print_error(\"dbg: _s[_sp]=\" _s[_sp] \" _v=\" _v);\n \n           # last element\n-          _s[_sp]=_s[_sp1];\n-          _s[_sp,\"t\"]=SE_VALU;\n-          _s[_sp,\"T\"]=_s[_sp1,\"T\"];\n-          _s[_sp,\"M\"]=MOD_NUL; #TODO reference copy\n+          _s[_sp] = _s[_sp1];\n+          _s[_sp, \"t\"] = SE_VALU;\n+          _s[_sp, \"T\"] = _s[_sp1, \"T\"];\n+          _s[_sp, \"M\"] = MOD_NUL; #TODO reference copy\n \n           # overwrite pref\n-          _s[_sp,\"t\"]=SE_PREF;\n-          _s[_sp,\"p\"]=_w;\n-          _s[_sp,\"P\"]=_v;\n-          _s[_sp,\"l\"]=3.0; # level\n-        }else{\n-          _sp=ev2_pop_value(_s,_sp,12); # assoc_value_12\n-\n-          if(_w==\"[]\"&&and(_s[_sp,\"M\"],MOD_REF)){\n+          _s[_sp, \"t\"] = SE_PREF;\n+          _s[_sp, \"p\"] = _w;\n+          _s[_sp, \"P\"] = _v;\n+          _s[_sp, \"l\"] = 3.0; # level\n+        } else {\n+          _sp = ev2_pop_value(_s, _sp, 12); # assoc_value_12\n+\n+          if (_w == \"[]\" && and(_s[_sp, \"M\"], MOD_REF)) {\n             # indexing\n-            _s[_sp]=d_data[_s[_sp,\"R\"],_s[_sp1]];\n-            _s[_sp,\"t\"]=SE_VALU;\n-            _s[_sp,\"T\"]=(_s[_sp]==0+_s[_sp]?TYPE_NUM:TYPE_STR);\n-            _s[_sp,\"M\"]=MOD_REF;\n-            _s[_sp,\"R\"]=_s[_sp,\"R\"] SUBSEP _s[_sp1];\n-          }else if(and(_s[_sp,\"M\"],MOD_REF)){\n+            _s[_sp] = d_data[_s[_sp, \"R\"], _s[_sp1]];\n+            _s[_sp, \"t\"] = SE_VALU;\n+            _s[_sp, \"T\"] = (_s[_sp] == 0 + _s[_sp]? TYPE_NUM: TYPE_STR);\n+            _s[_sp, \"M\"] = MOD_REF;\n+            _s[_sp, \"R\"] = _s[_sp, \"R\"] SUBSEP _s[_sp1];\n+          } else if (and(_s[_sp, \"M\"], MOD_REF)) {\n             # function call\n-            ev2_funcall(_s,_sp,_s[_sp,\"R\"],_s,_sp1);\n-          }else if(and(_s[_sp,\"M\"],MOD_MTH)){\n+            ev2_funcall(_s, _sp, _s[_sp, \"R\"], _s, _sp1);\n+          } else if (and(_s[_sp, \"M\"], MOD_MTH)) {\n             # member function call\n-            ev2_memcall(_s,_sp,_s,_sp SUBSEP ATTR_MTH_OBJ,_s[_sp,ATTR_MTH_MEM],_s,_sp1);\n-          }else{\n+            ev2_memcall(_s, _sp, _s, _sp SUBSEP ATTR_MTH_OBJ, _s[_sp, ATTR_MTH_MEM], _s, _sp1);\n+          } else {\n             print \"mwg_pp.eval: invalid function call \" _s[_sp] \" \" _w \" in \" expression > \"\/dev\/stderr\"\n           }\n         }\n-      }else{\n+      } else {\n         _sp++;\n-        if(_w==\"[]\"){\n+        if (_w == \"[]\") {\n           # array\n-          ev2_copy(_s,_sp,_s,_sp1);\n-          _s[_sp,\"M\"]=MOD_ARR;\n-        }else{\n+          ev2_copy(_s, _sp, _s, _sp1);\n+          _s[_sp, \"M\"] = MOD_ARR;\n+        } else {\n           # last element\n-          _s[_sp]=_s[_sp1];\n-          _s[_sp,\"t\"]=SE_VALU;\n-          _s[_sp,\"T\"]=_s[_sp1,\"T\"];\n-          _s[_sp,\"M\"]=MOD_NUL;\n+          _s[_sp] = _s[_sp1];\n+          _s[_sp, \"t\"] = SE_VALU;\n+          _s[_sp, \"T\"] = _s[_sp1, \"T\"];\n+          _s[_sp, \"M\"] = MOD_NUL;\n         }\n       }\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"w\"){\n+    } else if (_t == \"w\") {\n       _sp++;\n-      _s[_sp]=d_data[_w];\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=(_s[_sp]==0+_s[_sp]?TYPE_NUM:TYPE_STR);\n-      _s[_sp,\"M\"]=MOD_REF;\n-      _s[_sp,\"R\"]=_w;\n-    }else if(_t==\"S\"){\n+      _s[_sp] = d_data[_w];\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = (_s[_sp] == 0 + _s[_sp]? TYPE_NUM: TYPE_STR);\n+      _s[_sp, \"M\"] = MOD_REF;\n+      _s[_sp, \"R\"] = _w;\n+    } else if (_t == \"S\") {\n       # string\n       _sp++;\n-      _s[_sp]=_w;\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=TYPE_STR;\n-      _s[_sp,\"M\"]=MOD_NUL;\n-    }else{\n-      print_error(\"mwg_pp.eval:fatal\",\"unknown token type \" _t);\n-    }\n-  }\n-\n-  _sp=ev2_pop_value(_s,_sp,0);\n-  return _sp>=1?\"err\":_s[_sp];\n-}\n-\n-function ev2_pop_value(s,sp,assoc,rDict,rName, _vp,_value){\n+      _s[_sp] = _w;\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = TYPE_STR;\n+      _s[_sp, \"M\"] = MOD_NUL;\n+    } else {\n+      print_error(\"mwg_pp.eval:fatal\", \"unknown token type \" _t);\n+    }\n+  }\n+\n+  _sp = ev2_pop_value(_s, _sp, 0);\n+  return _sp >= 1? \"err\": _s[_sp];\n+}\n+\n+function ev2_pop_value(s, sp, assoc, rDict, rName, _vp, _value) {\n   # <param> rDict [default = s]\n   # <param> rName [default = <final stack top>]\n   # <returns> sp = <final stack top>\n \n   # read value\n-  if(sp>=0&&s[sp,\"t\"]==SE_VALU){\n+  if (sp >= 0 && s[sp, \"t\"] == SE_VALU) {\n     sp--;\n-  }else{\n-    _vp=sp+1;\n-    s[_vp]=0;\n-    s[_vp,\"t\"]=SE_VALU;\n-    s[_vp,\"T\"]=TYPE_NUM;\n-    s[_vp,\"M\"]=MOD_NUL;\n+  } else {\n+    _vp = sp + 1;\n+    s[_vp] = 0;\n+    s[_vp, \"t\"] = SE_VALU;\n+    s[_vp, \"T\"] = TYPE_NUM;\n+    s[_vp, \"M\"] = MOD_NUL;\n   }\n \n   # proc prefices\n-  while(sp>=0&&s[sp,\"t\"]==SE_PREF&&s[sp,\"l\"]>=assoc){\n-    ev2_apply(s,sp,sp+1);\n+  while(sp >= 0 && s[sp, \"t\"] == SE_PREF && s[sp, \"l\"] >= assoc) {\n+    ev2_apply(s, sp, sp + 1);\n     sp--;\n   }\n \n-  if(rDict==\"\")\n+  if (rDict == \"\")\n     sp++;\n   else\n-    ev2_copy(rDict,rName,s,sp+1);\n+    ev2_copy(rDict, rName, s, sp + 1);\n \n   return sp;\n }\n \n-function ev2_memget(dDict,dName,oDict,oName,memname){\n-  #print_error(\"mwg_pp.eval\",\"dbg: ev2_memget(memname=\" memname \")\");\n+function ev2_memget(dDict, dName, oDict, oName, memname) {\n+  #print_error(\"mwg_pp.eval\", \"dbg: ev2_memget(memname=\" memname \")\");\n \n   # embedded special member\n-  if(oDict[oName,\"T\"]==TYPE_STR){\n-    if(memname==\"length\"){\n-      dDict[dName]=length(oDict[oName]);\n-      dDict[dName,\"t\"]=SE_VALU;\n-      dDict[dName,\"T\"]=TYPE_NUM;\n-      dDict[dName,\"M\"]=MOD_NUL;\n+  if (oDict[oName, \"T\"] == TYPE_STR) {\n+    if (memname == \"length\") {\n+      dDict[dName] = length(oDict[oName]);\n+      dDict[dName, \"t\"] = SE_VALU;\n+      dDict[dName, \"T\"] = TYPE_NUM;\n+      dDict[dName, \"M\"] = MOD_NUL;\n       return;\n-    }else if(memname==\"replace\"||memname==\"Replace\"||memname==\"slice\"||memname ~ \/^to(upper|lower)$\/){\n-      ev2_copy(dDict,dName SUBSEP ATTR_MTH_OBJ,oDict,oName);\n-      dDict[dName,ATTR_MTH_MEM]=memname;\n-      dDict[dName]=\"\";\n-      dDict[dName,\"t\"]=SE_VALU;\n-      dDict[dName,\"T\"]=TYPE_STR;\n-      dDict[dName,\"M\"]=MOD_MTH;\n-      #print_error(\"mwg_pp.eval\",\"dbg: method = String#\" memname);\n+    } else if (memname == \"replace\" || memname == \"Replace\" || memname == \"slice\" || memname ~ \/^to(upper|lower)$\/) {\n+      ev2_copy(dDict, dName SUBSEP ATTR_MTH_OBJ, oDict, oName);\n+      dDict[dName, ATTR_MTH_MEM] = memname;\n+      dDict[dName] = \"\";\n+      dDict[dName, \"t\"] = SE_VALU;\n+      dDict[dName, \"T\"] = TYPE_STR;\n+      dDict[dName, \"M\"] = MOD_MTH;\n+      #print_error(\"mwg_pp.eval\", \"dbg: method = String#\" memname);\n       return;\n     }\n-  }else{\n+  } else {\n     # members for other types (TYPE_NUM MOD_ARR etc..)\n   }\n \n   # normal data member\n-  if(and(oDict[oName,ATTR_MOD],MOD_REF)){\n-    dDict[dName]=d_data[oDict[oName,ATTR_REF],memname];\n-    dDict[dName,\"t\"]=SE_VALU;\n-    dDict[dName,\"T\"]=(dDict[dName]==0+dDict[dName]?TYPE_NUM:TYPE_STR);\n-    dDict[dName,\"M\"]=MOD_REF;\n-    dDict[dName,ATTR_REF]=oDict[oName,ATTR_REF] SUBSEP memname;\n-  }else{\n-    print_error(\"mwg.eval\",\"invalid member name '\" memname \"'\");\n-    dDict[dName]=\"\";\n-    dDict[dName,\"t\"]=SE_VALU;\n-    dDict[dName,\"T\"]=TYPE_STR;\n-    dDict[dName,\"M\"]=MOD_NUL;\n+  if (and(oDict[oName, ATTR_MOD], MOD_REF)) {\n+    dDict[dName] = d_data[oDict[oName, ATTR_REF], memname];\n+    dDict[dName, \"t\"] = SE_VALU;\n+    dDict[dName, \"T\"] = (dDict[dName] == 0 + dDict[dName]? TYPE_NUM: TYPE_STR);\n+    dDict[dName, \"M\"] = MOD_REF;\n+    dDict[dName, ATTR_REF] = oDict[oName, ATTR_REF] SUBSEP memname;\n+  } else {\n+    print_error(\"mwg.eval\", \"invalid member name '\" memname \"'\");\n+    dDict[dName] = \"\";\n+    dDict[dName, \"t\"] = SE_VALU;\n+    dDict[dName, \"T\"] = TYPE_STR;\n+    dDict[dName, \"M\"] = MOD_NUL;\n   }\n \n   # rep: dDict dName oDict oName\n }\n \n-function ev2_memcall(dDict,dName,oDict,oName,memname,aDict,aName, _a,_i,_c,_result,_resultT){\n-  #print_error(\"mwg_pp.eval\",\"dbg: ev2_memcall(memname=\" memname \")\");\n-\n-  _resultT=\"\";\n+function ev2_memcall(dDict, dName, oDict, oName, memname, aDict, aName, _a, _i, _c, _result, _resultT) {\n+  #print_error(\"mwg_pp.eval\", \"dbg: ev2_memcall(memname=\" memname \")\");\n+\n+  _resultT = \"\";\n \n   # read arguments\n-  if(aDict[aName,\"M\"]!=MOD_ARG){\n-    _c=1;\n-    _a[0]=aDict[aName];\n-  }else{\n-    _c=aDict[aName,\"A\"];\n-    for(_i=0;_i<_c;_i++)_a[_i]=aDict[aName,\"A\",_i];\n+  if (aDict[aName, \"M\"] != MOD_ARG) {\n+    _c = 1;\n+    _a[0] = aDict[aName];\n+  } else {\n+    _c = aDict[aName, \"A\"];\n+    for (_i = 0; _i < _c; _i++) _a[_i] = aDict[aName, \"A\", _i];\n   }\n \n   #-----------------\n   # process\n-  if(oDict[oName,\"T\"]==TYPE_STR){\n-    if(memname==\"replace\"){\n-      _result=oDict[oName];\n-      gsub(_a[0],_a[1],_result);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"Replace\"){\n-      _result=replace(oDict[oName],_a[0],_a[1]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"slice\"){\n-      _result=slice(oDict[oName],_a[0],_a[1]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"toupper\"){\n-      _result=toupper(oDict[oName]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"tolower\"){\n-      _result=tolower(oDict[oName]);\n-      _resultT=TYPE_STR;\n+  if (oDict[oName, \"T\"] == TYPE_STR) {\n+    if (memname == \"replace\") {\n+      _result = oDict[oName];\n+      gsub(_a[0], _a[1], _result);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"Replace\") {\n+      _result = replace(oDict[oName], _a[0], _a[1]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"slice\") {\n+      _result = slice(oDict[oName], _a[0], _a[1]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"toupper\") {\n+      _result = toupper(oDict[oName]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"tolower\") {\n+      _result = tolower(oDict[oName]);\n+      _resultT = TYPE_STR;\n     }\n   }\n \n   #-----------------\n   # write value\n-  if(_resultT==\"\"){\n-    print_error(\"mwg.eval\",\"invalid member function name '\" memname \"'\");\n-    _result=\"\";\n-    _resultT=TYPE_STR;\n-  }\n-\n-  dDict[dName]=_result;\n-  dDict[dName,\"t\"]=SE_VALU;\n-  dDict[dName,\"T\"]=_resultT;\n-  dDict[dName,\"M\"]=MOD_NUL;\n-}\n-\n-function ev2_funcall(dDict,dName,funcname,aDict,aName, _a,_i,_c,_result,_resultT,_x,_y,_l){\n-  _resultT=TYPE_NUM;\n-\n-  if(aDict[aName,\"M\"]!=MOD_ARG){\n-    _c=1;\n-    _a[0]=aDict[aName];\n-  }else{\n-    _c=aDict[aName,\"A\"];\n-    for(_i=0;_i<_c;_i++)_a[_i]=aDict[aName,\"A\",_i];\n-  }\n-\n-  if(funcname==\"int\"){\n-    _result=int(_a[0]);\n-  }else if(funcname==\"float\"){\n-    _result=0+_a[0];\n-  }else if(funcname==\"floor\"){\n-    if(_a[0]>=0){\n-      _result=int(_a[0]);\n-    }else{\n-      _result=int(1-_a[0]);\n-      _result=int(_a[0]+_result)-_result;\n-    }\n-  }else if(funcname==\"ceil\"){\n-    if(_a[0]<=0){\n-      _result=int(_a[0]);\n-    }else{\n-      _result=int(1+_a[0]);\n-      _result=int(_a[0]-_result)+_result;\n-    }\n-  }else if(funcname==\"sqrt\"){\n-    _result=sqrt(_a[0]);\n-  }else if(funcname==\"sin\"){\n-    _result=sin(_a[0]);\n-  }else if(funcname==\"cos\"){\n-    _result=cos(_a[0]);\n-  }else if(funcname==\"tan\"){\n-    _result=sin(_a[0])\/cos(_a[0]);\n-  }else if(funcname==\"atan\"){\n-    _result=atan2(_a[0],1);\n-  }else if(funcname==\"atan2\"){\n-    _result=atan2(_a[0],_a[1]);\n-  }else if(funcname==\"exp\"){\n-    _result=exp(_a[0]);\n-  }else if(funcname==\"log\"){\n-    _result=log(_a[0]);\n-  }else if(funcname==\"sinh\"){\n-    _x=exp(_a[0]);\n-    _result=0.5*(_x-1\/_x);\n-  }else if(funcname==\"cosh\"){\n-    _x=exp(_a[0]);\n-    _result=0.5*(_x+1\/_x);\n-  }else if(funcname==\"tanh\"){\n-    _x=exp(2*_a[0]);\n-    _result=(_x-1)\/(_x+1);\n-  }else if(funcname==\"rand\"){\n-    _result=rand();\n-  }else if(funcname==\"srand\"){\n-    _result=srand(_a[0]);\n-  }else if(funcname==\"trim\"){\n-    _resultT=TYPE_STR;\n-    _result=_a[0];\n-    gsub(\/^[[:space:]]+|[[:space:]]+$\/,\"\",_result);\n-  }else if(funcname==\"sprintf\"){\n-    _resultT=TYPE_STR;\n-    _result=sprintf(_a[0],_a[1],_a[2],_a[3],_a[4],_a[5],_a[6],_a[7],_a[8],_a[9]);\n-  }else if(funcname==\"slice\"){\n-    _resultT=TYPE_STR;\n-    _result=slice(_a[0],_a[1],_a[2]);\n-  }else if(funcname==\"length\"){\n-    _result=length(_a[0]);\n-  }else{\n-    print_error(\"mwg_pp.eval\",\"unknown function \" funcname);\n-    _result=0;\n-  }\n-\n-  dDict[dName]=_result;\n-  dDict[dName,\"t\"]=SE_VALU;\n-  dDict[dName,\"T\"]=_resultT;\n-  dDict[dName,\"M\"]=MOD_NUL;\n-}\n-\n-function ev2_apply(stk,iPre,iVal, _pT,_pW,_lhs,_rhs,_lhsT,_rhsT,_result,_i,_a,_b,_c){\n+  if (_resultT == \"\") {\n+    print_error(\"mwg.eval\", \"invalid member function name '\" memname \"'\");\n+    _result = \"\";\n+    _resultT = TYPE_STR;\n+  }\n+\n+  dDict[dName] = _result;\n+  dDict[dName, \"t\"] = SE_VALU;\n+  dDict[dName, \"T\"] = _resultT;\n+  dDict[dName, \"M\"] = MOD_NUL;\n+}\n+\n+function ev2_funcall(dDict, dName, funcname, aDict, aName, _a, _i, _c, _result, _resultT, _x, _y, _l) {\n+  _resultT = TYPE_NUM;\n+\n+  if (aDict[aName, \"M\"] != MOD_ARG) {\n+    _c = 1;\n+    _a[0] = aDict[aName];\n+  } else {\n+    _c = aDict[aName, \"A\"];\n+    for (_i = 0; _i < _c; _i++) _a[_i] = aDict[aName, \"A\", _i];\n+  }\n+\n+  if (funcname == \"int\") {\n+    _result = int(_a[0]);\n+  } else if (funcname == \"float\") {\n+    _result = 0 + _a[0];\n+  } else if (funcname == \"floor\") {\n+    if (_a[0] >= 0) {\n+      _result = int(_a[0]);\n+    } else {\n+      _result = int(1 - _a[0]);\n+      _result = int(_a[0] + _result)-_result;\n+    }\n+  } else if (funcname == \"ceil\") {\n+    if (_a[0] <= 0) {\n+      _result = int(_a[0]);\n+    } else {\n+      _result = int(1 + _a[0]);\n+      _result = int(_a[0]-_result) + _result;\n+    }\n+  } else if (funcname == \"sqrt\") {\n+    _result = sqrt(_a[0]);\n+  } else if (funcname == \"sin\") {\n+    _result = sin(_a[0]);\n+  } else if (funcname == \"cos\") {\n+    _result = cos(_a[0]);\n+  } else if (funcname == \"tan\") {\n+    _result = sin(_a[0]) \/ cos(_a[0]);\n+  } else if (funcname == \"atan\") {\n+    _result = atan2(_a[0], 1);\n+  } else if (funcname == \"atan2\") {\n+    _result = atan2(_a[0], _a[1]);\n+  } else if (funcname == \"exp\") {\n+    _result = exp(_a[0]);\n+  } else if (funcname == \"log\") {\n+    _result = log(_a[0]);\n+  } else if (funcname == \"sinh\") {\n+    _x = exp(_a[0]);\n+    _result = 0.5*(_x-1\/_x);\n+  } else if (funcname == \"cosh\") {\n+    _x = exp(_a[0]);\n+    _result = 0.5 * (_x + 1 \/ _x);\n+  } else if (funcname == \"tanh\") {\n+    _x = exp(2 * _a[0]);\n+    _result = (_x - 1) \/ (_x + 1);\n+  } else if (funcname == \"rand\") {\n+    _result = rand();\n+  } else if (funcname == \"srand\") {\n+    _result = srand(_a[0]);\n+  } else if (funcname == \"trim\") {\n+    _resultT = TYPE_STR;\n+    _result = _a[0];\n+    gsub(\/^[[:space:]]+|[[:space:]]+$\/, \"\", _result);\n+  } else if (funcname == \"sprintf\") {\n+    _resultT = TYPE_STR;\n+    _result = sprintf(_a[0], _a[1], _a[2], _a[3], _a[4], _a[5], _a[6], _a[7], _a[8], _a[9]);\n+  } else if (funcname == \"slice\") {\n+    _resultT = TYPE_STR;\n+    _result = slice(_a[0], _a[1], _a[2]);\n+  } else if (funcname == \"length\") {\n+    _result = length(_a[0]);\n+  } else {\n+    print_error(\"mwg_pp.eval\", \"unknown function \" funcname);\n+    _result = 0;\n+  }\n+\n+  dDict[dName] = _result;\n+  dDict[dName, \"t\"] = SE_VALU;\n+  dDict[dName, \"T\"] = _resultT;\n+  dDict[dName, \"M\"] = MOD_NUL;\n+}\n+\n+function ev2_apply(stk, iPre, iVal, _pT, _pW, _lhs, _rhs, _lhsT, _rhsT, _result, _i, _a, _b, _c) {\n   # <param name=\"stk\">stack<\/param>\n   # <param name=\"iPre\">prefix operator\/resulting value<\/param>\n   # <param name=\"iVal\">input value<\/param>\n \n-  _pT=stk[iPre,\"p\"];\n-  _pW=stk[iPre,\"P\"];\n-\n-  if(_pT==\"b\"){\n-    _lhs=stk[iPre];\n-    _rhs=stk[iVal];\n-    _lhsT=stk[iPre,\"T\"];\n-    _rhsT=stk[iVal,\"T\"];\n-    _resultT=TYPE_NUM;\n+  _pT = stk[iPre, \"p\"];\n+  _pW = stk[iPre, \"P\"];\n+\n+  if (_pT == \"b\") {\n+    _lhs = stk[iPre];\n+    _rhs = stk[iVal];\n+    _lhsT = stk[iPre, \"T\"];\n+    _rhsT = stk[iVal, \"T\"];\n+    _resultT = TYPE_NUM;\n \n     #print \"binary \" _lhs \" \" _pW \" \" _rhs > \"\/dev\/stderr\"\n-    if(_pW==\"+\"){\n-      if(_lhsT==TYPE_STR||_rhsT==TYPE_STR){\n-        _result=_lhs _rhs;\n-        _resultT=TYPE_STR;\n-      }else\n-        _result=_lhs+_rhs;\n-    }else if(_pW==\"-\")_result=_lhs-_rhs;\n-    else if(_pW==\"*\")_result=_lhs*_rhs;\n-    else if(_pW==\"\/\")_result=_lhs\/_rhs;\n-    else if(_pW==\"%\")_result=_lhs%_rhs;\n-    else if(_pW==\"==\")_result=_lhs==_rhs;\n-    else if(_pW==\"!=\")_result=_lhs!=_rhs;\n-    else if(_pW==\">=\")_result=_lhs>=_rhs;\n-    else if(_pW==\"<=\")_result=_lhs<=_rhs;\n-    else if(_pW==\"<\")_result=_lhs<_rhs;\n-    else if(_pW==\">\")_result=_lhs>_rhs;\n-    else if(_pW==\"|\")_result=or(_lhs,_rhs);\n-    else if(_pW==\"^\")_result=xor(_lhs,_rhs);\n-    else if(_pW==\"&\")_result=and(_lhs,_rhs);\n-    else if(_pW==\"||\")_result=ev1scan_cast_bool(_lhs)||ev1scan_cast_bool(_rhs); # not lazy evaluation\n-    else if(_pW==\"&&\")_result=ev1scan_cast_bool(_lhs)&&ev1scan_cast_bool(_rhs); # not lazy evaluation\n-    else if(_pW ~ \/[-+*\/%|^&]?=\/){\n-      if(and(stk[iPre,\"M\"],MOD_REF)){\n-        _resultT=TYPE_NUM;\n-        if(_pW==\"=\"){\n-          _result=_rhs;\n-          _resultT=_rhsT;\n-        }else if(_pW==\"+=\")_result=_lhs+_rhs;\n-        else if(_pW==\"-=\")_result=_lhs-_rhs;\n-        else if(_pW==\"*=\")_result=_lhs*_rhs;\n-        else if(_pW==\"\/=\")_result=_lhs\/_rhs;\n-        else if(_pW==\"%=\")_result=_lhs%_rhs;\n-        else if(_pW==\"|=\")_result=or(_lhs,_rhs);\n-        else if(_pW==\"^=\")_result=xor(_lhs,_rhs);\n-        else if(_pW==\"&=\")_result=and(_lhs,_rhs);\n-\n-        stk[iPre]=_result;\n-        stk[iPre,\"t\"]=SE_VALU;\n-        stk[iPre,\"T\"]=_resultT;\n-        d_data[stk[iPre,\"R\"]]=_result;\n-        \n+    if (_pW == \"+\") {\n+      if (_lhsT == TYPE_STR || _rhsT == TYPE_STR) {\n+        _result = _lhs _rhs;\n+        _resultT = TYPE_STR;\n+      } else\n+        _result = _lhs+_rhs;\n+    } else if (_pW == \"-\") _result = _lhs - _rhs;\n+    else if (_pW == \"*\") _result = _lhs * _rhs;\n+    else if (_pW == \"\/\") _result = _lhs \/ _rhs;\n+    else if (_pW == \"%\") _result = _lhs % _rhs;\n+    else if (_pW == \"==\") _result = _lhs == _rhs;\n+    else if (_pW == \"!=\") _result = _lhs != _rhs;\n+    else if (_pW == \">=\") _result = _lhs >= _rhs;\n+    else if (_pW == \"<=\") _result = _lhs <= _rhs;\n+    else if (_pW == \"<\") _result = _lhs < _rhs;\n+    else if (_pW == \">\") _result = _lhs > _rhs;\n+    else if (_pW == \"|\") _result = or(_lhs, _rhs);\n+    else if (_pW == \"^\") _result = xor(_lhs, _rhs);\n+    else if (_pW == \"&\") _result = and(_lhs, _rhs);\n+    else if (_pW == \"||\") _result = ev1scan_cast_bool(_lhs) || ev1scan_cast_bool(_rhs); # not lazy evaluation\n+    else if (_pW == \"&&\") _result = ev1scan_cast_bool(_lhs) && ev1scan_cast_bool(_rhs); # not lazy evaluation\n+    else if (_pW ~ \/[-+*\/%|^&]?=\/) {\n+      if (and(stk[iPre, \"M\"], MOD_REF)) {\n+        _resultT = TYPE_NUM;\n+        if (_pW == \"=\") {\n+          _result = _rhs;\n+          _resultT = _rhsT;\n+        } else if (_pW == \"+=\") _result = _lhs + _rhs;\n+        else if (_pW == \"-=\") _result = _lhs - _rhs;\n+        else if (_pW == \"*=\") _result = _lhs * _rhs;\n+        else if (_pW == \"\/=\") _result = _lhs \/ _rhs;\n+        else if (_pW == \"%=\") _result = _lhs % _rhs;\n+        else if (_pW == \"|=\") _result = or(_lhs, _rhs);\n+        else if (_pW == \"^=\") _result = xor(_lhs, _rhs);\n+        else if (_pW == \"&=\") _result = and(_lhs, _rhs);\n+\n+        stk[iPre] = _result;\n+        stk[iPre, \"t\"] = SE_VALU;\n+        stk[iPre, \"T\"] = _resultT;\n+        d_data[stk[iPre, \"R\"]] = _result;\n+\n         # TODO: array copy?\n-      }else{\n-        ev2_copy(stk,iPre,stk,iVal);\n+      } else {\n+        ev2_copy(stk, iPre, stk, iVal);\n         # err?\n       }\n       return;\n-    }else if(_pW==\",\"){\n-      if(stk[iPre,\"M\"]==MOD_ARG){\n-        stk[iPre]=_rhs;\n-        stk[iPre,\"t\"]=SE_VALU;\n-        stk[iPre,\"T\"]=_rhsT;\n-        _i=stk[iPre,\"A\"]++;\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP _i,stk,iVal);\n-      }else{\n-        stk[iPre,\"t\"]=SE_VALU;\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP 0,stk,iPre);\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP 1,stk,iVal);\n-        stk[iPre]=_rhs;\n-        stk[iPre,\"T\"]=_rhsT;\n-        stk[iPre,\"M\"]=MOD_ARG;\n-        stk[iPre,\"A\"]=2;\n+    } else if (_pW == \", \") {\n+      if (stk[iPre, \"M\"] == MOD_ARG) {\n+        stk[iPre] = _rhs;\n+        stk[iPre, \"t\"] = SE_VALU;\n+        stk[iPre, \"T\"] = _rhsT;\n+        _i = stk[iPre, \"A\"]++;\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP _i, stk, iVal);\n+      } else {\n+        stk[iPre, \"t\"] = SE_VALU;\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP 0, stk, iPre);\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP 1, stk, iVal);\n+        stk[iPre] = _rhs;\n+        stk[iPre, \"T\"] = _rhsT;\n+        stk[iPre, \"M\"] = MOD_ARG;\n+        stk[iPre, \"A\"] = 2;\n       }\n       return;\n-    }else if(_pW==\".\"){\n-      _a=and(stk[iVal,\"M\"],MOD_REF)?stk[iVal,ATTR_REF]:_rhs;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      ev2_memget(stk,iPre,stk,iPre,_a);\n+    } else if (_pW == \".\") {\n+      _a = and(stk[iVal, \"M\"], MOD_REF)? stk[iVal, ATTR_REF]: _rhs;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      ev2_memget(stk, iPre, stk, iPre, _a);\n       return;\n     }\n \n-    stk[iPre]=_result;\n-    stk[iPre,\"t\"]=SE_VALU;\n-    stk[iPre,\"T\"]=_resultT;\n-    stk[iPre,\"M\"]=MOD_NUL;\n-  }else if(_pT==\"u\"){\n-    _rhs=stk[iVal];\n-\n-    if(_pW==\"+\")_result=_rhs;\n-    else if(_pW==\"-\")_result=-_rhs;\n-    else if(_pW==\"!\")_result=!ev1scan_cast_bool(_rhs);\n-    else if(_pW==\"++\"){\n-      _result=_rhs+1;\n-      stk[iPre]=_result;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      stk[iPre,\"T\"]=TYPE_NUM;\n-      if(and(stk[iVal,\"M\"],MOD_REF)){\n-        stk[iPre,\"M\"]=MOD_REF;\n-        stk[iPre,\"R\"]=stk[iVal,\"R\"];\n-        d_data[stk[iPre,\"R\"]]=_result;\n-      }else{\n-        stk[iPre,\"M\"]=MOD_NUL;\n+    stk[iPre] = _result;\n+    stk[iPre, \"t\"] = SE_VALU;\n+    stk[iPre, \"T\"] = _resultT;\n+    stk[iPre, \"M\"] = MOD_NUL;\n+  } else if (_pT == \"u\") {\n+    _rhs = stk[iVal];\n+\n+    if (_pW == \"+\") _result = _rhs;\n+    else if (_pW == \"-\") _result = -_rhs;\n+    else if (_pW == \"!\") _result = !ev1scan_cast_bool(_rhs);\n+    else if (_pW == \"++\") {\n+      _result = _rhs+1;\n+      stk[iPre] = _result;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      stk[iPre, \"T\"] = TYPE_NUM;\n+      if (and(stk[iVal, \"M\"], MOD_REF)) {\n+        stk[iPre, \"M\"] = MOD_REF;\n+        stk[iPre, \"R\"] = stk[iVal, \"R\"];\n+        d_data[stk[iPre, \"R\"]] = _result;\n+      } else {\n+        stk[iPre, \"M\"] = MOD_NUL;\n       }\n       return;\n-    }else if(_pW==\"--\"){\n-      _result=_rhs-1;\n-      stk[iPre]=_result;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      stk[iPre,\"T\"]=TYPE_NUM;\n-      if(and(stk[iVal,\"M\"],MOD_REF)){\n-        stk[iPre,\"M\"]=MOD_REF;\n-        stk[iPre,\"R\"]=stk[iVal,\"R\"];\n-        d_data[stk[iPre,\"R\"]]=_result;\n-      }else{\n-        stk[iPre,\"M\"]=MOD_NUL;\n+    } else if (_pW == \"--\") {\n+      _result = _rhs-1;\n+      stk[iPre] = _result;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      stk[iPre, \"T\"] = TYPE_NUM;\n+      if (and(stk[iVal, \"M\"], MOD_REF)) {\n+        stk[iPre, \"M\"] = MOD_REF;\n+        stk[iPre, \"R\"] = stk[iVal, \"R\"];\n+        d_data[stk[iPre, \"R\"]] = _result;\n+      } else {\n+        stk[iPre, \"M\"] = MOD_NUL;\n       }\n       return;\n     }\n \n-    stk[iPre]=_result;\n-    stk[iPre,\"t\"]=SE_VALU;\n-    stk[iPre,\"T\"]=TYPE_NUM;\n-    stk[iPre,\"M\"]=MOD_NUL;\n-  }else if(_pT==\"?:\"){\n-    if(_pW==\"T\"){\n-      stk[iPre,\"t\"]=SE_VALU;\n-    }else{\n-      ev2_copy(stk,iPre,stk,iVal);\n-    }\n-  }else{\n-    ev2_copy(stk,iPre,stk,iVal);\n-  }\n-}\n-\n-function ev2_copy(dDict,dName,sDict,sName, _M,_t,_i,_iN){\n+    stk[iPre] = _result;\n+    stk[iPre, \"t\"] = SE_VALU;\n+    stk[iPre, \"T\"] = TYPE_NUM;\n+    stk[iPre, \"M\"] = MOD_NUL;\n+  } else if (_pT == \"?:\") {\n+    if (_pW == \"T\") {\n+      stk[iPre, \"t\"] = SE_VALU;\n+    } else {\n+      ev2_copy(stk, iPre, stk, iVal);\n+    }\n+  } else {\n+    ev2_copy(stk, iPre, stk, iVal);\n+  }\n+}\n+\n+function ev2_copy(dDict, dName, sDict, sName, _M, _t, _i, _iN) {\n   # assertion\n-  if(sDict[sName,\"t\"]!=SE_VALU){\n-    print_error(\"mwg_pp.eval:fatal\",\"copying not value element\");\n-  }\n-\n-  dDict[dName]=sDict[sName];            # value\n-  _t=dDict[dName,\"t\"]=sDict[sName,\"t\"]; # sttype\n-  _M=dDict[dName,\"M\"]=sDict[sName,\"M\"]; # mod\n-\n-  if(_t==SE_VALU)\n-    dDict[dName,\"T\"]=sDict[sName,\"T\"];  # datatype\n+  if (sDict[sName, \"t\"] != SE_VALU) {\n+    print_error(\"mwg_pp.eval:fatal\", \"copying not value element\");\n+  }\n+\n+  dDict[dName] = sDict[sName];                # value\n+  _t = dDict[dName, \"t\"] = sDict[sName, \"t\"]; # sttype\n+  _M = dDict[dName, \"M\"] = sDict[sName, \"M\"]; # mod\n+\n+  if (_t == SE_VALU)\n+    dDict[dName, \"T\"] = sDict[sName, \"T\"];  # datatype\n \n   # special data\n-  if(and(_M,MOD_REF)){\n+  if (and(_M, MOD_REF)) {\n     # reference\n-    dDict[dName,\"R\"]=sDict[sName,\"R\"]; # name in d_data\n-  }\n-  if(and(_M,MOD_ARG)||and(_M,MOD_ARR)){\n+    dDict[dName, \"R\"] = sDict[sName, \"R\"]; # name in d_data\n+  }\n+  if (and(_M, MOD_ARG) || and(_M, MOD_ARR)) {\n     # argument\/array\n-    _iN=dDict[dName,\"A\"]=sDict[sName,\"A\"]; # array length\n-    for(_i=0;_i<_iN;_i++)\n-      ev2_copy(dDict,dName SUBSEP \"A\" SUBSEP _i,sDict,sName SUBSEP \"A\" SUBSEP _i);\n-  }\n-  if(and(_M,MOD_MTH)){\n+    _iN = dDict[dName, \"A\"] = sDict[sName, \"A\"]; # array length\n+    for (_i = 0; _i < _iN; _i++)\n+      ev2_copy(dDict, dName SUBSEP \"A\" SUBSEP _i, sDict, sName SUBSEP \"A\" SUBSEP _i);\n+  }\n+  if (and(_M, MOD_MTH)) {\n     # member function\n-    dDict[dName,ATTR_MTH_MEM]=sDict[sName,ATTR_MTH_MEM];\n-    ev2_copy(dDict,dName SUBSEP ATTR_MTH_OBJ,sDict,sName SUBSEP ATTR_MTH_OBJ);\n-  }\n-}\n-\n-function ev2_delete(sDict,sName){\n-  if(sDict[sName,\"t\"]!=SE_VALU){\n-    print_error(\"mwg_pp.eval:fatal\",\"deleting not value element\");\n+    dDict[dName, ATTR_MTH_MEM] = sDict[sName, ATTR_MTH_MEM];\n+    ev2_copy(dDict, dName SUBSEP ATTR_MTH_OBJ, sDict, sName SUBSEP ATTR_MTH_OBJ);\n+  }\n+}\n+\n+function ev2_delete(sDict, sName) {\n+  if (sDict[sName, \"t\"] != SE_VALU) {\n+    print_error(\"mwg_pp.eval:fatal\", \"deleting not value element\");\n   }\n \n   delete sDict[sName];     # value\n-  delete sDict[sName,\"t\"]; # sttype\n-  delete sDict[sName,\"T\"]; # datatype\n-  _M=sDict[sName,\"M\"];     # mod\n-  delete sDict[sName,\"M\"];\n+  delete sDict[sName, \"t\"]; # sttype\n+  delete sDict[sName, \"T\"]; # datatype\n+  _M = sDict[sName, \"M\"];     # mod\n+  delete sDict[sName, \"M\"];\n \n   # special data\n-  if(_M==MOD_REF){\n+  if (_M == MOD_REF) {\n     # reference\n-    delete sDict[sName,\"R\"]; # name in d_data\n-  }else if(_M==MOD_ARG||_M==MOD_ARR){\n+    delete sDict[sName, \"R\"]; # name in d_data\n+  } else if (_M == MOD_ARG || _M == MOD_ARR) {\n     # argument\/array\n-    _iN=sDict[sName,\"A\"];\n-    delete sDict[sName,\"A\"]; # array length\n-    for(_i=0;_i<_iN;_i++)\n-      ev2_delete(sDict,sName SUBSEP \"A\" SUBSEP _i);\n-  }\n-}\n-\n-# TODO? Dict[sp]      -> Dict[sp,\"v\"]\n-# TODO? s[i,\"c\"]=\"b+\" -> s[i,\"k\"]=\"b\" s[\"o\"]=\"+\"\n+    _iN = sDict[sName, \"A\"];\n+    delete sDict[sName, \"A\"]; # array length\n+    for (_i = 0; _i < _iN; _i++)\n+      ev2_delete(sDict, sName SUBSEP \"A\" SUBSEP _i);\n+  }\n+}\n+\n+# TODO? Dict[sp]       -> Dict[sp, \"v\"]\n+# TODO? s[i, \"c\"]=\"b+\" -> s[i, \"k\"]=\"b\" s[\"o\"]=\"+\"\n \n #===============================================================================\n #  Parameter Expansion\n@@ -952,7 +952,7 @@\n       print \"(parameter expansion:\" _mtext \")! unrecognized expansion.\" > \"\/dev\/stderr\"\n       _r=_mtext;\n     }\n-        \n+\n     if(_mtext ~ \/^\\${\/){\n       # enable re-expansion ${}\n       _ret=_ret _ltext;\n@@ -1364,17 +1364,17 @@\n       _sep=substr(pair,2,RLENGTH-2);\n       pair=trim(substr(pair,RLENGTH+1));\n     }\n-        \n+\n     _i=_sep!=\"\"?index(pair,_sep):match(pair,\/[ \\t]\/);\n     if(_i<=0){\n       printf(\"(#%%data directive)! ill-formed. (pair=%s, _sep=%s)\\n\",pair,_sep) > \"\/dev\/stderr\"\n       return 0;\n     }\n-        \n+\n     _k=substr(pair,1,_i-1);\n     _v=trim(substr(pair,_i+length(_sep)))\n     d_data[_k]=_v;\n-        \n+\n     #_t[0];head_token(pair,_t);\n     #d_data[_t[0]]=_t[1];\n   }\n@@ -1551,14 +1551,15 @@\n }\n \n {\n-  if(NR==1){\n+  if(FNR==1){\n     if(ENVIRON[\"PPLINENO_FILE\"]!=\"\")\n       m_rfile=ENVIRON[\"PPLINENO_FILE\"];\n     else\n       m_rfile=FILENAME;\n+    dependency_add(m_rfile);\n   }\n   m_lineno_cfile=m_rfile;\n-  m_lineno_cline=NR;\n+  m_lineno_cline=FNR;\n   process_line($1);\n }\n \n@@ -1568,29 +1569,43 @@\n     m_dependency[m_dependency_count++]=file;\n   }\n }\n-function dependency_generate(output,target, _i,_iMax){\n-  if(!target){\n-    target=m_rfile;\n-    sub(\/\\.pp$\/,\"\",target);\n-    target=target \".out\";\n-  }\n-\n-  if(m_dependency_count==0){\n-    print target \": \" m_rfile > output\n-  }else{\n-    print target \": \" m_rfile \" \\\\\" > output\n-    _iMax=m_dependency_count-1;\n-    for(_i=0;_i<_iMax;_i++)\n-      print \"  \" m_dependency[_i] \" \\\\\" >> output;\n-    print \"  \" m_dependency[_iMax] >> output;\n-  }\n-}\n-\n-END{\n+function dependency_generate(output, target, is_phony, _i, _iMax, _line, _file){\n+  if (!target) {\n+    target = m_rfile;\n+    sub(\/\\.pp$\/, \"\", target);\n+    target = target \".out\";\n+  }\n+\n+  if (m_dependency_count == 0)\n+    print target \":\" > output;\n+  else {\n+    _iMax = m_dependency_count - 1;\n+    for (_i = 0; _i < m_dependency_count; _i++) {\n+      _file = m_dependency[_i];\n+      gsub(\/[[:space:]]\/, \"\\\\\\\\&\", _file);\n+      _line = _i == 0? target \": \": \"  \";\n+      _line = _line _file;\n+      if (_i < _iMax) _line = _line \" \\\\\";\n+      print _line > output;\n+    }\n+\n+    if (is_phony) {\n+      for (_i = 0; _i < m_dependency_count; _i++) {\n+        _file = m_dependency[_i];\n+        gsub(\/[[:space:]]\/, \"\\\\\\\\&\", _file);\n+        printf(\"%s:\\n\\n\", _file) > output;\n+      }\n+    }\n+  }\n+}\n+\n+END {\n   # output dependencies\n-  DEPENDENCIES_OUTPUT=ENVIRON[\"DEPENDENCIES_OUTPUT\"];\n-  if(DEPENDENCIES_OUTPUT)\n-    dependency_generate(DEPENDENCIES_OUTPUT,ENVIRON[\"DEPENDENCIES_TARGET\"]);\n-\n-  if(global_errorCount)exit(1);\n-}\n+  DEPENDENCIES_OUTPUT = ENVIRON[\"DEPENDENCIES_OUTPUT\"];\n+  if (DEPENDENCIES_OUTPUT) {\n+    is_phony = ENVIRON[\"DEPENDENCIES_PHONY\"];\n+    dependency_generate(DEPENDENCIES_OUTPUT, ENVIRON[\"DEPENDENCIES_TARGET\"], is_phony);\n+  }\n+\n+  if (global_errorCount) exit(1);\n+}\n"}
{"commit":"714da0124185f9cdb5384f88c13890893db617c9","subject":"Help: update showMan()","message":"Help: update showMan()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -140,21 +140,30 @@\n function showMan(    temp) {\n     if (ENVIRON[\"TRANS_MANPAGE\"]) {\n         initPager()\n-        temp = \"echo -E \\\"${TRANS_MANPAGE}\\\"\"\n-        temp = temp PIPE                                                \\\n-            \"groff -Wall -mtty-char -mandoc -Tutf8 -rLL=${COLUMNS}n -rLT=${COLUMNS}n\"\n-        switch (Pager) {\n-        case \"less\":\n-            temp = temp PIPE Pager \" -s -P\\\"\\\\ \\\\Manual page \" Command \"(1) line %lt (press h for help or q to quit)\\\"\"\n-            break\n-        case \"most\":\n-            temp = temp PIPE Pager \" -Cs\"\n-            break\n-        default: # more\n-            temp = temp PIPE Pager\n+        Groff = detectProgram(\"groff\", \"--version\")\n+        if (Pager && Groff) {\n+            temp = \"echo -E \\\"${TRANS_MANPAGE}\\\"\"\n+            temp = temp PIPE                                            \\\n+                Groff \" -Wall -mtty-char -mandoc -Tutf8 \"               \\\n+                \"-rLL=\" Option[\"width\"] \"n -rLT=\" Option[\"width\"] \"n\"\n+            switch (Pager) {\n+            case \"less\":\n+                temp = temp PIPE                                        \\\n+                    Pager \" -s -P\\\"\\\\ \\\\Manual page \" Command \"(1) line %lt (press h for help or q to quit)\\\"\"\n+                break\n+            case \"most\":\n+                temp = temp PIPE Pager \" -Cs\"\n+                break\n+            default: # more\n+                temp = temp PIPE Pager\n+            }\n+            system(temp)\n+            return\n         }\n-        system(temp)\n-    } else if (system(\"man \" Command SUPERR))\n+    }\n+    if (fileExists(\"man\/\" Command \".1\"))\n+        system(\"man man\/\" Command \".1\" SUPERR)\n+    else if (system(\"man \" Command SUPERR))\n         print getHelp()\n }\n \n"}
{"commit":"974ce02e641ef5d4cfc19757a6bae1825490cc0e","subject":"Use ?: instead.","message":"Use ?: instead.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -44,12 +44,8 @@\n \tprint \"# updated on \" now\n \tprint \"#\"\n \n-\tif (host == \"\") {\n-\t\thost = \"127.0.0.1\"\n-\t}\n-\tif (port == \"\") {\n-\t\tport = 5353\n-\t}\n+\thost = host != \"\" ? host : \"127.0.0.1\"\n+\tport = port != \"\" ? port : 5353\n }\n {\n \toriginal_line = $0\n"}
{"commit":"e4096d851cfbcbe94855dcb4c06e08477cb23703","subject":"- check unused","message":"- check unused\n","repos":"0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -571,7 +571,7 @@\n \t} else cache_dirty = 1\n     } else if (sym in mapsrcs) { src = mapsrcs[sym] }\n }\n-function set_symbol(sym, mod, crc, expt, set, pos, own, src, from)\n+function set_symbol(sym, mod, crc, expt, set, pos, own, src, use, from)\n {\n     if (!(sym in syms)) {\n \tsyms[sym] = 1\n@@ -671,6 +671,15 @@\n \t    }\n \t} else cache_dirty = 1\n     } else if (sym in srcs) { src = srcs[sym] }\n+    if (use) {\n+\tif (sym in uses) {\n+\t    if (uses[sym] != use) {\n+\t\tuses[sym] = use\n+\t\tcache_dirty = 1\n+\t    }\n+\t} else cache_dirty = 1\n+\tuses[sym] = use\n+    } else if (use in uses) { use = uses[sym] }\n }\n function set_symset(set, hash, numb, ssym, scrc, own, src, from,\tn,i,symbols)\n {\n@@ -747,26 +756,146 @@\n \tcache_dirty = 1\n     }\n }\n-#\n-# Read in an objdump -t listing.  This must be from objdump -t run on a kernel\n-# object.  This will add EXPORT_SYMBOL or EXPORT_SYMBOL_GPL for use in the\n-# Module.symvers file.\n-#\n-function read_modobject(command, dir, own, src,\t    result,files,progress,HEADER,mod,flags,val,sec,ofs,sym,count_syms,count_unds,count_weak)\n-{\n-    print_vinfo(1,\"r: ko object, subdirectory = \\\"\" dir \"\\\"\")\n+function read_modobject(command, dir, own, src,\n+\t\t\tpfx,fmt,files,progress,SECTION,string,mod,count_syms,count_unds,\n+\t\t\tcount_weak,count_vers,flags,val,sec,offset,sym,crc,char)\n+{\n+    pfx = \"r: ko object, \"\n+    fmt = \"%3d syms, %3d unds, %3d weak, %3d vers\"\n+    print_vinfo(1, pfx \"subdirectory = \\\"\" dir \"\\\"\")\n     files = 0\n     progress = 0\n-    HEADER = 1\n+    SECTION = \"\"\n+    string = \"\"\n     mod = \"\"\n-    count_syms = 0; count_unds = 0; count_weak = 0\n-    while ((result = (command | getline)) == 1) {\n-\tif (HEADER) {\n+    count_syms = 0; count_unds = 0; count_weak = 0; count_vers = 0\n+    # use objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -s \n+    while ((command | getline) == 1) {\n+\tif (SECTION) {\n+\t    if (\/^$\/) {\n+\t\tprint_dmore(1,pfx sprintf(fmt, count_syms, count_unds, count_weak, count_vers))\n+\t\tif (SECTION) {\n+\t\t    print_debug(2,pfx \"end of section \" SECTION)\n+\t\t    if (count_syms||count_unds||count_weak||count_vers)\n+\t\t\tprint_debug(2,pfx sprintf(fmt, count_syms, count_unds, count_weak, count_vers))\n+\t\t}\n+\t\tSECTION = \"\"\n+\t\tcontinue\n+\t    }\n+\t    if (SECTION == \"SYMBOL TABLE\") {\n+\t\tif (NF<4)\n+\t\t    continue\n+\t\tflags = substr($0, length($1)+2, 7)\n+\t\tval = $1; sec = $(NF-2); offset = $(NF-1); sym = $NF\n+\t\tif (substr(flags,1,1) == \"l\") {\n+\t\t    if (substr(flags,7,1) == \"O\") {\n+\t\t\tif (sec == \".modinfo\") {\n+\t\t\t    if (sym ~ \/^_?__mod_version[0-9]*$\/)\n+\t\t\t\tmod_vers[mod] = 1\n+\t\t\t    continue\n+\t\t\t}\n+\t\t\tif (sub(\/^_?__ksymtab\/,\"\",sec)) {\n+\t\t\t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n+\t\t\t\tprint_debug(3,pfx \"symbol: \" sym)\n+\t\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_SYMBOL\" toupper(sec), \"\", 0, own, \"\", 0, \"ko object\")\n+\t\t\t\tcount_syms++\n+\t\t\t    }\n+\t\t\t    continue\n+\t\t\t}\n+\t\t    }\n+\t\t    continue\n+\t\t}\n+\t\tif (sec == \"*ABS*\") {\n+\t\t    if (substr(flags,1,1) == \"g\") {\n+\t\t\tif (sub(\/^_?__crc_\/,\"\",sym)) {\n+\t\t\t    print_debug(3,pfx \"symbol: \" sym)\n+\t\t\t    set_symbol(sym, mod, \"0x\" val, \"\", \"\", 0, own, src, 0, \"ko object\")\n+\t\t\t    count_syms++\n+\t\t\t    continue\n+\t\t\t}\n+\t\t    }\n+\t\t    mod_abss[mod,sym] = 1\n+\t\t}\n+\t\tif (own != values[\"pkgdirectory\"])\n+\t\t    continue\n+\t\tif (sec == \"*UND*\") {\n+\t\t    if (sym ~ \/^_?__this_module$\/) {\n+\t\t\tif (mod in mod_this)\n+\t\t\t    delete mod_this[mod]\n+\t\t\tcontinue\n+\t\t    }\n+\t\t    if (substr(flags,2,1) == \" \" && !((mod,sym) in mod_unds)) {\n+\t\t\tprint_debug(3,pfx \"undefined symbol: \" sym)\n+\t\t\tmod_unds[mod,sym] = 1\n+\t\t\tcount_unds++\n+\t\t    }\n+\t\t    if (substr(flags,2,1) == \"w\" && !((mod,sym) in mod_weak)) {\n+\t\t\tprint_debug(3,pfx \"weakundef symbol: \" sym)\n+\t\t\tmod_weak[mod,sym] = 1\n+\t\t\tcount_weak++\n+\t\t    }\n+\t\t    continue\n+\t\t}\n+\t\tif (sym ~ \/^_?init_module$\/) {\n+\t\t    mod_init[mod] = 1\n+\t\t    print_debug(2,pfx \"module \" mod \" has init_module\")\n+\t\t    continue\n+\t\t}\n+\t\tif (sym ~ \/^_?cleanup_module$\/) {\n+\t\t    mod_exit[mod] = 1\n+\t\t    print_debug(2,pfx \"module \" mod \" has cleanup_module\")\n+\t\t    continue\n+\t\t}\n+\t\tif (sym ~ \/^_?__this_module$\/) {\n+\t\t    mod_this[mod] = 1\n+\t\t    print_debug(2,pfx \"module \" mod \" has this_module\")\n+\t\t    continue\n+\t\t}\n+\t\tif (sym ~ \/^_?__mod_version[0-9]*$\/) {\n+\t\t    mod_vers[mod] = 1\n+\t\t    print_debug(2,pfx \"module \" mod \" has mod_version\")\n+\t\t    continue\n+\t\t}\n+\t    } else\n+\t    if (SECTION == \"__versions\") {\n+\t\tsub(\/^ .... \/, \"\"); sub(\/  .*$\/, \"\"); gsub(\/ \/, \"\")\n+\t\tstring = string $0\n+\t\tif (length(string) < 128)\n+\t\t    continue\n+\t\tsub(\/(00)+$\/, \"\",string)\n+\t\tcrc = \"0x\" substr(string,7,2) substr(string,5,2) substr(string,3,2) substr(string,1,2)\n+\t\tsub(\/^........\/, \"\", string)\n+\t\tif (crc == \"0x00000000\")\n+\t\t{ crc = \"0x\" substr(string,1,8); sub(\/^........\/,\"\",string) }\n+\t\tsub(\/^00000000\/, \"\", string)\n+\t\tsym = \"\"\n+\t\twhile (string) {\n+\t\t    char = \"0x\" substr(string,1,2)\n+\t\t    sub(\/^..\/, \"\", string)\n+\t\t    char = strtonum(char)\n+\t\t    if (32 <= char && char <= 126)\n+\t\t\tsym = sym sprintf(\"%c\", char)\n+\t\t}\n+\t\t# really just want to mark symbol used and check crc\n+\t\tset_symbol(sym, \"\", crc, \"\", \"\", 0, \"\", src, 1, \"ko object\")\n+\t\tcount_vers++\n+\t    }\n+\t    # skip __ksymtab and __ksymtab_gpl sections\n+\t} else {\n \t    if (\/^$\/)\n \t\tcontinue\n-\t    if (\/:.*file format\/) {\n-\t\tsub(\/:.*$\/, \"\")\n-\t\tprint_debug(1,\"r: ko object, module = \" $0)\n+\t    if (sub(\/:.*file format.*$\/, \"\")) {\n+\t\tif (mod) {\n+\t\t    count_syms = 0; count_unds = 0; count_weak = 0; count_vers = 0\n+\t\t    mod_mods[mod] = 1\n+\t\t    if (progress >= 200) {\n+\t\t\tprint_dmore(1,pfx files \"kernel modules...\")\n+\t\t\tprogress = 0\n+\t\t    }\n+\t\t    files++\n+\t\t    progress++\n+\t\t}\n+\t\tprint_debug(1,pfx \"module = \" $0)\n \t\tsub(\/(\\.mod)?\\.(k)?o(\\.gz)?$\/, \"\")\n \t\tif (own == values[\"pkgdirectory\"]) {\n \t\t    sub(\/.*\\\/\/, \"\")\n@@ -779,6 +908,7 @@\n \t\t    sub(\/kernel\\\/\/, \"\")\n \t\t}\n \t\tmod = $0\n+\t\tprint_debug(1,pfx mod)\n \t\tif (own == values[\"pkgdirectory\"]) {\n \t\t    if ((\"vmlinux\",\"struct_module\") in mod_syms) {\n \t\t\tmod_unds[mod,\"struct_module\"] = 1\n@@ -791,104 +921,23 @@\n \t\tcontinue\n \t    }\n \t    if (\/SYMBOL TABLE:\/) {\n-\t\tcount_syms = 0; count_unds = 0; count_weak = 0\n-\t\tmod_mods[mod] = 1\n-\t\tHEADER = 0\n-\t\tif (progress >= 200) {\n-\t\t    print_dmore(1,\"r: ko object, \" files \" kernel modules...\")\n-\t\t    progress = 0\n-\t\t}\n-\t\tfiles++\n-\t\tprogress++\n+\t\tSECTION = \"SYMBOL TABLE\"\n \t\tcontinue\n \t    }\n-\t}\n-\tif (\/^$\/ && !HEADER) {\n-\t    HEADER = 1\n-\t    if (count_syms || count_unds || count_weak) {\n-\t\tprint_debug(1,\"r: ko object, \" mod)\n-\t\tprint_debug(1,\"r: ko object, syms \" count_syms \", unds \" count_unds \", weak \" count_weak)\n-\t    }\n-\t    continue\n-\t}\n-\t# ok we have a listing line\n-\t# The flags are just after the first field and consist of 7 characters\n-\t# The last three fields always contain the same information\n-\tif (NF<4)\n-\t    continue\n-\tflags = substr($0, length($1)+2, 7); val = $1; sec = $(NF-2); ofs = $(NF-1); sym = $NF\n-\tif (substr(flags,1,1) == \"l\") {\n-\t    if (substr(flags,7,1) == \"O\") {\n-\t\tif (sec == \".modinfo\") {\n-\t\t    if (sym ~ \/^_?__mod_version[0-9]*$\/)\n-\t\t\tmod_vers[mod] = 1\n-\t\t    continue\n-\t\t}\n-\t\tif (sub(\/^_?__ksymtab\/,\"\",sec)) {\n-\t\t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n-\t\t\tprint_debug(3,\"r: ko object, symbol: \" sym)\n-\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_SYMBOL\" toupper(sec), \"\", 0, own, \"\", \"ko object\")\n-\t\t\tcount_syms++\n-\t\t    }\n-\t\t    continue\n-\t\t}\n-\t    }\n-\t    continue\n-\t}\n-\tif (sec == \"*ABS*\") {\n-\t    if (substr(flags,1,1) == \"g\") {\n-\t\tif (sub(\/^_?__crc_\/,\"\",sym)) {\n-\t\t    print_debug(3,\"r: ko object, symbol: \" sym)\n-\t\t    set_symbol(sym, mod, \"0x\" val, \"\", \"\", 0, own, src, \"ko object\")\n-\t\t    count_syms++\n-\t\t    continue\n-\t\t}\n-\t    }\n-\t    mod_abss[mod,sym] = 1\n-\t}\n-\tif (own != values[\"pkgdirectory\"])\n-\t    continue\n-\tif (sec == \"*UND*\") {\n-\t    if (sym ~ \/^_?__this_module$\/) {\n-\t\tif (mod in mod_this)\n-\t\t    delete mod_this[mod]\n+\t    if (sub(\/^Contents of section \/,\"\")) {\n+\t\tsub(\/:.*$\/, \"\")\n+\t\tSECTION = $0\n+\t\tstring = \"\"\n \t\tcontinue\n \t    }\n-\t    if (substr(flags,2,1) == \" \" && !((mod,sym) in mod_unds)) {\n-\t\tprint_debug(3,\"r: ko object, undefined symbol: \" sym)\n-\t\tmod_unds[mod,sym] = 1\n-\t\tcount_unds++\n-\t    }\n-\t    if (substr(flags,2,1) == \"w\" && !((mod,sym) in mod_weak)) {\n-\t\tprint_debug(3,\"r: ko object, weakundef symbol: \" sym)\n-\t\tmod_weak[mod,sym] = 1\n-\t\tcount_weak++\n-\t    }\n-\t    continue\n-\t}\n-\tif (sym ~ \/^_?init_module$\/) {\n-\t    mod_init[mod] = 1\n-\t    print_debug(2,\"r: ko object, module \" mod \" has init_module\")\n-\t    continue\n-\t}\n-\tif (sym ~ \/^_?cleanup_module$\/) {\n-\t    mod_exit[mod] = 1\n-\t    print_debug(2,\"r: ko object, module \" mod \" has cleanup_module\")\n-\t    continue\n-\t}\n-\tif (sym ~ \/^_?__this_module$\/) {\n-\t    mod_this[mod] = 1\n-\t    print_debug(2,\"r: ko object, module \" mod \" has this_module\")\n-\t    continue\n-\t}\n-\tif (sym ~ \/^_?__mod_version[0-9]*$\/) {\n-\t    mod_vers[mod] = 1\n-\t    print_debug(2,\"r: ko object, module \" mod \" has mod_version\")\n-\t    continue\n-\t}\n-    }\n-    if (result != -1) close(command)\n-    print_vinfo(1,\"r: ko object, \" files \" kernel modules   \")\n+\t}\n+\t# print stats\n+    }\n+    close(command)\n+    if (SECTION)\n+\tprint_debug(1,pfx sprintf(fmt, count_syms, count_unds, count_weak, count_vers))\n+    print_debug(1,pfx files \"kernel modules   \")\n+    # print end of run info\n }\n #\n # Read in any nm -Bs listing.  This can be a System.map file, a Modules.map\n@@ -920,7 +969,7 @@\n \t    }\n \t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n \t\tprint_debug(3,\"r: systemmap, symbol: \" sym)\n-\t\tset_symbol(sym, mod, \"\", \"\", \"\", 0, own, \"\", \"systemmap\")\n+\t\tset_symbol(sym, mod, \"\", \"\", \"\", 0, own, \"\", 0, \"systemmap\")\n \t\tcount_syms++\n \t\tcontinue\n \t    }\n@@ -928,7 +977,7 @@\n \tif (flag ~ \/[Aa]\/) {\n \t    if (sub(\/^_?__crc_\/,\"\",sym)) {\n \t\tprint_debug(3,\"r: systemmap, symbol: \" sym)\n-\t\tset_symbol(sym, mod, \"0x\" val, \"\", \"\", 0, own, src, \"systemmap\")\n+\t\tset_symbol(sym, mod, \"0x\" val, \"\", \"\", 0, own, src, 0, \"systemmap\")\n \t\tcount_syms++\n \t\tcontinue\n \t    }\n@@ -997,8 +1046,8 @@\n \t\t} else\n \t\tif (fields[1] == \"sym\") {\n \t\t    if (n<3) { print_error(\"syntax error in cachefile: line = \\\"\" line \"\\\"\"); continue }\n-\t\t    for (i=9;i>n;i--) { fields[i] = \"\" }; n = 9\n-\t\t    set_symbol(fields[2],fields[3],fields[4],fields[5],fields[6],fields[7],fields[8],fields[9],\"cachefile\")\n+\t\t    for (i=10;i>n;i--) { fields[i] = \"\" }; n = 10\n+\t\t    set_symbol(fields[2],fields[3],fields[4],fields[5],fields[6],fields[7],fields[8],fields[9],fields[10],\"cachefile\")\n \t\t} else\n \t\tif (fields[1] == \"set\") {\n \t\t    if (n<3) { print_error(\"syntax error in cachefile: line = \\\"\" line \"\\\"\"); continue }\n@@ -1037,6 +1086,7 @@\n \tline = line \":\"; if (sym in posn) { line = line posn[sym] }\n \tline = line \":\"; if (sym in ownr) { line = line ownr[sym] }\n \tline = line \":\"; if (sym in srcs) { line = line srcs[sym] }\n+\tline = line \":\"; if (sym in uses) { line = line uses[sym] }\n \tprint line > file; count_syms++; written[file] = 1\n     }\n     for (set in setsets) {\n@@ -1075,7 +1125,7 @@\n     }\n     if (NF < 3) $3 = \"vmlinux\"\n     if (NF < 4) $4 = \"\"\n-    set_symbol($2, $3, $1, $4, \"\", 0, own, src, \"dumpfiles\")\n+    set_symbol($2, $3, $1, $4, \"\", 0, own, src, 0, \"dumpfiles\")\n }\n function read_dumpfiles(command, own, src)\n {\n@@ -1090,10 +1140,10 @@\n {\n     print_vinfo(1,\"r: moduledir, directory = \\\"\" directory \"\\\"\")\n     dir = \"kernel\"\n-    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t\"\n+    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -s\"\n     read_modobject(command, dir, \"kernel\", src)\n     dir = values[\"pkgdirectory\"]\n-    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t\"\n+    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -s\"\n     read_modobject(command, dir, values[\"pkgdirectory\"], \"pkgdirectory\")\n }\n function read_mymodules(modules, src,    i,pair,ind,base,name,sym,fmt) {\n@@ -1102,7 +1152,7 @@\n     for (i = 1; i in modules; i++)\n \tprint modules[i] > \"modvers.list\"\n     close(\"modvers.list\")\n-    command = \"cat modvers.list | xargs objdump -t \"\n+    command = \"cat modvers.list | xargs objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -s\"\n     read_modobject(command, \".\", values[\"pkgdirectory\"], src)\n     system(\"rm -f modvers.list\")\n     # double check\n@@ -1127,12 +1177,21 @@\n \t    }\n \t    continue\n \t}\n+\tif (!(sym in uses) || !uses[sym]) {\n+\t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n+\t\tif (values[\"unused\"])\n+\t\t    print_warns(sprintf(fmt, base, \"unused\", sym))\n+\t\telse\n+\t\t    print_error(sprintf(fmt, base, \"unused\", sym))\n+\t    }\n+\t}\n \tif (!(sym in kabi) && values[\"kabi\"]) {\n-\t    if (ownr[sym] != values[\"pkgdirectory\"])\n+\t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n \t\tif (values[\"unsupported\"])\n \t\t    print_vinfo(1,sprintf(fmt, base, \"unsupportd\", sym))\n \t\telse\n \t\t    print_error(sprintf(fmt, base, \"unsupportd\", sym))\n+\t    }\n \t}\n \tif (!(sym in crcs)) {\n \t    print_error(\"r: mymodules, symbol \" sym \" defined in module \" mods[sym] \" has no version\")\n@@ -1158,6 +1217,14 @@\n \t\t    print_error(sprintf(fmt, base, \"weak unexp\", sym))\n \t    }\n \t    continue\n+\t}\n+\tif (!(sym in uses) || !uses[sym]) {\n+\t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n+\t\tif (values[\"unused\"])\n+\t\t    print_vinfo(1,sprintf(fmt, base, \"weak unuse\", sym))\n+\t\telse\n+\t\t    print_warns(sprintf(fmt, base, \"weak unuse\", sym))\n+\t    }\n \t}\n \tif (!(sym in kabi) && values[\"kabi\"]) {\n \t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n@@ -1246,7 +1313,7 @@\n \t\t    print_debug(4,\"r: syssymset,         pos = \\\"\" pos \"\\\"\")\n \t\t    print_debug(4,\"r: syssymset,         own = \\\"\" own \"\\\"\")\n \t\t    print_debug(5,\"r: syssymset,         src = \\\"\" src \"\\\"\")\n-\t\t    set_symbol($2, $3, $1, $4, set, pos, own, src, \"syssymset\")\n+\t\t    set_symbol($2, $3, $1, $4, set, pos, own, src, 0, \"syssymset\")\n \t\t    n++\n \t\t} else { unrecog(fnlp, $0); continue }\n \t    }\n@@ -1408,7 +1475,7 @@\n \n \tfor (pos=1;pos<=n;pos++) {\n \t    sym = symbols[pos]\n-\t    set_symbol(sym, \"\", \"\", \"\", set \".\" hash, pos, \"\", \"\", \"missedset\")\n+\t    set_symbol(sym, \"\", \"\", \"\", set \".\" hash, pos, \"\", \"\", 0, \"missedset\")\n \t    count_syms++\n \t}\n \tdelete setnumb[set]\n@@ -1824,6 +1891,7 @@\n     longopts[\"rip-weak\"     ] = \"R\"  ;\t\t\t\t\t\t\t\t   defaults[\"rip-weak\"     ] = 1\t\t\t\t\t\t; descrips[\"rip-weak\"     ] = \"attempt to rip weak undefined symbols from system map (requires -F, implies -U)\"\n     longopts[\"unres-weak\"   ] = \"b\"  ;\t\t\t\t\t\t\t\t   defaults[\"unres-weak\"   ] = 1\t\t\t\t\t\t; descrips[\"unres-weak\"   ] = \"allow unresolved weak symbols\"\n     longopts[\"unsupported\"  ] = \"U\"  ;\t\t\t\t\t\t\t\t   defaults[\"unsupported\"  ] = 1\t\t\t\t\t\t; descrips[\"unsupported\"  ] = \"permit use of (strong) unsupported (non-ABI) kernel exports\"\n+    longopts[\"unused\"       ] = \"y\"  ;\t\t\t\t\t\t\t\t   defaults[\"unused\"       ] = 1\t\t\t\t\t\t; descrips[\"unused\"       ] = \"permit use of (strong) unused kernel exports\"\n     longopts[\"weak-symbols\" ] = \"w\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-symbols\" ] = 1\t\t\t\t\t\t; descrips[\"weak-symbols\" ] = \"resolve weak symbols (useful with -r and -U)\"\n     longopts[\"weak-versions\"] = \"W\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-versions\"] = 1\t\t\t\t\t\t; descrips[\"weak-versions\"] = \"version weak symbols (useful with -w)\"\n     longopts[\"weak-hidden\"  ] = \"H\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-hidden\"  ] = 0\t\t\t\t\t\t; descrips[\"weak-hidden\"  ] = \"weak symbol versions are hidden (used with -W)\"\n@@ -1852,6 +1920,7 @@\n     values[\"rip-weak\"     ] = defaults[\"rip-weak\"     ]\n     values[\"unres-weak\"   ] = defaults[\"unres-weak\"   ]\n     values[\"unsupported\"  ] = defaults[\"unsupported\"  ]\n+    values[\"unused\"       ] = defaults[\"unused\"       ]\n     values[\"weak-symbols\" ] = defaults[\"weak-symbols\" ]\n     values[\"weak-versions\"] = defaults[\"weak-versions\"]\n     values[\"weak-hidden\"  ] = defaults[\"weak-hidden\"  ]\n"}
{"commit":"7e47d8c11ecc8d8451ce2db7423881d4e8e6da54","subject":"Close command in function getOutput","message":"Close command in function getOutput","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -557,6 +557,7 @@\n     content = NULLSTR\n     while ((command |& getline line) > 0)\n         content = (content ? content \"\\n\" : NULLSTR) line\n+    close(command)\n     return content\n }\n \n"}
{"commit":"60045ca2cf0b4c49b189734be32db4ce01c8028c","subject":"interp_utils.awk\t-- fixed typo that resulted in a value of 0 in error msg","message":"interp_utils.awk\t-- fixed typo that resulted in a value of 0 in error msg\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/interp_utils.awk\n+++ lib\/interp_utils.awk\n@@ -59,7 +59,7 @@\n \t\tinterp[\"v_ob_info\"] = \"\"\n \t}else if(interp[\"nbreaks\"] == interp[\"nvalues\"]){\n \t\tif(!match(v_pat, \/^bgg*$\/) && !match(v_pat, \/^gg*b$\/)){\n-\t\t\tprintf(\"ERROR: IU_init: nbreaks (%d) = nvalues (%d): All but first or last, but not both  values must grad\\n\", inter[\"nbreaks\"], interp[\"nvalues\"]) > \"\/dev\/stderr\"\n+\t\t\tprintf(\"ERROR: IU_init: nbreaks (%d) = nvalues (%d): All but first or last, but not both values must grad\\n\", interp[\"nbreaks\"], interp[\"nvalues\"]) > \"\/dev\/stderr\"\n \t\t\treturn 1\n \t\t}\n \t\tinterp[\"v_ob_info\"] = v_pat ~ \/^b\/ ? \"^\" : \"$\"\n"}
{"commit":"535afa3a9afd3679b2b1057be32e6fd21838e037","subject":"REFACTOR: `for` statement works on awk","message":"REFACTOR: `for` statement works on awk\n","repos":"manicmaniac\/levenshtein.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- levenshtein.awk\n+++ levenshtein.awk\n@@ -14,20 +14,14 @@\n     if (str1 == str2) return 0\n     split(str1, chars1, \"\")\n     split(str2, chars2, \"\")\n-    i = 0\n-    while (i <= len1) {\n+    for (i = 0; i <= len1; i++) {\n         matrix[i, 0] = i\n-        i++\n     }\n-    j = 0\n-    while (j <= len2) {\n+    for (j = 0; j <= len2; j++) {\n         matrix[0, j] = j\n-        j++\n     }\n-    i = 1\n-    while (i <= len1) {\n-        j = 1\n-        while (j <= len2) {\n+    for (i = 1; i <= len1; i++) {\n+        for (j = 1; j <= len2; j++) {\n             cost = (chars1[i] == chars2[j]) ? 0 : 1\n             x = matrix[i-1, j] + 1\n             y = matrix[i, j-1] + 1\n@@ -35,9 +29,7 @@\n             if (x <= y && x <= z) matrix[i, j] = x\n             if (y <= x && y <= z) matrix[i, j] = y\n             if (z <= x && z <= y) matrix[i, j] = z\n-            j++\n         }\n-        i++\n     }\n     return matrix[len1, len2]\n }\n"}
{"commit":"31415adbc7c14804c80c41cd89718c474efd0248","subject":"TestCommons: test unparameterize()","message":"TestCommons: test unparameterize()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestCommons.awk\n+++ test\/TestCommons.awk\n@@ -133,6 +133,19 @@\n         assertEqual(parameterize(\"foo bar\", \"\\\"\"), \"\\\"foo bar\\\"\")\n         assertEqual(parameterize(\"foo 'bar\", \"\\\"\"), \"\\\"foo 'bar\\\"\")\n         assertEqual(parameterize(\"foo \\\"bar\\\"\", \"\\\"\"), \"\\\"foo \\\\\\\"bar\\\\\\\"\\\"\")\n+    }\n+    T(\"unparameterize()\", 10)\n+    {\n+        assertEqual(unparameterize(\"''\"), \"\")\n+        assertEqual(unparameterize(\"'foo'\"), \"foo\")\n+        assertEqual(unparameterize(\"'foo bar'\"), \"foo bar\")\n+        assertEqual(unparameterize(\"'foo '\\\\''bar'\"), \"foo 'bar\")\n+        assertEqual(unparameterize(\"'foo \\\"bar\\\"'\"), \"foo \\\"bar\\\"\")\n+        assertEqual(unparameterize(\"\\\"\\\"\"), \"\")\n+        assertEqual(unparameterize(\"\\\"foo\\\"\"), \"foo\")\n+        assertEqual(unparameterize(\"\\\"foo bar\\\"\"), \"foo bar\")\n+        assertEqual(unparameterize(\"\\\"foo 'bar\\\"\"), \"foo 'bar\")\n+        assertEqual(unparameterize(\"\\\"foo \\\\\\\"bar\\\\\\\"\\\"\"), \"foo \\\"bar\\\"\")\n     }\n     T(\"toString()\", 4)\n     {\n"}
{"commit":"29acd1a5cc6ab2fd88bb063ea603ec648aa81571","subject":"track whether a slice is open","message":"track whether a slice is open","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/hierarchy.awk\n+++ tools\/hierarchy.awk\n@@ -6,7 +6,9 @@\n     hier[heading] = $0\n     sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n     sub(\/<a href=\".*\" class=\"section_anchor\"><\\\/a>\/, \"\", hier[heading])\n+    if (slide) print \"<\/div>\" \n     print \"<div class='slide'>\"\n+    slide = 1\n     if (heading > 1) {\n \tprint \"<h1 style='display: none;'>\" hier[heading] \"<\/h1>\"\n     }\n@@ -33,7 +35,7 @@\n }\n \n \/<h2>\/ && heading == 0 {\n-    print \"<\/div>\"\n+    #print \"<\/div>\"\n     #print \"<div class=\\\"slide\\\">\"\n     #print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n     heading = 2\n@@ -43,7 +45,7 @@\n }\n \n \/<h3>\/ && heading == 0 {\n-    print \"<\/div>\"\n+    #print \"<\/div>\"\n     #print \"<div class=\\\"slide\\\">\"\n     #print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n     #print \"<h2 style=\\\"display: none;\\\">\" hier[2] \"<\/h2>\"\n"}
{"commit":"b96e5fc7adf27d36cbd9a42de8818ac09b6e3492","subject":"trim leading space that crept in","message":"trim leading space that crept in\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -1,7 +1,7 @@\n- #! \/usr\/bin\/gawk -f\n+#! \/usr\/bin\/gawk -f\n \n #  Reduce the subject and object of RDF triples (ntriples format)\n-#  down to their @prefix (or literal object class)\n+#  down to their curie prefix (or literal object)\n #  Reduce predicates to the specific term identifier\n #  and the ontology they are from. (curi form)\n #  Express the subject and object as nodes with a directed edge\n"}
{"commit":"60d217c62833427114957f474277585bb4eda19a","subject":"Configure control_localhost off","message":"Configure control_localhost off\n","repos":"gmacario\/watchmeip-hack","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- configure-motion.awk\n+++ configure-motion.awk\n@@ -17,6 +17,10 @@\n \t  print \"netcam_url http:\/\/cam01-internal.solarma.it\/snapshot.cgi?user=admin&pwd=8iKu@kx!0&count=x\"\n \t  next\n \t}\n+\/^control_localhost on\/ {\n+\t  print \"control_localhost off\"\n+\t  next\n+\t}\n \/\/ \t{\n \t  print $0\n \t}\n"}
{"commit":"67d2c7ef16b9dbb6370a93f73268101584a8485c","subject":"ahrf.awk: No empty line after <p><\/p>","message":"ahrf.awk: No empty line after <p><\/p>\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -35,7 +35,7 @@\n \t\t\tprintf(\"%s\\n\", $p)\n \t\t}\n \t}\n-\tprintf(\"%s<\/p>\\n\\n\", $p)\n+\tprintf(\"%s<\/p>\\n\", $p)\n \tnext\n }\n \n"}
{"commit":"d3f9251529b14991ae1a69f9be4182a47ab8e30b","subject":"Translators\/GoogleTranslate: replace preprocess with preprocessByDump which proactively encodes non-ASCII chars in UTF-8 (fix #310)","message":"Translators\/GoogleTranslate: replace preprocess with preprocessByDump which proactively encodes non-ASCII chars in UTF-8 (fix #310)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -2,10 +2,11 @@\n # GoogleTranslate.awk                                              #\n ####################################################################\n #\n-# Last Updated: 18 Dec 2015\n-# https:\/\/translate.google.com\/translate\/releases\/twsfe_w_20151214_RC03\/r\/js\/desktop_module_main.js\n+# Last Updated: 25 Jul 2019\n BEGIN { provides(\"google\") }\n \n+# FIXME!\n+# See: <https:\/\/translate.google.com\/translate\/releases\/twsfe_w_20151214_RC03\/r\/js\/desktop_module_main.js>\n function genRL(a, x,\n                ####\n                b, c, d, i, y) {\n@@ -21,7 +22,6 @@\n     }\n     return a\n }\n-\n function genTK(text,\n                ####\n                a, d, dLen, e, tkk, ub, vb) {\n@@ -59,12 +59,12 @@\n         \"&ie=UTF-8&oe=UTF-8\"                                            \\\n         \"&dt=bd&dt=ex&dt=ld&dt=md&dt=rw&dt=rm&dt=ss&dt=t&dt=at&dt=gt\"   \\\n         \"&dt=\" qc \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl                         \\\n-        \"&q=\" preprocess(text)\n+        \"&q=\" preprocessByDump(text)\n }\n \n function googleTTSUrl(text, tl) {\n     return HttpProtocol HttpHost \"\/translate_tts?ie=UTF-8&client=gtx\"\t\\\n-        \"&tl=\" tl \"&q=\" preprocess(text)\n+        \"&tl=\" tl \"&q=\" preprocessByDump(text)\n }\n \n function googleWebTranslateUrl(uri, sl, tl, hl) {\n"}
{"commit":"d3703861d22ce53dbc04eb73578b7e7a07cbd9df","subject":"In Competition","message":"In Competition\n","repos":"Firebird1029\/CPUx,Firebird1029\/CPUx,Firebird1029\/CPUx","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- loginDef.awk\n+++ loginDef.awk\n@@ -2,8 +2,11 @@\n # LoginDef\n \n BEGIN {\n-\tgsub(\/PASS_MIN_DAYS\\t[0-9]+\/, \"PASS_MIN_DAYS\t10\")\n-\tprint str\n+   str = $0\n+   print \"String before replacement = \" str\n+   \n+   gsub(\"World\", \"Jerry\", str)\n+   print \"String after replacement = \" str\n }\n \n END {\n"}
{"commit":"1849f8f3128f33bfb70b600cdc8054f2385acecf","subject":"Fixed non-POSIX errors","message":"Fixed non-POSIX errors\n","repos":"JoeKuan\/Network-Interfaces-Script","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changeInterface.awk\n+++ changeInterface.awk\n@@ -1,7 +1,7 @@\n function writeStatic(device, fields, orders) {\n \n     # Create the order as original\n-    for (o = 0; o < length(orders); o++) {\n+    for (o = 0; o in orders; o++) {\n \tfield = orders[o];\n \tvalue = fields[field];\n \tdelete fields[field];\n@@ -37,7 +37,7 @@\n     }\n \n     for (i = 2; i < ARGC; i++) {\n-        split(ARGV[i], pair, \"=\");\n+        num = split(ARGV[i], pair, \"=\");\n         if (pair[1] == \"arg\" && pair[2] == \"debug\") {\n             debug = 1;\n \t} else if (pair[1] == \"mode\") {\n@@ -48,7 +48,7 @@\n             add = 1;\n \telse if (pair[1] == \"device\" || pair[1] == \"dev\") {\n \t    device = pair[2];\n-\t} else if (length(pair) == 2) {\n+\t} else if (num == 2) {\n \t    if (pair[1] == \"dns\") {\n \t\tpair[1] = \"dns-nameservers\";\n \t    }\n"}
{"commit":"ebf07d3b7e20649990f5fe3d9c80aa21bdbd51c7","subject":"change compare and title heads","message":"change compare and title heads\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@22090 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -7,8 +7,17 @@\n }\n \n {\n-# add a loop to add line only if first 4 char or last 4 char of year are gt or eq to contract\n-if ((substr($4,1,4) >= $3) || ((length($4) == 9) && (substr($4,6,4) >= $3))) {\n+# add a loop to add line only if ending year is gt or eq to contract year\n+end = 0\n+if ((length($4) == 9) {\n+  end = substr($4,6,4)\n+} else if ((length($4) == 4 {\n+  end = substr($4,1,4)\n+}\n+if (end >= $3) incontract = 1\n+else incontract = 0\n+\n+if (incontract == 1) {\n     nn = split($2,na,\/\\.\/)\n     lp2 = na[nn]\n   if (!(($1,lp2,$3,$4) in b)) {\n@@ -41,17 +50,17 @@\n   s[10] = \"zapped\"\n   sn = 11\n   \n-  sc[0] = \"expe\"\n-  sc[1] = \"exis\"\n-  sc[2] = \"mani\"\n-  sc[3] = \"want\"\n-  sc[4] = \"craw\"\n-  sc[5] = \"test\"\n-  sc[6] = \"notR\"\n-  sc[7] = \"rele\"\n-  sc[8] = \"down\"\n-  sc[9] = \"supe\"\n-  sc[10] = \"zapp\"\n+  sc[0] = \"X\"\n+  sc[1] = \"E\"\n+  sc[2] = \"M\"\n+  sc[3] = \"W\"\n+  sc[4] = \"C\"\n+  sc[5] = \"T\"\n+  sc[6] = \"N\"\n+  sc[7] = \"R\"\n+  sc[8] = \"D\"\n+  sc[9] = \"S\"\n+  sc[10] = \"Z\"\n   scn = 11\n \n   #print out header\n"}
{"commit":"0e7fc6a7461671f27cae938e128b7818c7cc8a5e","subject":"Drop unused arguments.","message":"Drop unused arguments.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -1,9 +1,9 @@\n function printUrlQueryString(queryString, j)\n {\n-    split(queryString, pairs, \"&\", seps)\n+    split(queryString, pairs, \"&\")\n     len = length(pairs)\n     for (j = 1; j < len; ++j) {\n-        split(pairs[j], keyValue, \"=\", seps2)\n+        split(pairs[j], keyValue, \"=\")\n         k = keyValue[1]\n         v = keyValue[2]\n         printf \"\\t\\t\\\"%s\\\": \\\"%s\\\",\\n\", k, urlDecode(urlDecode(v))\n"}
{"commit":"cd0689722d91ee9cd361f126a0566cfa9af99a6b","subject":"TestUtils: case to fail newerVersion()","message":"TestUtils: case to fail newerVersion()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestUtils.awk\n+++ test\/TestUtils.awk\n@@ -21,9 +21,10 @@\n         assertEqual(Emacs, \"emacs\")\n     }\n \n-    T(\"newerVersion()\", 4)\n+    T(\"newerVersion()\", 5)\n     {\n         assertTrue(newerVersion(\"0.9\", \"0.8\"))\n+        assertTrue(newerVersion(\"0.9.0.1\", \"0.9.0\"))\n         assertTrue(newerVersion(\"1.0\", \"0.9.9999\"))\n         assertTrue(newerVersion(\"1.9.9999\", \"1.9.10\"))\n         assertTrue(newerVersion(\"2\", \"1.9.9999\"))\n"}
{"commit":"a5e01665e675c743061988b572ddb4599cbf90c1","subject":"REPL: support setting sl and tl by :set (fix #451)","message":"REPL: support setting sl and tl by :set (fix #451)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/REPL.awk\n+++ include\/REPL.awk\n@@ -68,7 +68,7 @@\n     # %s : source languages, separated by \"+\"\n     # 's' is the format-control character for string\n \n-    # %S : source languages (English names), seperated by \"+\"\n+    # %S : source languages (English names), separated by \"+\"\n     if (p ~ \/%S\/) {\n         temp = getName(Option[\"sls\"][1])\n         for (i = 2; i <= length(Option[\"sls\"]); i++)\n@@ -144,6 +144,15 @@\n         name = words[2]\n         value = words[3]\n         Option[name] = value\n+        # :set sl and :set tl should work as intended\n+        # TODO: support multiple language codes\n+        if (name == \"sl\") {\n+            delete Option[\"sls\"]\n+            Option[\"sls\"][1] = Option[\"sl\"]\n+        } else if (name == \"tl\") {\n+            delete Option[\"tl\"]\n+            Option[\"tl\"][1] = value\n+        }\n     } else if (command ~ \/^:show$\/) {\n         name = words[2]\n         print prettify(\"welcome-submessage\", toString(Option[name], 1, 0, 1))\n@@ -155,6 +164,8 @@\n         value = words[2]\n         Option[\"engine\"] = value\n         initHttpService()\n+    } else if (command ~ \/^:reset$\/) {\n+        # TODO: reset source and target languages, etc.\n     } else {\n         match(command, \/^[{(\\[]?((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?)?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?)?)[})\\]]?$\/, group)\n         if (RSTART) {\n"}
{"commit":"a6952986800fe73a2fab3adaebc80acfbb349be1","subject":"Added additional comments","message":"Added additional comments\n","repos":"aFewBits\/stc-led-clock,aFewBits\/stc-led-clock","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- segTable\/generate_all.awk\n+++ segTable\/generate_all.awk\n@@ -1,13 +1,12 @@\n #\r\n # generate_all\r\n #\r\n-# - input two seperate data files and output transliterated characters\r\n+# Read three input data files and output LED segment patterns in code form that\r\n+#  is included in the source stream for compliation\r\n #\r\n # file1 format is \"hexnum chars\" where hexnum = hex entry index, char = \"on\" led segmemts\r\n # file2 consists a index and a text string\r\n-# file3 is a template file for the output of the text strings after translation\r\n-#  into an LED segment pattern.\r\n-#  This output is then included in the source stream for complilation\r\n+# file3 is a template file for the output of the text strings\r\n #\r\n # file1 converts raw led segment letters to a translated hex number\r\n # which is stored in an array with the characters hex number being the index\r\n@@ -24,6 +23,8 @@\n #    <42>  bEE,P\r\n #\r\n # Where <41> is the pattern used for matching in the output template file.\r\n+#  See the comments in the file \"text_strings.txt\" for explaination of the\r\n+#   special codes used to generate different character attributes\r\n #\r\n # file3:\r\n #\r\n@@ -31,7 +32,7 @@\n #      <4F1>\r\n #      <4F2>\r\n #\r\n-# This template has <4F1> replaced with the hex code for string <41> with the character rotated\r\n+# The template file has <4F1> replaced with the hex code for string <41> with the character rotated\r\n # (flipped) 180 degrees. In other locations, you will see the index markers:\r\n #\r\n #  #else\r\n"}
{"commit":"e37f72f348c8535ddf5e1b64dee563b342f5fb79","subject":"Remove requirement for gawk in testsuite","message":"Remove requirement for gawk in testsuite\n\nswitch is a GNU extension - not supported, for example, by the default\ninstallation of awk on Ubuntu.\n","repos":"gerdstolpmann\/ocaml,eliberis\/ocaml,msprotz\/ocaml,msprotz\/ocaml,eliberis\/ocaml,eliberis\/ocaml,gerdstolpmann\/ocaml,eliberis\/ocaml,msprotz\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,msprotz\/ocaml,yunxing\/ocaml,eliberis\/ocaml,yunxing\/ocaml,msprotz\/ocaml","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- testsuite\/makefiles\/summarize.awk\n+++ testsuite\/makefiles\/summarize.awk\n@@ -117,18 +117,26 @@\n     }else{\n         if (!retries){\n             for (key in RESULTS){\n-                switch (RESULTS[key]) {\n-                case \"p\":\n+                r = RESULTS[key];\n+                if (r == \"p\"){\n                     ++ passed;\n-                    break\n-                case \"f\":\n+                }else if (r == \"f\"){\n                     ++ failed;\n                     fail[failidx++] = key;\n-                    break\n-                case \"e\":\n+                }else if (r == \"e\"){\n                     ++ unexped;\n                     unexp[unexpidx++] = key;\n-                    break\n+                }else if (r == \"s\"){\n+                    ++ skipped;\n+                    curdir = DIRS[key];\n+                    if (curdir in SKIPPED){\n+                        if (SKIPPED[curdir]){\n+                            SKIPPED[curdir] = 0;\n+                            skips[skipidx++] = curdir;\n+                        }\n+                    }else{\n+                        skips[skipidx++] = key;\n+                    }\n                 }\n             }\n             printf(\"\\n\");\n"}
{"commit":"3784d10959cc4bb8a6d32cda1f33cf056ac9e635","subject":"Filter successive - from labels","message":"Filter successive - from labels\n\nThis is a workaround for a Doxygen bug.\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doxy\/githublabels.awk\n+++ doxy\/githublabels.awk\n@@ -50,6 +50,20 @@\n }\n \n #\n+# Doxygen up to at least 1.8.16 chokes on successive - in labels.\n+#\n+line ~ \"#\" prefix {\n+\tcnt = split(line, a, \"#\" prefix)\n+\tline = a[1]\n+\tfor (i = 2; i <= cnt; ++i) {\n+\t\twhile (a[i] ~ \/^[-a-z0-9]*--[-a-z0-9]*\/) {\n+\t\t\tsub(\/--+\/, \"-\", a[i])\n+\t\t}\n+\t\tline = line \"#\" prefix a[i]\n+\t}\n+}\n+\n+#\n # Print the previous line, after a label might have been added.\n #\n {print line}\n"}
{"commit":"788370241f1fc592f45fbc64c010efdccd1652a7","subject":"reorder","message":"reorder\n","repos":"mockingbirdnest\/Principia,pleroy\/Principia,mockingbirdnest\/Principia,pleroy\/Principia,Norgg\/Principia,mockingbirdnest\/Principia,eggrobin\/Principia,eggrobin\/Principia,pleroy\/Principia,pleroy\/Principia,Norgg\/Principia,Norgg\/Principia,eggrobin\/Principia,mockingbirdnest\/Principia,Norgg\/Principia","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- horizons\/horizons.awk\n+++ horizons\/horizons.awk\n@@ -1,6 +1,3 @@\n-BEGIN {\n-  print \"principia_initial_state {\"\n-}\n function print_body() {\n   print \"  body {\"\n   print \"    name = \" body;\n@@ -11,6 +8,10 @@\n   print \"    vy = \" vy;\n   print \"    vz = \" vz;\n   print \"  }\"\n+}\n+\n+BEGIN {\n+  print \"principia_initial_state {\"\n }\n \/^Target body name:\/ {\n   body = $0;\n"}
{"commit":"17e84ef492c4de1093d602e21884b6306b193228","subject":"simplify","message":"simplify","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -47,11 +47,11 @@\n }\n \n ## NO CODING BELOW THIS POINT\n-coding { print \"###code???####\"; }\n+coding { print \"###code???####\"; next; }\n \n \n ## pragmas do not count\n-!coding && \/\\#labels\/ {\n+\/\\#labels\/ {\n   next;\n }\n \n@@ -80,7 +80,7 @@\n }\n \n ## empty lines do not count\n-!coding && \/^ *$\/ {\n+\/^ *$\/ {\n   next;\n }\n \n@@ -120,7 +120,7 @@\n }\n \n \n-!coding && \/^  \/ {\n+\/^  \/ {\n   print \"\\\\begin{quotation}\";\n   quoting = 1;\n   sub(\/^  \/, \"\");\n"}
{"commit":"b798241554c820a1145b76cb4a666a5f3b565db4","subject":"Edit headers","message":"Edit headers\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@17556 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -66,7 +66,7 @@\n     }\n     printf \"\\n\"\n   }\n-    printf \"Publisher\\tPlugin\\tContract\\tYear\\t%d\", tt\n+    printf \"Publisher\\tPlugin\\tContr\\tYear\\t%d\", tt\n     for (j = 0 ; j < sn ; j++) {\n     \tprintf \"\\t%d\", x[s[j]]\n     }\n"}
{"commit":"af0632b010c2d5b7607227cec1c1d9a1ee93f2a6","subject":"Add date to help sorting","message":"Add date to help sorting\n\nShows with multiple seasons and no season numbers could appear in wrong order\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxSeasonsFrom-webscraper.awk\n+++ getBritBoxSeasonsFrom-webscraper.awk\n@@ -48,8 +48,9 @@\n     sub (\/ Episodes?\/,\"\",NumEpisodes)\n \n     savedLine = sprintf \\\n-        (\"%s - %s\\t=HYPERLINK(\\\"%s\\\";\\\"%s, %s, %s\\\"\\)\\t%s\\t%s\\t%s\",\\\n-         showTitle, sortkey, URL, showTitle, sortkey, seasonTitle, Years, NumEpisodes, Description)\n+        (\"%s - %s %s\\t=HYPERLINK(\\\"%s\\\";\\\"%s, %s, %s\\\"\\)\\t%s\\t%s\\t%s\",\\\n+         showTitle, Years, sortkey, URL, showTitle, sortkey, seasonTitle, Years,\\\n+         NumEpisodes, Description)\n \n     # Make sure line doesn't start with a single quote so it sorts correctly in Open Office\n     sub (\/^'\/,\"\",savedLine)\n"}
{"commit":"1ca9e1845133cb34fb6b3c47561b86a0c283b650","subject":"Fix some typos in comments","message":"Fix some typos in comments\n","repos":"lonkamikaze\/bsda2,lonkamikaze\/bsda2","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- src\/buildflags.awk\n+++ src\/buildflags.awk\n@@ -22,7 +22,7 @@\n }\n \n ##\n-# This selects the first string from haystack that machthes regexp.\n+# This selects the first string from haystack that matches regexp.\n #\n # @param regexp\n #\tThe regular expression to match.\n@@ -54,7 +54,7 @@\n ##\n # Resolves paths at the beginning of a location pattern as\n # far as possible and prints the result. The string can\n-# contain several paths seperated by '|' and '&'.\n+# contain several paths separated by '|' and '&'.\n #\n # @param path\n #\tThe location pattern to resolve.\n@@ -97,7 +97,7 @@\n \t} else\n \t\tprintf(\"%s\", \"${.CURDIR:M\");\n \n-\t# Paths that do not begin with '\/' are never resolveable.\n+\t# Paths that do not begin with '\/' are never resolvable.\n \tif (path ~ \"^[^\/]\") {\n \t\tprintf(\"%s\", path \"}\");\n \t\treturn;\n@@ -109,7 +109,7 @@\n \t# Remember the part that cannot be resolved.\n \tsub(\"^\" path, \"\", pattern);\n \n-\t# If there is a resolveable part resolve it.\n+\t# If there is a resolvable part resolve it.\n \tif (path) {\n \t\t# If path exists, resolve and print it, else print the\n \t\t# original string.\n@@ -183,7 +183,7 @@\n \t# Spaces at the beginning are never required.\n \tsub(\"^[[:space:]]+\", \"\", line);\n \n-\t# Deal with comments. Comments behind parseable data will end up\n+\t# Deal with comments. Comments behind parsable data will end up\n \t# in the line in front of that data.\n \tif (line ~ \"^[^\\\"]*#\") {\n \t\t# Print the comment.\n@@ -205,7 +205,7 @@\n \n \t# Deal with quotes.\n \tif (line ~ \"\\\"\") {\n-\t\t# Check whether the assignment is properly formated.\n+\t\t# Check whether the assignment is properly formatted.\n \t\tif (line ~ \"[^[:space:]{}]+=[[:space:]]*\\\"\") {\n \t\t\t# Take whatever is in front of the assignment\n \t\t\t# and parse it.\n@@ -247,7 +247,7 @@\n \t\t# Open the new block.\n \t\tbeginBlock(substitute(\"{.*\", \"\", line));\n \n-\t\t# Pase whatever is inside.\n+\t\t# Parse whatever is inside.\n \t\tsub(\"[^{]*{\", \"\", line);\n \t\tif (isset(line))\n \t\t\tparse(line);\n@@ -279,7 +279,7 @@\n \tif (line ~ \"^![^[:space:]=]+\") {\n \t\t# Remove the negation symbol.\n \t\tline = substitute(\"^!\", \"\", line);\n-\t\t# Print the undefine command.\n+\t\t# Print the undefined command.\n \t\tprint(\".undef \" grep(\"^[^[:space:]=]+\", line));\n \n \t\t# Parse what follows.\n"}
{"commit":"878abbbd4768f537f5a1638e6290e0c23451f7da","subject":"tests: handle the case when all 64 process capability bits are set","message":"tests: handle the case when all 64 process capability bits are set\n\n* tests\/caps.awk: Handle the case when all bits of 64-bit capability\nword are set.\n","repos":"Infinitive-OS\/platform_external_strace,geekboxzone\/mmallow_external_strace,Distrotech\/strace,bnoordhuis\/strace,MonkeyZZZZ\/platform_external_strace,cuviper\/strace,Yu-AndroidM\/android_external_strace,Saruta\/strace,MonkeyZZZZ\/platform_external_strace,TeamExodus\/external_strace,MonkeyZZZZ\/platform_external_strace,kapdop\/android_external_strace,Distrotech\/strace,MonkeyZZZZ\/platform_external_strace,bigzz\/strace_android,geofft\/strace,TeamExodus\/external_strace,bnoordhuis\/strace,kapdop\/android_external_strace,Yu-AndroidM\/android_external_strace,YUPlayGodDev\/platform_external_strace,Saruta\/strace,Yu-AndroidM\/android_external_strace,YUPlayGodDev\/platform_external_strace,Yu-AndroidM\/android_external_strace,geekboxzone\/mmallow_external_strace,Distrotech\/strace,vrastogi\/strace,cuviper\/strace,AOSP-YU\/platform_external_strace,TeamExodus\/external_strace,Yu-AndroidM\/android_external_strace,MonkeyZZZZ\/platform_external_strace,geofft\/strace,AOSP-YU\/platform_external_strace,geekboxzone\/mmallow_external_strace,geofft\/strace,Infinitive-OS\/platform_external_strace,Distrotech\/strace,cuviper\/strace,bigzz\/strace_android,YUPlayGodDev\/platform_external_strace,kapdop\/android_external_strace,TeamExodus\/external_strace,Infinitive-OS\/platform_external_strace,vrastogi\/strace,bigzz\/strace_android,AOSP-YU\/platform_external_strace,Saruta\/strace,AOSP-YU\/platform_external_strace,Distrotech\/strace,bnoordhuis\/strace,AOSP-YU\/platform_external_strace,kapdop\/android_external_strace,kapdop\/android_external_strace,Infinitive-OS\/platform_external_strace,bigzz\/strace_android,YUPlayGodDev\/platform_external_strace,vrastogi\/strace,TeamExodus\/external_strace,Saruta\/strace,bnoordhuis\/strace,vrastogi\/strace,Saruta\/strace,geofft\/strace,geekboxzone\/mmallow_external_strace,YUPlayGodDev\/platform_external_strace,cuviper\/strace,vrastogi\/strace,geofft\/strace,Infinitive-OS\/platform_external_strace,bigzz\/strace_android,geekboxzone\/mmallow_external_strace,cuviper\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/caps.awk\n+++ tests\/caps.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n   fail = 0\n   lines = 3\n-  cap = \"(0|CAP_[A-Z_]+(\\\\|CAP_[A-Z_]+)*)\"\n+  cap = \"(0|CAP_[A-Z_]+(\\\\|CAP_[A-Z_]+)*|CAP_[A-Z_]+(\\\\|CAP_[A-Z_]+){37}\\\\|0xffffffc0)\"\n   capget = \"^capget\\\\(\\\\{_LINUX_CAPABILITY_VERSION_3, 0\\\\}, \\\\{\" cap \", \" cap \", \" cap \"\\\\}\\\\) = 0$\"\n }\n \n"}
{"commit":"118ebfab18cb093eb7009ae69c578c5ab3e14f89","subject":"INTEGRATION: CWS geordi2q12 (1.2.70); FILE MERGED 2004\/01\/06 14:18:33 hr 1.2.70.1: #111934#: merge CWS pp1numfor -> SRC680","message":"INTEGRATION: CWS geordi2q12 (1.2.70); FILE MERGED\n2004\/01\/06 14:18:33 hr 1.2.70.1: #111934#: merge CWS pp1numfor -> SRC680\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/currency-check.awk\n+++ i18npool\/source\/localedata\/data\/currency-check.awk\n@@ -31,10 +31,19 @@\n     sReplaceTo = \"\"\n     sMatchReplace = \"\"\n     sRefCurrencyFromLocale = \"\"\n+    crlf = 0\n }\n \n {\n     ++line\n+    # If run under Unix a CrLf spoils ...$ line end checks. DOS line endings\n+    # are boo anyways.\n+    if ( \/\\x0D$\/ )\n+    {\n+        print \"Error: not Unix line ending in line \" line\n+        crlf = 1\n+        exit(1)\n+    }\n     if ( $1 ~ \/^<LC_FORMAT$\/ )\n     {\n         if ( $0 ~ \/replaceFrom=\"\\[CURRENCY\\]\"\/ )\n@@ -121,7 +130,7 @@\n \n \n END {\n-    if ( file )\n+    if ( file && !crlf )\n         checkIt()\n }\n \n"}
{"commit":"48219b7b07e268002c08c95c6ec67f937a534fd3","subject":"Added Title to c1-4 output","message":"Added Title to c1-4 output\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -42,7 +42,9 @@\n     showtype = \"S\"\n \n     shortURL = URL\n+    sub (\/^\\\/us\\\/episode\\\/\/,\"\",shortURL)\n     episodeSeason = \"\"\n+    episodeNumber = \"\"\n     # Season 3, Episode 8\n     if (match (episodeTitle, \/^Season [[:digit:]]+|^Series [[:digit:]]+\/))\n         episodeSeason = substr(episodeTitle,8,RLENGTH-7)\n@@ -59,9 +61,8 @@\n         # Give precedence to season number in episodeTitle over season number in URL \n         if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n             revisedSeasons1 += 1\n-            sub (\/^\\\/us\\\/episode\\\/\/,\"\",shortURL)\n-            printf (\"==> Fixed c1 season: %02d-%02d\\t%s\\t%s\\n\", \\\n-                    seasonNumber, episodeSeason, shortURL, episodeTitle) >> ERROR_FILE\n+            printf (\"==> Fixed c1 season: %02d-%02d\\t%s\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n             seasonNumber = episodeSeason\n         }\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n@@ -73,8 +74,8 @@\n         revisedSeasons2 += 1\n         episodeSeason = Years\n         if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n-            printf (\"==> Fixed c2 season: %02d-%02d\\t%s\\t%s\\n\", \\\n-                    seasonNumber, episodeSeason, shortURL, episodeTitle) >> ERROR_FILE\n+            printf (\"==> Fixed c2 season: %02d-%02d\\t%s\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n             seasonNumber = episodeSeason\n         }\n         episodeNumber = substr(fld[nflds-1], 2)\n@@ -87,8 +88,8 @@\n         revisedSeasons3 += 1\n         seasonNumber = Years\n         if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n-            printf (\"==> Fixed c3 season: %02d-%02d\\t%s\\t%s\\n\", \\\n-                    seasonNumber, episodeSeason, shortURL, episodeTitle) >> ERROR_FILE\n+            printf (\"==> Fixed c3 season: %02d-%02d\\t%s\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n             seasonNumber = episodeSeason\n         }\n         episodeNumber = substr(fld[nflds-1], 1)\n@@ -102,6 +103,12 @@\n         # \/us\/episode\/Orkneys_Stone_Age_Temple_7144\n         # A History of Ancient Britain Special, Orkney's Stone Age Temple\n         sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n+        if (episodeSeason != \"\") {\n+            showtype = \"S\"\n+            sortkey = sprintf (\"%s%02dE%05d\", showtype, episodeSeason, fld[nflds])\n+            printf (\"==> Fixed c4 season: null-%02d\\t%s\\t%s\\t%s\\n\", \\\n+                    episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n+        }\n         c4Num += 1\n         outfile = \"BBox-scrapes\/c4-\" longdate \".csv\"\n         printf (\"c4\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c4Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n"}
{"commit":"b69e8cc4c88919acbd79286b2a95ec853518f749","subject":"ahrf.awk: Enable multi-space(s) after * for LIST_UL (validated)","message":"ahrf.awk: Enable multi-space(s) after * for LIST_UL (validated)\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -12,7 +12,7 @@\n \n # h1, h2, h3, h4, h5, h6\n \/^[\\t ]*:\/ {\n-\tmatch($0, \":+\")\n+\tmatch($0,\":+\")\n \tcnt = RLENGTH\n \tgsub(\/^[\\t ]*:+[\\t ]*|[\\t ]*:+[\\t ]*$\/,\"\")\n \t# length($0) would also work\n@@ -51,9 +51,11 @@\n \t\tgsub(\/^[\\t ]*\/,\"\",$l)\n \t\tif ($l ~ \/\\* +\/) {\n \t\t\t# Temporary!!!\n-\t\t\tgsub(\/\\* +\/,\"\",$l)\n-\t\t\t#str = substr($l,3)\n-\t\t\tprintf(\"\\t<li>%s<\/li>\\n\", $l)\n+\t\t\tmatch($l,\"\\\\* +\")\n+\t\t\tstr = substr($l,RSTART+RLENGTH)\n+\t\t\t# Debug\n+\t\t\t#print str\n+\t\t\tprintf(\"\\t<li>%s<\/li>\\n\", str)\n \t\t}\n \t}\n \tprintf(\"<\/ul>\\n\")\n@@ -65,7 +67,7 @@\n \tprintf(\"<ul>\\n\")\n \tfor (u=1; u<=NF; u++) {\n \t\tgsub(\/^[\\t ]*\/,\"\",$u)\n-\t\tif (match($u, \"\\\\[[0-9]+\\\\]\")) {\n+\t\tif (match($u,\"\\\\[[0-9]+\\\\]\")) {\n \t\t\t# RSTART can be replaced by 1, because we removed useless tabs\/spaces\n \t\t\tnum = substr($u,RSTART,RLENGTH)\n \t\t\turl = substr($u,RSTART+RLENGTH+1)\n"}
{"commit":"bdfb3adc44f4f4b448a186c55323b39d79e0c077","subject":"ahrf.awk: Enable code blocks with more than 4 equals","message":"ahrf.awk: Enable code blocks with more than 4 equals\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -29,9 +29,9 @@\n }\n \n # Code\n-\/^====\/ {\n-\tif (NF > 2 && $NF == \"====\") {\n-\t\tgsub(\/^[\\t ]*====[\\t ]*\\n|\\n[\\t ]*====[\\t ]*$\/,\"\")\n+\/^====+\/ {\n+\tif (NF > 2 && $NF ~ \/====+\/) {\n+\t\tgsub(\/^[\\t ]*====+[\\t ]*\\n|\\n[\\t ]*====+[\\t ]*$\/,\"\")\n \t\tprintf(\"<pre><code>\")\n \t\tfor (c=1; c<NF; c++) {\n \t\t\tgsub(\/^ +$\/,\"\",$c)\n"}
{"commit":"365324d2278bf4ac3bf61c832c6b6c5293bd708c","subject":"Ensure check for episode 00 handles string episodeNumber","message":"Ensure check for episode 00 handles string episodeNumber\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -278,7 +278,7 @@\n             seasonNumber = URLseasonNumber\n         }\n     }\n-    if (episodeNumber == 0)\n+    if ((episodeNumber + 0) == 0)\n         print \"==> Episode number is 00: \" episodeURL >> ERROR_FILE\n     printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, %s%02d%s%02d, %s\\\"\\)\\t\\t\\t%s\\n\", \\\n         SERIES_NUMBER, episodeURL, seriesTitle, showType, seasonNumber, episodeType, episodeNumber, \\\n"}
{"commit":"438231ee94a254e1e24bb8625cf40963eefd501d","subject":"OWD 29976.  Handle the right number of digits of MCC\/MNC in all cases","message":"OWD 29976.  Handle the right number of digits of MCC\/MNC in all cases\n","repos":"telefonicaid\/notification_server,telefonicaid\/notification_server,telefonicaid\/notification_server,telefonicaid\/notification_server,frsela\/notification_server,frsela\/notification_server,frsela\/notification_server,frsela\/notification_server,frsela\/notification_server,telefonicaid\/notification_server","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/load_mcc_mnc_onmongo.awk\n+++ scripts\/load_mcc_mnc_onmongo.awk\n@@ -53,7 +53,7 @@\n     }\n   }\n   if($3 != \"\" && $3+0 == $3) {\n-    mnc = $3\n+    mnc = sprintf(\"%03d\", $3)\n     complete_line = 1\n   }\n \n"}
{"commit":"05380cdd14044fd222d6c6e1980cf03b05867ba1","subject":"Fixes for dichotomic search code.","message":"Fixes for dichotomic search code.\n","repos":"JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -260,79 +260,85 @@\n \tprint \"    return model, output_vars\";\n \tprint \"\\n\";\n \n-\tprint \"def solve_dichotomic(param):\";\n-\tprint \"    model, output_vars = get_model()\";\n-\tif(output_vars) print \"    \" output_vars \" = output_vars\";\n-\tprint \"    lb = reallb = \" objective \".lb\";\n-\tprint \"    ub = realub = \" objective \".ub\";\n-\tprint \"    best_sol = (None, output_vars)\";\n-\tprint \"    dichotomic_sat = dichotomic_opt = False\";\n-\tprint \"    while lb < ub and time_remaining(param['tcutoff']) > param['dichtcutoff']:\";\n-\tprint \"        newobj = (lb + ub) \/ 2\";\n-\tprint \"        print lb, ub, newobj\";\n-\tprint \"        dummymodel, output_vars = get_model()\";\n-\tif(output_vars) print \"        \" output_vars \" = output_vars\";\n-\tif(objective_type == \"Minimize\"){\n-\t\tprint \"        dummymodel.add(\" objective \" > reallb)\";\n-\t\tprint \"        dummymodel.add(\" objective \" <= newobj)\";\n-\t} else if(objective_type == \"Maximize\"){\n-\t\tprint \"        dummymodel.add(\" objective \" <= realub)\";\n-\t\tprint \"        dummymodel.add(\" objective \" > newobj)\";\n-\t}\n-\tprint \"        dichparam = dict(param)\";\n-\tprint \"        dichparam['tcutoff'] = param['dichtcutoff']\";\n-\tprint \"        solver, output_vars = run_solve(dummymodel, output_vars, dichparam)\";\n-\tprint \"\";\n-\tif(objective_type == \"Minimize\"){\n-\t\tprint \"        if solver.is_opt():\";\n-\t\tprint \"            lb = reallb = \" objective \".get_value()\";\n-\t\tprint \"        if solver.is_sat():\";\n-\t\tprint \"            ub = \" objective \".get_value()\";\n-\t\tprint \"            best_sol = solver, output_vars\";\n-\t\tprint \"            dichotomic_sat = True\";\n-\t\tprint \"        elif solver.is_unsat():\";\n-\t\tprint \"            lb = reallb = newobj\";\n-\t\tprint \"        else:\";\n-\t\tprint \"            lb = newobj\";\n-\t\tprint \"    if reallb < ub:\";\n-\t} else if(objective_type == \"Maximize\"){\n-\t\tprint \"        if solver.is_opt():\";\n-\t\tprint \"            ub = realub = \" objective \".get_value()\";\n-\t\tprint \"        if solver.is_sat():\";\n-\t\tprint \"            lb = \" objective \".get_value()\";\n-\t\tprint \"            best_sol = solver, output_vars\";\n-\t\tprint \"            dichotomic_sat = True\";\n-\t\tprint \"        elif solver.is_unsat():\";\n-\t\tprint \"            ub = realub = newobj\";\n-\t\tprint \"        else:\";\n-\t\tprint \"            ub = newobj\";print \"\";\n-\t\tprint \"    if realub > lb:\";\n-\t}\n-\tprint \"        dummymodel, output_vars = get_model()\";\n-\tif(output_vars) print \"        \" output_vars \" = output_vars\";\n-\tif(objective_type == \"Minimize\"){\n-\t\tprint \"        dummymodel.add(\" objective \" > reallb)\";\n-\t\tprint \"        dummymodel.add(\" objective \" <= ub)\";\n-\t} else if(objective_type == \"Maximize\"){\n-\t\tprint \"        dummymodel.add(\" objective \" <= realub)\";\n-\t\tprint \"        dummymodel.add(\" objective \" > lb)\";\n-\t}\n-\tprint \"        tcutoff = time_remaining(param['tcutoff'])\";\n-\tprint \"        if tcutoff > 1.0:\";\n-\tprint \"            dichparam = dict(param)\";\n-\tprint \"            dichparam['tcutoff'] = tcutoff\";\n-\tprint \"            solver, output_vars = run_solve(dummymodel, output_vars, dichparam)\";\n-\tprint \"            if solver.is_sat():\";\n-    print \"                best_sol = solver, output_vars\";\n-\tprint \"    else:\";\n-\tprint \"        dichotomic_opt = True\";\n-\tprint \"\";\n-\tprint \"    if not solver.is_sat() and dichotomic_sat:\";\n-\tprint \"        best_sol[0].is_sat = lambda: True\";\n-\tprint \"        best_sol[0].is_unsat = lambda: False\";\n-\tprint \"        if dichotomic_opt:\";\n-\tprint \"            best_sol[0].is_opt = lambda: True\";\n-\tprint \"    return best_sol\";\n+\tif(objective){\n+\t\tprint \"def solve_dichotomic(param):\";\n+\t\tprint \"    model, output_vars = get_model()\";\n+\t\tif(output_vars) print \"    \" output_vars \" = output_vars\";\n+\t\tprint \"    lb = reallb = \" objective \".lb\";\n+\t\tprint \"    ub = realub = \" objective \".ub\";\n+\t\tprint \"    best_sol = (None, output_vars)\";\n+\t\tprint \"    dichotomic_sat = dichotomic_opt = False\";\n+\t\tif(objective_type == \"Minimize\"){\n+\t\t\tprint \"    while lb < ub - 1 and time_remaining(param['tcutoff']) > param['dichtcutoff']:\";\n+\t\t} else if(objective_type == \"Maximize\"){\n+\t\t\tprint \"    while lb + 1 < ub and time_remaining(param['tcutoff']) > param['dichtcutoff']:\";\n+\t\t}\n+\t\tprint \"        newobj = (lb + ub) \/ 2\";\n+\t\tprint \"        # print lb, ub, newobj\";\n+\t\tprint \"        dummymodel, output_vars = get_model()\";\n+\t\tif(output_vars) print \"        \" output_vars \" = output_vars\";\n+\t\tif(objective_type == \"Minimize\"){\n+\t\t\tprint \"        dummymodel.add(\" objective \" > reallb)\";\n+\t\t\tprint \"        dummymodel.add(\" objective \" <= newobj)\";\n+\t\t} else if(objective_type == \"Maximize\"){\n+\t\t\tprint \"        dummymodel.add(\" objective \" <= realub)\";\n+\t\t\tprint \"        dummymodel.add(\" objective \" > newobj)\";\n+\t\t}\n+\t\tprint \"        dichparam = dict(param)\";\n+\t\tprint \"        dichparam['tcutoff'] = param['dichtcutoff']\";\n+\t\tprint \"        solver, output_vars = run_solve(dummymodel, output_vars, dichparam)\";\n+\t\tprint \"\";\n+\t\tif(objective_type == \"Minimize\"){\n+\t\t\tprint \"        if solver.is_opt():\";\n+\t\t\tprint \"            lb = reallb = \" objective \".get_value() - 1\";\n+\t\t\tprint \"        if solver.is_sat():\";\n+\t\t\tprint \"            ub = \" objective \".get_value()\";\n+\t\t\tprint \"            best_sol = solver, output_vars\";\n+\t\t\tprint \"            dichotomic_sat = True\";\n+\t\t\tprint \"        elif solver.is_unsat():\";\n+\t\t\tprint \"            lb = reallb = newobj\";\n+\t\t\tprint \"        else:\";\n+\t\t\tprint \"            lb = newobj\";\n+\t\t\tprint \"    if reallb < ub - 1:\";\n+\t\t} else if(objective_type == \"Maximize\"){\n+\t\t\tprint \"        if solver.is_opt():\";\n+\t\t\tprint \"            ub = realub = \" objective \".get_value() + 1\";\n+\t\t\tprint \"        if solver.is_sat():\";\n+\t\t\tprint \"            lb = \" objective \".get_value()\";\n+\t\t\tprint \"            best_sol = solver, output_vars\";\n+\t\t\tprint \"            dichotomic_sat = True\";\n+\t\t\tprint \"        elif solver.is_unsat():\";\n+\t\t\tprint \"            ub = realub = newobj\";\n+\t\t\tprint \"        else:\";\n+\t\t\tprint \"            ub = newobj\";print \"\";\n+\t\t\tprint \"    if realub > lb + 1:\";\n+\t\t}\n+\t\tprint \"        dummymodel, output_vars = get_model()\";\n+\t\tif(output_vars) print \"        \" output_vars \" = output_vars\";\n+\t\tif(objective_type == \"Minimize\"){\n+\t\t\tprint \"        dummymodel.add(\" objective \" > reallb)\";\n+\t\t\tprint \"        dummymodel.add(\" objective \" <= ub)\";\n+\t\t} else if(objective_type == \"Maximize\"){\n+\t\t\tprint \"        dummymodel.add(\" objective \" <= realub)\";\n+\t\t\tprint \"        dummymodel.add(\" objective \" > lb)\";\n+\t\t}\n+\t\tprint \"        tcutoff = time_remaining(param['tcutoff'])\";\n+\t\tprint \"        if tcutoff > 1.0:\";\n+\t\tprint \"            dichparam = dict(param)\";\n+\t\tprint \"            dichparam['tcutoff'] = tcutoff\";\n+\t\tprint \"            solver, output_vars = run_solve(dummymodel, output_vars, dichparam)\";\n+\t\tprint \"            if solver.is_sat():\";\n+\t    print \"                best_sol = solver, output_vars\";\n+\t\tprint \"    else:\";\n+\t\tprint \"        dichotomic_opt = True\";\n+\t\tprint \"\";\n+\t\tprint \"    if not solver.is_sat() and dichotomic_sat:\";\n+\t\tprint \"        best_sol[0].is_sat = lambda: True\";\n+\t\tprint \"        best_sol[0].is_unsat = lambda: False\";\n+\t\tprint \"        if dichotomic_opt:\";\n+\t\tprint \"            best_sol[0].is_opt = lambda: True\";\n+\t\tprint \"    return best_sol\";\n+\t}\n \n \tprint \"\\n\";\n \tprint \"start_time = datetime.datetime.now()\\n\\n\";\n"}
{"commit":"44d7f95e1e2fb7d536df1484fc94e6691c17363c","subject":"LanguageData: Artificial Language -> Constructed language","message":"LanguageData: Artificial Language -> Constructed language\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -587,7 +587,7 @@\n     Locale[\"eo\"][\"synonyms\"]           = \"Sinonimoj\"\n     Locale[\"eo\"][\"examples\"]           = \"Ekzemploj\"\n     Locale[\"eo\"][\"see-also\"]           = \"Vidu anka\u016d\"\n-    Locale[\"eo\"][\"family\"]             = \"Artificial Language\"\n+    Locale[\"eo\"][\"family\"]             = \"Constructed language\"\n     Locale[\"eo\"][\"iso\"]                = \"epo\"\n     Locale[\"eo\"][\"glotto\"]             = \"espe1235\"\n     Locale[\"eo\"][\"script\"]             = \"Latn\"\n@@ -2067,7 +2067,7 @@\n     Locale[\"tlh\"][\"support\"]           = \"bing-only\"\n     Locale[\"tlh\"][\"name\"]              = \"Klingon\"\n     Locale[\"tlh\"][\"endonym\"]           = \"tlhIngan Hol\"\n-    Locale[\"tlh\"][\"family\"]            = \"Artificial Language\"\n+    Locale[\"tlh\"][\"family\"]            = \"Constructed language\"\n     Locale[\"tlh\"][\"iso\"]               = \"tlh\"\n     #Locale[\"tlh\"][\"glotto\"]\n     Locale[\"tlh\"][\"script\"]            = \"Latn\"\n@@ -2076,7 +2076,7 @@\n     Locale[\"tlh-Qaak\"][\"support\"]      = \"bing-only\"\n     Locale[\"tlh-Qaak\"][\"name\"]         = \"Klingon (pIqaD)\"\n     Locale[\"tlh-Qaak\"][\"endonym\"]      = \"\uf8e4\uf8d7\uf8dc\uf8d0\uf8db \uf8d6\uf8dd\uf8d9\"\n-    Locale[\"tlh-Qaak\"][\"family\"]       = \"Artificial Language\"\n+    Locale[\"tlh-Qaak\"][\"family\"]       = \"Constructed language\"\n     Locale[\"tlh-Qaak\"][\"iso\"]          = \"tlh\"\n     #Locale[\"tlh-Qaak\"][\"glotto\"]\n     Locale[\"tlh-Qaak\"][\"script\"]       = \"Piqd\"\n@@ -2146,7 +2146,7 @@\n     #Locale[\"ie\"][\"synonyms\"]\n     #Locale[\"ie\"][\"examples\"]\n     #Locale[\"ie\"][\"see-also\"]\n-    Locale[\"ie\"][\"family\"]             = \"Artificial Language\"\n+    Locale[\"ie\"][\"family\"]             = \"Constructed language\"\n     Locale[\"ie\"][\"iso\"]                = \"ile\"\n     Locale[\"ie\"][\"glotto\"]             = \"occi1241\"\n     Locale[\"ie\"][\"script\"]             = \"Latn\"\n@@ -2230,7 +2230,7 @@\n     #Locale[\"vo\"][\"synonyms\"]\n     #Locale[\"vo\"][\"examples\"]\n     #Locale[\"vo\"][\"see-also\"]\n-    Locale[\"vo\"][\"family\"]             = \"Artificial Language\"\n+    Locale[\"vo\"][\"family\"]             = \"Constructed language\"\n     Locale[\"vo\"][\"iso\"]                = \"vol\"\n     #Locale[\"vo\"][\"glotto\"]\n     Locale[\"vo\"][\"script\"]             = \"Latn\"\n"}
{"commit":"271fa87d31c47ae9a3cfe24c949e4d8a9ce0d9dc","subject":"Delete extraneous (Sn 1 Ep 1) on MHz","message":"Delete extraneous (Sn 1 Ep 1) on MHz\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -96,7 +96,7 @@\n         for (i = 1; i < numFields; ++i) {\n             fld[i] = substr(fld[i],1,1) tolower(substr(fld[i],2))\n             # uppercase the first character of any second word\n-            if (match (fld[i],\/ \/) > 0) {\n+            if (match (fld[i],\/ \/)) {\n                 fld[i] = substr(fld[i],1,RSTART) toupper(substr(fld[i],RSTART+1,1)) (substr(fld[i],RSTART+2))\n             }\n         }\n@@ -207,6 +207,16 @@\n     }\n     # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n     #\n+    # If there is a trailing (Sn 1 Ep 1), remove it\n+    # Handle normal (Sn 1 Ep 1) with variations in spacing and capitalization\n+    # and ones missing the second letter (Sn 1 E 1), (S1 E1), or wrong second letter (Sm 1 Ep 1)\n+    if (match (episodeTitle,\\\n+        \/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]{1,2}[ ]+[Ee][Pp]*[ ]*[[:digit:]]{1,3}[[:space:]]*\\)\/))  {\n+        sub (\/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]{1,2}[ ]+[Ee][Pp]*[ ]*[[:digit:]]{1,3}[[:space:]]*\\)\/,\\\n+             \"\",episodeTitle)\n+        # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n+    }\n+    #\n     # Default episodeType to \"E\"\n     episodeType = \"E\"\n     # If episode is a BONUS:, set episodeType to \"X\"\n"}
{"commit":"d2cdae30419a6576cf0d94cea05081bb02c802fd","subject":"cleanup printing, improve debugging","message":"cleanup printing, improve debugging\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -50,8 +50,8 @@\n     split ($0,fld,\"\\\"\")\n     contentType = fld[2]\n     contentId = fld[4]\n-    # print \"contentType = \" contentType  > \"\/dev\/stderr\"\n-    # print \"contentId = \" contentId  > \"\/dev\/stderr\"\n+    # print \"contentType = \" contentType > \"\/dev\/stderr\"\n+    # print \"contentId = \" contentId > \"\/dev\/stderr\"\n     # Make sure no fields will be carried over due to missing keys\n     sortkey = \"\"\n     title = \"\"\n@@ -79,7 +79,7 @@\n \/<title locale=\"en-US\">\/ {\n     split ($0,fld,\"[<>]\")\n     title = fld[3]\n-    # print \"title = \" title  > \"\/dev\/stderr\"\n+    # print \"title = \" title > \"\/dev\/stderr\"\n }\n \n # Grab genre\n@@ -87,7 +87,7 @@\n \/<genre>\/ {\n     split ($0,fld,\"[<>]\")\n     genre = fld[3]\n-    # print \"genre = \" genre  > \"\/dev\/stderr\"\n+    # print \"genre = \" genre > \"\/dev\/stderr\"\n }\n \n # Grab description\n@@ -95,7 +95,7 @@\n \/<description>\/ {\n     split ($0,fld,\"[<>]\")\n     description = fld[3]\n-    # print \"description = \" description  > \"\/dev\/stderr\"\n+    # print \"description = \" description > \"\/dev\/stderr\"\n }\n \n # Grab rating\n@@ -103,7 +103,7 @@\n \/<rating systemCode=\/ {\n     split ($0,fld,\"[<>]\")\n     rating = fld[3]\n-    # print \"rating = \" rating  > \"\/dev\/stderr\"\n+    # print \"rating = \" rating > \"\/dev\/stderr\"\n }\n \n # Grab type\n@@ -111,7 +111,7 @@\n \/<type>\/ {\n     split ($0,fld,\"[<>]\")\n     showType = fld[3]\n-    # print \"showType = \" showType  > \"\/dev\/stderr\"\n+    # print \"showType = \" showType > \"\/dev\/stderr\"\n }\n \n # Grab duration\n@@ -138,9 +138,9 @@\n     sub (\/original\/,\"\",dateType)\n     originalDate = fld[3]\n     year = substr (originalDate,1,4)\n-    # print \"dateType = \" dateType  > \"\/dev\/stderr\"\n-    # print \"originalDate = \" originalDate  > \"\/dev\/stderr\"\n-    # print \"year = \" year  > \"\/dev\/stderr\"\n+    # print \"dateType = \" dateType > \"\/dev\/stderr\"\n+    # print \"originalDate = \" originalDate > \"\/dev\/stderr\"\n+    # print \"year = \" year > \"\/dev\/stderr\"\n }\n \n # Grab showContentId\n@@ -148,7 +148,7 @@\n \/<showContentId>\/ {\n     split ($0,fld,\"[<>]\")\n     showContentId = fld[3]\n-    # print \"showContentId = \" showContentId  > \"\/dev\/stderr\"\n+    # print \"showContentId = \" showContentId > \"\/dev\/stderr\"\n }\n \n # Grab seasonContentId\n@@ -156,7 +156,7 @@\n \/<seasonContentId>\/ {\n     split ($0,fld,\"[<>]\")\n     seasonContentId = fld[3]\n-    # print \"seasonContentId = \" seasonContentId  > \"\/dev\/stderr\"\n+    # print \"seasonContentId = \" seasonContentId > \"\/dev\/stderr\"\n }\n \n # Grab seasonNumber\n@@ -164,7 +164,7 @@\n \/<seasonNumber>\/ {\n     split ($0,fld,\"[<>]\")\n     seasonNumber = fld[3]\n-    # print \"seasonNumber = \" seasonNumber  > \"\/dev\/stderr\"\n+    # print \"seasonNumber = \" seasonNumber > \"\/dev\/stderr\"\n }\n \n # Grab episodeNumber\n@@ -172,7 +172,7 @@\n \/<episodeNumber>\/ {\n     split ($0,fld,\"[<>]\")\n     episodeNumber = fld[3]\n-    # print \"episodeNumber = \" episodeNumber  > \"\/dev\/stderr\"\n+    # print \"episodeNumber = \" episodeNumber > \"\/dev\/stderr\"\n }\n \n # Grab EntityId from artwork\n@@ -181,7 +181,7 @@\n     sub (\/.*EntityId=&apos;\/,\"\")\n     sub (\/&apos.*\/,\"\")\n     EntityId = \"_\" $0\n-    # print \"EntityId = \" EntityId  > \"\/dev\/stderr\"\n+    # print \"EntityId = \" EntityId > \"\/dev\/stderr\"\n }\n \n # Do any special end of item processing, then print raw data spreadsheet row\n@@ -198,10 +198,10 @@\n             printf (\"==> Changed title '%s' to 'Porridge (2016-2017)'\\n\", title) >> ERROR_FILE\n             title = \"Porridge (2016-2017)\"\n         }\n-        # print \"==> title = \" title  > \"\/dev\/stderr\"\n-        # print \"==> contentId = \" contentId  > \"\/dev\/stderr\"\n-        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n-        # print \"---\"  > \"\/dev\/stderr\"\n+        # print \"==> title = \" title > \"\/dev\/stderr\"\n+        # print \"==> contentId = \" contentId > \"\/dev\/stderr\"\n+        # print \"==> EntityId = \" EntityId > \"\/dev\/stderr\"\n+        # print \"---\" > \"\/dev\/stderr\"\n     }\n \n     # \"A Midsummer Night's Dream\" needs to be revised to avoid duplicate names\n@@ -215,8 +215,8 @@\n             printf (\"==> Changed title '%s' to 'A Midsummer Night\\'s Dream (2016)'\\n\", title) >> ERROR_FILE\n             title = \"A Midsummer Night's Dream (2016)\"\n         }\n-        # print \"==> title = \" title  > \"\/dev\/stderr\"\n-        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n+        # print \"==> title = \" title > \"\/dev\/stderr\"\n+        # print \"==> EntityId = \" EntityId > \"\/dev\/stderr\"\n     }\n \n     # \"Maigret\" needs to be revised to clarify timeframe\n@@ -230,73 +230,86 @@\n             printf (\"==> Changed title '%s' to 'Maigret (2016\u20132017)'\\n\", title) >> ERROR_FILE\n             title = \"Maigret (2016\u20132017)\"\n         }\n-        # print \"==> title = \" title  > \"\/dev\/stderr\"\n-        # print \"==> originalDate = \" originalDate  > \"\/dev\/stderr\"\n-        # print \"==> contentId = \" contentId  > \"\/dev\/stderr\"\n-        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n-        # print \"---\"  > \"\/dev\/stderr\"\n+        # print \"==> title = \" title > \"\/dev\/stderr\"\n+        # print \"==> originalDate = \" originalDate > \"\/dev\/stderr\"\n+        # print \"==> contentId = \" contentId > \"\/dev\/stderr\"\n+        # print \"==> EntityId = \" EntityId > \"\/dev\/stderr\"\n+        # print \"---\" > \"\/dev\/stderr\"\n     }\n \n     if (EntityId == \"\") {\n         missingEntityIds += 1\n-        printf (\"==> Missing EntityId for %s %s '%s' in show %s\\n\", contentType, contentId, title, \\\n-                showContentId) >> ERROR_FILE\n+        printf (\"==> Missing EntityId for %s %s '%s' in show %s at line %d\\n\", contentType, contentId,\n+                title, showContentId, firstLineNum) >> ERROR_FILE\n         # Add missing EntityId\n         if (contentId == \"p07gnw9f\") {\n             EntityId = \"_23842\"\n             printf (\"==> Added EntityId %s for %s %s '%s' in show %s\\n\", EntityId, contentType, contentId,\n                     title, showContentId) >> ERROR_FILE\n-            # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n+            # print \"==> EntityId = \" EntityId > \"\/dev\/stderr\"\n         }\n     }\n \n     if (contentType == \"movie\") {\n+        countMovies += 1\n+        # print \"\\ntv_movie\" > \"\/dev\/stderr\"\n         # Wish I didn't have to do this, but \"movie\" is too common to be in a key field\n         contentType = \"tv_movie\"\n         sortkey = sprintf (\"%s (1) %s M%s\", title, originalDate, EntityId)\n-        # print \"movie sortkey = \" sortkey  > \"\/dev\/stderr\"\n+        # print \"sortkey = \" sortkey > \"\/dev\/stderr\"\n     }\n \n     if (contentType == \"tv_show\") {\n+        countShows += 1\n         # print \"\\ntv_show\" > \"\/dev\/stderr\"\n-        numShows += 1\n-        showArray[numShows] = contentId\n-        titleArray[numShows] = title\n+        showArray[countShows] = contentId\n+        titleArray[countShows] = title\n         sortkey = sprintf (\"%s (1) S%s\", title, EntityId)\n         # print \"sortkey = \" sortkey > \"\/dev\/stderr\"\n     }\n \n     if (contentType == \"tv_season\") {\n+        #xxx\n+        countSeasons += 1\n         # print \"\\ntv_season\" > \"\/dev\/stderr\"\n-        for ( i = 1; i <= numShows; i++ ) {\n+        for ( i = 1; i <= countShows; i++ ) {\n             if (showArray[i] == showContentId) {\n                 showTitle = titleArray[i]\n                 break\n             }\n         }\n         sortkey = sprintf (\"%s (2) S%02d\", showTitle, seasonNumber)\n-        # print \"sortkey = \" sortkey  > \"\/dev\/stderr\"\n+        # Check that showContentId was actually found - if not, put parens around showTitle in sortkey\n+        if (showArray[i] != showContentId) {\n+            missingShowContentIds += 1\n+            printf (\"==> Missing showContentId for %s %s '%s' in show %s at line %d\\n\", contentType,\n+                    contentId, title, showContentId, firstLineNum) >> ERROR_FILE\n+            sortkey = sprintf (\"(%s) (2) S%02d\", showTitle, seasonNumber)\n+        } \n+        # print \"sortkey = \" sortkey > \"\/dev\/stderr\"\n         # Compose title\n     }\n \n     if (contentType == \"tv_episode\") {\n-        # xxx\n+        countEpisodes += 1\n         # print \"\\ntv_episode\" > \"\/dev\/stderr\"\n-        for ( i = 1; i <= numShows; i++ ) {\n+        for ( i = 1; i <= countShows; i++ ) {\n             if (showArray[i] == showContentId) {\n                 showTitle = titleArray[i]\n                 break\n             }\n         }\n-        # Need to check that showContentId was actually found\n+        sortkey = sprintf (\"%s (2) S%02dE%03d %s\", showTitle, seasonNumber, episodeNumber,\n+                showContentId)\n+        # Check that showContentId was actually found - if not, put parens around showTitle in sortkey\n         if (showArray[i] != showContentId) {\n             missingShowContentIds += 1\n-            printf (\"==> Missing showContentId for %s %s '%s' in show %s\\n\", contentType, contentId, title, \\\n-                showContentId) >> ERROR_FILE\n-        }\n-        sortkey = sprintf (\"%s (2) S%02dE%03d %s\", showTitle, seasonNumber, \\\n-                episodeNumber, showContentId)\n-        # print \"sortkey = \" sortkey  > \"\/dev\/stderr\"\n+            printf (\"==> Missing showContentId for %s %s '%s' in show %s at line %d\\n\", contentType,\n+                    contentId, title, showContentId, firstLineNum) >> ERROR_FILE\n+            sortkey = sprintf (\"(%s) (2) S%02dE%03d %s\", showTitle, seasonNumber, episodeNumber,\n+                    showContentId)\n+        }\n+        # print \"sortkey = \" sortkey > \"\/dev\/stderr\"\n         # Compose title\n     }\n     \n@@ -305,26 +318,35 @@\n     # printf (\"Content_Type\\tContent_ID\\tEntity_ID\\tGenre\\tShow_Type\\tDate_Type\\tOriginal_Date\\t\")\n     # printf (\"Show_ID\\tSeason_ID\\tSn_#\\tEp_#\\t1st_#\\tLast_#\\n\")\n \n-    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%06d\\t%06d\\n\", \\\n-            sortkey, title, numSeasons, numEpisodes, duration, year, rating, description, \\\n-            contentType, contentId, EntityId, genre, showType, dateType, originalDate, \\\n+    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%06d\\t%06d\\n\",\n+            sortkey, title, numSeasons, numEpisodes, duration, year, rating, description,\n+            contentType, contentId, EntityId, genre, showType, dateType, originalDate,\n             showContentId, seasonContentId, seasonNumber, episodeNumber, firstLineNum, lastLineNum)\n }\n \n END {\n     printf (\"In getBBoxCatalogFrom-sitemap.awk\\n\") > \"\/dev\/stderr\"\n+\n     if (missingEntityIds > 0 ) {\n-        missingEntityIds == 1 ? field = \"EntityId\" : field = \"EntityIds\"\n-        printf (\"    %2d missing %s in %s\\n\", missingEntityIds, field, FILENAME) > \"\/dev\/stderr\"\n+        missingEntityIds == 1 ? plural = \"EntityId\" : plural = \"EntityIds\"\n+        printf (\"    %2d missing %s in %s\\n\", missingEntityIds, plural, FILENAME) > \"\/dev\/stderr\"\n     }\n     #\n     if (missingShowContentIds > 0 ) {\n-        missingShowContentIds == 1 ? field = \"showContentId\" : field = \"showContentIds\"\n-        printf (\"    %2d missing %s in %s\\n\", missingShowContentIds, field, FILENAME) > \"\/dev\/stderr\"\n+        missingShowContentIds == 1 ? plural = \"showContentId\" : plural = \"showContentIds\"\n+        printf (\"    %2d missing %s in %s\\n\", missingShowContentIds, plural, FILENAME) > \"\/dev\/stderr\"\n     }\n     #\n     if (revisedTitles > 0 ) {\n-        revisedTitles == 1 ? field = \"title\" : field = \"titles\"\n-        printf (\"    %2d %s revised in %s\\n\", revisedTitles, field, FILENAME) > \"\/dev\/stderr\"\n-    }\n-}\n+        revisedTitles == 1 ? plural = \"title\" : plural = \"titles\"\n+        printf (\"    %2d %s revised in %s\\n\", revisedTitles, plural, FILENAME) > \"\/dev\/stderr\"\n+    }\n+\n+    countMovies == 1 ? pluralMovies = \"movie\" : pluralMovies = \"movies\"\n+    countShows == 1 ? pluralShows = \"show\" : pluralShows = \"shows\"\n+    countSeasons == 1 ? pluralSeasons = \"season\" : pluralSeasons = \"seasons\"\n+    countEpisodes == 1 ? pluralEpisodes = \"episode\" : pluralEpisodes = \"episodes\"\n+    #\n+    printf (\"\\n    Processed %d %s, %d %s, %d %s, %d %s\\n\", countMovies, pluralMovies, countShows,\n+            pluralShows, countSeasons, pluralSeasons, countEpisodes, pluralEpisodes) > \"\/dev\/stderr\"\n+}\n"}
{"commit":"4842040e189ff059bddde5b56d6fc4f54ca25612","subject":"Change column names back to long version.","message":"Change column names back to long version.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@22341 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -51,17 +51,17 @@\n   s[10] = \"zapped\"\n   sn = 11\n   \n-  sc[0] = \"X\"\n-  sc[1] = \"E\"\n-  sc[2] = \"M\"\n-  sc[3] = \"W\"\n-  sc[4] = \"C\"\n-  sc[5] = \"T\"\n-  sc[6] = \"N\"\n-  sc[7] = \"R\"\n-  sc[8] = \"D\"\n-  sc[9] = \"S\"\n-  sc[10] = \"Z\"\n+  sc[0] = \"expe\"\n+  sc[1] = \"exis\"\n+  sc[2] = \"mani\"\n+  sc[3] = \"want\"\n+  sc[4] = \"craw\"\n+  sc[5] = \"test\"\n+  sc[6] = \"notR\"\n+  sc[7] = \"rele\"\n+  sc[8] = \"down\"\n+  sc[9] = \"supe\"\n+  sc[10] = \"zapp\"\n   scn = 11\n \n   #print out header\n"}
{"commit":"2870ca69997ff6c1293c7af4d44bf6ab66cd2271","subject":"Translate: make download_audio() support local files (fix for Bing TTS)","message":"Translate: make download_audio() support local files (fix for Bing TTS)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -149,11 +149,14 @@\n     url = _TTSUrl(text, tl)\n \n     if (Option[\"download-audio-as\"])\n-        curl(url, Option[\"download-audio-as\"])\n-    else {\n+        output = Option[\"download-audio-as\"]\n+    else\n         output = text \" [\" Option[\"engine\"] \"] (\" Option[\"narrator\"] \").ts\"\n+\n+    if (url ~ \/^\\\/\/)\n+        system(\"mv -- \" parameterize(url) \" \" parameterize(output))\n+    else\n         curl(url, output)\n-    }\n }\n \n # Get the translation of a string.\n"}
{"commit":"bdb5e894ef75c29719f8aff6eb638e42a4f7e8d3","subject":"Commons: header comment","message":"Commons: header comment\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -1,3 +1,8 @@\n+####################################################################\n+# Commons.awk                                                      #\n+#                                                                  #\n+# Commonly used functions for string and array operations, logging.#\n+####################################################################\n \n # Initialize `UrlEncoding`.\n # See: <https:\/\/en.wikipedia.org\/wiki\/Percent-encoding>\n@@ -223,7 +228,7 @@\n     print AnsiCode[\"gray\"] text AnsiCode[0] > \"\/dev\/stderr\"\n }\n \n-# Debug an array.\n+# Log an array.\n function da(array, formatString, sortedIn,\n             ####\n             i, j, saveSortedIn) {\n"}
{"commit":"5a6fe3f760c39528ed2804482b7d8fa37f0d20a8","subject":"INTEGRATION: CWS i18naddloc (1.3.2); FILE MERGED 2004\/06\/14 15:14:33 er 1.3.2.1: #i18069# entities may be indented, preceded by leading blanks","message":"INTEGRATION: CWS i18naddloc (1.3.2); FILE MERGED\n2004\/06\/14 15:14:33 er 1.3.2.1: #i18069# entities may be indented, preceded by leading blanks\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/currency-check.awk\n+++ i18npool\/source\/localedata\/data\/currency-check.awk\n@@ -74,7 +74,7 @@\n                 bFormatAuto = 0\n         }\n     }\n-    else if ( $0 ~ \/^<FormatCode>.*\\[\\$.*-[0-9a-fA-F]+\\]\/ ||\n+    else if ( $0 ~ \/^[[:blank:]]*<FormatCode>.*\\[\\$.*-[0-9a-fA-F]+\\]\/ ||\n             (sMatchReplace && $0 ~ sMatchReplace ) )\n     {\n         if ( sReplaceFrom )\n@@ -147,7 +147,7 @@\n         else\n             bSymbolCompati = 0\n     }\n-    else if ( $0 ~ \/^<CurrencySymbol>\/ )\n+    else if ( $0 ~ \/^[[:blank:]]*<CurrencySymbol>\/ )\n     {\n         split( $0, arr, \/<|>\/ )\n         if ( sRefCurrencyFromLocale )\n"}
{"commit":"0d19cc7f1ffc4feecf818d15f737d60a8c818c11","subject":"ahrf.awk: Implement <br> (not validated, will be done tomorrow)","message":"ahrf.awk: Implement <br> (not validated, will be done tomorrow)\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -24,7 +24,16 @@\n \n # Paragraph\n \/^[A-Za-z0-9_]+\/ {\n-\tprintf(\"<p>%s<\/p>\\n\\n\", $0)\n+\t#printf(\"<p>%s<\/p>\\n\\n\", $0)\n+\tprintf(\"<p>\")\n+\tfor (p=1; p<=NF; p++) {\n+\t\tif ($p ~ \/ +$\/) {\n+\t\t\tprintf(\"%s<br>\\n\", $p)\n+\t\t} else {\n+\t\t\tprintf(\"%s\\n\", $p)\n+\t\t}\n+\t}\n+\tprintf(\"<\/p>\\n\\n\")\n \tnext\n }\n \n"}
{"commit":"dd9a19f76ac4f12c1c6340e2b031c5637fa2c64d","subject":"minor","message":"minor\n","repos":"camwebb\/treemap","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- lib\/obs.awk\n+++ lib\/obs.awk\n@@ -144,7 +144,10 @@\n   while ((getline < \"obsdata\/data.csv\") > 0)\n \t{\n \t  parseXML(++n,$0);\n-\t  if (XML[n,\"tag\"] == f[\"tag\"]) XML[n, \"match\"] = 1; tagDataFound = 1;\n+\t  if (XML[n,\"tag\"] == f[\"tag\"]) \n+\t\t{\n+\t\t  XML[n, \"match\"] = 1; tagDataFound = 1;\n+\t\t}\n \t}\n \n   if ((f[\"tag\"] != \"\") && (tagDataFound != 1))\n"}
{"commit":"9262fa53d26801fc4b038854c1eae737a6126cec","subject":"MFC: Allow KMOD with hypens and dots.","message":"MFC: Allow KMOD with hypens and dots.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/fw_stub.awk\n+++ sys\/tools\/fw_stub.awk\n@@ -118,6 +118,8 @@\n \n cfilename = opt_c;\n ctmpfilename = cfilename \".tmp\";\n+modname = opt_m;\n+gsub(\/[-\\.]\/, \"_\", modname);\n \n printc(\"#include <sys\/param.h>\\\n #include <sys\/errno.h>\\\n@@ -139,7 +141,7 @@\n }\n \n printc(\"\\nstatic int\\n\"\\\n-opt_m \"_fw_modevent(module_t mod, int type, void *unused)\\\n+modname \"_fw_modevent(module_t mod, int type, void *unused)\\\n {\\\n \tconst struct firmware *fp, *parent;\\\n \tint error;\\\n@@ -206,14 +208,14 @@\n \treturn (EINVAL);\\\n }\\\n \\\n-static moduledata_t \" opt_m \"_fw_mod = {\\\n-        \\\"\" opt_m \"_fw\\\",\\\n-        \" opt_m \"_fw_modevent,\\\n+static moduledata_t \" modname \"_fw_mod = {\\\n+        \\\"\" modname \"_fw\\\",\\\n+        \" modname \"_fw_modevent,\\\n         0\\\n };\\\n-DECLARE_MODULE(\" opt_m \"_fw, \" opt_m \"_fw_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);\\\n-MODULE_VERSION(\" opt_m \"_fw, 1);\\\n-MODULE_DEPEND(\" opt_m \"_fw, firmware, 1, 1, 1);\\\n+DECLARE_MODULE(\" modname \"_fw, \" modname \"_fw_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);\\\n+MODULE_VERSION(\" modname \"_fw, 1);\\\n+MODULE_DEPEND(\" modname \"_fw, firmware, 1, 1, 1);\\\n \");\n \n if (opt_c)\n"}
{"commit":"14bae589e04352738c47b5cbb5d0b00af158e200","subject":"2014-06-21 20:39: parsegaspriceshtml.awk: Rearranged much code. Delete leading spaces.","message":"2014-06-21 20:39: parsegaspriceshtml.awk: Rearranged much code. Delete leading spaces.\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -27,6 +27,7 @@\n    sub(\"<\/dd>[ ]*$\",\"\")\n    sub(\"&amp;\",\"\\\\&\")\n    address[i,ai[i]]=$0\n+   sub(\"^[ ]*\",\"\",address[i,ai[i]])\n    # print \"address[\"ai[i]\"]=\"address[i,ai[i]]\n    ai[i]++\n }\n@@ -58,24 +59,13 @@\n \n inGasPriceRecord && \/<a href=\"\\\/Profile[.]aspx[?]member=\/ {\n    sub(\"^.*<a href=\\\"\/Profile[.]aspx[?]member=\",\"\")\n-   sub(\"\\\".*$\",\"\")\n-   reporter[i]=$0\n-   # print\n-}\n-\n-inGasPriceRecord && expectRelativeTime {\n-   expectRelativeTime=False\n-   sub(\"^[ ]*\",\"\")\n-   sub(\"[ ]ago[ ]*$\",\"\")\n-   timeAgo[i]=$0\n-   # print\n-}\n-\n-inGasPriceRecord && \/<div class=\"tm\" \/ {\n-   sub(\"^[ ]*<div class=\\\"tm\\\" title=\\\"\",\"\")\n-   sub(\"\\\">[ ]*$\",\"\")\n-   time[i]=$0\n-   expectRelativeTime=True\n+   sub(\"\\\".*title=\\\"\",\",\")\n+   sub(\"\\\"> \",\",\")\n+   sub(\"<.*$\",\"\")\n+   split($0,foo,\",\")\n+   reporter[i]=foo[1]\n+   time[i]=foo[2]\n+   timeAgo[i]=foo[3]\n    # print\n }\n \n"}
{"commit":"05c528907fcae3c1e33a15ba572fef5661cf158a","subject":"Languages: add getDisplay(code)","message":"Languages: add getDisplay(code)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1231,6 +1231,11 @@\n # Return the endonym of a language.\n function getEndonym(code) {\n     return Locale[getCode(code)][\"endonym\"]\n+}\n+\n+# Return the string for displaying the endonym of a language.\n+function getDisplay(code) {\n+    return Locale[getCode(code)][\"display\"]\n }\n \n # Return formatted text for \"translations of\".\n"}
{"commit":"f8562cb7b443aa2bffa9fe03ed766c7657be27ac","subject":"Translate: postResponse()","message":"Translate: postResponse()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -128,6 +128,46 @@\n     return assert(content, \"[ERROR] Null response.\")\n }\n \n+# Send an HTTP POST request and return response from an online translator.\n+function postResponse(text, sl, tl, hl, type,\n+                      ####\n+                      content, contentLength, contentType, group,\n+                      header, isBody, reqBody, url) {\n+    url = _PostRequestUrl(text, sl, tl, hl, type)\n+    contentType = _PostRequestContentType(text, sl, tl, hl, type)\n+    reqBody = _PostRequestBody(text, sl, tl, hl, type)\n+    if (DumpContentengths[reqBody])\n+        contentLength = DumpContentengths[reqBody]\n+    else\n+        contentLength = DumpContentengths[reqBody] = dump(reqBody, group)\n+\n+    header = \"POST \" url \" HTTP\/1.1\\r\\n\"                  \\\n+        \"Host: \" HttpHost \"\\r\\n\"                          \\\n+        \"Connection: close\\r\\n\"                           \\\n+        \"Content-Length: \" contentLength \"\\r\\n\"           \\\n+        \"Content-Type: \" contentType \"\\r\\n\"     # must!\n+    if (Option[\"user-agent\"])\n+        header = header \"User-Agent: \" Option[\"user-agent\"] \"\\r\\n\"\n+    if (Cookie)\n+        header = header \"Cookie: \" Cookie \"\\r\\n\"\n+    if (HttpAuthUser && HttpAuthPass)\n+        # TODO: digest auth\n+        header = header \"Proxy-Authorization: Basic \" HttpAuthCredentials \"\\r\\n\"\n+\n+    content = NULLSTR; isBody = 0\n+    print (header \"\\r\\n\" reqBody) |& HttpService\n+    while ((HttpService |& getline) > 0) {\n+        if (isBody)\n+            content = content ? content \"\\r\\n\" $0 : $0\n+        else if (length($0) <= 1)\n+            isBody = 1\n+        l(sprintf(\"%4s bytes > %s\", length($0), $0))\n+    }\n+    close(HttpService)\n+\n+    return assert(content, \"[ERROR] Null response.\")\n+}\n+\n # Print a string (to output file or terminal pager).\n function p(string) {\n     if (Option[\"view\"])\n"}
{"commit":"c2e5d31bf15a6838ec5d07ed9efad80b56b6a84e","subject":"don't hardcode array indexes and add a line that's in some files","message":"don't hardcode array indexes and add a line that's in some files\n","repos":"rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/remove_license_block-helper.awk\n+++ utils\/remove_license_block-helper.awk\n@@ -9,24 +9,25 @@\n \tPRE_BLOCK = \"(\/\\\\* *|# *(\/\\\\* *)?)?\";\n \tPOST_BLOCK = \" *(\\\\*\/)?\";\n \n-\tBLOCK[ 0] = PRE_BLOCK \"\\\\*\\\\*\\\\*\\\\*\\\\* BEGIN LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\*\";\n-\tBLOCK[ 1] = X;\n-\tBLOCK[ 2] = X \"BBN Address and AS Number PKI Database\/repository software\";\n-\tBLOCK[ 3] = X \"Version [^ ]*\";\n-\tBLOCK[ 4] = X;\n-\tBLOCK[ 5] = X \"US government users are permitted unrestricted rights as\";\n-\tBLOCK[ 6] = X \"defined in the FAR.\";\n-\tBLOCK[ 7] = X;\n-\tBLOCK[ 8] = X \"This software is distributed on an \\\"AS IS\\\" basis, WITHOUT\";\n-\tBLOCK[ 9] = X \"WARRANTY OF ANY KIND, either express or implied.\";\n-\tBLOCK[10] = X;\n-\tBLOCK[11] = X \"Copyright .*\";\n-\tBLOCK[12] = X;\n-\tBLOCK[13] = X \"Contributor(\\\\(s\\\\)|s)?: .*\";\n-\tBLOCK[14] = X;\n-\tBLOCK[15] = X \"\\\\*\\\\*\\\\*\\\\*\\\\* END LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\*\" POST_BLOCK;\n+\tBLOCK_END = 0;\n \n-\tBLOCK_END = 15;\n+\tBLOCK[BLOCK_END++] = PRE_BLOCK \"\\\\*\\\\*\\\\*\\\\*\\\\* BEGIN LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\*\";\n+\tBLOCK[BLOCK_END++] = X;\n+\tBLOCK[BLOCK_END++] = X \"BBN Address and AS Number PKI Database\/repository software\";\n+\tBLOCK[BLOCK_END++] = X \"Version [^ ]*\";\n+\tBLOCK[BLOCK_END++] = X;\n+\tBLOCK[BLOCK_END++] = X \"US government users are permitted unrestricted rights as\";\n+\tBLOCK[BLOCK_END++] = X \"defined in the FAR.\";\n+\tBLOCK[BLOCK_END++] = X;\n+\tBLOCK[BLOCK_END++] = X \"This software is distributed on an \\\"AS IS\\\" basis, WITHOUT\";\n+\tBLOCK[BLOCK_END++] = X \"WARRANTY OF ANY KIND, either express or implied.\";\n+\tBLOCK[BLOCK_END++] = X;\n+\tBLOCK[BLOCK_END++] = X \"Copyright .*\";\n+\tBLOCK[BLOCK_END++] = X \"All Rights Reserved.\";\n+\tBLOCK[BLOCK_END++] = X;\n+\tBLOCK[BLOCK_END++] = X \"Contributor(\\\\(s\\\\)|s)?: .*\";\n+\tBLOCK[BLOCK_END++] = X;\n+\tBLOCK[BLOCK_END++] = X \"\\\\*\\\\*\\\\*\\\\*\\\\* END LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\*\" POST_BLOCK;\n }\n \n {\n"}
{"commit":"1798899792d034654cb4eccc04f6f02097f02c25","subject":"Fix getMHzFromSitemap after site changed","message":"Fix getMHzFromSitemap after site changed\n\n<div class=\"duration-container is-locked\">44:15<\/div>\n\nHas been split into 6 lines.\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -172,17 +172,28 @@\n }\n \n # Episode Duration(s)\n+# Used to be on one line\n #    <div class=\"duration-container is-locked\">44:15<\/div>\n+#\n+# Now it's on six\n+#    <div class=\"duration-container\n+#      is-locked\n+#      \"\n+#    >\n+#      47:58\n+#    <\/div>\n # Extract the duration\n-\/<div class=\"duration-container\/ {\n-    split ($0,fld,\"[<>]\")\n-    episodeDuration = fld[3]\n-    gsub (\/ \/,\"\",episodeDuration)\n+\/<div class=\"duration-container\/,\/<\\\/div>\/ {\n+    gsub (\/ \/,\"\")\n+    if ($0 ~ \/[[:digit:]]+:[[:digit:]]+\/)\n+        episodeDuration = $0\n     # Spreadsheets decipher 2 part durations as time-of-day so make sure they're 3 parts\n     if (split (episodeDuration, tm, \":\") == 2)\n         episodeDuration = \"00:\" episodeDuration\n-    # print \"==> episodeDuration = \" episodeDuration > \"\/dev\/stderr\"\n-    next\n+    if ($0 ~ \/<\\\/div>\/) {\n+        # print \"==> episodeDuration = \" episodeDuration > \"\/dev\/stderr\"\n+        next\n+    }\n }\n \n # Episode Title(s)\n"}
{"commit":"7258adc454ab2496a7c8e012603f43c0a764f732","subject":"Languages: add Uyghur language","message":"Languages: add Uyghur language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -366,6 +366,20 @@\n     Locale[\"tt\"][\"iso\"]                = \"tat\"\n     Locale[\"tt\"][\"glotto\"]             = \"tata1255\"\n     Locale[\"tt\"][\"script\"]             = \"Cyrl\"\n+\n+    #? Uyghur\n+    Locale[\"ug\"][\"name\"]               = \"Uyghur\"\n+    Locale[\"ug\"][\"endonym\"]            = \"\u0626\u06c7\u064a\u063a\u06c7\u0631 \u062a\u0649\u0644\u0649\"\n+    #Locale[\"ug\"][\"translations-of\"]\n+    #Locale[\"ug\"][\"definitions-of\"]\n+    #Locale[\"ug\"][\"synonyms\"]\n+    #Locale[\"ug\"][\"examples\"]\n+    #Locale[\"ug\"][\"see-also\"]\n+    Locale[\"ug\"][\"family\"]             = \"Turkic\"\n+    Locale[\"ug\"][\"iso\"]                = \"uig\"\n+    Locale[\"ug\"][\"glotto\"]             = \"uigh1240\"\n+    Locale[\"ug\"][\"script\"]             = \"Arab\"\n+    Locale[\"ug\"][\"rtl\"]                = \"true\" # RTL language\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"08433a435310e4b69de5e8b404d6fb7acb78085d","subject":"Languages: add Twi","message":"Languages: add Twi\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1641,6 +1641,20 @@\n     Locale[\"tk\"][\"iso\"]                = \"tuk\"\n     Locale[\"tk\"][\"glotto\"]             = \"turk1304\"\n     Locale[\"tk\"][\"script\"]             = \"Latn\"\n+\n+    # Twi\n+    Locale[\"tw\"][\"name\"]               = \"Twi\"\n+    Locale[\"tw\"][\"name2\"]              = \"Akan Kasa\"\n+    Locale[\"tw\"][\"endonym\"]            = \"Twi\"\n+    #Locale[\"tw\"][\"translations-of\"]\n+    #Locale[\"tw\"][\"definitions-of\"]\n+    #Locale[\"tw\"][\"synonyms\"]\n+    #Locale[\"tw\"][\"examples\"]\n+    #Locale[\"tw\"][\"see-also\"]\n+    Locale[\"tw\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"tw\"][\"iso\"]                = \"twi\"\n+    Locale[\"tw\"][\"glotto\"]             = \"akua1239\"\n+    Locale[\"tw\"][\"script\"]             = \"Latn\"\n \n     #98 Ukrainian\n     Locale[\"uk\"][\"name\"]               = \"Ukrainian\"\n"}
{"commit":"3a566fcca1f23170e98bc2d1ebff8185cfef62be","subject":"Languages: show Wikipedia article in getDetails()","message":"Languages: show Wikipedia article in getDetails()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1359,23 +1359,26 @@\n }\n \n # Return detailed information of a language as a string.\n-function getDetails(code,    group, ws, iso) {\n+function getDetails(code,    group, iso, language, script) {\n     if (code == \"auto\" || !getCode(code))\n         return prettify(\"languages\", sprintf(\"%-22s%s\\n\", \"Unknown code\", ansi(\"bold\", code)))\n \n-    ws = scriptName(getScript(code))\n-    if (isRTL(code)) ws = ws \" (R-to-L)\"\n+    script = scriptName(getScript(code))\n+    if (isRTL(code)) script = script \" (R-to-L)\"\n     split(getISO(code), group, \"-\")\n     iso = group[1]\n+    split(getName(code), group, \" \")\n+    language = group[1]\n     return sprintf(\"%s\\n\", prettify(\"translation\", getDisplay(code)))   \\\n-        prettify(\"languages\",                                           \\\n+        prettify(\"languages\",\n                  sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getName(code))) \\\n                  sprintf(\"%-22s%s\\n\", \"Family\", ansi(\"bold\", getFamily(code))) \\\n-                 sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", ws)) \\\n+                 sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", script)) \\\n                  sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code))) \\\n                  sprintf(\"%-22s%s\\n\", \"ISO 639-3\", ansi(\"bold\", iso))   \\\n                  sprintf(\"%-22s%s\\n\", \"Ethnologue\", ansi(\"bold\", \"http:\/\/www.ethnologue.com\/language\/\" iso)) \\\n-                 sprintf(\"%-22s%s\", \"Glottolog\", ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code))))\n+                 sprintf(\"%-22s%s\\n\", \"Glottolog\", ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code))) \\\n+                 sprintf(\"%-22s%s\", \"Wikipedia\", ansi(\"bold\", \"http:\/\/en.wikipedia.org\/wiki\/\" language \"_language\")))\n }\n \n # Add \/slashes\/ for IPA phonemic notations and (parentheses) for others.\n"}
{"commit":"654fa66395c480d817f6abe69e4c8b3f7cf1f383","subject":"Languages: add Sepedi","message":"Languages: add Sepedi\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1333,6 +1333,21 @@\n     Locale[\"gd\"][\"glotto\"]             = \"scot1245\"\n     Locale[\"gd\"][\"script\"]             = \"Latn\"\n \n+    #80 Sepedi (Northern Sotho)\n+    Locale[\"nso\"][\"name\"]              = \"Sepedi\"\n+    Locale[\"nso\"][\"name2\"]             = \"Pedi\"\n+    Locale[\"nso\"][\"name3\"]             = \"Northern Sotho\"\n+    Locale[\"nso\"][\"endonym\"]           = \"Sepedi\"\n+    #Locale[\"nso\"][\"translations-of\"]\n+    #Locale[\"nso\"][\"definitions-of\"]\n+    #Locale[\"nso\"][\"synonyms\"]\n+    #Locale[\"nso\"][\"examples\"]\n+    #Locale[\"nso\"][\"see-also\"]\n+    Locale[\"nso\"][\"family\"]            = \"Atlantic-Congo\"\n+    Locale[\"nso\"][\"iso\"]               = \"nso\"\n+    Locale[\"nso\"][\"glotto\"]            = \"nort3233\"\n+    Locale[\"nso\"][\"script\"]            = \"Latn\"\n+\n     #79a Serbian, Cyrillic alphabet\n     Locale[\"sr-Cyrl\"][\"name\"]          = \"Serbian (Cyrillic)\"\n     Locale[\"sr-Cyrl\"][\"endonym\"]       = \"\u0441\u0440\u043f\u0441\u043a\u0438\"\n@@ -1362,6 +1377,8 @@\n \n     #80 Sesotho (Southern Sotho)\n     Locale[\"st\"][\"name\"]               = \"Sesotho\"\n+    Locale[\"st\"][\"name2\"]              = \"Sotho\"\n+    Locale[\"st\"][\"name3\"]              = \"Southern Sotho\"\n     Locale[\"st\"][\"endonym\"]            = \"Sesotho\"\n     Locale[\"st\"][\"translations-of\"]    = \"Liphetolelo tsa %s\"\n     Locale[\"st\"][\"definitions-of\"]     = \"Meelelo ea %s\"\n"}
{"commit":"8f898f7bafc982812a58c8a4ef7eff991998c214","subject":"Translate: fix auto dictionary mode","message":"Translate: fix auto dictionary mode\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -248,7 +248,9 @@\n \n         if (!anything(oPhonetics)) wShowOriginalPhonetics = 0\n         if (!anything(phonetics)) wShowTranslationPhonetics = 0\n-        if (il == tl && (isarray(oWordClasses) || isarray(oSynonymClasses))) {\n+        if (getCode(il) == getCode(tl) &&                               \\\n+            (isarray(oWordClasses) || isarray(oSynonymClasses) ||       \\\n+             isarray(oExamples) || isarray(oSeeAlso))) {\n             wShowOriginalDictionary = 1\n             wShowTranslation = 0\n         }\n"}
{"commit":"d8568fb31a22a352fe85df86c99b57b0ac6bfe2a","subject":"build.awk: no quotes for RHS of =~ regexp matching (as of bash 3.2, fix #179)","message":"build.awk: no quotes for RHS of =~ regexp matching (as of bash 3.2, fix #179)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -171,7 +171,7 @@\n             print \"#\" > Trans\n         }\n \n-        print \"if ! [[ $LANG =~ '[UTF|utf]-?8$' ]]; then export LANG=en_US.UTF-8; fi\" > Trans\n+        print \"if [[ ! $LANG =~ (UTF|utf)-?8$ ]]; then export LANG=en_US.UTF-8; fi\" > Trans\n \n         print \"read -r -d '' TRANS_PROGRAM << 'EOF'\" > Trans\n         print readSqueezed(EntryPoint, TRUE) > Trans\n"}
{"commit":"f9121fb21bba414701a021dd7d9a02cac9542753","subject":"testsuite: remove non-portable awk idiom; remove overlong source lines in awk script","message":"testsuite: remove non-portable awk idiom; remove overlong source lines in awk script\n","repos":"yunxing\/ocaml,msprotz\/ocaml,eliberis\/ocaml,yunxing\/ocaml,eliberis\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,msprotz\/ocaml,gerdstolpmann\/ocaml,eliberis\/ocaml,yunxing\/ocaml,msprotz\/ocaml,msprotz\/ocaml,eliberis\/ocaml,eliberis\/ocaml,yunxing\/ocaml,msprotz\/ocaml,gerdstolpmann\/ocaml","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- testsuite\/makefiles\/summarize.awk\n+++ testsuite\/makefiles\/summarize.awk\n@@ -24,6 +24,7 @@\n \n function record_pass() {\n     check();\n+    if (!(key in RESULTS)) ++nresults;\n     RESULTS[key] = \"p\";\n     delete SKIPPED[curdir];\n     clear();\n@@ -31,6 +32,7 @@\n \n function record_skip() {\n     check();\n+    if (!(key in RESULTS)) ++nresults;\n     RESULTS[key] = \"s\";\n     if (curdir in SKIPPED) SKIPPED[curdir] = 1;\n     clear();\n@@ -41,6 +43,7 @@\n function record_fail() {\n     check();\n     if (!(key in RESULTS) || RESULTS[key] == \"s\"){\n+        if (!(key in RESULTS)) ++nresults;\n         RESULTS[key] = \"f\";\n     }\n     delete SKIPPED[curdir];\n@@ -49,6 +52,7 @@\n \n function record_unexp() {\n     if (!(key in RESULTS) || RESULTS[key] == \"s\"){\n+        if (!(key in RESULTS)) ++nresults;\n         RESULTS[key] = \"e\";\n     }\n     delete SKIPPED[curdir];\n@@ -151,13 +155,18 @@\n             }\n             printf(\"\\n\");\n             printf(\"Summary:\\n\");\n-            printf(\"  %3d test%s passed\\n\", passed, (passed == 1 ? \"\" : \"s\"));\n-            printf(\"  %3d test%s skipped\\n\", skipped, (skipped == 1 ? \"\" : \"s\"));\n-            printf(\"  %3d test%s failed\\n\", failed, (failed == 1 ? \"\" : \"s\"));\n-            printf(\"  %3d unexpected error%s\\n\", unexped, (unexped == 1 ? \"\" : \"s\"));\n-            printf(\"  %3d tests considered%s\\n\", length(RESULTS), (length(RESULTS) != passed + skipped + failed + unexped ? \" (totals don't add up??)\": \"\"));\n+            printf(\"  %3d tests passed\\n\", passed);\n+            printf(\"  %3d tests skipped\\n\", skipped);\n+            printf(\"  %3d tests failed\\n\", failed);\n+            printf(\"  %3d unexpected errors\\n\", unexped);\n+            printf(\"  %3d tests considered\", nresults);\n+            if (nresults == passed + skipped + failed + unexped){\n+                printf (\"\\n\");\n+            }else{\n+                printf (\" (totals don't add up??)\");\n+            }\n             if (reran != 0){\n-                printf(\"  %3d test dir re-run%s\\n\", reran, (reran == 1 ? \"\" : \"s\"));\n+                printf(\"  %3d test dir re-runs\\n\", reran);\n             }\n             if (failed != 0){\n                 printf(\"\\nList of failed tests:\\n\");\n"}
{"commit":"e7eedf869b99d0db16ec64894f20763b7f3e2e72","subject":"msg_parser.awk: just generate list of extra headers","message":"msg_parser.awk: just generate list of extra headers\n\nAllocate extended parser dynamically.\n\ndarcs-hash:20070919223945-65a35-675870ddebc0c986e0d5098f7fbb9b15530e8768.gz\n","repos":"BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -604,7 +604,9 @@\n       print_parser_table(s, \"\", m, without_experimental, basic);\n    }\n \n-    \/* Hash extra headers *\/\n+   if (0) {\n+\n+   \/* Hash extra headers *\/\n    for (i = basic; i < total; i++) {\n       n = headers[i];\n       h = hashed[n];\n@@ -629,8 +631,23 @@\n       s = \"_e_\" module \"_s\";\n       print_parser_table(s, \"static\", m, without_experimental, total);\n     }\n-    \n-    printf(\"msg_mclass_t const * %s_extended_mclass = %s;\\n\", module, m) > PT;\n+\n+    printf(\"msg_mclass_t const * %s_extended_mclass = %s;\\n\\n\", module, m) > PT;\n+\n+    }\n+\n+    if (basic < total) {\n+      printf(\"msg_hclass_t const * const %s_extensions[] = {\\n\", module) > PT;\n+      for (i = basic; i < total; i++) {\n+\tif (i == without_experimental) {\n+\t  print \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n+        }\n+\tprintf(\"  %s_%s_class,\\n\", module, headers[i]) > PT;\n+      }\n+      if (total != without_experimental)\n+\tprint \"#endif\" > PT;\n+      print \"  NULL\\n};\\n\\n\" > PT;\n+    }\n   }\n \n   exit success;\n"}
{"commit":"e20ad1cf9b820a063a4caba88b6864079942254b","subject":"REPL: add command :engine","message":"REPL: add command :engine\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/REPL.awk\n+++ include\/REPL.awk\n@@ -138,6 +138,10 @@\n     } else if (command ~ \/^:show$\/) {\n         name = words[2]\n         print prettify(\"welcome-submessage\", toString(Option[name], 1, 0, 1))\n+    } else if (command ~ \/^:engine$\/) {\n+        value = words[2]\n+        Option[\"engine\"] = value\n+        initHttpService()\n     } else {\n         match(command, \/^[{(\\[]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?)?)[})\\]]?$\/, group)\n         if (RSTART) {\n"}
{"commit":"df07ec51ea238960a84a088776fca49309b061bb","subject":"Languages: add Bhojpuri","message":"Languages: add Bhojpuri\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -171,6 +171,19 @@\n     Locale[\"bn\"][\"iso\"]                = \"ben\"\n     Locale[\"bn\"][\"glotto\"]             = \"beng1280\"\n     Locale[\"bn\"][\"script\"]             = \"Beng\"\n+\n+    # Bhojpuri\n+    Locale[\"bho\"][\"name\"]              = \"Bhojpuri\"\n+    Locale[\"bho\"][\"endonym\"]           = \"\u092d\u094b\u091c\u092a\u0941\u0930\u0940\"\n+    #Locale[\"bho\"][\"translations-of\"]\n+    #Locale[\"bho\"][\"definitions-of\"]\n+    #Locale[\"bho\"][\"synonyms\"]\n+    #Locale[\"bho\"][\"examples\"]\n+    #Locale[\"bho\"][\"see-also\"]\n+    Locale[\"bho\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"bho\"][\"iso\"]               = \"bho\"\n+    Locale[\"bho\"][\"glotto\"]            = \"bhoj1246\"\n+    Locale[\"bho\"][\"script\"]            = \"Deva\"\n \n     #10 Bosnian, Latin alphabet\n     Locale[\"bs\"][\"name\"]               = \"Bosnian\"\n"}
{"commit":"4a34655f81551dc223ae2af34c85aa798c2b455b","subject":"Languages: improve getDetails()","message":"Languages: improve getDetails()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -2279,6 +2279,11 @@\n # Return the family of a language.\n function getFamily(code) {\n     return Locale[getCode(code)][\"family\"]\n+}\n+\n+# Return the branch of a language.\n+function getBranch(code) {\n+    return Locale[getCode(code)][\"branch\"]\n }\n \n # Return the ISO 639-3 code of a language.\n@@ -2355,8 +2360,49 @@\n     }\n }\n \n+# Return the regions that a language is spoken in, as an English string.\n+function getSpokenIn(code,    i, j, r, regions, str) {\n+    r = NULLSTR\n+    str = Locale[getCode(code)][\"spoken-in\"]\n+    if (str) {\n+        split(str, regions, \/\\s?;\\s?\/)\n+        j = 0\n+        for (i in regions) {\n+            r = r regions[i]\n+            j++\n+            if (j < length(regions) - 1)\n+                r = r \", \"\n+            else if (j == length(regions) - 1)\n+                r = r \" and \"\n+        }\n+    }\n+    return r\n+}\n+\n+# Return 1 if a language is supported by Google; otherwise return 0.\n+function isSupportedByGoogle(code,    engines, i, str) {\n+    str = Locale[getCode(code)][\"supported-by\"]\n+    if (str) {\n+        split(str, engines, \/\\s?;\\s?\/)\n+        for (i in engines)\n+            if (engines[i] == \"google\") return 1\n+    }\n+    return 0\n+}\n+\n+# Return 1 if a language is supported by Bing; otherwise return 0.\n+function isSupportedByBing(code,    engines, i, str) {\n+    str = Locale[getCode(code)][\"supported-by\"]\n+    if (str) {\n+        split(str, engines, \/\\s?;\\s?\/)\n+        for (i in engines)\n+            if (engines[i] == \"bing\") return 1\n+    }\n+    return 0\n+}\n+\n # Return detailed information of a language as a string.\n-function getDetails(code,    group, iso, script) {\n+function getDetails(code,    article, desc, group, iso, script) {\n     if (code == \"auto\" || !getCode(code)) {\n         e(\"[ERROR] Language not found: \" code \"\\n\"                      \\\n           \"        Run '-reference \/ -R' to see a list of available languages.\")\n@@ -2367,6 +2413,15 @@\n     if (isRTL(code)) script = script \" (R-to-L)\"\n     split(getISO(code), group, \"-\")\n     iso = group[1]\n+\n+    if (getBranch(code)) {\n+        article = match(tolower(getBranch(code)), \/^[aeiou]\/) ? \"an\" : \"a\"\n+        desc = sprintf(\"%s is %s %s language spoken mainly in %s.\",\n+                       getNames(code), article, getBranch(code), getSpokenIn(code))\n+    } else\n+        desc = sprintf(\"%s is a language of the %s family, spoken mainly in %s.\",\n+                       getNames(code), getFamily(code), getSpokenIn(code))\n+\n     return ansi(\"bold\", sprintf(\"%s\\n\", getDisplay(code)))              \\\n         sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getNames(code)))      \\\n         sprintf(\"%-22s%s\\n\", \"Family\", ansi(\"bold\", getFamily(code)))   \\\n@@ -2376,7 +2431,12 @@\n         sprintf(\"%-22s%s\\n\", \"SIL\", ansi(\"bold\", \"https:\/\/iso639-3.sil.org\/code\/\" iso)) \\\n         sprintf(\"%-22s%s\\n\", \"Glottolog\", getGlotto(code) ?\n                 ansi(\"bold\", \"https:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code)) : \"\") \\\n-        sprintf(\"%-22s%s\", \"Wikipedia\", ansi(\"bold\", \"https:\/\/en.wikipedia.org\/wiki\/ISO_639:\" iso))\n+        sprintf(\"%-22s%s\\n\", \"Wikipedia\", ansi(\"bold\", \"https:\/\/en.wikipedia.org\/wiki\/ISO_639:\" iso)) \\\n+        (Locale[getCode(code)][\"supported-by\"] ? # FIXME\n+        sprintf(\"%-22s%s\\n\", \"Translator support\", sprintf(\"Google [%s]    Bing [%s]\",\n+                isSupportedByGoogle(code) ? \"\u2714\" : \"\u2718\", isSupportedByBing(code) ? \"\u2714\" : \"\u2718\")) : \"\") \\\n+        (Locale[getCode(code)][\"spoken-in\"] ? # FIXME\n+        ansi(\"bold\", sprintf(\"\\n%s\", desc)) : \"\")\n }\n \n # Add \/slashes\/ for IPA phonemic notations and (parentheses) for others.\n"}
{"commit":"319cf2d33012733badae8c4a5733a8b1351e186d","subject":"Removed whoami from msg\/msg_parser.awk.","message":"Removed whoami from msg\/msg_parser.awk.\n\nwhoami is not used.\n\ndarcs-hash:20051031155729-65a35-5229485651f8ef3710c3e11b0f865291ba02c5fb.gz\n","repos":"jart\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -37,7 +37,6 @@\n \n BEGIN {\n   \"date '+%a %b %e %H:%M:%S %Y'\" | getline date;\n-  \"whoami\" | getline whoami;\n \n   ascii =\t\t\t       \\\n      \"                               \" \\\n"}
{"commit":"6d983dfa048d6f6c89b397838688f1cb93882a97","subject":"Main: update default user-agent","message":"Main: update default user-agent\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -59,10 +59,11 @@\n     # Networking\n     Option[\"proxy\"] = ENVIRON[\"HTTP_PROXY\"] ? ENVIRON[\"HTTP_PROXY\"] : ENVIRON[\"http_proxy\"]\n     Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"] ? ENVIRON[\"USER_AGENT\"] :\n-        \"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_4) \"   \\\n+        \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) \"         \\\n         \"AppleWebKit\/537.36 (KHTML, like Gecko) \"            \\\n-        \"Chrome\/81.0.4044.138 \"                              \\\n-        \"Safari\/537.36\"\n+        \"Chrome\/104.0.0.0 \"                                  \\\n+        \"Safari\/537.36 \"                                     \\\n+        \"Edg\/104.0.1293.54\"\n     Option[\"ip-version\"] = 0\n \n     # Interactive shell\n"}
{"commit":"b2e4ddf7284134cd92d8fb6775b43658571d9a90","subject":"added total traffic column","message":"added total traffic column\n","repos":"djw8605\/condor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,htcondor\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_ckpt_server\/xfer_log.awk\n+++ src\/condor_ckpt_server\/xfer_log.awk\n@@ -67,14 +67,15 @@\n     qsort(Users, 0, num_users-1);\n     printf(\"\\nCheckpoint Server Transfer Log Data from %s %s to %s %s\\n\\n\",\n \t   StartDate, StartTime, EndDate, EndTime);\n-    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s\\n\",\n-\t   \"\", \"Send\", \"Send\", \"Receive\", \"Receive\", \"Total\", \"Total\");\n-    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s\\n\",\n+    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s %9.9s\\n\",\n+\t   \"\", \"Send\", \"Send\", \"Receive\", \"Receive\", \"Total\", \"Total\",\n+\t   \"Total\");\n+    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s %9.9s\\n\",\n \t   \"\", \"Bandwidth\", \"Success\", \"Bandwidth\", \"Success\", \"Bandwidth\",\n-\t   \"Success\");\n-    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s\\n\\n\",\n+\t   \"Success\", \"Traffic\");\n+    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s %9.9s\\n\\n\",\n \t   \"User\/Host\/Subnet\", \"(Mb\/s)\", \"Rate\", \"(Mb\/s)\", \"Rate\", \"(Mb\/s)\",\n-\t   \"Rate\");\n+\t   \"Rate\", \"(MB)\");\n     for (i=0; i < num_users; i++) {\n \tUser = Users[i];\n \tBytes = BytesSent[User] + BytesRecvd[User];\n@@ -82,14 +83,15 @@\n \tAttempted = AttemptedSends[User] + AttemptedRecvs[User];\n \tCompleted = CompletedSends[User] + CompletedRecvs[User];\n \tif (TimeSending[User] > 0 && TimeReceiving[User] > 0) {\n-\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%%\\n\",\n+\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%% %9.0f\\n\",\n \t\t   User,\n \t\t   BytesSent[User]*8\/TimeSending[User]\/1024\/1024,\n \t\t   CompletedSends[User]\/AttemptedSends[User]*100,\n \t\t   BytesRecvd[User]*8\/TimeReceiving[User]\/1024\/1024,\n \t\t   CompletedRecvs[User]\/AttemptedRecvs[User]*100,\n \t\t   Bytes*8\/Time\/1024\/1024,\n-\t\t   Completed\/Attempted*100);\n+\t\t   Completed\/Attempted*100,\n+\t\t   (BytesSent[User]+BytesRecvd[User])\/1024\/1024);\n \t}\n     }\n     printf(\"\\n\");\n@@ -100,14 +102,15 @@\n \tAttempted = AttemptedSends[Host] + AttemptedRecvs[Host];\n \tCompleted = CompletedSends[Host] + CompletedRecvs[Host];\n \tif (TimeSending[Host] > 0 && TimeReceiving[Host] > 0) {\n-\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%%\\n\",\n+\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%% %9.0f\\n\",\n \t\t   Host,\n \t\t   BytesSent[Host]*8\/TimeSending[Host]\/1024\/1024,\n \t\t   CompletedSends[Host]\/AttemptedSends[Host]*100,\n \t\t   BytesRecvd[Host]*8\/TimeReceiving[Host]\/1024\/1024,\n \t\t   CompletedRecvs[Host]\/AttemptedRecvs[Host]*100,\n \t\t   Bytes*8\/Time\/1024\/1024,\n-\t\t   Completed\/Attempted*100);\n+\t\t   Completed\/Attempted*100,\n+\t\t   (BytesSent[Host]+BytesRecvd[Host])\/1024\/1024);\n \t}\n \tTotalBytesSent += BytesSent[Host];\n \tTotalBytesRecvd += BytesRecvd[Host];\n@@ -126,14 +129,15 @@\n \tAttempted = AttemptedSends[Subnet] + AttemptedRecvs[Subnet];\n \tCompleted = CompletedSends[Subnet] + CompletedRecvs[Subnet];\n \tif (TimeSending[Subnet] > 0 && TimeReceiving[Subnet] > 0) {\n-\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%%\\n\",\n+\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%% %9.0f\\n\",\n \t\t   Subnet,\n \t\t   BytesSent[Subnet]*8\/TimeSending[Subnet]\/1024\/1024,\n \t\t   CompletedSends[Subnet]\/AttemptedSends[Subnet]*100,\n \t\t   BytesRecvd[Subnet]*8\/TimeReceiving[Subnet]\/1024\/1024,\n \t\t   CompletedRecvs[Subnet]\/AttemptedRecvs[Subnet]*100,\n \t\t   Bytes*8\/Time\/1024\/1024,\n-\t\t   Completed\/Attempted*100);\n+\t\t   Completed\/Attempted*100,\n+\t\t   (BytesSent[Subnet]+BytesRecvd[Subnet])\/1024\/1024);\n \t}\n     }\n     TotalBytes = TotalBytesSent + TotalBytesRecvd;\n@@ -141,14 +145,15 @@\n     TotalAttempted = TotalAttemptedSends + TotalAttemptedRecvs;\n     TotalCompleted = TotalCompletedSends + TotalCompletedRecvs;\n     if (TotalTimeSending > 0 && TotalTimeReceiving > 0) {\n-\tprintf(\"\\n%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%%\\n\\n\",\n+\tprintf(\"\\n%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%% %9.0f\\n\\n\",\n \t       \"Overall\",\n \t       TotalBytesSent*8\/TotalTimeSending\/1024\/1024,\n \t       TotalCompletedSends\/TotalAttemptedSends*100,\n \t       TotalBytesRecvd*8\/TotalTimeReceiving\/1024\/1024,\n \t       TotalCompletedRecvs\/TotalAttemptedRecvs*100,\n \t       TotalBytes*8\/TotalTime\/1024\/1024,\n-\t       TotalCompleted\/TotalAttempted*100);\n+\t       TotalCompleted\/TotalAttempted*100,\n+\t       (TotalBytesSent+TotalBytesRecvd)\/1024\/1024);\n     }\n     printf(\"\\n%-16.16s %25.25s %25.25s\\n\\n\", \"User\", \"MB Sent\", \"MB Received\");\n     for (i=0; i < num_users; i++) {\n"}
{"commit":"9a5dfa6191270829e17ce1aa20440f201a4b5394","subject":"Languages: remove links to Ethnologue due to its absurd paywall","message":"Languages: remove links to Ethnologue due to its absurd paywall\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1920,7 +1920,7 @@\n         sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", script))    \\\n         sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code)))       \\\n         sprintf(\"%-22s%s\\n\", \"ISO 639-3\", ansi(\"bold\", iso))            \\\n-        sprintf(\"%-22s%s\\n\", \"Ethnologue\", ansi(\"bold\", \"http:\/\/www.ethnologue.com\/language\/\" iso)) \\\n+        sprintf(\"%-22s%s\\n\", \"SIL\", ansi(\"bold\", \"http:\/\/www-01.sil.org\/iso639-3\/documentation.asp?id=\" iso)) \\\n         sprintf(\"%-22s%s\\n\", \"Glottolog\", getGlotto(code) ?\n                 ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code)) : \"\") \\\n         sprintf(\"%-22s%s\", \"Wikipedia\", ansi(\"bold\", \"http:\/\/en.wikipedia.org\/wiki\/\" language))\n"}
{"commit":"9fe1b0384386cba42150579223658a2bdec992e5","subject":"reduce redundant namespace, keep vars local","message":"reduce redundant namespace, keep vars local\n","repos":"TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -33,7 +33,7 @@\n \n # this may need to be called more than once since\n # some identifiers may have embedded delimiters other uri use differently\n-function stripid(uri){\n+function stripid(uri,  delim, char, max, c, l){\n \t# <_:blanknode> are not allowed in ntriples (but may happen anyway)\n \tif(0 < match(uri, \/^_:|^https:\\\/\\\/monarchinitiative.org\\\/.well-known\\\/genid\\\/\/))\n \t\treturn \"BNODE\"\n@@ -66,9 +66,10 @@\n }\n \n # if possible, find a shorter form for the input\n-function contract(uri){\n+function contract(uri,  u){\n \tu = uri\n \t# shorten till longest uri in curi map is found (or not)\n+\n \twhile(!(u in prefix) &&  length(u))\n \t\tu = stripid(substr(u,1,length(u)-1))\n \tif(u in prefix)\n@@ -80,13 +81,24 @@\n }\n \n # get the final (incl fragment identifier) portion of a slashed path\n-function final(uri){\n+function final(uri,  b, p, anchor){\n \tsplit(uri, b, \"\/\")\n \tp = b[length(b)]\n \tanchor = match(p, \"#\")\n \tif(anchor > 0)\n \t\tp = substr(p, anchor+1)\n \treturn p\n+}\n+\n+# fix curie namespace when redundant due to OBO  i.e RO:RO_123\n+\n+function deoboify(curie,  a){\n+\tsplit(curie, a , \":\")\n+\tif(match(a[2], a[1]) > 0){\n+\t\tsub(\"_\", \":\", a[2]);\n+\t\tcurie=a[2]\n+\t}\n+\treturn curie\n }\n \n BEGIN{\n@@ -226,7 +238,7 @@\n \t\tedge=sortlist[i]\n \t\tsplit(edge ,spo, SUBSEP);\n \t\tprint simplify(spo[1]) \" -> \" simplify(spo[3]) \\\n-\t\t\" [label=\\\"\" spo[2] \" (\" edgelist[edge] \")\\\"];\"\n+\t\t\" [label=\\\"\" deoboify(spo[2]) \" (\" edgelist[edge] \")\\\"];\"\n \t}\n \tprint \"LITERAL [shape=record];\"\n \tprint \"labelloc=\\\"t\\\";\"\n"}
{"commit":"01815be4e169e502ee49662652c6e6299946acd0","subject":"Canonicalize headers","message":"Canonicalize headers\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxEpisodesFrom-webscraper.awk\n+++ getBritBoxEpisodesFrom-webscraper.awk\n@@ -8,7 +8,7 @@\n \n BEGIN {\n     FS=\"\\t\"\n-    print \"Sortkey\\tTitle\\t\\tDuration\\tYear(s)\\tRating\\tDescription\"\n+    print \"Sortkey\\tTitle\\tSeasons\\tDuration\\tYear(s)\\tRating\\tDescription\"\n }\n \n {\n"}
{"commit":"23637568ad0c9b5ab0ad27d2f2f26d1e9282c527","subject":"x86: Fix kprobes build with non-gawk awk","message":"x86: Fix kprobes build with non-gawk awk\n\nThe instruction attribute table generator fails when run by mawk\nor original-awk:\n\n $ mawk -f arch\/x86\/tools\/gen-insn-attr-x86.awk \\\n\tarch\/x86\/lib\/x86-opcode-map.txt > \/dev\/null\n Semantic error at 240: Second IMM error\n $ echo $?\n 1\n\nLine 240 contains \"c8: ENTER Iw,Ib\", which indicates that this\ninstruction has two immediate operands, the second of which is\none byte.  The script loops through the immediate operands using\na for loop.\n\nUnfortunately, there is no guarantee in awk that a for (variable\nin array) loop will return the indices in increasing order.\nInternally, both original-awk and mawk iterate over a hash table\nfor this purpose, and both implementations happen to produce the\nindex 2 before 1.  The supposed second immediate operand is more\nthan one byte wide, producing the error.\n\nSo loop over the indices in increasing order instead.  As a\nside-effect, with mawk this means the silly two-entry hash table\nnever has to be built.\n\nSigned-off-by: Jonathan Nieder <b57189c5f2fd5b3daf3350a77fde90def1080fa5@gmail.com>\nAcked-by Masami Hiramatsu <mhiramat@redhat.com>\nCc: Jim Keniston <40777a9d59bdf69ed7abf1ca5dad3b4d30e1b574@us.ibm.com>\nCc: Frederic Weisbecker <e8a1bf9163cb25e93cfd6540f223b3872ea7ee55@gmail.com>\nLKML-Reference: <26cf0542126de8d37615a34e557bc03782ddd8d2@progeny.tock>\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>\n","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- arch\/x86\/tools\/gen-insn-attr-x86.awk\n+++ arch\/x86\/tools\/gen-insn-attr-x86.awk\n@@ -226,12 +226,12 @@\n }\n \n # convert operands to flags.\n-function convert_operands(opnd,       i,imm,mod)\n+function convert_operands(count,opnd,       i,j,imm,mod)\n {\n \timm = null\n \tmod = null\n-\tfor (i in opnd) {\n-\t\ti  = opnd[i]\n+\tfor (j = 1; j <= count; j++) {\n+\t\ti = opnd[j]\n \t\tif (match(i, imm_expr) == 1) {\n \t\t\tif (!imm_flag[i])\n \t\t\t\tsemantic_error(\"Unknown imm opnd: \" i)\n@@ -282,8 +282,8 @@\n \t\t# parse one opcode\n \t\tif (match($i, opnd_expr)) {\n \t\t\topnd = $i\n-\t\t\tsplit($(i++), opnds, \",\")\n-\t\t\tflags = convert_operands(opnds)\n+\t\t\tcount = split($(i++), opnds, \",\")\n+\t\t\tflags = convert_operands(count, opnds)\n \t\t}\n \t\tif (match($i, ext_expr))\n \t\t\text = $(i++)\n"}
{"commit":"1dad000480077fb65f57086bb24e49b04184fecd","subject":"fix copyright headers","message":"fix copyright headers\n","repos":"BMJHayward\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,kbrock\/graphviz,jho1965us\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- awk\/colortbl.awk\n+++ awk\/colortbl.awk\n@@ -1,7 +1,16 @@\n-# Copyright (c) AT&T Corp. 1994, 1995.\n-# This code is licensed by AT&T Corp.  For the\n-# terms and conditions of the license, see\n-# http:\/\/www.research.att.com\/orgs\/ssr\/book\/reuse\n+#\n+# \/**********************************************************\n+# *      This software is part of the graphviz package      *\n+# *                http:\/\/www.graphviz.org\/                 *\n+# *                                                         *\n+# *            Copyright (c) 1994-2005 AT&T Corp.           *\n+# *                and is licensed under the                *\n+# *            Common Public License, Version 1.0           *\n+# *                      by AT&T Corp.                      *\n+# *                                                         *\n+# *        Information and Software Systems Research        *\n+# *              AT&T Research, Florham Park NJ             *\n+# **********************************************************\/\n \n function rgb_to_hsb(r,g,b) {\n \tr = r \/ 255.0; g = g \/ 255.0; b = b \/ 255.0;\n"}
{"commit":"040187bf476c15ba966c4870d00bf2f9a875eaf0","subject":"build.awk: update release(), remove pages(), rename temp() to test()","message":"build.awk: update release(), remove pages(), rename temp() to test()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -39,6 +39,10 @@\n     ManHtml              = Man \".html\"\n \n     PagesPath            = \"gh-pages\/\"\n+    BadgeDownload        = PagesPath \"images\/badge-download\"\n+    BadgeRelease         = PagesPath \"images\/badge-release\"\n+    HomebrewFormula      = PagesPath \"translate-shell.rb\"\n+    Index                = PagesPath \"index.md\"\n \n     ReadmePath           = \".\/\"\n     ReadmeTemplate       = ReadmePath \"README.template.md\"\n@@ -58,10 +62,6 @@\n     if (fileExists(ManTemplate))\n         system(\"pandoc -s -t html --toc --toc-depth 1 --template \" ManTemplate \" \" ManSource \" -o \" ManHtml)\n     return system(\"pandoc -s -t man \" ManSource \" -o \" Man)\n-}\n-\n-function pages() {\n-    # TODO\n }\n \n function readme(    code, col, cols, content, group, i, j, language, r, rows, text) {\n@@ -131,7 +131,6 @@\n \n function doc() {\n     man()\n-    pages()\n     readme()\n     wiki()\n     return 0\n@@ -235,15 +234,51 @@\n }\n \n function release() {\n-    # TODO\n+    (\"sha1sum \" Trans) | getline temp\n+    split(temp, group)\n+    sha1 = group[1]\n+\n+    d(\"Updating registry ...\")\n+    # Update registry\n     text = readFrom(MainRegistryTemplate)\n     gsub(\/\\$Version\\$\/, Version, text)\n     writeTo(text, MainRegistry)\n \n-    return 0\n-}\n-\n-function temp() {\n+    d(\"Updating gh-pages\/images ...\")\n+    # Update gh-pages\/images\/badge-release\n+    text = readFrom(BadgeRelease \".temp\")\n+    gsub(\/\\$Version\\$\/, Version, text)\n+    writeTo(text, BadgeRelease)\n+    system(\"save-to-png \" BadgeRelease)\n+    # Update gh-pages\/images\/badge-download\n+    (\"wc -c \" Trans) | getline temp\n+    split(temp, group)\n+    size = int(group[1] \/ 1000)\n+    text = readFrom(BadgeDownload \".temp\")\n+    gsub(\/\\$Size\\$\/, size, text)\n+    writeTo(text, BadgeDownload)\n+    system(\"save-to-png \" BadgeDownload)\n+\n+    d(\"Updating gh-pages\/translate-shell.rb ...\")\n+    # Update gh-pages\/translate-shell.rb\n+    text = readFrom(HomebrewFormula \".temp\")\n+    gsub(\/\\$sha1\\$\/, sha1, text)\n+    gsub(\/\\$Version\\$\/, Version, text)\n+    writeTo(text, HomebrewFormula)\n+\n+    d(\"Updating gh-pages\/index.md ...\")\n+    # Update gh-pages\/index.md\n+    content = readFrom(Readme)\n+    text = readFrom(Index \".temp\")\n+    gsub(\/\\$sha1\\$\/, sha1, text)\n+    gsub(\/\\$Version\\$\/, Version, text)\n+    gsub(\/\\$readme\\$\/, content, text)\n+    writeTo(text, Index)\n+\n+    return 0\n+}\n+\n+function test() {\n     return 0\n }\n \n@@ -286,10 +321,6 @@\n             status = man()\n             break\n \n-        case \"pages\":\n-            status = pages()\n-            break\n-\n         case \"readme\":\n             status = readme()\n             break\n@@ -314,8 +345,8 @@\n             status = release()\n             break\n \n-        case \"temp\":\n-            status = temp()\n+        case \"test\":\n+            status = test()\n             break\n \n         default: # unknown task\n"}
{"commit":"a8031d462f0ff491ca25a177235183e8cf65fa6f","subject":"MONDRIAN: Check ordering of 'import' statements.","message":"MONDRIAN: Check ordering of 'import' statements.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian\/\": change = 14715]\n","repos":"wetet2\/mondrian,bmorrise\/mondrian,dkincade\/mondrian,citycloud-bigdata\/mondrian,pedrofvteixeira\/mondrian,stiberger\/mondrian,syncron\/mondrian,lgrill-pentaho\/mondrian,mustangore\/mondrian,pedrofvteixeira\/mondrian,ivanpogodin\/mondrian,truvenganong\/mondrian,nextelBIS\/mondrian,preisanalytics\/mondrian,pentaho\/mondrian,stiberger\/mondrian,syncron\/mondrian,lgrill-pentaho\/mondrian,syncron\/mondrian,cocosli\/mondrian,ivanpogodin\/mondrian,mdamour1976\/mondrian,nextelBIS\/mondrian,truvenganong\/mondrian,Seiferxx\/mondrian,sayanh\/mondrian,dkincade\/mondrian,openedbox\/mondrian,ivanpogodin\/mondrian,pedrofvteixeira\/mondrian,bmorrise\/mondrian,cesarmarinhorj\/mondrian,AvinashPD\/mondrian,OSBI\/mondrian,julianhyde\/mondrian,pentaho\/mondrian,truvenganong\/mondrian,cocosli\/mondrian,mdamour1976\/mondrian,wetet2\/mondrian,bmorrise\/mondrian,OSBI\/mondrian,preisanalytics\/mondrian,mdamour1976\/mondrian,OSBI\/mondrian,nextelBIS\/mondrian,cesarmarinhorj\/mondrian,sayanh\/mondrian,lgrill-pentaho\/mondrian,sayanh\/mondrian,Seiferxx\/mondrian,mustangore\/mondrian,openedbox\/mondrian,preisanalytics\/mondrian,wetet2\/mondrian,rfellows\/mondrian,mustangore\/mondrian,openedbox\/mondrian,Seiferxx\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,pentaho\/mondrian,cesarmarinhorj\/mondrian,stiberger\/mondrian,dkincade\/mondrian,rfellows\/mondrian,AvinashPD\/mondrian,cocosli\/mondrian,AvinashPD\/mondrian,julianhyde\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -79,6 +79,11 @@\n     return i;\n }\n \n+function startsWith(s, p) {\n+    return length(s) > length(p) \\\n+        && substr(s, 1, length(p)) == p;\n+}\n+\n BEGIN {\n     # pre-compute regexp for quotes, linefeed\n     apos = sprintf(\"%c\", 39);\n@@ -96,6 +101,8 @@\n     isCpp = _isCpp(fname);\n     isJava = _isJava(fname);\n     mondrian = _isMondrian(fname);\n+    prevImport = \"\";\n+    prevImportGroup = \"\";\n }\n {\n     if (previousLineEndedInCloseBrace > 0) {\n@@ -186,6 +193,55 @@\n     }\n }\n \n+\/^package \/ && previousLineWasEmpty {\n+    error(fname, FNR, \"'package' declaration must not occur after empty line\");\n+}\n+\/^import \/ {\n+    if (previousLineWasEmpty) {\n+        prevImport = \"\";\n+    } else {\n+        if (!prevImport) {\n+            error(fname, FNR, \"Expected blank line before first import\");\n+        }\n+    }\n+    thisImport = $2;\n+    gsub(\/;\/, \"\", thisImport);\n+    gsub(\/\\*\/, \"\", thisImport);\n+    if (thisImport ~ \/^mondrian\/) {\n+        importGroup = \"a\";\n+    } else if (thisImport ~ \/^static\/) {\n+        importGroup = \"z\";\n+    } else if (thisImport ~ \/^java\/) {\n+        importGroup = \"y\";\n+    } else if (thisImport ~ \/^junit\/) {\n+        importGroup = \"b\";\n+    } else if (thisImport ~ \/^org.apache\/) {\n+        importGroup = \"c\";\n+    } else if (thisImport ~ \/^org.eigenbase\/) {\n+        importGroup = \"d\";\n+    } else if (thisImport ~ \/^org.olap4j\/) {\n+        importGroup = \"e\";\n+    } else {\n+        importGroup = \"f\";\n+    }\n+    if (importGroup != prevImportGroup \\\n+        && prevImportGroup)\n+    {\n+        if (!previousLineWasEmpty) {\n+            error(fname, FNR, \"Expected blank line between import groups\");\n+        } else if (prevImportGroup > importGroup) {\n+            error(fname, FNR, \"Import group out of sequence\");\n+        }\n+    } else if (prevImport \\\n+        && prevImport > thisImport \\\n+        && !startsWith(prevImport, thisImport) \\\n+        && !startsWith(thisImport, prevImport))\n+    {\n+        error(fname, FNR, \"Import out of sorted order\");\n+    }\n+    prevImport = thisImport;\n+    prevImportGroup = importGroup;\n+}\n \/^$\/ {\n     if (matchFile && previousLineEndedInOpenBrace) {\n         error(fname, FNR, \"Empty line following open brace\");\n@@ -521,10 +577,10 @@\n     else if (s ~ \/(\\]\\)?|=) *{\/) {} # ignore e.g. \"(int[]) {1, 2}\" or \"int[] x = {1, 2}\"\n     else if (s ~ \/\\({\/) {} # ignore e.g. @SuppressWarnings({\"unchecked\"})\n     else if (s ~ \/{ *(\\\/\\\/|\\\/\\*)\/) {} # ignore e.g. \"do { \/\/ a comment\"\n-    else if (s ~ \/ {}$\/) {} # ignore e.g. \"Constructor() {}\"\n+    else if (s ~ \/ \\{\\}$\/) {} # ignore e.g. \"Constructor() {}\"\n     else if (s ~ \/ },$\/) {} # ignore e.g. \"{ yada },\"\n     else if (s ~ \/ };$\/) {} # ignore e.g. \"{ yada };\"\n-    else if (s ~ \/ {};$\/) {} # ignore e.g. \"template <> class Foo<int> {};\"\n+    else if (s ~ \/ \\{\\};$\/) {} # ignore e.g. \"template <> class Foo<int> {};\"\n     else if (s ~ \/ },? *\\\/\\\/.*$\/) {} # ignore e.g. \"{ yada }, \/\/ comment\"\n     else if (s ~ \/\\\\$\/) {} # ignore multiline macros\n     else if (s ~ \/{}\/) { # e.g. \"Constructor(){}\"\n"}
{"commit":"e4d90991243fee299ed6b0b08db825dd07576060","subject":"We don't need the tool anymore.","message":"We don't need the tool anymore.\n","repos":"pleroy\/Principia,mockingbirdnest\/Principia,pleroy\/Principia,mockingbirdnest\/Principia,pleroy\/Principia,mockingbirdnest\/Principia,mockingbirdnest\/Principia,pleroy\/Principia","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- mocks.awk\n+++ mocks.awk\n@@ -1,74 +0,0 @@\n-BEGIN {\n-\t# A record ends on )); so the first record will include the boilerplate\n-\t# at the beginning of the file.\n-\t# No field separator, we split the entire record by hand.\n-\tRS = \"));\"\n-\tORS = \"\"\n-}\n-\/MOCK_[A-Z_]*METHOD\/ {\n-\t# Start by closing the previous record.  We don't do that at the end of\n-\t# individual records to properly handle the end of file.\n-\tif (FNR > 1) {\n-\t  print \"));\"\n-\t}\n-\n-\t# The prefix is the text before the macro in the current record.\n-\tprefix = $0\n-\tgsub(\/MOCK_[A-Z_]*METHOD.*\/, \"\", prefix)\n-\tif (prefix != \"\") {\n-\t  print prefix\n-\t}\n-\n-\t# Extract the macro and its arguments.\n-\tmock = $0\n-\tgsub(\/.* +MOCK_\/, \"MOCK_\", mock)\n-\tmacro = mock\n-\tgsub(\/\\(.*\/, \"\", macro)\n-\n-\t# See if the macro is const.\n-\tif (macro ~ \/CONST\/) {\n-\t  spec = \"const, override\"\n-\t} else {\n-\t  spec = \"override\"\n-\t}\n-\n-\tname = mock\n-\tgsub(\/.*METHOD[0-9]+(_T)?\\(\/, \"\", name)\n-\tgsub(\/,.*\/, \"\", name)\n-\tgsub(\/[ \\n]\/, \"\", name)\n-\n-\tret = mock\n-\tgsub(\".*\\\\(.*\" name \",\", \"\", ret)\n-\tgsub(\"\\\\(.*\", \"\", ret)\n-\tgsub(\/\\n\/, \"\", ret)\n-\tgsub(\/^ *\/, \"\", ret)\n-\tgsub(\/ *$\/, \"\", ret)\n-\n-\t# The params are everything after the return type.\n-\tparams = $0\n-\t# Cannot use gsub here because ret may contain the character *\n-\tretpos = index(params, ret \"(\")\n-\tparams = substr(params, retpos + length(ret) + 1)\n-\tsplit(params, p, \",\\n\")\n-\tpparams = \"\"\n-\tfor (i in p) {\n-\t  if (i > 1) {\n-\t    pparams = pparams \",\\n\"\n-\t  }\n-\t  if (p[i] ~ \/<.+,.+>\/) {\n-\t    pparams = pparams \"(\" p[i] \")\"\n-\t  } else {\n-\t    pparams = pparams p[i]\n-\t  }\n-\t}\n-\tif (ret ~ \/,\/) {\n-\t  ret = \"(\" ret \")\"\n-\t}\n-\tprint \"MOCK_METHOD(\" ret \", \" name \", (\" pparams \"), (\" spec\n-}\n-!\/MOCK_[A-Z_]*METHOD\/{\n-\tif (FNR > 1) {\n-\t  print \"));\"\n-\t}\n-\tprint $0\n-}\n"}
{"commit":"8a7cdc18bfa5741578fd2fbe381be1eb87c2ee77","subject":"Languages: update","message":"Languages: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1769,6 +1769,7 @@\n \n # Return the name of script (writing system).\n # See: <https:\/\/en.wikipedia.org\/wiki\/ISO_15924#List_of_codes>\n+#      <http:\/\/unicode.org\/iso15924\/iso15924-codes.html>\n function scriptName(code) {\n     switch (code) {\n     case \"Arab\": return \"Arabic\"\n"}
{"commit":"20e1d144407c2e37d50d65f8a6e92598f71a614d","subject":"Languages: add Samoan language","message":"Languages: add Samoan language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -275,6 +275,19 @@\n     Locale[\"sd\"][\"glotto\"]             = \"sind1272\"\n     Locale[\"sd\"][\"script\"]             = \"Arab\"\n     Locale[\"sd\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #? Samoan\n+    Locale[\"sm\"][\"name\"]               = \"Samoan\"\n+    Locale[\"sm\"][\"endonym\"]            = \"Gagana S\u0101moa\"\n+    #Locale[\"sm\"][\"translations-of\"]\n+    #Locale[\"sm\"][\"definitions-of\"]\n+    #Locale[\"sm\"][\"synonyms\"]\n+    #Locale[\"sm\"][\"examples\"]\n+    #Locale[\"sm\"][\"see-also\"]\n+    Locale[\"sm\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"sm\"][\"iso\"]                = \"smo\"\n+    Locale[\"sm\"][\"glotto\"]             = \"samo1305\"\n+    Locale[\"sm\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"5ca6d3efe01567bf99c9135decd4bb250e2cfbb4","subject":"2014-02-18: parsegaspriceshtml.awk Added substitution for Certified pictures.","message":"2014-02-18: parsegaspriceshtml.awk Added substitution for Certified pictures.\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -40,6 +40,7 @@\n    gsub(\"<img src=\\\"http:\/\/duchessshoppe.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Duchess\")\n    gsub(\"<img src=\\\"http:\/\/thorntons.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    gsub(\"<img src=\\\"\/images\/brands\/199_p.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n+   gsub(\"<img src=\\\"http:\/\/mycertifiedoil.com\/images\/249\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Certified\")\n    expectName=False\n    sub(\"<\/a>[ ]*$\",\"\")\n    sub(\"^.*>\",\"\")\n"}
{"commit":"699e45be81409e9aeb10d4258022517ad44d535e","subject":"msg_parser.awk: cast offsets within header structure as unsigned short","message":"msg_parser.awk: cast offsets within header structure as unsigned short\n\ndarcs-hash:20070301130856-55b16-501ba18adf43c56ae7395f6c693cb4bb1821d88b.gz\n","repos":"erdincay\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -432,6 +432,10 @@\n     gsub(\/#DATE#\/, \"@date Generated: \" date, header);\n     print header > PT;\n \n+    print \"\" > PT;\n+    print \"#define msg_offsetof(s, f) ((unsigned short)offsetof(s ,f))\" > PT;\n+    print \"\" > PT;\n+\n     if (MC_SHORT_SIZE) {\n       printf(\"static msg_href_t const \" \\\n \t     \"%s_short_forms[MC_SHORT_SIZE] = \\n{\\n\", \n@@ -443,7 +447,7 @@\n \t  n = shorts[i];\n         flags = header_flags[n]; if (flags) flags = \",\\n      \" flags;\n \t  \n-\t  printf(\"  { \/* %s *\/ %s_%s_class, offsetof(%s_t, %s_%s)%s }%s\\n\", \n+\t  printf(\"  { \/* %s *\/ %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\", \n \t\t substr(lower_case, i, 1), \n \t\t tprefix, n, module, prefix, n, flags, c)\t\\\n \t    > PT;\n@@ -494,11 +498,11 @@\n     len = split(\"request status separator payload unknown error\", unnamed, \" \");\n \n     for (i = 1; i <= len; i++) {\n-      printf(\"  {{ %s_%s_class, offsetof(%s_t, %s_%s) }},\\n\", \n+      printf(\"  {{ %s_%s_class, msg_offsetof(%s_t, %s_%s) }},\\n\", \n \t     tprefix, unnamed[i], module, prefix, unnamed[i]) > PT;\n     }\n     if (multipart) {\n-      printf(\"  {{ %s_class, offsetof(%s_t, %s_multipart) }},\\n\",\n+      printf(\"  {{ %s_class, msg_offsetof(%s_t, %s_multipart) }},\\n\",\n \t     multipart, module, prefix) > PT;\n     } else {\n       printf(\"  {{ NULL, 0 }},\\n\") > PT;\n@@ -549,11 +553,11 @@\n \n \tif (Since[n]) {\n \t  printf(\"    { %s_%s_class,\\n\" \\\n-\t\t \"      offsetof(struct %s, extra[%u])%s }%s\\n\", \n+\t\t \"      msg_offsetof(struct %s, extra[%u])%s }%s\\n\", \n \t\t tprefix, n, extra_struct, Extra[n], flags, c) > PT;\n \t}\n \telse {\n-\t  printf(\"    { %s_%s_class, offsetof(%s_t, %s_%s)%s }%s\\n\", \n+\t  printf(\"    { %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\", \n \t\t tprefix, n, module, prefix, n, flags, c) > PT;\n \t}\n \n"}
{"commit":"0103890eb416dabf173909cc14a356fdf2927218","subject":"Fix the make_authors.awk script to handle quotes in names.","message":"Fix the make_authors.awk script to handle quotes in names.\n","repos":"DreamcastSDK\/kos,DreamcastSDK\/kos,DreamcastSDK\/kos","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- kernel\/arch\/dreamcast\/kernel\/make_authors.awk\n+++ kernel\/arch\/dreamcast\/kernel\/make_authors.awk\n@@ -1,7 +1,7 @@\n # KallistiOS ##version##\n #\n # arch\/dreamcast\/kernel\/make_authors.awk\n-# Copyright (C) 2013 Lawrence Sebald\n+# Copyright (C) 2013, 2014 Lawrence Sebald\n \n # This script processes the AUTHORS file in the root directory of the source\n # distribution to create the authors.h file that is needed in banner.c. This\n@@ -28,6 +28,7 @@\n         exit;\n     }\n     else if(phase == 2 && $0 != \"\") {\n+        gsub(\/\"\/, \"\\\\\\\"\", $1)\n         print \"\\\"Copyright (C)\" $2, $1 \"\\\\n\\\"\";\n     }\n }\n"}
{"commit":"31bcb488928befe0fcb9da19f10021517f0d4827","subject":"load theme file","message":"load theme file\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Theme.awk\n+++ include\/Theme.awk\n@@ -10,17 +10,31 @@\n     return temp\n }\n \n-function setTheme() {\n-    # Default theme\n-    Option[\"sgr-original\"][1] = \"bold\"\n-    Option[\"sgr-original\"][2] = \"negative\"\n-    Option[\"sgr-translation\"][1] = \"bold\"\n-    Option[\"sgr-prompt-message-original\"][1] = \"underline\"\n-    Option[\"sgr-original-dictionary-detailed-explanation\"][1] = \"bold\"\n-    Option[\"sgr-original-dictionary-examples-original\"][1] = \"bold\"\n-    Option[\"sgr-original-dictionary-examples-original\"][2] = \"negative\"\n-    Option[\"sgr-original-dictionary-see-also-item\"][1] = \"underline\"\n-    Option[\"sgr-dictionary-word\"][1] = \"bold\"\n-    Option[\"sgr-alternatives-original\"][1] = \"underline\"\n-    Option[\"sgr-alternatives-translation\"][1] = \"bold\"\n+function setTheme(    file, line, script) {\n+    if (Option[\"theme\"] && Option[\"theme\"] != \"default\") {\n+        file = Option[\"theme\"]\n+        if (!fileExists(file))\n+            file = ENVIRON[\"HOME\"] \"\/.translate-shell\/\" Option[\"theme\"]\n+    }\n+\n+    if (file && fileExists(file)) {\n+        # Read from theme file\n+        script = NULLSTR\n+        while (getline line < file)\n+            script = script \"\\n\" line\n+        loadOptions(script)\n+    } else {\n+        # Default theme\n+        Option[\"sgr-original\"][1] = \"bold\"\n+        Option[\"sgr-original\"][2] = \"negative\"\n+        Option[\"sgr-translation\"][1] = \"bold\"\n+        Option[\"sgr-prompt-message-original\"][1] = \"underline\"\n+        Option[\"sgr-original-dictionary-detailed-explanation\"][1] = \"bold\"\n+        Option[\"sgr-original-dictionary-examples-original\"][1] = \"bold\"\n+        Option[\"sgr-original-dictionary-examples-original\"][2] = \"negative\"\n+        Option[\"sgr-original-dictionary-see-also-item\"][1] = \"underline\"\n+        Option[\"sgr-dictionary-word\"][1] = \"bold\"\n+        Option[\"sgr-alternatives-original\"][1] = \"underline\"\n+        Option[\"sgr-alternatives-translation\"][1] = \"bold\"\n+    }\n }\n"}
{"commit":"173064b6be4c78edf7dc74176bf889255cfc837d","subject":"Translators\/BingTranslator: fix for Kurdish","message":"Translators\/BingTranslator: fix for Kurdish\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -227,6 +227,8 @@\n     if (_sl == \"auto\")  _sl = \"auto-detect\"\n     if (_sl == \"tl\")    _sl = \"fil\" # Bing uses 'fil' for Filipino\n     if (_sl == \"hmn\")   _sl = \"mww\" # Bing uses 'mww' for Hmong Daw\n+    if (_sl == \"ku\")    _sl = \"kmr\" # Bing uses 'kmr' for Northern Kurdish\n+    else if (_sl == \"ckb\") _sl = \"ku\" # and 'ku' for Central Kurdish\n     if (_sl == \"no\")    _sl = \"nb\"  # Bing uses Norwegian Bokm\u00e5l\n     # Bing uses 'pt' or 'pt-br' for Brazilian Portuguese, 'pt-pt' for European Portuguese\n     if (_sl == \"pt-BR\") _sl = \"pt\" # just pt-br\n@@ -235,6 +237,8 @@\n     if (_sl == \"zh-TW\") _sl = \"zh-Hant\"\n     if (_tl == \"tl\")    _tl = \"fil\"\n     if (_tl == \"hmn\")   _tl = \"mww\"\n+    if (_tl == \"ku\")    _tl = \"kmr\"\n+    else if (_tl == \"ckb\") _tl = \"ku\"\n     if (_tl == \"no\")    _tl = \"nb\"\n     if (_tl == \"pt-BR\") _tl = \"pt\"\n     else if (_tl == \"pt-PT\") _tl = \"pt-pt\"\n"}
{"commit":"6c14ab55ac558d38741750551e6e0dcd744bdd72","subject":"Translate: add translate()","message":"Translate: add translate()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -20,7 +20,7 @@\n     if (!getCode(tl)) {\n         # Check if target language is supported\n         w(\"[WARNING] Unknown target language code: \" tl)\n-    } else if (rtl = Locale[getCode(tl)][\"rtl\"]) {\n+    } else if (getCode(tl) != \"auto\" && rtl = Locale[getCode(tl)][\"rtl\"]) {\n         # Check if target language is RTL\n         if (!FriBidi)\n             w(\"[WARNING] \" Locale[getCode(tl)][\"name\"] \" is a right-to-left language, but GNU FriBidi is not found on your system.\\nText might be displayed incorrectly.\")\n@@ -162,3 +162,49 @@\n \n     return r\n }\n+\n+# Translate the source text (into all target languages).\n+function translate(text,\n+                   ####\n+                   i, j, playlist) {\n+\n+    if (!getCode(Option[\"hl\"])) {\n+        # Check if home language is supported\n+        w(\"[WARNING] Unknown language code: \" Option[\"hl\"] \", fallback to English: en\")\n+        Option[\"hl\"] = \"en\" # fallback to English\n+    } else if (getCode(Option[\"hl\"]) != \"auto\" && Locale[getCode(Option[\"hl\"])][\"rtl\"]) {\n+        # Check if home language is RTL\n+        if (!FriBidi)\n+            w(\"[WARNING] \" Locale[getCode(Option[\"hl\"])][\"name\"] \" is a right-to-left language, but GNU FriBidi is not found on your system.\\nText might be displayed incorrectly.\")\n+    }\n+\n+    if (!getCode(Option[\"sl\"])) {\n+        # Check if source language is supported\n+        w(\"[WARNING] Unknown source language code: \" Option[\"sl\"])\n+    } else if (getCode(Option[\"sl\"]) != \"auto\" && Locale[getCode(Option[\"sl\"])][\"rtl\"]) {\n+        # Check if source language is RTL\n+        if (!FriBidi)\n+            w(\"[WARNING] \" Locale[getCode(Option[\"sl\"])][\"name\"] \" is a right-to-left language, but GNU FriBidi is not found on your system.\\nText might be displayed incorrectly.\")\n+    }\n+\n+    for (i in Option[\"tl\"]) {\n+        # Non-interactive verbose mode: separator between translations\n+        if (!Option[\"interactive\"]) {\n+            # Separator for multiple targets\n+            if (i > 1) {\n+                for (j = 0; j < Option[\"width\"]; j++) printf \"\u2500\"\n+                printf \"\\n\"\n+            }\n+        }\n+\n+        print getTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"], Option[\"verbose\"], Option[\"play\"], playlist) > Option[\"output\"]\n+\n+        if (Option[\"play\"])\n+            if (Option[\"player\"])\n+                for (j in playlist)\n+                    play(playlist[j][\"text\"], playlist[j][\"tl\"])\n+            else if (SpeechSynthesizer)\n+                for (j in playlist)\n+                    print playlist[j][\"text\"] | SpeechSynthesizer\n+    }\n+}\n"}
{"commit":"1ed24cab9bc6933d83e18056d08fb68aaa3263bc","subject":"No longer generates zero bytes in the script's output file.","message":"No longer generates zero bytes in the script's output file.\n","repos":"Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- util\/opt\/pop_push.awk\n+++ util\/opt\/pop_push.awk\n@@ -15,14 +15,14 @@\n END\t{ print \"};\"\n \t  print\n \t  print \"char flow_tab[]= {\"\n-\t  print \"'\\000',\"\n+\t  print \"'\\\\000',\"\n \t  for(i=0; i < NR-switch; i++) {\n \t\tinf = col_2[i]\n \t\tf_out = \"\/* \" comment[i] \" *\/ \"\n \t\tif (substr(inf,1,1)==\"b\") f_out = f_out \"HASLABEL|\"\n \t\tif (substr(inf,2,1)==\"c\") f_out = f_out \"CONDBRA\"\n \t\telse if (substr(inf,2,1)==\"t\") f_out = f_out \"JUMP\"\n-\t\telse f_out = f_out \"'\\000'\"\n+\t\telse f_out = f_out \"'\\\\000'\"\n \t\tprint f_out\",\"\n \t  }\n \t  print \"};\"\n"}
{"commit":"8bd65632040490d401fcfae5e5fcb62bd60e671a","subject":"Change linkparser, repair header grabbing feature","message":"Change linkparser, repair header grabbing feature\n","repos":"lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- linkparser\/linkparser.awk\n+++ linkparser\/linkparser.awk\n@@ -1,5 +1,5 @@\n BEGIN {\n-\tversion = \"0.1.3\"\n+\tversion = \"0.2.0\"\n \tprintf(\"link-parser, v%s\\n\", version)\n \n \ttrue = 1\n@@ -85,33 +85,47 @@\n \t# Headers\n \t# ---------\n \n-#\tgsub(\/\\.(obj|o|lib)$\/, \"\", link)\n-#\tdep_file = link \".D\"\n-#\n-#\tif ((getline < dep_file) < 0)\n-#\t\tnext\n-#\n-#\t# Get path prefix\n-#\tcur_path = $1\n-#\tgsub(\/^#\/, \"\", cur_path)\n-#\n-#\twhile ((getline < dep_file) > 0) {\n-#\t\tgsub(\/:\/, \" \")\n-#\t\tfor (i = 1; i <= NF; i++) {\n-#\t\t\tif ($i !~ \/\\.(h|hpp)$\/)\n-#\t\t\t\tcontinue\n-#\t\t\theader = cur_path \"\/\" $i\n-#\n-#\t\t\trel_install(header, g_sroot, inst_root)\n-#\t\t}\n-#\t}\n-#\tclose(dep_file)\n+\tgsub(\/\\.(obj|o|lib)$\/, \"\", link)\n+\tdep_file = link \".D\"\n+\n+\tif ((getline < dep_file) < 0)\n+\t\tnext\n+\n+\t# Get path prefix\n+\tcur_path = $1\n+\tgsub(\/^#\/, \"\", cur_path)\n+\n+\twhile ((getline < dep_file) > 0) {\n+\t\tgsub(\/.+:\/, \" \")\n+\t\tfor (i = 1; i <= NF; i++) {\n+\t\t\t#if ($i !~ \/\\.(h|hpp)$\/)\n+\t\t\t#\tcontinue\n+\t\t\tif ($i == \"\\\\\") continue\n+\n+\t\t\theader = cur_path \"\/\" $i\n+\t\t\tif (!buildroot_host_path) {\n+\t\t\t\tpatt = \"(.+\\\\\/esam\\\\\/.+\\\\\/output\\\\\/host)\\\\\/.+$\"\n+\t\t\t\tif (header ~ patt) {\n+\t\t\t\t\tbuildroot_host_path = gensub(patt, \"\\\\1\", \"g\", header)\n+\n+\t\t\t\t\tpatt = \".+\\\\\/\"g_sroot\"\\\\\/sw\\\\\/vobs\"\n+\t\t\t\t\tgsub(patt, inst_root\"\/sw\/vobs\", buildroot_host_path)\n+\t\t\t\t}\n+\t\t\t}\n+\n+\t\t\trel_install(header, g_sroot, inst_root)\n+\t\t}\n+\t}\n+\tclose(dep_file)\n }\n \n END {\n \tif (SKIP_END)\n \t\texit 0\n \tprint \"Total dumped files: \" count\n+\n+\tif (buildroot_host_path && arg !~ \/pretend\/)\n+\t\tsystem(\"mv \" buildroot_host_path \" \" inst_root)\n \n \tif (arg ~ \/tar\/)\n \t\tmake_tarball(arg)\n@@ -135,7 +149,7 @@\n \t}\n \n \tsystem(\"mkdir -p \" new_root \"\/\" rel_path)\n-\tsystem(\"cp -L \" source \" \" new_root \"\/\" rel_path)\n+\tsystem(\"cp -fL \" source \" \" new_root \"\/\" rel_path)\n }\n \n function make_tarball(flag) {\n"}
{"commit":"a55bfe32856449745163f8ce9e06be8b97e67897","subject":"Changed chimeric blacklist to handle quadruple reads and eliminate MT exception","message":"Changed chimeric blacklist to handle quadruple reads and eliminate MT exception\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- CPU\/common\/chimeric_blacklist.awk\n+++ CPU\/common\/chimeric_blacklist.awk\n@@ -86,9 +86,9 @@\n   else {\n     # deal with read pair group\n     tottot++;\n-    if (count==3) {\n+    if (count==3 || count==4) {\n       # chimeric read\n-      for (j=1; j <= 3; j++) {\n+      for (j=1; j <= count; j++) {\n \tsplit(c[j], tmp);\n \tsplit(tmp[1],readname,\"\/\");\n \tread[j] = readname[2];\n@@ -147,63 +147,108 @@\n \t    cigloc = substr(tmp[6],where,RLENGTH-1) + 0;\n \t    pos[j] = pos[j] + cigloc;\n           }\n-\t  # Mitochrondria loops around\n-\t  if (chr[j] ~ \/MT\/ && pos[j] >= 16569) {\n-\t    pos[j] = pos[j] - 16569;\n-\t  }\n \t}\n         # blacklist - if 3rd bit set (=4) it means unmapped\n         mapped[j] = and(tmp[2],4) == 0; \n       }\n-\t\t\t\n-      dist[12] = abs(chr[1]-chr[2])*10000000 + abs(pos[1]-pos[2]);\n-      dist[23] = abs(chr[2]-chr[3])*10000000 + abs(pos[2]-pos[3]);\n-      dist[13] = abs(chr[1]-chr[3])*10000000 + abs(pos[1]-pos[3]);\n-      \n-      if (min(dist[12],min(dist[23],dist[13])) < 1000) {\n-\t# The paired ends look like A\/B...B.  Make sure we take A and B.\n-\tif (read[1] == read[2]) {\n-\t  # take the unique one \"B\" for sure\n+      if (count == 4) {\n+        # looking for A\/B...A\/B\n+\tdist[12] = abs(chr[1]-chr[2])*10000000 + abs(pos[1]-pos[2]);\n+\tdist[13] = abs(chr[1]-chr[3])*10000000 + abs(pos[1]-pos[3]);\n+\tdist[14] = abs(chr[1]-chr[4])*10000000 + abs(pos[1]-pos[4]);\n+\tdist[23] = abs(chr[2]-chr[3])*10000000 + abs(pos[2]-pos[3]);\n+\tdist[24] = abs(chr[2]-chr[4])*10000000 + abs(pos[2]-pos[4]);\n+\tdist[34] = abs(chr[3]-chr[4])*10000000 + abs(pos[3]-pos[4]);\n+\t\n+\t# A\/B, A\/B\n+\tif ((dist[13] < 1000 && dist[24] < 1000) || (dist[14] < 1000 && dist[23] < 1000)) {\n+\t  read1 = 1;\n+\t  read2 = 2;\n+\t}\n+\telse if ((dist[12] < 1000 && dist[34] < 1000)) {\n+\t  read1 = 1;\n \t  read2 = 3;\n-\t  # take the end of \"A\/B\" that isn't close to \"B\"\n-\t  read1 = dist[13] > dist[23] ? 1:2;\n-\t}\n-\telse if (read[1] == read[3]) {\n-\t  read2 = 2;\n-\t  read1 = dist[12] > dist[23] ? 1:3;\n-\t}\n-\telse if (read[2] == read[3]) {\n-\t  read2 = 1;\n-\t  read1 = dist[12] > dist[13] ? 2:3;\n \t}\n \telse {\n-\t  printf(\"reads strange\\n\") > \"\/dev\/stderr\"\n-\t  exit 1\n-\t}\n+\t  read1 = 0;\n+\t}\n+\tif (read1 != 0) {\n+\t  if (mapped[read1] && mapped[read2]) {\n+\t    count_norm++;\n+\t    if (less_than(str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2])) {\n+\t      #  print str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2],m[read1],cigarstr[read1],seq[read1],m[read2],cigarstr[read2],seq[read2],name[read1],name[read2],qual[read1],qual[read2] > fname1;\n+\t      print str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2],m[read1],cigarstr[read1],seq[read1],m[read2],cigarstr[read2],seq[read2],name[read1],name[read2] > fname1;\n+\t    }\n+\t    else {\n+\t      #  print str[read2],chr[read2],pos[read2],str[read1],chr[read1],pos[read1],m[read2],cigarstr[read2],seq[read2],m[read1],cigarstr[read1],seq[read1],name[read2],name[read1],qual[read2],qual[read1] > fname1;\n+\t      print str[read2],chr[read2],pos[read2],str[read1],chr[read1],pos[read1],m[read2],cigarstr[read2],seq[read2],m[read1],cigarstr[read1],seq[read1],name[read2],name[read1] > fname1;\n+\t    }\n+\t  }\n+\t  else {\n+\t    for (i in c) {\n+\t      print c[i] > fname3;\n+\t    }\t\n+\t    count_unmapped++;\n+\t  }\n+\t}\t\n+\telse { \n+\t  # chimeric read with the 4 ends > 1KB apart\n+\t  count_abnorm++;\n+\t  for (i in c) {\n+\t    print c[i] > fname2;\n+\t  }\n+\t}\n+      }\n+      else {\n+\tdist[12] = abs(chr[1]-chr[2])*10000000 + abs(pos[1]-pos[2]);\n+\tdist[23] = abs(chr[2]-chr[3])*10000000 + abs(pos[2]-pos[3]);\n+\tdist[13] = abs(chr[1]-chr[3])*10000000 + abs(pos[1]-pos[3]);\n \t\n-\tif (mapped[read1] && mapped[read2]) {\n-\t  count_norm++;\n-\t  if (less_than(str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2])) {\n-\t  #  print str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2],m[read1],cigarstr[read1],seq[read1],m[read2],cigarstr[read2],seq[read2],name[read1],name[read2],qual[read1],qual[read2] > fname1;\n-\t    print str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2],m[read1],cigarstr[read1],seq[read1],m[read2],cigarstr[read2],seq[read2],name[read1],name[read2] > fname1;\n+\tif (min(dist[12],min(dist[23],dist[13])) < 1000) {\n+\t  # The paired ends look like A\/B...B.  Make sure we take A and B.\n+\t  if (read[1] == read[2]) {\n+\t    # take the unique one \"B\" for sure\n+\t    read2 = 3;\n+\t    # take the end of \"A\/B\" that isn't close to \"B\"\n+\t    read1 = dist[13] > dist[23] ? 1:2;\n+\t  }\n+\t  else if (read[1] == read[3]) {\n+\t    read2 = 2;\n+\t    read1 = dist[12] > dist[23] ? 1:3;\n+\t  }\n+\t  else if (read[2] == read[3]) {\n+\t    read2 = 1;\n+\t    read1 = dist[12] > dist[13] ? 2:3;\n \t  }\n \t  else {\n-\t  #  print str[read2],chr[read2],pos[read2],str[read1],chr[read1],pos[read1],m[read2],cigarstr[read2],seq[read2],m[read1],cigarstr[read1],seq[read1],name[read2],name[read1],qual[read2],qual[read1] > fname1;\n-\t    print str[read2],chr[read2],pos[read2],str[read1],chr[read1],pos[read1],m[read2],cigarstr[read2],seq[read2],m[read1],cigarstr[read1],seq[read1],name[read2],name[read1] > fname1;\n+\t    printf(\"reads strange\\n\") > \"\/dev\/stderr\"\n+\t    exit 1\n+\t  }\n+\t  \n+\t  if (mapped[read1] && mapped[read2]) {\n+\t    count_norm++;\n+\t    if (less_than(str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2])) {\n+\t      #  print str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2],m[read1],cigarstr[read1],seq[read1],m[read2],cigarstr[read2],seq[read2],name[read1],name[read2],qual[read1],qual[read2] > fname1;\n+\t      print str[read1],chr[read1],pos[read1],str[read2],chr[read2],pos[read2],m[read1],cigarstr[read1],seq[read1],m[read2],cigarstr[read2],seq[read2],name[read1],name[read2] > fname1;\n+\t    }\n+\t    else {\n+\t      #  print str[read2],chr[read2],pos[read2],str[read1],chr[read1],pos[read1],m[read2],cigarstr[read2],seq[read2],m[read1],cigarstr[read1],seq[read1],name[read2],name[read1],qual[read2],qual[read1] > fname1;\n+\t      print str[read2],chr[read2],pos[read2],str[read1],chr[read1],pos[read1],m[read2],cigarstr[read2],seq[read2],m[read1],cigarstr[read1],seq[read1],name[read2],name[read1] > fname1;\n+\t    }\n+\t  }\n+\t  else {\n+\t    for (i in c) {\n+\t      print c[i] > fname3;\n+\t    }\t\n+\t    count_unmapped++;\n \t  }\n \t}\n \telse {\n+\t  # chimeric read with the 3 ends > 1KB apart\n+\t  count_abnorm++;\n \t  for (i in c) {\n-\t    print c[i] > fname3;\n-\t  }\t\n-\t  count_unmapped++;\n-\t}\n-      }\n-      else {\n-\t# chimeric read with the 3 ends > 1KB apart\n-\tcount_abnorm++;\n-\tfor (i in c) {\n-\t  print c[i] > fname2;\n+\t    print c[i] > fname2;\n+\t  }\n \t}\n       }\n     }\n"}
{"commit":"777c17ebd72cd747c6e0fd920a547753c884e91a","subject":"LanguageData: add 4 Inuit languages","message":"LanguageData: add 4 Inuit languages\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -793,6 +793,22 @@\n     Locale[\"el\"][\"spoken-in\"]          = \"Greece; Cyprus; southern Albania\"\n     Locale[\"el\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n+    # Greenlandic (West Greenlandic)\n+    Locale[\"kl\"][\"name\"]               = \"Greenlandic\"\n+    Locale[\"kl\"][\"endonym\"]            = \"Kalaallisut\"\n+    #Locale[\"kl\"][\"translations-of\"]\n+    #Locale[\"kl\"][\"definitions-of\"]\n+    #Locale[\"kl\"][\"synonyms\"]\n+    #Locale[\"kl\"][\"examples\"]\n+    #Locale[\"kl\"][\"see-also\"]\n+    Locale[\"kl\"][\"family\"]             = \"Eskimo-Aleut\"\n+    Locale[\"kl\"][\"branch\"]             = \"Inuit\"\n+    Locale[\"kl\"][\"iso\"]                = \"kal\"\n+    Locale[\"kl\"][\"glotto\"]             = \"kala1399\"\n+    Locale[\"kl\"][\"script\"]             = \"Latn\"\n+    Locale[\"kl\"][\"spoken-in\"]          = \"Greenland\"\n+    Locale[\"kl\"][\"supported-by\"]       = \"\"\n+\n     # Guarani\n     Locale[\"gn\"][\"name\"]               = \"Guarani\"\n     Locale[\"gn\"][\"endonym\"]            = \"Ava\u00f1e'\u1ebd\"\n@@ -1046,6 +1062,54 @@\n     Locale[\"ie\"][\"spoken-in\"]          = \"worldwide\"\n     Locale[\"ie\"][\"description\"]        = \"an international auxiliary language\"\n     Locale[\"ie\"][\"supported-by\"]       = \"\"\n+\n+    # Inuinnaqtun\n+    Locale[\"ikt\"][\"name\"]              = \"Inuinnaqtun\"\n+    Locale[\"ikt\"][\"endonym\"]           = \"Inuinnaqtun\"\n+    #Locale[\"ikt\"][\"translations-of\"]\n+    #Locale[\"ikt\"][\"definitions-of\"]\n+    #Locale[\"ikt\"][\"synonyms\"]\n+    #Locale[\"ikt\"][\"examples\"]\n+    #Locale[\"ikt\"][\"see-also\"]\n+    Locale[\"ikt\"][\"family\"]            = \"Eskimo-Aleut\"\n+    Locale[\"ikt\"][\"branch\"]            = \"Inuit\"\n+    Locale[\"ikt\"][\"iso\"]               = \"ikt\"\n+    Locale[\"ikt\"][\"glotto\"]            = \"copp1244\"\n+    Locale[\"ikt\"][\"script\"]            = \"Latn\"\n+    Locale[\"ikt\"][\"spoken-in\"]         = \"the Canadian Arctic\"\n+    Locale[\"ikt\"][\"supported-by\"]      = \"bing\"\n+\n+    # Inuktitut\n+    Locale[\"iu\"][\"name\"]               = \"Inuktitut\"\n+    Locale[\"iu\"][\"endonym\"]            = \"\u1403\u14c4\u1483\u144e\u1450\u1466\"\n+    #Locale[\"iu\"][\"translations-of\"]\n+    #Locale[\"iu\"][\"definitions-of\"]\n+    #Locale[\"iu\"][\"synonyms\"]\n+    #Locale[\"iu\"][\"examples\"]\n+    #Locale[\"iu\"][\"see-also\"]\n+    Locale[\"iu\"][\"family\"]             = \"Eskimo-Aleut\"\n+    Locale[\"iu\"][\"branch\"]             = \"Inuit\"\n+    Locale[\"iu\"][\"iso\"]                = \"iku\"\n+    Locale[\"iu\"][\"glotto\"]             = \"east2534\"\n+    Locale[\"iu\"][\"script\"]             = \"Cans\"\n+    Locale[\"iu\"][\"spoken-in\"]          = \"the Canadian Arctic\"\n+    Locale[\"iu\"][\"supported-by\"]       = \"bing\"\n+\n+    # Inuktitut, Latin alphabet\n+    Locale[\"iu-Latn\"][\"name\"]          = \"Inuktitut (Latin)\"\n+    Locale[\"iu-Latn\"][\"endonym\"]       = \"Inuktitut\"\n+    #Locale[\"iu-Latn\"][\"translations-of\"]\n+    #Locale[\"iu-Latn\"][\"definitions-of\"]\n+    #Locale[\"iu-Latn\"][\"synonyms\"]\n+    #Locale[\"iu-Latn\"][\"examples\"]\n+    #Locale[\"iu-Latn\"][\"see-also\"]\n+    Locale[\"iu-Latn\"][\"family\"]        = \"Eskimo-Aleut\"\n+    Locale[\"iu-Latn\"][\"branch\"]        = \"Inuit\"\n+    Locale[\"iu-Latn\"][\"iso\"]           = \"iku\"\n+    Locale[\"iu-Latn\"][\"glotto\"]        = \"east2534\"\n+    Locale[\"iu-Latn\"][\"script\"]        = \"Latn\"\n+    Locale[\"iu-Latn\"][\"spoken-in\"]     = \"the Canadian Arctic\"\n+    Locale[\"iu-Latn\"][\"supported-by\"]  = \"bing\"\n \n     # Irish\n     Locale[\"ga\"][\"name\"]               = \"Irish\"\n"}
{"commit":"d0ee39d11da2b0abe97c5dcc519dc4086c902837","subject":"added whitespace to print out; conv:symbol aligns with interpretation.","message":"added whitespace to print out; conv:symbol aligns with interpretation.\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -143,7 +143,7 @@\n    }\n    comment_out = length(interpretAsNull) && length(conversionID) ? \"\" : \"#\"; # We want to put in the template so it is easy to uncomment.\n                                     printf(\"      %sconversion:interpret [          \\n\",             comment_out);\n-                                    printf(\"      %s   conversion:symbol \\\"%s\\\";\\n\",                 comment_out,interpretAsNull);\n+                                    printf(\"      %s   conversion:symbol        \\\"%s\\\";\\n\",                 comment_out,interpretAsNull);\n                                     printf(\"      %s   conversion:interpretation conversion:null; \\n\",comment_out);\n                                     printf(\"      %s];                            \\n\",               comment_out);\n    if(length(dataEnd)) {\n"}
{"commit":"f68cad57f54858eadb4777d584167ef5ba60b496","subject":"Fixed the \/** *\/ on a single line, again. This time in xtract.awk.","message":"Fixed the \/** *\/ on a single line, again.\nThis time in xtract.awk.\n","repos":"wernsey\/d.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xtract.awk\n+++ xtract.awk\n@@ -10,21 +10,28 @@\n # without any warranty.\n \n !Multi && \/\\\/\\*\\*\/ {\n-    Multi = 1;\n     sub(\/^.*\\\/\\*\\*\/,\"\");\n+    if(match($0,\/\\*\\\/\/)) {\n+        sub(\/\\*\\\/.*\/,\"\");\n+        print \"\\n\" $0 \"\\n\";\n+    } else {\n+        Multi = 1;\n+        print;\n+    }\n }\n Multi && \/\\*\\\/\/ {\n     sub(\/[[:space:]]*\\*\\\/.*\/,\"\");\n     if($0) {\n-    sub(\/^[[:space:]]*\\*\/,\"\");\n+        sub(\/^[[:space:]]*\\*\/,\"\");\n         print $0 \"\\n\";\n     } else print \"\";\n     Multi = 0;\n }\n Multi && \/^[[:space:]]*\\*\/ {\n     sub(\/^[[:space:]]*\\*\/,\"\");\n+    print;\n }\n-Multi { print; }\n+#Multi { print; }\n \n # For `\/\/\/` single-line comments:\n Single && $0 !~ \/\\\/\\\/\\\/\/ {\n"}
{"commit":"4dbc7e48304b40b5fe1ffe95e614e54530fea2af","subject":"log filename in error","message":"log filename in error\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -187,7 +187,7 @@\n \n # print anything else so it makes itself known\n (FNR != NR) && (done[NR]<1) && (NF>1){\n-\tprintf(\"ERROR? line %i  %s\", FNR, $0) > \"\/dev\/stderr\"\n+\tprintf(\"ERROR? in %s at line %i  %s\",FILENAME,FNR,$0) > \"\/dev\/stderr\"\n }\n \n # output dot file, include edge counts\n"}
{"commit":"d34e6f27122c98948f317dec9da2155760ca5c57","subject":"Removing hardcoding of data","message":"Removing hardcoding of data\n","repos":"open-power\/HTX,open-power\/HTX,open-power\/HTX,open-power\/HTX,open-power\/HTX","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- etc\/scripts\/htxconf.awk\n+++ etc\/scripts\/htxconf.awk\n@@ -522,7 +522,6 @@\n     cmd = \"\";\n \tDIR = snarf(\"echo $HTX_HOME_DIR\");\n \n-    #Hxediag stanza enabled only on HTX ubuntu Release\n \tip=snarf(\"hostname -i\");\n \tsplit(ip, ip_array, \" \");\n \tfor (cnt in ip_array) {\n@@ -548,7 +547,7 @@\n \t\t\t\tdriver_name = snarf(command);\n \t\t\t\tcommand = sprintf(\"cat %s\/htx_diag.config 2> \/dev\/null | awk -F':' 'NR==%d {print $2}'\", DIR, (count+1));\n \t\t\t\tdriver_desc=snarf(command);\n-\t\t\t\tcmd1=sprintf(\"ethtool -i %s | awk -F : ' {print $2}' \\n\", \"enP3p3s0f1\");\n+\t\t\t\tcmd1=sprintf(\"ethtool -i %s | awk -F : ' {print $2}' \\n\", intface);\n \t\t\t\tdriver=snarf(cmd1);\n \n \t\t\t\tif(driver ~ driver_name) {\n"}
{"commit":"d16cd91d7d70f1dad9d06f0e4278716e6e3b47cf","subject":"range printing for compound lines sorted out... still some kinks.","message":"range printing for compound lines sorted out... still some kinks.\n","repos":"ddcunningham\/crude-shellhunter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- deshellswebshellsbytheseashore.awk\n+++ deshellswebshellsbytheseashore.awk\n@@ -7,9 +7,9 @@\n     {print \"======\\n\"\"Removed line 1, as it was all shellcode:\",FILENAME,\". See diff for changes.\\n======\" >> \"\/root\/audit\/run.log\"}\n # print \"bliggablau\" > FILENAME\".tmp\"}\n   #If line matches shell pattern, and is on the first line, modify the file in place, and log what was changed.\n-  else if($0 ~ \/<\\?php if\\(!isset\\(\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]\\)\\).*\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]=1\\; \\} \\?><\\?php.*?>\/ && NR == 1 )\n-#&& NF >= 3) \n-    {print \"======\\n\"\"Removed shellcode from line 1:\",FILENAME,\". See diff for changes.\\n======\" >> \"\/root\/audit\/run.log\"; print \"<\"$bound > FILENAME\".tmp\" }\n+  else if($0 ~ \/<\\?php if\\(!isset\\(\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]\\)\\).*\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]=1\\; \\} \\?><\\?php.*?>\/ && NR == 1 && NF >= 3) \n+    {print \"======\\n\"\"Removed shellcode from line 1:\",FILENAME,\". See diff for changes.\\n======\" >> \"\/root\/audit\/run.log\"; \n+      for(i=bound; i<=NF; i++) printf(\"%s%s%s\",\"<\", $(i), i<NF ? OFS : \"\\n\") > FILENAME\".tmp\" }\n   #If line matches shell pattern, but is not on the first line, just log it.\n   else if($0 ~ \/<\\?php if\\(!isset\\(\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]\\)\\).*\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]=1\\; \\} \\?><\\?php.*?>\/) \n     { print \"======\\n\"\"Found additional shellcode, logging only:\",FILENAME,\", line\",NR\".\\n\\nShellcode is:\", $0\"\\n======\" >> \"\/root\/audit\/run.log\"; print $0> FILENAME\".tmp\"}\n"}
{"commit":"753a1fbec1e1bbf30642763f05c7b793a8fe4c8a","subject":"code_cracker: fix usage doc","message":"code_cracker: fix usage doc\n","repos":"bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas,bfontaine\/Katas","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- KataCodeCracker\/code_cracker.awk\n+++ KataCodeCracker\/code_cracker.awk\n@@ -2,7 +2,7 @@\n \n # Usage:\n #\n-#  $ awk -f code_cracker.awk -v key=<decryption key> [-v debug=1 ] [<your file>]\n+#  $ .\/code_cracker.awk -v key=<decryption key> [<your file>]\n #\n # See http:\/\/codingdojo.org\/kata\/CodeCracker\/. The key must be 26-chars long.\n \n"}
{"commit":"99082978ff5149ccdd89ec5e21e64f34aa13887f","subject":"[rnc2rng.awk] Fixing more awk --lint warnings","message":"[rnc2rng.awk] Fixing more awk --lint warnings\n","repos":"Distrotech\/gnome-doc-utils,jnavila\/gnome-doc-utils,Distrotech\/yelp-xsl,Distrotech\/gnome-doc-utils,Distrotech\/yelp-xsl,jnavila\/gnome-doc-utils","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- rng\/mallard\/rnc2rng.awk\n+++ rng\/mallard\/rnc2rng.awk\n@@ -154,7 +154,7 @@\n     aft = substr(line, 8);\n     sub(\/^ *\/, \"\", aft);\n     name = aft;\n-    stack[++stack_i] = \"<element\"\n+    stack[++stack_i] = \"<element\";\n     mode = \"name_class\";\n     name_class_i = stack_i;\n     parse_name_class(name);\n@@ -163,7 +163,7 @@\n     aft = substr(line, 10);\n     sub(\/^ *\/, \"\", aft);\n     name = aft;\n-    stack[++stack_i] = \"<attribute\"\n+    stack[++stack_i] = \"<attribute\";\n     mode = \"name_class\";\n     name_class_i = stack_i;\n     parse_name_class(name);\n@@ -225,6 +225,7 @@\n \n function parse_name_class (line) {\n   sub(\/^ *\/, \"\", line)\n+  if (length(line) == 0) return;\n   c = substr(line, 1, 1);\n   if (c == \"{\") {\n     if (stack_i != name_class_i) {\n@@ -297,15 +298,21 @@\n   else if (match(line, \/^[A-Za-z_]\/)) {\n     name = substr(line, 1);\n     sub(\/[^A-Za-z_]+.*\/, \"\", name);\n-    aft = substr(line, length(name) + 1);\n-    if (substr(aft, 1, 2) == \":*\") {\n+    if (length(line) >= length(name) + 1)\n+      aft = substr(line, length(name) + 1);\n+    else\n+      aft = \"\";\n+    if (length(aft) >= 2 && substr(aft, 1, 2) == \":*\") {\n       for (i = 1; i <= namespaces_i; i++) {\n         if (nsnames[i] == name) {\n           stack[++stack_i] = sprintf(\"<nsName ns='%s'\/>\", namespaces[i])\n           break;\n         }\n       }\n-      aft = substr(aft, 3);\n+      if (length(aft) >= 3)\n+        aft = substr(aft, 3);\n+      else\n+        aft = \"\";\n     }\n     else if (stack[stack_i] == \"<element\" || stack[stack_i] == \"<attribute\") {\n       stack[stack_i] = stack[stack_i] sprintf(\" name='%s'>\", name);\n"}
{"commit":"865564d2711c89311096637103830328269de270","subject":"typo & comment","message":"typo & comment\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -1,4 +1,4 @@\n-#! \/usr\/bin\/gawk -f\n+ #! \/usr\/bin\/gawk -f\n \n #  Reduce the subject and object of RDF triples (ntriples format)\n #  down to their @prefix (or literal object class)\n@@ -93,7 +93,7 @@\n \t# exceptions\n \tprefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n \tprefix[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n-\tprefid[\"https_archive_monarchinitiative_org_\"]=\"MonarchArchive\"\n+\tprefix[\"https_archive_monarchinitiative_org_\"]=\"MonarchArchive\"\n \t############################################################\n \t# Often re-visit whether these exceptions are still necessary\n \t# they may have been moved into the curie prefix mapping file\n@@ -114,7 +114,7 @@\n \n \t# in GWAScatalog\n \tprefix[\"http:\/\/www.ncbi.nlm.nih.gov\/SNP\/\"]=\"dbSNP\"\n-\t# note in curie_map WormBase is\n+\t# note in curie_map dbSNP is\n \t# 'http:\/\/www.ncbi.nlm.nih.gov\/projects\/SNP\/snp_ref.cgi?rs='\n \n \t# Ensembl  transient\n"}
{"commit":"2b96fcf1e2f04ce9a2d1a0116d70fc90a6908780","subject":"correct kegg-img base-uri & reframe how the last token is found","message":"correct kegg-img base-uri & reframe how the last token is found\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -44,13 +44,19 @@\n         # print str\n         finish = length(str) - start + 1\n     }\n-\n     return substr(str, start, finish)\n }\n \n # remove final token from token path delimited with SUBSEP\n-function detail(key) {\n-    return substr(key, 1, match(key, SUBSEP \"[[:alnum:].]+$\")-1)\n+# this ends up matching chars included in local identifiers \n+# ._-;():%#,?=@*\\&+   (yea ... nope)\n+\n+function detail(key,   start) {\n+    start = match(key, \".+\" SUBSEP) \n+    if(start == 1)\n+        return substr(key, 1, RLENGTH -1)\n+    else\n+        return key\n }\n \n # for output, keep underscore, letters & numbers\n@@ -105,7 +111,7 @@\n     split(curie, a , \":\")\n     if(match(a[2], a[1]\"_\") > 0){\n         sub(\"_\", \":\", a[2]);\n-        curie=a[2]\n+        curie = a[2]\n     }\n     return curie\n }\n@@ -144,7 +150,7 @@\n     prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/genome\/\")]=\"NCBIGenome\"\n     prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/assembly?term=\")]=\"NCBIAssembly\"\n     # kegg\n-    prefix[tokenize(\"http:\/\/www.genome.jp\/kegg\/pathway\/map\/map\")]=\"KEGG-img\"\n+    prefix[tokenize(\"http:\/\/www.genome.jp\/kegg\/pathway\/map\/\")]=\"KEGG-img\"\n     # in EOM\n     prefix[tokenize(\"https:\/\/elementsofmorphology.nih.gov\/images\/terms\/\")]=\"EOM_IMG\"\n     prefix[tokenize(\"http:\/\/elementsofmorphology.nih.gov\/index.cgi?tid=\")]=\"EOM\"  # w\/o httpS\n"}
{"commit":"273ae82a2d6664f0624cc606f63c7dd0f41c7476","subject":"minor correction","message":"minor correction\n","repos":"FarGroup\/FarManager,johnd0e\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,johnd0e\/FarManager,johnd0e\/FarManager,johnd0e\/FarManager,johnd0e\/FarManager,johnd0e\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,johnd0e\/FarManager,FarGroup\/FarManager,FarGroup\/FarManager,johnd0e\/FarManager","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- far\/scripts\/mkdep.awk\n+++ far\/scripts\/mkdep.awk\n@@ -41,7 +41,7 @@\n   {\n     if(substr(lnsrc,1,length(\"#include \\\"\")) == \"#include \\\"\")\n     {\n-      lnsrc=gensub(\/^#include[ \\t]?\\\"([^\\\"]+)\\\"\/, \"\\\\1\", \"g\", lnsrc);\n+      lnsrc=gensub(\/^#include[ \\t]*\\\"([^\\\"]+)\\\".*$\/, \"\\\\1\", \"g\", lnsrc);\n       if(lnsrc != \"\" && lnsrc != $0)\n         print \" \" lnsrc;\n     }\n"}
{"commit":"0d0661a0815f9c23a28c66381f34378a9c91505f","subject":"show start and end","message":"show start and end","repos":"melvinzhang\/scheme2llvm","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- transform_comments.awk\n+++ transform_comments.awk\n@@ -4,11 +4,13 @@\n \n \/^;>>>\/ {\n     show = 0\n+    print $0\n     next\n }\n \n \/^;<<<\/ {\n     show = 1\n+    print $0\n     next\n }\n \n"}
{"commit":"de930986d3b3bb274b4d4c92819d0e91c650c1e3","subject":"bundle example in template maker","message":"bundle example in template maker\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -100,10 +100,12 @@\n    }\n \n    if( length(conversionID)) {       \n-                                    printf(\":a_bundle\\n\");\n-                                    printf(\"   conversion:property_name \\\"a_property\\\"; # Can also be a URI, e.g. dcterms:title.\\n\");\n-                                    printf(\"   conversion:type_name     \\\"My Class\\\";   # Can also be a URI, e.g. foaf:Person.\\n\");\n-                                    printf(\".\");\n+                                    printf(\"\\n\");\n+                                    printf(\"#:a_bundle\\n\");\n+                                    printf(\"#   a conversion:ImplicitBundle;\\n\");\n+                                    printf(\"#   conversion:property_name \\\"a_property\\\"; # Can also be a URI, e.g. dcterms:title.\\n\");\n+                                    printf(\"#   conversion:type_name     \\\"My Class\\\";   # Can also be a URI, e.g. foaf:Person.\\n\");\n+                                    printf(\"#.\\n\");\n    }\n    #\n    # Describe the dataset.\n"}
{"commit":"f9920edd824e78342fc1ce3eb73f21a970d5fa9c","subject":"some common declarations have extra spaces","message":"some common declarations have extra spaces\n","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- verification\/OpenAD\/code_ad\/cb2m1.awk\n+++ verification\/OpenAD\/code_ad\/cb2m1.awk\n@@ -1,11 +1,7 @@\n-BEGIN { incommon = 0; fstart = 0} \n-{if ( fstart == 0 ) { fstart=1 }   }\n-\/^      .*\/ {incommon = 0 }\n-\/^[^ ]\/ {incommon = 0 }\n-\/^      COMMON\/ || \/^      common\/ { incommon = 1 }\n-\/      &\/ { if (incommon != 1) {print} }\n-{if (incommon ==0 ) print}\n-END { \n-}\n-\n-\n+BEGIN { commonDecl = 0} \n+\/^      .*\/ {commonDecl = 0 }\n+\/^[^ ]\/ {commonDecl = 0 }\n+\/^       *COMMON\/ || \/^       *common\/ { commonDecl = 1 }\n+\/      &\/ { if (commonDecl != 1) {print} }\n+{if (commonDecl ==0 ) print }\n+END {}\n"}
{"commit":"0601e0cf7646d812d9c5fb90a69c3200c350f329","subject":"Languages: for newly supported languages, add an unstable field","message":"Languages: for newly supported languages, add an unstable field\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -15,6 +15,7 @@\n function initLocale(    i) {\n \n     #? Amharic\n+    Locale[\"am\"][\"support\"]            = \"unstable\"\n     Locale[\"am\"][\"name\"]               = \"Amharic\"\n     Locale[\"am\"][\"endonym\"]            = \"\u12a0\u121b\u122d\u129b\"\n     #Locale[\"am\"][\"translations-of\"]\n@@ -28,6 +29,7 @@\n     Locale[\"am\"][\"script\"]             = \"Ethi\"\n \n     #? Assamese\n+    Locale[\"as\"][\"support\"]            = \"unstable\"\n     Locale[\"as\"][\"name\"]               = \"Assamese\"\n     Locale[\"as\"][\"endonym\"]            = \"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be\"\n     #Locale[\"as\"][\"translations-of\"]\n@@ -41,6 +43,7 @@\n     Locale[\"as\"][\"script\"]             = \"Beng\"\n \n     #? Bashkir\n+    Locale[\"ba\"][\"support\"]            = \"unstable\"\n     Locale[\"ba\"][\"name\"]               = \"Bashkir\"\n     Locale[\"ba\"][\"endonym\"]            = \"\u0431\u0430\u0448\u04a1\u043e\u0440\u0442 \u0442\u0435\u043b\u0435\"\n     #Locale[\"ba\"][\"translations-of\"]\n@@ -54,6 +57,7 @@\n     Locale[\"ba\"][\"script\"]             = \"Cyrl\"\n \n     #? Breton\n+    Locale[\"br\"][\"support\"]            = \"unstable\"\n     Locale[\"br\"][\"name\"]               = \"Breton\"\n     Locale[\"br\"][\"endonym\"]            = \"Brezhoneg\"\n     #Locale[\"br\"][\"translations-of\"]\n@@ -67,6 +71,7 @@\n     Locale[\"br\"][\"script\"]             = \"Latn\"\n \n     #? Corsican\n+    Locale[\"co\"][\"support\"]            = \"unstable\"\n     Locale[\"co\"][\"name\"]               = \"Corsican\"\n     Locale[\"co\"][\"endonym\"]            = \"Corsu\"\n     #Locale[\"co\"][\"translations-of\"]\n@@ -80,6 +85,7 @@\n     Locale[\"co\"][\"script\"]             = \"Latn\"\n \n     #? Dzongkha\n+    Locale[\"dz\"][\"support\"]            = \"unstable\"\n     Locale[\"dz\"][\"name\"]               = \"Dzongkha\"\n     Locale[\"dz\"][\"endonym\"]            = \"\u0f62\u0fab\u0f7c\u0f44\u0f0b\u0f41\"\n     #Locale[\"dz\"][\"translations-of\"]\n@@ -93,6 +99,7 @@\n     Locale[\"dz\"][\"script\"]             = \"Tibt\"\n \n     #? Faroese\n+    Locale[\"fo\"][\"support\"]            = \"unstable\"\n     Locale[\"fo\"][\"name\"]               = \"Faroese\"\n     Locale[\"fo\"][\"endonym\"]            = \"F\u00f8royskt\"\n     #Locale[\"fo\"][\"translations-of\"]\n@@ -106,6 +113,7 @@\n     Locale[\"fo\"][\"script\"]             = \"Latn\"\n \n     #? Fijian\n+    Locale[\"fj\"][\"support\"]            = \"unstable\"\n     Locale[\"fj\"][\"name\"]               = \"Fijian\"\n     Locale[\"fj\"][\"endonym\"]            = \"Vosa Vakaviti\"\n     #Locale[\"fj\"][\"translations-of\"]\n@@ -119,6 +127,7 @@\n     Locale[\"fj\"][\"script\"]             = \"Latn\"\n \n     #? Guarani\n+    Locale[\"gn\"][\"support\"]            = \"unstable\"\n     Locale[\"gn\"][\"name\"]               = \"Guarani\"\n     Locale[\"gn\"][\"endonym\"]            = \"Ava\u00f1e'\u1ebd\"\n     #Locale[\"gn\"][\"translations-of\"]\n@@ -132,6 +141,7 @@\n     Locale[\"gn\"][\"script\"]             = \"Latn\"\n \n     #? Interlingue\n+    Locale[\"ie\"][\"support\"]            = \"unstable\"\n     Locale[\"ie\"][\"name\"]               = \"Interlingue\"\n     Locale[\"ie\"][\"endonym\"]            = \"Interlingue\"\n     #Locale[\"ie\"][\"translations-of\"]\n@@ -145,6 +155,7 @@\n     Locale[\"ie\"][\"script\"]             = \"Latn\"\n \n     #? Kinyarwanda\n+    Locale[\"rw\"][\"support\"]            = \"unstable\"\n     Locale[\"rw\"][\"name\"]               = \"Kinyarwanda\"\n     Locale[\"rw\"][\"endonym\"]            = \"Ikinyarwanda\"\n     #Locale[\"rw\"][\"translations-of\"]\n@@ -158,6 +169,7 @@\n     Locale[\"rw\"][\"script\"]             = \"Latn\"\n \n     #? Kyrgyz\n+    Locale[\"ky\"][\"support\"]            = \"unstable\"\n     Locale[\"ky\"][\"name\"]               = \"Kyrgyz\"\n     Locale[\"ky\"][\"endonym\"]            = \"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430\"\n     #Locale[\"ky\"][\"translations-of\"]\n@@ -171,6 +183,7 @@\n     Locale[\"ky\"][\"script\"]             = \"Cyrl\"\n \n     #? Kurdish (Central Kurdish, Sorani), Latin alphabet\n+    Locale[\"ku\"][\"support\"]            = \"unstable\"\n     Locale[\"ku\"][\"name\"]               = \"Kurdish\"\n     Locale[\"ku\"][\"endonym\"]            = \"Kurd\u00ee\"\n     #Locale[\"ku\"][\"translations-of\"]\n@@ -184,6 +197,7 @@\n     Locale[\"ku\"][\"script\"]             = \"Latn\"\n \n     #? Luxembourgish\n+    Locale[\"lb\"][\"support\"]            = \"unstable\"\n     Locale[\"lb\"][\"name\"]               = \"Luxembourgish\"\n     Locale[\"lb\"][\"endonym\"]            = \"L\u00ebtzebuergesch\"\n     #Locale[\"lb\"][\"translations-of\"]\n@@ -197,6 +211,7 @@\n     Locale[\"lb\"][\"script\"]             = \"Latn\"\n \n     #? Occitan\n+    Locale[\"oc\"][\"support\"]            = \"unstable\"\n     Locale[\"oc\"][\"name\"]               = \"Occitan\"\n     Locale[\"oc\"][\"endonym\"]            = \"Occitan\"\n     #Locale[\"oc\"][\"translations-of\"]\n@@ -210,6 +225,7 @@\n     Locale[\"oc\"][\"script\"]             = \"Latn\"\n \n     #? Oromo\n+    Locale[\"om\"][\"support\"]            = \"unstable\"\n     Locale[\"om\"][\"name\"]               = \"Oromo\"\n     Locale[\"om\"][\"endonym\"]            = \"Afaan Oromoo\"\n     #Locale[\"om\"][\"translations-of\"]\n@@ -223,6 +239,7 @@\n     Locale[\"om\"][\"script\"]             = \"Latn\"\n \n     #? Oriya\n+    Locale[\"or\"][\"support\"]            = \"unstable\"\n     Locale[\"or\"][\"name\"]               = \"Oriya\"\n     Locale[\"or\"][\"endonym\"]            = \"\u0b13\u0b21\u0b3c\u0b3f\u0b06\"\n     #Locale[\"or\"][\"translations-of\"]\n@@ -236,6 +253,7 @@\n     Locale[\"or\"][\"script\"]             = \"Orya\"\n \n     #? Pashto\n+    Locale[\"ps\"][\"support\"]            = \"unstable\"\n     Locale[\"ps\"][\"name\"]               = \"Pashto\"\n     Locale[\"ps\"][\"endonym\"]            = \"\u067e\u069a\u062a\u0648\"\n     #Locale[\"ps\"][\"translations-of\"]\n@@ -250,6 +268,7 @@\n     Locale[\"ps\"][\"rtl\"]                = \"true\" # RTL language\n \n     #? Romansh\n+    Locale[\"rm\"][\"support\"]            = \"unstable\"\n     Locale[\"rm\"][\"name\"]               = \"Romansh\"\n     Locale[\"rm\"][\"endonym\"]            = \"Rumantsch\"\n     #Locale[\"rm\"][\"translations-of\"]\n@@ -263,6 +282,7 @@\n     Locale[\"rm\"][\"script\"]             = \"Latn\"\n \n     #? Sindhi\n+    Locale[\"sd\"][\"support\"]            = \"unstable\"\n     Locale[\"sd\"][\"name\"]               = \"Sindhi\"\n     Locale[\"sd\"][\"endonym\"]            = \"\u0633\u0646\u068c\u064a\"\n     #Locale[\"sd\"][\"translations-of\"]\n@@ -277,6 +297,7 @@\n     Locale[\"sd\"][\"rtl\"]                = \"true\" # RTL language\n \n     #? Samoan\n+    Locale[\"sm\"][\"support\"]            = \"unstable\"\n     Locale[\"sm\"][\"name\"]               = \"Samoan\"\n     Locale[\"sm\"][\"endonym\"]            = \"Gagana S\u0101moa\"\n     #Locale[\"sm\"][\"translations-of\"]\n@@ -290,6 +311,7 @@\n     Locale[\"sm\"][\"script\"]             = \"Latn\"\n \n     #? Scottish Gaelic\n+    Locale[\"gd\"][\"support\"]            = \"unstable\"\n     Locale[\"gd\"][\"name\"]               = \"Scottish Gaelic\"\n     Locale[\"gd\"][\"endonym\"]            = \"G\u00e0idhlig\"\n     #Locale[\"gd\"][\"translations-of\"]\n@@ -303,6 +325,7 @@\n     Locale[\"gd\"][\"script\"]             = \"Latn\"\n \n     #? Shona\n+    Locale[\"sn\"][\"support\"]            = \"unstable\"\n     Locale[\"sn\"][\"name\"]               = \"Shona\"\n     Locale[\"sn\"][\"endonym\"]            = \"chiShona\"\n     #Locale[\"sn\"][\"translations-of\"]\n@@ -316,6 +339,7 @@\n     Locale[\"sn\"][\"script\"]             = \"Latn\"\n \n     #? Tigrinya\n+    Locale[\"ti\"][\"support\"]            = \"unstable\"\n     Locale[\"ti\"][\"name\"]               = \"Tigrinya\"\n     Locale[\"ti\"][\"endonym\"]            = \"\u1275\u130d\u122d\u129b\"\n     #Locale[\"ti\"][\"translations-of\"]\n@@ -329,6 +353,7 @@\n     Locale[\"ti\"][\"script\"]             = \"Ethi\"\n \n     #? Tibetan (Standard Tibetan)\n+    Locale[\"bo\"][\"support\"]            = \"unstable\"\n     Locale[\"bo\"][\"name\"]               = \"Tibetan\"\n     Locale[\"bo\"][\"endonym\"]            = \"\u0f56\u0f7c\u0f51\u0f0b\u0f61\u0f72\u0f42\"\n     #Locale[\"bo\"][\"translations-of\"]\n@@ -342,6 +367,7 @@\n     Locale[\"bo\"][\"script\"]             = \"Tibt\"\n \n     #? Turkmen\n+    Locale[\"tk\"][\"support\"]            = \"unstable\"\n     Locale[\"tk\"][\"name\"]               = \"Turkmen\"\n     Locale[\"tk\"][\"endonym\"]            = \"T\u00fcrkmen\"\n     #Locale[\"tk\"][\"translations-of\"]\n@@ -355,6 +381,7 @@\n     Locale[\"tk\"][\"script\"]             = \"Latn\"\n \n     #? Tatar\n+    Locale[\"tt\"][\"support\"]            = \"unstable\"\n     Locale[\"tt\"][\"name\"]               = \"Tatar\"\n     Locale[\"tt\"][\"endonym\"]            = \"\u0442\u0430\u0442\u0430\u0440\u0447\u0430\"\n     #Locale[\"tt\"][\"translations-of\"]\n@@ -368,6 +395,7 @@\n     Locale[\"tt\"][\"script\"]             = \"Cyrl\"\n \n     #? Uyghur\n+    Locale[\"ug\"][\"support\"]            = \"unstable\"\n     Locale[\"ug\"][\"name\"]               = \"Uyghur\"\n     Locale[\"ug\"][\"endonym\"]            = \"\u0626\u06c7\u064a\u063a\u06c7\u0631 \u062a\u0649\u0644\u0649\"\n     #Locale[\"ug\"][\"translations-of\"]\n@@ -382,6 +410,7 @@\n     Locale[\"ug\"][\"rtl\"]                = \"true\" # RTL language\n \n     #? Volap\u00fck\n+    Locale[\"vo\"][\"support\"]            = \"unstable\"\n     Locale[\"vo\"][\"name\"]               = \"Volap\u00fck\"\n     Locale[\"vo\"][\"endonym\"]            = \"Volap\u00fck\"\n     #Locale[\"vo\"][\"translations-of\"]\n@@ -395,6 +424,7 @@\n     Locale[\"vo\"][\"script\"]             = \"Latn\"\n \n     #? Wolof\n+    Locale[\"wo\"][\"support\"]            = \"unstable\"\n     Locale[\"wo\"][\"name\"]               = \"Wolof\"\n     Locale[\"wo\"][\"endonym\"]            = \"Wollof\"\n     #Locale[\"wo\"][\"translations-of\"]\n@@ -408,6 +438,7 @@\n     Locale[\"wo\"][\"script\"]             = \"Latn\"\n \n     #? Western Frisian\n+    Locale[\"fy\"][\"support\"]            = \"unstable\"\n     Locale[\"fy\"][\"name\"]               = \"Western Frisian\"\n     Locale[\"fy\"][\"endonym\"]            = \"Frysk\"\n     #Locale[\"fy\"][\"translations-of\"]\n@@ -421,6 +452,7 @@\n     Locale[\"fy\"][\"script\"]             = \"Latn\"\n \n     #? Xhosa\n+    Locale[\"xh\"][\"support\"]            = \"unstable\"\n     Locale[\"xh\"][\"name\"]               = \"Xhosa\"\n     Locale[\"xh\"][\"endonym\"]            = \"isiXhosa\"\n     #Locale[\"xh\"][\"translations-of\"]\n@@ -434,6 +466,7 @@\n     Locale[\"xh\"][\"script\"]             = \"Latn\"\n \n     #? Cherokee\n+    Locale[\"chr\"][\"support\"]            = \"unstable\"\n     Locale[\"chr\"][\"name\"]               = \"Cherokee\"\n     Locale[\"chr\"][\"endonym\"]            = \"\u13e3\u13b3\u13a9\"\n     #Locale[\"chr\"][\"translations-of\"]\n"}
{"commit":"224e1970da3beaaacb6170a1bb06e12c7fa54f9d","subject":"Translate: warn if TTS voice isn't available","message":"Translate: warn if TTS voice isn't available\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -193,11 +193,16 @@\n }\n \n # Play using a Text-to-Speech engine.\n-function play(text, tl,    url) {\n+function play(text, tl,    url, status) {\n     url = _TTSUrl(text, tl)\n \n     # Don't use getline from pipe here - the same pipe will be run only once for each AWK script!\n-    system(Option[\"player\"] \" \" parameterize(url) SUPOUT SUPERR)\n+    status = system(Option[\"player\"] \" \" parameterize(url) SUPOUT SUPERR)\n+\n+    if (status)\n+        w(\"Voice output isn't available for \" getName(tl))\n+\n+    return status\n }\n \n # Download audio from a Text-to-Speech engine.\n"}
{"commit":"d6ebe19923223b6e30a8e5cf5083c194b04053da","subject":"change compare and title heads","message":"change compare and title heads\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@22130 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -17,7 +17,8 @@\n     incontract = 1\n   } \n \n-  if (incontract == 1) {\n+  if ((substr($4,1,4) >= $3) || ((length($4) == 9) && (substr($4,6,4) >= $3))) {\n+  #if (incontract == 1) {\n       nn = split($2,na,\/\\.\/)\n       lp2 = na[nn]\n     if (!(($1,lp2,$3,$4) in b)) {\n"}
{"commit":"3d96fccdbb9d0645622a5e14fbb452ecacdd11e7","subject":"LanguageData: update section K","message":"LanguageData: update section K\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1178,9 +1178,7 @@\n     Locale[\"jv\"][\"spoken-in\"]          = \"Java, Indonesia\"\n     Locale[\"jv\"][\"supported-by\"]       = \"google; yandex\"\n \n-\n-\n-    #46 Kannada (Modern Kannada)\n+    # Kannada (Modern Kannada)\n     Locale[\"kn\"][\"name\"]               = \"Kannada\"\n     Locale[\"kn\"][\"endonym\"]            = \"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1\"\n     Locale[\"kn\"][\"translations-of\"]    = \"%s \u0ca8 \u0c85\u0ca8\u0cc1\u0cb5\u0cbe\u0ca6\u0c97\u0cb3\u0cc1\"\n@@ -1189,11 +1187,14 @@\n     Locale[\"kn\"][\"examples\"]           = \"\u0c89\u0ca6\u0cbe\u0cb9\u0cb0\u0ca3\u0cc6\u0c97\u0cb3\u0cc1\"\n     Locale[\"kn\"][\"see-also\"]           = \"\u0c87\u0ca6\u0ca8\u0ccd\u0ca8\u0cc2 \u0c97\u0cae\u0ca8\u0cbf\u0cb8\u0cbf\"\n     Locale[\"kn\"][\"family\"]             = \"Dravidian\"\n+    Locale[\"kn\"][\"branch\"]             = \"South Dravidian\"\n     Locale[\"kn\"][\"iso\"]                = \"kan\"\n     Locale[\"kn\"][\"glotto\"]             = \"nucl1305\"\n     Locale[\"kn\"][\"script\"]             = \"Knda\"\n-\n-    #47 Kazakh, Cyrillic alphabet\n+    Locale[\"kn\"][\"spoken-in\"]          = \"the southwestern India\"\n+    Locale[\"kn\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Kazakh, Cyrillic alphabet\n     Locale[\"kk\"][\"name\"]               = \"Kazakh\"\n     Locale[\"kk\"][\"endonym\"]            = \"\u049a\u0430\u0437\u0430\u049b \u0442\u0456\u043b\u0456\"\n     Locale[\"kk\"][\"translations-of\"]    = \"%s \u0430\u0443\u0434\u0430\u0440\u043c\u0430\u043b\u0430\u0440\u044b\"\n@@ -1202,11 +1203,14 @@\n     Locale[\"kk\"][\"examples\"]           = \"\u041c\u044b\u0441\u0430\u043b\u0434\u0430\u0440\"\n     Locale[\"kk\"][\"see-also\"]           = \"\u041a\u0435\u043b\u0435\u0441\u0456 \u0442\u0456\u0437\u0456\u043c\u0434\u0456 \u0434\u0435 \u043a\u04e9\u0440\u0456\u04a3\u0456\u0437:\"\n     Locale[\"kk\"][\"family\"]             = \"Turkic\"\n+    Locale[\"kk\"][\"branch\"]             = \"Kipchak\"\n     Locale[\"kk\"][\"iso\"]                = \"kaz\"\n     Locale[\"kk\"][\"glotto\"]             = \"kaza1248\"\n     Locale[\"kk\"][\"script\"]             = \"Cyrl\"\n-\n-    #48 Khmer (Central Khmer)\n+    Locale[\"kk\"][\"spoken-in\"]          = \"Kazakhstan; China; Mongolia; Russia; Kyrgyzstan; Uzbekistan\"\n+    Locale[\"kk\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Khmer (Central Khmer)\n     Locale[\"km\"][\"name\"]               = \"Khmer\"\n     Locale[\"km\"][\"endonym\"]            = \"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a\"\n     Locale[\"km\"][\"translations-of\"]    = \"\u1780\u17b6\u179a\u200b\u1794\u1780\u200b\u1794\u17d2\u179a\u17c2\u200b\u1793\u17c3 %s\"\n@@ -1215,11 +1219,14 @@\n     Locale[\"km\"][\"examples\"]           = \"\u17a7\u1791\u17b6\u17a0\u179a\u178e\u17cd\"\n     Locale[\"km\"][\"see-also\"]           = \"\u1798\u17be\u179b\u200b\u1795\u1784\u200b\u178a\u17c2\u179a\"\n     Locale[\"km\"][\"family\"]             = \"Austroasiatic\"\n+    Locale[\"km\"][\"branch\"]             = \"Khmeric\"\n     Locale[\"km\"][\"iso\"]                = \"khm\"\n     Locale[\"km\"][\"glotto\"]             = \"cent1989\"\n     Locale[\"km\"][\"script\"]             = \"Khmr\"\n-\n-    #49 Kinyarwanda\n+    Locale[\"km\"][\"spoken-in\"]          = \"Cambodia; Thailand; Vietnam\"\n+    Locale[\"km\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Kinyarwanda\n     Locale[\"rw\"][\"name\"]               = \"Kinyarwanda\"\n     Locale[\"rw\"][\"endonym\"]            = \"Ikinyarwanda\"\n     #Locale[\"rw\"][\"translations-of\"]\n@@ -1228,9 +1235,12 @@\n     #Locale[\"rw\"][\"examples\"]\n     #Locale[\"rw\"][\"see-also\"]\n     Locale[\"rw\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"rw\"][\"branch\"]             = \"Bantu\"\n     Locale[\"rw\"][\"iso\"]                = \"kin\"\n     Locale[\"rw\"][\"glotto\"]             = \"kiny1244\"\n     Locale[\"rw\"][\"script\"]             = \"Latn\"\n+    Locale[\"rw\"][\"spoken-in\"]          = \"Rwanda; Uganda; DR Congo; Tanzania\"\n+    Locale[\"rw\"][\"supported-by\"]       = \"google\"\n \n     # Konkani (Goan Konkani)\n     Locale[\"gom\"][\"name\"]              = \"Konkani\"\n@@ -1241,11 +1251,14 @@\n     #Locale[\"gom\"][\"examples\"]\n     #Locale[\"gom\"][\"see-also\"]\n     Locale[\"gom\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"gom\"][\"branch\"]            = \"Indo-Aryan\"\n     Locale[\"gom\"][\"iso\"]               = \"gom\"\n     Locale[\"gom\"][\"glotto\"]            = \"goan1235\"\n     Locale[\"gom\"][\"script\"]            = \"Deva\"\n-\n-    #50 Korean\n+    Locale[\"gom\"][\"spoken-in\"]         = \"the western coastal region of India\"\n+    Locale[\"gom\"][\"supported-by\"]      = \"google\"\n+\n+    # Korean\n     Locale[\"ko\"][\"name\"]               = \"Korean\"\n     Locale[\"ko\"][\"endonym\"]            = \"\ud55c\uad6d\uc5b4\"\n     Locale[\"ko\"][\"translations-of\"]    = \"%s\uc758 \ubc88\uc5ed\"\n@@ -1254,10 +1267,13 @@\n     Locale[\"ko\"][\"examples\"]           = \"\uc608\ubb38\"\n     Locale[\"ko\"][\"see-also\"]           = \"\ucc38\uc870\"\n     Locale[\"ko\"][\"family\"]             = \"Koreanic\"\n+    #Locale[\"ko\"][\"branch\"]\n     Locale[\"ko\"][\"iso\"]                = \"kor\"\n     Locale[\"ko\"][\"glotto\"]             = \"kore1280\"\n     Locale[\"ko\"][\"script\"]             = \"Kore\"\n     Locale[\"ko\"][\"dictionary\"]         = \"true\" # has dictionary\n+    Locale[\"ko\"][\"spoken-in\"]          = \"South Korea; North Korea; China\"\n+    Locale[\"ko\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n     # Krio\n     Locale[\"kri\"][\"name\"]              = \"Krio\"\n@@ -1268,11 +1284,14 @@\n     #Locale[\"kri\"][\"examples\"]\n     #Locale[\"kri\"][\"see-also\"]\n     Locale[\"kri\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"kri\"][\"branch\"]            = \"English Creole\"\n     Locale[\"kri\"][\"iso\"]               = \"kri\"\n     Locale[\"kri\"][\"glotto\"]            = \"krio1253\"\n     Locale[\"kri\"][\"script\"]            = \"Latn\"\n-\n-    #51 Kurdish (Northern) \/ Kurmanji\n+    Locale[\"kri\"][\"spoken-in\"]         = \"Sierra Leone\"\n+    Locale[\"kri\"][\"supported-by\"]      = \"google\"\n+\n+    # Kurdish (Northern Kurdish) \/ Kurmanji\n     Locale[\"ku\"][\"name\"]               = \"Kurdish (Northern)\"\n     Locale[\"ku\"][\"name2\"]              = \"Kurmanji\"\n     Locale[\"ku\"][\"endonym\"]            = \"Kurmanc\u00ee\"\n@@ -1283,11 +1302,14 @@\n     #Locale[\"ku\"][\"examples\"]\n     #Locale[\"ku\"][\"see-also\"]\n     Locale[\"ku\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ku\"][\"branch\"]             = \"Iranian\"\n     Locale[\"ku\"][\"iso\"]                = \"kmr\"\n     Locale[\"ku\"][\"glotto\"]             = \"nort2641\"\n     Locale[\"ku\"][\"script\"]             = \"Latn\"\n-\n-    # Kurdish (Central) \/ Sorani\n+    Locale[\"ku\"][\"spoken-in\"]          = \"southeast Turkey; northwest and northeast Iran; northern Iraq; northern Syria; the Caucasus and Khorasan regions\"\n+    Locale[\"ku\"][\"supported-by\"]       = \"google\"\n+\n+    # Kurdish (Central Kurdish) \/ Sorani\n     Locale[\"ckb\"][\"name\"]              = \"Kurdish (Central)\"\n     Locale[\"ckb\"][\"name2\"]             = \"Sorani\"\n     Locale[\"ckb\"][\"endonym\"]           = \"\u0633\u06c6\u0631\u0627\u0646\u06cc\"\n@@ -1298,12 +1320,15 @@\n     #Locale[\"ckb\"][\"examples\"]\n     #Locale[\"ckb\"][\"see-also\"]\n     Locale[\"ckb\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"ckb\"][\"branch\"]            = \"Iranian\"\n     Locale[\"ckb\"][\"iso\"]               = \"ckb\"\n     Locale[\"ckb\"][\"glotto\"]            = \"cent1972\"\n     Locale[\"ckb\"][\"script\"]            = \"Arab\"\n     Locale[\"ckb\"][\"rtl\"]               = \"true\" # RTL language\n-\n-    #52 Kyrgyz\n+    Locale[\"ckb\"][\"spoken-in\"]         = \"Iraqi Kurdistan; western Iran\"\n+    Locale[\"ckb\"][\"supported-by\"]      = \"google\"\n+\n+    # Kyrgyz, Cyrillic alphabet\n     Locale[\"ky\"][\"name\"]               = \"Kyrgyz\"\n     Locale[\"ky\"][\"endonym\"]            = \"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430\"\n     Locale[\"ky\"][\"translations-of\"]    = \"%s \u043a\u043e\u0442\u043e\u0440\u043c\u043e\u0441\u0443\"\n@@ -1312,9 +1337,14 @@\n     Locale[\"ky\"][\"examples\"]           = \"\u041c\u0438\u0441\u0430\u043b\u0434\u0430\u0440\"\n     Locale[\"ky\"][\"see-also\"]           = \"\u0414\u0430\u0433\u044b \u043a\u0430\u0440\u0430\u04a3\u044b\u0437\"\n     Locale[\"ky\"][\"family\"]             = \"Turkic\"\n+    Locale[\"ky\"][\"branch\"]             = \"Kipchak\"\n     Locale[\"ky\"][\"iso\"]                = \"kir\"\n     Locale[\"ky\"][\"glotto\"]             = \"kirg1245\"\n     Locale[\"ky\"][\"script\"]             = \"Cyrl\"\n+    Locale[\"ky\"][\"spoken-in\"]          = \"Kyrgyzstan; China; Tajikistan; Afghanistan; Pakistan\"\n+    Locale[\"ky\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #53 Lao\n     Locale[\"lo\"][\"name\"]               = \"Lao\"\n"}
{"commit":"1c08fbcf1ba6ca74542977f510af9575ca45cc75","subject":"Patch the JAVA_CLASSPATH_DEFAULT config value for Windows.  Ticket #2278.","message":"Patch the JAVA_CLASSPATH_DEFAULT config value for Windows.  Ticket #2278.\n","repos":"zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -151,7 +151,12 @@\n \n # Win32 has a path separator of ';', while on Unix it is ':'\n \/^JAVA_CLASSPATH_SEPARATOR\/ {\n-\tprintf \"%s= ;\\n\", $1\n+\tprintf \"JAVA_CLASSPATH_SEPARATOR= ;\\n\", $1\n+}\n+\n+# Win32 has the jar files located in the bin directory.\n+\/^JAVA_CLASSPATH_DEFAULT\/ {\n+\tprint \"JAVA_CLASSPATH_DEFAULT = $(BIN) $(BIN)\/scimark2lib.jar .\"\n \tnext\n }\n \n"}
{"commit":"35a5defb68f8dcf1ca2e780a3e4cd52eda8102e2","subject":"TestCommons: test unescape()","message":"TestCommons: test unescape()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestCommons.awk\n+++ test\/TestCommons.awk\n@@ -114,6 +114,13 @@\n         assertEqual(escape(\"\\\"\"), \"\\\\\\\"\")\n         assertEqual(escape(\"\\\"foo\\\"\"), \"\\\\\\\"foo\\\\\\\"\")\n     }\n+    T(\"unescape()\", 4)\n+    {\n+        assertEqual(unescape(\"\"), \"\")\n+        assertEqual(unescape(\"foo\"), \"foo\")\n+        assertEqual(unescape(\"\\\\\\\"\"), \"\\\"\")\n+        assertEqual(unescape(\"\\\\\\\"foo\\\\\\\"\"), \"\\\"foo\\\"\")\n+    }\n     T(\"parameterize()\", 10)\n     {\n         assertEqual(parameterize(\"\"), \"''\")\n"}
{"commit":"5d9376ed39e0f689f688d1ac0ff72f2d0bd85f77","subject":"cover lagging http:\/\/WWW.monarch","message":"cover lagging http:\/\/WWW.monarch\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -99,7 +99,9 @@\n \tprefix[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n \t# till all non httpS: are purged\n \tprefix[\"http:\/\/monarchinitiative.org\/\"]=\"BASE\"\n+\tprefix[\"http:\/\/www.monarchinitiative.org\/\"]=\"BASE\"\n \tprefix[\"http:\/\/monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n+\tprefix[\"http:\/\/www.monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n }\n \n # main loop\n"}
{"commit":"8c63450718ea62ee3a70bffde170b4d15fc72d3c","subject":"x86: Fix objdump version check in arch\/x86\/tools\/chkobjdump.awk","message":"x86: Fix objdump version check in arch\/x86\/tools\/chkobjdump.awk\n\nIt says\n\nWarning: objdump version  is older than 2.19\nWarning: Skipping posttest.\n\nbecause it used the wrong field from `objdump -v':\n\nakpm:\/usr\/src\/25> \/opt\/crosstool\/gcc-4.0.2-glibc-2.3.6\/x86_64-unknown-linux-gnu\/bin\/x86_64-unknown-linux-gnu-objdump -v\nGNU objdump 2.16.1\nCopyright 2005 Free Software Foundation, Inc.\nThis program is free software; you may redistribute it under the terms of\nthe GNU General Public License.  This program has absolutely no warranty.\n\nCc: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>\nCc: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>\nSigned-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>\nLKML-Reference: <607545bd897c66a62dce21eb4971ca6f2b40912e@imap1.linux-foundation.org>\nSigned-off-by: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@zytor.com>\nCc: Masami Hiramatsu <308c3db2ad395e67f502db11a9ceb1603d4442e0@redhat.com>\n","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- arch\/x86\/tools\/chkobjdump.awk\n+++ arch\/x86\/tools\/chkobjdump.awk\n@@ -9,7 +9,7 @@\n }\n \n \/^GNU\/ {\n-\tsplit($4, ver, \".\");\n+\tsplit($3, ver, \".\");\n \tif (ver[1] > od_ver ||\n \t    (ver[1] == od_ver && ver[2] >= od_sver)) {\n \t\texit 1;\n"}
{"commit":"13c2bacdfe539a5d4433327a800df8b7428ad588","subject":"Translators\/BingTranslator: reuse TempFile in bingTTSUrl, fix #169","message":"Translators\/BingTranslator: reuse TempFile in bingTTSUrl, fix #169\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -37,7 +37,7 @@\n function bingTTSUrl(text, tl,\n                     ####\n                     country, gender, i, group,\n-                    header, content, isBody, tempfile) {\n+                    header, content, isBody) {\n     gender = \"female\"\n     country = NULLSTR\n     split(Option[\"narrator\"], group, \",\")\n@@ -92,9 +92,11 @@\n     }\n     close(HttpService)\n \n-    tempfile = getOutput(\"mktemp\")\n-    printf(\"%s\", content) > tempfile\n-    return tempfile\n+    if (!TempFile)\n+        TempFile = getOutput(\"mktemp\")\n+    printf(\"%s\", content) > TempFile\n+    close(TempFile)\n+    return TempFile\n }\n \n function bingWebTranslateUrl(uri, sl, tl, hl) {\n"}
{"commit":"d36d22280cccbf0a87108f803d7d94e604fbd181","subject":"Translators\/GoogleTranslate: preserve alternative translations even if dictionary information exists, fix #188","message":"Translators\/GoogleTranslate: preserve alternative translations even if dictionary information exists, fix #188\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -242,7 +242,7 @@\n         if (!hasWordClasses && !hasAltTranslations)\n             wShowPromptMessage = wShowLanguages = 0\n         if (!hasWordClasses) wShowDictionary = 0\n-        if (hasWordClasses || !hasAltTranslations) wShowAlternatives = 0\n+        if (!hasAltTranslations) wShowAlternatives = 0\n \n         if (wShowOriginal) {\n             # Display: original text & phonetics\n"}
{"commit":"57b64cef7b6dd1413d81190ae837921887a0dbd6","subject":"display clean-up","message":"display clean-up\n","repos":"neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/condor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_ckpt_server\/xfer_log.awk\n+++ src\/condor_ckpt_server\/xfer_log.awk\n@@ -73,7 +73,8 @@\n \t   \"\", \"Bandwidth\", \"Success\", \"Bandwidth\", \"Success\", \"Bandwidth\",\n \t   \"Success\");\n     printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s\\n\\n\",\n-\t   \"User\/Host\", \"(Mb\/s)\", \"Rate\", \"(Mb\/s)\", \"Rate\", \"(Mb\/s)\", \"Rate\");\n+\t   \"User\/Host\/Subnet\", \"(Mb\/s)\", \"Rate\", \"(Mb\/s)\", \"Rate\", \"(Mb\/s)\",\n+\t   \"Rate\");\n     for (i=0; i < num_users; i++) {\n \tUser = Users[i];\n \tBytes = BytesSent[User] + BytesRecvd[User];\n"}
{"commit":"eb9a542c4b3620fc62376e88ae34293790371ead","subject":"Translators\/BingTranslator: use _sl instead of il","message":"Translators\/BingTranslator: use _sl instead of il\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -259,7 +259,7 @@\n         # Transliteration (original)\n         wShowOriginalPhonetics = Option[\"show-original-phonetics\"]\n         if (wShowOriginalPhonetics) {\n-            split(il, group, \"-\")\n+            split(_sl, group, \"-\")\n             content = postResponse(text, group[1], group[1], _hl, \"transliterate\")\n             oPhonetics = unparameterize(content)\n             if (oPhonetics == text) oPhonetics = \"\"\n@@ -272,9 +272,9 @@\n             # Display: original text & phonetics\n             if (r) r = r RS RS\n             r = r m(\"-- display original text\")\n-            r = r prettify(\"original\", s(text, il))\n+            r = r prettify(\"original\", s(text, _sl))\n             if (wShowOriginalPhonetics)\n-                r = r RS prettify(\"original-phonetics\", showPhonetics(join(oPhonetics, \" \"), il))\n+                r = r RS prettify(\"original-phonetics\", showPhonetics(join(oPhonetics, \" \"), _sl))\n         }\n \n         if (wShowTranslation) {\n@@ -295,9 +295,9 @@\n             split(temp, group, \/(%s|%S|%t|%T)\/)\n             r = r prettify(\"languages\", group[1])\n             if (temp ~ \/%s\/)\n-                r = r prettify(\"languages-sl\", getDisplay(il))\n+                r = r prettify(\"languages-sl\", getDisplay(_sl))\n             if (temp ~ \/%S\/)\n-                r = r prettify(\"languages-sl\", getName(il))\n+                r = r prettify(\"languages-sl\", getName(_sl))\n             r = r prettify(\"languages\", group[2])\n             if (temp ~ \/%t\/)\n                 r = r prettify(\"languages-tl\", getDisplay(tl))\n@@ -309,7 +309,7 @@\n         if (wShowDictionary && false) { # FIXME!\n             # Dictionary API\n             # Note: source language must be identified\n-            dicContent = getResponse(text, il, _tl, _hl)\n+            dicContent = getResponse(text, _sl, _tl, _hl)\n             tokenize(dicTokens, dicContent)\n             parseJson(dicAst, dicTokens) # FIXME: inefficient parser\n \n"}
{"commit":"cad43f793b21542eb9fae580d32b1e4ef0637d1c","subject":"Script now directly invokes sox, and writes batch files instead of creating a script to do so.","message":"Script now directly invokes sox, and writes batch files instead of\ncreating a script to do so.\n\n\ngit-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@1410 94700074-3cef-4d97-a70e-9c8c206c02f5\n","repos":"deepstupid\/sphinx5","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/unbundleHub4.awk\n+++ scripts\/unbundleHub4.awk\n@@ -1,26 +1,26 @@\n-# This is an awk script that will take the hub4 eval99 distribution\n-# and generate a script that will unpack the distribution into a set\n-# of audio and batch files suitable for s4.\n+# An awk script that takes the hub4\/eval99 data and\n+# generates a set of S4 batch files and raw audio\n+# to allow a supervised mode of testing\n+#\n+# Requires 'sox' the sound exchange program to extract the data\n+# Change 'directory' as appropriate for your system.\n+#\n+# Usage:\n+#       gawk -f unbundleHub4 *.stm\n+#\n #\n \n BEGIN {\n+    directory = \"\/lab\/speech\/sphinx4\/data\/hub4\/eval99\/supervised\/\";\n+    system(\"rm -rf \" directory );\n+    system(\"mkdir -p \" directory);\n     audioCount = 0;\n-    directory = \"\/lab\/speech\/sphinx4\/data\/hub4\/eval99\/supervised\/\";\n-\n-    print \"#!\/bin\/sh\"\n-    print \"#  This Script unbundles the hub4\/eval99 (broadcast news)\"\n-    print \"#  into a set of raw audio and batch files suitable for \"\n-    print \"#  processing by sphinx.\"\n-    print \"#  \"\n-    print \"#  This script is automatically generated by unbundleHub99.awk\"\n-    print \"#  \"\n-    print \"#  \"\n-    print \"#  Create the destination directory\"\n-    print \"mkdir -p \" directory;\n-    print \"rm -rf \" directory \"\/*\";\n-\n }\n \n+\n+#\n+# Display info about stm file (for debugging purposes)\n+#\n function displaySummary() {\n     print \"========================\";\n     print \"Sphere   : \"  sphereName;\n@@ -34,19 +34,27 @@\n     print \"xcrpt    : \" transcript;\n }\n \n+\n+#\n+# Output the batch file, generate the audio file\n+#\n function outputCommands() {\n-    print \"\";\n-    print \"\";\n-    print \"echo Processing\" audioName \n-    print soxCommand;\n-    print \"echo \" audioName \" \" transcript \" >> \" batchName;\n-    print \"echo \" audioName \" \" transcript \" >> \" allBatch;\n+    printf(\"%s %s\\n\", audioName, transcript) >> batchName;\n+    printf(\"%s %s\\n\", audioName, transcript) >> allBatch;\n+    system(soxCommand);\n }\n \n+#\n+# Determines if the current utterance is worth keeping\n+#\n function isGoodUtterance() {\n     return speechClass != \"\";\n }\n \n+#\n+# The main processing loop, extract the pertinent info\n+# and excute the commands\n+#\n $1 != \";;\"  {\n     audioCount++;\n     source = $1;\n@@ -77,7 +85,7 @@\n \n \n     if (isGoodUtterance()) {\n+        displaySummary();\n         outputCommands();\n     }\n-    # displaySummary();\n }\n"}
{"commit":"0095e9316619d05982434ac4de29c798a25792ad","subject":"ahrf.awk: remove superfluous curly braces","message":"ahrf.awk: remove superfluous curly braces\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"3550476becd1da56f21ed33aa8f91be5e81cb8c0","subject":"slight formatting changes in comments","message":"slight formatting changes in comments\n","repos":"rmgarnett\/dbpedia_graph_extractor","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/process_data.awk\n+++ scripts\/process_data.awk\n@@ -2,7 +2,7 @@\n # ontology types. This script expects the following three files to be\n # passed in, in the following order:\n #\n-#   - A list of DBpedia ontology types to select. Any DBpedia resource\n+#   * A list of DBpedia ontology types to select. Any DBpedia resource\n #     belonging to at least one of these types according to the\n #     DBpedia \"mapping-based types\" relations will be selected as a\n #     node in the created graph. Example content:\n@@ -13,38 +13,38 @@\n #       <http:\/\/dbpedia.org\/ontology\/Town>\n #       <http:\/\/dbpedia.org\/ontology\/Village>\n #\n-#   - A list of \"mapping-based types\" relations from DBpedia in Turtle\n+#   * A list of \"mapping-based types\" relations from DBpedia in Turtle\n #     (\"TTL\") format. Example:\n #\n #       http:\/\/downloads.dbpedia.org\/3.9\/en\/instance_types_en.ttl.bz2\n #\n-#   - A list of \"Wikipedia pagelinks\" relations from DBpedia in Turtle\n+#   * A list of \"Wikipedia pagelinks\" relations from DBpedia in Turtle\n #     (\"TTL\") format. Example:\n #\n #       http:\/\/downloads.dbpedia.org\/3.9\/en\/page_links_en.ttl.bz2\n #\n # This script will create four files:\n #\n-#   - A map from created integer label ids to the provided ontology\n+#   * A map from created integer label ids to the provided ontology\n #     types. Written to the file specified by the variable\n #     label_index_file.\n #\n-#       Format: [label id] [ontology type name]\n+#     Format: [label id] [ontology type name]\n #\n-#   - A map from created node ids to the corresponding DBpedia\n+#   * A map from created node ids to the corresponding DBpedia\n #     resource names. Written to the file specified by the variable\n #     node_id_index_file.\n #\n-#       Format: [node id] [DBpedia resource name]\n+#     Format: [node id] [DBpedia resource name]\n #\n-#   - A list of integer labels associated with the extracted nodes.\n+#   * A list of integer labels associated with the extracted nodes.\n #     The ith line of this file is the label associated with node id\n #     i. Written to the file specified by the variable labels_file.\n #\n-#   - A list of edges corresponding to Wikipedia page links between\n+#   * A list of edges corresponding to Wikipedia page links between\n #     the extracted nodes. Written to stdout.\n #\n-#       Format: [from node id] [to node id]\n+#     Format: [from node id] [to node id]\n #\n # Copyright (c) 2013, Roman Garnett (romangarnett@gmail.com)\n \n"}
{"commit":"15447aa068074303ba6b8262a50f1cfb3d404bfe","subject":"gen-map: Always use internal version dependency on GLIBC","message":"gen-map: Always use internal version dependency on GLIBC\n","repos":"besser82\/libxcrypt,besser82\/libxcrypt,besser82\/libxcrypt,besser82\/libxcrypt","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- gen-map.awk\n+++ gen-map.awk\n@@ -124,11 +124,11 @@\n                 printf(\"    %s;\\n\", osyms[s]);\n             }\n             if (vp == \"\") {\n+                vp = v\n                 printf(\"  local:\\n    *;\\n};\\n\");\n             } else {\n                 printf(\"} %s;\\n\", vp);\n             }\n-            vp = v\n         }\n     }\n }\n"}
{"commit":"e586df0f4e38cf2fc7bcbf461a21f8d9bbbc7a96","subject":"opcode table parsing fix","message":"opcode table parsing fix\n","repos":"tsavola\/wag,tsavola\/wag","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- opcodes.awk\n+++ opcodes.awk\n@@ -32,13 +32,13 @@\n \t\tprint \"opcode\" symbols[key] \" = opcode(\" key \")\" | out\n \t}\n \tprint \")\" | out\n-\tprint | out\n+\tprint \"\" | out\n \tprint \"var opcodeStrings = [256]string{\" | out\n \tfor (key in symbols) {\n \t\tprint \"opcode\" symbols[key] \": \\\"\" names[key] \"\\\",\" | out\n \t}\n \tprint \"}\" | out\n-\tprint | out\n+\tprint \"\" | out\n \tprint \"var opcodeImpls = [256]opImpl{\" | out\n \tfor (i = 1; i <= 256; i++) {\n \t\tkey = sprintf(\"0x%02x\", i-1)\n@@ -130,7 +130,7 @@\n \t\tprint key \": {\" gen \", \" info \"},\" comment | out\n \t}\n \tprint \"}\" | out\n-\tprint | out\n+\tprint \"\" | out\n \tprint \"var opcodeSkips = [256]func(reader, opcode){\" | out\n \tfor (i = 1; i <= 256; i++) {\n \t\tkey = sprintf(\"0x%02x\", i-1)\n"}
{"commit":"e19f31ca4cedce03d62263dd59549803bfbb211a","subject":"Fix 0.00 should not pass as int","message":"Fix 0.00 should not pass as int\n\nFix #4\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -117,12 +117,12 @@\n \n         if (type == \"integer\") {\n             cat       = \"error\"\n-            test      = field \" && !is_integer(\" field \")\"\n+            test      = field \" != \\\"\\\" && !is_integer(\" field \")\"\n             mini_msg  = field \" should be an integer\"\n             msg       = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be an integer but was \\\" \" field \" \\\" \"\n         } else if (type == \"number\") {\n             cat       = \"error\"\n-            test      = field \" && !is_number(\" field \")\"\n+            test      = field \" != \\\"\\\" && !is_number(\" field \")\"\n             mini_msg  = field \" should be a decimal number\"\n             msg       = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should be a decimal number but was \\\" \" field \" \\\" \"\n         }\n"}
{"commit":"f2146aa0c4aee050f809e7b9043637efec23daae","subject":"[unix][utils] Print language for translation","message":"[unix][utils] Print language for translation","repos":"victorbriz\/omim,victorbriz\/omim,rokuz\/omim,goblinr\/omim,matsprea\/omim,alexzatsepin\/omim,goblinr\/omim,AlexanderMatveenko\/omim,edl00k\/omim,felipebetancur\/omim,milchakov\/omim,rokuz\/omim,guard163\/omim,therearesomewhocallmetim\/omim,milchakov\/omim,Volcanoscar\/omim,Volcanoscar\/omim,rokuz\/omim,jam891\/omim,vladon\/omim,programming086\/omim,bykoianko\/omim,albertshift\/omim,guard163\/omim,programming086\/omim,sidorov-panda\/omim,VladiMihaylenko\/omim,krasin\/omim,kw217\/omim,stangls\/omim,TimurTarasenko\/omim,bykoianko\/omim,mgsergio\/omim,mpimenov\/omim,igrechuhin\/omim,vng\/omim,ygorshenin\/omim,albertshift\/omim,andrewshadura\/omim,vasilenkomike\/omim,therearesomewhocallmetim\/omim,Saicheg\/omim,Saicheg\/omim,augmify\/omim,AlexanderMatveenko\/omim,Endika\/omim,gardster\/omim,dkorolev\/omim,rokuz\/omim,darina\/omim,therearesomewhocallmetim\/omim,syershov\/omim,syershov\/omim,Transtech\/omim,augmify\/omim,sidorov-panda\/omim,Zverik\/omim,TimurTarasenko\/omim,alexzatsepin\/omim,bykoianko\/omim,dkorolev\/omim,goblinr\/omim,lydonchandra\/omim,edl00k\/omim,edl00k\/omim,dobriy-eeh\/omim,mgsergio\/omim,bykoianko\/omim,Transtech\/omim,therearesomewhocallmetim\/omim,programming086\/omim,mpimenov\/omim,mapsme\/omim,65apps\/omim,VladiMihaylenko\/omim,simon247\/omim,stangls\/omim,65apps\/omim,mpimenov\/omim,mgsergio\/omim,jam891\/omim,kw217\/omim,Transtech\/omim,TimurTarasenko\/omim,gardster\/omim,mgsergio\/omim,mapsme\/omim,krasin\/omim,simon247\/omim,yunikkk\/omim,sidorov-panda\/omim,edl00k\/omim,kw217\/omim,milchakov\/omim,mapsme\/omim,UdjinM6\/omim,Zverik\/omim,yunikkk\/omim,yunikkk\/omim,albertshift\/omim,krasin\/omim,stangls\/omim,bykoianko\/omim,ygorshenin\/omim,yunikkk\/omim,igrechuhin\/omim,therearesomewhocallmetim\/omim,kw217\/omim,Transtech\/omim,augmify\/omim,VladiMihaylenko\/omim,VladiMihaylenko\/omim,albertshift\/omim,goblinr\/omim,VladiMihaylenko\/omim,mapsme\/omim,rokuz\/omim,albertshift\/omim,alexzatsepin\/omim,mapsme\/omim,igrechuhin\/omim,AlexanderMatveenko\/omim,darina\/omim,TimurTarasenko\/omim,milchakov\/omim,jam891\/omim,darina\/omim,bykoianko\/omim,wersoo\/omim,programming086\/omim,andrewshadura\/omim,milchakov\/omim,vasilenkomike\/omim,VladiMihaylenko\/omim,mpimenov\/omim,stangls\/omim,Transtech\/omim,rokuz\/omim,trashkalmar\/omim,felipebetancur\/omim,dkorolev\/omim,krasin\/omim,Zverik\/omim,Komzpa\/omim,simon247\/omim,trashkalmar\/omim,simon247\/omim,mpimenov\/omim,sidorov-panda\/omim,mpimenov\/omim,rokuz\/omim,mgsergio\/omim,vladon\/omim,therearesomewhocallmetim\/omim,edl00k\/omim,darina\/omim,wersoo\/omim,65apps\/omim,Zverik\/omim,trashkalmar\/omim,goblinr\/omim,vladon\/omim,darina\/omim,lydonchandra\/omim,lydonchandra\/omim,rokuz\/omim,Volcanoscar\/omim,alexzatsepin\/omim,Saicheg\/omim,andrewshadura\/omim,felipebetancur\/omim,milchakov\/omim,bykoianko\/omim,dkorolev\/omim,therearesomewhocallmetim\/omim,ygorshenin\/omim,matsprea\/omim,vasilenkomike\/omim,syershov\/omim,dobriy-eeh\/omim,felipebetancur\/omim,programming086\/omim,trashkalmar\/omim,gardster\/omim,krasin\/omim,trashkalmar\/omim,stangls\/omim,jam891\/omim,65apps\/omim,felipebetancur\/omim,goblinr\/omim,goblinr\/omim,rokuz\/omim,UdjinM6\/omim,bykoianko\/omim,yunikkk\/omim,krasin\/omim,alexzatsepin\/omim,trashkalmar\/omim,augmify\/omim,dobriy-eeh\/omim,igrechuhin\/omim,65apps\/omim,felipebetancur\/omim,mapsme\/omim,sidorov-panda\/omim,65apps\/omim,goblinr\/omim,Volcanoscar\/omim,yunikkk\/omim,felipebetancur\/omim,ygorshenin\/omim,mapsme\/omim,Zverik\/omim,dobriy-eeh\/omim,alexzatsepin\/omim,dkorolev\/omim,victorbriz\/omim,Zverik\/omim,mpimenov\/omim,igrechuhin\/omim,rokuz\/omim,simon247\/omim,guard163\/omim,edl00k\/omim,AlexanderMatveenko\/omim,simon247\/omim,rokuz\/omim,goblinr\/omim,simon247\/omim,syershov\/omim,kw217\/omim,ygorshenin\/omim,simon247\/omim,Volcanoscar\/omim,gardster\/omim,programming086\/omim,Endika\/omim,lydonchandra\/omim,yunikkk\/omim,Transtech\/omim,Transtech\/omim,jam891\/omim,matsprea\/omim,Komzpa\/omim,krasin\/omim,stangls\/omim,Komzpa\/omim,andrewshadura\/omim,alexzatsepin\/omim,Transtech\/omim,guard163\/omim,goblinr\/omim,Volcanoscar\/omim,syershov\/omim,UdjinM6\/omim,sidorov-panda\/omim,AlexanderMatveenko\/omim,albertshift\/omim,lydonchandra\/omim,Zverik\/omim,ygorshenin\/omim,gardster\/omim,vng\/omim,victorbriz\/omim,programming086\/omim,augmify\/omim,Endika\/omim,mgsergio\/omim,gardster\/omim,Volcanoscar\/omim,darina\/omim,TimurTarasenko\/omim,vasilenkomike\/omim,guard163\/omim,AlexanderMatveenko\/omim,igrechuhin\/omim,UdjinM6\/omim,mapsme\/omim,mpimenov\/omim,UdjinM6\/omim,augmify\/omim,Transtech\/omim,trashkalmar\/omim,victorbriz\/omim,simon247\/omim,AlexanderMatveenko\/omim,victorbriz\/omim,wersoo\/omim,lydonchandra\/omim,gardster\/omim,dkorolev\/omim,dobriy-eeh\/omim,felipebetancur\/omim,simon247\/omim,trashkalmar\/omim,mapsme\/omim,victorbriz\/omim,kw217\/omim,TimurTarasenko\/omim,Zverik\/omim,UdjinM6\/omim,yunikkk\/omim,yunikkk\/omim,programming086\/omim,Endika\/omim,jam891\/omim,vasilenkomike\/omim,Endika\/omim,wersoo\/omim,augmify\/omim,vng\/omim,darina\/omim,darina\/omim,victorbriz\/omim,AlexanderMatveenko\/omim,matsprea\/omim,Volcanoscar\/omim,VladiMihaylenko\/omim,Transtech\/omim,mapsme\/omim,mpimenov\/omim,alexzatsepin\/omim,vasilenkomike\/omim,dkorolev\/omim,VladiMihaylenko\/omim,UdjinM6\/omim,syershov\/omim,goblinr\/omim,lydonchandra\/omim,Komzpa\/omim,vladon\/omim,dkorolev\/omim,Zverik\/omim,igrechuhin\/omim,syershov\/omim,Komzpa\/omim,dobriy-eeh\/omim,goblinr\/omim,lydonchandra\/omim,Zverik\/omim,Endika\/omim,vladon\/omim,dkorolev\/omim,Saicheg\/omim,Komzpa\/omim,matsprea\/omim,mapsme\/omim,darina\/omim,mgsergio\/omim,mgsergio\/omim,igrechuhin\/omim,andrewshadura\/omim,therearesomewhocallmetim\/omim,andrewshadura\/omim,Endika\/omim,yunikkk\/omim,alexzatsepin\/omim,Saicheg\/omim,syershov\/omim,guard163\/omim,vladon\/omim,edl00k\/omim,mapsme\/omim,Komzpa\/omim,vasilenkomike\/omim,vladon\/omim,vng\/omim,igrechuhin\/omim,milchakov\/omim,Saicheg\/omim,rokuz\/omim,dobriy-eeh\/omim,VladiMihaylenko\/omim,alexzatsepin\/omim,augmify\/omim,krasin\/omim,trashkalmar\/omim,syershov\/omim,andrewshadura\/omim,programming086\/omim,syershov\/omim,therearesomewhocallmetim\/omim,ygorshenin\/omim,guard163\/omim,wersoo\/omim,dkorolev\/omim,wersoo\/omim,milchakov\/omim,65apps\/omim,sidorov-panda\/omim,matsprea\/omim,lydonchandra\/omim,VladiMihaylenko\/omim,dobriy-eeh\/omim,Transtech\/omim,stangls\/omim,Komzpa\/omim,TimurTarasenko\/omim,65apps\/omim,TimurTarasenko\/omim,dobriy-eeh\/omim,vasilenkomike\/omim,alexzatsepin\/omim,vng\/omim,edl00k\/omim,felipebetancur\/omim,trashkalmar\/omim,Volcanoscar\/omim,VladiMihaylenko\/omim,edl00k\/omim,vng\/omim,therearesomewhocallmetim\/omim,vladon\/omim,guard163\/omim,dobriy-eeh\/omim,darina\/omim,augmify\/omim,bykoianko\/omim,kw217\/omim,mgsergio\/omim,TimurTarasenko\/omim,edl00k\/omim,ygorshenin\/omim,bykoianko\/omim,krasin\/omim,Komzpa\/omim,UdjinM6\/omim,kw217\/omim,Saicheg\/omim,andrewshadura\/omim,dobriy-eeh\/omim,ygorshenin\/omim,alexzatsepin\/omim,syershov\/omim,vasilenkomike\/omim,mpimenov\/omim,vng\/omim,dobriy-eeh\/omim,milchakov\/omim,jam891\/omim,65apps\/omim,guard163\/omim,rokuz\/omim,stangls\/omim,vladon\/omim,ygorshenin\/omim,UdjinM6\/omim,matsprea\/omim,Transtech\/omim,andrewshadura\/omim,VladiMihaylenko\/omim,wersoo\/omim,VladiMihaylenko\/omim,Zverik\/omim,alexzatsepin\/omim,Zverik\/omim,dobriy-eeh\/omim,albertshift\/omim,goblinr\/omim,syershov\/omim,mpimenov\/omim,AlexanderMatveenko\/omim,lydonchandra\/omim,augmify\/omim,stangls\/omim,Endika\/omim,victorbriz\/omim,vng\/omim,Endika\/omim,albertshift\/omim,andrewshadura\/omim,65apps\/omim,kw217\/omim,stangls\/omim,jam891\/omim,wersoo\/omim,Saicheg\/omim,albertshift\/omim,bykoianko\/omim,mgsergio\/omim,TimurTarasenko\/omim,mpimenov\/omim,Saicheg\/omim,matsprea\/omim,bykoianko\/omim,vng\/omim,trashkalmar\/omim,bykoianko\/omim,guard163\/omim,igrechuhin\/omim,gardster\/omim,vasilenkomike\/omim,milchakov\/omim,mapsme\/omim,programming086\/omim,trashkalmar\/omim,gardster\/omim,mgsergio\/omim,sidorov-panda\/omim,milchakov\/omim,vng\/omim,syershov\/omim,gardster\/omim,Volcanoscar\/omim,Saicheg\/omim,matsprea\/omim,sidorov-panda\/omim,wersoo\/omim,krasin\/omim,sidorov-panda\/omim,mgsergio\/omim,Komzpa\/omim,felipebetancur\/omim,stangls\/omim,ygorshenin\/omim,kw217\/omim,jam891\/omim,jam891\/omim,milchakov\/omim,matsprea\/omim,darina\/omim,milchakov\/omim,Zverik\/omim,Endika\/omim,wersoo\/omim,ygorshenin\/omim,yunikkk\/omim,UdjinM6\/omim,victorbriz\/omim,65apps\/omim,mpimenov\/omim,albertshift\/omim,AlexanderMatveenko\/omim,vladon\/omim,darina\/omim,darina\/omim","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- tools\/unix\/translate.awk\n+++ tools\/unix\/translate.awk\n@@ -86,7 +86,7 @@\n                 output = gensub(\/\\\\n\/, \"\\n\", \"g\", output)\n                 output = gensub(\/(\\\") \/, \"\\\\1\", \"g\", output)\n                 output = gensub(\/ ('|;|:|\\.|\\,|\\!|\\?)\/, \"\\\\1\", \"g\", output)\n-                printf output \"\\n\"\n+                printf tl \":\" output \"\\n\"\n             }\n         }\n     }\n"}
{"commit":"00e891270805e45c6dc802eca62a1e2d1ecb1088","subject":"A better Wiktionary processor","message":"A better Wiktionary processor\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- data\/wiktionary-isas.awk\n+++ data\/wiktionary-isas.awk\n@@ -1,33 +1,40 @@\n #!\/usr\/bin\/awk -f\n BEGIN {\n     FS = OFS = \"\\t\";\n+    if (length(RELATION) == 0) exit 1;\n }\n-($4 == \"HYPONYM\") {\n+$4 == \"HYPONYM\" {\n     $4 = $3; $3 = $1; $1 = $4;\n     $4 = \"HYPERNYM\";\n }\n-($1 != $3) && ($4 == \"HYPERNYM\") {\n-    gsub(\/\"\/, \"\");\n+$4 != toupper(RELATION) { next; }\n+$1 != $3 {\n+    gsub(\/\"\/, \"\");     # quotes\n+    gsub(\/\u00a0\/, \" \");    # nbsp to space\n+    gsub(\/[\u2014\u2013]\/, \"-\"); # (m)dash to minus\n+    gsub(\/\u2026\/, \"...\");  # dots\n \n     for (i = 1; i <= 3; i += 2) {\n-        gsub(\/\u00a0\/, \" \", $i);                  # nbsp to space\n-        gsub(\/[\u2014\u2013]\/, \"-\", $i);               # (m)dash to minus\n-        gsub(\/\u2026\/, \"...\", $i);                # dots\n-        gsub(\/([A-Z][a-z]+):\/, \"\", $i);      # \"Wikisaurus:word\" -> \"word\"\n-        gsub(\/<.+>\/, \"\", $i);                # HTML tags\n-        gsub(\/\\{\\{.+\\}\\}\/, \"\", $i);          # {{label}}\n-        gsub(\/(^| +)\u0438 +\u0442. *[\u0434\u043f].$\/, \"\", $i); # \"\u0438 \u0442. [\u0434\u043f].\"\n-        gsub(\/^''.+''(:|) *\/, \"\", $i);       # \"''label'': word\" -> \"word\"\n-        gsub(\/(^| +)\\[[0-9]+\\]$\/, \"\", $i);   # \"word [1]\" -> \"word\"\n-        gsub(\/(^| +)\\(.+\\)$\/, \"\", $i);       # \"word (label)\" -> \"word\"\n-        gsub(\/ *[{}()\\[\\]~]+$\/, \"\", $i);     # trailing stuff: {}()[]~\n-        gsub(\/^\\?+$\/, \"\", $i);               # question marks\n-        gsub(\/^&.+\/, \"\", $i);                # \"&nbsp\" and others\n-        gsub(\/ \/, \"_\", $i);                  # spaces -> underscores\n+        gsub(\/(^ +| +$)\/, \"\", $i);             # trailing spaces\n+        gsub(\/([A-Z][a-z]+):\/, \"\", $i);        # \"Wikisaurus:word\" -> \"word\"\n+        gsub(\/<.+>\/, \"\", $i);                  # HTML tags\n+        gsub(\/\\{\\{.+\\}\\}\/, \"\", $i);            # {{label}}\n+        gsub(\/(^| +)\u0438 +\u0442\\. *[\u0434\u043f]\\.$\/, \"\", $i); # \"\u0438 \u0442. [\u0434\u043f].\"\n+        gsub(\/^''.+''(:|) *\/, \"\", $i);         # \"''label'': word\" -> \"word\"\n+        gsub(\/ *''.+''$\/, \"\", $i);             # \"word ''label''\" -> \"word\"\n+        gsub(\/^.*: *\/, \"\", $i);                # \"label: word\" -> \"word\"\n+        gsub(\/(^| +)\\[[0-9]+\\]$\/, \"\", $i);     # \"word [1]\" -> \"word\"\n+        gsub(\/(^| +)\\(.+\\)$\/, \"\", $i);         # \"word (label)\" -> \"word\"\n+        gsub(\/ *[{}()\\[\\]~]+$\/, \"\", $i);       # trailing stuff: {}()[]~\n+        gsub(\/\\?+$\/, \"\", $i);                  # question marks\n+        gsub(\/^&.+\/, \"\", $i);                  # \"&nbsp\" and others\n+        gsub(\/ \/, \"_\", $i);                    # spaces -> underscores\n+        gsub(\/(^_+|_+$)\/, \"\", $i);             # trailing underscores\n \n         # weird punctuation and whitespaces\n-        gsub(\/^[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\'!\"#$%&()*+,\\-.\\\/:;<=>?@\\[\\]^_`{|}~\\t\\n\\x0B\\f\\r]+$\/, \"\", $i);\n+        gsub(\/^[\\\\'!\"#$%&()*+,\\-.\\\/:;<=>?@\\[\\]^_`{|}~\\t\\n\\x0B\\f\\r]+$\/, \"\", $i);\n     }\n-\n-    if ($1 && $3 && $1 != $3) print $1, $3;\n }\n+$1 && $3 && $1 != $3 && $4 == \"HYPERNYM\" {\n+    print $1, $3;\n+}\n"}
{"commit":"8716d4d2786c058cda3ca5b0d70194f9119064c6","subject":"AWK, this was really bad","message":"AWK, this was really bad\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- data\/count.awk\n+++ data\/count.awk\n@@ -3,11 +3,11 @@\n BEGIN {\n     FS = OFS = \"\\t\";\n }\n-(!word1 || !word2) {\n+NR == 1 {\n     word1 = $1;\n     word2 = $2;\n }\n-(word1 != $1 || word2 != $2) {\n+(\"\" word1 != $1) || (\"\" word2 != $2) {\n     print word1, word2, count;\n     word1 = $1;\n     word2 = $2;\n"}
{"commit":"d88ca4a5e997420fd1712800412c54066de7f3a1","subject":"ctx: recognize simple directory name in xterm's wm_name","message":"ctx: recognize simple directory name in xterm's wm_name\n","repos":"robert-figura\/req,robert-figura\/req","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/ctx.awk\n+++ src\/ctx.awk\n@@ -25,7 +25,8 @@\n \tsplit_file(f, ctx, \"ctx.file\")\n     }\n     if(get(\"ctx.xprop.wm_class_name\") == \"XTerm\" &&\n-    match(get(\"ctx.xprop.wm_name\"), \/^([^@]*)@([^:]*):(.*)$\/, m)) {\n+    (match(get(\"ctx.xprop.wm_name\"), \/^([^@]*)@([^:]*):(.*)$\/, m) ||\n+     match(get(\"ctx.xprop.wm_name\"), \/^()()(.*)$\/, m))) {\n \tsetCtx(\"app.exe\", \"xterm\")\n \tsetCtx(\"app.user\", m[1])\n \tsetCtx(\"app.host\", m[2])\n"}
{"commit":"844c7d01fcf8acec1f1bac8dda590b45e79e29d6","subject":"Update filter_de.awk","message":"Update filter_de.awk\n\nOrdered from top left to bottom right","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- filter_de.awk\n+++ filter_de.awk\n@@ -139,6 +139,22 @@\n                 macroLine = macroLine \"+ralt,+rbrace,-rbrace,-ralt\";\n                 break;\n             }\n+            if ($x == \"\u00f6\") {\n+                macroLine = macroLine \"+colon,-colon\";\n+                break;\n+            }\n+            if ($x == \"\u00d6\") {\n+                macroLine = macroLine \"+lshift,+colon,-colon,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00e4\") {\n+                macroLine = macroLine \"+quote,-quote\";\n+                break;\n+            }\n+            if ($x == \"\u00c4\") {\n+                macroLine = macroLine \"+lshift,+quote,-quote,-lshift\";\n+                break;\n+            }\n             if ($x == \"#\") {\n                 macroLine = macroLine \"+hash,-hash\";\n                 break;\n@@ -147,20 +163,28 @@\n                 macroLine = macroLine \"+lshift,+hash,-hash,-lshift\";\n                 break;\n             }\n-            if ($x == \"\u00f6\") {\n-                macroLine = macroLine \"+colon,-colon\";\n-                break;\n-            }\n-            if ($x == \"\u00d6\") {\n-                macroLine = macroLine \"+lshift,+colon,-colon,-lshift\";\n-                break;\n-            }\n-            if ($x == \"\u00e4\") {\n-                macroLine = macroLine \"+quote,-quote\";\n-                break;\n-            }\n-            if ($x == \"\u00c4\") {\n-                macroLine = macroLine \"+lshift,+quote,-quote,-lshift\";\n+            if ($x == \"<\") {\n+                macroLine = macroLine \"+bslash_iso,-bslash_iso\";\n+                break;\n+            }\n+            if ($x == \">\") {\n+                macroLine = macroLine \"+lshift,+bslash_iso,-bslash_iso,-lshift\";\n+                break;\n+            }\n+            if ($x == \"|\") {\n+                macroLine = macroLine \"+ralt,+bslash_iso,-bslash_iso,-ralt\";\n+                break;\n+            }\n+            if ($x == \"y\") {\n+                macroLine = macroLine \"+z,-z\";\n+                break;\n+            }\n+            if ($x == \"Y\") {\n+                macroLine = macroLine \"+lshift,+z,-z,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00b5\") {\n+                macroLine = macroLine \"+ralt,+z,-z,-ralt\";\n                 break;\n             }\n             if ($x == \",\") {\n@@ -169,30 +193,6 @@\n             }\n             if ($x == \";\") {\n                 macroLine = macroLine \"+lshift,+comma,-comma,-lshift\";\n-                break;\n-            }\n-            if ($x == \"<\") {\n-                macroLine = macroLine \"+bslash_iso,-bslash_iso\";\n-                break;\n-            }\n-            if ($x == \">\") {\n-                macroLine = macroLine \"+lshift,+bslash_iso,-bslash_iso,-lshift\";\n-                break;\n-            }\n-            if ($x == \"|\") {\n-                macroLine = macroLine \"+ralt,+bslash_iso,-bslash_iso,-ralt\";\n-                break;\n-            }\n-            if ($x == \"y\") {\n-                macroLine = macroLine \"+z,-z\";\n-                break;\n-            }\n-            if ($x == \"Y\") {\n-                macroLine = macroLine \"+lshift,+z,-z,-lshift\";\n-                break;\n-            }\n-            if ($x == \"\u00b5\") {\n-                macroLine = macroLine \"+ralt,+z,-z,-ralt\";\n                 break;\n             }\n             if ($x == \".\") {\n"}
{"commit":"e05253998757c0b391f284fc1b3f21722fa90f78","subject":"Fix leading space in \"Character\" credits","message":"Fix leading space in \"Character\" credits\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFromSitemap.awk\n+++ getBBoxCatalogFromSitemap.awk\n@@ -39,8 +39,10 @@\n \/<characterName locale=\"en-US\">\/ {\n     split ($0,fld,\"[<>]\")\n     char_name = fld[3]\n-    # Fix anomalous line with embedded tab \".^I Charlotte Edalji\"\n-    sub (\"^.\\t \",\"\",char_name)\n+    sub (\/^[[:space:]]+\/,\"\",char_name)\n+    # Special case\n+    # Fix anomalous line with embedded tab \".^I Charlotte Edalji\" in \"Arthur and George\"\n+    sub (\/^.[[:space:]]+\/,\"\",char_name)\n     next\n }\n #\n"}
{"commit":"ed5b2cced5edd66ff8cfa9d38bc712a0ef2a1973","subject":"Ignore anything else starting with '#'.","message":"Ignore anything else starting with '#'.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -46,6 +46,10 @@\n     numFields = length(fields)\n }\n \n+\/^#\/ {\n+    # ignore anything else starting with \"#\"\n+}\n+\n ! \/^#\/ {\n     split($0, fieldsThisLine, \" \", sepsThrowAway)\n     print \"\\t{\"\n"}
{"commit":"186db555a13ee1176e99339ff11fc55e81fcf61a","subject":"addr_utils.awk\t\t-- std -> qry -> OCG -> rply -> std works for all 1622 addresses that have geo!","message":"addr_utils.awk\t\t-- std -> qry -> OCG -> rply -> std works for all 1622 addresses that have geo!\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -1,9 +1,10 @@\n-function AU_parse(rply, addr, result, towns, st_types, st_quals, dirs,   nf, ary, i, f_st, nf2, ary2, i1, name, street, town) {\n+function AU_parse(rply, addr, result, towns, st_types, st_quals, dirs,   nf, ary, i, f_st, nf2, ary2, i1, name, street, quals, town, k) {\n \n \tresult[\"status\"] = \"B\"\n \tresult[\"emsg\"  ] = \"\"\n \tresult[\"name\"  ] = \"\"\n \tresult[\"street\"] = \"\"\n+\tresult[\"quals\" ] = \"\"\n \tresult[\"town\"  ] = \"\"\n \tresult[\"state\" ] = \"\"\n \n@@ -71,7 +72,14 @@\n \t\t\tname = name \", \" ary[i]\n \t}\n \n-\t# TODO: reply addresses need extra thought here\n+\t# Street qualifiers are those fields, if any, that follow f_st and precede nf\n+\tif(nf - f_st > 1){\n+\t\tquals = ary[f_st+1]\n+\t\tfor(i = f_st+2; i < nf; i++)\n+\t\t\tquals = quals \", \" ary[i]\n+\t}else\n+\t\tquals = \"\"\n+\n \t# clean up street\n \tnf2 = split(ary[f_st], ary2, \/  *\/)\n \tif(nf2 < 2){\n@@ -79,23 +87,41 @@\n \t\treturn 1\n \t}\n \n+\t# Street Hacks: Probably should just compare ignore case but not ready for that step yet\n+\t# change el Camino X to El Camino X\n+\t# change el Monte X  to El Monte X\n+\tif(nf2 > 3){\n+\t\tif(ary2[nf2-2] == \"el\" && ary2[nf2-1] == \"Camino\")\n+\t\t\tary2[nf2-2] = \"El\"\n+\t\telse if(ary2[nf2-2] == \"el\" && ary2[nf2-1] == \"Monte\")\n+\t\t\tary2[nf2-2] =  \"El\"\n+\t}\n+\n \t# Street should be num [ dir ] str [ st ]\n \tstreet = ary2[1]\n-\tif(ary2[2] in dirs){\n-\t\tstreet = street \" \" dirs[ary2[2]]\n-\t\ti1 = 3\n-\t}else\n-\t\ti1 = 2\n-\tfor(i = i1; i < nf2; i++){\n-\t\tstreet = street \" \" ary2[i]\n+\n+\t# This is amusing.  What is South Court? Is is S. Court or South Ct.  No idea so, leave such streets in long form\n+\tif(nf2 == 3 && (ary2[2] in dirs) && (ary2[3] in st_types)){\n+\t\tfor(i = 2; i <= nf2; i++)\n+\t\t\tstreet = street \" \" ary2[i]\n+\t}else{\n+\t\tif(ary2[2] in dirs){\n+\t\t\tstreet = street \" \" dirs[ary2[2]]\n+\t\t\ti1 = 3\n+\t\t}else\n+\t\t\ti1 = 2\n+\t\tfor(i = i1; i < nf2; i++){\n+\t\t\tstreet = street \" \" ary2[i]\n+\t\t}\n+\t\tstreet = street ((ary2[nf2] in st_types) ? (\" \" st_types[ary2[nf2]]) : (\" \" ary2[nf2]))\n \t}\n-\tstreet = street ((ary2[nf2] in st_types) ? (\" \" st_types[ary2[nf2]]) : (\" \" ary2[nf2]))\n \n \tresult[\"status\"] = \"G\"\n-\tresult[\"name\"] = name\n+\tresult[\"name\"  ] = name\n \tresult[\"street\"] = street\n-\tresult[\"town\"] = town\n-\tresult[\"state\"] = \"CA\"\n+\tresult[\"quals\" ] = quals\n+\tresult[\"town\"  ] = town\n+\tresult[\"state\" ] = \"CA\"\n \n \treturn 0\n }\n"}
{"commit":"c7ad1b34faea2ff450cb9eea38ee5f0786aa2318","subject":"Correct double slash in Netflix URLs","message":"Correct double slash in Netflix URLs\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateLinksFrom-NetflixActivityPage.awk\n+++ generateLinksFrom-NetflixActivityPage.awk\n@@ -27,7 +27,7 @@\n     split ($0,fld,\"\\\"\")\n     URL = fld[2]\n     gsub (\/&quot;\/,\"\",title)\n-    printf (\"=HYPERLINK(\\\"https:\/\/www.netflix.com\/%s\\\";\\\"%s\\\")\\t%s\\tNetflix Streaming\\n\",\\\n+    printf (\"=HYPERLINK(\\\"https:\/\/www.netflix.com%s\\\";\\\"%s\\\")\\t%s\\tNetflix Streaming\\n\",\\\n         URL,title,date)\n     recordsPrinted += 1\n     if (recordsPrinted >= maxRecordsToPrint)\n"}
{"commit":"ff7151bf4bbb735963eeffe55eca7b7b41d00097","subject":"#106097# Correctly parse blocks that do not contain a local: section.","message":"#106097# Correctly parse blocks that do not contain a local: section.\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/getcsym.awk\n+++ solenv\/bin\/getcsym.awk\n@@ -2,9 +2,9 @@\n #\n #   $RCSfile: getcsym.awk,v $\n #\n-#   $Revision: 1.2 $\n+#   $Revision: 1.3 $\n #\n-#   last change: $Author: hjs $ $Date: 2002-11-21 16:50:30 $\n+#   last change: $Author: sb $ $Date: 2003-01-10 11:23:14 $\n #\n #   The Contents of this file are made available subject to the terms of\n #   either of the following licenses\n@@ -59,11 +59,11 @@\n #\n #\n #*************************************************************************\n+\n BEGIN { global_found = \"false\" }\n \/[ \\t]*#\/ { sub( substr( $0, index($0, \"#\")),\"\" ) }\n \/[ \\t]*local:\/ { global_found = \"false\" }\n+\/[ \\t]*}\/ { global_found = \"false\" }\n \/^[ \\t]*$\/ { next }\n global_found == \"true\"  { print $0 }\n \/[ \\t]*global:\/ { global_found = \"true\" }\n-\n-\n"}
{"commit":"069bcd2ac05990a937fa2f60d219f4b4ce0bd3be","subject":"Handle missing EntityId","message":"Handle missing EntityId\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -180,12 +180,6 @@\n \n # Do any special end of item processing, then print raw data spreadsheet row\n \/<\\\/item>\/ {\n-    # Add missing EntityId\n-    if (title == \"Shallow Grave\") {\n-        EntityId = \"_23576\"\n-        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n-    }\n-\n     # \"Porridge\" needs to be revised to avoid duplicate names\n     if (title == \"Porridge\") {\n         if (EntityId == \"_9509\") {\n@@ -236,9 +230,15 @@\n         # print \"---\"  > \"\/dev\/stderr\"\n     }\n \n-    if (contentId == \"p07gnw9f\") {\n-        EntityId = \"_23842\"\n-        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n+    if (EntityId == \"\") {\n+        missingIDs += 1\n+        printf (\"==> Missing EntityId for %s '%s' in show %s\\n\", contentType, title, showContentId) \\\n+                >> ERROR_FILE\n+        # Add missing EntityId\n+        if (contentId == \"p07gnw9f\") {\n+            EntityId = \"_23842\"\n+            # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n+        }\n     }\n \n     if (contentType == \"movie\") {\n@@ -278,6 +278,11 @@\n \n END {\n     printf (\"In getBBoxCatalogFrom-sitemap.awk\\n\") > \"\/dev\/stderr\"\n+    if (missingIDs > 0 ) {\n+        missingIDs == 1 ? field = \"EntityId\" : field = \"EntityIds\"\n+        printf (\"    %2d missing %s in %s\\n\", missingIDs, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    #\n     if (revisedTitles > 0 ) {\n         revisedTitles == 1 ? field = \"title\" : field = \"titles\"\n         printf (\"    %2d %s revised in %s\\n\", revisedTitles, field, FILENAME) > \"\/dev\/stderr\"\n"}
{"commit":"5b9c13ad5a538cbe4a5c2154eb0767576478bcfd","subject":"add highlight support","message":"add highlight support\n","repos":"aijunbai\/autotest2d,aijunbai\/autotest2d","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- statistic.awk\n+++ statistic.awk\n@@ -4,6 +4,7 @@\n \tl_points = 0;\n \tr_points = 0;\n \tgame_count = 0;\n+\tmax_sub = 0;\n \twin = 0;\n \tlost = 0;\n \tdraw = 0;\n@@ -40,7 +41,16 @@\n \tl_points += l_point;\n \tr_points += r_point;\n \n-\tprint game_count \"\\t\" l_score \":\" r_score \"\\t\" l_point \":\" r_point;\n+\ttmp = max(max_sub, abs(l_score - r_score));\n+\tif (tmp > max_sub)\n+\t{\n+\t\tmax_sub = tmp;\n+\t\tprint  \"\\033[01;33m\" game_count \"\\t\" l_score \":\" r_score \"\\t\" l_point \":\" r_point \"\\033[0m\";\n+\t}\n+\telse\n+\t{\n+\t\tprint game_count \"\\t\" l_score \":\" r_score \"\\t\" l_point \":\" r_point;\n+\t}\n }\n \n END {\n"}
{"commit":"235ac540a78ac81378180c0abee0523c9ecc6703","subject":"See ofmtstrnum fix","message":"See ofmtstrnum fix\n","repos":"benhoyt\/goawk,benhoyt\/goawk,benhoyt\/goawk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- testdata\/gawk\/strnum2.awk\n+++ testdata\/gawk\/strnum2.awk\n@@ -1,5 +1,5 @@\n BEGIN {\n-\tsplit(\" 1.234 \", f, \"|\")\t# create a numeric string (strnum) value\n+\tsplit(\" 1.234 \", f, \"x\")\t# create a numeric string (strnum) value\n \tOFMT = \"%.1f\"\n \tCONVFMT = \"%.2f\"\n \n"}
{"commit":"da12bcc43c00fe072a3fec12644c8fedafda283a","subject":"Languages: add Hmong Daw language","message":"Languages: add Hmong Daw language\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1705,6 +1705,15 @@\n     Locale[\"zu\"][\"iso\"]                = \"zul\"\n     Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n     Locale[\"zu\"][\"script\"]             = \"Latn\"\n+\n+    #* Hmong Daw\n+    Locale[\"mww\"][\"support\"]           = \"bing-only\"\n+    Locale[\"mww\"][\"name\"]              = \"Hmong Daw\"\n+    Locale[\"mww\"][\"endonym\"]           = \"Hmoob Daw\"\n+    Locale[\"mww\"][\"family\"]            = \"Hmong-Mien\"\n+    Locale[\"mww\"][\"iso\"]               = \"mww\"\n+    Locale[\"mww\"][\"glotto\"]            = \"hmon1333\"\n+    Locale[\"mww\"][\"script\"]            = \"Latn\"\n \n     for (i in Locale) {\n         # Initialize strings for displaying endonyms of locales\n"}
{"commit":"42f9ced1b6655f4ab51061b2365aa6734186c94d","subject":"Translate: fix redundant CRLF in postResponse","message":"Translate: fix redundant CRLF in postResponse\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -119,11 +119,11 @@\n     if (HttpAuthUser && HttpAuthPass)\n         # TODO: digest auth\n         header = header \"Proxy-Authorization: Basic \" HttpAuthCredentials \"\\r\\n\"\n-    header = header \"\\r\\n\" # separate header and body correctly, per RFC 2616\n \n     content = NULLSTR; isBody = 0\n     while (1) {\n-        print header |& HttpService\n+        # separate header and body correctly with CRLF, per RFC 2616\n+        print (header \"\\r\\n\") |& HttpService\n         while ((HttpService |& getline) > 0) {\n             if (isBody)\n                 content = content ? content \"\\n\" $0 : $0\n@@ -190,7 +190,6 @@\n     if (HttpAuthUser && HttpAuthPass)\n         # TODO: digest auth\n         header = header \"Proxy-Authorization: Basic \" HttpAuthCredentials \"\\r\\n\"\n-    header = header \"\\r\\n\" # separate header and body correctly, per RFC 2616\n \n     content = NULLSTR; isBody = 0\n     while (1) {\n"}
{"commit":"c3094ca09e9dce17f59b363f50b1c02c5085e9b4","subject":"optimization","message":"optimization\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/sameasInNT.awk\n+++ bin\/util\/sameasInNT.awk\n@@ -1,9 +1,6 @@\n # sameasFromNT\n #\n \n-$2 == \"<http:\/\/www.w3.org\/2002\/07\/owl#sameAs>\" {\n+$2 == \"<http:\/\/purl.org\/dc\/terms\/isReferencedBy>\" || $2 == \"<http:\/\/www.w3.org\/2002\/07\/owl#sameAs>\" {\n    print\n }\n-$2 == \"<http:\/\/purl.org\/dc\/terms\/isReferencedBy>\" {\n-   print\n-}\n"}
{"commit":"10c9a812cdf7038403f6bf9f5ab5615fc912d0b3","subject":"copyright message added","message":"copyright message added\n","repos":"OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- english\/data_processing\/code\/coo2dxf.awk\n+++ english\/data_processing\/code\/coo2dxf.awk\n@@ -1,3 +1,10 @@\n+#!\/usr\/bin\/gawk -f\n+#\n+# create dxf file from space separated coordinate list\n+# Zoltan Siki siki.zoltan@epito.bme.hu\n+# usage:\n+#        gawk -f coo2dxf.awk coodinate_list > dxf_file\n+\n BEGIN { FS=\"[ ]\";\n     # minimal DXF header\n     print \"  0\";\n"}
{"commit":"e4bb7b5e5d0c0ecd1319bf9dad133af9faf8e78e","subject":"added phi link","message":"added phi link\n","repos":"camwebb\/treemap","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- lib\/info.awk\n+++ lib\/info.awk\n@@ -13,8 +13,8 @@\n \t\t{\n \t\t  print \"<h1>\" $4 \"<\/h1>\";\n \t\t  print \"<ul>\" ;\n-\t\t  if (apfam[$3] == \"\") print \"<li>Family : \" substr($3,1,1) tolower(substr($3,2)) \"&#160;&#160;&#160;<span style=\\\"background-color: \" color[$3] \";\\\">&#160;&#160;&#160;&#160;<\/span><\/li>\" ;\n-\t\t  else print \"<li>Family : <a href=\\\"http:\/\/www.mobot.org\/MOBOT\/Research\/APweb\/orders\/\" apfam[$3] \"\\\">\" substr($3,1,1) tolower(substr($3,2)) \"<\/a>&#160;&#160;&#160;<span style=\\\"background-color: \" color[$3] \";\\\">&#160;&#160;&#160;&#160;<\/span><\/li>\" ;\n+\t\t  if (apfam[$3] == \"\") print \"<li>Family : \" substr($3,1,1) tolower(substr($3,2)) \"&#160;&#160;&#160;<span style=\\\"background-color: \" color[$3] \";\\\">&#160;&#160;&#160;&#160;<\/span>&#160;&#160;&#160;<a href=\\\"phylo\/phylo.svg\\\">&#934;<\/a><\/li>\" ;\n+\t\t  else print \"<li>Family : <a href=\\\"http:\/\/www.mobot.org\/MOBOT\/Research\/APweb\/orders\/\" apfam[$3] \"\\\">\" substr($3,1,1) tolower(substr($3,2)) \"<\/a>&#160;&#160;&#160;<span style=\\\"background-color: \" color[$3] \";\\\">&#160;&#160;&#160;&#160;<\/span>&#160;&#160;&#160;<a href=\\\"phylo\/phylo.svg\\\">&#934;<\/a><\/li>\" ;\n \t\t  if ($6 != \"\") print \"<li>Common name : \" $6 \"<\/li>\" ;\n \t\t  if ($10 != \"\") print \"<li>Section : \" $10 \"<\/li>\" ;\n \t\t  if ($11 != \"\") print \"<li>Collection : \" $11 \"<\/li>\" ;\n"}
{"commit":"4028af2bc41e077d077b7b6dc0d5f6075abb437c","subject":"Added check for non-interleaving readpairs. Fixed bug with readnames not starting with @","message":"Added check for non-interleaving readpairs. Fixed bug with readnames not starting with @\n","repos":"hackseq\/2017_project_6,hackseq\/2017_project_6,hackseq\/2017_project_6,hackseq\/2017_project_6","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- extract_barcodes\/extract_barcodes.awk\n+++ extract_barcodes\/extract_barcodes.awk\n@@ -17,26 +17,35 @@\n     }\n     \n }\n-\n {\n     if (NR % 8 == 1 && NR > 1) {\n-        barcode = substr(read_pair[2], 1, 16);\n-        if (attach_in_readname) {\n-            initial = barcode\"-1_\";\n+        read_name1 = substr(read_pair[1], 1, match(read_pair[1], \/ \/) - 1)\n+        read_name2 = substr(read_pair[5], 1, match(read_pair[5], \/ \/) - 1)\n+        \n+        if (read_name1 != read_name2){\n+            print \"Read pairs at line \" NR \" do not interleave correctly: \" read_pair[1] \"\\t\" read_pair[5] ;\n+        } else {\n+            barcode = substr(read_pair[2], 1, 16);\n+            \n+            if (attach_in_readname) {\n+                initial = \"@\"barcode\"-1_\";\n+                read_pair[1] = substr(read_pair[1], 2)\n+                read_pair[5] = substr(read_pair[5], 2)\n+            }           \n+            \n+            if (attach_in_comment) {\n+                final = \" BX:Z:\"barcode\"-1\";\n+            }\n+            \n+            printf initial read_pair[1] final\"\\n\"\n+            printf substr(read_pair[2], 17)\"\\n\"\n+            printf read_pair[3]\"\\n\"\n+            printf substr(read_pair[4], 17)\"\\n\"\n+            printf initial read_pair[5] final\"\\n\"\n+            printf read_pair[6]\"\\n\"\n+            printf read_pair[7]\"\\n\"\n+            printf read_pair[0]\"\\n\"        \n         }\n-        \n-        if (attach_in_comment) {\n-            final = \" BX:Z:\"barcode\"-1\";\n-        }\n-        \n-        printf initial read_pair[1] final\"\\n\"\n-        printf substr(read_pair[2], 17)\"\\n\"\n-        printf read_pair[3]\"\\n\"\n-        printf substr(read_pair[4], 17)\"\\n\"\n-        printf initial read_pair[5] final\"\\n\"\n-        printf read_pair[6]\"\\n\"\n-        printf read_pair[7]\"\\n\"\n-        printf read_pair[0]\"\\n\"\n     }\n     read_pair[NR % 8] = $0\n }\n"}
{"commit":"6b03df3c162386a253b3f32bc0f1c667af3c1f78","subject":"-Added some ignore cases in remove dups awk scripts","message":"-Added some ignore cases in remove dups awk scripts\n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@27 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- awk-scripts\/removedups.awk\n+++ awk-scripts\/removedups.awk\n@@ -9,7 +9,8 @@\n \t  for (i = seen_count-1; i >= 0; --i) {\n \t\t file1 = destDir \"\/frames\/Frame\" $1 \".html\"\n \t\t file2 = destDir \"\/frames\/Frame\" seen[i] \".html\"\n-\t\t diff_cmd = sprintf(\"diff -s --brief -I \\\"Arrival Time\\\" -I \\\"Frame [:digit:]*\\\" -I \\\"Resent Packet\\\" -I \\\"Suspected resend of frame\\\" %s %s > \/dev\/null\", file1, file2);\n+\t\t diff_cmd = sprintf(\"diff -s --brief -I \\\"Arrival Time\\\" -I \\\"Frame [:digit:]*\\\" -I \\\"Resent Packet\\\" -I \\\"Suspected resend of frame\\\" -I \\\"Request Frame: [:digit:]*\\\" -I \\\"Response Time (ms): [:digit:]*\\\" -I \\\"Release Time (ms): [:digit:]*\\\" %s %s > \/dev\/null\", file1, file2);\n+\t\t #diff_cmd = sprintf(\"diff -s --brief -I \\\"Arrival Time\\\" -I \\\"Frame [:digit:]*\\\" -I \\\"Resent Packet\\\" -I \\\"Suspected resend of frame\\\" %s %s > \/dev\/null\", file1, file2);\n \t\t if (system(diff_cmd) == 0) {\n \t\t\treport_dup = sprintf(\"echo '%s is identical to %s' 1>&2\", file1, file2);\n \t\t\tsystem(report_dup);\n"}
{"commit":"af9b223551634ce1881de258169f3a1ea686a865","subject":"cfg80211: add function helpers to genregdb.awk","message":"cfg80211: add function helpers to genregdb.awk\n\nThis has no functional change, this just lets us reuse\nhelpers at a later time.\n\nSigned-off-by: Luis R. Rodriguez <d4fa18192c5a479e564d29c2300c2e15afd1d8d7@do-not-panic.com>\nAcked-by: John W. Linville <2a53bac7a5d324865ef46ec4c38b2c0fba1456b4@tuxdriver.com>\nSigned-off-by: Johannes Berg <bff32994ff0f8d048f262a8388145a71b6071bfe@intel.com>\n","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"86c2c6ae12768f4fd88e1e7e81ca4c6020c11a55","subject":"Patch from Stefan Allius:","message":"Patch from Stefan Allius:\n\n    Hi Erik,\n\n    I patched the initfini.awk script, so we can build crt[in].S for the SuperH\n    targets with gmon-support.\n\n    The patch moves all labels into the wright sections, and add some assembler\n    statements to jump over them. (only activ on SH targets)\n\n    The patch also avoid any references of _GLOBAL_OFFSET_TABLE_ or *gmon_start*\n    in the crtn.S file. This should work on every target.\n\n    Bye Stefan\n","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- extra\/scripts\/initfini.awk\n+++ extra\/scripts\/initfini.awk\n@@ -12,7 +12,6 @@\n   system(\"\/bin\/rm -f crt[in].S\");\n   omitcrti=0;\n   omitcrtn=0;\n-  do_sh_specials = 0;\n   glb_idx = 0;\n   while(getline < \"initfini.S\")\n   { if(\/\\.endp\/) {endp=1}\n@@ -20,22 +19,37 @@\n     if(\/\\.align\/) {alignval=$2}\n # here comes some special stuff for the SuperH targets\n #  We search for all labels, which uses the _GLOBAL_OFFSET_TABLE_\n-#  definition, and store them in the glb_label array.\n-    if(\/_GLOBAL_OFFSET_TABLE_\/) {\n-      glb_label[glb_idx] = last;\n-      glb_idx += 1;\n-      glb = $0;\n+#  or a call_gmon_start function reference, and store\n+#  them in the glb_label array.\n+    if(\/_init_EPILOG_BEGINS\/) {glb_idx=1;glb_idx_arr[glb_idx]=0}\n+    if(\/_fini_EPILOG_BEGINS\/) {glb_idx=2;glb_idx_arr[glb_idx]=0}\n+    if(\/EPILOG_ENDS\/)         {glb_idx=0}\n+    if(\/_GLOBAL_OFFSET_TABLE_\/||\/call_gmon_start\/) {\n+      glb_label[glb_idx,glb_idx_arr[glb_idx]] = last;\n+      glb_idx_arr[glb_idx] += 1;\n+      glb_label[glb_idx,glb_idx_arr[glb_idx]] = $0;\n+      glb_idx_arr[glb_idx] += 1;\n     }\n     last = $1;\n   }\n   close(\"initfini.S\");\n }\n # special rules for the SuperH targets (They do nothing on other targets)\n-\/SH_GLB_BEGINS\/ && glb_idx==0 {omitcrti +=1;do_sh_specials++}\n-\/_init_SH_GLB\/  && glb_idx>=1 {print glb_label[0] glb >> \"crti.S\"}\n-\/_fini_SH_GLB\/  && glb_idx>=2 {print glb_label[1] glb >> \"crti.S\"}\n-\/SH_GLB_ENDS\/   && glb_idx==0 {omitcrti -=1}\n-\/SH_GLB\/ || \/_GLOBAL_OFFSET_TABLE_\/ && do_sh_specials>=1 {getline}\n+\/SH_GLB_BEGINS\/ && glb_idx_arr[1]==0 && glb_idx_arr[2]==0 {omitcrti +=1}\n+\/_init_SH_GLB\/  {glb_idx=1}\n+\/_fini_SH_GLB\/  {glb_idx=2}\n+\/SH_GLB_ENDS\/ {omitcrti -=1}\n+\/SH_GLB\/ \\\n+{\n+  if (glb_idx>0)\n+    {\n+      for (i=0;i<glb_idx_arr[glb_idx];i+=1) {\n+\tprint glb_label[glb_idx,i] >> \"crti.S\";\n+      }\n+      glb_idx = 0;\n+    }\n+  next;\n+}\n # special rules for H8\/300 (sorry quick hack)\n \/.h8300h\/ {end=0}\n \n@@ -54,6 +68,12 @@\n \/GMON_STUFF_PAUSES\/{omitcrtn=0;getline}\n \/GMON_STUFF_UNPAUSES\/{omitcrtn=1;getline}\n \/GMON_STUFF_ENDS\/{omitcrtn=0;getline}\n+\n+\/_GLOBAL_OFFSET_TABLE_\/||\/gmon_start\/ \\\n+{\n+  if(omitcrti==0) {print >> \"crti.S\";}\n+  next;  # no gmon_start or GLOBAL_OFFSET_TABLE references in crtn.S\n+}\n \n \/END_INIT\/ \\\n { if(endp)\n"}
{"commit":"338e95c2f05c6c3096ba96c1752fba35002baf06","subject":"adds sensible defaults to bawlk.awk","message":"adds sensible defaults to bawlk.awk\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -33,7 +33,7 @@\n     print RS\n }\n \n-$1 == \"option\" { \n+$1 == \"option\" {\n     options[$2]=$3;\n }\n \n@@ -53,6 +53,14 @@\n }\n \n $1 == \"field\" {\n+    defaults[\"mode\"]=\"append\"\n+    defaults[\"summary\"]=\"true\"\n+    defaults[\"dcat\"]=\"warning\"\n+    defaults[\"dvalnum\"]=-9999\n+    defaults[\"dvalstr\"]=\"NA\"\n+    for (option in defaults) {\n+        if (!options[option]) options[option] = defaults[option]\n+    }\n     rule_type=$2\n     split($3,params,\" \")\n     field=params[1]\n"}
{"commit":"7a2707462d985be2920318dfdb48f3d905f135fe","subject":"Add support for designating destdir.","message":"Add support for designating destdir.\n","repos":"lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- linkparser\/linkparser.awk\n+++ linkparser\/linkparser.awk\n@@ -1,7 +1,5 @@\n-#!@include \"functions.awk\"\n-\n BEGIN {\n-\tversion = \"0.1.2\"\n+\tversion = \"0.1.3\"\n \tprintf(\"link-parser, v%s\\n\", version)\n \n \ttrue = 1\n@@ -18,7 +16,9 @@\n \tNC=\"\\033[0m\"\n \tBOL=\"\\033[1m\"\n \n-\tif (arg ~ \/test\/) {\n+\tcount = 0\n+\n+\tif (arg ~ \/ut\/) {\n \t\tdo_test();\n \t\tSKIP_END = true\n \t\texit 0\n@@ -27,7 +27,15 @@\n \tif (arg ~ \/pretend\/) {\n \t\tpretend = true\n \t}\n-\tcount = 0\n+\n+\tif (arg ~ \/dest=\/) {\n+\t\tdestdir = gensub(\/^.+dest=([^ \\t;,]+)\/, \"\\\\1\", \"g\", arg)\n+\t\tif (system(\"test -d \" destdir) != 0) {\n+\t\t\tprint \"Directory [\" destdir \"] doesn't exist!\"\n+\t\t\tSKIP_END = true\n+\t\t\texit 0\n+\t\t}\n+\t}\n \n \t# Skip head lines\n \tgetline\n@@ -41,7 +49,7 @@\n \tif (g_sroot == \"\") {\n \t\tprintf(\"Grabbing sources and headers ...\\n\")\n \t\tg_sroot = get_sroot(link)\n-\t\t\"date +%Y%m%d%H-%M%S\" | getline date\n+\t\t\"date +%Y%m%d-%H%M%S\" | getline date\n \t\tinst_root = g_sroot\"-\"date\n \t}\n \n@@ -88,27 +96,47 @@\n }\n \n END {\n+\tif (SKIP_END)\n+\t\texit 0\n \tprint \"Total dumped files: \" count\n-\tif (pretend)\n-\t\texit 0\n-\n-\ttarball = inst_root \".tar.gz\"\n-\tprintf(\"Generating source tarball %s%s%s%s ...\\n\", RED, BOL, tarball, NC)\n-\tsystem(\"tar zcf \" tarball \" \" inst_root)\n-\tsystem(\"rm -r \"inst_root)\n+\tif (arg ~ \/tar\/)\n+\t\tmake_tarball(arg)\n }\n \n function rel_install(source, rel_root, new_root) {\n \tcount++\n+\tif (pretend)\n+\t\treturn 0\n+\t\n \tdir = dirname(source)\n \tbase = basename(source)\n \tpatt = \"^.+\\\\\/\"rel_root\"\\\\\/(sw.+)\"\n \trel_path = gensub(patt, \"\\\\1\", \"g\", dir)\n \n-\tif (pretend)\n-\t\treturn 0\n+\tif (destdir)\n+\t\tnew_root = destdir \"\/\" new_root\n+\n \tsystem(\"mkdir -p \" new_root \"\/\" rel_path)\n \tsystem(\"cp -L \" source \" \" new_root \"\/\" rel_path)\n+}\n+\n+function make_tarball(flag) {\n+\ttarball = inst_root \".tar.gz\"\n+\tprintf(\"Generating source tarball %s%s%s%s ...\\n\", RED, BOL, tarball, NC)\n+\n+\tif (pretend || SKIP_END)\n+\t\texit 0\n+\n+\t\"pwd\" |getline oldpwd\n+\tif (destdir)\n+\t\tsystem(\"cd \" destdir)\n+\n+\tsystem(\"tar zcf \" tarball \" \" inst_root)\n+\tif (flag ~ \/purge\/)\n+\t\tsystem(\"rm -r \"inst_root)\n+\n+\tif (destdir)\n+\t\tsystem(\"cd \" oldpwd)\n }\n \n function get_sroot(line) {\n"}
{"commit":"0cdd4af024e4e45186722ed3c6a25d206e6b8650","subject":"aux\/ematch.awk: better character class support detection in UTF-8 locales","message":"aux\/ematch.awk: better character class support detection in UTF-8 locales\n","repos":"modernish\/modernish","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- lib\/modernish\/aux\/ematch.awk\n+++ lib\/modernish\/aux\/ematch.awk\n@@ -29,7 +29,7 @@\n BEGIN {\n \tif (ARGC != 3)\n \t\terrorout(\"usage: ematch.awk <string> <ERE>\");\n-\thasclass = match(\"1\", \/[[:alpha:][:digit:]]\/);\n+\tdetectclass();\n \texit !match(ARGV[1], convertere(ARGV[2]));\n }\n \n@@ -38,6 +38,31 @@\n \tif (ere) printf(\"%s\\n\", ere) | \"cat >&2\";\n \tif (i) printf(i>1 ? (\"%\")(i-1)(\"c^\\n\") : \"^\\n\", \" \") | \"cat >&2\";\n \texit 2;\n+}\n+\n+function mylocale() {\n+\tif (\"LC_ALL\" in ENVIRON && ENVIRON[\"LC_ALL\"] != \"\")\n+\t\treturn ENVIRON[\"LC_ALL\"];\n+\telse if (\"LC_CTYPE\" in ENVIRON && ENVIRON[\"LC_CTYPE\"] != \"\")\n+\t\treturn ENVIRON[\"LC_CTYPE\"];\n+\telse if (\"LANG\" in ENVIRON && ENVIRON[\"LANG\"] != \"\")\n+\t\treturn ENVIRON[\"LANG\"];\n+\telse\n+\t\treturn \"C\";\n+}\n+\n+# Detect whether this awk supports character classes properly.\n+function detectclass() {\n+\t# When a UTF-8 locale is active, onetrueawk (before 2019) only matches the first\n+\t# character class in a bracket expression, even when matching simple ASCII characters.\n+\t# Ref.: http:\/\/gnats.netbsd.org\/54424\n+\thasclass = match(\"1\", \/[[:alpha:][:digit:]]\/);\n+\n+\t# Due to a bug in the macOS C library, onetrueawk and mawk (which don't support UTF-8) yield both false positives\n+\t# and false negatives when matching character classes against high-bit bytes in UTF-8 locales on macOS.\n+\t# Ref.: https:\/\/github.com\/onetrueawk\/awk\/issues\/45\n+\tif (hasclass && match(mylocale(), \/[Uu][Tt][Ff]-?8\/))\n+\t\thasclass = match(\"\u00e9\u00ef\u00d1\", \/^[[:alpha:]][[:alpha:]][[:alpha:]]$\/);\n }\n \n # The terms 'branch', 'piece', 'atom' and 'bound' are used as defined\n"}
{"commit":"e81a54408005d1ff0c20efb76d5a03f347da69e3","subject":"Bugfix: Print also the last element of array after sorting the array.","message":"Bugfix: Print also the last element of array after sorting the array.\n\n\tmodified:   code\/awk\/generate_source_list_from_make_output.awk\n","repos":"nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- code\/awk\/generate_source_list_from_make_output.awk\n+++ code\/awk\/generate_source_list_from_make_output.awk\n@@ -68,14 +68,10 @@\n     }\n }\n END{\n-    n_dirs = array_index;\n     asort(dir_array);\n \n     print \"\";\n     print \"include_directories(\";\n \n-    for (i = 0; i < n_dirs; i++)\n-    {\n-        print dir_array[i];\n-    }\n+    for (i in dir_array) print dir_array[i];\n } # END\n"}
{"commit":"3416b3ca2ca27e18615691d963d5375781da7aa6","subject":"minor cleanups","message":"minor cleanups\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -23,6 +23,7 @@\n \treturn str\n }\n \n+# if possible, find a shorter form for the input\n function contract(uri){\n \tif(uri in prefix)\n \t\treturn prefix[uri]\n@@ -32,18 +33,17 @@\n \t\t\tif(0 < start)\n \t\t\t\treturn exception[substr(uri, start, RLENGTH)]\n \t\t}\n-\t# else\n \t\treturn simplify(uri)\n }\n \n-# get the final (identifier) portion of a slashed path\n+# get the final (fragment identifier) portion of a slashed path\n function final(uri){\n \tsplit(trim(uri),b,\"\/\")\n \tp = b[length(b)]\n \tanchor = match(p, \"#\")\n \tif(anchor > 0)\n \t\tp = substr(p, anchor+1)\n-\treturn\n+\treturn p\n }\n \n BEGIN{\n@@ -90,16 +90,13 @@\n \tnodelist[o \" [shape=record];\"]++\n }\n \n+# output dot file, include edge counts\n END{\n \tprint \"digraph {\"\n \tprint \"rankdir=LR;\"\n \tprint \"charset=\\\"utf-8\\\";\"\n-\tfor(edge in edgelist){\n-\t\tprint edge \" (\" edgelist[edge] \")\\\"];\"\n-\t}\n-\tfor(node in nodelist){\n-\t\tprint node\n-\t}\n+\tfor(edge in edgelist) print edge \" (\" edgelist[edge] \")\\\"];\"\n+\tfor(node in nodelist) print node\n \tprint \"}\"\n }\n \n"}
{"commit":"6e3a22a4343941d479e4ce89fcce2c34fdf4b5b1","subject":"oops, this introduced nasty bugs, this one is better, uses more Wordnet data","message":"oops, this introduced nasty bugs, this one is better, uses more Wordnet data\n\n","repos":"jimregan\/languagetool,languagetool-org\/languagetool,janissl\/languagetool,janissl\/languagetool,lopescan\/languagetool,lopescan\/languagetool,meg0man\/languagetool,janissl\/languagetool,jimregan\/languagetool,jimregan\/languagetool,meg0man\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,janissl\/languagetool,meg0man\/languagetool,meg0man\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,lopescan\/languagetool,janissl\/languagetool,lopescan\/languagetool,lopescan\/languagetool,meg0man\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,janissl\/languagetool","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- trunk\/JLanguageTool\/resource\/en\/remap.awk\n+++ trunk\/JLanguageTool\/resource\/en\/remap.awk\n@@ -57,9 +57,12 @@\n \tif ($i~\/\\?|<\/) mark++\n \ttotal++\n \t}\n-if (mark==total && \"BEGIN\"$1!~\/BEGIN[A-Z]\/) print $1 \"\\t\" $1 \"\\tRB\"; else {\n+if (mark==total && \"BEGIN\"$1!~\/BEGIN[A-Z]\/) {\n+#dummy: this is just wrong tagging\n+\tmark=0\n+\ttotal=0\n+\t} else {\n if ($1\"_END\"!~\/ly_END\/) print $1 \"\\t\" $1 \"\\tJJ\"; else print $1 \"\\t\" $1 \"\\tRB\"\n-}\n for (i=2;i<=NF;i++) {\n \tif ($i\"_END\"~\/er_END\/) \n \t\t{print $i \"\\t\" $1 \"\\tJJR\"\n@@ -69,6 +72,7 @@\n \t\tJJS[$i]=$1\n \t\t}\n \t}\n+}\n }\n \n \/N:|N\\?:\/ {if ($1!~\/[A-Z][a-z]\/) print $1 \"\\t\" $1 \"\\tNN\"; else print $1 \"\\t\" $1 \"\\tNNP\"\n@@ -138,4 +142,14 @@\n \"BEGIN\"$2\"END\"~\/BEGINIEND\/ && !\/ \/{ print $1 \"\\t\" $1 \"\\t\"map[$2]} \n \"BEGIN\"$2\"END\"~\/BEGINrEND\/ { print $1 \"\\t\" $1 \"\\t\"map[$2]}\n \"BEGIN\"$2\"END\"~\/BEGINvEND\/ { print $1 \"\\t\" $1 \"\\t\"map[$2]}\n-\"BEGIN\"$2\"END\"~\/BEGINAEND\/ { if (JJR[$1]==\"\" && JJS[$1]==\"\") print $1 \"\\t\" $1 \"\\t\"map[$2]}+\"BEGIN\"$2\"END\"~\/BEGINAEND\/ { if (JJR[$1]==\"\" && JJS[$1]==\"\") print $1 \"\\t\" $1 \"\\t\"map[$2]}\n+\n+\/\\tvA\/ {print $1 \"\\t\" $1 \"\\t\"map[\"v\"]\n+\tprint $1 \"\\t\" $1 \"\\t\"map[\"A\"]}\n+\t\n+\/\\tPCv\/ {print $1 \"\\t\" $1 \"\\t\"map[\"P\"]\n+\tprint $1 \"\\t\" $1 \"\\t\"map[\"C\"]\n+\tprint $1 \"\\t\" $1 \"\\t\"map[\"v\"]}\n+\n+\/\\tCv\/ {print $1 \"\\t\" $1 \"\\t\"map[\"C\"]\n+\tprint $1 \"\\t\" $1 \"\\t\"map[\"v\"]}"}
{"commit":"4680be218717a9640faf0cc9b9e324f6bca1f2db","subject":"Tolerate spaces in VMPARAM_vm_disk in libvirt awk script. #6132","message":"Tolerate spaces in VMPARAM_vm_disk in libvirt awk script. #6132\n\nCondor_submit no longer removes spaces around the commas in the vm_disk\nattribute in the submit file. Update the awk script that the vm-gahp\ncalls by default to tolerate them.\n","repos":"htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_vm-gahp\/libvirt_simple_script.awk\n+++ src\/condor_vm-gahp\/libvirt_simple_script.awk\n@@ -143,7 +143,7 @@\n     }\n \n     \n-    n=split(attrs[\"VMPARAM_vm_Disk\"], full_disk, \",\");\n+    n=split(attrs[\"VMPARAM_vm_Disk\"], full_disk, \" *, *\");\n     for ( i=1; i<=n; i++ )\n     {\n         # count is used to determine if format is passed.\n"}
{"commit":"2c70dcd71b367dc220ef8bf3402cf371008bf6cb","subject":"Update permissions","message":"Update permissions\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"9ff77108be64b76067aa78eb6bd26fce0fdd87ab","subject":"corrige un peut le output du script de d\u00e9tection des d\u00e9pendances","message":"corrige un peut le output du script de d\u00e9tection des d\u00e9pendances\n","repos":"WalkingMachine\/sara_behaviors,WalkingMachine\/sara_behaviors","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- regexes\/generateDependenciesGraph.gawk\n+++ regexes\/generateDependenciesGraph.gawk\n@@ -6,9 +6,12 @@\n function basename(file) {\n     sub(\".*\/\", \"\", file);\n     sub(\".py\",\"\", file);\n+    sub(\"_?((sm)|(SM))\",\"\", file);\n     return file;\n }\n function writeF(str){\n+\n+    sub(\"_?((sm)|(SM))\",\"\", str);\n     return system(\"echo \\\"\"str\"\\\">>regexes\/graphs\/dependenceGraph.plantuml\")\n }\n \n@@ -29,7 +32,7 @@\n     }\n     if(match($0, \/from .* import (.*)\/,arr)&&!match($0, \/Behavior\/)){\n         print \"\\t\",arr[1];\n-        writeF(arr[1]\" -> \"class\"\\n\");\n+        writeF(arr[1]\" -> \"class\"\");\n     }\n }\n END{\n"}
{"commit":"1dfe79a34510682a02853eda6dc78ffa204e0719","subject":"fixes summary option not working","message":"fixes summary option not working\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -174,6 +174,6 @@\n     print \"# la fin\"\n     print \"END {\" \n     print \"    if (action == \\\"insert\\\") print \\\"\\\\\\\\.\\\"\"\n-    print \"    if (action == \\\"validate\\\") print RS \\\"violation summary: \\\" RS \\\"   counts:   \\\" RS \\\"      total: \\\" err_count; print_cats(cats); \"\n+    print \"    if (action == \\\"validate\\\" && options[\\\"summary\\\"] == \\\"true\\\") { print RS \\\"violation summary: \\\" RS \\\"   counts:   \\\" RS \\\"      total: \\\" err_count; print_cats(cats); }\"\n     print \"}\"\n }"}
{"commit":"4d658fa3ba56e14952b62dd843bf2755914ffbb2","subject":"(\/^[0-9A-F]+\\.\\.\/): Fix regex for matching.","message":"(\/^[0-9A-F]+\\.\\.\/): Fix regex for matching.\n","repos":"sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- SCRIPT.awk\n+++ SCRIPT.awk\n@@ -122,7 +122,7 @@\n }\n \n \/^[0-9A-F]+\\.\\.\/ {\n-    maybe_emit(decode_hex($0, 1), decode_hex($0, match($0, \"\\.\\.\") + 2), $2);\n+    maybe_emit(decode_hex($0, 1), decode_hex($0, match($0, \"\\\\.\\\\.\") + 2), $2);\n     next;\n }\n \n"}
{"commit":"fca27c1da35677538ef1459565fcb312444888b1","subject":"Removed empty line.","message":"Removed empty line.\n","repos":"tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- recipes-core\/systemd\/systemd-units\/candump.awk\n+++ recipes-core\/systemd\/systemd-units\/candump.awk\n@@ -91,7 +91,6 @@\n             else if (\"1A\" == $8) printf \"end of frame\\n\"\n             else if (\"12\" == $8) printf \"intermission\\n\"\n             printf(\"%u) %.3f 1 Error %s - 4 00 %s 00 00\", NR, currentTimeOffset * 1000, type, position)\n-            \n         }\n         else if (\"20000010\" == $3)\n         {\n"}
{"commit":"802e6074b07c0c1ab5e2d5375311afea9bb7db9d","subject":"Pretty formatting for repport","message":"Pretty formatting for repport\n","repos":"ctrlrsf\/mctopkeys,sfoutrier\/mctopkeys","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- count.awk\n+++ count.awk\n@@ -19,6 +19,6 @@\n   exec = getTime() - start;\n   for(i in r)\n   {\n-    print r[i]\"\\t\"(r[i]\/exec)\"\\t\"i\n+    printf(\"%d\\t%.2f\\t%s\\n\", r[i], r[i]\/exec, i)\n   }\n }\n"}
{"commit":"b3706332c410915323f2033ba897b4d7e15cae99","subject":"raw params need foaf and dct for provenance","message":"raw params need foaf and dct for provenance\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -40,18 +40,18 @@\n    }\n    print \"@prefix xsd:        <http:\/\/www.w3.org\/2001\/XMLSchema#> .\"\n    if(length(conversionID)) {\n-      print \"@prefix dcterms:    <http:\/\/purl.org\/dc\/terms\/> .\"\n       print \"@prefix vann:       <http:\/\/purl.org\/vocab\/vann\/> .\"\n       print \"@prefix skos:       <http:\/\/www.w3.org\/2004\/02\/skos\/core#> .\"\n-      print \"@prefix foaf:       <http:\/\/xmlns.com\/foaf\/0.1\/> .\"\n       print \"@prefix time:       <http:\/\/www.w3.org\/2006\/time#> .\"\n       print \"@prefix wgs:        <http:\/\/www.w3.org\/2003\/01\/geo\/wgs84_pos#> .\"\n       print \"@prefix geonames:   <http:\/\/www.geonames.org\/ontology#> .\"\n       print \"@prefix con:        <http:\/\/www.w3.org\/2000\/10\/swap\/pim\/contact#> .\"\n    }\n+   print \"@prefix dcterms:    <http:\/\/purl.org\/dc\/terms\/> .\"\n    print \"@prefix void:       <http:\/\/rdfs.org\/ns\/void#> .\"\n    print \"@prefix scovo:      <http:\/\/purl.org\/NET\/scovo#> .\"\n    print \"@prefix sioc:       <http:\/\/rdfs.org\/sioc\/ns#> .\"\n+   print \"@prefix foaf:       <http:\/\/xmlns.com\/foaf\/0.1\/> .\"\n    #if(showConversionProcess>0) {\n       print \"@prefix ov:         <http:\/\/open.vocab.org\/terms\/> .\"\n    #}\n"}
{"commit":"1e3b0c91f2b927bdb79cceec8cfbf7cfb7d7702e","subject":"Improved pivot_by_region.awk to not render duplicated regional identifiers","message":"Improved pivot_by_region.awk to not render duplicated regional identifiers\n","repos":"stephenchu\/awsm-cli","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- files\/awsm-cli\/internal\/pivot_by_region.awk\n+++ files\/awsm-cli\/internal\/pivot_by_region.awk\n@@ -27,9 +27,10 @@\n         if (aws_resource_type ~ \/^(aki|ami|ari|eipalloc|elb|subnet|i|vpc)$\/) {\n           aws_resource_identifier = $i\n           if (length(results[region, aws_resource_type]) == 0)\n-            results[region, aws_resource_type] = results[region, aws_resource_type] aws_resource_identifier\n+            results[region, aws_resource_type] = aws_resource_identifier\n           else\n-            results[region, aws_resource_type] = results[region, aws_resource_type] \" \" aws_resource_identifier\n+            if (index(results[region, aws_resource_type], aws_resource_identifier) == 0)\n+              results[region, aws_resource_type] = results[region, aws_resource_type] \" \" aws_resource_identifier\n         }\n       }\n     }\n"}
{"commit":"f4f82fa3abe2d46078086ee596294f2f27c761f1","subject":"added todo","message":"added todo\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -169,9 +169,9 @@\n    #\n    if( cellDelimiter != \"\\t\" ) {\n                                     printf(\"      conversion:delimits_cell \\\"%s\\\";\\n\",cellDelimiter);\n-                                    printf(\"      #conversion:delimits_cell \\\"\t\\\"; # tab\\n\");\n+                                    printf(\"      #conversion:delimits_cell \\\"\t\\\"; # tab\\n\"); # TODO: Jena likes \"\\u0009\" better.\n    }else {\n-                                    printf(\"      conversion:delimits_cell \\\"\t\\\"; # tab\\n\");\n+                                    printf(\"      conversion:delimits_cell \\\"\t\\\"; # tab\\n\"); # TODO: Jena likes \"\\u0009\" better.\n    }\n                                     printf(\"      #conversion:delimits_cell \\\"|\\\";   # pipe\\n\");\n                                     printf(\"      #conversion:delimits_cell \\\",\\\";   # comma\\n\");\n"}
{"commit":"e1559fc04fd4de0f3e70e3c3227ddd675649ab40","subject":"bin\/util\/header2params2.awk accepts new param for cellDelimiter","message":"bin\/util\/header2params2.awk accepts new param for cellDelimiter\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -12,6 +12,7 @@\n # -v subjectDiscriminator\n # -v conversionID\n #\n+# -v cellDelimiter\n # -v header\n # -v dataStart\n # -v dataEnd\n@@ -30,6 +31,11 @@\n    #FS=\",\"\n    STEP = length(conversionID) ? sprintf(\"enhancement\/%s\",conversionID) : \"raw\";\n    TYPE = length(conversionID) ? \"Enhancement\" : \"Raw\";\n+   # TODO: '|' has no length? --\\\/\n+          DELIMTER  = length(cellDelimiter) ? cellDelimiter : \"\t\" # <--- that's a tab character.\n+   commentDELIMITER = length(cellDelimiter) ? \"\"            : \"#\";\n+   #print \"#AWK: cellDelimiter:\",cellDelimiter,\" DELIMITER: \",DELIMITER,\" comment: \",commentDELIMITER\n+\n    if(length(showConversionProcess)) {\n       print \"@prefix rdf:        <http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#> .\"\n       print \"@prefix rdfs:       <http:\/\/www.w3.org\/2000\/01\/rdf-schema#> .\"\n@@ -128,6 +134,11 @@\n    #\n    # Structural enhancement parameters.\n    #\n+                                    printf(\"      conversion:delimits_cell \\\"%s\\\";\\n\",cellDelimiter);\n+                                    printf(\"      #conversion:delimits_cell \\\"\t\\\"; # tab\\n\");\n+                                    printf(\"      #conversion:delimits_cell \\\"|\\\";   # pipe\\n\");\n+                                    printf(\"      #conversion:delimits_cell \\\",\\\";   # comma\\n\");\n+                                    print\n    if(length(header)) {               \n                                     # Include header info even if just raw.\n                                     printf(\"      conversion:enhance [      \\n\");\n"}
{"commit":"bacd27281b01ae34a9d3e27e086cd934717b24d5","subject":"Don't modify episodeNumber for trailers","message":"Don't modify episodeNumber for trailers\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -109,11 +109,6 @@\n     sub (\/.*Episode \/,\"\")\n     sub (\/<\\\/span>.*\/,\"\")\n     episodeNumber = $0 + 0\n-    if (episodeType == \"T\") {\n-        printf (\"==> Corrected %s%02d to T01: %s\\n\", episodeType, episodeNumber, \\\n-                shortURL) >> ERROR_FILE\n-        episodeNumber = 1\n-    }\n     if ((episodeURL ~ \/-c-.[[:digit:]]{3,4}$\/) && episodeNumber != episodeNumberFromURL) {\n         printf (\"==> Corrected %s%02d to %s%02d: %s\\n\", episodeType, episodeNumber, episodeType, \\\n                 episodeNumberFromURL, shortURL) >> ERROR_FILE\n"}
{"commit":"d2febe107a10b26605d859b22bc1fdcaf5e54052","subject":"Help: update","message":"Help: update\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -26,7 +26,7 @@\n         sprintf(\"%-22s%s\\n\", \"terminal type\", ENVIRON[\"TERM\"])          \\\n         sprintf(\"%-22s%s (%s)\\n\", \"user locale\", UserLocale, getName(UserLang)) \\\n         sprintf(\"%-22s%s\\n\", \"home language\", Option[\"hl\"])             \\\n-        sprintf(\"%-22s%s\\n\", \"source language\", Option[\"sl\"])           \\\n+        sprintf(\"%-22s%s\\n\", \"source language\", join(Option[\"sls\"], \"+\")) \\\n         sprintf(\"%-22s%s\\n\", \"target language\", join(Option[\"tl\"], \"+\")) \\\n         sprintf(\"%-22s%s\\n\", \"translation engine\", Option[\"engine\"])    \\\n         sprintf(\"%-22s%s\\n\", \"proxy\", Option[\"proxy\"] ? Option[\"proxy\"] :\n@@ -42,7 +42,7 @@\n function getHelp() {\n     return \"Usage:  \" ansi(\"bold\", Command)                             \\\n         \" [\" ansi(\"underline\", \"OPTIONS\") \"]\"                           \\\n-        \" [\" ansi(\"underline\", \"SOURCE\") \"]\"                            \\\n+        \" [\" ansi(\"underline\", \"SOURCES\") \"]\"                           \\\n         \":[\" ansi(\"underline\", \"TARGETS\") \"]\"                           \\\n         \" [\" ansi(\"underline\", \"TEXT\") \"]...\" RS                        \\\n         RS \"Information options:\" RS                                    \\\n@@ -166,13 +166,13 @@\n             \", \" ansi(\"bold\", \"-hl \") ansi(\"underline\", \"CODE\")         \\\n             \", \" ansi(\"bold\", \"-lang \") ansi(\"underline\", \"CODE\")) RS   \\\n         ins(2, \"Specify your home language.\") RS                        \\\n-        ins(1, ansi(\"bold\", \"-s \") ansi(\"underline\", \"CODE\")            \\\n-            \", \" ansi(\"bold\", \"-sl \") ansi(\"underline\", \"CODE\")         \\\n-            \", \" ansi(\"bold\", \"-source \") ansi(\"underline\", \"CODE\")     \\\n-            \", \" ansi(\"bold\", \"-from \") ansi(\"underline\", \"CODE\")) RS   \\\n-        ins(2, \"Specify the source language.\") RS                       \\\n+        ins(1, ansi(\"bold\", \"-s \") ansi(\"underline\", \"CODES\")           \\\n+            \", \" ansi(\"bold\", \"-sl \") ansi(\"underline\", \"CODES\")        \\\n+            \", \" ansi(\"bold\", \"-source \") ansi(\"underline\", \"CODES\")    \\\n+            \", \" ansi(\"bold\", \"-from \") ansi(\"underline\", \"CODES\")) RS  \\\n+        ins(2, \"Specify the source language(s), joined by '+'.\") RS     \\\n         ins(1, ansi(\"bold\", \"-t \") ansi(\"underline\", \"CODES\")           \\\n-            \", \" ansi(\"bold\", \"-tl \") ansi(\"underline\", \"CODE\")         \\\n+            \", \" ansi(\"bold\", \"-tl \") ansi(\"underline\", \"CODES\")        \\\n             \", \" ansi(\"bold\", \"-target \") ansi(\"underline\", \"CODES\")    \\\n             \", \" ansi(\"bold\", \"-to \") ansi(\"underline\", \"CODES\")) RS    \\\n         ins(2, \"Specify the target language(s), joined by '+'.\") RS     \\\n"}
{"commit":"ecc00813fed50142738fa122737e4e38f33a7bae","subject":"Main: support shortcut option \/ENGINE","message":"Main: support shortcut option \/ENGINE\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -234,12 +234,20 @@\n \n         ## Translator options\n \n-        # -e, -engine\n+        # -e ENGINE, -engine ENGINE\n         match(ARGV[pos], \/^--?(e|engine)(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"engine\"] = group[2] ?\n                 (group[3] ? group[3] : Option[\"engine\"]) :\n                 ARGV[++pos]\n+            continue\n+        }\n+\n+        # Shortcut format\n+        # '\/ENGINE'\n+        match(ARGV[pos], \/^\\\/(.*)$\/, group)\n+        if (RSTART) {\n+            Option[\"engine\"] = group[1]\n             continue\n         }\n \n"}
{"commit":"639c79552755048d87fae260f7d37b22cd2ce21d","subject":"Translators\/DeepLTranslator: utilize LMT_split_into_sentences, fix #249","message":"Translators\/DeepLTranslator: utilize LMT_split_into_sentences, fix #249\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/DeepLTranslator.awk\n+++ include\/Translators\/DeepLTranslator.awk\n@@ -23,13 +23,29 @@\n     # Not implemented\n }\n \n-# Send an HTTP POST request and get response from DeepL Translator (via curl).\n-function deeplPost(text, sl, tl, hl,\n+# Send an HTTP POST request and get response from DeepL Translator (via curl) for splitting into sentences.\n+function deeplPostSplit(text, sl, tl, hl,\n                    ####\n                    content, data, url) {\n+    data = \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"method\\\":\\\"LMT_split_into_sentences\\\",\"\n+    data = data \"\\\"params\\\":{\\\"texts\\\":[\" parameterize(text, \"\\\"\") \"]}}\"\n+    l(data)\n+    url = \"https:\/\/www2.deepl.com\/jsonrpc\"\n+    content = curlPost(url, data)\n+    return assert(content, \"[ERROR] Null response.\")\n+}\n+\n+# Send an HTTP POST request and get response from DeepL Translator (via curl).\n+function deeplPost(sentences, sl, tl, hl,\n+                   ####\n+                   content, data, i, url) {\n     data = \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"method\\\":\\\"LMT_handle_jobs\\\",\"\n-    data = data \"\\\"params\\\":{\\\"jobs\\\":[{\\\"kind\\\":\\\"default\\\",\"\n-    data = data \"\\\"raw_en_sentence\\\":\" parameterize(text, \"\\\"\") \"}],\"\n+    data = data \"\\\"params\\\":{\\\"jobs\\\":[\"\n+    for (i in sentences) {\n+        if (i > 0) data = data \",\"\n+        data = data \"{\\\"kind\\\":\\\"default\\\",\\\"raw_en_sentence\\\":\" parameterize(sentences[i], \"\\\"\") \"}\"\n+    }\n+    data = data \"],\"\n     data = data \"\\\"lang\\\":{\\\"user_preferred_langs\\\":[\\\"\" hl \"\\\"],\"\n     data = data \"\\\"source_lang_user_selected\\\":\\\"\" sl \"\\\",\"\n     data = data \"\\\"target_lang\\\":\\\"\" tl \"\\\"},\"\n@@ -44,10 +60,10 @@\n function deeplTranslate(text, sl, tl, hl,\n                         isVerbose, toSpeech, returnPlaylist, returnIl,\n                         ####\n-                        r,\n+                        r, i, j,\n                         content, tokens, ast,\n                         _sl, _tl, _hl, il,\n-                        translation, translations,\n+                        sentences, translation, translations,\n                         wShowOriginal, wShowTranslation,\n                         wShowLanguages, wShowAlternatives,\n                         group, temp) {\n@@ -68,7 +84,15 @@\n     if (_tl != \"auto\") _tl = toupper(_tl)\n     if (_hl != \"auto\") _hl = toupper(_hl)\n \n-    content = deeplPost(text, _sl, _tl, _hl)\n+    content = deeplPostSplit(text, _sl, _tl, _hl)\n+    tokenize(tokens, content)\n+    parseJson(ast, tokens)\n+    for (i in ast) {\n+        if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"splitted_texts\" SUBSEP \"[[:digit:]]+\" SUBSEP \"[[:digit:]]+\") {\n+            append(sentences, uprintf(unquote(unparameterize(ast[i]))))\n+        }\n+    }\n+    content = deeplPost(sentences, _sl, _tl, _hl)\n     if (Option[\"dump\"])\n         return content\n     tokenize(tokens, content)\n@@ -85,15 +109,22 @@\n \n     saveSortedIn = PROCINFO[\"sorted_in\"]\n     PROCINFO[\"sorted_in\"] = \"compareByIndexFields\"\n+    j = 0\n     for (i in ast) {\n-        if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"translations\" SUBSEP 0 SUBSEP \"beams\" SUBSEP \"[[:digit:]]+\" SUBSEP \"postprocessed_sentence$\") {\n+        if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"translations\" SUBSEP \"[[:digit:]]+\" SUBSEP \"beams\" \\\n+            SUBSEP \"[[:digit:]]+\" SUBSEP \"postprocessed_sentence$\") {\n             # FIXME: build a cache for recurring invocation of uprintf()\n-            append(translations, uprintf(unquote(unparameterize(ast[i]))))\n+            temp = uprintf(unquote(unparameterize(ast[i])))\n+            append(translations, temp)\n+        }\n+        if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"translations\" SUBSEP j SUBSEP \"beams\" \\\n+            SUBSEP \"[[:digit:]]+\" SUBSEP \"postprocessed_sentence$\") {\n+            translation = j > 0 ? translation \" \" temp : temp\n+            j++\n         }\n     }\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n \n-    translation = translations[0]\n     returnIl[0] = il = tolower(unparameterize(ast[0 SUBSEP \"result\" SUBSEP \"source_lang\"]))\n     if (Option[\"verbose\"] < -1)\n         return il\n"}
{"commit":"1030f055cb4154fb1447a0977004cc9cc1af749f","subject":"Commons: handle Unicode '<' and '>' correctly, fix #139","message":"Commons: handle Unicode '<' and '>' correctly, fix #139\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -170,6 +170,10 @@\n         return \"\\v\" # Vertical Tab\n     case \"u0026\":\n         return \"&\" # Unicode Character 'AMPERSAND'\n+    case \"u003c\":\n+        return \"<\" # Unicode Character 'LESS-THAN SIGN'\n+    case \"u003e\":\n+        return \">\" # Unicode Character 'GREATER-THAN SIGN'\n     default:\n         return char\n     }\n"}
{"commit":"1083202cd710a03135ea7fc4f6fb33a335a8ab18","subject":"monitorKeyFrames","message":"monitorKeyFrames\n","repos":"kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- packager\/bin\/monitorKeyFrames.awk\n+++ packager\/bin\/monitorKeyFrames.awk\n@@ -28,9 +28,9 @@\n         max[segIdx]=segTime\n     }\n     if(flavorCnt > 0 && callCnt == 10*flavorCnt ){\n-        for(seg in max){\n-           print \"INFO: segIdx=\"seg\" diff  \"max[seg]-min[seg]\n-        }\n+       # for(seg in max){\n+        #   print \"INFO: segIdx=\"seg\" diff  \"max[seg]-min[seg]\n+        #}\n         delete max\n         delete min\n         callCnt = 0\n"}
{"commit":"1f779ef13545eb61fd1f878256c03c2b21c0d5c0","subject":"added dbpedia owl and prop to defaults","message":"added dbpedia owl and prop to defaults\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -56,6 +56,8 @@\n       print \"@prefix geonamesid:    <http:\/\/sws.geonames.org\/> .\"\n       print \"@prefix govtrackusgov: <http:\/\/www.rdfabout.com\/rdf\/usgov\/geo\/us\/> .\"\n       print \"@prefix dbpedia:       <http:\/\/dbpedia.org\/resource\/> .\"\n+      print \"@prefix dbpediaprop:   <http:\/\/dbpedia.org\/property\/> .\"\n+      print \"@prefix dbpediaowl:    <http:\/\/dbpedia.org\/ontology\/> .\"\n       print \"@prefix con:           <http:\/\/www.w3.org\/2000\/10\/swap\/pim\/contact#> .\"\n       print \"@prefix muo:           <http:\/\/purl.oclc.org\/NET\/muo\/muo#> .\"\n       print \"@prefix vs:            <http:\/\/www.w3.org\/2003\/06\/sw-vocab-status\/ns#> .\"\n"}
{"commit":"7b6b98dd08750552b47981900da72f82b7631fa3","subject":"Synsets with 10K words are trash","message":"Synsets with 10K words are trash\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- impl\/delabel.awk\n+++ impl\/delabel.awk\n@@ -4,12 +4,20 @@\n }\n {\n     gsub(\"(#[[:digit:]]+|, $)\", \"\");\n-    for (i = 1; i <= split($3, words, \", \"); i++) uniq[words[i]];\n+\n+    len = split($3, words, \", \");\n+\n+    if (len >= 10000) next;\n+\n+    for (i = 1; i <= len; i++) uniq[words[i]];\n+\n     for (word in uniq) {\n         synset = synset sep word;\n         sep = \", \";\n         len++;\n     }\n+\n     print $1, len, synset | \"sort --parallel=$(nproc) -t \\\"\\t\\\" -S1G -k2nr -k1n -s\";\n+\n     synset = sep = len = \"\"; delete uniq;\n }\n"}
{"commit":"ee4d4ed4367fb65020d464b4e95c7fae0b1a17ee","subject":"fix missing episode number in mammon\/season:1\/videos\/the-murder","message":"fix missing episode number in mammon\/season:1\/videos\/the-murder\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -85,6 +85,9 @@\n     if (episodeURL ~ \/-c-[[:digit:]]{5}$\/)\n         episodeNumberFromURL = substr (episodeURL, length(episodeURL)-1, 2)\n     episodeTitle = fld[4]\n+    # kludge for missing episode number in mammon\/season:1\/videos\/the-murder\n+    if (episodeTitle ~ \/Sn 1 Ep 5\/)\n+        episodeNumberFromURL = \"05\"\n     gsub (\/&quot;\/,\"\\\"\\\"\",episodeTitle)\n     sub (\/.*season:\/,\"\")\n     sub (\/\\\/.*\/,\"\")\n"}
{"commit":"e50ea12a57b763ec8b8c8ac5e3f72565ed1022c6","subject":"added qb prefix","message":"added qb prefix\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -62,6 +62,7 @@\n       print \"@prefix frbr:          <http:\/\/purl.org\/vocab\/frbr\/core#> .\"\n       print \"@prefix bibo:          <http:\/\/purl.org\/ontology\/bibo\/> .\"\n       print \"@prefix doap:          <http:\/\/usefulinc.com\/ns\/doap#> .\"\n+      print \"@prefix qb:            <http:\/\/purl.org\/linked-data\/cube#> .\"\n       print \"@prefix dgtwc:         <http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#> .\"\n    }\n    print \"@prefix dcterms:       <http:\/\/purl.org\/dc\/terms\/> .\"\n"}
{"commit":"09418f4aed637b5b21808a0b57aa8e74c600f6c4","subject":"Typo.","message":"Typo.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@30388 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -32,7 +32,7 @@\n       if (r[pn] == \"\") {\n         if ((substr(p[pn],1,2) <= \"American H\")) {\n           r[pn] = \"5\"\n-        } else if ((substr(p[pn],1,2) >= \"AMerican I\") && (substr(p[pn],1,2) <= \"Bz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"American I\") && (substr(p[pn],1,2) <= \"Bz\")) {\n           r[pn] = \"4\"\n         } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Nz\")) {\n           r[pn] = \"5\"\n"}
{"commit":"0b9e43ad944593ba5ce82d97f444d4135f7d7239","subject":"Update filter_en_uk.awk","message":"Update filter_en_uk.awk\n\nOrdered keys from top left to bottom right","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- filter_en_uk.awk\n+++ filter_en_uk.awk\n@@ -99,14 +99,6 @@\n                 macroLine = macroLine \"+lshift,+rbrace,-rbrace,-lshift\";\n                 break;\n             }\n-            if ($x == \"#\") {\n-                macroLine = macroLine \"+hash,-hash\";\n-                break;\n-            }\n-            if ($x == \"~\") {\n-                macroLine = macroLine \"+lshift,+hash,-hash,-lshift\";\n-                break;\n-            }\n             if ($x == \";\") {\n                 macroLine = macroLine \"+colon,-colon\";\n                 break;\n@@ -123,8 +115,12 @@\n                 macroLine = macroLine \"+lshift,+quote,-quote,-lshift\";\n                 break;\n             }\n-            if ($x == \",\") {\n-                macroLine = macroLine \"+comma,-comma\";\n+            if ($x == \"#\") {\n+                macroLine = macroLine \"+hash,-hash\";\n+                break;\n+            }\n+            if ($x == \"~\") {\n+                macroLine = macroLine \"+lshift,+hash,-hash,-lshift\";\n                 break;\n             }\n             if ($x == \"\\\\\") {\n@@ -133,6 +129,10 @@\n             }\n             if ($x == \"|\") {\n                 macroLine = macroLine \"+lshift,+bslash_iso,-bslash_iso,-lshift\";\n+                break;\n+            }\n+            if ($x == \",\") {\n+                macroLine = macroLine \"+comma,-comma\";\n                 break;\n             }\n             if ($x == \"<\") {\n"}
{"commit":"7450186230026952bf5c82208a53f9e2a26364f1","subject":"Help: update getHelp()","message":"Help: update getHelp()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -75,6 +75,27 @@\n \n # Return help message as a string.\n function getHelp() {\n-    return \"Usage: translate [options] [source]:[target] [<text>] ...\\n\" \\\n-        \"       translate [options] [source]:[target1]+[target2]+... [<text>] ...\\n\"\n+    return \"Usage: \" Command \" [options] [source]:[target] [\" AnsiCode[\"underline\"] \"text\" AnsiCode[\"no underline\"] \"] ...\\n\" \\\n+        \"       \" Command \" [options] [source]:[target1]+[target2]+... [\" AnsiCode[\"underline\"] \"text\" AnsiCode[\"no underline\"] \"] ...\\n\\n\" \\\n+        \"Options:\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-V, -version\" AnsiCode[\"no bold\"] \"\\n    Print version and exit.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-H, -h, -help\" AnsiCode[\"no bold\"] \"\\n    Show this manual, or print this help message and exit.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-r, -reference\" AnsiCode[\"no bold\"] \"\\n    Print a list of languages (displayed in endonyms) and their ISO 639 codes for reference, and exit.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-R, -reference-english\" AnsiCode[\"no bold\"] \"\\n    Print a list of languages (displayed in English names) and their ISO 639 codes for reference, and exit.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-v, -verbose\" AnsiCode[\"no bold\"] \"\\n    Verbose mode. (default)\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-b, -brief\" AnsiCode[\"no bold\"] \"\\n    Brief mode.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-w [num], -width [num]\" AnsiCode[\"no bold\"] \"\\n    Specify the screen width for padding when displaying right-to-left languages.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-p, -play\" AnsiCode[\"no bold\"] \"\\n    Listen to the translation.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-P [program], -player [program]\" AnsiCode[\"no bold\"] \"\\n    Specify the command-line audio player to use, and listen to the translation.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-I, -interactive\" AnsiCode[\"no bold\"] \"\\n    Start an interactive shell, invoking `rlwrap` whenever possible (unless `-no-rlwrap` is specified).\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-no-rlwrap\" AnsiCode[\"no bold\"] \"\\n    Don't invoke `rlwrap` when starting an interactive shell with `-I`.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-E, -emacs\" AnsiCode[\"no bold\"] \"\\n    Start an interactive shell within GNU Emacs, invoking `emacs`.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-prompt [prompt_string]\" AnsiCode[\"no bold\"] \"\\n    Customize your prompt string in the interactive shell.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-prompt-color [color_code]\" AnsiCode[\"no bold\"] \"\\n    Customize your prompt color in the interactive shell.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-i [file], -input [file]\" AnsiCode[\"no bold\"] \"\\n    Specify the input file name.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-o [file], -output [file]\" AnsiCode[\"no bold\"] \"\\n    Specify the output file name.\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-l [code], -lang [code]\" AnsiCode[\"no bold\"] \"\\n    Specify your own, native language (\\\"home\/host language\\\").\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-s [code], -source [code]\" AnsiCode[\"no bold\"] \"\\n    Specify the source language (language of the original text).\\n\" \\\n+        \"  \" AnsiCode[\"bold\"] \"-t [codes], -target [codes]\" AnsiCode[\"no bold\"] \"\\n    Specify the target language(s) (language(s) of the translated text).\\n\" \\\n+        \"\\nSee the man page \" Command \"(1) for more information.\"\n }\n"}
{"commit":"78be7ef93514c89438b2dd1e7756736eadcce2e9","subject":"var\/mapr.awk: END: fix ORS logic (re: 2414bb8f)","message":"var\/mapr.awk: END: fix ORS logic (re: 2414bb8f)\n","repos":"modernish\/modernish","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- libexec\/modernish\/var\/mapr.awk\n+++ libexec\/modernish\/var\/mapr.awk\n@@ -114,12 +114,11 @@\n \n END {\n \tif (NR) {\n-\t\tORS = \"\\n\";\n \t\tprintsh(\"||_Msh_mapr_ckE \\\"$@\\\"||break\");\n \t\tif (cont) {\n-\t\t\tprint (\"_Msh_M_NR=\") (NR+1);\n+\t\t\tprint (\"\\n_Msh_M_NR=\") (NR+1) (\"\\n\");\n \t\t} else {\n-\t\t\tprint \"_Msh_M_NR=RET0\";\n+\t\t\tprint (\"\\n_Msh_M_NR=RET0\") (\"\\n\");\n \t\t}\n \t}\n }\n"}
{"commit":"6b8ce81f18865cb5b7dbec9b1b4fdd7689754c57","subject":"Display plurals correctly in testsuite summary","message":"Display plurals correctly in testsuite summary\n\nDavid R Allsopp -- pedantically eschewing lazy plural(s) since 1994.\n","repos":"yunxing\/ocaml,eliberis\/ocaml,msprotz\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,msprotz\/ocaml,msprotz\/ocaml,msprotz\/ocaml,eliberis\/ocaml,eliberis\/ocaml,msprotz\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,eliberis\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,eliberis\/ocaml,yunxing\/ocaml","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- testsuite\/makefiles\/summarize.awk\n+++ testsuite\/makefiles\/summarize.awk\n@@ -142,13 +142,13 @@\n             }\n             printf(\"\\n\");\n             printf(\"Summary:\\n\");\n-            printf(\"  %3d test(s) passed\\n\", passed);\n-            printf(\"  %3d test(s) skipped\\n\", skipped);\n-            printf(\"  %3d test(s) failed\\n\", failed);\n-            printf(\"  %3d unexpected error(s)\\n\", unexped);\n+            printf(\"  %3d test%s passed\\n\", passed, (passed == 1 ? \"\" : \"s\"));\n+            printf(\"  %3d test%s skipped\\n\", skipped, (skipped == 1 ? \"\" : \"s\"));\n+            printf(\"  %3d test%s failed\\n\", failed, (failed == 1 ? \"\" : \"s\"));\n+            printf(\"  %3d unexpected error%s\\n\", unexped, (unexped == 1 ? \"\" : \"s\"));\n             printf(\"  %3d tests considered%s\\n\", length(RESULTS), (length(RESULTS) != passed + skipped + failed + unexped ? \" (totals don't add up??)\": \"\"));\n             if (reran != 0){\n-                printf(\"  %3d test dir re-run(s)\\n\", reran);\n+                printf(\"  %3d test dir re-run%s\\n\", reran, (reran == 1 ? \"\" : \"s\"));\n             }\n             if (failed != 0){\n                 printf(\"\\nList of failed tests:\\n\");\n@@ -164,7 +164,7 @@\n             }\n             printf(\"\\n\");\n             if (failed || unexped){\n-                printf(\"#### Some tests failed. Exiting with error status.\\n\\n\");\n+                printf(\"#### Something failed. Exiting with error status.\\n\\n\");\n                 exit 4;\n             }\n         }else{\n"}
{"commit":"9374ed940688ae088c685b3d9237974f181a2a7e","subject":"r9836\/sofa-dev : FIX: trying to better flag files that are in SOFA_DEV but commented in the .pro","message":"r9836\/sofa-dev : FIX: trying to better flag files that are in SOFA_DEV but commented in the .pro\n","repos":"hdeling\/sofa,FabienPean\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,hdeling\/sofa,FabienPean\/sofa,FabienPean\/sofa,hdeling\/sofa,FabienPean\/sofa,FabienPean\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,FabienPean\/sofa,FabienPean\/sofa,FabienPean\/sofa,Anatoscope\/sofa","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- scripts\/filter-qmake-pro.awk\n+++ scripts\/filter-qmake-pro.awk\n@@ -62,13 +62,19 @@\n \t    infilelist=1;\n \t    f0=3; # first file is in 3rd field\n \t}\n+\telse if ($1~\"###\") {\n+\t    #print \"#infilelist \" $1\n+\t    infilelist=1;\n+\t    f0=2; # first file is in 3rd field\n+\t}\n     }\n     if (infilelist) {\n \tfor(f=f0;f<=nf && !(f==nf && $f~\/^[:space:]*\\\\[:space:]*$\/);f++) {\n \t    fname=$f\n \t    gsub(\/[\\r\\n]\/,\"\",fname);\n \t    gsub(\/\\\\[:space:]*$\/,\"\",fname);\n-\t    if (fname != \"#\") print fname > \"\/dev\/stderr\";\n+\t    gsub(\/^##*\/,\"\",fname);\n+\t    if (fname != \"\") print fname > \"\/dev\/stderr\";\n \t}\n \tif (f>nf && (nf==0 || $nf!~\/\\\\[:space:]*$\/)) { # no \"\\\\\" is put at the end of the line -> end of list\n \t    #print \"#end\"\n"}
{"commit":"e940dd3555e490a87d98409f3ecb53dd5ac508b4","subject":"Fix some special cases","message":"Fix some special cases\n\n-c-, Brotherhood of Blood Murder\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -227,21 +227,26 @@\n         # print shortEpisodeURL \" pr \" prEpisodeNumber >\"\/dev\/stderr\"\n     }\n     # If episode is a upcoming, i.e. - EP 507\" Available... use its episode number\n-        if (match (episodeTitle, \/-[[:space:]]{1,2}EP [[:digit:]]{3,4}\\\"\/)) {\n-            snEpisodeNumber = substr(episodeTitle, RSTART+RLENGTH-3, 2)\n+        if (match (episodeTitle, \/-[[:space:]]{1,2}EP [[:digit:]]{3,4}\/)) {\n+            snEpisodeNumber = substr(episodeTitle, RSTART+RLENGTH-2, 2)\n         # print shortEpisodeURL \" pr \" prEpisodeNumber >\"\/dev\/stderr\"\n     }\n     # print \"==> episodeType = \" episodeType > \"\/dev\/stderr\"\n     #\n     # Season and episode numbers\n     #\n-    # Special episode number cases...\n+    # Special case episode numbers\n     # Montalbano episodes have no season, make them season 1\n     if (episodeTitle ~ \/^Montalbano|^Detective Montalbano:\/) {\n         sub (\/\\(Ep\/,\"(Sn 1 Ep\",episodeTitle)\n         sub (\/^Montalbano:\/,\"Detective Montalbano:\",episodeTitle)\n         sub (\/^Montalbano and Me\/,\"Detective Montalbano: Montalbano and Me\",episodeTitle)\n     }\n+    # Baantjer Sn 1 Ep 12 is missing a parens\n+    sub (\/Brotherhood of Blood Murder Sn\/, \"Brotherhood of Blood Murder (Sn\",episodeTitle)\n+    # A Night in ... is missing episode numbers\n+    if (shortEpisodeURL ~ \/season:1\\\/videos\\\/a-night-in\/)\n+        snEpisodeNumber = 1\n \n     # Grab the Episode Number from the trailing (Sn 1 Ep 1)\n     # Episode Number(s)\n@@ -251,6 +256,14 @@\n         sub (\/.*[[:space:]]\/,\"\",snEpisodeNumber)\n         sub (\/\\).*\/,\"\",snEpisodeNumber)\n         # print shortEpisodeURL \" sn \" snEpisodeNumber >\"\/dev\/stderr\"\n+    }\n+\n+    # Octopus and some others uses -c-0\n+    if (match (shortEpisodeURL, \/-c-[[:digit:]]{5}\/)) {\n+        if (snEpisodeNumber == \"\" && prEpisodeNumber == \"\") {\n+            cxEpisodeNumber = substr(shortEpisodeURL, RSTART+RLENGTH-3, 3)\n+            # print shortEpisodeURL \" c- \" snEpisodeNumber >\"\/dev\/stderr\"\n+         }\n     }\n \n     # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n@@ -309,16 +322,18 @@\n         #\n         # Check for valid seasonNumber and episodeNumber before using them\n         if (seasonNumber == \"\")\n-            printf (\"==> Missing seasonNumber in \\\"%s: %s\\\"\\n\", showTitle, episodeTitle) >> ERRORS\n+            printf (\"==> Missing seasonNumber in \\\"%s: %s\\\" %s\\n\", showTitle,\n+                    episodeTitle, shortEpisodeURL) >> ERRORS\n         #\n         episodeNumber = snEpisodeNumber\n-        if (cxEpisodeNumber != \"\") \n+        if (cxEpisodeNumber != \"\")\n             episodeNumber = cxEpisodeNumber\n-        if (prEpisodeNumber != \"\" && cxEpisodeNumber == \"\") \n+        if (prEpisodeNumber != \"\" && cxEpisodeNumber == \"\")\n             episodeNumber = prEpisodeNumber\n         #\n         if (episodeNumber == \"\")\n-            printf (\"==> Missing episodeNumber in \\\"%s: %s\\\"\\n\", showTitle, episodeTitle) >> ERRORS\n+            printf (\"==> Missing episodeNumber in \\\"%s: %s\\\" %s\\n\", showTitle,\n+                    episodeTitle, shortEpisodeURL) >> ERRORS\n         #\n         episodeLink = sprintf (\"=HYPERLINK(\\\"%s\\\";\\\"%s, S%02d%s%02d, %s\\\")\", episodeURL, showTitle,\n                     seasonNumber, episodeType, episodeNumber, episodeTitle)\n@@ -350,7 +365,7 @@\n             sub (\/ [0-9][0-9][0-9][0-9]\\.\/,\"\",director_name)\n             sub (\/[[:space:]]+$\/,\"\",director_name)\n             sub (\/\\.$\/,\"\",director_name)\n-            # Special cases\n+            # Special case director names\n             if (director_name ~ \/Manetti Bros\/)\n                 director_name = \"The Manetti Bros.\"\n             if (director_name ~ \/Andrea and Antonio Frazzi\/)\n@@ -394,7 +409,7 @@\n     # in most cases, showSeasons = the final season number, i.e.\n     # a show with two seasons would have seasons 1 and 2\n     finalSeason = showSeasons\n-    # Special case any discontinuous seasons, e.g. 2 seasons, but numbered 1 and 3\n+    # Special case discontinuous seasons, e.g. 2 seasons, but numbered 1 and 3\n     if (showURL ~ \/\\\/wallander$\/)\n         finalSeason = 3\n     #\n"}
{"commit":"323d8b0ff1ce09b21e0102f648c2d7980a24e80a","subject":"Languages: fix show() and s() in case FriBidi is not properly initialized","message":"Languages: fix show() and s() in case FriBidi is not properly initialized\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1379,8 +1379,8 @@\n         if (Cache[text][0])\n             return Cache[text][0]\n         else {\n-            if (FriBidi || (code && isRTL(code)))\n-                (\"echo \" parameterize(text) \" | \" BiDiNoPad) | getline temp\n+            if ((FriBidi || (code && isRTL(code))) && BiDiNoPad)\n+                (\"echo \" parameterize(text) PIPE BiDiNoPad) | getline temp\n             else # non-RTL language, or FriBidi not installed\n                 temp = text\n             return Cache[text][0] = temp\n@@ -1399,8 +1399,8 @@\n         if (Cache[text][width])\n             return Cache[text][width]\n         else {\n-            if (FriBidi || (code && isRTL(code)))\n-                (\"echo \" parameterize(text) \" | \" sprintf(BiDi, width)) | getline temp\n+            if ((FriBidi || (code && isRTL(code))) && BiDi)\n+                (\"echo \" parameterize(text) PIPE sprintf(BiDi, width)) | getline temp\n             else # non-RTL language, or FriBidi not installed\n                 temp = text\n             return Cache[text][width] = temp\n"}
{"commit":"462edeb6ca3087562996db395690e6f5721ba8fe","subject":"Correction.","message":"Correction.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@33852 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -36,7 +36,7 @@\n           r[pn] = \"4\"\n         } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Rz\")) {\n           r[pn] = \"5\"\n-        } else if (substr(p[pn],1,1) >= \"SA\") {\n+        } else if (substr(p[pn],1,2) >= \"SA\") {\n           r[pn] = \"8\"\n         }\n       }\n"}
{"commit":"70fbcf32501bde5ecbfd36bf12b4898cbfd28590","subject":"Fixed tagXSstrandedData.awk script.","message":"Fixed tagXSstrandedData.awk script.\n","repos":"alexdobin\/STAR,alexdobin\/STAR,alexdobin\/STAR,alexdobin\/STAR","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- extras\/scripts\/tagXSstrandedData.awk\n+++ extras\/scripts\/tagXSstrandedData.awk\n@@ -6,11 +6,9 @@\n \n {\n \n-    printf $0;\n-   \n-    if (substr($1,1,1)==\"@\")\n-    {# header - nothing to do\n-        printf \"\\n\";\n+    if (substr($1,1,1)==\"@\" || $4==0)\n+    {# header, or unmapped read - just print\n+        print;\n         next;\n     };\n \n@@ -25,11 +23,11 @@\n     };\n \n     if (mate>0 && mate <3)\n-    {# mate is defined\n+    {# mate is defined - add XS tag\n        if (mate!=strType) str=1-str; #revert strand if the mate is opposite\n-       printf \"\\t\" \"XS:A:\" strSym[str];\n+       print $0 \"\\t\" \"XS:A:\" strSym[str];\n+    } else \n+    {# mate is not defined - just print\n+       print;\n     };    \n-    \n-    printf \"\\n\";\n-\n }\n"}
{"commit":"d1595a3f910a690294064490fc719c5edad4c796","subject":"Now toloka.awk can process multiple inputs","message":"Now toloka.awk can process multiple inputs\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/toloka.awk\n+++ misc\/toloka.awk\n@@ -3,10 +3,10 @@\n     FS = OFS = \"\\t\";\n     print \"INPUT:hyponym\", \"INPUT:hypernym\", \"INPUT:genitive\", \"GOLDEN:judgement\", \"HINT:text\";\n }\n-NR == 1 {\n+FNR == 1 {\n     for (i=1; i<=NF; i++) ix[$i] = i;\n     next;\n }\n-$ix[\"found\"] {\n+{\n     print $ix[\"hyponym\"], $ix[\"hypernym\"], $ix[\"genitive\"], \"\", \"\" | \"sort -t \\\"\\t\\\" -k1,1 -k2,2 -k3,3 -u\";\n }\n"}
{"commit":"aee4cb4d5239e8fff8d36ff74b3c134852128665","subject":"fix copyright headers","message":"fix copyright headers\n","repos":"pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- awk\/typegraph.awk\n+++ awk\/typegraph.awk\n@@ -1,7 +1,16 @@\n-# Copyright (c) AT&T Corp. 1994, 1995.\n-# This code is licensed by AT&T Corp.  For the\n-# terms and conditions of the license, see\n-# http:\/\/www.research.att.com\/orgs\/ssr\/book\/reuse\n+#\n+# \/**********************************************************\n+# *      This software is part of the graphviz package      *\n+# *                http:\/\/www.graphviz.org\/                 *\n+# *                                                         *\n+# *            Copyright (c) 1994-2005 AT&T Corp.           *\n+# *                and is licensed under the                *\n+# *            Common Public License, Version 1.0           *\n+# *                      by AT&T Corp.                      *\n+# *                                                         *\n+# *        Information and Software Systems Research        *\n+# *              AT&T Research, Florham Park NJ             *\n+# **********************************************************\/\n \n BEGIN\t{\n \t\t\tn_names = 0;\n"}
{"commit":"d9076741ffff0b4282776a5ad8dbe264aebba4a2","subject":"Missing newline in error message in summarize.awk","message":"Missing newline in error message in summarize.awk\n","repos":"gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- testsuite\/makefiles\/summarize.awk\n+++ testsuite\/makefiles\/summarize.awk\n@@ -169,7 +169,7 @@\n             if (nresults == passed + skipped + failed + unexped){\n                 printf (\"\\n\");\n             }else{\n-                printf (\" (totals don't add up??)\");\n+                printf (\" (totals don't add up??)\\n\");\n             }\n             if (reran != 0){\n                 printf(\"  %3d test dir re-runs\\n\", reran);\n"}
{"commit":"19c6f7676fbc455cf49c3679b0fe32207a439238","subject":"Changed ini adt to use : instead of SUBSEP","message":"Changed ini adt to use : instead of SUBSEP\n","repos":"apgoetz\/puffin","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/config.awk\n+++ lib\/config.awk\n@@ -1,5 +1,7 @@\n # awk library to parse config file\n \n+\n+BEGIN {INI_SEP = \":\"}\n # converts string containing rules into dict\n # note, does not clear out dest array\n # string must be an ini file fragment\n@@ -36,14 +38,14 @@\n \n # converts array to a rule string. NOT an ini. \n function ini_arr2frag(array,     frag, key, val, line) {\n-\tfrag = \"HASH\" SUBSEP\n+\tfrag = \"HASH\" INI_SEP\n \tfor (key in array) {\n \t\t# escape newlines using @ and \\n values\n \t\tval = array[key]\n \t\tgsub(\"@\", \"@@\", val)\n \t\tgsub(\"\\n\", \"@n\", val)\n \t\t\n-\t\tline = key \"=\" \"STR\" SUBSEP val \"\\n\"\n+\t\tline = key \"=\" \"STR\" INI_SEP val \"\\n\"\n \t\tfrag = frag line\n \t}\n \t# if we have added at least one line, we need to chop off the end\n@@ -56,7 +58,7 @@\n \n # converts ini to a rule string. NOT a raw array\n function ini_ini2frag(array,     frag, key, val, line) {\n-\tfrag = \"HASH\" SUBSEP\n+\tfrag = \"HASH\" INI_SEP\n \tfor (key in array) {\n \t\t# escape newlines using @ and \\n values\n \t\tval = array[key]\n@@ -103,19 +105,19 @@\n \treturn retval\n }\n \n-# format of a fragment: TYPE SUBSEP VALUE\n+# format of a fragment: TYPE INI_SEP VALUE\n \n # returns the type of a fragment\n function ini_type(frag,   i) {\n-\ti = index(frag, SUBSEP)\n-\tif (i == 0) die(sprintf(\"Expected SUBSEP in fragment: %s\", frag))\n+\ti = index(frag, INI_SEP)\n+\tif (i == 0) die(sprintf(\"Expected INI_SEP in fragment: %s\", frag))\n \treturn substr(frag, 1, i-1)\n }\n \n # returns the value of a fragment\n function ini_val(frag,   i) {\n-\ti = index(frag, SUBSEP)\n-\tif (i == 0) die(\"Expected SUBSEP in fragment\")\n+\ti = index(frag, INI_SEP)\n+\tif (i == 0) die(\"Expected INI_SEP in fragment\")\n \treturn substr(frag, i+1)\n }\n \n@@ -147,7 +149,7 @@\n \n function ini_add_str(ini, key, val) {\n \tif (key == \"\") die(\"cannot have empty key\")\n-\tini[key] = \"STR\" SUBSEP val\n+\tini[key] = \"STR\" INI_SEP val\n }\n \n # gets the rules that apply to a specific path\n@@ -244,7 +246,7 @@\n \tkey = substr($0, 1, n-1)\n \tval = substr($0, n+1)\n \tif (cur_rule_str in adt)\n-\t\tadt[cur_rule_str] = adt[cur_rule_str] \"\\n\" key \"=STR\" SUBSEP val\n+\t\tadt[cur_rule_str] = adt[cur_rule_str] \"\\n\" key \"=STR\" INI_SEP val\n \telse\n-\t\tadt[cur_rule_str] = \"HASH\" SUBSEP key\"=STR\" SUBSEP val\n-}\n+\t\tadt[cur_rule_str] = \"HASH\" INI_SEP key\"=STR\" INI_SEP val\n+}\n"}
{"commit":"7e82892108fa9b28930c2cc779d509852e1466e3","subject":"rnc2rng.awk: Better handling of data types and params","message":"rnc2rng.awk: Better handling of data types and params\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rnc2rng.awk\n+++ rnc2rng.awk\n@@ -188,6 +188,7 @@\n     txt = substr(line, 2);\n     sub(\/\".*\/, \"\", txt)\n     stack[++stack_i] = \"<value>\" txt \"<\/value>\";\n+    postop = 0;\n     if (length(line) >= length(txt) + 3)\n       parse_pattern(substr(line, length(txt) + 3));\n   }\n@@ -227,6 +228,7 @@\n     stack[++stack_i] = \"<text\/>\";\n     aft = substr(line, 5);\n     sub(\/^ *\/, \"\", aft);\n+    postop = 0;\n     if (aft != \"\") { parse_pattern(aft); }\n   }\n   else if (match(line, \"^default namespace \")) {\n@@ -253,11 +255,39 @@\n     name = substr(line, 1);\n     sub(\/^xsd:\/, \"\", name);\n     sub(\/[^A-Za-z_.-]+.*\/, \"\", name);\n-    stack[++stack_i] = sprintf(\"<data type='%s' datatypeLibrary='http:\/\/www.w3.org\/2001\/XMLSchema-datatypes'\/>\",\n+    stack[++stack_i] = sprintf(\"<data type='%s' datatypeLibrary='http:\/\/www.w3.org\/2001\/XMLSchema-datatypes'\",\n                                name);\n     postop = 0;\n+    aft = \"\";\n     if (length(line) >= length(name) + 5) {\n       aft = substr(line, length(name) + 5);\n+      sub(\/^ *\/, \"\", aft)\n+    }\n+    if (substr(aft, 1, 1) == \"{\") {\n+      stack[stack_i] = stack[stack_i] \">\";\n+      aft = substr(aft, 2);\n+      while (aft != \"\" && substr(aft, 1, 1) != \"}\") {\n+        sub(\/^ *\/, \"\", aft);\n+        subpos = index(aft, \"=\");\n+        paramname = substr(aft, 1, subpos - 1);\n+        sub(\/ *$\/, \"\", paramname);\n+        aft = substr(aft, subpos);\n+        subpos = index(aft, \"\\\"\");\n+        aft = substr(aft, subpos + 1);\n+        subpos = index(aft, \"\\\"\");\n+        paramval = substr(aft, 1, subpos - 1);\n+        aft = substr(aft, subpos + 1);\n+        sub(\/^ *\/, \"\", aft);\n+        stack[stack_i] = stack[stack_i] sprintf(\"<param name='%s'>%s<\/param>\", paramname, paramval);\n+      }\n+      stack[stack_i] = stack[stack_i] \"<\/data>\";\n+      if (aft != \"\")\n+        aft = substr(aft, 2);\n+    }\n+    else {\n+      stack[stack_i] = stack[stack_i] \"\/>\";\n+    }\n+    if (aft != \"\") {\n       parse_pattern(aft);\n     }\n   }\n@@ -267,7 +297,10 @@\n     }\n     name = substr(line, 1);\n     sub(\/[^A-Za-z_.-]+.*\/, \"\", name);\n-    if (name == \"empty\") {\n+    if (name == \"string\") {\n+      stack[++stack_i] = \"<data type='string'\/>\";\n+    }\n+    else if (name == \"empty\") {\n       stack[++stack_i] = \"<empty\/>\";\n     }\n     else if (name == \"notAllowed\") {\n@@ -354,7 +387,7 @@\n       error = 1;\n       exit 1\n     }\n-    if (length(open) == 1 || substr(open, 2, 1) != \"|\") {\n+    if (length(open) == 2 && substr(open, 2, 1) != \"|\") {\n       print \"Unknown name class pattern on line \" FNR | \"cat 1>&2\";\n       error = 1;\n       exit 1\n@@ -505,8 +538,8 @@\n   }\n }\n \n-mode == \"pattern\" && paren_i == 0 && \/.*=\/ { mode = \"grammar\"; }\n-mode == \"grammar\" && \/.*=\/ {\n+mode == \"pattern\" && paren_i == 0 && \/^[^{(]*=\/ { mode = \"grammar\"; }\n+mode == \"grammar\" && \/^[^{(]*=\/ {\n   if (match($0, \"^default namespace \")) {\n     namespace = substr($0, index($0, \"=\") + 1);\n     nsname = substr($0, 19, index($0, \"=\") - 19);\n"}
{"commit":"1ecdf767806842e9d09db879d4fdd98cef7b9810","subject":"Fix: bracket expression matches a character at gawk","message":"Fix: bracket expression matches a character at gawk\n\nThis is a trivial patch. However, It's must be modified by gawk.\nCheck it exactly as a plain character (e.g., space, alnum)\nwithin the bracket expression at .\/coreclr\/generateversionscript.awk\n\nSigned-off-by: Geunsik Lim <acd8f4539166019ed6425de5f67e6d834f46e5a4@samsung.com>\n","repos":"krytarowski\/coreclr,naamunds\/coreclr,ragmani\/coreclr,krytarowski\/coreclr,tijoytom\/coreclr,parjong\/coreclr,botaberg\/coreclr,pgavlin\/coreclr,ragmani\/coreclr,wateret\/coreclr,chuck-mitchell\/coreclr,tijoytom\/coreclr,parjong\/coreclr,sejongoh\/coreclr,cshung\/coreclr,jhendrixMSFT\/coreclr,hseok-oh\/coreclr,poizan42\/coreclr,manu-silicon\/coreclr,vinnyrom\/coreclr,yeaicc\/coreclr,sjsinju\/coreclr,yeaicc\/coreclr,krk\/coreclr,YongseopKim\/coreclr,bartonjs\/coreclr,JosephTremoulet\/coreclr,jhendrixMSFT\/coreclr,chuck-mitchell\/coreclr,bartdesmet\/coreclr,kyulee1\/coreclr,cmckinsey\/coreclr,kyulee1\/coreclr,botaberg\/coreclr,alexperovich\/coreclr,parjong\/coreclr,josteink\/coreclr,schellap\/coreclr,gkhanna79\/coreclr,dasMulli\/coreclr,jhendrixMSFT\/coreclr,Dmitry-Me\/coreclr,alexperovich\/coreclr,schellap\/coreclr,James-Ko\/coreclr,cydhaselton\/coreclr,sjsinju\/coreclr,rartemev\/coreclr,alexperovich\/coreclr,cydhaselton\/coreclr,cydhaselton\/coreclr,ragmani\/coreclr,ramarag\/coreclr,sjsinju\/coreclr,andschwa\/coreclr,rartemev\/coreclr,roncain\/coreclr,KrzysztofCwalina\/coreclr,pgavlin\/coreclr,russellhadley\/coreclr,ZhichengZhu\/coreclr,ragmani\/coreclr,gkhanna79\/coreclr,chuck-mitchell\/coreclr,andschwa\/coreclr,ramarag\/coreclr,Dmitry-Me\/coreclr,ZhichengZhu\/coreclr,josteink\/coreclr,ragmani\/coreclr,krytarowski\/coreclr,manu-silicon\/coreclr,josteink\/coreclr,wtgodbe\/coreclr,schellap\/coreclr,poizan42\/coreclr,dpodder\/coreclr,manu-silicon\/coreclr,James-Ko\/coreclr,JonHanna\/coreclr,wtgodbe\/coreclr,rartemev\/coreclr,alexperovich\/coreclr,russellhadley\/coreclr,wateret\/coreclr,mskvortsov\/coreclr,cmckinsey\/coreclr,bartdesmet\/coreclr,AlexGhiondea\/coreclr,sagood\/coreclr,martinwoodward\/coreclr,manu-silicon\/coreclr,bartonjs\/coreclr,rartemev\/coreclr,SlavaRa\/coreclr,sagood\/coreclr,KrzysztofCwalina\/coreclr,YongseopKim\/coreclr,mmitche\/coreclr,sejongoh\/coreclr,James-Ko\/coreclr,bartdesmet\/coreclr,gkhanna79\/coreclr,ramarag\/coreclr,manu-silicon\/coreclr,qiudesong\/coreclr,manu-silicon\/coreclr,gkhanna79\/coreclr,sagood\/coreclr,ruben-ayrapetyan\/coreclr,russellhadley\/coreclr,LLITCHEV\/coreclr,ruben-ayrapetyan\/coreclr,sagood\/coreclr,dpodder\/coreclr,neurospeech\/coreclr,bartdesmet\/coreclr,AlexGhiondea\/coreclr,Dmitry-Me\/coreclr,cshung\/coreclr,dasMulli\/coreclr,Dmitry-Me\/coreclr,dasMulli\/coreclr,KrzysztofCwalina\/coreclr,cmckinsey\/coreclr,sjsinju\/coreclr,roncain\/coreclr,dpodder\/coreclr,LLITCHEV\/coreclr,vinnyrom\/coreclr,sjsinju\/coreclr,bartonjs\/coreclr,sejongoh\/coreclr,martinwoodward\/coreclr,botaberg\/coreclr,russellhadley\/coreclr,cmckinsey\/coreclr,JonHanna\/coreclr,qiudesong\/coreclr,ZhichengZhu\/coreclr,YongseopKim\/coreclr,gkhanna79\/coreclr,krytarowski\/coreclr,yizhang82\/coreclr,dasMulli\/coreclr,schellap\/coreclr,ZhichengZhu\/coreclr,russellhadley\/coreclr,kyulee1\/coreclr,poizan42\/coreclr,mskvortsov\/coreclr,tijoytom\/coreclr,bartonjs\/coreclr,LLITCHEV\/coreclr,YongseopKim\/coreclr,krk\/coreclr,martinwoodward\/coreclr,vinnyrom\/coreclr,wtgodbe\/coreclr,jhendrixMSFT\/coreclr,schellap\/coreclr,JonHanna\/coreclr,ruben-ayrapetyan\/coreclr,rartemev\/coreclr,tijoytom\/coreclr,naamunds\/coreclr,martinwoodward\/coreclr,roncain\/coreclr,hseok-oh\/coreclr,krytarowski\/coreclr,parjong\/coreclr,jamesqo\/coreclr,mskvortsov\/coreclr,kyulee1\/coreclr,cshung\/coreclr,ZhichengZhu\/coreclr,ramarag\/coreclr,schellap\/coreclr,hseok-oh\/coreclr,roncain\/coreclr,JonHanna\/coreclr,LLITCHEV\/coreclr,KrzysztofCwalina\/coreclr,cmckinsey\/coreclr,sejongoh\/coreclr,vinnyrom\/coreclr,bartonjs\/coreclr,qiudesong\/coreclr,josteink\/coreclr,chuck-mitchell\/coreclr,yizhang82\/coreclr,Dmitry-Me\/coreclr,cydhaselton\/coreclr,cshung\/coreclr,tijoytom\/coreclr,dpodder\/coreclr,russellhadley\/coreclr,SlavaRa\/coreclr,wateret\/coreclr,krk\/coreclr,cmckinsey\/coreclr,yeaicc\/coreclr,ruben-ayrapetyan\/coreclr,James-Ko\/coreclr,LLITCHEV\/coreclr,JosephTremoulet\/coreclr,poizan42\/coreclr,qiudesong\/coreclr,vinnyrom\/coreclr,ZhichengZhu\/coreclr,chuck-mitchell\/coreclr,rartemev\/coreclr,gkhanna79\/coreclr,wtgodbe\/coreclr,sejongoh\/coreclr,naamunds\/coreclr,sejongoh\/coreclr,alexperovich\/coreclr,KrzysztofCwalina\/coreclr,jamesqo\/coreclr,James-Ko\/coreclr,shahid-pk\/coreclr,mmitche\/coreclr,ragmani\/coreclr,andschwa\/coreclr,SlavaRa\/coreclr,AlexGhiondea\/coreclr,neurospeech\/coreclr,shahid-pk\/coreclr,YongseopKim\/coreclr,josteink\/coreclr,wtgodbe\/coreclr,martinwoodward\/coreclr,neurospeech\/coreclr,sejongoh\/coreclr,shahid-pk\/coreclr,neurospeech\/coreclr,andschwa\/coreclr,wateret\/coreclr,neurospeech\/coreclr,KrzysztofCwalina\/coreclr,pgavlin\/coreclr,jhendrixMSFT\/coreclr,qiudesong\/coreclr,yeaicc\/coreclr,bartdesmet\/coreclr,ZhichengZhu\/coreclr,poizan42\/coreclr,bartonjs\/coreclr,vinnyrom\/coreclr,dpodder\/coreclr,ruben-ayrapetyan\/coreclr,naamunds\/coreclr,tijoytom\/coreclr,ramarag\/coreclr,naamunds\/coreclr,cshung\/coreclr,shahid-pk\/coreclr,hseok-oh\/coreclr,shahid-pk\/coreclr,yizhang82\/coreclr,sagood\/coreclr,yizhang82\/coreclr,neurospeech\/coreclr,JonHanna\/coreclr,jamesqo\/coreclr,andschwa\/coreclr,YongseopKim\/coreclr,krytarowski\/coreclr,mmitche\/coreclr,naamunds\/coreclr,pgavlin\/coreclr,poizan42\/coreclr,andschwa\/coreclr,Dmitry-Me\/coreclr,mskvortsov\/coreclr,ruben-ayrapetyan\/coreclr,SlavaRa\/coreclr,JosephTremoulet\/coreclr,roncain\/coreclr,wateret\/coreclr,yizhang82\/coreclr,naamunds\/coreclr,martinwoodward\/coreclr,botaberg\/coreclr,mmitche\/coreclr,wtgodbe\/coreclr,kyulee1\/coreclr,ramarag\/coreclr,chuck-mitchell\/coreclr,LLITCHEV\/coreclr,roncain\/coreclr,ramarag\/coreclr,JosephTremoulet\/coreclr,AlexGhiondea\/coreclr,yizhang82\/coreclr,hseok-oh\/coreclr,pgavlin\/coreclr,mskvortsov\/coreclr,josteink\/coreclr,jhendrixMSFT\/coreclr,qiudesong\/coreclr,sagood\/coreclr,dasMulli\/coreclr,hseok-oh\/coreclr,bartonjs\/coreclr,AlexGhiondea\/coreclr,yeaicc\/coreclr,parjong\/coreclr,SlavaRa\/coreclr,JonHanna\/coreclr,bartdesmet\/coreclr,Dmitry-Me\/coreclr,pgavlin\/coreclr,AlexGhiondea\/coreclr,jhendrixMSFT\/coreclr,botaberg\/coreclr,krk\/coreclr,dpodder\/coreclr,jamesqo\/coreclr,cshung\/coreclr,mskvortsov\/coreclr,krk\/coreclr,krk\/coreclr,KrzysztofCwalina\/coreclr,cydhaselton\/coreclr,JosephTremoulet\/coreclr,botaberg\/coreclr,josteink\/coreclr,cmckinsey\/coreclr,bartdesmet\/coreclr,James-Ko\/coreclr,roncain\/coreclr,shahid-pk\/coreclr,sjsinju\/coreclr,SlavaRa\/coreclr,parjong\/coreclr,jamesqo\/coreclr,LLITCHEV\/coreclr,vinnyrom\/coreclr,wateret\/coreclr,cydhaselton\/coreclr,kyulee1\/coreclr,martinwoodward\/coreclr,JosephTremoulet\/coreclr,yeaicc\/coreclr,alexperovich\/coreclr,mmitche\/coreclr,mmitche\/coreclr,chuck-mitchell\/coreclr,shahid-pk\/coreclr,jamesqo\/coreclr,dasMulli\/coreclr,schellap\/coreclr,yeaicc\/coreclr,manu-silicon\/coreclr,andschwa\/coreclr,dasMulli\/coreclr","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateversionscript.awk\n+++ generateversionscript.awk\n@@ -8,7 +8,7 @@\n \tgsub(\/\\r\/,\"\", $0);\n \t\n \t# Skip empty lines and comment lines starting with semicolon\n-\tif (NF && !match($0, \/^[:space:]*;\/))\n+\tif (NF && !match($0, \/^[[:space:]]*;\/))\n \t{\n \t\tprint \"        \"  $0 \";\";\n \t}\n"}
{"commit":"c6aede42befd90bdfa8adbae76f69a3044f788c6","subject":"test: reimplement assertEqual() and assertNotEqual()","message":"test: reimplement assertEqual() and assertNotEqual()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test.awk\n+++ test.awk\n@@ -36,70 +36,17 @@\n }\n \n function assertEqual(x, y, name, message, ansiCode,    i) {\n-    if (isarray(x) && !isarray(y)) {\n-        if (!message)\n-            message = \"assertEqual: EXPECTED SCALAR VALUE \" ansi(\"underline\", y) \", GOT:\"\n-        fail(name, message, ansiCode)\n-        da(x)\n-\n-    } else if (!isarray(x) && isarray(y)) {\n-        if (!message)\n-            message = \"assertEqual: GOT SCALAR VALUE \" ansi(\"underline\", x) \", EXPECTED:\"\n-        fail(name, message, ansiCode)\n-        da(y)\n-\n-    } else if (isarray(x) && isarray(y)) {\n-        if (length(x) != length(y)) {\n-            if (!message)\n-                message = \"assertEqual: ARRAY LENGTH \"                  \\\n-                    ansi(\"underline\", length(x)) \" != \" ansi(\"underline\", length(y))\n-            fail(name, message, ansiCode)\n-\n-        } else {\n-            for (i in x) {\n-                if (x[i] != y[i]) {\n-                    if (!message)\n-                        message = \"assertEqual: ARRAY[\" i \"] \"          \\\n-                            ansi(\"underline\", x[i]) \" != \" ansi(\"underline\", y[i])\n-                    fail(name, message, ansiCode)\n-                    return\n-                }\n-            }\n-            pass(name, \"\", ansiCode)\n-        }\n-\n-    } else {\n-        if (!message)\n-            message = \"assertEqual: \" ansi(\"underline\", x)      \\\n-                \" IS NOT EQUAL TO \" ansi(\"underline\", y)\n-        assertTrue(x == y, name, message, ansiCode)\n-    }\n+    if (!message)\n+        message = \"assertEqual: \" ansi(\"underline\", toString(x, 1))     \\\n+            \" IS NOT EQUAL TO \" ansi(\"underline\", toString(y, 1))\n+    assertTrue(identical(x, y), name, message, ansiCode)\n }\n \n function assertNotEqual(x, y, name, message, ansiCode,    i) {\n-    if (isarray(x) && isarray(y)) {\n-        if (length(x) != length(y))\n-            pass(name, \"\", ansiCode)\n-        else {\n-            for (i in x) {\n-                if (x[i] != y[i]) {\n-                    pass(name, \"\", ansiCode)\n-                    return\n-                }\n-            }\n-            if (!message)\n-                message = \"assertNotEqual: TWO ARRAYS ARE IDENTICAL\"\n-            fail(name, message, ansiCode)\n-        }\n-\n-    } else if (!isarray(x) && !isarray(y)) {\n-        if (!message)\n-            message = \"assertNotEqual: \" ansi(\"underline\", x)   \\\n-                \" IS EQUAL TO \" ansi(\"underline\", y)\n-        assertFalse(x == y, name, message, ansiCode)\n-\n-    } else\n-        pass(name, \"\", ansiCode)\n+    if (!message)\n+        message = \"assertNotEqual: \" ansi(\"underline\", toString(x, 1))  \\\n+            \" IS EQUAL TO \" ansi(\"underline\", toString(y, 1))\n+    assertFalse(identical(x, y), name, message, ansiCode)\n }\n \n function T(test, total) {\n"}
{"commit":"f0f80a0d2a652e48370753922f255791a45b9c30","subject":"Add Newton's Law bonus","message":"Add Newton's Law bonus\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -229,8 +229,8 @@\n     # Default bonus, parttwo, and christmasspecials episodeType to \"X\"\n     if (episodeURL ~ \/bonus\\\/|[0-9]{1,2}parttwo\\\/|christmasspecial\\\/\/)\n         episodeType = \"X\"\n-    # jamaicainn & newworlds bonus seasonNumber should be 1\n-    if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/\/ && seasonNumber != 1) {\n+    # jamaicainn, newworlds & newtonslaw bonus seasonNumber should be 1\n+    if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/|\\\/newtonslaw\\\/bonus\\\/\/ && seasonNumber != 1) {\n         split (episodeURL, part, \"\/\")\n         printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n                part[4], part[5], seasonNumber) >> ERROR_FILE\n"}
{"commit":"5b2c7842655e0ed50b89dd412be77af351d83165","subject":"looser pattern for shell scripts and some other C files","message":"looser pattern for shell scripts and some other C files\n","repos":"rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/remove_license_block-helper.awk\n+++ utils\/remove_license_block-helper.awk\n@@ -4,10 +4,12 @@\n \tPRE_LINE = \"^[ \\t]*\";\n \tPOST_LINE = \"[ \\t]*$\";\n \n-\t# tmp variable\n-\tX = \"(\\\\* *)?\";\n+\t# tmp variables\n+\tX = \"((\\\\*|#( *\\\\*)?) *)?\";\n+\tPRE_BLOCK = \"(\/\\\\* *|# *(\/\\\\* *)?)?\";\n+\tPOST_BLOCK = \" *(\\\\*\/)?\";\n \n-\tBLOCK[ 0] = \"\/\\\\* \\\\*\\\\*\\\\*\\\\*\\\\* BEGIN LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\*\";\n+\tBLOCK[ 0] = PRE_BLOCK \"\\\\*\\\\*\\\\*\\\\*\\\\* BEGIN LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\*\";\n \tBLOCK[ 1] = X;\n \tBLOCK[ 2] = X \"BBN Address and AS Number PKI Database\/repository software\";\n \tBLOCK[ 3] = X \"Version [^ ]*\";\n@@ -22,7 +24,7 @@\n \tBLOCK[12] = X;\n \tBLOCK[13] = X \"Contributor(\\\\(s\\\\)|s)?: .*\";\n \tBLOCK[14] = X;\n-\tBLOCK[15] = X \"\\\\*\\\\*\\\\*\\\\*\\\\* END LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\* \\\\*\/\";\n+\tBLOCK[15] = X \"\\\\*\\\\*\\\\*\\\\*\\\\* END LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\*\" POST_BLOCK;\n \n \tBLOCK_END = 15;\n }\n"}
{"commit":"a84f4e0b8ab38a7c4308f4fa80656ea636dd33d4","subject":"INTEGRATION: CWS locdat24 (1.5.212); FILE MERGED 2007\/12\/29 17:40:56 erack 1.5.212.1: joined from cws locales30","message":"INTEGRATION: CWS locdat24 (1.5.212); FILE MERGED\n2007\/12\/29 17:40:56 erack 1.5.212.1: joined from cws locales30\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/currency-check.awk\n+++ i18npool\/source\/localedata\/data\/currency-check.awk\n@@ -44,7 +44,7 @@\n         crlf = 1\n         exit(1)\n     }\n-    if ( $1 ~ \/^<LC_FORMAT$\/ )\n+    if ( $1 ~ \/^<LC_FORMAT(>|$)\/ )\n     {\n         if ( $0 ~ \/replaceFrom=\"\\[CURRENCY\\]\"\/ )\n         {\n@@ -64,7 +64,7 @@\n             }\n         }\n     }\n-    else if ( $1 ~ \/^<FormatElement$\/ )\n+    else if ( $1 ~ \/^<FormatElement(>|$)\/ )\n     {\n         if ( $0 ~ \/usage=\"CURRENCY\"\/ )\n         {\n@@ -92,7 +92,7 @@\n         }\n         bFormatAuto = 0\n     }\n-    else if ( $1 ~ \/^<LC_CURRENCY$\/ )\n+    else if ( $1 ~ \/^<LC_CURRENCY(>|$)\/ )\n     {\n         for ( j=2; j<=NF; ++j )\n         {\n@@ -136,7 +136,7 @@\n \n \n function getCurrencyParams() {\n-    if ( $1 ~ \/^<Currency$\/ )\n+    if ( $1 ~ \/^<Currency(>|$)\/ )\n     {\n         if ( $0 ~ \/default=\"true\"\/ )\n             bSymbolDefault = 1\n"}
{"commit":"55469ed2d3f50cf4ab9e7d8f2651d8bebd8fee26","subject":"properly remove shite","message":"properly remove shite\n","repos":"Morantron\/tmux-fingers,Morantron\/tmux-fingers","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/hinter.awk\n+++ scripts\/hinter.awk\n@@ -108,7 +108,6 @@\n \n   hint_format = \"\\033[1;33m[%s]\\033[0m\"\n   highlight_format = \"\\033[1;33m%s\\033[0m \"\n-  printf \"%s\\n\", finger_patterns | \"cat 1>&4\"\n   hint_lookup = \"\"\n }\n \n"}
{"commit":"637efa3c3d7c6cabf1e7db98d96a495862f9b9d9","subject":"rnc2rng.awk: Support \"empty\"","message":"rnc2rng.awk: Support \"empty\"\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rnc2rng.awk\n+++ rnc2rng.awk\n@@ -215,7 +215,12 @@\n   else if (match(line, \/^[A-Za-z_]\/)) {\n     name = substr(line, 1);\n     sub(\/[^A-Za-z_]+.*\/, \"\", name);\n-    stack[++stack_i] = sprintf(\"<ref name='%s'\/>\", name);\n+    if (name == \"empty\") {\n+      stack[++stack_i] = \"<empty\/>\";\n+    }\n+    else {\n+      stack[++stack_i] = sprintf(\"<ref name='%s'\/>\", name);\n+    }\n     if (length(line) >= length(name) + 1) {\n       aft = substr(line, length(name) + 1);\n       parse_pattern(aft);\n"}
{"commit":"ca6539fd497540133901713a31fb27e00cfb4b8d","subject":"hr75: #i116747#: remove obsolete copyright notices","message":"hr75: #i116747#: remove obsolete copyright notices","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- sw\/inc\/poolfmt.awk\n+++ sw\/inc\/poolfmt.awk\n@@ -1,15 +1,28 @@\n #*************************************************************************\n-#*\n-#*    $Workfile:        dbgxtor.awk\n-#*\n-#*    Ersterstellung    JP  05.10.95\n-#*    Letzte Aenderung  $Author: hr $ $Date: 2000-09-18 17:14:27 $\n-#*    $Revision: 1.1.1.1 $\n-#*\n-#*    $Logfile:   T:\/sw\/inc\/poolfmt.awv  $\n-#*\n-#*    Copyright (c) 1990-1996, STAR DIVISION\n-#*\n+#\n+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n+# \n+# Copyright 2000, 2010 Oracle and\/or its affiliates.\n+#\n+# OpenOffice.org - a multi-platform office productivity suite\n+#\n+# This file is part of OpenOffice.org.\n+#\n+# OpenOffice.org is free software: you can redistribute it and\/or modify\n+# it under the terms of the GNU Lesser General Public License version 3\n+# only, as published by the Free Software Foundation.\n+#\n+# OpenOffice.org is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU Lesser General Public License version 3 for more details\n+# (a copy is included in the LICENSE file that accompanied this code).\n+#\n+# You should have received a copy of the GNU Lesser General Public License\n+# version 3 along with OpenOffice.org.  If not, see\n+# <http:\/\/www.openoffice.org\/license.html>\n+# for a copy of the LGPLv3 License.\n+#\n #*************************************************************************\n \n #\n"}
{"commit":"0b05b469a442ded5ed2f64360445d23fb23b400d","subject":"Commons: add escapeChar()","message":"Commons: add escapeChar()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -1,4 +1,27 @@\n #!\/usr\/bin\/gawk -f\n+\n+# Return the real character represented by an escape sequence.\n+# Example: escapeChar(\"n\") returns \"\\n\".\n+# See: <https:\/\/en.wikipedia.org\/wiki\/Escape_character>\n+#      <https:\/\/en.wikipedia.org\/wiki\/Escape_sequences_in_C>\n+function escapeChar(char) {\n+    switch (char) {\n+    case \"b\":\n+        return \"\\b\" # Backspace\n+    case \"f\":\n+        return \"\\f\" # Formfeed\n+    case \"n\":\n+        return \"\\n\" # Newline (Line Feed)\n+    case \"r\":\n+        return \"\\r\" # Carriage Return\n+    case \"t\":\n+        return \"\\t\" # Horizontal Tab\n+    case \"v\":\n+        return \"\\v\" # Vertical Tab\n+    default:\n+        return char\n+    }\n+}\n \n # Convert a literal-formatted string into its original string.\n function literal(string,\n@@ -13,7 +36,7 @@\n     for (i = 2; i < length(s); i++) {\n         c = s[i]\n         if (escaping) {\n-            string = string c\n+            string = string escapeChar(c)\n             escaping = 0 # escape ends\n         } else {\n             if (c == \"\\\\\")\n"}
{"commit":"b87db67e7127bce7c77bbb08f3fa36a60d425baa","subject":"Fixed some things in wrap.awk: - GitHub-style code blocks are now supported. - Lists starting with '-' characters were confused with headers - Footnotes are passed through verbatim - Forced linebreaks (spaces at EOL) work now","message":"Fixed some things in wrap.awk:\n- GitHub-style code blocks are now supported.\n- Lists starting with '-' characters were confused with headers\n- Footnotes are passed through verbatim\n- Forced linebreaks (spaces at EOL) work now\n","repos":"wernsey\/d.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- wrap.awk\n+++ wrap.awk\n@@ -6,7 +6,7 @@\n BEGIN { if(!Width) Width = 80; }\n \n # Preserve headings\n-\/^[[:space:]]*(=|-)+\/ {\n+\/^[[:space:]]*[=\\-][=\\-][=\\-]+\/ {\n     if(Buf)\n         Out = Out Buf \"\\n\" $0 \"\\n\";\n     else\n@@ -16,7 +16,20 @@\n }\n \n # Preformatted text is sent to the output verbatim\n-\/^(    |\\t)+\/ && match(last,\/^[[:space:]]*$\/) {\n+# Ditto for links\/abbreviations\n+\/^(    |\\t)+\/ && match(last,\/^[[:space:]]*$\/) || \/^[[:space:]]*\\*?\\[.*\\]:\/ {\n+    Out = Out $0 \"\\n\";\n+    next;\n+}\n+\n+# GitHub-style ``` code blocks:\n+\/^```\/ {\n+    Out = Out Buf \"\\n\" $0 \"\\n\";\n+    Buf = \"\";\n+    Code = !Code;\n+    next;\n+}\n+Code {\n     Out = Out $0 \"\\n\";\n     next;\n }\n@@ -57,10 +70,11 @@\n \n     # Trim leading whitespace\n     str = substr(str, RLENGTH+1);\n+    gsub(\/\\r\/, \"\", str); # Windows :(\n \n     # Lines starting with list item characters\n     # force a line break in the output\n-    if(match(str,\/^([*+-]|[[:digit:]]\\.)\/)) {\n+    if(match(str,\/^([*+\\-]|[[:digit:]]+\\.)\/)) {\n         if(Buf) Out = Out Buf \"\\n\";\n         Buf = \"\";\n         # Preserve the indentation in the global Indent\n@@ -88,23 +102,28 @@\n         n = RSTART+RLENGTH;\n \n         # Handle forced line breaks\n-        if(match(str,\/(  |[[:space:]]+\\\\)$\/)) {\n-            Out = Out str \"\\n\";\n-            n = RSTART+RLENGTH;\n-        } else {\n-            # If the buffer + the word exceeds the allowed width\n-            # then insert a line break. Otherwise, just append the\n-            # word to the buffer.\n-            # Also, preserve the indentation.\n-            if(length(Buf) + length(word) + 1 >= Width) {\n-                Out = Out Buf \"\\n\";\n-                if(InList) indent = Indent \"  \";\n-                Buf = indent word;\n-            } else if(length(Buf))\n-                Buf = Buf \" \" word;\n+        if(match(str,\/(  |[[:space:]]+\\\\)$\/) == loc) {\n+            if(length(Buf) + length(str) + 1 >= Width)\n+                Out = Out Buf \"\\n\" indent str \"\\n\" indent;\n             else\n-                Buf = indent word;\n+                Out = Out Buf \" \" str \"\\n\" indent;\n+            Buf = \"\";\n+            return;\n         }\n+\n+        # If the buffer + the word exceeds the allowed width\n+        # then insert a line break. Otherwise, just append the\n+        # word to the buffer.\n+        # Also, preserve the indentation.\n+        if(length(Buf) + length(word) + 1 >= Width) {\n+            Out = Out Buf \"\\n\";\n+            if(InList) indent = Indent \"  \";\n+            Buf = indent word;\n+        } else if(length(Buf))\n+            Buf = Buf \" \" word;\n+        else\n+            Buf = indent word;\n+\n         str = substr(str, n);\n         loc = match(str, \/[[:space:]]+\/);\n     }\n"}
{"commit":"12e3c82b9ee0ba6d6f4342c429cc861e3b5b8085","subject":"TestLanguages: fix test","message":"TestLanguages: fix test\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestLanguages.awk\n+++ test\/TestLanguages.awk\n@@ -6,6 +6,8 @@\n     T(\"getCode()\", 5)\n     {\n         initLocale()\n+        initLocaleAlias()\n+        initLocaleDisplay()\n \n         assertEqual(getCode(\"chinese\"), \"zh-CN\")\n         assertEqual(getCode(\"\u7b80\u4f53\u4e2d\u6587\"), \"zh-CN\")\n"}
{"commit":"e319c2acbe4d8d2dbd15f6918935ac329d512b5f","subject":"prints output on only one node now for util_version.F","message":"prints output on only one node now for util_version.F\n\n\n","repos":"rangsimanketkaew\/NWChem","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/util\/ids.awk\n+++ src\/util\/ids.awk\n@@ -6,11 +6,13 @@\n # module name -> produce a write statement for the module name\n # other       -> produce nothing\n # \n-# $Id: ids.awk,v 1.3 1995-02-02 20:21:59 d3g681 Exp $\n+# $Id: ids.awk,v 1.4 1997-07-15 19:52:52 d3e129 Exp $\n \n BEGIN {\n \t\tunderline = \"---------------------------------------------------------\";\n \t\tprintf(\"      subroutine util_version\\n\");\n+                printf(\"#include \\\"global.fh\\\"\\n\");\n+                printf(\"      if (ga_nodeid().eq.0) then\\n\");\n \t\tprintf(\"      write(6,*)\\n\");\n \t\tprintf(\"      write(6,*) ' Software version information'\\n\");\n \t\tprintf(\"      write(6,*) ' ----------------------------'\\n\");\n@@ -34,6 +36,8 @@\n END {\n \t\tprintf(\"      write(6,*)\\n\");\n \t\tprintf(\"      call util_flush(6)\\n\");\n+                printf(\"      endif\\n\");\n+                printf(\"      call ga_sync()\\n\");\n \t\tprintf(\"      end\\n\");\n }\n \n"}
{"commit":"378da8adbb275bbe769193b50366379ee2cc4dcd","subject":"remove unused file","message":"remove unused file\n\n","repos":"meg0man\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,janissl\/languagetool,janissl\/languagetool,meg0man\/languagetool,meg0man\/languagetool,jimregan\/languagetool,lopescan\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,meg0man\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,jimregan\/languagetool,meg0man\/languagetool,janissl\/languagetool,lopescan\/languagetool,languagetool-org\/languagetool,janissl\/languagetool,lopescan\/languagetool,janissl\/languagetool,lopescan\/languagetool,lopescan\/languagetool,languagetool-org\/languagetool","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- trunk\/JLanguageTool\/src\/resource\/en\/filter_infl.awk\n+++ trunk\/JLanguageTool\/src\/resource\/en\/filter_infl.awk\n@@ -1,1621 +0,0 @@\n-BEGIN {IGNORECASE=1}\n-!\/^(abdominal N:|aberrant N:|abnormal N:|absurd N:|acoustic N:|\\\n-actual N:|after N|acupuncture V:|adipose N:|adulterate A:|adz V:|\\\n-adze V:|aesthetic N:|afar N:|afferent N:|affiance N:|affluent N:|\\\n-affray V:|aforethought N:|ageing N:|agent V:|airfreight V:|alligator V:|\\\n-allover N:|allowance V:|alpha A:|altogether N:|aluminum A:|ambient N:|\\\n-ambition V:|amen N:|amok N:|amuck N:|anagram V:|angel V:|anneal N:|\\\n-antedate N:|antediluvian N:|anthem V:|antiaircraft N:|antidote V:|\\\n-antimalarial N:|antimicrobial N:|antimissile N:|antislavery N:|apical N:|\\\n-apoplectic N:|appurtenant N:|apron V:|arable N:|arbitrary N:|arcade V:|\\\n-architect V:|armorial N:|arrow V:|arterial N:|article V:|aseptic N:|ashlar V:|\\\n-aspen A:|asphalt A:|asteroid A:|astigmatic N:|auctioneer V:|audiovisual N:|\\\n-auditory N:|augment N:|augmentative N:|auricular N:|austral N:|autoclave V:|\\\n-avalanche V:|awol N:|backdrop V:|backgammon V:|background V:|backlash V:|\\\n-backwash V:|badge V:|badinage V:|bagpipe V:|bailout A:|baize V:|baksheesh V:|\\\n-bandy N:|bard V:|barn V:|basset V:|baste N:|bate N:|bath V:|batik V:|\\\n-battledore V:|bawdy N:|beacon V:|beau V:|beck V:|beckon N:|beeswax V:|\\\n-beg N:|begum V:|belay N:|benchmark V:|benefice V:|berserk N:|between N:|\\\n-bib V:|big V:|bight V:|bilge V:|bilk N:|billboard V:|biologic N:|biological N:|\\\n-birdlime V:|bishop V:|bit V:|bitter V:|bivalent N:|blabber N:|blackbird V:|\\\n-blackguard V:|bleak N:|blear V:|bleed N:|blinding N:|blip V:|blitzkrieg V:|\\\n-bloat N:|blubber A:|blurb V:|bobtail A:|bobtail V:|body V:|boldface V:|\\\n-bolt A:|bombard N:|bond A:|bone A:|bonnet V:|bonnie N:|bonny N:|\\\n-boodle V:|boring N:|bosom V:|bossy N:|botanical N:|bottleneck V:|\\\n-bowel V:|bower V:|bowstring V:|bracing N:|brad V:|brag A:|braille V:|\\\n-bramble V:|bran V:|brander V:|brandish N:|brash N:|brassy N:|bravo V:|\\\n-breadboard V:|bream V:|breech V:|brigade V:|brine V:|briny N:|briquet V:|\\\n-briquette V:|brittle V:|broom V:|bruit N:|brute V:|buckler V:|buckram V:|\\\n-buddy A:|buddy V:|budge N:|bullet V:|bulwark V:|bumble N:|bumper V:|\\\n-bung A:|bunker V:|bunko V:|bur V:|burgeon N:|burl V:|but A:|burning N:|\\\n-bush A:|byline V:|cabal V:|cabbage V:|cabin V:|cadence V:|cadge N:|\\\n-cakewalk V:|caller A:|callow N:|caloric N:|cam V:|came N:|canal V:|\\\n-canary A:|cancel N:|candid N:|candidate V:|cannonball A:|cant A:|\\\n-canton V:|cape V:|car A:|caravan V:|carcass V:|\\\n-cardiac N:|\\\n-careen N:|\\\n-carhop V:|\\\n-carny A:|\\\n-carny V:|\\\n-carton V:|\\\n-cask V:|\\\n-casket V:|\\\n-castrate N:|\\\n-cat V:|\\\n-catchpenny N:|\\\n-cathedral A:|\\\n-catty N:|\\\n-causative N:|\\\n-causeway V:|\\\n-cavalier V:|\\\n-cavern V:|\\\n-celestial N:|\\\n-cellar V:|\\\n-centrifugal N:|\\\n-cerebral N:|\\\n-chafe N:|\\\n-chairman V:|\\\n-chamber V:|\\\n-chammy V:|\\\n-chamois V:|\\\n-chapel V:|\\\n-chapter V:|\\\n-character V:|\\\n-charcoal V:|\\\n-chariot V:|\\\n-chartreuse A:|\\\n-cheap N:|\\\n-checkerboard V:|\\\n-chicane V:|\\\n-chimney V:|\\\n-chine V:|\\\n-chipper V:|\\\n-choir V:|\\\n-chord V:|\\\n-choroid A:|\\\n-chose N:|\\\n-chump V:|\\\n-chunk V:|\\\n-church V:|\\\n-chute V:|\\\n-cincture V:|\\\n-circumflex A:|\\\n-circumflex V:|\\\n-clad V:|\\\n-clangor V:|\\\n-clangour V:|\\\n-clay V:|\\\n-cleat V:|\\\n-clerical N:|\\\n-clinker V:|\\\n-clique V:|\\\n-closure V:|\\\n-cloture V:|\\\n-cnidarian A:|\\\n-coagulate A:|\\\n-cobweb V:|\\\n-cockfighting A:|\\\n-cockle V:|\\\n-cocktail V:|\\\n-cocky N:|\\\n-coelenterate A:|\\\n-coffeehouse V:|\\\n-coffer V:|\\\n-cog V:|\\\n-collage V:|\\\n-collegiate N:|\\\n-colloid A:|\\\n-columbine A:|\\\n-commemorative N:|\\\n-commie A:|\\\n-communicant A:|\\\n-companion V:|\\\n-company V:|\\\n-compartment V:|\\\n-compassion V:|\\\n-compassionate V:|\\\n-compeer V:|\\\n-complementary N:|\\\n-complex V:|\\\n-complicate A:|\\\n-composite V:|\\\n-compulsive N:|\\\n-compute N:|\\\n-concave V:|\\\n-conceit V:|\\\n-concessionary N:|\\\n-concurrent N:|\\\n-cone V:|\\\n-confection V:|\\\n-conference V:|\\\n-confident N:|\\\n-confiscate A:|\\\n-confluent N:|\\\n-congregate A:|\\\n-congress V:|\\\n-conjugate N:|\\\n-consecrate A:|\\\n-consequent N:|\\\n-conservatory A:|\\\n-considerable N:|\\\n-constabulary A:|\\\n-construe N:|\\\n-contaminate A:|\\\n-contradictory N:|\\\n-contralto A:|\\\n-contributory N:|\\\n-convict A:|\\\n-copper V:|\\\n-corbel V:|\\\n-corduroy V:|\\\n-cornice V:|\\\n-corroborate A:|\\\n-corrugate A:|\\\n-cosset N:|\\\n-cosy V:|\\\n-cote V:|\\\n-cotter V:|\\\n-counterpoint V:|\\\n-counterweight V:|\\\n-coup V:|\\\n-courtesy V:|\\\n-cove V:|\\\n-cowhide V:|\\\n-cowl V:|\\\n-coy V:|\\\n-cozy V:|\\\n-cram N:|\\\n-crape V:|\\\n-craven V:|\\\n-crawfish V:|\\\n-credential A:|\\\n-credential V:|\\\n-crenelate A:|\\\n-crenellate A:|\\\n-crepe V:|\\\n-crescendo V:|\\\n-crevasse V:|\\\n-cricket V:|\\\n-crock V:|\\\n-croquet V:|\\\n-crossbred N:|\\\n-crosshatch N:|\\\n-crosstown N:|\\\n-crowbar V:|\\\n-crowning N:|\\\n-crud V:|\\\n-crummy N:|\\\n-crutch V:|\\\n-crystal V:|\\\n-cub V:|\\\n-cubic N:|\\\n-cuckoo V:|\\\n-cumber N:|\\\n-curd V:|\\\n-custodial N:|\\\n-customary N:|\\\n-cyanide V:|\\\n-cyclical N:|\\\n-cylinder V:|\\\n-cynic A:|\\\n-dado V:|\\\n-dagger V:|\\\n-damndest N:|\\\n-damnedest N:|\\\n-dangle N:|\\\n-dark V:|\\\n-dastard A:|\\\n-daylight V:|\\\n-deacon V:|\\\n-deafening N:|\\\n-deal A:|\\\n-debouch N:|\\\n-decal V:|\\\n-decision V:|\\\n-dedicate A:|\\\n-defence V:|\\\n-defendant A:|\\\n-deficient N:|\\\n-definitive N:|\\\n-defoliate A:|\\\n-deject A:|\\\n-delectable N:|\\\n-delicate N:|\\\n-demagog V:|\\\n-demagogue V:|\\\n-demolition A:|\\\n-demoniac N:|\\\n-demotic N:|\\\n-den V:|\\\n-denizen V:|\\\n-dental N:|\\\n-deponent A:|\\\n-derail N:|\\\n-derogate A:|\\\n-derrick V:|\\\n-descant A:|\\\n-desiccant A:|\\\n-desirable N:|\\\n-desperate N:|\\\n-despite N:|\\\n-despite V:|\\\n-destitute V:|\\\n-determinate V:|\\\n-detrimental N:|\\\n-dew V:|\\\n-diadem V:|\\\n-diagnostic N:|\\\n-dialog V:|\\\n-dialogue V:|\\\n-diamond V:|\\\n-diaphragm V:|\\\n-dick V:|\\\n-dicker N:|\\\n-dickey A:|\\\n-difference V:|\\\n-digestive N:|\\\n-digital N:|\\\n-dike V:|\\\n-dimension V:|\\\n-dingdong A:|\\\n-dint V:|\\\n-diphthong V:|\\\n-diploma V:|\\\n-directory A:|\\\n-dirigible A:|\\\n-dirk V:|\\\n-disagreeable N:|\\\n-disc V:|\\\n-disciple V:|\\\n-discomfit N:|\\\n-discountenance N:|\\\n-discriminate A:|\\\n-disease V:|\\\n-disinterest V:|\\\n-disjoint A:|\\\n-disjunctive N:|\\\n-disk V:|\\\n-dismal N:|\\\n-disperse A:|\\\n-displeasure V:|\\\n-disport N:|\\\n-dispose N:|\\\n-disproportion V:|\\\n-disquiet A:|\\\n-dissolve N:|\\\n-distaste V:|\\\n-distemper V:|\\\n-distributive N:|\\\n-district V:|\\\n-ditty V:|\\\n-diurnal N:|\\\n-dolly V:|\\\n-douse N:|\\\n-downcast N:|\\\n-downstage N:|\\\n-dowse N:|\\\n-dozen V:|\\\n-drab V:|\\\n-dram V:|\\\n-drat V:|\\\n-dray V:|\\\n-dreadful N:|\\\n-drench N:|\\\n-drinkable N:|\\\n-droll V:|\\\n-drove V:|\\\n-drub N:|\\\n-druggie A:|\\\n-druggy A:|\\\n-dual N:|\\\n-duct V:|\\\n-duet V:|\\\n-duff V:|\\\n-dug N:|\\\n-dulcet N:|\\\n-dummy V:|\\\n-duodecimal N:|\\\n-duplex V:|\\\n-durable N:|\\\n-dusk A:|\\\n-dusk V:|\\\n-dwell N:|\\\n-dyke V:|\\\n-eager N:|\\\n-eagle V:|\\\n-ear V:|\\\n-early N:|\\\n-earwig V:|\\\n-eastward N:|\\\n-echelon V:|\\\n-ecstatic N:|\\\n-effective N:|\\\n-effeminate V:|\\\n-efferent N:|\\\n-effuse A:|\\\n-eggshell A:|\\\n-egress V:|\\\n-ejaculate N:|\\\n-elderly N:|\\\n-electric N:|\\\n-electroplate N:|\\\n-electroshock V:|\\\n-electrotype V:|\\\n-elemental N:|\\\n-elevated N:|\\\n-elfin N:|\\\n-eligible N:|\\\n-elliptical N:|\\\n-elongate A:|\\\n-emasculate A:|\\\n-emblem V:|\\\n-embryo A:|\\\n-emergency A:|\\\n-emergent N:|\\\n-emerita N:|\\\n-emeritus N:|\\\n-emphatic N:|\\\n-empiric N:|\\\n-enclave V:|\\\n-enervate A:|\\\n-ensilage V:|\\\n-entail N:|\\\n-entire N:|\\\n-ephemera N|\\\n-ephemeral N:|\\\n-epitaph V:|\\\n-equatorial N:|\\\n-equinoctial N:|\\\n-equipoise V:|\\\n-erotic N:|\\\n-eruptive N:|\\\n-escrow V:|\\\n-esquire V:|\\\n-estate V:|\\\n-esthetic N:|\\\n-eternal N:|\\\n-ethylene A:|\\\n-eviscerate A:|\\\n-ex A:|\\\n-exasperate A:|\\\n-excess V:|\\\n-excommunicate A:|\\\n-excommunicate N:|\\\n-excursion V:|\\\n-exempt N:|\\\n-existent N:|\\\n-expectant N:|\\\n-expedite A:|\\\n-expense V:|\\\n-expert V:|\\\n-expertise V:|\\\n-expletive A:|\\\n-exponential N:|\\\n-exquisite N:|\\\n-extravert A:|\\\n-extravert V:|\\\n-extrovert V:|\\\n-eyelet V:|\\\n-fable V:|\\\n-facelift V:|\\\n-faerie A:|\\\n-faery A:|\\\n-fair V:|\\\n-fame V:|\\\n-fang V:|\\\n-fantastic N:|\\\n-farce V:|\\\n-farrow A:|\\\n-fashionable N:|\\\n-fat V:|\\\n-fatigue A:|\\\n-feat A:|\\\n-fee V:|\\\n-fellow V:|\\\n-fellowship V:|\\\n-felon A:|\\\n-ferrule V:|\\\n-ferule V:|\\\n-fess N:|\\\n-fetch N:|\\\n-fettle V:|\\\n-fever V:|\\\n-fiberglass V:|\\\n-fibroid N:|\\\n-fife V:|\\\n-filthy V:|\\\n-fin V:|\\\n-financier V:|\\\n-finite N:|\\\n-fishtail N:|\\\n-fission V:|\\\n-fissionable N:|\\\n-fissure V:|\\\n-fist V:|\\\n-flack V:|\\\n-flagellate N:|\\\n-flagging N:|\\\n-flamboyant N:|\\\n-flange V:|\\\n-flew N:|\\\n-flight V:|\\\n-flimsy N:|\\\n-flint V:|\\\n-floral N:|\\\n-flume V:|\\\n-fluorescent N:|\\\n-fluoroscope V:|\\\n-fodder V:|\\\n-foldaway N:|\\\n-folio A:|\\\n-folio V:|\\\n-follow N:|\\\n-fond N:|\\\n-fondu A:|\\\n-football V:|\\\n-forelock V:|\\\n-forklift V:|\\\n-formative N:|\\\n-forthright N:|\\\n-fortissimo N:|\\\n-fortnightly N:|\\\n-fortune V:|\\\n-found N:|\\\n-foursquare N:|\\\n-fraction V:|\\\n-frail N:|\\\n-frappe V:|\\\n-fraught N:|\\\n-freewheel N:|\\\n-frenetic N:|\\\n-frenzy V:|\\\n-fresco V:|\\\n-fresh N:|\\\n-fresh V:|\\\n-freshman A:|\\\n-friend V:|\\\n-frill V:|\\\n-frisk N:|\\\n-fro N:|\\\n-frock V:|\\\n-frog V:|\\\n-frolic A:|\\\n-frontal N:|\\\n-frosted N:|\\\n-frustrate A:|\\\n-fucking N:|\\\n-fugue V:|\\\n-fulcrum V:|\\\n-fuller V:|\\\n-fulminate N:|\\\n-fun V:|\\\n-functional N:|\\\n-fungoid N:|\\\n-furbelow V:|\\\n-furnace V:|\\\n-fusillade V:|\\\n-gad N:|\\\n-gaggle V:|\\\n-gait V:|\\\n-gallant V:|\\\n-gammon V:|\\\n-gander V:|\\\n-gantlet V:|\\\n-gap V:|\\\n-gar V:|\\\n-garble N:|\\\n-garment V:|\\\n-garner N:|\\\n-garter V:|\\\n-gash A:|\\\n-gaudy N:|\\\n-gauntlet V:|\\\n-gavel V:|\\\n-gavotte V:|\\\n-gawk N:|\\\n-gee N:|\\\n-geld N:|\\\n-gem V:|\\\n-gender V:|\\\n-gentle N:|\\\n-geometric N:|\\\n-geriatric N:|\\\n-ghetto V:|\\\n-gibber N:|\\\n-giddy V:|\\\n-gill V:|\\\n-gimmick V:|\\\n-ginger V:|\\\n-gipsy V:|\\\n-gird N:|\\\n-girly N:|\\\n-girth V:|\\\n-glad V:|\\\n-glassy N:|\\\n-glee V:|\\\n-glister N:|\\\n-glitz V:|\\\n-globe V:|\\\n-gloom V:|\\\n-gnawing N:|\\\n-god V:|\\\n-goddamn V:|\\\n-godfather V:|\\\n-gopher V:|\\\n-gormandize N:|\\\n-gospel V:|\\\n-governess V:|\\\n-gradient A:|\\\n-gradual N:|\\\n-grain V:|\\\n-gravel A:|\\\n-griddle V:|\\\n-gridiron V:|\\\n-groin V:|\\\n-grommet V:|\\\n-grouse A:|\\\n-grubby N:|\\\n-grubstake V:|\\\n-grueling N:|\\\n-gruelling N:|\\\n-grump V:|\\\n-guise V:|\\\n-gulf V:|\\\n-gullet V:|\\\n-gully V:|\\\n-gurgling N:|\\\n-guts V:|\\\n-gypsy A:|\\\n-gypsy V:|\\\n-gyrate A:|\\\n-habit V:|\\\n-hackle V:|\\\n-haft V:|\\\n-haggard N:|\\\n-halcyon N:|\\\n-halftone A:|\\\n-hallo V:|\\\n-handset V:|\\\n-hangar V:|\\\n-hangdog N:|\\\n-hank V:|\\\n-hap V:|\\\n-haphazard N:|\\\n-harbinger V:|\\\n-hard N:|\\\n-hardcore N:|\\\n-hardy N:|\\\n-hasp V:|\\\n-hatchet V:|\\\n-haunting N:|\\\n-haven V:|\\\n-havoc V:|\\\n-haywire N:|\\\n-heather A:|\\\n-heir V:|\\\n-hello V:|\\\n-helm V:|\\\n-helve V:|\\\n-herbal N:|\\\n-heroic N:|\\\n-hi A:|\\\n-highball V:|\\\n-hill V:|\\\n-hilltop V:|\\\n-hilt V:|\\\n-hippy A:|\\\n-histrionic N:|\\\n-hob V:|\\\n-holograph V:|\\\n-holy N:|\\\n-honcho V:|\\\n-hooky A:|\\\n-horn V:|\\\n-horselaugh V:|\\\n-hosanna V:|\\\n-hostage V:|\\\n-hot V:|\\\n-hovel V:|\\\n-hover N:|\\\n-howdy N:|\\\n-hoyden A:|\\\n-hub V:|\\\n-hulk V:|\\\n-hullo V:|\\\n-hunky N:|\\\n-hut V:|\\\n-hymeneal N:|\\\n-hymnal A:|\\\n-hyper N:|\\\n-hypo V:|\\\n-illegitimate N:|\\\n-illegitimate V:|\\\n-illuminate N:|\\\n-imaginary N:|\\\n-immovable N:|\\\n-immune N:|\\\n-imp V:|\\\n-implosive N:|\\\n-impost V:|\\\n-impotent N:|\\\n-inane N:|\\\n-incapable N:|\\\n-incombustible N:|\\\n-incoming N:|\\\n-incorrigible N:|\\\n-indefinable N:|\\\n-indivisible N:|\\\n-indulgence V:|\\\n-industrial N:|\\\n-inexpressible N:|\\\n-infallible N:|\\\n-infatuate N:|\\\n-infect A:|\\\n-infiltrate N:|\\\n-infirm V:|\\\n-inflammable N:|\\\n-influential N:|\\\n-ingot V:|\\\n-ingrate A:|\\\n-inlet V:|\\\n-innermost N:|\\\n-innumerate N:|\\\n-insolent N:|\\\n-insubordinate N:|\\\n-insular N:|\\\n-intaglio V:|\\\n-interlinear N:|\\\n-interlink N:|\\\n-intermediate V:|\\\n-intern A:|\\\n-internal N:|\\\n-interne V:|\\\n-interplay V:|\\\n-interstitial N:|\\\n-interurban N:|\\\n-interweave N:|\\\n-intestate N:|\\\n-intolerant N:|\\\n-introvert V:|\\\n-inverse V:|\\\n-invisible N:|\\\n-inward N:|\\\n-iris V:|\\\n-irony A:|\\\n-irreconcilable N:|\\\n-irresponsible N:|\\\n-island V:|\\\n-isle V:|\\\n-isometric N:|\\\n-isthmian N:|\\\n-item V:|\\\n-jack A:|\\\n-jacket V:|\\\n-jackrabbit V:|\\\n-jag V:|\\\n-japan A:|\\\n-jargon V:|\\\n-javelin V:|\\\n-jeep V:|\\\n-jerkwater N:|\\\n-jetty A:|\\\n-jetty V:|\\\n-jitney V:|\\\n-jobless N:|\\\n-joist V:|\\\n-journal V:|\\\n-julienne N:|\\\n-junketeer V:|\\\n-jury V:|\\\n-just V:|\\\n-kelp V:|\\\n-kerb V:|\\\n-kernel V:|\\\n-kibosh V:|\\\n-kilt V:|\\\n-kin A:|\\\n-king V:|\\\n-kit V:|\\\n-kitten V:|\\\n-kneel N:|\\\n-knockdown A:|\\\n-knoll V:|\\\n-know N:|\\\n-known N:|\\\n-kosher N:|\\\n-kraal V:|\\\n-lachrymal N:|\\\n-lackey V:|\\\n-lackluster N:|\\\n-lacklustre N:|\\\n-lacrimal N:|\\\n-lactate N:|\\\n-lacteal N:|\\\n-laden V:|\\\n-lager V:|\\\n-lair V:|\\\n-lamp V:|\\\n-landfill V:|\\\n-landmark V:|\\\n-lane A:|\\\n-lantern V:|\\\n-laryngeal N:|\\\n-lasting N:|\\\n-lattice V:|\\\n-launder N:|\\\n-laurel V:|\\\n-law A:|\\\n-law V:|\\\n-lawyer V:|\\\n-leach N:|\\\n-leaden V:|\\\n-leather V:|\\\n-lech V:|\\\n-lecher V:|\\\n-ledge V:|\\\n-legendary N:|\\\n-legislative N:|\\\n-legit N:|\\\n-lenitive N:|\\\n-lens V:|\\\n-lesion V:|\\\n-lesson V:|\\\n-levee V:|\\\n-lichen V:|\\\n-lid V:|\\\n-lifeguard V:|\\\n-lighter V:|\\\n-lightface A:|\\\n-lilliputian N:|\\\n-limb V:|\\\n-limber N:|\\\n-limited N:|\\\n-lingual N:|\\\n-lip V:|\\\n-lit N:|\\\n-liver V:|\\\n-livery A:|\\\n-loam V:|\\\n-local V:|\\\n-loco N:|\\\n-loco V:|\\\n-logistic N:|\\\n-loll N:|\\\n-longhand A:|\\\n-loophole V:|\\\n-lop N:|\\\n-lot V:|\\\n-lout V:|\\\n-louver V:|\\\n-lower N:|\\\n-lowercase V:|\\\n-lubber A:|\\\n-lucky N:|\\\n-luff N:|\\\n-lullaby V:|\\\n-lumbar N:|\\\n-luminary A:|\\\n-lunar N:|\\\n-lurk N:|\\\n-lush V:|\\\n-luster V:|\\\n-lustre V:|\\\n-lute V:|\\\n-macrame V:|\\\n-macrobiotic N:|\\\n-mad V:|\\\n-mag V:|\\\n-maim N:|\\\n-main V:|\\\n-mandamus V:|\\\n-mandatory N:|\\\n-maraud N:|\\\n-margin V:|\\\n-marl V:|\\\n-mason V:|\\\n-mast V:|\\\n-masthead V:|\\\n-matriculate N:|\\\n-maxillary N:|\\\n-maze V:|\\\n-meagre N:|\\\n-mechanical N:|\\\n-medal V:|\\\n-mediaeval N:|\\\n-medial N:|\\\n-medicine V:|\\\n-medieval N:|\\\n-medley A:|\\\n-menthol A:|\\\n-mercurial N:|\\\n-meringue V:|\\\n-messenger V:|\\\n-metal V:|\\\n-metallic N:|\\\n-metric N:|\\\n-metropolitan N:|\\\n-mid N:|\\\n-middle V:|\\\n-middling N:|\\\n-miff N:|\\\n-minim A:|\\\n-minion A:|\\\n-missing V:|\\\n-missive A:|\\\n-mister V:|\\\n-mock N:|\\\n-modem V:|\\\n-modular N:|\\\n-monitory N:|\\\n-monoclonal N:|\\\n-monocular N:|\\\n-monograph V:|\\\n-montage V:|\\\n-monument V:|\\\n-moonwalk V:|\\\n-moot N:|\\\n-mordant V:|\\\n-morph N:|\\\n-morsel V:|\\\n-mosaic V:|\\\n-moss V:|\\\n-motive V:|\\\n-motorcade V:|\\\n-mottle N:|\\\n-moulder N:|\\\n-mountebank V:|\\\n-mud V:|\\\n-muffle N:|\\\n-mugger V:|\\\n-mull N:|\\\n-mullion V:|\\\n-multiply A:|\\\n-mum V:|\\\n-mummy V:|\\\n-murk A:|\\\n-musky N:|\\\n-must V|\\\n-musty N:|\\\n-mutual N:|\\\n-nasty N:|\\\n-naught A:|\\\n-neat N:|\\\n-necklace V:|\\\n-negotiable N:|\\\n-nett N:|\\\n-nett V:|\\\n-newsy N:|\\\n-niche V:|\\\n-nickel V:|\\\n-nifty N:|\\\n-nigger V:|\\\n-nigh V:|\\\n-nighttime A:|\\\n-nocturnal N:|\\\n-nominal N:|\\\n-nonacademic N:|\\\n-noncombustible N:|\\\n-noncontributory N:|\\\n-nondescript N:|\\\n-noneffective N:|\\\n-nonelectric N:|\\\n-nonessential N:|\\\n-nonmilitant N:|\\\n-nonperishable N:|\\\n-nonplus N:|\\\n-nonresistant N:|\\\n-nonstop N:|\\\n-nontaxable N:|\\\n-nonthinking N:|\\\n-nonunion N:|\\\n-nonvocal N:|\\\n-noose V:|\\\n-northeastward N:|\\\n-northern N:|\\\n-northward N:|\\\n-northwestward N:|\\\n-null V:|\\\n-numeric N:|\\\n-nursemaid V:|\\\n-nutritive N:|\\\n-oblate N:|\\\n-oblique V:|\\\n-obscure N:|\\\n-observable N:|\\\n-observant N:|\\\n-occlusive N:|\\\n-occult V:|\\\n-ocher V:|\\\n-ochre V:|\\\n-octave A:|\\\n-odd N:|\\\n-off N:|\\\n-officer V:|\\\n-offprint V:|\\\n-omen V:|\\\n-omnipotent N:|\\\n-omniscient N:|\\\n-on N:|\\\n-oncoming N:|\\\n-opaque N:|\\\n-ope A:|\\\n-opiate V:|\\\n-or N:|\\\n-orb V:|\\\n-orgasm V:|\\\n-ornamental N:|\\\n-ouch N:|\\\n-ouch V:|\\\n-ought N:|\\\n-outcry V:|\\\n-outspread N:|\\\n-outward N:|\\\n-over V:|\\\n-overburden N:|\\\n-overcoat V:|\\\n-overdrive V:|\\\n-overhand V:|\\\n-overheat N:|\\\n-overlord V:|\\\n-overnight V:|\\\n-overpass V:|\\\n-overpraise N:|\\\n-oversea N:|\\\n-overshoot N:|\\\n-overshot N:|\\\n-oversize N:|\\\n-overstock N:|\\\n-oversupply N:|\\\n-overtime V:|\\\n-overture V:|\\\n-overturn N:|\\\n-overweight V:|\\\n-owl V:|\\\n-oyster V:|\\\n-packet V:|\\\n-palisade V:|\\\n-pallet V:|\\\n-palsy A:|\\\n-pamphleteer V:|\\\n-pappy A:|\\\n-paraffin V:|\\\n-paragon V:|\\\n-paramount N:|\\\n-parcel A:|\\\n-parietal N:|\\\n-paschal N:|\\\n-passage V:|\\\n-passe N:|\\\n-pastor V:|\\\n-pauper V:|\\\n-pavilion V:|\\\n-payable N:|\\\n-payoff A:|\\\n-peace V:|\\\n-peach V:|\\\n-peacock V:|\\\n-peanut A:|\\\n-pearly N:|\\\n-peculiar N:|\\\n-pedestal V:|\\\n-peen V:|\\\n-pellmell N:|\\\n-penitential N:|\\\n-penny A:|\\\n-percipient N:|\\\n-percolate N:|\\\n-perk A:|\\\n-persuasive N:|\\\n-petrol V:|\\\n-pharyngeal N:|\\\n-philter V:|\\\n-philtre V:|\\\n-phonetic N:|\\\n-phrenetic N:|\\\n-picayune N:|\\\n-pickaback N:|\\\n-pie V:|\\\n-piffle V:|\\\n-pigment V:|\\\n-pilgrimage V:|\\\n-pill V:|\\\n-pillar V:|\\\n-pincer V:|\\\n-pinnacle V:|\\\n-pipeline V:|\\\n-pipette V:|\\\n-pique A:|\\\n-pistol V:|\\\n-pitapat V:|\\\n-pith V:|\\\n-plain V:|\\\n-planetary N:|\\\n-platy A:|\\\n-plod N:|\\\n-ploy V:|\\\n-pluvial N:|\\\n-pneumatic N:|\\\n-poetic N:|\\\n-poky N:|\\\n-pollen V:|\\\n-poltroon A:|\\\n-pond V:|\\\n-poniard V:|\\\n-pontifical N:|\\\n-pony V:|\\\n-posit N:|\\\n-post A:|\\\n-postal N:|\\\n-postcard V:|\\\n-posthaste N:|\\\n-potent N:|\\\n-pour N:|\\\n-praetorian N:|\\\n-prank V:|\\\n-precaution V:|\\\n-precious N:|\\\n-predecease N:|\\\n-predicable N:|\\\n-preempt N:|\\\n-preen N:|\\\n-preform N:|\\\n-prelude V:|\\\n-premature N:|\\\n-premix N:|\\\n-prescript A:|\\\n-pretension V:|\\\n-prevue V:|\\\n-priest V:|\\\n-prig V:|\\\n-prim V:|\\\n-prise N:|\\\n-privateer V:|\\\n-procedural N:|\\\n-profound N:|\\\n-prolog V:|\\\n-prologue V:|\\\n-prone N:|\\\n-prong V:|\\\n-propitiatory N:|\\\n-proportionate V:|\\\n-prose V:|\\\n-protocol V:|\\\n-prototype V:|\\\n-proverb V:|\\\n-provisional N:|\\\n-provocative N:|\\\n-prow A:|\\\n-psalm V:|\\\n-pshaw V:|\\\n-pug V:|\\\n-pumice V:|\\\n-purple V:|\\\n-pussyfoot N:|\\\n-quad A:|\\\n-quad V:|\\\n-quadrennial N:|\\\n-quicksilver V:|\\\n-quill V:|\\\n-quire V:|\\\n-quirt V:|\\\n-quitclaim V:|\\\n-quoin V:|\\\n-quotidian N:|\\\n-qwerty N:|\\\n-rabble V:|\\\n-radiant N:|\\\n-radiate A:|\\\n-radiotelephone V:|\\\n-rafter V:|\\\n-ragout V:|\\\n-raiment V:|\\\n-rainproof V:|\\\n-ramp V:|\\\n-rampart V:|\\\n-random N:|\\\n-randy N:|\\\n-rapture V:|\\\n-ravening N:|\\\n-rawhide V:|\\\n-ray V:|\\\n-razor V:|\\\n-ready N:|\\\n-real N|\\\n-real N|\\\n-rearguard A:|\\\n-rearward N:|\\\n-rebid N:|\\\n-recalcitrant N:|\\\n-recitative A:|\\\n-reclaim N:|\\\n-recommission N:|\\\n-recontact N:|\\\n-recoup N:|\\\n-red V:|\\\n-redirect A:|\\\n-redouble N:|\\\n-redraft N:|\\\n-reductive N:|\\\n-reed V:|\\\n-reflex V:|\\\n-refuge V:|\\\n-regal N:|\\\n-regale N:|\\\n-regional N:|\\\n-reload N:|\\\n-remainder V:|\\\n-remand N:|\\\n-rematch V:|\\\n-remit N:|\\\n-remix N:|\\\n-remnant A:|\\\n-renege N:|\\\n-renewable N:|\\\n-renounce N:|\\\n-reorient A:|\\\n-repaint N:|\\\n-repent A:|\\\n-rephotograph N:|\\\n-reprobate V:|\\\n-reproductive N:|\\\n-reptile A:|\\\n-repurchase N:|\\\n-resin V:|\\\n-resistant N:|\\\n-resonant N:|\\\n-respite V:|\\\n-respond N:|\\\n-restudy N:|\\\n-resurvey N:|\\\n-retch N:|\\\n-retinal N:|\\\n-reveal N:|\\\n-revere N:|\\\n-reversible N:|\\\n-revert N:|\\\n-revoke N:|\\\n-rhythmic N:|\\\n-ribald N:|\\\n-ribbon V:|\\\n-riparian N:|\\\n-ripsaw V:|\\\n-roach V:|\\\n-roam N:|\\\n-rod V:|\\\n-rode N:|\\\n-rodeo V:|\\\n-rogue V:|\\\n-roomy N:|\\\n-rose V:|\\\n-rotate A:|\\\n-roulette V:|\\\n-rove N:|\\\n-roving N:|\\\n-rubber V:|\\\n-rubric A:|\\\n-rummy A:|\\\n-rump A:|\\\n-rural N:|\\\n-rust A:|\\\n-saber V:|\\\n-sabre V:|\\\n-sacramental N:|\\\n-said N:|\\\n-sailplane V:|\\\n-saint V:|\\\n-sallow N:|\\\n-sallow V:|\\\n-salsa V:|\\\n-salutatory N:|\\\n-salvo V:|\\\n-sandal V:|\\\n-sanguine N:|\\\n-sanitarian A:|\\\n-sash V:|\\\n-sassy N:|\\\n-saurian N:|\\\n-scabbard V:|\\\n-scaffold V:|\\\n-scald A:|\\\n-scamp V:|\\\n-scandal V:|\\\n-scenic N:|\\\n-scepter V:|\\\n-sceptre V:|\\\n-schmooze N:|\\\n-scholastic N:|\\\n-schoolmaster V:|\\\n-sciatic N:|\\\n-sconce V:|\\\n-scoot N:|\\\n-scour N:|\\\n-scow V:|\\\n-scrag V:|\\\n-scribe V:|\\\n-scrooge V:|\\\n-sear A:|\\\n-sector V:|\\\n-secular N:|\\\n-sediment V:|\\\n-seeming N:|\\\n-seep N:|\\\n-seethe N:|\\\n-self V:|\\\n-semiotic N:|\\\n-semisolid N:|\\\n-send N:|\\\n-senile N:|\\\n-sentient N:|\\\n-sentinel V:|\\\n-sere N:|\\\n-serge V:|\\\n-serpentine V:|\\\n-serrate V:|\\\n-servo V:|\\\n-sewer V:|\\\n-shack V:|\\\n-shallow V:|\\\n-shammy V:|\\\n-shank V:|\\\n-shanty V:|\\\n-sheaf V:|\\\n-sheave V:|\\\n-sheen A:|\\\n-sheen V:|\\\n-sheeny N:|\\\n-sheet V:|\\\n-shelf V:|\\\n-shier N:|\\\n-shinny N:|\\\n-shirk N:|\\\n-shoal A:|\\\n-shook N:|\\\n-shore A:|\\\n-shortwave V:|\\\n-shorty A:|\\\n-shot V:|\\\n-shrimp A:|\\\n-shrine V:|\\\n-shut N:|\\\n-sickly V:|\\\n-siege V:|\\\n-signet V:|\\\n-significant N:|\\\n-signore N:|\\\n-silk V:|\\\n-silkscreen A:|\\\n-silo V:|\\\n-silvan N:|\\\n-simple N:|\\\n-sinew V:|\\\n-sirup V:|\\\n-situate A:|\\\n-skill V:|\\\n-skoal V:|\\\n-skulk N:|\\\n-skyline V:|\\\n-slag V:|\\\n-slang V:|\\\n-slat V:|\\\n-sleeve V:|\\\n-sleuth V:|\\\n-slime V:|\\\n-slink N:|\\\n-slipcover V:|\\\n-slipper V:|\\\n-slipstream V:|\\\n-slosh N:|\\\n-slurry V:|\\\n-slush V:|\\\n-smith V:|\\\n-smooth N:|\\\n-smut V:|\\\n-snafu A:|\\\n-snafu V:|\\\n-snapshot V:|\\\n-snood V:|\\\n-snoot V:|\\\n-soaring N:|\\\n-socket V:|\\\n-sodden V:|\\\n-soft N:|\\\n-softbound N:|\\\n-solar N:|\\\n-sonnet V:|\\\n-soot V:|\\\n-sooth A:|\\\n-sophomore A:|\\\n-sorry N:|\\\n-sourdough A:|\\\n-south V:|\\\n-southeastward N:|\\\n-southwestward N:|\\\n-spec A:|\\\n-spelt N:|\\\n-sphere V:|\\\n-spiderweb V:|\\\n-spire V:|\\\n-splayfoot A:|\\\n-splenetic N:|\\\n-spoke V:|\\\n-spouse V:|\\\n-sprig V:|\\\n-spud V:|\\\n-spurn N:|\\\n-squab A:|\\\n-squadron V:|\\\n-squander N:|\\\n-squib V:|\\\n-stadia N:|\\\n-stag V:|\\\n-stanch N:|\\\n-stanchion V:|\\\n-starboard V:|\\\n-startle N:|\\\n-stationary N:|\\\n-statue V:|\\\n-staunch N:|\\\n-stead V:|\\\n-steamer V:|\\\n-steeplechase V:|\\\n-stereo V:|\\\n-stevedore V:|\\\n-sticker V:|\\\n-stifle N:|\\\n-stigmatic N:|\\\n-stiletto V:|\\\n-stilt V:|\\\n-stimulative N:|\\\n-stooge V:|\\\n-stool V:|\\\n-story V:|\\\n-stove V:|straightjacket V:|straightforward N\\?:|strait A:|\\\n-strata N:|streamline N:|stretcher V:|stun N:|sturdy N:|\\\n-sty V:|subculture V:|sublimate N:|submarine V:|subnormal N:|\\\n-substantial N:|subteen A:|subterranean N:|subway V:|sudden N:|\\\n-suds V:|suede V:|suicide V:|sulfate V:|sulfur V:|sully N:|summit V:|\\\n-sunburst A:|sundown V:|sunrise A:|superhuman N:|supine N:|supper V:|\\\n-supple V:|supplemental N:|supplementary N:|supreme N:|surname V:|\\\n-surrogate V:|surround N:|suspicion V:|swaddle N:|swan V:|\\\n-sward V:|swinging N:|switchback V:|syllabic N:|syllable V:|syllogistic N:|\\\n-sylvan N:|symbol V:|synapse V:|syrup V:|tabby V:|tabernacle V:|\\\n-tablet V:|\\\n-tabor V:|\\\n-talc V:|\\\n-tallow V:|\\\n-tamper N:|\\\n-tampon V:|\\\n-tang V:|\\\n-tapestry V:|\\\n-tariff V:|\\\n-tawdry N:|\\\n-taxable N:|\\\n-teach N:|\\\n-teasel V:|\\\n-teetotal V:|\\\n-telegram V:|\\\n-telemeter V:|\\\n-tell N:|\\\n-tempest V:|\\\n-temporal N:|\\\n-tenon V:|\\\n-tension V:|\\\n-tertiary N:|\\\n-texture V:|\\\n-theatrical N:|\\\n-theme V:|\\\n-therapeutic N:|\\\n-thermostat V:|\\\n-thickset N:|\\\n-think N:|\\\n-thole V:|\\\n-thorn V:|\\\n-thou V:|\\\n-threat V:|\\\n-throat V:|\\\n-throne V:|\\\n-thumbtack V:|\\\n-thundering N:|\\\n-ticktock V:|\\\n-tier V:|\\\n-tightrope V:|\\\n-tiller V:|\\\n-timber V:|\\\n-tissue V:|\\\n-titular N:|\\\n-toenail V:|\\\n-token V:|\\\n-tole V:|\\\n-tom V:|\\\n-tomcat V:|\\\n-tooth V:|\\\n-tootle N:|\\\n-topsoil V:|\\\n-tore N:|\\\n-torpid N:|\\\n-torrent A:|\\\n-tourney V:|\\\n-tousle N:|\\\n-toward A:|\\\n-toxic N:|\\\n-trance V:|\\\n-transcendent N:|\\\n-transcendental N:|\\\n-tress V:|\\\n-triage V:|\\\n-trice V:|\\\n-trifling N:|\\\n-trig V:|\\\n-trinket V:|\\\n-trochaic N:|\\\n-trolley V:|\\\n-trolly V:|\\\n-truce V:|\\\n-truncheon V:|\\\n-trustee V:|\\\n-tub V:|\\\n-tubercular N:|\\\n-tun V:|\\\n-turpentine V:|\\\n-turtle V:|\\\n-tusk V:|\\\n-tutelary N:|\\\n-twill V:|\\\n-tyre V:|\\\n-ugh N:|\\\n-umber V:|\\\n-umbilical N:|\\\n-umlaut V:|\\\n-underage N:|\\\n-underbid N:|\\\n-underlay V:|\\\n-underwater N:|\\\n-undress A:|\\\n-unemployable N:|\\\n-unessential N:|\\\n-unicycle V:|\\\n-unique N:|\\\n-unite N:|\\\n-unmarried N:|\\\n-unpredictable N:|\\\n-unprofessional N:|\\\n-unquiet N:|\\\n-unsteady V:|\\\n-unthinkable N:|\\\n-untidy V:|\\\n-unwashed N:|\\\n-unworkable N:|\\\n-unworthy N:|\\\n-uppercase V:|\\\n-upright V:|\\\n-upscale V:|\\\n-upstage N:|\\\n-upswing V:|\\\n-urinary N:|\\\n-valiant N:|\\\n-vanish N:|\\\n-vapor V:|\\\n-vapour V:|\\\n-venom V:|\\\n-vermilion V:|\\\n-vesiculate V:|\\\n-vestibule V:|\\\n-via N:|\\\n-vial V:|\\\n-vibrant N:|\\\n-vinegar V:|\\\n-vintage V:|\\\n-viscose A:|\\\n-visor V:|\\\n-vitriol V:|\\\n-vizor V:|\\\n-vocable A:|\\\n-volatile N:|\\\n-volute A:|\\\n-votary A:|\\\n-vouch N:|\\\n-voucher V:|\\\n-vowel V:|\\\n-vulgar N:|\\\n-wafer V:|\\\n-waggon V:|\\\n-wagon V:|\\\n-waiter V:|\\\n-waitress V:|\\\n-wan V:|\\\n-wander N:|\\\n-wardrobe V:|\\\n-ware A:|\\\n-ware V:|\\\n-warm N:|\\\n-watchdog V:|\\\n-wattle A:|\\\n-wavy N:|\\\n-weapon V:|\\\n-wearable N:|\\\n-week A:|\\\n-weeny N:|\\\n-weird N:|\\\n-wench V:|\\\n-westward N:|\\\n-wham A:|\\\n-wharf V:|\\\n-wheelbarrow V:|\\\n-whereas N:|\\\n-wherewith N:|\\\n-wherry V:|\\\n-whet N:|\\\n-whew N:|\\\n-whiplash V:|\\\n-whist A:|\\\n-whist V:|\\\n-white V:|\\\n-whittle N:|\\\n-whore V:|\\\n-wick V:|\\\n-wide N:|\\\n-wife V:|\\\n-willow V:|\\\n-windlass V:|\\\n-window V:|\\\n-windrow V:|\\\n-winnow N:|\\\n-wireless V:|\\\n-wise V:|\\\n-wisp V:|\\\n-without N:|\\\n-witting N:|\\\n-wizard A:|\\\n-woman V:|\\\n-won V:|\\\n-wont V:|\\\n-woodshed V:|\\\n-workday A:|\\\n-worth V:|\\\n-wrack V:|\\\n-wrath A:|\\\n-wreath V:|\\\n-yard V:|\\\n-yarn V:|\\\n-yawl V:|\\\n-yearling A:|\\\n-yeast V:|\\\n-yen V:|\\\n-yore A:|\\\n-yummy N:|\\\n-zest V:|\\\n-zillion A:|\\\n-on N:|rockies N:|known N:|as A:|albert[ \\t]N|i A:|her A:|allies[\\t]N|then N:|donuts N\\?:|us N:|\\\n-less N:|more N:|toward N\\?:|anyhow A:|again A:|nope A:|\\\n-forth A:|askance A:|aloud A:|aloft A:|\\\n-afresh A:|all A:|quite A:|hence A:|ergo A:|almost A:|although A:|then A:|\\\n-thereof A:|most A:|too A:|therein A:|out A:|indeed A:|whereof A:|\\\n-in A:|twice A:|viva A:|not A:|often A:|once A:|never A:|nowhere A:|\\\n-where A:|wherein A:|t A:|ago A:|atop A:|notwithstanding A:|\\\n-away A:|very A:|daily A:|why A:|yet A:|since A:|after A:|before A:|\\\n-about A:|brother A:|sister A:|\\\n-feces N:|axes\\tN|bases\\tN|phenomena[ \\t]N[:]*|automata\\tN|cherubim[ \\t]N[:]*|\\\n-apices\\tN|cervices\\tN|indices\\tN|matrices\\tN|vortices\\tN|\\\n-elves\\tN|halves\\tN|hooves\\tN|knives\\tN|leaves\\tN|lives\\tN|loaves\\tN|\\\n-scarves\\tN|selves\\tN|sheaves\\tN|shelves\\tN|wives\\tN|wolves\\tN|geese\\tN|\\\n-lice\\tN|mice\\tN|children\\tN|corpora[ \\t]N[:]*|genera\\tN|foci\\tN|fungi\\tN|\\\n-nuclei\\tN|radii\\tN|stimuli\\tN|syllabi\\tN|bacteria[ \\t]N[:]*|data\\tN|errata[ \\t]N[:]*|\\\n-media[ \\t]N[:]*|memoranda[ \\t]N[:]*|ova\\tN|strata[ \\t]N[:]*|oxen[ \\t]N[:]*|calves\\tN|feet\\tN|\\\n-women\\tN|men\\tN|well A:|who[ \\t]N[:]*|an A:|an[ \\t]DCN|themselves N:|\\\n-a[ \\t]DNVP|He[ \\t]N[:]*|me[ \\t]N[:]*|he[ \\t]N[:]*|I[ \\t]N[:]*|this[ \\t]N[:]*|\\\n-that[ \\t][AN][:]*|such[ \\t]N[:]*|his[ \\t]N[:]*|t[ \\t]N[:]*|she[ \\t]N[:]*|\\\n-you[ \\t]N[:]*|we[ \\t]N[:]*|they[ \\t]N[:]*|them[ \\t]N[:]*|him[ \\t]N[:]*|\\\n-her[ \\t]N[:]*|your[ \\t][NA][:]*|my[ \\t]N[:]*|herself[ \\t]N[:]*|\\\n-himself[ \\t]N[:]*|it[ \\t]N[:]*|itself[ \\t]N[:]*|myself[ \\t]N[:]*|\\\n-oneself[ \\t]N[:]*|our[ \\t]N[:]*|our[ \\t]A[:]*|their[ \\t]|\\\n-yourself[ \\t]N[:]*|ourself[ \\t]N[:]*|another[ \\t]N[:]*|and[ \\t]N[:]*|\\\n-any[ \\t]A[:]*|all[ \\t]A[:]*|an[ \\t]N[:]*|each[ \\t]A[:]*|either[ \\t]A[:]*|\\\n-every[ \\t]A[:]*|half[ \\t]A[:]*|many[ \\t]N[:]*|many[ \\t]A[:]*|\\\n-much[ \\t]N[:]*|neither[ \\t]A[:]*|no[ \\t]A[:]*|some[ \\t]N[:]*|\\\n-some[ \\t]A[:]*|such[ \\t]A[:]*|those[ \\t]N[:]*|those[ \\t]A[:]*|\\\n-these[ \\t]N[:]*|those[ \\t]A[:]*|and[ \\t]N\\?[:]*|within[ \\t]|this[ \\t]A[:]*|\\\n-into[ \\t]N[:]*|what[ \\t][NA][:]*|whom[ \\t][NA][:]*|whose[ \\t][NA][:]*|\\\n-which[ \\t]N[:]*|which[ \\t]A[:]*|there[ \\t]|will[ \\t]V[:]*|\\\n-can[ \\t]V[:]*|may[ \\t]V[:]*|shall[ \\t]V[:]*|ought[ \\t]V[:]*|must[ \\t]V[:]*|\\\n-could[ \\t]V[:]*|would[ \\t]V[:]*|inter[ \\t]A[:]*|school[ \\t]A[:]*|\\\n-the[ \\t]A[:]*|mod[ \\t]A:)\/ && !\/'\/"}
{"commit":"a03100a646594cb8d1bab2c177adb12091981e27","subject":"Translators\/DeepLTranslator: split lines beforehand (see #249)","message":"Translators\/DeepLTranslator: split lines beforehand (see #249)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/DeepLTranslator.awk\n+++ include\/Translators\/DeepLTranslator.awk\n@@ -60,7 +60,7 @@\n function deeplTranslate(text, sl, tl, hl,\n                         isVerbose, toSpeech, returnPlaylist, returnIl,\n                         ####\n-                        r, i, j,\n+                        r, i, j, k, lines,\n                         content, tokens, ast,\n                         _sl, _tl, _hl, il,\n                         sentences, translation, translations,\n@@ -84,45 +84,52 @@\n     if (_tl != \"auto\") _tl = toupper(_tl)\n     if (_hl != \"auto\") _hl = toupper(_hl)\n \n-    content = deeplPostSplit(text, _sl, _tl, _hl)\n-    tokenize(tokens, content)\n-    parseJson(ast, tokens)\n-    for (i in ast) {\n-        if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"splitted_texts\" SUBSEP \"[[:digit:]]+\" SUBSEP \"[[:digit:]]+\") {\n-            append(sentences, uprintf(unquote(unparameterize(ast[i]))))\n-        }\n-    }\n-    content = deeplPost(sentences, _sl, _tl, _hl)\n-    if (Option[\"dump\"])\n-        return content\n-    tokenize(tokens, content)\n-    parseJson(ast, tokens)\n-\n-    l(content, \"content\", 1, 1)\n-    l(tokens, \"tokens\", 1, 0, 1)\n-    l(ast, \"ast\")\n-    if (!isarray(ast) || !anything(ast)) {\n-        e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n-        ExitCode = 1\n-        return\n-    }\n-\n-    saveSortedIn = PROCINFO[\"sorted_in\"]\n-    PROCINFO[\"sorted_in\"] = \"compareByIndexFields\"\n-    j = 0\n-    for (i in ast) {\n-        if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"translations\" SUBSEP \"[[:digit:]]+\" SUBSEP \"beams\" \\\n-            SUBSEP \"[[:digit:]]+\" SUBSEP \"postprocessed_sentence$\") {\n-            temp = uprintf(unquote(unparameterize(ast[i])))\n-            append(translations, temp)\n-        }\n-        if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"translations\" SUBSEP j SUBSEP \"beams\" \\\n-            SUBSEP \"[[:digit:]]+\" SUBSEP \"postprocessed_sentence$\") {\n-            translation = j > 0 ? translation \" \" temp : temp\n-            j++\n-        }\n-    }\n-    PROCINFO[\"sorted_in\"] = saveSortedIn\n+    split(text, lines, \"\\n\")\n+    for (k in lines) {\n+        if (k > 1) translation = translation \"\\n\"\n+\n+        delete tokens; delete ast; delete sentences\n+\n+        content = deeplPostSplit(lines[k], _sl, _tl, _hl)\n+        tokenize(tokens, content)\n+        parseJson(ast, tokens)\n+        for (i in ast) {\n+            if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"splitted_texts\" SUBSEP \"[[:digit:]]+\" SUBSEP \"[[:digit:]]+\") {\n+                append(sentences, uprintf(unquote(unparameterize(ast[i]))))\n+            }\n+        }\n+        content = deeplPost(sentences, _sl, _tl, _hl)\n+        if (Option[\"dump\"])\n+            return content\n+        tokenize(tokens, content)\n+        parseJson(ast, tokens)\n+\n+        l(content, \"content\", 1, 1)\n+        l(tokens, \"tokens\", 1, 0, 1)\n+        l(ast, \"ast\")\n+        if (!isarray(ast) || !anything(ast)) {\n+            e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n+            ExitCode = 1\n+            return\n+        }\n+\n+        saveSortedIn = PROCINFO[\"sorted_in\"]\n+        PROCINFO[\"sorted_in\"] = \"compareByIndexFields\"\n+        j = 0\n+        for (i in ast) {\n+            if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"translations\" SUBSEP \"[[:digit:]]+\" SUBSEP \"beams\" \\\n+                SUBSEP \"[[:digit:]]+\" SUBSEP \"postprocessed_sentence$\") {\n+                temp = uprintf(unquote(unparameterize(ast[i])))\n+                append(translations, temp)\n+            }\n+            if (i ~ \"^0\" SUBSEP \"result\" SUBSEP \"translations\" SUBSEP j SUBSEP \"beams\" \\\n+                SUBSEP \"[[:digit:]]+\" SUBSEP \"postprocessed_sentence$\") {\n+                translation = j > 0 ? translation \" \" temp : translation temp\n+                j++\n+            }\n+        }\n+        PROCINFO[\"sorted_in\"] = saveSortedIn\n+    }\n \n     returnIl[0] = il = tolower(unparameterize(ast[0 SUBSEP \"result\" SUBSEP \"source_lang\"]))\n     if (Option[\"verbose\"] < -1)\n"}
{"commit":"cea3ab3e6bda9b72d3c93c5ed1eefd77d72ae1cc","subject":"not sure what this even is...","message":"not sure what this even is...\n\ngit-svn-id: 459970da87506910ac315916d0f5985452181198@3781 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe\n","repos":"sears\/bLSM,sears\/bLSM,sears\/bLSM","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- adriana-lima.awk\n+++ adriana-lima.awk\n@@ -1,130 +0,0 @@\n-#! \/usr\/bin\/awk -f\n-\n-BEGIN{\n-\n-    READ_SLA = 500;\n-    WRITE_SLA = 750;\n-    \n-    readcnt = 0;\n-    writecnt = 0;\n-\n-    wlat_tot = 0;\n-    wlat_max = 0;\n-    wlat_sqtot = 0;\n-    wlat_slafail = 0;\n-\n-    DIST_BUCKET_LENGTH = 100;\n-    DIST_BUCKET_COUNT = 20;\n-    for(i=1; i<=DIST_BUCKET_COUNT; i++)\n-    {\n-        rlat_dist[i] = 0;\n-        wlat_dist[i] = 0;\n-    }\n-    \n-\n-    rlat_tot = 0;\n-    rlat_max = 0;\n-    rlat_sqtot = 0;\n-    rlat_slafail = 0;\n-\n-    printf(\"READ SLA:\\t%d\\n\", READ_SLA);\n-    printf(\"WRITE SLA:\\t%d\\n\", WRITE_SLA);\n-    printf(\"\\n\");\n-    \n-}\n-\n-\/INFO - doRead()\/ { readcnt = readcnt + 1;\n-\n-    split(substr($0, match($0, \"latency:\")+ length(\"latency:\")+1), tmp_arr, \" \");\n-    #printf(\"%d\\n\", strtonum(tmp_arr[1]));\n-\n-    lat_val = strtonum(tmp_arr[1]);\n-\n-    dist_index = int(lat_val \/ DIST_BUCKET_LENGTH) + 1;\n-    if(dist_index > DIST_BUCKET_COUNT)\n-        dist_index = DIST_BUCKET_COUNT;\n-    rlat_dist[dist_index]++;\n-\n-    rlat_tot = rlat_tot + lat_val;\n-\n-    rlat_sqtot = rlat_sqtot + lat_val*lat_val;\n-    \n-    if(lat_val > rlat_max)\n-        rlat_max = lat_val;\n-\n-    if(lat_val > READ_SLA)\n-        rlat_slafail = rlat_slafail + 1;\n-    \n-}\n-\n-\n-\/INFO - doInsert()\/ { writecnt = writecnt + 1;\n-\n-    split(substr($0, match($0, \"latency:\")+ length(\"latency:\")+1), tmp_arr, \" \");\n-\n-    lat_val = tmp_arr[1];\n-    \n-    if(index(tmp_arr[1], \",\")!= 0)\n-        lat_val = substr(tmp_arr[1],1,index(tmp_arr[1],\",\")-1);\n-    \n-    #printf(\"%d\\n\", strtonum(lat_val));\n-    lat_val = strtonum(lat_val);\n-\n-    dist_index = int(lat_val \/ DIST_BUCKET_LENGTH) + 1;\n-    if(dist_index > DIST_BUCKET_COUNT)\n-        dist_index = DIST_BUCKET_COUNT;\n-    wlat_dist[dist_index]++;\n-    \n-    wlat_tot = wlat_tot + lat_val;\n-\n-    wlat_sqtot = wlat_sqtot + lat_val*lat_val;\n-\n-    if(lat_val > wlat_max)\n-        wlat_max = lat_val;\n-\n-    if(lat_val > WRITE_SLA)\n-        wlat_slafail = wlat_slafail + 1;\n-    \n-\n-}\n-\n-\n-END{\n-\n-    printf(\"R\/W ratio:\\t%.2f\\n\", strtonum(readcnt) \/ strtonum(writecnt));\n-\n-    printf(\"\\n\");\n-\n-    printf(\"#reads:\\t%d\\n\",readcnt);\n-    if(strtonum(readcnt) != 0)\n-    {\n-        printf(\"avg read latency:\\t%.2f\\n\", (rlat_tot \/ readcnt));\n-        printf(\"var read latency:\\t%.2f\\n\", (rlat_sqtot\/readcnt) - (rlat_tot\/readcnt)*(rlat_tot\/readcnt));\n-        printf(\"max read latency:\\t%.2f\\n\", rlat_max);\n-        printf(\"read SLA fail:\\t%d\\n\", rlat_slafail);\n-\n-        printf(\"\\nREAD LATENCY DISTRIBUTION\\n\");\n-        for(i=1; i<DIST_BUCKET_COUNT; i++)\n-            printf(\"\\t%d - %d:\\t%d\\n\", (i-1)*DIST_BUCKET_LENGTH, i*DIST_BUCKET_LENGTH-1, rlat_dist[i]);\n-        printf(\"\\t%d - Inf:\\t%d\\n\", (i-1)*DIST_BUCKET_LENGTH, rlat_dist[i]);\n-    }\n-    \n-    printf(\"\\n\");\n-    \n-    printf(\"#writes:\\t%d\\n\",writecnt);\n-    if(strtonum(writecnt) != 0)\n-    {\n-        printf(\"avg write latency:\\t%.2f\\n\", (wlat_tot \/ writecnt));\n-        printf(\"var write latency:\\t%.2f\\n\", (wlat_sqtot\/writecnt) - (wlat_tot\/writecnt)*(wlat_tot\/writecnt));\n-        printf(\"max write latency:\\t%.2f\\n\", wlat_max);\n-        printf(\"write SLA fail:\\t%d\\n\", wlat_slafail);\n-\n-        printf(\"\\nWRITE LATENCY DISTRIBUTION\\n\");\n-        for(i=1; i<DIST_BUCKET_COUNT; i++)\n-            printf(\"\\t%d - %d:\\t%d\\n\", (i-1)*DIST_BUCKET_LENGTH, i*DIST_BUCKET_LENGTH-1, wlat_dist[i]);\n-        printf(\"\\t%d - Inf:\\t%d\\n\", (i-1)*DIST_BUCKET_LENGTH, wlat_dist[i]);\n-    }\n-\n-    \n-}\n-\n"}
{"commit":"dd5a7e6be6286ce094ebf17114ab5ab2e0919646","subject":"+ Removed search for comment and swaped \\ for \/ in VMWARE_SCRIPT path","message":"+ Removed search for comment and swaped \\ for \/ in VMWARE_SCRIPT path\n","repos":"djw8605\/condor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,htcondor\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/condor,htcondor\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/condor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_vmgahp_config_to_win32.awk\n+++ src\/condor_examples\/convert_vmgahp_config_to_win32.awk\n@@ -38,8 +38,8 @@\n \n # Set it up so we can change the VMWARE_SCRIPT option if we choose to\n # do so in the installer\n-\/^#VMWARE_SCRIPT\/ {\n-\tprintf \"VMWARE_SCRIPT = $(BIN)\\condor_vm_vmware.pl\\n\"\n+\/^VMWARE_SCRIPT\/ {\n+\tprintf \"VMWARE_SCRIPT = $(BIN)\/condor_vm_vmware.pl\\n\"\n \tnext\n }\n \n"}
{"commit":"6e8ee312d3a418cb4ed86717e53b52d50e7362ec","subject":"fix pack script","message":"fix pack script\n","repos":"aryszka\/vacskamati,aryszka\/vacskamati","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/include.awk\n+++ scripts\/include.awk\n@@ -10,10 +10,12 @@\n \n $0 ~ placeholder {\n     open = gensub(\/{#.*$\/, \"\", 1, $0)\n-    name = gensub(\/^.*{#\\\\s*\/, \"\", 1, $0)\n-    name = gensub(\/\\\\s*#}.*$\/, \"\", 1, $0)\n-    name = gensub(\/([.]js)|([.]elm)$\/, min \".js\", 1, $2)\n     closer = gensub(\/^.*#}\/, \"\", 1, $0)\n+\n+    name = gensub(\/^.*{#\\s*\/, \"\", 1, $0)\n+    name = gensub(\/\\s*#}.*$\/, \"\", 1, name)\n+    name = gensub(\/([.]js)|([.]elm)$\/, min \".js\", 1, name)\n+\n     print open\n     system(\"cat obj\/\" name)\n     print closer\n"}
{"commit":"d0f58b5dc4942325ea5f455e6ee27d406c5863b5","subject":"URL wrangling.","message":"URL wrangling.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -1,5 +1,35 @@\n BEGIN {\n     print \"[\";\n+}\n+\n+function printUrlQueryString(queryString)\n+{\n+    split(queryString, pairs, \"&\", seps)\n+    len = length(pairs)\n+    for (j = 1; j < len; ++j) {\n+        split(pairs[j], keyValue, \"=\", seps2)\n+        k = keyValue[1]\n+        v = keyValue[2]\n+        printf \"\\t\\t\\\"%s\\\": \\\"%s\\\",\\n\", k, urlDecode(urlDecode(v))\n+    }\n+}\n+\n+function base64Decode(thing)\n+{\n+  \"echo \"$thing\" | base64 --decode\" | getline x\n+  return x\n+}\n+\n+function urlDecode(url) {\n+    for (i = 0x20; i < 0x40; ++i) {\n+        repl = sprintf(\"%c\", i);\n+        if ((repl == \"&\") || (repl == \"\\\\\")) {\n+            repl = \"\\\\\" repl;\n+        }\n+        url = gensub(sprintf(\"%%%02X\", i), repl, \"g\", url);\n+        url = gensub(sprintf(\"%%%02x\", i), repl, \"g\", url);\n+    }\n+    return url;\n }\n \n \/^#\/ {\n@@ -30,7 +60,10 @@\n     ssl_protocol = $21                # ssl-protocol\n     ssl_cipher = $22                  # ssl-cipher\n     x_edge_response_result_type = $23 # x-edge-response-result-type\n-    printf \"{\\n\\t\\\"date\\\": \\\"%s\\\",\\n\\t\\\"time\\\":\\\"%s\\\",\\n\\t\\\"x-edge-location\\\":\\\"\\%s\\\",\\n\\t\\\"sc-bytes\\\": \\\"%s\\\",\\n\\t\\\"c-ip\\\": \\\"%s\\\",\\n\\t\\\"cs-method\\\": \\\"%s\\\",\\n\\t\\\"cs(Host)\\\": \\\"%s\\\",\\n\\t\\\"cs-uri-stream\\\": \\\"%s\\\",\\n\\t\\\"sc-status\\\": \\\"%s\\\",\\n\\t\\\"cs(Referer)\\\": \\\"%s\\\",\\n\\t\\\"cs(User-Agent)\\\": \\\"%s\\\",\\n\\t\\\"cs-uri-query\\\": \\\"%s\\\",\\n\\t\\\"cs(Cookie)\\\": \\\"%s\\\",\\n\\t\\\"x-edge-result-type\\\": \\\"%s\\\",\\n\\t\\\"x-edge-request-id\\\": \\\"%s\\\",\\n\\t\\\"x-host-header\\\": \\\"%s\\\"\\n\\t\\\"cs-protocol\\\": \\\"%s\\\",\\n\\t\\\"cs-bytes\\\": \\\"%s\\\",\\n\\t\\\"time-taken\\\": \\\"%s\\\",\\n\\t\\\"x-forwarded-for\\\": \\\"%s\\\",\\n\\t\\\"ssl-protocol\\\": \\\"%s\\\",\\n\\t\\\"ssl-cipher\\\": \\\"%s\\\",\\n\\t\\\"x-edge-response-result-type\\\": \\\"%s\\\"\\n},\\n\", date, time, x_edge_location, sc_bytes, c_ip, cs_method, cs_Host, cs_uri_stem, sc_status, cs_Referer, cs_User_Agent, cs_uri_query, cs_Cookie, x_edge_result_type, x_edge_request_id, x_host_header, cs_protocol, cs_bytes, time_taken, x_forwarded_for, ssl_protocol, ssl_cipher, x_edge_response_result_type\n+    printf \"{\\n\\t\\\"date\\\": \\\"%s\\\",\\n\\t\\\"time\\\":\\\"%s\\\",\\n\\t\\\"x-edge-location\\\":\\\"\\%s\\\",\\n\\t\\\"sc-bytes\\\": \\\"%s\\\",\\n\\t\\\"c-ip\\\": \\\"%s\\\",\\n\\t\\\"cs-method\\\": \\\"%s\\\",\\n\\t\\\"cs(Host)\\\": \\\"%s\\\",\\n\\t\\\"cs-uri-stream\\\": \\\"%s\\\",\\n\\t\\\"sc-status\\\": \\\"%s\\\",\\n\\t\\\"cs(Referer)\\\": \\\"%s\\\",\\n\\t\\\"cs(User-Agent)\\\": \\\"%s\\\",\\n\\t\\\"cs(Cookie)\\\": \\\"%s\\\",\\n\\t\\\"x-edge-result-type\\\": \\\"%s\\\",\\n\\t\\\"x-edge-request-id\\\": \\\"%s\\\",\\n\\t\\\"x-host-header\\\": \\\"%s\\\"\\n\\t\\\"cs-protocol\\\": \\\"%s\\\",\\n\\t\\\"cs-bytes\\\": \\\"%s\\\",\\n\\t\\\"time-taken\\\": \\\"%s\\\",\\n\\t\\\"x-forwarded-for\\\": \\\"%s\\\",\\n\\t\\\"ssl-protocol\\\": \\\"%s\\\",\\n\\t\\\"ssl-cipher\\\": \\\"%s\\\",\\n\\t\\\"x-edge-response-result-type\\\": \\\"%s\\\",\\n\", date, time, x_edge_location, sc_bytes, c_ip, cs_method, cs_Host, cs_uri_stem, sc_status, cs_Referer, urlDecode(urlDecode(cs_User_Agent)), cs_Cookie, x_edge_result_type, x_edge_request_id, x_host_header, cs_protocol, cs_bytes, time_taken, x_forwarded_for, ssl_protocol, ssl_cipher, x_edge_response_result_type\n+  printf \"\\t\\\"cs-uri-query\\\": {\\n\"\n+  printUrlQueryString(cs_uri_query)\n+  printf \"\\t}\\n\"\n }\n \n END {\n"}
{"commit":"1e3c2899139e15a79802cba92d8da43b97c3c6da","subject":"GenTK: cache TK","message":"GenTK: cache TK\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/GenTK.awk\n+++ include\/GenTK.awk\n@@ -24,6 +24,8 @@\n function genTK(text,\n                ####\n                a, d, dLen, e, tkk, ub, vb) {\n+    if (TK[text]) return TK[text]\n+\n     tkk = systime() \/ 3600\n     ub = \"[43,45,51,94,43,98,43,45,102]\"\n     vb = \"[43,45,97,94,43,54]\"\n@@ -35,5 +37,5 @@\n     a = genRL(a, ub)\n     0 > a && (a = and(a, 2147483647) + 2147483648)\n     a %= 1e6\n-    return a \".\" xor(a, tkk)\n+    return TK[text] = a \".\" xor(a, tkk)\n }\n"}
{"commit":"a9f0969f7aa1b1fd1ae1f9b2828648644a443d44","subject":"Remove some debug output.","message":"Remove some debug output.\n","repos":"JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -273,8 +273,6 @@\n \tprint \"    solver.setThreadCount(param['threads'])\";\n \tprint \"if param['solver'] == 'Mistral':\";\n \tprint \"    # LUBY, GEOMETRIC = 0, 1\"\n-\tprint \"    print '%% running Mistral with restarts: %d %d %.1f' % (param['restart'], param['base'], param['factor'])\";\n-\t#print \"    solver.solveAndRestart(GEOMETRIC, 256, 1.3)\";\n \tprint \"    solver.solveAndRestart(param['restart'], param['base'], param['factor'])\";\n \tprint \"else:\";\n \tprint \"    solver.solve()\";\n"}
{"commit":"928887ff3de6aff3154307dfc4881739e6bfac5e","subject":"Help: reimplement getReference()","message":"Help: reimplement getReference()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -176,202 +176,103 @@\n         print getHelp()\n }\n \n+# Comparator using getName().\n+function compName(i1, v1, i2, v2) {\n+    if (getName(i1) < getName(i2)) return -1\n+    else return (getName(i1) != getName(i2))\n+}\n+\n # Return a reference table of languages as a string.\n # Parameters:\n #     displayName = \"endonym\" or \"name\"\n-function getReference(displayName) {\n-    if (displayName == \"name\")\n-        return \"\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\" RS \\\n-            \"\u2502 \" getName(\"af\") \"           - \" ansi(\"bold\", \"af\") \"    \u2502 \" \\\n-            getName(\"ha\") \"          - \" ansi(\"bold\", \"ha\") \"  \u2502 \"      \\\n-            getName(\"fa\") \"    - \" ansi(\"bold\", \"fa\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"sq\") \"            - \" ansi(\"bold\", \"sq\") \"    \u2502 \" \\\n-            getName(\"he\") \"         - \" ansi(\"bold\", \"he\") \"  \u2502 \"       \\\n-            getName(\"pl\") \"     - \" ansi(\"bold\", \"pl\") \" \u2502\" RS          \\\n-            \"\u2502 \" getName(\"ar\") \"              - \" ansi(\"bold\", \"ar\") \"    \u2502 \" \\\n-            getName(\"hi\") \"          - \" ansi(\"bold\", \"hi\") \"  \u2502 \"      \\\n-            getName(\"pt\") \" - \" ansi(\"bold\", \"pt\") \" \u2502\" RS              \\\n-            \"\u2502 \" getName(\"hy\") \"            - \" ansi(\"bold\", \"hy\") \"    \u2502 \" \\\n-            getName(\"hmn\") \"          - \" ansi(\"bold\", \"hmn\") \" \u2502 \"     \\\n-            getName(\"pa\") \"    - \" ansi(\"bold\", \"pa\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"az\") \"         - \" ansi(\"bold\", \"az\") \"    \u2502 \" \\\n-            getName(\"hu\") \"      - \" ansi(\"bold\", \"hu\") \"  \u2502 \"          \\\n-            getName(\"ro\") \"   - \" ansi(\"bold\", \"ro\") \" \u2502\" RS            \\\n-            \"\u2502 \" getName(\"eu\") \"              - \" ansi(\"bold\", \"eu\") \"    \u2502 \" \\\n-            getName(\"is\") \"      - \" ansi(\"bold\", \"is\") \"  \u2502 \"          \\\n-            getName(\"ru\") \"    - \" ansi(\"bold\", \"ru\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"be\") \"          - \" ansi(\"bold\", \"be\") \"    \u2502 \" \\\n-            getName(\"ig\") \"           - \" ansi(\"bold\", \"ig\") \"  \u2502 \"     \\\n-            getName(\"sr\") \"    - \" ansi(\"bold\", \"sr\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"bn\") \"             - \" ansi(\"bold\", \"bn\") \"    \u2502 \" \\\n-            getName(\"id\") \"     - \" ansi(\"bold\", \"id\") \"  \u2502 \"           \\\n-            getName(\"st\") \"    - \" ansi(\"bold\", \"st\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"bs\") \"             - \" ansi(\"bold\", \"bs\") \"    \u2502 \" \\\n-            getName(\"ga\") \"          - \" ansi(\"bold\", \"ga\") \"  \u2502 \"      \\\n-            getName(\"si\") \"    - \" ansi(\"bold\", \"si\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"bg\") \"           - \" ansi(\"bold\", \"bg\") \"    \u2502 \" \\\n-            getName(\"it\") \"        - \" ansi(\"bold\", \"it\") \"  \u2502 \"        \\\n-            getName(\"sk\") \"     - \" ansi(\"bold\", \"sk\") \" \u2502\" RS          \\\n-            \"\u2502 \" getName(\"ca\") \"             - \" ansi(\"bold\", \"ca\") \"    \u2502 \" \\\n-            getName(\"ja\") \"       - \" ansi(\"bold\", \"ja\") \"  \u2502 \"         \\\n-            getName(\"sl\") \"  - \" ansi(\"bold\", \"sl\") \" \u2502\" RS             \\\n-            \"\u2502 \" getName(\"ceb\") \"             - \" ansi(\"bold\", \"ceb\") \"   \u2502 \" \\\n-            getName(\"jv\") \"       - \" ansi(\"bold\", \"jv\") \"  \u2502 \"         \\\n-            getName(\"so\") \"     - \" ansi(\"bold\", \"so\") \" \u2502\" RS          \\\n-            \"\u2502 \" getName(\"ny\") \"            - \" ansi(\"bold\", \"ny\") \"    \u2502 \" \\\n-            getName(\"kn\") \"        - \" ansi(\"bold\", \"kn\") \"  \u2502 \"        \\\n-            getName(\"es\") \"    - \" ansi(\"bold\", \"es\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"zh-CN\") \"  - \" ansi(\"bold\", \"zh-CN\") \" \u2502 \"    \\\n-            getName(\"kk\") \"         - \" ansi(\"bold\", \"kk\") \"  \u2502 \"       \\\n-            getName(\"su\") \"  - \" ansi(\"bold\", \"su\") \" \u2502\" RS             \\\n-            \"\u2502 \" getName(\"zh-TW\") \" - \" ansi(\"bold\", \"zh-TW\") \" \u2502 \"     \\\n-            getName(\"km\") \"          - \" ansi(\"bold\", \"km\") \"  \u2502 \"      \\\n-            getName(\"sw\") \"    - \" ansi(\"bold\", \"sw\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"hr\") \"            - \" ansi(\"bold\", \"hr\") \"    \u2502 \" \\\n-            getName(\"ko\") \"         - \" ansi(\"bold\", \"ko\") \"  \u2502 \"       \\\n-            getName(\"sv\") \"    - \" ansi(\"bold\", \"sv\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"cs\") \"               - \" ansi(\"bold\", \"cs\") \"    \u2502 \" \\\n-            getName(\"lo\") \"            - \" ansi(\"bold\", \"lo\") \"  \u2502 \"    \\\n-            getName(\"tg\") \"      - \" ansi(\"bold\", \"tg\") \" \u2502\" RS         \\\n-            \"\u2502 \" getName(\"da\") \"              - \" ansi(\"bold\", \"da\") \"    \u2502 \" \\\n-            getName(\"la\") \"          - \" ansi(\"bold\", \"la\") \"  \u2502 \"      \\\n-            getName(\"ta\") \"      - \" ansi(\"bold\", \"ta\") \" \u2502\" RS         \\\n-            \"\u2502 \" getName(\"nl\") \"               - \" ansi(\"bold\", \"nl\") \"    \u2502 \" \\\n-            getName(\"lv\") \"        - \" ansi(\"bold\", \"lv\") \"  \u2502 \"        \\\n-            getName(\"te\") \"     - \" ansi(\"bold\", \"te\") \" \u2502\" RS          \\\n-            \"\u2502 \" getName(\"en\") \"             - \" ansi(\"bold\", \"en\") \"    \u2502 \" \\\n-            getName(\"lt\") \"     - \" ansi(\"bold\", \"lt\") \"  \u2502 \"           \\\n-            getName(\"th\") \"       - \" ansi(\"bold\", \"th\") \" \u2502\" RS        \\\n-            \"\u2502 \" getName(\"eo\") \"           - \" ansi(\"bold\", \"eo\") \"    \u2502 \" \\\n-            getName(\"mk\") \"     - \" ansi(\"bold\", \"mk\") \"  \u2502 \"           \\\n-            getName(\"tr\") \"    - \" ansi(\"bold\", \"tr\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"et\") \"            - \" ansi(\"bold\", \"et\") \"    \u2502 \" \\\n-            getName(\"mg\") \"       - \" ansi(\"bold\", \"mg\") \"  \u2502 \"         \\\n-            getName(\"uk\") \"  - \" ansi(\"bold\", \"uk\") \" \u2502\" RS             \\\n-            \"\u2502 \" getName(\"tl\") \"            - \" ansi(\"bold\", \"tl\") \"    \u2502 \" \\\n-            getName(\"ms\") \"          - \" ansi(\"bold\", \"ms\") \"  \u2502 \"      \\\n-            getName(\"ur\") \"       - \" ansi(\"bold\", \"ur\") \" \u2502\" RS        \\\n-            \"\u2502 \" getName(\"fi\") \"             - \" ansi(\"bold\", \"fi\") \"    \u2502 \" \\\n-            getName(\"ml\") \"      - \" ansi(\"bold\", \"ml\") \"  \u2502 \"          \\\n-            getName(\"uz\") \"      - \" ansi(\"bold\", \"uz\") \" \u2502\" RS         \\\n-            \"\u2502 \" getName(\"fr\") \"              - \" ansi(\"bold\", \"fr\") \"    \u2502 \" \\\n-            getName(\"mt\") \"        - \" ansi(\"bold\", \"mt\") \"  \u2502 \"        \\\n-            getName(\"vi\") \" - \" ansi(\"bold\", \"vi\") \" \u2502\" RS              \\\n-            \"\u2502 \" getName(\"gl\") \"            - \" ansi(\"bold\", \"gl\") \"    \u2502 \" \\\n-            getName(\"mi\") \"          - \" ansi(\"bold\", \"mi\") \"  \u2502 \"      \\\n-            getName(\"cy\") \"      - \" ansi(\"bold\", \"cy\") \" \u2502\" RS         \\\n-            \"\u2502 \" getName(\"ka\") \"            - \" ansi(\"bold\", \"ka\") \"    \u2502 \" \\\n-            getName(\"mr\") \"        - \" ansi(\"bold\", \"mr\") \"  \u2502 \"        \\\n-            getName(\"yi\") \"    - \" ansi(\"bold\", \"yi\") \" \u2502\" RS           \\\n-            \"\u2502 \" getName(\"de\") \"              - \" ansi(\"bold\", \"de\") \"    \u2502 \" \\\n-            getName(\"mn\") \"      - \" ansi(\"bold\", \"mn\") \"  \u2502 \"          \\\n-            getName(\"yo\") \"     - \" ansi(\"bold\", \"yo\") \" \u2502\" RS          \\\n-            \"\u2502 \" getName(\"el\") \"               - \" ansi(\"bold\", \"el\") \"    \u2502 \" \\\n-            getName(\"my\") \"        - \" ansi(\"bold\", \"my\") \"  \u2502 \"        \\\n-            getName(\"zu\") \"       - \" ansi(\"bold\", \"zu\") \" \u2502\" RS        \\\n-            \"\u2502 \" getName(\"gu\") \"            - \" ansi(\"bold\", \"gu\") \"    \u2502 \" \\\n-            getName(\"ne\") \"         - \" ansi(\"bold\", \"ne\") \"  \u2502 \"       \\\n-            \"                \u2502\" RS                                      \\\n-            \"\u2502 \" getName(\"ht\") \"      - \" ansi(\"bold\", \"ht\") \"    \u2502 \"   \\\n-            getName(\"no\") \"      - \" ansi(\"bold\", \"no\") \"  \u2502 \"          \\\n-            \"                \u2502\" RS                                      \\\n-            \"\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\"\n-    else\n-        return \"\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\" RS \\\n-            \"\u2502 \" getDisplay(\"af\") \"      - \" ansi(\"bold\", \"af\") \"  \u2502 \"  \\\n-            getDisplay(\"hu\") \"           - \" ansi(\"bold\", \"hu\") \" \u2502 \"   \\\n-            getDisplay(\"pl\") \"      - \" ansi(\"bold\", \"pl\") \"    \u2502\" RS   \\\n-            \"\u2502 \" getDisplay(\"ar\") \"        - \" ansi(\"bold\", \"ar\") \"  \u2502 \" \\\n-            getDisplay(\"hy\") \"          - \" ansi(\"bold\", \"hy\") \" \u2502 \"    \\\n-            getDisplay(\"pt\") \"   - \" ansi(\"bold\", \"pt\") \"    \u2502\" RS      \\\n-            \"\u2502 \" getDisplay(\"az\") \"   - \" ansi(\"bold\", \"az\") \"  \u2502 \"     \\\n-            getDisplay(\"id\") \" - \" ansi(\"bold\", \"id\") \" \u2502 \"             \\\n-            getDisplay(\"ro\") \"      - \" ansi(\"bold\", \"ro\") \"    \u2502\" RS   \\\n-            \"\u2502 \" getDisplay(\"be\") \"     - \" ansi(\"bold\", \"be\") \"  \u2502 \"   \\\n-            getDisplay(\"ig\") \"             - \" ansi(\"bold\", \"ig\") \" \u2502 \" \\\n-            getDisplay(\"ru\") \"     - \" ansi(\"bold\", \"ru\") \"    \u2502\" RS    \\\n-            \"\u2502 \" getDisplay(\"bg\") \"      - \" ansi(\"bold\", \"bg\") \"  \u2502 \"  \\\n-            getDisplay(\"is\") \"         - \" ansi(\"bold\", \"is\") \" \u2502 \"     \\\n-            getDisplay(\"si\") \"        - \" ansi(\"bold\", \"si\") \"    \u2502\" RS \\\n-            \"\u2502 \" getDisplay(\"bn\") \"          - \" ansi(\"bold\", \"bn\") \"  \u2502 \" \\\n-            getDisplay(\"it\") \"         - \" ansi(\"bold\", \"it\") \" \u2502 \"     \\\n-            getDisplay(\"sk\") \"  - \" ansi(\"bold\", \"sk\") \"    \u2502\" RS       \\\n-            \"\u2502 \" getDisplay(\"bs\") \"       - \" ansi(\"bold\", \"bs\") \"  \u2502 \" \\\n-            getDisplay(\"ja\") \"           - \" ansi(\"bold\", \"ja\") \" \u2502 \"   \\\n-            getDisplay(\"sl\") \" - \" ansi(\"bold\", \"sl\") \"    \u2502\" RS        \\\n-            \"\u2502 \" getDisplay(\"ca\") \"         - \" ansi(\"bold\", \"ca\") \"  \u2502 \" \\\n-            getDisplay(\"jv\") \"        - \" ansi(\"bold\", \"jv\") \" \u2502 \"      \\\n-            getDisplay(\"so\") \"    - \" ansi(\"bold\", \"so\") \"    \u2502\" RS     \\\n-            \"\u2502 \" getDisplay(\"ceb\") \"        - \" ansi(\"bold\", \"ceb\") \" \u2502 \" \\\n-            getDisplay(\"ka\") \"          - \" ansi(\"bold\", \"ka\") \" \u2502 \"    \\\n-            getDisplay(\"sq\") \"       - \" ansi(\"bold\", \"sq\") \"    \u2502\" RS  \\\n-            \"\u2502 \" getDisplay(\"cs\") \"        - \" ansi(\"bold\", \"cs\") \"  \u2502 \" \\\n-            getDisplay(\"kk\") \"       - \" ansi(\"bold\", \"kk\") \" \u2502 \"       \\\n-            getDisplay(\"sr\") \"      - \" ansi(\"bold\", \"sr\") \"    \u2502\" RS   \\\n-            \"\u2502 \" getDisplay(\"cy\") \"        - \" ansi(\"bold\", \"cy\") \"  \u2502 \" \\\n-            getDisplay(\"km\") \"         - \" ansi(\"bold\", \"km\") \" \u2502 \"     \\\n-            getDisplay(\"st\") \"     - \" ansi(\"bold\", \"st\") \"    \u2502\" RS    \\\n-            \"\u2502 \" getDisplay(\"da\") \"          - \" ansi(\"bold\", \"da\") \"  \u2502 \" \\\n-            getDisplay(\"kn\") \"             - \" ansi(\"bold\", \"kn\") \" \u2502 \" \\\n-            getDisplay(\"su\") \"  - \" ansi(\"bold\", \"su\") \"    \u2502\" RS       \\\n-            \"\u2502 \" getDisplay(\"de\") \"        - \" ansi(\"bold\", \"de\") \"  \u2502 \" \\\n-            getDisplay(\"ko\") \"           - \" ansi(\"bold\", \"ko\") \" \u2502 \"   \\\n-            getDisplay(\"sv\") \"     - \" ansi(\"bold\", \"sv\") \"    \u2502\" RS    \\\n-            \"\u2502 \" getDisplay(\"el\") \"       - \" ansi(\"bold\", \"el\") \"  \u2502 \" \\\n-            getDisplay(\"la\") \"           - \" ansi(\"bold\", \"la\") \" \u2502 \"   \\\n-            getDisplay(\"sw\") \"   - \" ansi(\"bold\", \"sw\") \"    \u2502\" RS      \\\n-            \"\u2502 \" getDisplay(\"en\") \"        - \" ansi(\"bold\", \"en\") \"  \u2502 \" \\\n-            getDisplay(\"lo\") \"              - \" ansi(\"bold\", \"lo\") \" \u2502 \" \\\n-            getDisplay(\"ta\") \"        - \" ansi(\"bold\", \"ta\") \"    \u2502\" RS \\\n-            \"\u2502 \" getDisplay(\"eo\") \"      - \" ansi(\"bold\", \"eo\") \"  \u2502 \"  \\\n-            getDisplay(\"lt\") \"         - \" ansi(\"bold\", \"lt\") \" \u2502 \"     \\\n-            getDisplay(\"te\") \"       - \" ansi(\"bold\", \"te\") \"    \u2502\" RS  \\\n-            \"\u2502 \" getDisplay(\"es\") \"        - \" ansi(\"bold\", \"es\") \"  \u2502 \" \\\n-            getDisplay(\"lv\") \"         - \" ansi(\"bold\", \"lv\") \" \u2502 \"     \\\n-            getDisplay(\"tg\") \"      - \" ansi(\"bold\", \"tg\") \"    \u2502\" RS   \\\n-            \"\u2502 \" getDisplay(\"et\") \"          - \" ansi(\"bold\", \"et\") \"  \u2502 \" \\\n-            getDisplay(\"mg\") \"         - \" ansi(\"bold\", \"mg\") \" \u2502 \"     \\\n-            getDisplay(\"th\") \"         - \" ansi(\"bold\", \"th\") \"    \u2502\" RS \\\n-            \"\u2502 \" getDisplay(\"eu\") \"        - \" ansi(\"bold\", \"eu\") \"  \u2502 \" \\\n-            getDisplay(\"mi\") \"            - \" ansi(\"bold\", \"mi\") \" \u2502 \"  \\\n-            getDisplay(\"tl\") \"     - \" ansi(\"bold\", \"tl\") \"    \u2502\" RS    \\\n-            \"\u2502 \" getDisplay(\"fa\") \"          - \" ansi(\"bold\", \"fa\") \"  \u2502 \" \\\n-            getDisplay(\"mk\") \"       - \" ansi(\"bold\", \"mk\") \" \u2502 \"       \\\n-            getDisplay(\"tr\") \"      - \" ansi(\"bold\", \"tr\") \"    \u2502\" RS   \\\n-            \"\u2502 \" getDisplay(\"fi\") \"          - \" ansi(\"bold\", \"fi\") \"  \u2502 \" \\\n-            getDisplay(\"ml\") \"           - \" ansi(\"bold\", \"ml\") \" \u2502 \"   \\\n-            getDisplay(\"uk\") \"  - \" ansi(\"bold\", \"uk\") \"    \u2502\" RS       \\\n-            \"\u2502 \" getDisplay(\"fr\") \"       - \" ansi(\"bold\", \"fr\") \"  \u2502 \" \\\n-            getDisplay(\"mn\") \"           - \" ansi(\"bold\", \"mn\") \" \u2502 \"   \\\n-            getDisplay(\"ur\") \"        - \" ansi(\"bold\", \"ur\") \"    \u2502\" RS \\\n-            \"\u2502 \" getDisplay(\"ga\") \"        - \" ansi(\"bold\", \"ga\") \"  \u2502 \" \\\n-            getDisplay(\"mr\") \"            - \" ansi(\"bold\", \"mr\") \" \u2502 \"  \\\n-            getDisplay(\"uz\") \" - \" ansi(\"bold\", \"uz\") \"    \u2502\" RS        \\\n-            \"\u2502 \" getDisplay(\"gl\") \"         - \" ansi(\"bold\", \"gl\") \"  \u2502 \" \\\n-            getDisplay(\"ms\") \"    - \" ansi(\"bold\", \"ms\") \" \u2502 \"          \\\n-            getDisplay(\"vi\") \"  - \" ansi(\"bold\", \"vi\") \"    \u2502\" RS       \\\n-            \"\u2502 \" getDisplay(\"gu\") \"         - \" ansi(\"bold\", \"gu\") \"  \u2502 \" \\\n-            getDisplay(\"mt\") \"            - \" ansi(\"bold\", \"mt\") \" \u2502 \"  \\\n-            getDisplay(\"yi\") \"       - \" ansi(\"bold\", \"yi\") \"    \u2502\" RS  \\\n-            \"\u2502 \" getDisplay(\"ha\") \"          - \" ansi(\"bold\", \"ha\") \"  \u2502 \" \\\n-            getDisplay(\"my\") \"          - \" ansi(\"bold\", \"my\") \" \u2502 \"    \\\n-            getDisplay(\"yo\") \"      - \" ansi(\"bold\", \"yo\") \"    \u2502\" RS   \\\n-            \"\u2502 \" getDisplay(\"he\") \"          - \" ansi(\"bold\", \"he\") \"  \u2502 \" \\\n-            getDisplay(\"ne\") \"            - \" ansi(\"bold\", \"ne\") \" \u2502 \"  \\\n-            getDisplay(\"zh-CN\") \"    - \" ansi(\"bold\", \"zh-CN\") \" \u2502\" RS  \\\n-            \"\u2502 \" getDisplay(\"hi\") \"          - \" ansi(\"bold\", \"hi\") \"  \u2502 \" \\\n-            getDisplay(\"nl\") \"       - \" ansi(\"bold\", \"nl\") \" \u2502 \"       \\\n-            getDisplay(\"zh-TW\") \"    - \" ansi(\"bold\", \"zh-TW\") \" \u2502\" RS  \\\n-            \"\u2502 \" getDisplay(\"hmn\") \"          - \" ansi(\"bold\", \"hmn\") \" \u2502 \" \\\n-            getDisplay(\"no\") \"            - \" ansi(\"bold\", \"no\") \" \u2502 \"  \\\n-            getDisplay(\"zu\") \"     - \" ansi(\"bold\", \"zu\") \"    \u2502\" RS    \\\n-            \"\u2502 \" getDisplay(\"hr\") \"       - \" ansi(\"bold\", \"hr\") \"  \u2502 \" \\\n-            getDisplay(\"ny\") \"           - \" ansi(\"bold\", \"ny\") \" \u2502 \"   \\\n-            \"                    \u2502\" RS                                  \\\n-            \"\u2502 \" getDisplay(\"ht\") \" - \" ansi(\"bold\", \"ht\") \"  \u2502 \"       \\\n-            getDisplay(\"pa\") \"            - \" ansi(\"bold\", \"pa\") \" \u2502 \"  \\\n-            \"                    \u2502\" RS                                  \\\n-            \"\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\"\n+function getReference(displayName,\n+                      ####\n+                      code, col, cols, i, j, name, rows, r, saveSortedIn, t, tt) {\n+    rows = int(length(Locale) \/ 3) + 1\n+    cols[0][0] = cols[1][0] = cols[2][0] = NULLSTR\n+    i = 0\n+    saveSortedIn = PROCINFO[\"sorted_in\"]\n+    PROCINFO[\"sorted_in\"] = displayName == \"endonym\" ? \"@ind_num_asc\" :\n+        \"compName\"\n+    for (code in Locale) {\n+        col = int(i \/ rows)\n+        append(cols[col], code)\n+        i++\n+    }\n+    PROCINFO[\"sorted_in\"] = saveSortedIn\n+\n+    if (displayName == \"endonym\") {\n+        r = \"\u250c\" replicate(\"\u2500\", 22) \"\u252c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u2510\" RS\n+        for (i = 0; i < rows; i++) {\n+            r = r \"\u2502 \"\n+            for (j = 0; j < 3; j++) {\n+                if (cols[j][i]) {\n+                    t = cols[j][i] == \"he\" ||\n+                        cols[j][i] == \"hi\" ||\n+                        cols[j][i] == \"hu\" ||\n+                        cols[j][i] == \"la\" ||\n+                        cols[j][i] == \"ml\" ||\n+                        cols[j][i] == \"mn\" ||\n+                        cols[j][i] == \"ne\" ||\n+                        cols[j][i] == \"ny\" ||\n+                        cols[j][i] == \"pa\" ||\n+                        cols[j][i] == \"pl\" ||\n+                        cols[j][i] == \"ro\" ||\n+                        cols[j][i] == \"sr\" ||\n+                        cols[j][i] == \"te\" ||\n+                        cols[j][i] == \"tg\" ||\n+                        cols[j][i] == \"tr\" ||\n+                        cols[j][i] == \"ur\" ||\n+                        cols[j][i] == \"yi\" ||\n+                        cols[j][i] == \"yo\" ||\n+                        (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\" &&\n+                         length(getEndonym(cols[j][i])) < 6) ? \"\\t\\t \" :\n+                        cols[j][i] == \"ht\" ? \" \" :\n+                        cols[j][i] == \"id\" ? \"\" :\n+                        \"\\t \"\n+                    tt = length(cols[j][i]) == 3 ? \" \u2502\" :\n+                        (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\") ? \"  \u2502\" : \"\"\n+                    r = r getDisplay(cols[j][i]) t \"- \" ansi(\"bold\", cols[j][i]) tt \" \"\n+                } else\n+                    r = r \"\\t\\t       \u2502\"\n+            }\n+            r = r RS\n+        }\n+        r = r \"\u2514\" replicate(\"\u2500\", 22) \"\u2534\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2518\"\n+    } else {\n+        r = \"\u250c\" replicate(\"\u2500\", 22) \"\u252c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u2510\" RS\n+        for (i = 0; i < rows; i++) {\n+            r = r \"\u2502 \"\n+            for (j = 0; j < 3; j++) {\n+                if (cols[j][i]) {\n+                    t = cols[j][i] == \"he\" ||\n+                        cols[j][i] == \"kk\" ||\n+                        cols[j][i] == \"ko\" ||\n+                        cols[j][i] == \"ne\" ||\n+                        cols[j][i] == \"pl\" ||\n+                        cols[j][i] == \"sk\" ||\n+                        cols[j][i] == \"so\" ||\n+                        cols[j][i] == \"te\" ||\n+                        cols[j][i] == \"yo\" ||\n+                        (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\" &&\n+                         length(getName(cols[j][i])) < 6) ? \"\\t\\t \" :\n+                        cols[j][i] == \"ht\" ? \" \" :\n+                        \"\\t \"\n+                    tt = length(cols[j][i]) == 3 ? \" \u2502\" :\n+                        (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\") ? \"  \u2502\" : \"\"\n+                    name = getName(cols[j][i])\n+                    if (cols[j][i] == \"zh-CN\" ||\n+                        cols[j][i] == \"zh-TW\")\n+                        name = substr(name, 1, 12) \".\"\n+                    r = r name t \"- \" ansi(\"bold\", cols[j][i]) tt \" \"\n+                } else\n+                    r = r \"\\t\\t       \u2502\"\n+            }\n+            r = r RS\n+        }\n+        r = r \"\u2514\" replicate(\"\u2500\", 22) \"\u2534\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2518\"\n+    }\n+    return r\n }\n \n # Return detailed information of languages as a string.\n"}
{"commit":"32c54e3e3f62c547f5566e8d811bc4213ed3ed40","subject":"gofrontend: deduplicate C syscall function declarations","message":"gofrontend: deduplicate C syscall function declarations\n\nA gccgo language extension allows a function to be declared multiple\ntimes. Avoid the use of this extension by dedeplicating declarations\nin mksyscall.awk.\n\nR=iant\nCC=gofrontend-dev\nhttps:\/\/golang.org\/cl\/89130043\n","repos":"anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- libgo\/go\/syscall\/mksyscall.awk\n+++ libgo\/go\/syscall\/mksyscall.awk\n@@ -96,8 +96,11 @@\n     cfnresult = line\n \n     printf(\"\/\/ Automatically generated wrapper for %s\/%s\\n\", gofnname, cfnname)\n-    printf(\"\/\/extern %s\\n\", cfnname)\n-    printf(\"func c_%s(%s) %s\\n\", cfnname, cfnparams, cfnresult)\n+    if (!(cfnname in cfns)) {\n+        cfns[cfnname] = 1\n+        printf(\"\/\/extern %s\\n\", cfnname)\n+        printf(\"func c_%s(%s) %s\\n\", cfnname, cfnparams, cfnresult)\n+    }\n     printf(\"func %s(%s) %s%s%s%s{\\n\",\n \t   gofnname, gofnparams, gofnresults == \"\" ? \"\" : \"(\", gofnresults,\n \t   gofnresults == \"\" ? \"\" : \")\", gofnresults == \"\" ? \"\" : \" \")\n"}
{"commit":"5e5dd1a20505ab7b22b4b75de611b870502cc9a6","subject":"Delete silly AWK version.","message":"Delete silly AWK version.\n","repos":"diku-kmc\/kleenexlang,diku-kmc\/repg,diku-kmc\/kleenexlang,diku-kmc\/kleenexlang,diku-kmc\/repg,diku-kmc\/repg,diku-kmc\/kleenexlang,diku-kmc\/repg,diku-kmc\/kleenexlang,diku-kmc\/kleenexlang,diku-kmc\/repg,diku-kmc\/repg","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bench\/gawk\/src\/csv_project3.awk\n+++ bench\/gawk\/src\/csv_project3.awk\n@@ -1,31 +0,0 @@\n-#!\/bin\/sh\n-REALLY_UGLY_SHEBANG_HACK==0 \"exec\" \"gawk\" \"-f\" \"$0\" \"$@\"\n-\n-# Awk version of the \"csv_project3\" program.\n-BEGIN {\n-    # Always pick the GNU date function, so we can get nanosec precision.\n-    # If installed via coreutils with Macports on OS X, it is called gdate.\n-    \"uname\" | getline uname\n-    if (uname == \"Darwin\")\n-        date = \"gdate\"\n-    else\n-        date = \"date\"\n-    date \" +%s%N | cut -b1-13\" |& getline start\n-\n-    regex=\"^([^,\\n]*),([^,\\n]*),([^,\\n]*),([^,\\n]*),([^,\\n]*),([^,\\n]*)$\"\n-}\n-\n-match($0, regex, m) {\n-    print m[2] \"\\t\" m[5]\n-}\n-$0 !~ regex {\n-     printf \"match error!\\n\"\n-     exit 1\n-}\n-\n-END {\n-    date \" +%s%N | cut -b1-13\" | getline end\n-    elaps = end - start\n-    print \"\\nmatching (ms): \" elaps > \"\/dev\/stderr\"\n-\n-}\n"}
{"commit":"c4ca0b45f795c7539e24e0b082c667bd07168646","subject":"Fix tailrecurse test","message":"Fix tailrecurse test\n\n* GoAWK doesn't have non-POSIX length(array) support\n* We don't correctly parse \"! c--\" right now (see other skipped tests)\n* Accessing B[\"\"] doesn't set it (right now)\n","repos":"benhoyt\/goawk,benhoyt\/goawk,benhoyt\/goawk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- testdata\/gawk\/tailrecurse.awk\n+++ testdata\/gawk\/tailrecurse.awk\n@@ -3,13 +3,20 @@\n }\n \n \n+function array_length(a,   k, n) {\n+    n = 0\n+    for (k in a) n++\n+    return n\n+}\n+\n function abc(c, A, B)\n {\n-\tprint \"abc(\" c \", \" length(A) \")\"\n-\tif (! c--) {\n+\tprint \"abc(\" c \", \" array_length(A) \")\"\n+\tif (!c) {\n \t\treturn \n \t}\n-\tB[\"\"]\n-\tprint length(B)\n+    c--\n+\tB[\"\"] = 1\n+\tprint array_length(B)\n \treturn abc(c, B)\n }\n"}
{"commit":"722add6526a2331523b79267e227ff070f7aa61e","subject":"use default encoding (8859-1) for automat-SIP communicatin","message":"use default encoding (8859-1) for automat-SIP communicatin\n","repos":"digibib\/koha-salt-docker,digibib\/koha-salt-docker,digibib\/koha-docker,digibib\/koha-salt-docker,digibib\/koha-docker,digibib\/koha-salt-docker,digibib\/koha-docker,digibib\/koha-docker,digibib\/koha-docker,digibib\/koha-salt-docker,digibib\/koha-docker","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- files\/templates\/instance\/SIPconfig.template_automats.awk\n+++ files\/templates\/instance\/SIPconfig.template_automats.awk\n@@ -2,7 +2,7 @@\n   FS=\",\"\n }\n {\n-\tprint \"\\t<login encoding=\\\"utf8\\\" id=\\\"\"$1\"\\\" password=\\\"\"$2\"\\\" delimiter=\\\"|\\\" error-detect=\\\"enabled\\\" institution=\\\"\"$3\"\\\" checked_in_ok=\\\"1\\\">\"\n+\tprint \"\\t<login id=\\\"\"$1\"\\\" password=\\\"\"$2\"\\\" delimiter=\\\"|\\\" error-detect=\\\"enabled\\\" institution=\\\"\"$3\"\\\" checked_in_ok=\\\"1\\\">\"\n \tprint \"\\t\\t<!-- General messages -->\"\n \tprint \"\\t\\t<screen_msg_regex find=\\\"^.*Invalid password.*$\\\" replace=\\\"Feil passord\\\" \/>\"\n \tprint \"\\t\\t<!-- Checkout screen messages we can translate directly -->\"\n"}
{"commit":"9be9c1c865bdb5aea29b20d6f9f8b78bf65e3594","subject":"POSIX { and delete TODO: still not POSIX compatible due to \"match()\"","message":"POSIX { and delete\nTODO: still not POSIX compatible due to \"match()\"\n\n\ngit-svn-id: 88e1a00e4eab3b0bb0c09889526309a3e2f5bd8a@23 c26eb9a1-5813-0410-bd6c-c2e55f420ca7\n","repos":"lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -2,7 +2,6 @@\n # vim:ts=4:sw=4\n BEGIN {\n \tbrace = 0;\n-\tdelete buffer;\n \tbuffer_len = 0;\n }\n \/^}.*;\/ {\n@@ -33,14 +32,16 @@\n \t\tprintf \"define(`COUNTOF_%s', `%s')\\n\", instruct, i;\n \t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, elm;\n \t\tprint \"\\n\";\n-\t\tdelete buffer;\n+\t\tfor (i in buffer) {\n+\t\t\tdelete buffer[i];\n+\t\t}\n \t\tbuffer_len = 0;\n \t\tinstruct = 0;\n \t}\n \tnext;\n }\n \n-\/.{\/ {\n+\/.\\{\/ {\n \tbrace = brace + 1;\n }\n \/.}\/ {\n@@ -75,13 +76,13 @@\n \ttypedefs[$3] = $4;\n \tnext;\n }\n-\/^typedef struct .*{\/ {\n+\/^typedef struct .*\\{\/ {\n \tbrace = 1;\n \tinstruct = 1;\n \tnext;\n }\n \n-\/^struct .*{\/ {\n+\/^struct .*\\{\/ {\n \tinstruct = $2;\n \tbrace = 1;\n \tnext;\n"}
{"commit":"2fad58edd110cb41704093b05269d819fc00a15b","subject":"Translators\/GoogleTranslate: hint for autocorrection and handle -no-autocorrect option","message":"Translators\/GoogleTranslate: hint for autocorrection and handle -no-autocorrect option\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -52,11 +52,12 @@\n     HttpPort = 80\n }\n \n-function googleRequestUrl(text, sl, tl, hl) {\n+function googleRequestUrl(text, sl, tl, hl,    qc) {\n+    qc = Option[\"no-autocorrect\"] ? \"qc\" : \"qca\";\n     return HttpPathPrefix \"\/translate_a\/single?client=gtx\"              \\\n         \"&ie=UTF-8&oe=UTF-8\"                                            \\\n-        \"&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at\"  \\\n-        \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl                                   \\\n+        \"&dt=bd&dt=ex&dt=ld&dt=md&dt=rw&dt=rm&dt=ss&dt=t&dt=at\"         \\\n+        \"&dt=\" qc \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl                         \\\n         \"&q=\" preprocess(text)\n }\n \n@@ -148,6 +149,10 @@\n         if (match(i, \"^0\" SUBSEP \"5\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n             altTranslations[group[1]][group[2]] = postprocess(literal(ast[i]))\n \n+        # 7 - autocorrection\n+        if (i ~ \"^0\" SUBSEP \"7\" SUBSEP \"5$\")\n+            w(\"Showing translation for:  (use -no-auto to disable autocorrect)\")\n+\n         # 8 - identified source languages\n         if (i ~ \"^0\" SUBSEP \"8\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+$\" ||\n             i ~ \"^0\" SUBSEP \"2$\")\n"}
{"commit":"c344c17bf14364b7e4bb5c167364ef88c39cc065","subject":"Commons: add SUPOUT","message":"Commons: add SUPOUT\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -10,7 +10,8 @@\n     STDOUT = \"\/dev\/stdout\"\n     STDERR = \"\/dev\/stderr\"\n \n-    SUPERR = \" 2> \/dev\/null\" # suppress errors\n+    SUPOUT = \" > \/dev\/null \"  # suppress output\n+    SUPERR = \" 2> \/dev\/null \" # suppress error\n }\n \n # Initialize `UrlEncoding`.\n"}
{"commit":"9feac3ce14f6eac55db3da6118982bc917355ad8","subject":"Better output flushing, maybe?","message":"Better output flushing, maybe?\n","repos":"jspahrsummers\/objc-build-scripts,hsavit1\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xcodebuild.awk\n+++ xcodebuild.awk\n@@ -3,6 +3,10 @@\n # 0 - No errors found.\n # 1 - Build or test failure. Errors will be logged automatically.\n # 2 - Untestable target. Retry with the \"build\" action.\n+\n+BEGIN {\n+    status = 0;\n+}\n \n {\n     print;\n@@ -15,13 +19,18 @@\n \n \/[0-9]+: (error|warning):\/ {\n     errors = errors $0 \"\\n\";\n+    status = 1;\n }\n \n \/(TEST|BUILD) FAILED\/ {\n+    status = 1;\n+}\n+\n+END {\n     if (length(errors) > 0) {\n         print \"\\n*** All errors:\\n\" errors;\n     }\n \n     fflush(stdout);\n-    exit 1;\n+    exit status;\n }\n"}
{"commit":"b574230c457a924da9be64cc8053f4c383b0f91f","subject":"Explicitly discard refSink() result","message":"Explicitly discard refSink() result\n","repos":"rhx\/SwiftGObject,rhx\/SwiftGObject,rhx\/SwiftGObject","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- GObject-2.0.awk\n+++ GObject-2.0.awk\n@@ -16,7 +16,7 @@\n   if (unowned) {\n     unowned = 0\n     print\n-    print \"        refSink()\"\n+    print \"        _ = refSink()\"\n     next\n   }\n }\n"}
{"commit":"9727c7ea42019dd1731dc9e3a4dd2dde72df0cc4","subject":"added bundledby, equiv_prop, sub_prop, range_template, range_name to eparams template","message":"added bundledby, equiv_prop, sub_prop, range_template, range_name to eparams template\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -222,10 +222,19 @@\n    if(length(conversionID)) { \n       # NOTE: This MUST NOT be added to the raw interpretation parameters,\n       #       otherwise columns will collapse together prematurely (with human approval).\n+      printf(\"         #conversion:bundled_by [ ov:csvCol 1 ];\\n\");\n       printf(\"         #conversion:label   \\\"%s\\\";\\n\",cellValue);\n+      printf(\"         #conversion:equivalent_property dcterms:identifier;\\n\");\n+      printf(\"         #conversion:subproperty_of      dcterms:identifier;\\n\");\n    }\n    printf(\"         conversion:comment \\\"\\\";\\n\");\n+   if(length(conversionID)) { \n+      printf(\"         #conversion:range_template  \\\"[\/sd]thing[.]\\\";\\n\");\n+   }\n    printf(\"         conversion:range   %s:Literal;\\n\",RDFS); # Either 'rdfs' or 'todo' (for raw and e*, respectively)\n+   if(length(conversionID)) { \n+      printf(\"         #conversion:range_name  \\\"Thing\\\";\\n\");\n+   }\n    if(length(conversionID)) { \n       if( length(onlyIfCol) && onlyIfCol == i ) {\n          print \"         a conversion:Only_if_column;\"\n"}
{"commit":"181759445845fd7299a5c25b027d80096b7be2d9","subject":"Ignore a sub-topic match if it is inside the command description. Otherwise, merge-help can get confused by a command description that includes a word that starts with a capital S.","message":"Ignore a sub-topic match if it is inside the command description.\nOtherwise, merge-help can get confused by a command description that\nincludes a word that starts with a capital S.\n\nMFC after:\t1 week\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"5e9470ecc5a3f95781acbb1117dee587586ae0d6","subject":"get_vectors script updated to avoid collisions between relevant and randomly chosen tokens","message":"get_vectors script updated to avoid collisions between relevant and randomly chosen tokens\n\n(cherry picked from commit f4a343775778d675c2b626e3565a2cde9230114b)\n","repos":"WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/get_vectors.awk\n+++ scripts\/get_vectors.awk\n@@ -2,31 +2,42 @@\n \n ##################################################################\n BEGIN {\n-    if (ARGC != 3) {\n-\tprintf(\"Incorrect number of arguments.\") > \"\/dev\/stderr\"\n+    if (ARGC != 4) {\n+\tprintf(\"Incorrect number of arguments.\") > \"\/sys\/stderr\"\n \texit 1\n     }\n \n+    ret = 0\n+    WCL = 0 + ARGV[1]\n     # obtain words to fetch\n-    ifile = ARGV[1]\n+    ifile = ARGV[2]\n     while ((ret = (getline < ifile)) > 0) {\n \tif (!NF)\n \t    continue\n-\n-        gsub(\/[[:space:]]+$\/, \"\")\n-        gsub(\/^[[:space:]]+\/, \"\")\n-        if ($0 in WORD2SEEK)\n+\t# else if (NF != 2) {\n+\t#     printf(\"Incorrect line format: %s\", $0) > \"\/sys\/stderr\"\n+\t#     exit 2\n+\t# }\n+        $1 = tolower($1)\n+        if ($1 in WORD2SEEK)\n           continue\n \n-\tWORD2SEEK[$0] = \"\"\n+\tWORD2SEEK[$1] = \"\"\n         ++w_cnt\n     }\n-    ARGV[1] = \"\"\n+    ARGV[1] = ARGV[2] = \"\"\n+    # obtain random line numbers to fetch\n+    srand()\n+    wcl = WCL > 1? WCL - 1: 0\n+    for (i = 1; i < WCL; ++i) {\n+\trandarr[i] = rand() * wcl + 1\n+    }\n+    asorti(randarr, tmparr)\n+    wcl = WCL \/ 500\n+    for (i = 1; i < wcl; ++i) {\n+\tFNR2SEEK[tmparr[i]] = \"\"\n+    }\n }\n \n ##################################################################\n-NF && FNR > 1 && ($1 in WORD2SEEK) {\n-  print $0\n-  if (--w_cnt <= 0)\n-    exit\n-}\n+NF && FNR > 1 && ($1 in WORD2SEEK || FNR in FNR2SEEK)\n"}
{"commit":"c491994428f043f1866f58be27eb760f09c6e6d3","subject":"aux\/ematch.awk: slightly simplify bounds expansion code","message":"aux\/ematch.awk: slightly simplify bounds expansion code\n","repos":"modernish\/modernish","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- lib\/modernish\/aux\/ematch.awk\n+++ lib\/modernish\/aux\/ematch.awk\n@@ -184,6 +184,7 @@\n \t\t} else if (c == \"{\" && match(substr(ere, i+1, 1), \/[0123456789]\/)) {\n \t\t\t# Interval expression, a.k.a. repetition expression, a.k.a. bound.\n \t\t\t# Expand it in terms of the repetition operators '*', '+' and '?'.\n+\t\t\tpiece = \"\";\n \t\t\tisave = i;\n \t\t\tb = 1;\t\t# number of bound params\n \t\t\tm = \"\"; n = \"\";\t# bound params\n@@ -203,16 +204,14 @@\n \t\t\t\terrorout(\"bound: too many parameters\", ere, isave);\n \t\t\tif (b == 1) {\n \t\t\t\t# {m}: exactly m occurrences\n-\t\t\t\tpiece = \"\";\n \t\t\t\tfor (j = 1; j <= m; j++)\n \t\t\t\t\tpiece = (piece)(atom);\n \t\t\t} else if (n == \"\") {\n \t\t\t\t# {m,}: at least m occurrences\n-\t\t\t\tpiece = atom;\n \t\t\t\tif (m == 0) {\n-\t\t\t\t\tpiece = (piece)(\"*\");\n+\t\t\t\t\tpiece = (atom)(\"*\");\n \t\t\t\t} else {\n-\t\t\t\t\tfor (j = 2; j <= m; j++)\n+\t\t\t\t\tfor (j = 1; j <= m; j++)\n \t\t\t\t\t\tpiece = (piece)(atom);\n \t\t\t\t\tpiece = (piece)(\"+\");\n \t\t\t\t}\n@@ -220,7 +219,6 @@\n \t\t\t\t# {m,n}: any number of occurrences between m and n, inclusive\n \t\t\t\tif (n < m)\n \t\t\t\t\terrorout(\"bad bound: max < min\", ere, isave);\n-\t\t\t\tpiece = \"\";\n \t\t\t\tfor (j = 1; j <= m; j++)\n \t\t\t\t\tpiece = (piece)(atom);\n \t\t\t\tfor (; j <= n; j++)\n"}
{"commit":"143f7156f06ea841849910e2e4121d5310633688","subject":"\"-1\" -> \"PCMCIA_PRODUCT_INVALID\"","message":"\"-1\" -> \"PCMCIA_PRODUCT_INVALID\"\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/pcmcia\/devlist2h.awk\n+++ dev\/pcmcia\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.2 1999\/04\/30 07:28:25 fgsch Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.3 1999\/08\/18 22:30:04 d Exp $\n #\t$NetBSD: devlist2h.awk,v 1.2 1998\/07\/22 11:47:13 christos Exp $\n #\n # Copyright (c) 1998, Christos Zoulas\n@@ -99,7 +99,7 @@\n \tf = 5;\n \n \tif ($4 == \"{\") {\n-\t\tproducts[nproducts, 3] = -1\n+\t\tproducts[nproducts, 3] = \"PCMCIA_PRODUCT_INVALID\"\n \t\tz = \"{ \"\n \t\tfor (i = 0; i < 4; i++) {\n \t\t\tif (f <= NF) {\n"}
{"commit":"4be20f324045adc23d9585c0df5b89b759ab31b4","subject":"Languages: update section C","message":"Languages: update section C\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -276,9 +276,24 @@\n     Locale[\"bg\"][\"spoken-in\"]          = \"Bulgaria\"\n     Locale[\"bg\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #12 Catalan (Standard Catalan)\n+    # Cantonese\n+    Locale[\"yue\"][\"name\"]              = \"Cantonese\"\n+    Locale[\"yue\"][\"endonym\"]           = \"\u7cb5\u8a9e\"\n+    Locale[\"yue\"][\"endonym2\"]          = \"\u5ee3\u6771\u8a71\"\n+    #Locale[\"yue\"][\"translations-of\"]\n+    #Locale[\"yue\"][\"definitions-of\"]\n+    #Locale[\"yue\"][\"synonyms\"]\n+    #Locale[\"yue\"][\"examples\"] \n+    #Locale[\"yue\"][\"see-also\"]\n+    Locale[\"yue\"][\"family\"]            = \"Sino-Tibetan\"\n+    Locale[\"yue\"][\"branch\"]            = \"Sinitic\"\n+    Locale[\"yue\"][\"iso\"]               = \"yue\"\n+    Locale[\"yue\"][\"glotto\"]            = \"cant1236\"\n+    Locale[\"yue\"][\"script\"]            = \"Hant\"\n+    Locale[\"yue\"][\"spoken-in\"]         = \"southeastern China; Hong Kong; Macau\"\n+    Locale[\"yue\"][\"supported-by\"]      = \"bing\"\n+\n+    # Catalan (Standard Catalan)\n     Locale[\"ca\"][\"name\"]               = \"Catalan\"\n     Locale[\"ca\"][\"endonym\"]            = \"Catal\u00e0\"\n     Locale[\"ca\"][\"translations-of\"]    = \"Traduccions per a %s\"\n@@ -287,11 +302,14 @@\n     Locale[\"ca\"][\"examples\"]           = \"Exemples\"\n     Locale[\"ca\"][\"see-also\"]           = \"Vegeu tamb\u00e9\"\n     Locale[\"ca\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ca\"][\"branch\"]             = \"Western Romance\"\n     Locale[\"ca\"][\"iso\"]                = \"cat\"\n     Locale[\"ca\"][\"glotto\"]             = \"stan1289\"\n     Locale[\"ca\"][\"script\"]             = \"Latn\"\n-\n-    #13 Cebuano\n+    Locale[\"ca\"][\"spoken-in\"]          = \"Pa\u00efsos Catalans in Andorra, Spain, France and Italy\"\n+    Locale[\"ca\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Cebuano\n     Locale[\"ceb\"][\"name\"]              = \"Cebuano\"\n     Locale[\"ceb\"][\"endonym\"]           = \"Cebuano\"\n     Locale[\"ceb\"][\"translations-of\"]   = \"%s Mga Paghubad sa PULONG_O_HUGPONG SA PAMULONG\"\n@@ -300,12 +318,16 @@\n     Locale[\"ceb\"][\"examples\"]          = \"Mga pananglitan:\"\n     Locale[\"ceb\"][\"see-also\"]          = \"Kitaa pag-usab\"\n     Locale[\"ceb\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"ceb\"][\"branch\"]            = \"Malayo-Polynesian\"\n     Locale[\"ceb\"][\"iso\"]               = \"ceb\"\n     Locale[\"ceb\"][\"glotto\"]            = \"cebu1242\"\n     Locale[\"ceb\"][\"script\"]            = \"Latn\"\n-\n-    #14 Chichewa\n+    Locale[\"ceb\"][\"spoken-in\"]         = \"the southern Philippines\"\n+    Locale[\"ceb\"][\"supported-by\"]      = \"google; yandex\"\n+\n+    # Chichewa\n     Locale[\"ny\"][\"name\"]               = \"Chichewa\"\n+    Locale[\"ny\"][\"name2\"]              = \"Chinyanja\"\n     Locale[\"ny\"][\"endonym\"]            = \"Nyanja\"\n     Locale[\"ny\"][\"translations-of\"]    = \"Matanthauzidwe a %s\"\n     Locale[\"ny\"][\"definitions-of\"]     = \"Mamasulidwe a %s\"\n@@ -313,12 +335,34 @@\n     Locale[\"ny\"][\"examples\"]           = \"Zitsanzo\"\n     Locale[\"ny\"][\"see-also\"]           = \"Onaninso\"\n     Locale[\"ny\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"ny\"][\"branch\"]             = \"Bantu\"\n     Locale[\"ny\"][\"iso\"]                = \"nya\"\n     Locale[\"ny\"][\"glotto\"]             = \"nyan1308\"\n     Locale[\"ny\"][\"script\"]             = \"Latn\"\n-\n-    #15a Chinese (Mandarin), Simplified\n-    Locale[\"zh-CN\"][\"name\"]            = \"Chinese Simplified\"\n+    Locale[\"ny\"][\"spoken-in\"]          = \"Malawi; Zambia\"\n+    Locale[\"ny\"][\"supported-by\"]       = \"google\"\n+\n+    # Chinese (Literary)\n+    Locale[\"lzh\"][\"name\"]              = \"Chinese (Literary)\"\n+    #Locale[\"lzh\"][\"name2\"]            = \"Literary Chinese\"\n+    #Locale[\"lzh\"][\"name3\"]            = \"Classical Chinese\"\n+    Locale[\"lzh\"][\"endonym\"]           = \"\u6587\u8a00\"\n+    Locale[\"lzh\"][\"endonym2\"]          = \"\u53e4\u6f22\u8a9e\"\n+    #Locale[\"lzh\"][\"translations-of\"]\n+    #Locale[\"lzh\"][\"definitions-of\"]\n+    #Locale[\"lzh\"][\"synonyms\"]\n+    #Locale[\"lzh\"][\"examples\"]\n+    #Locale[\"lzh\"][\"see-also\"]\n+    Locale[\"lzh\"][\"family\"]            = \"Sino-Tibetan\"\n+    Locale[\"lzh\"][\"branch\"]            = \"Sinitic\"\n+    Locale[\"lzh\"][\"iso\"]               = \"lzh\"\n+    Locale[\"lzh\"][\"glotto\"]            = \"lite1248\"\n+    Locale[\"lzh\"][\"script\"]            = \"Hans\" # should actually be Hant\n+    Locale[\"lzh\"][\"spoken-in\"]         = \"ancient China\"\n+    Locale[\"lzh\"][\"supported-by\"]      = \"bing\"\n+\n+    # Chinese (Standard Mandarin), Simplified\n+    Locale[\"zh-CN\"][\"name\"]            = \"Chinese (Simplified)\"\n     Locale[\"zh-CN\"][\"endonym\"]         = \"\u7b80\u4f53\u4e2d\u6587\"\n     Locale[\"zh-CN\"][\"translations-of\"] = \"%s \u7684\u7ffb\u8bd1\"\n     Locale[\"zh-CN\"][\"definitions-of\"]  = \"%s\u7684\u5b9a\u4e49\"\n@@ -326,13 +370,17 @@\n     Locale[\"zh-CN\"][\"examples\"]        = \"\u793a\u4f8b\"\n     Locale[\"zh-CN\"][\"see-also\"]        = \"\u53e6\u8bf7\u53c2\u9605\"\n     Locale[\"zh-CN\"][\"family\"]          = \"Sino-Tibetan\"\n+    Locale[\"zh-CN\"][\"branch\"]          = \"Sinitic\"\n     Locale[\"zh-CN\"][\"iso\"]             = \"zho-CN\"\n     Locale[\"zh-CN\"][\"glotto\"]          = \"mand1415\"\n     Locale[\"zh-CN\"][\"script\"]          = \"Hans\"\n     Locale[\"zh-CN\"][\"dictionary\"]      = \"true\" # has dictionary\n-\n-    #15b Chinese (Mandarin), Traditional\n-    Locale[\"zh-TW\"][\"name\"]            = \"Chinese Traditional\"\n+    Locale[\"zh-CN\"][\"spoken-in\"]       = \"the Greater China regions\"\n+    Locale[\"zh-CN\"][\"written-in\"]      = \"mainland China; Singapore\"\n+    Locale[\"zh-CN\"][\"supported-by\"]    = \"google; bing; yandex\"\n+\n+    # Chinese (Standard Mandarin), Traditional\n+    Locale[\"zh-TW\"][\"name\"]            = \"Chinese (Traditional)\"\n     Locale[\"zh-TW\"][\"endonym\"]         = \"\u7e41\u9ad4\u4e2d\u6587\"\n     Locale[\"zh-TW\"][\"endonym2\"]        = \"\u6b63\u9ad4\u4e2d\u6587\"\n     Locale[\"zh-TW\"][\"translations-of\"] = \"\u300c%s\u300d\u7684\u7ffb\u8b6f\"\n@@ -341,12 +389,32 @@\n     Locale[\"zh-TW\"][\"examples\"]        = \"\u4f8b\u53e5\"\n     Locale[\"zh-TW\"][\"see-also\"]        = \"\u53e6\u8acb\u53c3\u95b1\"\n     Locale[\"zh-TW\"][\"family\"]          = \"Sino-Tibetan\"\n+    Locale[\"zh-TW\"][\"branch\"]          = \"Sinitic\"\n     Locale[\"zh-TW\"][\"iso\"]             = \"zho-TW\"\n     Locale[\"zh-TW\"][\"glotto\"]          = \"mand1415\"\n     Locale[\"zh-TW\"][\"script\"]          = \"Hant\"\n     Locale[\"zh-TW\"][\"dictionary\"]      = \"true\" # has dictionary\n-\n-    #16 Corsican\n+    Locale[\"zh-TW\"][\"spoken-in\"]       = \"the Greater China regions\"\n+    Locale[\"zh-TW\"][\"written-in\"]      = \"Taiwan (Republic of China); Hong Kong; Macau\"\n+    Locale[\"zh-TW\"][\"supported-by\"]    = \"google; bing\"\n+\n+    # Chuvash\n+    Locale[\"cv\"][\"name\"]               = \"Chuvash\"\n+    Locale[\"cv\"][\"endonym\"]            = \"\u0427\u04d1\u0432\u0430\u0448\u043b\u0430\"\n+    #Locale[\"cv\"][\"translations-of\"]\n+    #Locale[\"cv\"][\"definitions-of\"]\n+    #Locale[\"cv\"][\"synonyms\"]\n+    #Locale[\"cv\"][\"examples\"] \n+    #Locale[\"cv\"][\"see-also\"]\n+    Locale[\"cv\"][\"family\"]             = \"Turkic\"\n+    Locale[\"cv\"][\"branch\"]             = \"Oghur\"\n+    Locale[\"cv\"][\"iso\"]                = \"chv\"\n+    Locale[\"cv\"][\"glotto\"]             = \"chuv1255\"\n+    Locale[\"cv\"][\"script\"]             = \"Cyrl\"\n+    Locale[\"cv\"][\"spoken-in\"]          = \"the Chuvash Republic in Russia\"\n+    Locale[\"cv\"][\"supported-by\"]       = \"yandex\"\n+\n+    # Corsican\n     Locale[\"co\"][\"name\"]               = \"Corsican\"\n     Locale[\"co\"][\"endonym\"]            = \"Corsu\"\n     Locale[\"co\"][\"translations-of\"]    = \"Traductions de %s\"\n@@ -355,11 +423,14 @@\n     Locale[\"co\"][\"examples\"]           = \"Exemples\"\n     Locale[\"co\"][\"see-also\"]           = \"Voir aussi\"\n     Locale[\"co\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"co\"][\"branch\"]             = \"Italo-Dalmatian\"\n     Locale[\"co\"][\"iso\"]                = \"cos\"\n-    Locale[\"co\"][\"glotto\"]             = \"cors1242\"\n+    Locale[\"co\"][\"glotto\"]             = \"cors1241\"\n     Locale[\"co\"][\"script\"]             = \"Latn\"\n-\n-    #17 Croatian\n+    Locale[\"co\"][\"spoken-in\"]          = \"Corsica in France; the northern end of the island of Sardinia in Italy\"\n+    Locale[\"co\"][\"supported-by\"]       = \"google\"\n+\n+    # Croatian\n     Locale[\"hr\"][\"name\"]               = \"Croatian\"\n     Locale[\"hr\"][\"endonym\"]            = \"Hrvatski\"\n     Locale[\"hr\"][\"translations-of\"]    = \"Prijevodi rije\u010di ili izraza %s\"\n@@ -368,11 +439,14 @@\n     Locale[\"hr\"][\"examples\"]           = \"Primjeri\"\n     Locale[\"hr\"][\"see-also\"]           = \"Tako\u0111er pogledajte\"\n     Locale[\"hr\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"hr\"][\"branch\"]             = \"South Slavic\"\n     Locale[\"hr\"][\"iso\"]                = \"hrv\"\n     Locale[\"hr\"][\"glotto\"]             = \"croa1245\"\n     Locale[\"hr\"][\"script\"]             = \"Latn\"\n-\n-    #18 Czech\n+    Locale[\"hr\"][\"spoken-in\"]          = \"Croatia; Bosnia and Herzegovina\"\n+    Locale[\"hr\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Czech\n     Locale[\"cs\"][\"name\"]               = \"Czech\"\n     Locale[\"cs\"][\"endonym\"]            = \"\u010ce\u0161tina\"\n     Locale[\"cs\"][\"translations-of\"]    = \"P\u0159eklad v\u00fdrazu %s\"\n@@ -381,9 +455,14 @@\n     Locale[\"cs\"][\"examples\"]           = \"P\u0159\u00edklady\"\n     Locale[\"cs\"][\"see-also\"]           = \"Viz tak\u00e9\"\n     Locale[\"cs\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"cs\"][\"branch\"]             = \"West Slavic\"\n     Locale[\"cs\"][\"iso\"]                = \"ces\"\n     Locale[\"cs\"][\"glotto\"]             = \"czec1258\"\n     Locale[\"cs\"][\"script\"]             = \"Latn\"\n+    Locale[\"cs\"][\"spoken-in\"]          = \"Czechia\"\n+    Locale[\"cs\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #19 Danish\n     Locale[\"da\"][\"name\"]               = \"Danish\"\n@@ -1869,15 +1948,6 @@\n     Locale[\"zu\"][\"iso\"]                = \"zul\"\n     Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n     Locale[\"zu\"][\"script\"]             = \"Latn\"\n-\n-    #* Cantonese\n-    Locale[\"yue\"][\"support\"]           = \"bing-only\"\n-    Locale[\"yue\"][\"name\"]              = \"Cantonese\"\n-    Locale[\"yue\"][\"endonym\"]           = \"\u7cb5\u8a9e\"\n-    Locale[\"yue\"][\"family\"]            = \"Sino-Tibetan\"\n-    Locale[\"yue\"][\"iso\"]               = \"yue\"\n-    Locale[\"yue\"][\"glotto\"]            = \"cant1236\"\n-    Locale[\"yue\"][\"script\"]            = \"Hant\"\n \n     #* Dari (Dari Persian)\n     Locale[\"prs\"][\"support\"]           = \"bing-only\"\n"}
{"commit":"8d61e1406ff13c02aff4dce988c1d7d46544d2b6","subject":"Adding license to template.awk","message":"Adding license to template.awk\n","repos":"damiancarrillo\/objc-formatter","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- src\/template.awk\n+++ src\/template.awk\n@@ -1,4 +1,38 @@\n #! \/usr\/bin\/env awk -f\n+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+# Copyright \u00a9 2011, Damian Carrillo\n+# All rights reserved.\n+# \n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions are met:\n+# \n+# * Redistributions of source code must retain the above copyright notice, this\n+#   list of conditions and the following disclaimer.\n+# * Redistributions in binary form must reproduce the above copyright notice, \n+#   this list of conditions and the following disclaimer in the documentation \n+#   and\/or other materials provided with the distribution.\n+# * Neither the name of the <organization> nor the names of its contributors \n+#   may be used to endorse or promote products derived from this software \n+#   without specific prior written permission.\n+# \n+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \n+# ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY \n+# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES \n+# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; \n+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND \n+# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT \n+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF \n+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+# template.awk\n+# \n+# 2011-10-08\n+# \n+#\n+#\n+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n \n BEGIN {\n     split(ARGV[1], components, \"\\\/\")\n"}
{"commit":"7588c536eddfb17c39711ef2431f33ffc3410477","subject":"0 -> empty","message":"0 -> empty\n","repos":"qqmmtd\/sloth,qqmmtd\/sloth","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- enhancement\/fixedwidthsplit.awk\n+++ enhancement\/fixedwidthsplit.awk\n@@ -10,7 +10,7 @@\n ## Splits the target string t into the array a on the width list string w, and\n ## returns the number of fields. If t is not supplied, $0 is used instead. The\n ## string w is splited on non-numeric characters. If the width of the last field\n-## is 0, the rest of t is used.\n+## is empty, the rest of t is used.\n ##\n function fixedwidthsplit(w, a, t,     _wa, _wn, _i, _k) {\n     _wn = split(w, _wa, \/[^[:digit:]]+\/);\n"}
{"commit":"91890352e492105b177ac4617984fac36a8664e0","subject":"Closing files that are read from","message":"Closing files that are read from\n","repos":"damiancarrillo\/objc-formatter","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- src\/template.awk\n+++ src\/template.awk\n@@ -89,6 +89,7 @@\n     while ((getline line < tempScriptPath) > 0) {\n         print line > scriptPath\n     }\n+    close(tempScriptPath)\n }\n \n function includeFragment(linePrefix, fragmentFile, fragmentLabel) {\n@@ -96,6 +97,7 @@\n         if (line ~ \"@start-fragment \" fragmentLabel) {\n             while ((getline line < fragmentFile) > 0) {\n                 if (line ~ \"@end-fragment \" fragmentLabel) {\n+                    close(fragmentFile)\n                     return\n                 }\n                 print line > tempScriptPath\n"}
{"commit":"966afca2cc28ac7e75ad16a1c802432cc4d6450e","subject":"Fix for right inclusion on last read pair","message":"Fix for right inclusion on last read pair\n","repos":"glennsb\/OPtICAL,glennsb\/OPtICAL,glennsb\/OPtICAL,glennsb\/OPtICAL","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- lib\/optical\/filters\/paired_end_at_least_one_unique.awk\n+++ lib\/optical\/filters\/paired_end_at_least_one_unique.awk\n@@ -32,7 +32,7 @@\n   } else if ( lastid != $1 ) {\n     if ( 2 == id_counts ) {\n       # two matching ends of a pair, should we include them?\n-      if ( (r1[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) && (r2[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) ) {\n+      if ( (r1[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) || (r2[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) ) {\n         if ( (r1[\"tags\"] ~ \/XT:A:U\/) && (r2[\"tags\"] ~ \/XT:A:U\/) || \n              (r1[\"tags\"] ~ \/XT:A:R\/) && (r2[\"tags\"] ~ \/XT:A:U\/) ||\n              (r1[\"tags\"] ~ \/XT:A:U\/) && (r2[\"tags\"] ~ \/XT:A:R\/) ) {\n@@ -54,10 +54,13 @@\n END {\n   if ( 2 == id_counts ) {\n     # two matching ends of a pair, should we include them?\n-    if ( (r1[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) && (r2[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) &&\n-         (r1[\"tags\"] ~ \/XT:A:U\/) && (r2[\"tags\"] ~ \/XT:A:U\/) ) {\n+    if ( (r1[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) || (r2[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) ) {\n+      if ( (r1[\"tags\"] ~ \/XT:A:U\/) && (r2[\"tags\"] ~ \/XT:A:U\/) || \n+           (r1[\"tags\"] ~ \/XT:A:R\/) && (r2[\"tags\"] ~ \/XT:A:U\/) ||\n+           (r1[\"tags\"] ~ \/XT:A:U\/) && (r2[\"tags\"] ~ \/XT:A:R\/) ) {\n            print r1[\"read\"];\n            print r2[\"read\"];\n+      }\n     }\n   }\n }\n"}
{"commit":"1df3bcaf0491106a5680759a94cd23bba2404445","subject":"checkonly: wallet unlocking is not required anymore.","message":"checkonly: wallet unlocking is not required anymore.\n","repos":"yurm-develop\/bittransacthelperawk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bittransacthelperawk.awk\n+++ bittransacthelperawk.awk\n@@ -690,12 +690,13 @@\n \t\tif ((amount[i] == \"\") || (src[i] == \"\"))\n \t\t\treadtransaction(i)\n \t\tretrieveaddressscript(src[i])\n+\t\tif (checkonly) continue\n \t\tif (src[i] ~ singleaddrheadregexp)\n \t\t\tretrieveprivkey(src[i])\n \t\telse if (src[i] ~ multiaddrheadregexp) {\n \t\t\tif ((multisig[src[i], 0] != \"\") && (redeem[src[i]] != \"\"))\n \t\t\t\tretrievemultisigprivkey(src[i])\n-\t\t\telse if (! checkonly)\n+\t\t\telse\n \t\t\t\tgenwarning(\"Input \" i \" signing is skipped, you should provide '\" src[i] \"' participants\")\n \t\t}\n \t}\n"}
{"commit":"76486c2f00456612bffaa9ebe670161f29b562e9","subject":"e-params-update.awk handles updating the URI of the versioned dataset","message":"e-params-update.awk handles updating the URI of the versioned dataset\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/e-params-increment.awk\n+++ bin\/util\/e-params-increment.awk\n@@ -1,9 +1,17 @@\n # e-params-increment.awk\n # params: eID\n \n+\n {\n    # TODO: change the URI of the dataset, too.\n-   if( $0~\"conversion:enhancement_identifier\" ) {\n+   if(\/^@prefix : \/){\n+      # change\n+      # @prefix :           <http:\/\/logd.tw.rpi.edu\/source\/nitrd-gov\/dataset\/fed_RD_IT\/version\/2011-Jan-27\/conversion\/enhancement\/1> .\n+      # to\n+      # @prefix :           <http:\/\/logd.tw.rpi.edu\/source\/nitrd-gov\/dataset\/fed_RD_IT\/version\/2011-Jan-27\/conversion\/enhancement\/2> .\n+      sub(\/enhancement\\\/[^\\\/]*$\/,\"enhancement\/\"eID\"> .\");\n+      print $0\n+   }else if( $0~\"conversion:enhancement_identifier\" ) {\n       printf(\"      conversion:enhancement_identifier \\\"%s\\\";\\n\",eID)}\n    else {\n       print\n"}
{"commit":"61c4732a55f0b56a3ff1b037127c2d2cdebeebb4","subject":"missing newline at the end of usage files","message":"missing newline at the end of usage files\n","repos":"mirror\/xmlstar,mirror\/xmlstar,mirror\/xmlstar","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- usage2c.awk\n+++ usage2c.awk\n@@ -37,6 +37,6 @@\n     printf(\"  fprintf(out, %s\", command_name);\n     for (i = 1; i <= progs; i++)\n         printf(\", argv0\");\n-    printf(\");\\n}\");\n+    print(\");\\n}\");\n }\n \n"}
{"commit":"13eb07216c64255a786b4b041d1bc55831f4d028","subject":"comment on which file goes first & second","message":"comment on which file goes first & second\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/deltadot.awk\n+++ scripts\/deltadot.awk\n@@ -1,18 +1,20 @@\n #! \/usr\/bin\/awk -f\n-#deltadot.awk\n-# Use to illuminate the commonality and differences between dot files created \n-# by 'ntriples2dot.awk' but might work for other dot files \n-\n-# expects two graphviz dot digraph files \n+#deltadot.awk <encumbant.gv> <candidate.gv>\n+# Use to illuminate the commonality and differences between dot files created\n+# by 'ntriples2dot.awk' but might work for other dot files\n+#\n+#\n+# expects two graphviz dot digraph files by convention \"old\"  then \"new\"\n+# for color to mean;  orange lost in \"new\" and blue gained in \"new\"\n # with simple node names ('C' variable naming conventions)\n-# edge's unadorned predicate label \n-# concludes with a space then count in parens  \n+# edge's unadorned predicate label\n+# concludes with a space then count in parens\n #\n-# For example:   \n+# For example:\n # NODE1 -> NODE2 [label=\"curie:term (42)\"];\n #\n # filter for edges in each file associate the count with the edge\n-# if an edge is common between the files \n+# if an edge is common between the files\n # then change its \"count\" to the difference. (second minus first)\n # otherwise leave count as is\n \n@@ -22,7 +24,7 @@\n \tarr[a[1]] = substr(a[2], 1, index(a[2], \")\")-1)\n }\n \n-# strip metadata from filename \n+# strip metadata from filename\n function de_path_ext(pth){\n \tsplit(pth, a, \"\/\")\n \treturn substr(a[length(a)], 1, index(a[length(a)], \".\")-1)\n"}
{"commit":"f85fa2717d72f4912bcb145fcc57e98b80ed2571","subject":"Add statuses.","message":"Add statuses.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@35180 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -52,29 +52,35 @@\n   s[1] = \"exists\"\n   s[2] = \"manifest\"\n   s[3] = \"wanted\"\n-  s[4] = \"crawling\"\n-  s[5] = \"testing\"\n-  s[6] = \"notReady\"\n-  s[7] = \"released\"\n-  s[8] = \"down\"\n-  s[9] = \"superseded\"\n-  s[10] = \"zapped\"\n-  s[11] = \"doNotProcess\"\n-  sn = 12\n+  s[4] = \"testing\"\n+  s[5] = \"notReady\"\n+  s[6] = \"ready\"\n+  s[7] = \"crawling\"\n+  s[8] = \"frozen\"\n+  s[9] = \"ingNotReady\"\n+  s[10] = \"finished\"\n+  s[11] = \"down\"\n+  s[12] = \"superseded\"\n+  s[13] = \"zapped\"\n+  s[14] = \"doNotProcess\"\n+  sn = 15\n   \n   sc[0] = \"expe\"\n   sc[1] = \"exis\"\n   sc[2] = \"mani\"\n   sc[3] = \"want\"\n-  sc[4] = \"craw\"\n-  sc[5] = \"test\"\n-  sc[6] = \"notR\"\n-  sc[7] = \"rele\"\n-  sc[8] = \"down\"\n-  sc[9] = \"supe\"\n-  sc[10] = \"zapp\"\n-  sc[11] = \"doNP\"\n-  scn = 12\n+  sc[4] = \"test\"\n+  sc[5] = \"notR\"\n+  sc[6] = \"read\"\n+  sc[7] = \"craw\"\n+  sc[8] = \"froz\"\n+  sc[9] = \"ingN\"\n+  sc[10] = \"fini\"\n+  sc[11] = \"down\"\n+  sc[12] = \"supe\"\n+  sc[13] = \"zapp\"\n+  sc[14] = \"doNP\"\n+  scn = 15\n \n   #print out header\n   printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\tTotal\"\n"}
{"commit":"b8b1d9145697147ea93b35b4ad7cf1ac9bc3b1b6","subject":"Correcting if statement","message":"Correcting if statement\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@24004 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -10,10 +10,10 @@\n   # add a loop to add line only if ending year is gt or eq to contract year\n   end_year = 0\n   incontract = 0\n-  if ($7 != \"\") {\n+  if ($7 == \"\") {\n+    test_year = $3\n+  } else {\n     test_year = $7\n-  } else {\n-    test_year = $3\n   }\n   if (length($4) > 3) {\n     end_year = substr($4,length($4)-3,4)\n"}
{"commit":"bd75bc0b0631421b6b096ff5f2fc294414c0ad5b","subject":"change compare and title heads","message":"change compare and title heads\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@22152 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,7 +8,17 @@\n \n {\n   # add a loop to add line only if ending year is gt or eq to contract year\n-  if ((substr($4,1,4) >= $3) || ((length($4) == 9) && (substr($4,6,4) >= $3))) {\n+  end_year = 0\n+  incontract = 0\n+  if (length($4) > 3) {\n+    end_year = substr($4,length($4)-3,4)\n+  } \n+  if (end_year >= $3) {\n+    incontract = 1\n+  } \n+\n+  #if ((substr($4,1,4) >= $3) || ((length($4) == 9) && (substr($4,6,4) >= $3))) {\n+  if (incontract == 1) {\n       nn = split($2,na,\/\\.\/)\n       lp2 = na[nn]\n     if (!(($1,lp2,$3,$4) in b)) {\n"}
{"commit":"fdcc8970bce23d476e7fabd18a82fb298725c511","subject":"devtools: fix comment detection in forbidden token check","message":"devtools: fix comment detection in forbidden token check\n\nAfter a comment section was detected, passing to a new hunk was not seen\nas ending the section and all subsequent hunks were ignored.\n\nFixes: 7413e7f2aeb3 (\"devtools: alert on new calls to exit from libs\")\nCc: stable@dpdk.org\n\nReported-by: Thomas Monjalon <5f50a84c1fa3bcff146405017f36aec1a10a9e38@monjalon.net>\nSigned-off-by: David Marchand <f28529695cfa9e3e1eb84e7072aa626af4abb18e@redhat.com>\n","repos":"john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- devtools\/check-forbidden-tokens.awk\n+++ devtools\/check-forbidden-tokens.awk\n@@ -20,6 +20,9 @@\n # state machine assumes the comments structure is enforced by\n # checkpatches.pl\n (in_file) {\n+\tif ($0 ~ \"^@@\") {\n+\t\tin_comment = 0\n+\t}\n \t# comment start\n \tif (index($0,comment_start) > 0) {\n \t\tin_comment = 1\n"}
{"commit":"29471014c28dfd08501a56d2447217c31afce3b1","subject":"Capture all build\/test errors and print them at the end","message":"Capture all build\/test errors and print them at the end\n","repos":"jspahrsummers\/objc-build-scripts,hsavit1\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xcodebuild.awk\n+++ xcodebuild.awk\n@@ -3,7 +3,14 @@\n     fflush(stdout)\n }\n \n+\/[0-9]+: error:\/ {\n+    errors = errors $0 \"\\n\"\n+}\n+\n \/(TEST|BUILD) FAILED\/ {\n+    print \"\\n\", errors\n+    fflush(stdout)\n+\n     # SYS_SOFTWARE\n     exit 70\n }\n"}
{"commit":"937d5901e436b262490b97056a482e5cc6d77a45","subject":"geo_utils.awk\t\t-- renamed h_style, style to h_size, size as they set the marker size not it's style","message":"geo_utils.awk\t\t-- renamed h_style, style to h_size, size as they set the marker size not it's style\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/geo_utils.awk\n+++ lib\/geo_utils.awk\n@@ -79,9 +79,9 @@\n \t\t}\n \t}\n }\n-function GU_mk_point(file, color, style, long, lat, title, last,   h_color, h_style) {\n+function GU_mk_point(file, color, size, long, lat, title, last,   h_color, h_size) {\n  \th_color = color != \".\"\n-\th_style = style != \".\"\n+\th_size = size != \".\"\n  \tprintf(\"{\\n\")\t\t\t\t\t\t\t\t\t> file\n  \tprintf(\"  \\\"type\\\": \\\"Feature\\\",\\n\")\t\t\t\t\t\t> file\n  \tprintf(\"  \\\"geometry\\\": {\")\t\t\t\t\t\t\t> file\n@@ -91,9 +91,9 @@\n  \tprintf(\"  \\\"properties\\\": {\\n\")\t\t\t\t\t\t\t> file\n  \tprintf(\"    \\\"title\\\": \\\"%s\\\",\\n\", GU_str_escape(title))\t\t\t> file\n \tif(h_color)\n-\t\tprintf(\"    \\\"marker-color\\\": \\\"%s\\\"%s\\n\", color, h_style ? \",\" : \"\")\t> file\n-\tif(h_style)\n-\t\tprintf(\"    %s\\n\", style)\t\t\t\t\t\t> file\n+\t\tprintf(\"    \\\"marker-color\\\": \\\"%s\\\"%s\\n\", color, h_size ? \",\" : \"\")\t> file\n+\tif(h_size)\n+\t\tprintf(\"    %s\\n\", size)\t\t\t\t\t\t> file\n \tprintf(\"  }\\n\")\t\t\t\t\t\t\t\t\t> file\n \tprintf(\"}%s\\n\", !last ? \",\" : \"\")\t\t\t\t\t\t> file\n }\n"}
{"commit":"6bbcbc88f84ee82fca451bc9a8cfdefc1f3ed432","subject":"Correct error in number of variables printed","message":"Correct error in number of variables printed\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@23940 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -81,7 +81,7 @@\n \n   #print out publisher, plugin, contract year, back, year, tester, total aus\n   for (i = 0 ; i < pn ; i++) {\n-    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r[i], b[p[i],n[i],t[i],d[i]]\n+    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r[i], b[p[i],n[i],t[i],d[i]]\n     for (j = 0 ; j < sn ; j++) {\n       if (x[s[j]] > 0){\n       if (c[p[i],n[i],t[i],k[i],d[i],s[j]] == 0) {\n"}
{"commit":"2990762c07ae0223cfe6d226ce54dee3fac921a5","subject":"Help: update","message":"Help: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -201,7 +201,9 @@\n             r = r \"\u2502 \"\n             for (j = 0; j < 3; j++) {\n                 if (cols[j][i]) {\n-                    t = cols[j][i] == \"he\" ||\n+                    t = cols[j][i] == \"bo\" ||\n+                        cols[j][i] == \"dz\" ||\n+                        cols[j][i] == \"he\" ||\n                         cols[j][i] == \"hi\" ||\n                         cols[j][i] == \"hu\" ||\n                         cols[j][i] == \"la\" ||\n@@ -217,11 +219,11 @@\n                         cols[j][i] == \"tg\" ||\n                         cols[j][i] == \"tr\" ||\n                         cols[j][i] == \"ur\" ||\n+                        cols[j][i] == \"wo\" ||\n                         cols[j][i] == \"yi\" ||\n                         cols[j][i] == \"yo\" ||\n                         (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\" &&\n                          length(getEndonym(cols[j][i])) < 6) ? \"\\t\\t \" :\n-                        cols[j][i] == \"ht\" ? \" \" :\n                         cols[j][i] == \"id\" ? \"\" :\n                         \"\\t \"\n                     tt = length(cols[j][i]) == 3 ? \" \u2502\" :\n@@ -242,14 +244,21 @@\n                     t = cols[j][i] == \"he\" ||\n                         cols[j][i] == \"kk\" ||\n                         cols[j][i] == \"ko\" ||\n+                        cols[j][i] == \"ky\" ||\n                         cols[j][i] == \"ne\" ||\n                         cols[j][i] == \"pl\" ||\n+                        cols[j][i] == \"ps\" ||\n+                        cols[j][i] == \"sd\" ||\n                         cols[j][i] == \"sk\" ||\n+                        cols[j][i] == \"sm\" ||\n                         cols[j][i] == \"so\" ||\n                         cols[j][i] == \"te\" ||\n+                        cols[j][i] == \"ug\" ||\n                         cols[j][i] == \"yo\" ||\n                         (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\" &&\n                          length(getName(cols[j][i])) < 6) ? \"\\t\\t \" :\n+                        cols[j][i] == \"fy\" ||\n+                        cols[j][i] == \"gd\" ||\n                         cols[j][i] == \"ht\" ? \" \" :\n                         \"\\t \"\n                     tt = length(cols[j][i]) == 3 ? \" \u2502\" :\n"}
{"commit":"5f4150aa905e9caf1a42404b22f7921b8db04b1c","subject":"added script to parse gtf files for a particular gene","message":"added script to parse gtf files for a particular gene\n","repos":"davebridges\/biomolecule-scripts,davebridges\/biomolecule-scripts,davebridges\/biomolecule-scripts","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- Shell\/cuffdiff.awk\n+++ Shell\/cuffdiff.awk\n@@ -26,3 +26,7 @@\n \n #output for fpkm tracking a particular gene\n awk '$5 == \"PIKFYVE\"{ print  }' isoforms.fpkm_tracking\n+\n+#screens a merged.gtf file for mention of a particular gene and saves it to pikfyve.gtf\n+cat merged.gtf | grep \"Pikfyve\" > pikfyve.gtf\n+\n"}
{"commit":"300addad5e8798817da8f6eea92ecd72cb8a881e","subject":"Changes for new SMP-safe kobj method dispatch algorithm.","message":"Changes for new SMP-safe kobj method dispatch algorithm.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/makeobjops.awk\n+++ sys\/tools\/makeobjops.awk\n@@ -283,7 +283,7 @@\n \tfirstvar = varnames[1];\n \n \tif (default == \"\")\n-\t\tdefault = \"0\";\n+\t\tdefault = \"kobj_error_method\";\n \n \t# the method description \n \tprinth(\"extern struct kobjop_desc \" mname \"_desc;\");\n@@ -293,8 +293,12 @@\n \t    line_width, length(prototype)));\n \n \t# Print out the method desc\n+\tprintc(\"struct kobj_method \" mname \"_method_default = {\");\n+\tprintc(\"\\t&\" mname \"_desc, (kobjop_t) \" default);\n+\tprintc(\"};\\n\");\n+\n \tprintc(\"struct kobjop_desc \" mname \"_desc = {\");\n-\tprintc(\"\\t0, (kobjop_t) \" default);\n+\tprintc(\"\\t0, &\" mname \"_method_default\");\n \tprintc(\"};\\n\");\n \n \t# Print out the method itself\n"}
{"commit":"7b74eb4b96587feed7e12c3ddbbd68ccea670353","subject":"droid","message":"droid\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/cr-droid.awk\n+++ bin\/util\/cr-droid.awk\n@@ -23,7 +23,10 @@\n       print \"<\"container\">\"\n       print \"   dcterms:hasPart <\"container\"\/\"contained\">;\"\n       print \".\"\n-      print \"<\"container\"\/\"contained\"> dcterms:format <http:\/\/provenanceweb.org\/formats\/pronom\/\"format\"> .\"\n+      print \"<\"container\"\/\"contained\">\"\n+      print \"   dcterms:isPartOf <\"container\">;\"\n+      print \"   dcterms:format   <http:\/\/provenanceweb.org\/formats\/pronom\/\"format\">;\"\n+      print \".\"\n       print \"\"\n \n    } else {\n"}
{"commit":"e4c6102cf8b6cc2be3e3dc3c203023aa1ca4a503","subject":"pronom Unknown","message":"pronom Unknown\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/cr-droid.awk\n+++ bin\/util\/cr-droid.awk\n@@ -25,7 +25,9 @@\n       print \".\"\n       print \"<\"container\"\/\"contained\">\"\n       print \"   dcterms:isPartOf <\"container\">;\"\n-      print \"   dcterms:format   <http:\/\/provenanceweb.org\/formats\/pronom\/\"format\">;\"\n+      if( tolower(format) != \"unknown\" ) {\n+         print \"   dcterms:format   <http:\/\/provenanceweb.org\/formats\/pronom\/\"format\">;\"\n+      }\n       print \".\"\n       print \"\"\n \n"}
{"commit":"e38a8610a272f42f65062b03d95c943d150628a0","subject":"MInor formatting cleanup","message":"MInor formatting cleanup\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateLinkFrom-text.awk\n+++ generateLinkFrom-text.awk\n@@ -18,6 +18,7 @@\n \/ref=stream_prime\/ {\n     sub (\/\\\/ref=stream.*\/,\"\")\n }\n+\n \/^https:\/ {\n     link = $0\n     if ((getline title) > 0) {\n"}
{"commit":"f39b0e18b7600aeed3b4c4bd7259be3b4aa6a6fd","subject":"Include polling assignment.","message":"Include polling assignment.","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -1,5 +1,5 @@\n #!\/usr\/bin\/awk -f\n-# tdbout -t publisher,plugin,publisher:info[contract],year,publisher:info[tester],status,publisher:info[back] *.tdb \n+# tdbout -t publisher,plugin,publisher:info[contract],year,publisher:info[tester],status,publisher:info[back],publisher:info[poller] *.tdb \n \n BEGIN {\n   FS=\"\\t\"\n@@ -48,7 +48,8 @@\n         k[pn] = $7\n       }\n       d[pn] = $4\n-      r[pn] = $5\n+      r1[pn] = $5\n+      r2[pn] = $8\n       pn++\n     }\n     b[$1,lp2,$4]++\n@@ -96,7 +97,7 @@\n   scn = 16\n \n   #print out header\n-  printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\tTotal\"\n+  printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\tP\\tTotal\"\n   for (j = 0 ; j < scn ; j++) {\n     if (x[s[j]] > 0) {\n     printf \"\\t%s\", sc[j]\n@@ -104,9 +105,9 @@\n   }\n   printf \"\\n\"\n \n-  #print out publisher, plugin, contract year, back, year, tester, total aus\n+  #print out publisher, plugin, contract year, back, year, tester, poller, total aus\n   for (i = 0 ; i < pn ; i++) {\n-    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r[i], b[p[i],n[i],d[i]]\n+    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r1[i], r2[i], b[p[i],n[i],d[i]]\n     for (j = 0 ; j < sn ; j++) {\n       if (x[s[j]] > 0){\n       if (c[p[i],n[i],d[i],s[j]] == 0) {\n@@ -119,7 +120,7 @@\n     printf \"\\n\"\n   }\n     #print out bottom line sums\n-    printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\t%d\", tt\n+    printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\tP\\t%d\", tt\n     for (j = 0 ; j < sn ; j++) {\n       if (x[s[j]] > 0) {\n         printf \"\\t%d\", x[s[j]]\n"}
{"commit":"6fa312cc04ec5635f4a1e07d4db524b13a4007d9","subject":"added missed 'the'","message":"added missed 'the'\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@156 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/callflow.awk\n+++ scripts\/callflow.awk\n@@ -117,7 +117,7 @@\n \n   if ($0 ~ \"^#\") {\n \n-    # The \"!\" is link identifier\n+    # The \"!\" is the link identifier\n     LINK = index($0, \"!\")\n     if (LINK == 0) {\n       # There is no link, everything behind the first \"#\" is the comment\n"}
{"commit":"96f15548ce91be77fb13ccb7c485f53f3f24ab01","subject":"put code handling to the top","message":"put code handling to the top","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -22,6 +22,34 @@\n   print \"%\";\n }\n \n+## HANDLE CODING\n+## make sure that control sequences are always at the front\n+\/ *{{{\/ { sub(\/ *\/, \"\") }\n+\/ *}}}\/ { sub(\/ *\/, \"\") }\n+\n+!coding && \/^{{{\/ {\n+  print \"\\\\begin{verbatim}\";\n+  coding = 1;\n+  next;\n+}\n+\n+coding && \/^}}}\/ {\n+  print \"\\\\end{verbatim}\";\n+  coding = 0;\n+  next;\n+}\n+\n+coding {\n+  sub(\/^\/, \"{\\\\small \");\n+  print;\n+  print \"}\";\n+  next;\n+}\n+\n+## NO CODING BELOW THIS POINT\n+coding { print \"###code???####\"; }\n+\n+\n ## pragmas do not count\n !coding && \/\\#labels\/ {\n   next;\n@@ -29,8 +57,6 @@\n \n \n ## make sure that control sequences are always at the front\n-\/ *{{{\/ { sub(\/ *\/, \"\") }\n-\/ *}}}\/ { sub(\/ *\/, \"\") }\n \/ *=\/ { sub(\/ *\/, \"\") }\n \n \n@@ -45,6 +71,8 @@\n   print;\n   next;\n }\n+\n+\n \n quoting && !\/^  \/ {\n   print \"\\\\end{quotation}\";\n@@ -92,28 +120,6 @@\n }\n \n \n-## tracking code\n-\n-!coding && \/^{{{\/ {\n-  print \"\\\\begin{verbatim}\";\n-  coding = 1;\n-  next;\n-}\n-\n-coding && \/^}}}\/ {\n-  print \"\\\\end{verbatim}\";\n-  coding = 0;\n-  next;\n-}\n-\n-coding {\n-  sub(\/^\/, \"{\\\\small \");\n-  print;\n-  print \"}\";\n-  next;\n-}\n-\n-\n !coding && \/^  \/ {\n   print \"\\\\begin{quotation}\";\n   quoting = 1;\n"}
{"commit":"6938051411c2448fb53843f96b3e488529d45542","subject":"msg_parser.awk: now parsing #### EXTRA HEADER LIST #### too.","message":"msg_parser.awk: now parsing #### EXTRA HEADER LIST #### too.\n\nAdded #version# to the template, too.\n\ndarcs-hash:20061005165950-65a35-707a6e412da51d6ea5fdecc799a580dde6771c6e.gz\n","repos":"BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -63,6 +63,8 @@\n   tprefix=\"\";\n   failed=0;\n   success=0;\n+\n+  ERRNO=\"error\";\n }\n \n function name_hash (name)\n@@ -92,7 +94,7 @@\n #\n # Replace magic patterns in template p with header-specific values\n #\n-function protos (name, comment, hash)\n+function protos (name, comment, hash, since)\n {\n   NAME=toupper(name);\n   sub(\/.*[\\\/][*][*][<][ \t]*\/, \"\", comment); \n@@ -143,15 +145,18 @@\n   symbols[name] = comment;\n \n   if (PR) {\n-    replace(template, hash, name, NAME, comment, Comment, COMMENT);\n-    replace(template1, hash, name, NAME, comment, Comment, COMMENT);\n-    replace(template2, hash, name, NAME, comment, Comment, COMMENT);\n-    replace(template3, hash, name, NAME, comment, Comment, COMMENT);\n-  }\n-}\n-\n-function replace (p, hash, name, NAME, comment, Comment, COMMENT)\n+    replace(template, hash, name, NAME, comment, Comment, COMMENT, since);\n+    replace(template1, hash, name, NAME, comment, Comment, COMMENT, since);\n+    replace(template2, hash, name, NAME, comment, Comment, COMMENT, since);\n+    replace(template3, hash, name, NAME, comment, Comment, COMMENT, since);\n+  }\n+}\n+\n+function replace (p, hash, name, NAME, comment, Comment, COMMENT, since)\n {\n+  #\n+  # Replace various forms of header name in template, print it out\n+  #\n   if (p) {\n     gsub(\/#hash#\/, hash, p);\n     gsub(\/#xxxxxx#\/, name, p); \n@@ -159,6 +164,14 @@\n     gsub(\/#xxxxxxx_xxxxxxx#\/, comment, p);\n     gsub(\/#Xxxxxxx_Xxxxxxx#\/, Comment, p);\n     gsub(\/#XXXXXXX_XXXXXXX#\/, COMMENT, p);\n+\n+    if (since) {\n+      gsub(\/#version#\/, since, p);\n+    }\n+    else {\n+      # Remove line with #version#\n+      gsub(\/\\n[^\\n]*#version#[^\\n]*\\n\/, \"\\n\", p);\n+    }\n     \t    \n     print p > PR;\n   }\n@@ -232,10 +245,11 @@\n   close(flagfile);\n }\n \n-\/^ *\\\/\\* === Headers start here \\*\\\/\/ { \n-\n-  in_header_list=1; \n-\n+#\n+# Read in templates\n+#\n+function templates ()\n+{\n   if (!auto) {\n     auto = FILENAME; \n \n@@ -248,27 +262,43 @@\n     if (PR) {\n       if (TEMPLATE == \"\") { TEMPLATE = PR \".in\"; }\n       RS0=RS; RS=\"\\f\\n\";\n-      getline theader < TEMPLATE;\n+      if ((getline theader < TEMPLATE) < 0) {\n+\tprint ( TEMPLATE \": \" ERRNO );\n+\tfailed=1;\n+        exit(1);\n+      }\n       getline header < TEMPLATE;\n       getline template < TEMPLATE;\n       getline footer < TEMPLATE;\n \n       if (TEMPLATE1) {\n-\tgetline dummy < TEMPLATE1;\n+\tif ((getline dummy < TEMPLATE1) < 0) {\n+\t  print(TEMPLATE1 \": \" ERRNO);\n+\t  failed=1;\n+          exit(1);\n+        }\n \tgetline dummy < TEMPLATE1;\n \tgetline template1 < TEMPLATE1;\n \tgetline dummy < TEMPLATE1;\n       }\n \n       if (TEMPLATE2) {\n-\tgetline dummy < TEMPLATE2;\n+\tif ((getline dummy < TEMPLATE2) < 0) {\n+\t  print( TEMPLATE2 \": \" ERRNO );\n+\t  failed=1;\n+\t  exit(1);\n+\t}\n \tgetline dummy < TEMPLATE2;\n \tgetline template2 < TEMPLATE2;\n \tgetline dummy < TEMPLATE2;\n       }\n \n       if (TEMPLATE3) {\n-\tgetline dummy < TEMPLATE3;\n+\tif ((getline dummy < TEMPLATE3) < 0) {\n+\t  print( TEMPLATE3 \": \" ERRNO );\n+\t  failed=1;\n+\t  exit(1);\n+\t}\n \tgetline dummy < TEMPLATE3;\n \tgetline template3 < TEMPLATE3;\n \tgetline dummy < TEMPLATE3;\n@@ -291,9 +321,15 @@\n   }\n }\n \n-in_header_list && \/^ *\\\/\\* === Headers end here \\*\\\/\/ { in_header_list=0;}\n-\n-in_header_list && PT && \/^ *\\\/\\* === Hash headers end here \\*\\\/\/ { in_header_list=0;}\n+\/^#### EXTRA HEADER LIST STARTS HERE ####$\/ { HLIST=1; templates(); }\n+HLIST && \/^[a-z]\/ { protos($1, $0, 0, $2); }\n+\/^#### EXTRA HEADER LIST ENDS HERE ####$\/ { HLIST=0;  }\n+\n+\n+\/^ *\\\/\\* === Headers start here \\*\\\/\/ { in_header_list=1;  templates(); }\n+\/^ *\\\/\\* === Headers end here \\*\\\/\/ { in_header_list=0; }\n+\n+PT && \/^ *\\\/\\* === Hash headers end here \\*\\\/\/ { in_header_list=0;}\n \n in_header_list && \/^  (sip|rtsp|http|msg|mp)_[a-z_0-9]+_t\/ { \n   n=$0\n"}
{"commit":"64d7e41a76e61e3198c040cc8da1b226d9c0f4c5","subject":"Conver &amp; to plain & in title & description","message":"Conver &amp; to plain & in title & description\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -78,6 +78,7 @@\n     split ($0,fld,\"[<>]\")\n     title = fld[3]\n     # print \"title = \" title > \"\/dev\/stderr\"\n+    gsub (\/&amp;\/,\"\\\\&\",title)\n }\n \n # Grab genre\n@@ -94,6 +95,7 @@\n     split ($0,fld,\"[<>]\")\n     description = fld[3]\n     # print \"description = \" description > \"\/dev\/stderr\"\n+    gsub (\/&amp;\/,\"\\\\&\",description)\n }\n \n # Grab rating\n"}
{"commit":"76824ba4d6027a2a37796509a70078b57eccc7da","subject":"aux\/sys\/base\/tac.awk: no -r: bugfix: properly escape backslash","message":"aux\/sys\/base\/tac.awk: no -r: bugfix: properly escape backslash\n","repos":"modernish\/modernish","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- lib\/modernish\/aux\/sys\/base\/tac.awk\n+++ lib\/modernish\/aux\/sys\/base\/tac.awk\n@@ -45,7 +45,7 @@\n \t\tif (length(FS) == 1)\n \t\t\tFS = (\"(\")(FS)(\")\");\t\t# force parsing as RE\n \t} else {\n-\t\tgsub(\/[\\.[(*+?{|^$]\/, \"\\\\\\\\&\", FS);\t# literal FS: escape ERE characters\n+\t\tgsub(\/[\\\\.[(*+?{|^$]\/, \"\\\\\\\\&\", FS);\t# literal FS: escape awk RE characters\n \t}\n \tn = split(text, field);\n \n"}
{"commit":"12a28ffa4cf0dea9932c383bcd16a9f01e3639f3","subject":"msg_parser.awk: removed extra \"const\"","message":"msg_parser.awk: removed extra \"const\"\n\ndarcs-hash:20071010173045-65a35-a4def5c5b443d994c2ffbc63f476849a04b88bba.gz\n","repos":"BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -644,7 +644,7 @@\n     }\n \n     if (basic < total) {\n-      printf(\"msg_hclass_t const * const %s_extensions[] = {\\n\", module) > PT;\n+      printf(\"msg_hclass_t * const %s_extensions[] = {\\n\", module) > PT;\n       for (i = basic; i < total; i++) {\n \tif (i == without_experimental) {\n \t  print \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n"}
{"commit":"c70dd5bdfc6363545198e8cea05f63099050f782","subject":"We are OpenBSD","message":"We are OpenBSD\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/cardbus\/devlist2h.awk\n+++ dev\/cardbus\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.1 2000\/03\/02 23:03:26 aaron Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.2 2000\/05\/15 06:29:09 niklas Exp $\n #\t$NetBSD: devlist2h.awk,v 1.1 1999\/10\/15 06:07:22 haya Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n@@ -39,7 +39,7 @@\n \tVERSION = $0\n \tgsub(\"\\\\$\", \"\", VERSION)\n \n-\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > dfile\n+\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > dfile\n \tprintf(\"\/*\\n\") > dfile\n \tprintf(\" * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n \t    > dfile\n@@ -48,7 +48,7 @@\n \tprintf(\" *\\t%s\\n\", VERSION) > dfile\n \tprintf(\" *\/\\n\") > dfile\n \n-\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > hfile\n+\tprintf(\"\/*\\t\\OpenBSD\\$\\t*\/\\n\\n\") > hfile\n \tprintf(\"\/*\\n\") > hfile\n \tprintf(\" * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n \t    > hfile\n"}
{"commit":"42be213473bc626dfdf26259aa097e0457a95869","subject":"Removed debugging feature from msg_parser.awk making it fail with BSD awk.","message":"Removed debugging feature from msg_parser.awk making it fail with BSD awk.\n\ndarcs-hash:20060224081416-65a35-16d5d37c9d56c34559483d63d0be6d9c0d59e36b.gz\n","repos":"BelledonneCommunications\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -156,7 +156,7 @@\n     gsub(\/#Xxxxxxx_Xxxxxxx#\/, Comment, p);\n     gsub(\/#XXXXXXX_XXXXXXX#\/, COMMENT, p);\n     \t    \n-    print p > PR NEW;\n+    print p > PR;\n   }\n }\n \n@@ -173,7 +173,7 @@\n       text = substr(text, 1, n);\n     }\n     if (n > 0)\n-      print text > PR NEW;\n+      print text > PR;\n     return;\n   }\n   \n@@ -190,10 +190,10 @@\n \tgsub(\/#XXXXXXX_XXXXXXX#\/, COMMENTS[j], l);\n \tgsub(\/#xxxxxx#\/, names[j], l); \n \tgsub(\/#XXXXXX#\/, NAMES[j], l);\n-\tprint l > PR NEW;\n+\tprint l > PR;\n       }\n     } else {\n-      print l > PR NEW;\n+      print l > PR;\n     }\n   }\n }\n@@ -271,7 +271,7 @@\n       gsub(\/#DATE#\/, \"@date Generated: \" date, header);\n       if (PACKAGE_NAME) gsub(\/#PACKAGE_NAME#\/, PACKAGE_NAME, header);\n       if (PACKAGE_VERSION) gsub(\/#PACKAGE_VERSION#\/, PACKAGE_VERSION, header);\n-      print header > PR NEW;\n+      print header > PR;\n \n       RS=RS0;\n     }\n@@ -339,12 +339,12 @@\n     sub(\/.*[\\\/]\/, \"\", TEMPLATE);\n     gsub(\/#AUTO#\/, auto, header);\n     gsub(\/#DATE#\/, \"@date Generated: \" date, header);\n-    print header > PT NEW;\n+    print header > PT;\n \n     if (MC_SHORT_SIZE) {\n       printf(\"static msg_href_t const \" \\\n \t     \"%s_short_forms[MC_SHORT_SIZE] = \\n{\\n\", \n-\t     module) > PT NEW;      \n+\t     module) > PT;      \n \n       for (i = 1; i <= MC_SHORT_SIZE; i = i + 1) {\n \tc = (i == MC_SHORT_SIZE) ? \"\" : \",\";\n@@ -355,54 +355,54 @@\n \t  printf(\"  { \/* %s *\/ %s_%s_class, offsetof(%s_t, %s_%s)%s }%s\\n\", \n \t\t substr(lower_case, i, 1), \n \t\t tprefix, n, module, prefix, n, flags, c)\t\\\n-\t    > PT NEW;\n+\t    > PT;\n \t}\n \telse {\n \t  printf(\"  { NULL }%s\\n\", c) \\\n-\t    > PT NEW;\n+\t    > PT;\n \t}\n       }\n-      printf(\"};\\n\\n\") > PT NEW;      \n-    }\n-\n-    # printf(\"extern msg_hclass_t msg_multipart_class[];\\n\\n\") > PT NEW;\n-\n-    printf(\"msg_mclass_t const %s_mclass[1] = \\n{{\\n\", module) > PT NEW;\n-    printf(\"# if defined (%s_HCLASS)\\n\", toupper(module)) > PT NEW;\n-    printf(\"  %s_HCLASS,\\n\", toupper(module)) > PT NEW;\n-    printf(\"#else\\n\") > PT NEW;\n-    printf(\"  {{ 0 }},\\n\") > PT NEW;\n-    printf(\"#endif\\n\") > PT NEW;\n-    printf(\"  %s_VERSION_CURRENT,\\n\", toupper(module)) > PT NEW;\n-    printf(\"  %s_PROTOCOL_TAG,\\n\", toupper(module)) > PT NEW;\n-    printf(\"#if defined (%s_PARSER_FLAGS)\\n\", toupper(module)) > PT NEW;\n-    printf(\"  %s_PARSER_FLAGS,\\n\", toupper(module)) > PT NEW;\n-    printf(\"#else\\n\") > PT NEW;\n-    printf(\"  0,\\n\") > PT NEW;\n-    printf(\"#endif\\n\") > PT NEW;\n-    printf(\"  sizeof(%s_t),\\n\", module) > PT NEW;\n-    printf(\"  %s_extract_body,\\n\", module) > PT NEW;\n+      printf(\"};\\n\\n\") > PT;      \n+    }\n+\n+    # printf(\"extern msg_hclass_t msg_multipart_class[];\\n\\n\") > PT;\n+\n+    printf(\"msg_mclass_t const %s_mclass[1] = \\n{{\\n\", module) > PT;\n+    printf(\"# if defined (%s_HCLASS)\\n\", toupper(module)) > PT;\n+    printf(\"  %s_HCLASS,\\n\", toupper(module)) > PT;\n+    printf(\"#else\\n\") > PT;\n+    printf(\"  {{ 0 }},\\n\") > PT;\n+    printf(\"#endif\\n\") > PT;\n+    printf(\"  %s_VERSION_CURRENT,\\n\", toupper(module)) > PT;\n+    printf(\"  %s_PROTOCOL_TAG,\\n\", toupper(module)) > PT;\n+    printf(\"#if defined (%s_PARSER_FLAGS)\\n\", toupper(module)) > PT;\n+    printf(\"  %s_PARSER_FLAGS,\\n\", toupper(module)) > PT;\n+    printf(\"#else\\n\") > PT;\n+    printf(\"  0,\\n\") > PT;\n+    printf(\"#endif\\n\") > PT;\n+    printf(\"  sizeof(%s_t),\\n\", module) > PT;\n+    printf(\"  %s_extract_body,\\n\", module) > PT;\n \n     len = split(\"request status separator payload unknown error\", unnamed, \" \");\n \n     for (i = 1; i <= len; i++) {\n       printf(\"  {{ %s_%s_class, offsetof(%s_t, %s_%s) }},\\n\", \n-\t     tprefix, unnamed[i], module, prefix, unnamed[i]) > PT NEW;\n+\t     tprefix, unnamed[i], module, prefix, unnamed[i]) > PT;\n     }\n     if (multipart) {\n       printf(\"  {{ %s_class, offsetof(%s_t, %s_multipart) }},\\n\",\n-\t     multipart, module, prefix) > PT NEW;\n+\t     multipart, module, prefix) > PT;\n     } else {\n-      printf(\"  {{ NULL, 0 }},\\n\") > PT NEW;\n+      printf(\"  {{ NULL, 0 }},\\n\") > PT;\n     }\n     if (MC_SHORT_SIZE) {\n-      printf(\"  %s_short_forms, \\n\", module) > PT NEW;      \n+      printf(\"  %s_short_forms, \\n\", module) > PT;      \n     }\n     else {\n-      printf(\"  NULL, \\n\") > PT NEW;\n-    }\n-    printf(\"  %d, %d, \\n\", MC_HASH_SIZE, total) > PT NEW;\n-    printf(\"  {\\n\") > PT NEW;\n+      printf(\"  NULL, \\n\") > PT;\n+    }\n+    printf(\"  %d, %d, \\n\", MC_HASH_SIZE, total) > PT;\n+    printf(\"  {\\n\") > PT;\n \n     for (i = 0; i < total; i++) {\n       n = headers[i];\n@@ -427,12 +427,12 @@\n         flags = header_flags[n]; if (flags) flags = \",\\n      \" flags;\n \n \tprintf(\"    { %s_%s_class, offsetof(%s_t, %s_%s)%s }%s\\n\", \n-\t       tprefix, n, module, prefix, n, flags, c) > PT NEW;\n+\t       tprefix, n, module, prefix, n, flags, c) > PT;\n       }\n       else {\n-\tprintf(\"    { NULL, 0 }%s\\n\", c) > PT NEW;\n-      }\n-    }\n-    printf(\"  }\\n}};\\n\\n\") > PT NEW;\n-  }\n-}\n+\tprintf(\"    { NULL, 0 }%s\\n\", c) > PT;\n+      }\n+    }\n+    printf(\"  }\\n}};\\n\\n\") > PT;\n+  }\n+}\n"}
{"commit":"29f5a8666d2ad607bb0f9f8d0e37c4ffcb2e09da","subject":"2.13.awk","message":"2.13.awk\n","repos":"kaiiak\/APUE","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- chapter2\/2.13.awk\n+++ chapter2\/2.13.awk\n@@ -83,5 +83,4 @@\n     printf(\"  printf(\\\" %%ld\\\\n\\\", val);\\n\")\n     printf(\" }\\n\")\n     printf(\"}\\n\")\n-}\n }"}
{"commit":"784543da27ca3b2a9b68921e41a712476a654b06","subject":"Add \"print to stderr\" in awk #chunks","message":"Add \"print to stderr\" in awk #chunks\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- chunks\/chunks.awk\n+++ chunks\/chunks.awk\n@@ -5,3 +5,5 @@\n #\n # sub(regexp, replacement [, target])\n \n+print \"something\" > \"\/dev\/stderr\"\n+\n"}
{"commit":"e9993dbcc8fc13f3548f72dab8cdf405c3ea461e","subject":"TestUtils: add test case for curlPost() (thanks to httpbin.org)","message":"TestUtils: add test case for curlPost() (thanks to httpbin.org)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestUtils.awk\n+++ test\/TestUtils.awk\n@@ -39,6 +39,15 @@\n                     \"https:\/\/httpbin.org\/get\")\n     }\n \n+    T(\"curlPost()\", 1)\n+    {\n+        delete tokens; delete ast\n+        tokenize(tokens, curlPost(\"https:\/\/httpbin.org\/post\", \"fizz=buzz\"))\n+        parseJson(ast, tokens)\n+        assertEqual(unparameterize(ast[0 SUBSEP \"url\"]),\n+                    \"https:\/\/httpbin.org\/post\")\n+    }\n+\n     T(\"dump()\", 3)\n     {\n         delete group\n"}
{"commit":"9605066a817bc45cee14885d1dbd717a019533b4","subject":"rng2rnc.awk: Various improvements","message":"rng2rnc.awk: Various improvements\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rnc2rng.awk\n+++ rnc2rng.awk\n@@ -49,6 +49,8 @@\n   }\n   sub(\/^ *\/, \"\", name);\n   sub(\/ *$\/, \"\", name);\n+  if (name == \"\")\n+    name = maybe_define;\n   if (name == \"start\")\n     define = \"<start\"\n   else\n@@ -58,6 +60,7 @@\n   define = define \">\"\n   stack[++stack_i] = define;\n   mode = \"pattern\";\n+  maybe_define = \"\";\n   if (length(line) >= nameix + 1)\n     parse_pattern(substr(line, nameix + 1))\n }\n@@ -259,12 +262,7 @@\n     }\n   }\n   else if (match(line, \/^[A-Za-z_.-]\/)) {\n-    c = stack[paren[paren_i]];\n-    if (postop == 0 && (c == \"||\" || c == \"&&\" || c == \",,\")) {\n-      stack[paren[paren_i]] = \"(\" substr(c, 1, 1);\n-      parse_pattern(\")\");\n-      mode = \"grammar\";\n-      parse_define(line);\n+    if (popop(line)) {\n       next;\n     }\n     name = substr(line, 1);\n@@ -285,7 +283,19 @@\n     }\n   }\n }\n-\n+function popop (line) {\n+  op = stack[paren[paren_i]];\n+  if (postop == 0 && (op == \"||\" || op == \"&&\" || op == \",,\")) {\n+    stack[paren[paren_i]] = \"(\" substr(op, 1, 1);\n+    parse_pattern(\")\");\n+    mode = \"grammar\";\n+    if (line != \"\") {\n+      parse_define(line);\n+    }\n+    return 1;\n+  }\n+  return 0;\n+}\n function parse_name_class (line) {\n   sub(\/^ *\/, \"\", line)\n   if (length(line) == 0) return;\n@@ -366,12 +376,22 @@\n     else\n       aft = \"\";\n     if (length(aft) >= 2 && substr(aft, 1, 2) == \":*\") {\n-      for (i = 1; i <= namespaces_i; i++) {\n-        if (nsnames[i] == name) {\n-          stack[++stack_i] = sprintf(\"<nsName ns='%s'\/>\", namespaces[i])\n-          break;\n-        }\n-      }\n+      namespace_uri = \"\";\n+      if (name == \"xml\") {\n+        namespace_uri = \"http:\/\/www.w3.org\/XML\/1998\/namespace\";\n+      }\n+      else {\n+        for (i = 1; i <= namespaces_i; i++) {\n+          if (nsnames[i] == name) {\n+            namespace_uri = namespaces[i];\n+            break;\n+          }\n+        }\n+      }\n+      if (namespace_uri == \"\")\n+        stack[++stack_i] = \"<nsName\/>\";\n+      else\n+        stack[++stack_i] = sprintf(\"<nsName ns='%s'\/>\", namespace_uri);\n       if (length(aft) >= 3)\n         aft = substr(aft, 3);\n       else\n@@ -429,7 +449,7 @@\n     }\n     print \"-->\";\n   }\n-  if (substr(stack[pos], 1, 6) == \"<start\") {\n+  else if (substr(stack[pos], 1, 6) == \"<start\") {\n     print stack[pos];\n     pos++;\n     printstackone();\n@@ -455,9 +475,11 @@\n   include_i = 0;\n   postop = 0;\n   error = 0;\n+  maybe_define = \"\";\n }\n \n END {\n+  popop(\"\");\n   if (!error) {\n     print \"<grammar xmlns='http:\/\/relaxng.org\/ns\/structure\/1.0'\";\n     pos = 1;\n@@ -467,12 +489,17 @@\n       }\n       pos++;\n     }\n-    printf \" ns='%s'>\\n\", default_namespace;\n+    if (default_namespace != \"\") {\n+      printf \" ns='%s'>\\n\", default_namespace;\n+    }\n+    else {\n+      print \">\";\n+    }\n     printstack()\n     print \"<\/grammar>\"\n   }\n }\n-\/^[^#]\/ {\n+\/^[^#]\/ || \/^$\/ {\n   if (substr(stack[stack_i], 1, 1) == \"#\") {\n     stack[++stack_i] = \" \"\n   }\n@@ -525,6 +552,11 @@\n     stack[++stack_i] = \"<include href=\\\"\" href \"\\\"\/>\";\n   }\n }\n+mode == \"grammar\" && \/^ *[A-Za-z_.-]\/ {\n+  maybe_define = substr($0, 1, length($0));\n+  sub(\/^ *\/, \"\", maybe_define);\n+  sub(\/ *$\/, \"\", maybe_define);\n+}\n include_i != 0 && paren_i == 0 && \/}\/ {\n   if (substr(stack[include_i], 1, 8) == \"<include\") {\n     stack[++stack_i] = \"<\/include>\";\n@@ -538,11 +570,11 @@\n   include_i = 0;\n   next;\n }\n-mode == \"pattern\" {\n+mode == \"pattern\" && \/^[^#]\/ {\n   parse_pattern($0);\n   next;\n }\n-mode == \"name_class\" {\n+mode == \"name_class\" && \/^[^#]\/ {\n   parse_name_class($0);\n   next;\n }\n@@ -551,5 +583,7 @@\n # more clever about output. But it handles comments that start\n # a line outside a pattern. Enough for me.\n \/#.*\/ {\n+  popop(\"\");\n   stack[++stack_i] = $0\n-}\n+  next;\n+}\n"}
{"commit":"511b8ba4b131487b0e4a26d7557e7364d6d3d7d5","subject":"Also repair zeroEpisodes shows","message":"Also repair zeroEpisodes shows\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- verifyBBoxInfoFrom-webscraper.awk\n+++ verifyBBoxInfoFrom-webscraper.awk\n@@ -18,15 +18,16 @@\n         print \"    Bad input line \" NR \":\\n          \" $0\n         next\n     }\n+    gsub (\"'\", \"\", $3)\n     title = $3\n     numEpisodes = $5\n-    gsub (\"'\", \"\", $0)\n     if (numEpisodes != 1)\n         print \"    \" substr ($0,11)\n }\n \n \/ show \/ {\n     numShows += 1\n+    gsub (\"'\", \"\", $3)\n     title = $3\n     numEpisodes = $5\n     numSeasons = $8\n@@ -34,13 +35,13 @@\n         print \"    Bad input line \" NR \":\\n          \" $0\n         next\n     }\n-    gsub (\"'\", \"\", $0)\n+\n     if (numEpisodes == 0) {\n         zeroEpisodes += 1\n         print \"    \" substr ($0,11)\n+        print title >> REPAIR_FILE\n     }\n \n-    gsub (\"'\", \"\", title)\n     showTitle[numShows] = title\n     seas[numShows] = numSeasons\n     shouldHave[numShows] = numEpisodes\n"}
{"commit":"f76463b57e3ef262195817458709dc8436244768","subject":"Utils: add initCurl() and curl(url)","message":"Utils: add initCurl() and curl(url)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -33,6 +33,11 @@\n # Detect emacs.\n function initEmacs() {\n     Emacs = detectProgram(\"emacs\", \"--version\")\n+}\n+\n+# Detect curl.\n+function initCurl() {\n+    Curl = detectProgram(\"curl\", \"--version\")\n }\n \n # Log any value if debugging is enabled.\n@@ -118,3 +123,20 @@\n         }\n     }\n }\n+\n+# Fetch the content of a URL. Return a null string if failed.\n+function curl(url,    command, content, line) {\n+    initCurl()\n+\n+    if (!Curl) {\n+        l(\">> not found: curl\")\n+        w(\"[WARNING] curl is not found.\")\n+        return NULLSTR\n+    } else {\n+        command = Curl \" --location --silent \" url\n+        content = NULLSTR\n+        while ((command |& getline line) > 0)\n+            content = content line \"\\n\"\n+        return content\n+    }\n+}\n"}
{"commit":"10aad805d8d93b562c7bdb76c55766cd8f900445","subject":"Languages: update Assamese (Google support)","message":"Languages: update Assamese (Google support)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -79,6 +79,19 @@\n     Locale[\"hy\"][\"iso\"]                = \"hye\"\n     Locale[\"hy\"][\"glotto\"]             = \"nucl1235\"\n     Locale[\"hy\"][\"script\"]             = \"Armn\"\n+\n+    # Assamese\n+    Locale[\"as\"][\"name\"]               = \"Assamese\"\n+    Locale[\"as\"][\"endonym\"]            = \"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be\"\n+    #Locale[\"as\"][\"translations-of\"]\n+    #Locale[\"as\"][\"definitions-of\"]\n+    #Locale[\"as\"][\"synonyms\"]\n+    #Locale[\"as\"][\"examples\"]\n+    #Locale[\"as\"][\"see-also\"]\n+    Locale[\"as\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"as\"][\"iso\"]                = \"asm\"\n+    Locale[\"as\"][\"glotto\"]             = \"assa1263\"\n+    Locale[\"as\"][\"script\"]             = \"Beng\"\n \n     #6 Azerbaijani (North Azerbaijani)\n     Locale[\"az\"][\"name\"]               = \"Azerbaijani\"\n@@ -1589,20 +1602,6 @@\n     Locale[\"kmr\"][\"iso\"]               = \"kmr\"\n     Locale[\"kmr\"][\"glotto\"]            = \"nort2641\"\n     Locale[\"kmr\"][\"script\"]            = \"Latn\"\n-\n-    #? Assamese\n-    Locale[\"as\"][\"support\"]            = \"unstable\"\n-    Locale[\"as\"][\"name\"]               = \"Assamese\"\n-    Locale[\"as\"][\"endonym\"]            = \"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be\"\n-    #Locale[\"as\"][\"translations-of\"]\n-    #Locale[\"as\"][\"definitions-of\"]\n-    #Locale[\"as\"][\"synonyms\"]\n-    #Locale[\"as\"][\"examples\"]\n-    #Locale[\"as\"][\"see-also\"]\n-    Locale[\"as\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"as\"][\"iso\"]                = \"asm\"\n-    Locale[\"as\"][\"glotto\"]             = \"assa1263\"\n-    Locale[\"as\"][\"script\"]             = \"Beng\"\n \n     #? Bashkir\n     Locale[\"ba\"][\"support\"]            = \"yandex-only\"\n"}
{"commit":"bf6f29850d984ec84862758cd4f7296f2f072524","subject":"\u66f4\u65b0src\/font-data-cpp.awk","message":"\u66f4\u65b0src\/font-data-cpp.awk\n","repos":"satgo1546\/frogimine,satgo1546\/frogimine","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/font-data-cpp.awk\n+++ src\/font-data-cpp.awk\n@@ -1,12 +1,10 @@\n BEGIN {\n-\tvalid_line_number = 0\n \tprint \"{\"\n }\n \/^[01]\/ {\n-\tvalid_line_number++\n \tprintf \"0b%s,\\n\", $0\n }\n-\/^[01]\/ && valid_line_number % 12 == 0 {\n+\/^$\/ {\n \tprint \"}, {\"\n }\n END {\n"}
{"commit":"6506c45e348ba5c9903510b781d5f6775e56a55e","subject":"fix formatting so header is in-line with resource","message":"fix formatting so header is in-line with resource\n","repos":"dcapwell\/dotfiles,dcapwell\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- k8s\/ihatekubeformating-simpler.awk\n+++ k8s\/ihatekubeformating-simpler.awk\n@@ -74,6 +74,10 @@\n       percentage = value \/ int(hard[0]) * 100\n       printf \"%-55s%-20s%-20s%s\\n\", $1, (sprintf(\"%.2f\", value) hard[1]), $3, sprintf(\"%.2f%\", percentage)\n     }\n+  } else if ($1 == \"Resource\" && $2 == \"Used\") {\n+    printf \"%-55s%-20s%-20s%s\\n\", \"Resource\", \"Used\", \"Hard\", \"Used %\"\n+  } else if ($1 == \"--------\") {\n+    printf \"%-55s%-20s%-20s%s\\n\", \"--------\", \"----\", \"----\", \"----\"\n   } else {\n     print $0\n   }\n"}
{"commit":"66691c284870b5e9aa7179acbbb27a24047bb7c0","subject":"Handle 3 digit episodes in BBox","message":"Handle 3 digit episodes in BBox\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -38,7 +38,7 @@\n     if (URL ~ \/_S[[:digit:]]*_E[[:digit:]]*_[[:digit:]]*$\/) {\n         seasonNumber = substr(fld[nflds-2], 2)\n         episodeNumber = substr(fld[nflds-1], 2)\n-        sortkey = sprintf (\"%s%02dE%02d\", showtype, seasonNumber, episodeNumber)\n+        sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n     } else {\n         URL ~ \/^\\\/us\\\/movie\\\/\/ ? showtype = \"M\" : showtype = \"E\"\n         sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n"}
{"commit":"9772433110d3da0051c1fb2acce9d71ef25da45d","subject":"gnumake3: fixing deliver for solaris nawk","message":"gnumake3: fixing deliver for solaris nawk","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/gbuild\/processdelivered.awk\n+++ solenv\/gbuild\/processdelivered.awk\n@@ -30,6 +30,7 @@\n     FS=\":\"\n }\n \n-NF == 2 {\n-    print \"COPY \" $1 \" \" $2;\n+{\n+    if( NF == 2 )\n+        print \"COPY \" $1 \" \" $2;\n }\n"}
{"commit":"f5c744cde679a0e0b2fd84ed6709f95b7cc6a100","subject":"Setup variable showType and episodeType","message":"Setup variable showType and episodeType\n\nAssists proper grouping\/sorting\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-showPages.awk\n+++ getAcornFrom-showPages.awk\n@@ -158,11 +158,28 @@\n     split ($0,fld,\"[<>]\")\n     episodeNumber = fld[5]\n     # print \"==> episodeNumber = \" episodeNumber \" \" shortEpisodeURL > \"\/dev\/stderr\"\n+    # \n+    # Setup showType so shows group\/sort properly\n+    # Default showType to \"S\"\n+    showType = \"S\"\n+    # If show is a Prequel, use \"P\" e.g. Doc Martin\n+    if (episodeURL ~ \/\\\/prequel\/)\n+        showType = \"P\"\n+    # \n+    # Setup episodeType so episodes group\/sort properly\n+    # Default episodeType to \"E\"\n+    episodeType = \"E\"\n+    # Default bonus and christmas specials episodeType to \"X\"\n+    if (episodeURL ~ \/\\\/bonus|christmas[-]?special\/)\n+        episodeType = \"X\"\n+    # If episode is a Trailer, set episodeType to \"T\" - even though not all these have episodes\n+    if (episodeURL ~ \/_cs\\\/\/)\n+        episodeType = \"T\"\n+    #\n     # Wrap up this episode\n-    episodeType = \"E\"\n     # =HYPERLINK(\"https:\/\/acorn.tv\/1900island\/series1\/week-one\";\"1900 Island, S01E01, Week One\")\n-    episodeLink = sprintf (\"=HYPERLINK(\\\"%s\\\";\\\"%s, S%02d%s%02d, %s\\\"\\)\", episodeURL, showTitle,\n-                    seasonNumber, episodeType, episodeNumber, episodeTitle)\n+    episodeLink = sprintf (\"=HYPERLINK(\\\"%s\\\";\\\"%s, %s%02d%s%02d, %s\\\"\\)\", episodeURL, showTitle,\n+                    showType, seasonNumber, episodeType, episodeNumber, episodeTitle)\n     # Print \"episode\" line\n     # =HYPERLINK(\"https:\/\/acorn.tv\/1900island\/series1\/week-one\";\"1900 Island, S01E01, Week One\") \\\n     # \\t\\t\\t 00:59:17 \\t As they arrive\n"}
{"commit":"1dd9a9cf9312455365659e1b0fe9c0ba6ce14e5e","subject":"Commons: improve squeeze(line)","message":"Commons: improve squeeze(line)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -138,6 +138,7 @@\n     gsub(\/#[^\"]*$\/, \"\", line)\n     # Remove trailing spaces\n     gsub(\/[[:space:]]+$\/, \"\", line)\n+    gsub(\/[[:space:]]+\\\\$\/, \"\\\\\", line)\n \n     return line\n }\n"}
{"commit":"f3f0f5c283f95186c61387197de30a79e1dafc97","subject":"support extract when ADDing a tar.gz","message":"support extract when ADDing a tar.gz\n","repos":"vim-zz\/harbor","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- docker_cmd_parser.awk\n+++ docker_cmd_parser.awk\n@@ -6,6 +6,11 @@\n     cmd = \"cp \" $0\n     # system(cmd)\n     print cmd\n+    # if ($1 ~ \/\"tar.gz\"\/ ) {\n+    cmd = \"tar xvfz \" $1 \" --directory \" $2\n+    # system(cmd)\n+    print cmd\n+    # }\n }\n \n \/^RUN\/ {\n"}
{"commit":"4a866ad2c8aa049cc62a21004e253a0c096c1b42","subject":"Fix processing","message":"Fix processing\n","repos":"xopok\/xopok-scripts,xopok\/xopok-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- fitness\/gpxfilter.awk\n+++ fitness\/gpxfilter.awk\n@@ -8,6 +8,10 @@\n       }\n       cur = $0;\n   }\n+  if ($0 ~ \/trkseg\/) {\n+    skipping = 0;\n+    cur = \"INVALID_STRING\";\n+  }\n   if (skipping) {\n   } else {\n       print $0;\n"}
{"commit":"42c845090519f2ae64ab8440ee9bc1bb811b71a0","subject":"MONDRIAN: Only check for NON-NLS in mondrian; extra excluded file for checkFile in mondrian-lagunitas branch.","message":"MONDRIAN: Only check for NON-NLS in mondrian; extra excluded file for checkFile in mondrian-lagunitas branch.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian\/\": change = 14355]\n","repos":"stiberger\/mondrian,cesarmarinhorj\/mondrian,pedrofvteixeira\/mondrian,Seiferxx\/mondrian,pedrofvteixeira\/mondrian,mustangore\/mondrian,sayanh\/mondrian,AvinashPD\/mondrian,pentaho\/mondrian,ivanpogodin\/mondrian,Seiferxx\/mondrian,bmorrise\/mondrian,preisanalytics\/mondrian,syncron\/mondrian,lgrill-pentaho\/mondrian,OSBI\/mondrian,ivanpogodin\/mondrian,sayanh\/mondrian,stiberger\/mondrian,mdamour1976\/mondrian,bmorrise\/mondrian,julianhyde\/mondrian,AvinashPD\/mondrian,nextelBIS\/mondrian,dkincade\/mondrian,mdamour1976\/mondrian,cesarmarinhorj\/mondrian,sayanh\/mondrian,wetet2\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,pedrofvteixeira\/mondrian,openedbox\/mondrian,dkincade\/mondrian,cocosli\/mondrian,syncron\/mondrian,OSBI\/mondrian,wetet2\/mondrian,Seiferxx\/mondrian,bmorrise\/mondrian,lgrill-pentaho\/mondrian,syncron\/mondrian,mustangore\/mondrian,cocosli\/mondrian,lgrill-pentaho\/mondrian,mdamour1976\/mondrian,AvinashPD\/mondrian,citycloud-bigdata\/mondrian,OSBI\/mondrian,openedbox\/mondrian,truvenganong\/mondrian,pentaho\/mondrian,rfellows\/mondrian,pentaho\/mondrian,nextelBIS\/mondrian,mustangore\/mondrian,nextelBIS\/mondrian,preisanalytics\/mondrian,wetet2\/mondrian,openedbox\/mondrian,truvenganong\/mondrian,cesarmarinhorj\/mondrian,cocosli\/mondrian,stiberger\/mondrian,preisanalytics\/mondrian,julianhyde\/mondrian,dkincade\/mondrian,truvenganong\/mondrian,ivanpogodin\/mondrian,rfellows\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -22,6 +22,9 @@\n function _isJava(fname) {\n     return fname ~ \/\\.(java|jj)$\/;\n }\n+function _isMondrian(fname) {\n+    return fname ~ \/mondrian\/;\n+}\n function push(val) {\n     switchStack[switchStackLen++] = val;\n }\n@@ -92,6 +95,7 @@\n     matchFile = _matchFile(fname);\n     isCpp = _isCpp(fname);\n     isJava = _isJava(fname);\n+    mondrian = _isMondrian(fname);\n }\n {\n     if (previousLineEndedInCloseBrace > 0) {\n@@ -130,7 +134,7 @@\n         # mask out \/* *\/ comments\n         gsub(\/\\\/\\*.*\\*\\\/\/, \"\/* comment *\/\", s);\n     }\n-    if (s ~ \/\\\/\\\/\\$NON-NLS\/) {\n+    if (mondrian && s ~ \/\\\/\\\/\\$NON-NLS\/) {\n         error(fname, FNR, \"NON-NLS not allowed\");\n     }\n     # mask out \/\/ comments\n"}
{"commit":"6519e7b11d2e2f4f75e3ef21e25e7628d4cc364b","subject":"avoid undefined symbol warnings","message":"avoid undefined symbol warnings\n","repos":"openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -1498,7 +1498,10 @@\n \tif (sym in crcs && crcs[sym] && crcs[sym]!~\/^0x$\/)\n \t{ line = crcs[sym] } else\n \t{ line = \"0x00000000\" }\n-\tline = line \"\\t\" sym \"\\t\" mod \"\\t\" exps[sym]\n+\tif (sym in exps)\n+\t    line = line \"\\t\" sym \"\\t\" mod \"\\t\" exps[sym]\n+\telse\n+\t    line = line \"\\t\" sym \"\\t\" mod\n \tcount_syms++\n \tprint line > file\n     }\n@@ -1526,7 +1529,10 @@\n \tif (sym in crcs && crcs[sym] && crcs[sym]!~\/^0x$\/)\n \t{ line = crcs[sym] } else\n \t{ line = \"0x00000000\" }\n-\tline = line \"\\t\" sym \"\\t\" mod \"\\t\" exps[sym]\n+\tif (sym in exps)\n+\t    line = line \"\\t\" sym \"\\t\" mod \"\\t\" exps[sym]\n+\telse\n+\t    line = line \"\\t\" sym \"\\t\" mod\n \tcount_syms++\n \tprint line > file\n     }\n"}
{"commit":"02efd00998eb27d0b983c3a8f7abf617216e7a3e","subject":"Translators\/YandexTranslate: split il","message":"Translators\/YandexTranslate: split il\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/YandexTranslate.awk\n+++ include\/Translators\/YandexTranslate.awk\n@@ -205,7 +205,8 @@\n         # Transliteration (original)\n         wShowOriginalPhonetics = Option[\"show-original-phonetics\"]\n         if (wShowTranslationPhonetics) {\n-            data = yandexPostRequestBody(text, il, il, _hl, \"translit\")\n+            split(il, group, \"-\")\n+            data = yandexPostRequestBody(text, group[1], group[1], _hl, \"translit\")\n             content = curlPost(\"https:\/\/translate.yandex.net\/translit\/translit\", data)\n             oPhonetics = (content ~ \/not supported$\/) ? \"\" : unparameterize(content)\n         }\n@@ -214,7 +215,7 @@\n         if (!phonetics) wShowTranslationPhonetics = 0\n \n         if (wShowOriginal) {\n-            # Display: original text\n+            # Display: original text & phonetics\n             if (r) r = r RS RS\n             r = r m(\"-- display original text & phonetics\")\n             r = r prettify(\"original\", s(text, il))\n"}
{"commit":"091b48fdd2b43aaf9738ec09ad6aa8816d52ac5c","subject":"Wrong indices.","message":"Wrong indices.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -11,7 +11,8 @@\n }\n \n BEGIN {\n-\n+    numFiles = 0\n+    print \"[\"\n }\n \n function enrich(property, n, j)\n@@ -22,7 +23,7 @@\n         parsed = urlDecode(queryString)\n         split(queryString, pairs, \"&\")\n         len = length(pairs)\n-        for (j = 1; j < len; ++j) {\n+        for (j = 1; j <= len; j++) {\n             split(pairs[j], keyValue, \"=\")\n             k = keyValue[1]\n             v = keyValue[2]\n@@ -41,8 +42,7 @@\n     for (lineNr in logs)\n     {\n         printf \"{\\n\";\n-        j = 1\n-        for (j = 1; j < numFields; j++)\n+        for (j = 1; j <= numFields; j++)\n         {\n             field = fields[j]\n             enrich(field, lineNr)\n@@ -58,11 +58,11 @@\n                     k++\n                     printf \"\\n\"\n                 }\n-                print \"}\"\n+                printf \"}\"\n             } else {\n                 printf \"\\\"%s\\\": \\\"%s\\\"\", field, logs[lineNr][field]\n             }\n-            if (j + 1 < numFields) {\n+            if (j < numFields) {\n                 printf \",\"\n             }\n             printf \"\\n\"\n@@ -75,7 +75,16 @@\n         i++\n     }\n     print \"]\"\n-    print \"}\"\n+    printf \"}\"\n+    if (numFiles + 1 < ARGC) {\n+        printf \",\"\n+    }\n+    printf \"\\n\"\n+    print \"]\"\n+}\n+\n+ENDFILE {\n+    numFiles++\n }\n \n \/^#Version: \/ {\n@@ -95,7 +104,7 @@\n ! \/^#\/ {\n     split($0, fieldsThisLine, \" \")\n     numFieldsThisLine = length(fieldsThisLine)\n-    for (i = 1; i < numFieldsThisLine; i++)\n+    for (i = 1; i <= numFieldsThisLine; i++)\n     {\n          logs[NR][fields[i]] = fieldsThisLine[i]\n     }\n"}
{"commit":"28ff756f069e864f5be9a19a56e96d0c40bdf3fb","subject":"allow capital hex digits","message":"allow capital hex digits\n","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -582,7 +582,7 @@\n function json(str, T, V,    c,s,n,a,A,b,B,C,U,W,i,j,k,u,v,w,root) {\n     # use strings, numbers, booleans as separators\n     # c = \"[^\\\"\\\\\\\\[:cntrl:]]|\\\\\\\\[\\\"\\\\\\\\\/bfnrt]|\\\\u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]\"\n-    c = \"[^\\\"\\\\\\\\\\001-\\037]|\\\\\\\\[\\\"\\\\\\\\\/bfnrt]|\\\\u[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]\"\n+    c = \"[^\\\"\\\\\\\\\\001-\\037]|\\\\\\\\[\\\"\\\\\\\\\/bfnrt]|\\\\u[[:xdigit:]A-F][[:xdigit:]A-F][[:xdigit:]A-F][[:xdigit:]A-F]\"\n     s =\"\\\"(\" c \")*\\\"\"\n     n = \"-?(0|[1-9][[:digit:]]*)(\\\\.[[:digit:]]+)?([eE][+-]?[[:digit:]]+)?\"\n \n"}
{"commit":"108b1123267872d4ae4de0bf3321bdd90e7b51c0","subject":"Fix NULL string implementation","message":"Fix NULL string implementation\n\nPG COPY uses \\N as the default NULL placeholder.\nhttp:\/\/www.postgresql.org\/docs\/9.3\/static\/sql-copy.html\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -77,8 +77,6 @@\n     defaults[\"mode\"]    = \"text\"\n     defaults[\"summary\"] = \"true\"\n     defaults[\"dcat\"]    = \"warning\"\n-    defaults[\"dvalnum\"] = \"NULL\"\n-    defaults[\"dvalstr\"] = \"NULL\"\n     for (option in defaults) {\n         if (!options[option]) options[option] = defaults[option]\n     }\n@@ -196,6 +194,7 @@\n         sql_type    = sql_types[field]\n         field_index = header_index[field]\n         dval        = sql_type == \"numeric\" ? options[\"dvalnum\"] : options[\"dvalstr\"]\n+        dval        = dval ? dval : \"\\\\\\\\N\"\n \n         print \"    if (\" field \" == \\\"\\\") $\" field_index \" = \\\"\" dval \"\\\"\"\n     }\n"}
{"commit":"45b071dc41991875bd167cc77573a881a9f0f9db","subject":"update copyright","message":"update copyright\n","repos":"gits68\/scripts,gits68\/scripts","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- bin\/gps.awk\n+++ bin\/gps.awk\n@@ -1,6 +1,6 @@\n #!\/usr\/bin\/awk -f\n #\n-# Copyright (c) 1995-2016 Cyrille Lefevre (Cyrille.Lefevre@laposte.net). All rights reserved.\n+# Copyright (c) 2016 Cyrille Lefevre (Cyrille.Lefevre@laposte.net). All rights reserved.\n #\n # Redistribution and use in source and binary forms, with or without\n # modification, are permitted provided that the following conditions\n"}
{"commit":"4adaeb477919e375a6aa29b54d0bb1a323b46677","subject":"Debug for source plugins.","message":"Debug for source plugins.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -14,11 +14,11 @@\n   if (week<26) {\n   \tcurrent_year=current_year-1\n   }\n-  printf \"Current-Year:%s Current-Week:%s\", current_year, week;\n+  #printf \"DEBUG: Current-Year:%s Current-Week:%s\\n\", current_year, week;\n   FS=\"\\t\"\n   pn = 0\n }\n-$3>date\n+#$3>date\n \n {\n   # add a loop to add line only if either status is (wanted or testing) or ending year is gt or eq to contract year\n@@ -47,7 +47,7 @@\n   if (length($4) > 3) {\n     end_year = substr($4,length($4)-3,4)\n   }\n-  printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", $1,$2,$3,$4,$7,end_year,test_year\n+  #printf \"DEBUG: %s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", $1,$2,$3,$4,$7,end_year,test_year\n   # Is the AU year >= the contract year or the back year. And then decide what to do with the current year.\n   if ($6 == \"wanted\" || $6 == \"testing\") {\n       incontract = 1;\n"}
{"commit":"0b091d0a1b9cc04e5538cf2bf0eaf19658780903","subject":"BrlAPI: Constant generation needs to parse the BRLAPI_PARAM_TYPE_ definitions. (dm)","message":"BrlAPI: Constant generation needs to parse the BRLAPI_PARAM_TYPE_ definitions. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi.awk\n+++ Programs\/brlapi.awk\n@@ -18,7 +18,7 @@\n \n BEGIN {\n   apiRangeTypeCount = 0\n-  apiParameterNext = 0\n+  apiParameterTypeCount = 0\n }\n \n \/#define[ \\t]*BRLAPI_(CURSOR|DISPLAY|ERROR|TTY)_\/ {\n@@ -57,19 +57,14 @@\n   next\n }\n \n-\/^ *BRLAPI_PARAM_[^ ]+ += +[0-9]+,?\/ {\n-  gsub(\",\", \"\", $3)\n-  apiParameterNext = strtonum($3)\n-  apiParameter($0, $1)\n+\/^ *BRLAPI_PARAM_TYPE_[^ ,]+,?\/ {\n+  gsub(\",\", \"\", $1)\n+  apiConstant(substr($1, 8), $1, apiParameterTypeCount++, getComment($0))\n   next\n }\n \n-\/^ *BRLAPI_PARAM_[^ ,]+,?\/ {\n-  gsub(\",\", \"\", $1)\n-  apiParameter($0, $1)\n+\/^ *BRLAPI_PARAM_[^ ]+ += +[0-9]+,?\/ {\n+  gsub(\",\", \"\", $3)\n+  apiConstant(substr($1, 8), $1, strtonum($3), getComment($0))\n   next\n }\n-\n-function apiParameter(line, symbol) {\n-  apiConstant(substr(symbol, 8), symbol, apiParameterNext++, getComment(line))\n-}\n"}
{"commit":"bc66b87677e027c7f02ab3a0b881dc33ddc83035","subject":"Help: update getVersion()","message":"Help: update getVersion()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -20,7 +20,7 @@\n         sprintf(\"%-22s%s\\n\", \"source language\", Option[\"sl\"])           \\\n         sprintf(\"%-22s%s\\n\", \"target language\", join(Option[\"tl\"], \"+\")) \\\n         sprintf(\"%-22s%s\\n\", \"theme\", Option[\"theme\"])                  \\\n-        sprintf(\"%-22s%s\\n\", \"init file\", InitScript)                   \\\n+        sprintf(\"%-22s%s\\n\", \"init file\", InitScript ? InitScript : \"[NONE]\") \\\n         sprintf(\"\\n%-22s%s\", \"Report bugs to:\", \"https:\/\/github.com\/soimort\/translate-shell\/issues\")\n }\n \n"}
{"commit":"fb204962f157edd18dfdd1b07cc22ca28cf77ca7","subject":"- correction","message":"- correction\n","repos":"0x7678\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -1210,8 +1210,7 @@\n     for (i = 1; i in modules; i++)\n \tprint modules[i] > \"modvers.list\"\n     close(\"modvers.list\")\n-    #command = \"cat modvers.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n-    command = \"cat modvers.list | while read f ; do case $f in (*.ko) echo $f ;; (*.ko.gz) gzip -dc $f >\/var\/tmp\/`basename $f .gz` ; echo \/var\/tmp\/`basename $f .gz` ;; esac ; done | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+    command = \"cat modvers.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n     read_modobject(command, \".\", values[\"pkgdirectory\"], src)\n     system(\"rm -f modvers.list\")\n     system(\"rm -f \/var\/tmp\/*.ko\")\n"}
{"commit":"49aeef08fec9b6ed74bb07e3a7efcb23cd3dd85c","subject":"Translators\/BingTranslator: handle redirection in bingSetIG()","message":"Translators\/BingTranslator: handle redirection in bingSetIG()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -12,7 +12,8 @@\n }\n \n # Retrieve the Cookie and set IG.\n-function bingSetCookie(    content, cookie, group, header, isBody, url) {\n+function bingSetIG(    content, cookie, group, header, isBody,\n+                       url, status, location) {\n     url = HttpPathPrefix \"\/translator\"\n \n     header = \"GET \" url \" HTTP\/1.1\\r\\n\"                                 \\\n@@ -32,9 +33,19 @@\n             content = content ? content \"\\r\\n\" $0 : $0\n         else if (length($0) <= 1)\n             isBody = 1\n+        else { # interesting fields in header\n+            match($0, \/^HTTP[^ ]* ([^ ]*)\/, group)\n+            if (RSTART) status = group[1]\n+            match($0, \/^Location: (.*)\/, group)\n+            if (RSTART) location = squeeze(group[1]) # squeeze the URL!\n+        }\n         l(sprintf(\"%4s bytes > %s\", length($0), length($0) < 1024 ? $0 : \"...\"))\n     }\n     close(HttpService)\n+\n+    if ((status == \"301\" || status == \"302\") && location)\n+        content = curl(location)\n+    # FIXME: cookie\n \n     Cookie = cookie\n     match(content, \/IG:\"([^\"]+)\"\/, group)\n@@ -173,7 +184,7 @@\n     _tl = getCode(tl); if (!_tl) _tl = tl\n     _hl = getCode(hl); if (!_hl) _hl = hl\n \n-    bingSetCookie() # set IG\n+    bingSetIG() # set IG\n \n     # Language identification\n     il = postResponse(text, _sl, _tl, _hl, \"detect\")\n"}
{"commit":"e891e571b7726aa6eca6fb550c3c3bf6c108fe61","subject":"FIx season number mismatches","message":"FIx season number mismatches\n\nOnly for Poirot, Rebus, and Vera. Others were caused by bonus or Christmas episodes which incremented Acorn's seasonNumber.\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -142,6 +142,8 @@\n }\n \n # Extract the seasonNumber\n+# Note that Acorn \"season\" numbers may not correspond to actual season numbers.\n+# They simply refer to the number of seasons available on Acorn.\n \/<meta itemprop=\"seasonNumber\" content=\"\/ {\n     split ($0,fld,\"\\\"\")\n     seasonNumber = fld[4]\n@@ -229,9 +231,22 @@\n     # neither should single episode series\n     if (totalEpisodes == 1)\n         next\n+    # The season number should match that in the URL\n+    # Poirot, Rebus, and Vera have kn own problems\n+    if (episodeURL ~ \\\n+           \/\\\/poirot\\\/series[0-9]{1,2}\\\/|\\\/rebus\\\/series[0-9]{1,2}\\\/|\\\/vera\\\/series[0-9]{1,2}\\\/\/) {\n+        split (episodeURL, part, \"\/\")\n+        URLseasonNumber = part[5]\n+        sub (\/[[:alpha:]]*\/,\"\",URLseasonNumber)\n+        if (URLseasonNumber != seasonNumber) {\n+            printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n+               part[4], part[5], seasonNumber) >> ERROR_FILE\n+            seasonNumber = URLseasonNumber\n+        }\n+    }\n     printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, %s%02dE%02d, %s\\\"\\)\\t\\t\\t%s\\n\", \\\n         SERIES_NUMBER, episodeURL, seriesTitle, showType, seasonNumber, episodeNumber, \\\n-        episodeTitle, episodeDuration) >>EPISODE_INFO_FILE\n+        episodeTitle, episodeDuration) >> EPISODE_INFO_FILE\n     next\n }\n \n"}
{"commit":"7e49d9643d2468473523eed0ed85fd0a7f848186","subject":"Remove port number.","message":"Remove port number.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -10,6 +10,7 @@\n function extract(line, original_line) {\n \tsub(\/.*:\\\/\\\/\/, \"\", line) # remove everything till :\/\/, such as http:\/\/ https:\/\/\n \tsub(\/\\\/.*\/, \"\", line)    # remove everything from \/\n+\tsub(\/:.*\/, \"\", line)     # remove everything from :\n \tsub(\/\\*\/, \"\", line)      # remove *\n \tsub(\/^\\.\/, \"\", line)     # remove leading dot\n \n"}
{"commit":"0e61ac98ea60ae833c7370b8083968c96a2fbdb0","subject":" Bugfix if changing static to dhcp\/manual","message":" Bugfix if changing static to dhcp\/manual\n","repos":"JoeKuan\/Network-Interfaces-Script","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changeInterface.awk\n+++ changeInterface.awk\n@@ -221,6 +221,12 @@\n                 print $0;\n             }\n         }\n+\n+        if ($1 == \"auto\" || $1 == \"allow-hotplug\" || $1 == \"\")\n+        {\n+            print\n+        }\n+\n         next;\n     }\n \n"}
{"commit":"e6d25fd0d8c05ff4db0f18f31c242dbdcc92bfa0","subject":"gawk's lshift() function is a gnu extension. (dm)","message":"gawk's lshift() function is a gnu extension. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlcmds.awk\n+++ Programs\/brlcmds.awk\n@@ -65,7 +65,7 @@\n   value = getDefineValue()\n   sub(\"^.*\\\\(\", \"\", value)\n   sub(\"\\\\).*$\", \"\", value)\n-  value = lshift(1, (value - 1))\n+  value = 2 ^ (value - 1)\n   brlDot(substr($2, 8), $2, value, getComment($0))\n   next\n }\n"}
{"commit":"7523deb0b49a2503288938175a51bf3b6d134d17","subject":"some substitutions","message":"some substitutions","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -107,7 +107,21 @@\n   sub(\/`\/, \"\\\\texttt{\", line);\n   sub(\/`\/, \"}\", line);\n   $0 = line\n+  ## repeat!\n }\n+\n+\/.#\/ {\n+  gsub(\/#\/, \"\\\\#\");\n+}\n+\/\\[\/ {\n+  sub(\/\\[\/, \"\\\\mbox{$[$}\");\n+  ## repeat!\n+}\n+\/\\]\/ {\n+  sub(\/\\]\/, \"\\\\mbox{$]$}\");\n+  ## repeat!\n+}\n+\n \n \/^==\/ {\n   sub(\/^==\/, \"\\\\subsection*{\");\n@@ -122,6 +136,7 @@\n   print;\n   print \"\";\n   print \"\\\\label{f0}\";\n+  print \"\";\n   next;\n }\n \n"}
{"commit":"d68ca8b06a5f1713cb05453b67f2bc12883bcf27","subject":"- modpost improvement","message":"- modpost improvement\n","repos":"kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -2015,6 +2015,9 @@\n \t    command = cat_command(\"\/boot\/System.map-\" kversion \".bz2\")\n \t    if (command) { read_systemmap(command, \"vmlinux\", \"kernel\", \"systemmap\") }\n \t    else {\n+\t    command = cat_command(\"\/lib\/modules\/\" kversion \"\/build\/System.map\")\n+\t    if (command) { read_systemmap(command, \"vmlinux\", \"kernel\", \"systemmap\") }\n+\t    else {\n \t    print_error(\"r: systemmap, file not found\") } } }\n \t}\n \tif ((\"infile\" in values) && values[\"infile\"]) {\n"}
{"commit":"464e5378986479f2299a563366293179e4474b3a","subject":"Main: update","message":"Main: update\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -63,9 +63,6 @@\n \n # Initialization script.\n function initScript(    file, line, script, temp) {\n-    if (belongsTo(\"-no-init\", ARGV) || belongsTo(\"--no-init\", ARGV))\n-        return\n-\n     # Find the initialization file\n     file = \".trans\"\n     if (!fileExists(file)) {\n@@ -136,65 +133,71 @@\n # Main entry point.\n BEGIN {\n     init()\n-    initScript() # initialization script overrides default setting\n+\n+    if (!(belongsTo(\"-no-init\", ARGV) || belongsTo(\"--no-init\", ARGV)))\n+        initScript() # initialization script overrides default setting\n \n     # Command-line options override initialization script\n     pos = 0\n     while (ARGV[++pos]) {\n-        # -, -no-op\n-        match(ARGV[pos], \/^-(-?no-op)?$\/)\n-        if (RSTART) continue\n+        ## Information options\n \n         # -V, -version\n-        match(ARGV[pos], \/^--?(vers(i(on?)?)?|V)$\/)\n-        if (RSTART) {\n-            print getVersion()\n-            print\n-            printf(\"%-22s%s\\n\", \"gawk (GNU Awk)\", PROCINFO[\"version\"])\n-            printf(\"%s\\n\", FriBidi ? FriBidi : \"fribidi (GNU FriBidi) [NOT INSTALLED]\")\n-            printf(\"%-22s%s\\n\", \"User Language\", getName(UserLang) \" (\" getDisplay(UserLang) \")\")\n-            exit\n-        }\n-\n-        # -H, -h, -help\n-        match(ARGV[pos], \/^--?(h(e(lp?)?)?|H)$\/)\n-        if (RSTART) {\n-            print getHelp()\n-            exit\n-        }\n-\n-        # -M, -m, -manual\n-        match(ARGV[pos], \/^--?(m(a(n(u(al?)?)?)?)?|M)$\/)\n-        if (RSTART) {\n-            man()\n-            exit\n-        }\n-\n-        # -r, -reference\n-        match(ARGV[pos], \/^--?r(e(f(e(r(e(n(ce?)?)?)?)?)?)?)?$\/)\n-        if (RSTART) {\n-            print getReference(\"endonym\")\n-            exit\n+        match(ARGV[pos], \/^--?(V|vers(i(on?)?)?)$\/)\n+        if (RSTART) {\n+            InfoOnly = \"version\"\n+            continue\n+        }\n+\n+        # -H, -help\n+        match(ARGV[pos], \/^--?(H|h(e(lp?)?)?)$\/)\n+        if (RSTART) {\n+            InfoOnly = \"help\"\n+            continue\n+        }\n+\n+        # -M, -manual\n+        match(ARGV[pos], \/^--?(M|m(a(n(u(al?)?)?)?)?)$\/)\n+        if (RSTART) {\n+            InfoOnly = \"manual\"\n+            continue\n+        }\n+\n+        # -T, -reference\n+        match(ARGV[pos], \/^--?(T|ref(e(r(e(n(ce?)?)?)?)?)?)$\/)\n+        if (RSTART) {\n+            InfoOnly = \"reference\"\n+            continue\n+        }\n+\n+        # FIXME[1.0]: to be removed\n+        match(ARGV[pos], \/^--?r$\/)\n+        if (RSTART) {\n+            w(\"[WARNING] Option '-r' has been deprecated since version 0.9.\\n\" \\\n+              \"          Use option '-T' or '-reference' instead.\")\n+            exit 1\n         }\n \n         # -R, -reference-english\n-        match(ARGV[pos], \/^--?(reference-(e(n(g(l(i(sh?)?)?)?)?)?)?|R)$\/)\n-        if (RSTART) {\n-            print getReference(\"name\")\n-            exit\n-        }\n-\n-        # -D, -debug\n-        match(ARGV[pos], \/^--?(debug|D)$\/)\n-        if (RSTART) {\n-            Option[\"debug\"] = 1\n-            continue\n-        }\n+        match(ARGV[pos], \/^--?(R|reference-e(n(g(l(i(sh?)?)?)?)?)?)$\/)\n+        if (RSTART) {\n+            InfoOnly = \"reference-english\"\n+            continue\n+        }\n+\n+        ## Display options\n \n         # -verbose\n         match(ARGV[pos], \/^--?verbose$\/)\n         if (RSTART) {\n             Option[\"verbose\"] = 1 # default value\n+            continue\n+        }\n+\n+        # -b, -brief\n+        match(ARGV[pos], \/^--?b(r(i(ef?)?)?)?$\/)\n+        if (RSTART) {\n+            Option[\"verbose\"] = 0\n             continue\n         }\n \n@@ -207,77 +210,102 @@\n             continue\n         }\n \n-        # -b, -brief\n-        match(ARGV[pos], \/^--?b(r(i(ef?)?)?)?$\/)\n-        if (RSTART) {\n-            Option[\"verbose\"] = 0\n-            continue\n-        }\n-\n-        # -show-original [yes|no]\n+        # -show-original Y|n\n         match(ARGV[pos], \/^--?show-original(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-original\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -show-original-phonetics [yes|no]\n+        # -show-original-phonetics Y|n\n         match(ARGV[pos], \/^--?show-original-phonetics(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-original-phonetics\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -show-translation [yes|no]\n+        # -show-translation Y|n\n         match(ARGV[pos], \/^--?show-translation(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-translation\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -show-translation-phonetics [yes|no]\n+        # -show-translation-phonetics Y|n\n         match(ARGV[pos], \/^--?show-translation-phonetics(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-translation-phonetics\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -show-prompt-message [yes|no]\n+        # -show-prompt-message Y|n\n         match(ARGV[pos], \/^--?show-prompt-message(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-prompt-message\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -show-languages [yes|no]\n+        # -show-languages Y|n\n         match(ARGV[pos], \/^--?show-languages(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-languages\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -show-original-dictionary [yes|no]\n+        # -show-original-dictionary y|N\n         match(ARGV[pos], \/^--?show-original-dictionary(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-original-dictionary\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -show-dictionary [yes|no]\n+        # -show-dictionary Y|n\n         match(ARGV[pos], \/^--?show-dictionary(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-dictionary\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -show-alternatives [yes|no]\n+        # -show-alternatives Y|n\n         match(ARGV[pos], \/^--?show-alternatives(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"show-alternatives\"] = yn(group[1] ? group[2] : ARGV[++pos])\n             continue\n         }\n \n-        # -theme [theme]\n+        # -w NUM, -width NUM\n+        match(ARGV[pos], \/^--?w(i(d(th?)?)?)?(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"width\"] = group[4] ?\n+                (group[5] ? group[5] : Option[\"width\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -indent NUM\n+        match(ARGV[pos], \/^--?indent(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"indent\"] = group[1] ?\n+                (group[2] ? group[2] : Option[\"indent\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -no-ansi\n+        match(ARGV[pos], \/^--?no-ansi$\/)\n+        if (RSTART) {\n+            Option[\"no-ansi\"] = 1\n+            continue\n+        }\n+\n+        # -no-theme\n+        match(ARGV[pos], \/^--?no-theme$\/)\n+        if (RSTART) {\n+            Option[\"theme\"] = NULLSTR\n+            continue\n+        }\n+\n+        # -theme FILENAME\n         match(ARGV[pos], \/^--?theme(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"theme\"] = group[1] ?\n@@ -286,28 +314,38 @@\n             continue\n         }\n \n-        # -no-ansi\n-        match(ARGV[pos], \/^--?no-ansi$\/)\n-        if (RSTART) {\n-            Option[\"no-ansi\"] = 1\n-            continue\n-        }\n-\n-        # -w [num], -width [num]\n-        match(ARGV[pos], \/^--?w(i(d(th?)?)?)?(=(.*)?)?$\/, group)\n-        if (RSTART) {\n-            Option[\"width\"] = group[4] ?\n-                (group[5] ? group[5] : Option[\"width\"]) :\n-                ARGV[++pos]\n-            continue\n-        }\n-\n-        # -indent [num]\n-        match(ARGV[pos], \/^--?indent(=(.*)?)?$\/, group)\n-        if (RSTART) {\n-            Option[\"indent\"] = group[1] ?\n-                (group[2] ? group[2] : Option[\"indent\"]) :\n-                ARGV[++pos]\n+        ## Audio options\n+\n+        # -no-play\n+        match(ARGV[pos], \/^--?no-play$\/)\n+        if (RSTART) {\n+            Option[\"play\"] = 0\n+            continue\n+        }\n+\n+        # -p, -play\n+        match(ARGV[pos], \/^--?p(l(ay?)?)?$\/)\n+        if (RSTART) {\n+            Option[\"play\"] = 1\n+            continue\n+        }\n+\n+        # -player PROGRAM\n+        match(ARGV[pos], \/^--?player(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"play\"] = 1\n+            Option[\"player\"] = group[1] ?\n+                (group[2] ? group[2] : Option[\"player\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        ## Terminal paging and web options\n+\n+        # -no-view\n+        match(ARGV[pos], \/^--?no-view$\/)\n+        if (RSTART) {\n+            Option[\"view\"] = 0\n             continue\n         }\n \n@@ -318,7 +356,7 @@\n             continue\n         }\n \n-        # -pager [program]\n+        # -pager PROGRAM\n         match(ARGV[pos], \/^--?pager(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"view\"] = 1\n@@ -328,7 +366,7 @@\n             continue\n         }\n \n-        # -browser [program]\n+        # -browser PROGRAM\n         match(ARGV[pos], \/^--?browser(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"browser\"] = group[1] ?\n@@ -337,25 +375,10 @@\n             continue\n         }\n \n-        # -p, -play\n-        match(ARGV[pos], \/^--?p(l(ay?)?)?$\/)\n-        if (RSTART) {\n-            Option[\"play\"] = 1\n-            continue\n-        }\n-\n-        # -player [program]\n-        match(ARGV[pos], \/^--?player(=(.*)?)?$\/, group)\n-        if (RSTART) {\n-            Option[\"play\"] = 1\n-            Option[\"player\"] = group[1] ?\n-                (group[2] ? group[2] : Option[\"player\"]) :\n-                ARGV[++pos]\n-            continue\n-        }\n-\n-        # -x [proxy], -proxy [proxy]\n-        match(ARGV[pos], \/^--?(proxy|x)(=(.*)?)?$\/, group)\n+        ## Networking options\n+\n+        # -x HOST:PORT, -proxy HOST:PORT\n+        match(ARGV[pos], \/^--?(x|proxy)(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"proxy\"] = group[2] ?\n                 (group[3] ? group[3] : Option[\"proxy\"]) :\n@@ -363,8 +386,8 @@\n             continue\n         }\n \n-        # -u [agent], -user-agent [agent]\n-        match(ARGV[pos], \/^--?(user-agent|u)(=(.*)?)?$\/, group)\n+        # -u STRING, -user-agent STRING\n+        match(ARGV[pos], \/^--?(u|user-agent)(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"user-agent\"] = group[2] ?\n                 (group[3] ? group[3] : Option[\"user-agent\"]) :\n@@ -372,12 +395,7 @@\n             continue\n         }\n \n-        # -I, -interactive, -shell\n-        match(ARGV[pos], \/^--?(int(e(r(a(c(t(i(ve?)?)?)?)?)?)?)?|shell|I)$\/)\n-        if (RSTART) {\n-            Option[\"interactive\"] = 1\n-            continue\n-        }\n+        ## Interactive shell options\n \n         # -no-rlwrap\n         match(ARGV[pos], \/^--?no-rlwrap$\/)\n@@ -386,15 +404,22 @@\n             continue\n         }\n \n+        # -I, -interactive, -shell\n+        match(ARGV[pos], \/^--?(I|int(e(r(a(c(t(i(ve?)?)?)?)?)?)?)?|shell)$\/)\n+        if (RSTART) {\n+            Option[\"interactive\"] = 1\n+            continue\n+        }\n+\n         # -E, -emacs\n-        match(ARGV[pos], \/^--?(emacs|E)$\/)\n+        match(ARGV[pos], \/^--?(E|emacs)$\/)\n         if (RSTART) {\n             Option[\"emacs\"] = 1\n             continue\n         }\n \n         # FIXME[1.0]: to be removed\n-        # -prompt [prompt_string]\n+        # -prompt PROMPT_STRING\n         match(ARGV[pos], \/^--?prompt(=(.*)?)?$\/, group)\n         if (RSTART) {\n             w(\"[ERROR] Option '-prompt' has been deprecated since version 0.9.\\n\" \\\n@@ -403,7 +428,7 @@\n         }\n \n         # FIXME[1.0]: to be removed\n-        # -prompt-color [color_code]\n+        # -prompt-color COLOR_CODE\n         match(ARGV[pos], \/^--?prompt-color(=(.*)?)?$\/, group)\n         if (RSTART) {\n             w(\"[ERROR] Option '-prompt-color' has been deprecated since version 0.9.\\n\" \\\n@@ -411,7 +436,9 @@\n             exit 1\n         }\n \n-        # -i [file], -input [file]\n+        ## I\/O options\n+\n+        # -i FILENAME, -input FILENAME\n         match(ARGV[pos], \/^--?i(n(p(ut?)?)?)?(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"input\"] = group[4] ?\n@@ -420,7 +447,7 @@\n             continue\n         }\n \n-        # -o [file], -output [file]\n+        # -o FILENAME, -output FILENAME\n         match(ARGV[pos], \/^--?o(u(t(p(ut?)?)?)?)?(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"output\"] = group[5] ?\n@@ -429,7 +456,9 @@\n             continue\n         }\n \n-        # -l [code], -lang [code]\n+        ## Language preference options\n+\n+        # -l CODE, -lang CODE\n         match(ARGV[pos], \/^--?l(a(ng?)?)?(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"hl\"] = group[3] ?\n@@ -438,7 +467,7 @@\n             continue\n         }\n \n-        # -s [code], -source [code]\n+        # -s CODE, -source CODE\n         match(ARGV[pos], \/^--?s(o(u(r(ce?)?)?)?)?(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"sl\"] = group[5] ?\n@@ -447,7 +476,7 @@\n             continue\n         }\n \n-        # -t [codes], -target [codes]\n+        # -t CODE(S), -target CODE(S)\n         match(ARGV[pos], \/^--?t(a(r(g(et?)?)?)?)?(=(.*)?)?$\/, group)\n         if (RSTART) {\n             if (group[5]) {\n@@ -458,7 +487,7 @@\n         }\n \n         # Shortcut format\n-        # '[code]:[code]+...' or '[code]=[code]+...'\n+        # 'CODE:CODE+...' or 'CODE=CODE+...'\n         match(ARGV[pos], \/^[{(\\[]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\\]]?$\/, group)\n         if (RSTART) {\n             if (group[1]) Option[\"sl\"] = group[1]\n@@ -466,9 +495,22 @@\n             continue\n         }\n \n+        ## Other options\n+\n+        # -D, -debug\n+        match(ARGV[pos], \/^--?(D|debug)$\/)\n+        if (RSTART) {\n+            Option[\"debug\"] = 1\n+            continue\n+        }\n+\n         # -no-init\n         match(ARGV[pos], \/^--?no-init\/)\n-        if (RSTART) continue\n+        if (RSTART) continue # skip\n+\n+        # -, -no-op\n+        match(ARGV[pos], \/^-(-?no-op)?$\/)\n+        if (RSTART) continue # no operation, skip\n \n         # --\n         match(ARGV[pos], \/^--$\/)\n@@ -482,6 +524,7 @@\n \n     setTheme() # theme overrides command-line options\n \n+    # Handle interactive shell\n     if (Option[\"interactive\"] && !Option[\"no-rlwrap\"])\n         rlwrapMe() # interactive mode\n     else if (Option[\"emacs\"] && !Option[\"interactive\"] && !Option[\"no-rlwrap\"])\n@@ -492,6 +535,29 @@\n \n     initMisc()\n \n+    # Handle information options\n+    switch (InfoOnly) {\n+    case \"version\":\n+        print getVersion()\n+        print\n+        printf(\"%-22s%s\\n\", \"gawk (GNU Awk)\", PROCINFO[\"version\"])\n+        printf(\"%s\\n\", FriBidi ? FriBidi : \"fribidi (GNU FriBidi) [NOT INSTALLED]\")\n+        printf(\"%-22s%s\\n\", \"User Language\", getName(UserLang) \" (\" getDisplay(UserLang) \")\")\n+        exit\n+    case \"help\":\n+        print getHelp()\n+        exit\n+    case \"manual\":\n+        man()\n+        exit\n+    case \"reference\":\n+        print getReference(\"endonym\")\n+        exit\n+    case \"reference-english\":\n+        print getReference(\"name\")\n+        exit\n+    }\n+\n     if (Option[\"interactive\"])\n         welcome()\n \n"}
{"commit":"a821703253b2baf549939f2c7b6acc0d0d25a461","subject":"REPL: get things right","message":"REPL: get things right\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/REPL.awk\n+++ include\/REPL.awk\n@@ -143,15 +143,16 @@\n     } else if (command ~ \/^:set$\/) {\n         name = words[2]\n         value = words[3]\n-        Option[name] = value\n         # :set sl and :set tl should work as intended\n         # TODO: support multiple language codes\n         if (name == \"sl\") {\n             delete Option[\"sls\"]\n-            Option[\"sls\"][1] = Option[\"sl\"]\n+            Option[\"sls\"][1] = value\n         } else if (name == \"tl\") {\n             delete Option[\"tl\"]\n             Option[\"tl\"][1] = value\n+        } else {\n+            Option[name] = value\n         }\n     } else if (command ~ \/^:show$\/) {\n         name = words[2]\n"}
{"commit":"a27d53f3791fab0d40578c034ab00be272f823eb","subject":"Add copyright header to gen_domain_state_inc.awk","message":"Add copyright header to gen_domain_state_inc.awk\n","repos":"gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- runtime\/gen_domain_state_inc.awk\n+++ runtime\/gen_domain_state_inc.awk\n@@ -1,3 +1,18 @@\n+#**************************************************************************\n+#*                                                                        *\n+#*                                 OCaml                                  *\n+#*                                                                        *\n+#*         Damien Doligez, projet Gallium, INRIA Rocquencourt             *\n+#*                                                                        *\n+#*   Copyright 2013 Institut National de Recherche en Informatique et     *\n+#*     en Automatique.                                                    *\n+#*                                                                        *\n+#*   All rights reserved.  This file is distributed under the terms of    *\n+#*   the GNU Lesser General Public License version 2.1, with the          *\n+#*   special exception on linking described in the file LICENSE.          *\n+#*                                                                        *\n+#**************************************************************************\n+\n BEGIN{FS=\",\";count=0};\n \/DOMAIN_STATE\/{\n   print \"Store_\" substr($2,2,length($2)-2) \" MACRO reg\";\n"}
{"commit":"42eb83efb72d8a36966cfce0ec1f6522b80207ab","subject":"Translators\/BingTranslator: switch to API v3 (fix #311)","message":"Translators\/BingTranslator: switch to API v3 (fix #311)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -2,7 +2,7 @@\n # BingTranslator.awk                                               #\n ####################################################################\n #\n-# Last Updated: 23 Dec 2018\n+# Last Updated: 24 Jul 2019\n BEGIN { provides(\"bing\") }\n \n function bingInit() {\n@@ -133,15 +133,14 @@\n         \"from=\" sl \"&to=\" tl \"&text=\" preprocess(text)\n }\n \n+# Main Bing Translator API (via HTTP POST).\n function bingPostRequestUrl(text, sl, tl, hl, type) {\n-    if (type == \"translate\")\n-        return HttpPathPrefix \"\/ttranslate\"\n-    else if (type == \"translationlookup\")\n-        return HttpPathPrefix \"\/ttranslationlookup\"\n+    if (type == \"lookup\")\n+        return HttpPathPrefix \"\/tlookupv3\"\n     else if (type == \"transliterate\")\n-        return HttpPathPrefix \"\/ttransliterate\"\n-    else # type == \"detect\"\n-        return HttpPathPrefix \"\/tdetect\"\n+        return HttpPathPrefix \"\/ttransliteratev3\"\n+    else # type == \"translate\"\n+        return HttpPathPrefix \"\/ttranslatev3\"\n }\n \n function bingPostRequestContentType(text, sl, tl, hl, type) {\n@@ -149,14 +148,12 @@\n }\n \n function bingPostRequestBody(text, sl, tl, hl, type) {\n-    if (type == \"translate\")\n-        return \"&text=\" quote(text) \"&from=\" sl \"&to=\" tl\n-    else if (type == \"translationlookup\")\n-        return \"&text=\" quote(text) \"&from=\" sl \"&to=\" tl\n+    if (type == \"lookup\")\n+        return \"&text=\" quote(text) \"&fromLang=\" sl \"&to=\" tl  # FIXME!\n     else if (type == \"transliterate\")\n-        return \"&text=\" quote(text) \"&language=\" sl \"&toScript=\" \"latn\"\n-    else # type == \"detect\"\n-        return \"&text=\" quote(text)\n+        return \"&text=\" quote(text) \"&language=\" sl \"&toScript=\" \"latn\"  # FIXME!\n+    else # type == \"translate\"\n+        return \"&text=\" quote(text) \"&fromLang=\" sl \"&to=\" tl\n }\n \n # Get the translation of a string.\n@@ -186,28 +183,15 @@\n \n     #bingSetIG() # set IG (no longer needed)\n \n-    # Language identification\n-    il = postResponse(text, _sl, _tl, _hl, \"detect\")\n-    if (!il) {\n-        e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n-        ExitCode = 1\n-        return\n-    }\n-    returnIl[0] = il\n-    if (Option[\"verbose\"] < -1)\n-        return il\n-    if (Option[\"verbose\"] < 0)\n-        return getList(il)\n-\n     # Hot-patches for Bing's own translator language codes\n     # See: <https:\/\/msdn.microsoft.com\/en-us\/library\/hh456380.aspx>\n-    if (_sl == \"auto\")  _sl = il\n-    if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code\n-    if (_sl == \"zh-CN\") _sl = \"zh-CHS\"\n-    if (_sl == \"zh-TW\") _sl = \"zh-CHT\"\n+    if (_sl == \"auto\")  _sl = \"auto-detect\"\n+    if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code  # FIXME\n+    if (_sl == \"zh-CN\") _sl = \"zh-Hans\"\n+    if (_sl == \"zh-TW\") _sl = \"zh-Hant\"\n     if (_tl == \"bs\")    _tl = \"bs-Latn\"\n-    if (_tl == \"zh-CN\") _tl = \"zh-CHS\"\n-    if (_tl == \"zh-TW\") _tl = \"zh-CHT\"\n+    if (_tl == \"zh-CN\") _tl = \"zh-Hans\"\n+    if (_tl == \"zh-TW\") _tl = \"zh-Hant\"\n \n     # Translation\n     content = postResponse(text, _sl, _tl, _hl, \"translate\")\n@@ -223,20 +207,25 @@\n         e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n         ExitCode = 1\n         return\n-    } else if (ast[0 SUBSEP \"statusCode\"] != \"200\") {\n-        e(\"[ERROR] statusCode: \" ast[0 SUBSEP \"statusCode\"])\n-        ExitCode = 1\n-        return\n-    }\n-\n-    translation = unparameterize(ast[0 SUBSEP \"translationResponse\"])\n+    }\n+\n+    translation = unparameterize(ast[0 SUBSEP 0 SUBSEP \"translations\" SUBSEP 0 SUBSEP \"text\"])\n+\n+    returnIl[0] = il = _sl == \"auto-detect\" ?\n+        unparameterize(ast[0 SUBSEP 0 SUBSEP \"detectedLanguage\" SUBSEP \"language\"]) : _sl\n+    if (Option[\"verbose\"] < -1)\n+        return il\n+    if (Option[\"verbose\"] < 0)\n+        return getList(il)\n \n     # Transliteration\n     wShowTranslationPhonetics = Option[\"show-translation-phonetics\"]\n     if (wShowTranslationPhonetics) {\n         split(_tl, group, \"-\")\n-        content = postResponse(translation, group[1], group[1], _hl, \"transliterate\")\n-        phonetics = unparameterize(content)\n+        #content = postResponse(translation, group[1], group[1], _hl, \"transliterate\")\n+        #phonetics = unparameterize(content)\n+        phonetics = unparameterize(ast[0 SUBSEP 0 SUBSEP \"translations\" SUBSEP 0 SUBSEP \"transliteration\" \\\n+                                       SUBSEP \"text\"])\n         if (phonetics == translation) phonetics = \"\"\n     }\n \n@@ -260,8 +249,9 @@\n         wShowOriginalPhonetics = Option[\"show-original-phonetics\"]\n         if (wShowOriginalPhonetics) {\n             split(_sl, group, \"-\")\n-            content = postResponse(text, group[1], group[1], _hl, \"transliterate\")\n-            oPhonetics = unparameterize(content)\n+            #content = postResponse(text, group[1], group[1], _hl, \"transliterate\")\n+            #oPhonetics = unparameterize(content)\n+            # TODO\n             if (oPhonetics == text) oPhonetics = \"\"\n         }\n \n@@ -295,9 +285,9 @@\n             split(temp, group, \/(%s|%S|%t|%T)\/)\n             r = r prettify(\"languages\", group[1])\n             if (temp ~ \/%s\/)\n-                r = r prettify(\"languages-sl\", getDisplay(_sl))\n+                r = r prettify(\"languages-sl\", getDisplay(il))\n             if (temp ~ \/%S\/)\n-                r = r prettify(\"languages-sl\", getName(_sl))\n+                r = r prettify(\"languages-sl\", getName(il))\n             r = r prettify(\"languages\", group[2])\n             if (temp ~ \/%t\/)\n                 r = r prettify(\"languages-tl\", getDisplay(tl))\n"}
{"commit":"ec4b5d2958312ec95f164c5bf6cdf2996913e5e0","subject":"allow for extra spaces between the \"#\" and the  preprocessor directive name","message":"allow for extra spaces between the \"#\" and the  preprocessor directive name\n","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tools\/OAD_support\/cb2mGetModules.awk\n+++ tools\/OAD_support\/cb2mGetModules.awk\n@@ -1,7 +1,7 @@\n BEGIN { commonDecl = 0} \n \/^      .*\/ {commonDecl = 0 }\n-\/^[^ ]\/ && !\/^#ifdef \/ && !\/^#endif\/ && !\/^#if \/ && !\/^#else\/ && !\/^c.*\/ && !\/^C.*\/ {commonDecl = 0 }\n+\/^[^ ]\/ && !\/^# *ifdef \/ && !\/^# *endif\/ && !\/^# *if \/ && !\/^# *else\/ && !\/^c.*\/ && !\/^C.*\/ {commonDecl = 0 }\n \/^       *COMMON\/ || \/^       *common\/ { commonDecl = 1 }\n-\/^#ifdef \/ || \/^#endif\/ || \/^#if \/ || \/^#else\/ { if (commonDecl == 1) {print} }\n+\/^# *ifdef \/ || \/^# *endif\/ || \/^# *if \/ || \/^# *else\/ { if (commonDecl == 1) {print} }\n {if (commonDecl ==0 ) print }\n END {}\n"}
{"commit":"0d1ac2aa4391b942e6a560ff0a4c08d372f04bdf","subject":"add another case for the license text","message":"add another case for the license text\n","repos":"rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/remove_license_block-helper.awk\n+++ utils\/remove_license_block-helper.awk\n@@ -17,7 +17,7 @@\n \tBLOCK[BLOCK_END++] = X \"Version [^ ]*\";\n \tBLOCK[BLOCK_END++] = X;\n \tBLOCK[BLOCK_END++] = X \"COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHTS.*\";\n-\tBLOCK[BLOCK_END++] = X \"US government users are permitted unrestricted rights as\";\n+\tBLOCK[BLOCK_END++] = X \"US government users are permitted (un)?restricted rights as\";\n \tBLOCK[BLOCK_END++] = X \"defined in the FAR.\";\n \tBLOCK[BLOCK_END++] = X;\n \tBLOCK[BLOCK_END++] = X \"This software is distributed on an \\\"AS IS\\\" basis, WITHOUT\";\n"}
{"commit":"9868752b679163db50814101a1ef5800f6868602","subject":"- syntax error","message":"- syntax error\n","repos":"kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -2018,7 +2018,7 @@\n \t    command = cat_command(\"\/lib\/modules\/\" kversion \"\/build\/System.map\")\n \t    if (command) { read_systemmap(command, \"vmlinux\", \"kernel\", \"systemmap\") }\n \t    else {\n-\t    print_error(\"r: systemmap, file not found\") } } }\n+\t    print_error(\"r: systemmap, file not found\") } } } }\n \t}\n \tif ((\"infile\" in values) && values[\"infile\"]) {\n \t    command = cat_command(values[\"infile\"])\n"}
{"commit":"bfdc52e14ee7fa5eda7cea44e957577f83eb04b4","subject":"taking care of two hads","message":"taking care of two hads\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/checkdouble.awk\n+++ src\/awk\/checkdouble.awk\n@@ -11,10 +11,10 @@\n   prevfile = FILENAME\n }\n NF > 0{\n-  if ($1 == lastword)\n+  if ($1 == lastword && $1 != \"had\")\n      printf \"double %s, file %s, line %d\\n\", $1, FILENAME, NR\n   for (i=2; i <= NF; i++)\n-      if ($i == $(i-1))\n+      if ($i == $(i-1) && $i != \"had\")\n          printf \"double %s, file %s, line %d\\n\", $i, FILENAME, NR\n   if (NF > 0){\n      lastword = $NF\n"}
{"commit":"fa7f3c70f36138a0915b36d06041ab9adcf4dea4","subject":"make TOC nicer, find paragraph starts","message":"make TOC nicer, find paragraph starts","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/hierarchy.awk\n+++ tools\/hierarchy.awk\n@@ -6,16 +6,31 @@\n     hier[heading] = $0\n     sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n     sub(\/<a href=\".*\" class=\"section_anchor\"><\\\/a>\/, \"\", hier[heading])\n+    here = hier[heading]\n+\n+    if (heading == 2)\n+    {\n+      hier[heading] = \"&sdot;&nbsp;\" hier[heading]\n+    }\n+    else if (heading == 3)\n+    {\n+      hier[heading] = \"&ndash;&nbsp;\" hier[heading]\n+    }\n+    else if (heading >= 4)\n+    {\n+      hier[heading] = \"&mdash;&nbsp;\" hier[heading]\n+    }\n+    \n     if (slide) print \"<\/div>\" \n     print \"<div class='slide'>\"\n     slide = 1\n     if (heading > 1) {\n-\tprint \"<h1 style='display: none;'>\" hier[heading] \"<\/h1>\"\n+      print \"<h1 style='display: none;'>\" hier[heading] \"<\/h1>\"\n     }\n     for (i=1; i < heading; ++i) {\n-\tprint \"<h\" i \" style='color: #C0C0C0;'>\" hier[i] \"<\/h\" i \">\"\n+      print \"<h\" i \" style='color: #C0C0C0;'>\" hier[i] \"<\/h\" i \">\"\n     }\n-    print \"<h\" heading \">\" hier[heading]\n+    print \"<h\" heading \">\" here\n     hunt = 0\n     next\n }\n@@ -50,8 +65,11 @@\n     next\n }\n \n-{ print }\n+{\n+  gsub(\/<p>\/, \"\\n&\\n\")\n+  print\n+}\n \n END {\n     if (slide) print \"<\/div>\"\n-}+}\n"}
{"commit":"d269e6afc5bbfb7475acb33fe84a5a4b3c98d803","subject":"oops, only add ornaments in the TOC","message":"oops, only add ornaments in the TOC","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/hierarchy.awk\n+++ tools\/hierarchy.awk\n@@ -6,31 +6,34 @@\n     hier[heading] = $0\n     sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n     sub(\/<a href=\".*\" class=\"section_anchor\"><\\\/a>\/, \"\", hier[heading])\n-    here = hier[heading]\n \n     if (heading == 2)\n     {\n-      hier[heading] = \"&sdot;&nbsp;\" hier[heading]\n+      here = \"&sdot;&nbsp;\" hier[heading]\n     }\n     else if (heading == 3)\n     {\n-      hier[heading] = \"&ndash;&nbsp;\" hier[heading]\n+      here = \"&ndash;&nbsp;\" hier[heading]\n     }\n     else if (heading >= 4)\n     {\n-      hier[heading] = \"&mdash;&nbsp;\" hier[heading]\n+      here = \"&mdash;&nbsp;\" hier[heading]\n     }\n-    \n+    else\n+    {\n+      here = hier[heading]\n+    }\n+\n     if (slide) print \"<\/div>\" \n     print \"<div class='slide'>\"\n     slide = 1\n     if (heading > 1) {\n-      print \"<h1 style='display: none;'>\" hier[heading] \"<\/h1>\"\n+      print \"<h1 style='display: none;'>\" here \"<\/h1>\"\n     }\n     for (i=1; i < heading; ++i) {\n       print \"<h\" i \" style='color: #C0C0C0;'>\" hier[i] \"<\/h\" i \">\"\n     }\n-    print \"<h\" heading \">\" here\n+    print \"<h\" heading \">\" hier[heading]\n     hunt = 0\n     next\n }\n"}
{"commit":"f8152cdd0c4f9130119a2cbcb3bb3c70c2476fd5","subject":"parse_blast.awk deprecated","message":"parse_blast.awk deprecated\n","repos":"ctb\/pygr,GenDataPro\/pygr,ctb\/pygr,theoryno3\/pygr,cjlee112\/pygr,GenDataPro\/pygr,theoryno3\/pygr,ctb\/pygr,RitwikGupta\/pygr,RitwikGupta\/pygr,cjlee112\/pygr,cjlee112\/pygr,theoryno3\/pygr,GenDataPro\/pygr,cjlee112\/pygr,RitwikGupta\/pygr,ctb\/pygr,ctb\/pygr","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- parse_blast.awk\n+++ parse_blast.awk\n@@ -1,240 +0,0 @@\n-#!\/usr\/bin\/awk -f\n-\n-\n-\n-\n-function is_repetitive_hit(start,end,threshold,threshold2)\n-{\n-  overlap[0]= -1;\n-  overlap[1]= -10;\n-\n-  if (region[0]>=start && region[0]<end) {\n-    overlap[0]=region[0];\n-    extent[0]=start;\n-  }\n-  else if (start>=region[0] && start<region[1]) {\n-    overlap[0]=start;\n-    extent[0]=region[0];\n-  }\n-  else { # WE HAVE NO OVERLAP, SO JUST RESET AND RETURN *\/\n-    region[0]= start; # SAVE THE CURRENT REGION FOR CHECKING THE NEXT ONE*\/\n-    region[1]= end;\n-    return 0;  # NO REPETITIVE OVERLAP *\/\n-  }\n-  if (region[1]>=start && region[1]<end) {\n-    overlap[1]=region[1];\n-    extent[1]=end;\n-  }\n-  else {\n-    overlap[1]=end;\n-    extent[1]=region[1];\n-  }\n-  if (overlap[0]>=0) { # GOT OVERLAP *\/\n-    my_length=end-start;\n-    if (overlap[1]-overlap[0]>threshold*my_length && overlap[1]-overlap[0]>threshold2*(region[1]-region[0])) {\n-#      printf(\"REPEAT [%d,%d]: overlaps [%d,%d]\\n\",start,end,region[0],region[1]);\n-      region[0]=extent[0]; # SAVE THE UNION OF THE OVERLAPPING REGIONS*\/\n-      region[1]=extent[1];\n-      return 1; # THIS IS A REPEAT!*\/\n-    }\n-  }\n-\n-  region[0]= start; # SAVE THE CURRENT REGION FOR CHECKING THE NEXT ONE*\/\n-  region[1]= end;\n-  return 0;  # NO REPETITIVE OVERLAP *\/\n-}\n-\n-\n-\n-\n-\n-function print_interval()\n-{\n-    if (mode==\"all\") {\n-\tif (IDENTITY_PERCENT+0<identity_min) {\n-\t    return;\n-\t}\n-\tif (BLAST_FRAME+0>=0) {\n-\t    printf(\"MATCH_INTERVAL\\t%d\\t%s\\t%s\\t%d\\t%s\\t%s\\t%s\\t%d\\t%d\\t%d\\n\",hit_id,SEQ_ID,SUBJ_ID,BLAST_SCORE+0,E_VALUE,IDENTITY_PERCENT,BLAST_FRAME,q_interval_start,i_query-q_interval_start,s_interval_start);\n-\t}\n-\telse {\n-\t    printf(\"MATCH_INTERVAL\\t%d\\t%s\\t%s\\t%d\\t%s\\t%s\\t%s\\t%d\\t%d\\t%d\\n\",hit_id,SEQ_ID,SUBJ_ID,BLAST_SCORE+0,E_VALUE,IDENTITY_PERCENT,BLAST_FRAME,q_interval_start,i_query-q_interval_start,i_subj-BLAST_FRAME);\n-\t}\n-    }\n-    else if (mode==\"detail\") {\n-\tprintf(\"%d\\t%d\\t%d\\t%d\\t%d\\n\",hit_id,q_interval_start,i_query-1,s_interval_start,i_subj-BLAST_FRAME);\n-    }\n-}\n-\n-\n-\n-\n-function print_hit()\n-{\n-  if (remove_repeats) {\n-    if (is_repetitive_hit(QUERY_START,QUERY_END,0.9,0.8)) {\n-      if (nrepeat++ > 20) {\n-\tprintf(\"REMOVING REPEAT %d-%d\\n\",QUERY_START,QUERY_END);\n-        return 0;\n-      }\n-    }\n-    else {\n-      nrepeat=0;\n-    }\n-  }\n-    hit_id++;\n-    query_len=length(QUERY_SEQ);\n-    q_interval_start= -1;\n-    i_query=QUERY_START;\n-    if (BLAST_FRAME+0>0) {\n-\ti_subj=SUBJ_START;\n-    }\n-    else {\n-\ti_subj=SUBJ_END;\n-    }\n-    for (i=1;i<=query_len;i++) {\n-\tif (substr(QUERY_SEQ,i,1)==\"-\") {\n-\t    if (q_interval_start>0) {\n-\t\tprint_interval();\n-\t    }\n-\t    q_interval_start= -1;\n-\t    i_subj+= BLAST_FRAME;\n-\t}\n-\telse {\n-\t    if (substr(SUBJ_SEQ,i,1)==\"-\") {\n-\t\tif (q_interval_start>0) {\n-\t\t    print_interval();\n-\t\t}\n-\t\tq_interval_start= -1;\n-\t    }\n-\t    else {\n-\t\tif (q_interval_start<0) {\n-\t\t    q_interval_start=i_query;\n-\t\t    s_interval_start=i_subj;\n-\t\t}\n-\t\ti_subj+= BLAST_FRAME;\n-\t    }\n-\t    i_query++;\n-\t}\n-    }\n-    if (q_interval_start>0) {\n-\tprint_interval();\n-    }\n-    gsub(\"-\",\"\",QUERY_SEQ);\n-    gsub(\"-\",\"\",SUBJ_SEQ);\n-    if (mode==\"summary\") {\n-\tprintf(\"%d\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",hit_id,SEQ_ID,SUBJ_ID,BLAST_SCORE,E_VALUE,IDENTITY_PERCENT,BLAST_FRAME,QUERY_START,QUERY_END,SUBJ_START,SUBJ_END);\n-    }\n-    QUERY_START=9999999999;\n-    QUERY_END= -1;\n-    SUBJ_START=9999999999;\n-    SUBJ_END= -1;\n-}\n-\n-\n-\n-\/^Query=\/ {\n-    SEQ_ID=$2;\n-    TITLE=substr($0,index($0,$3));\n-    QUERY_START=9999999999;\n-    QUERY_END= -1;\n-}\n-\n-\/No hits\/ {\n-}\n-\n-\n-\/^>\/ {\n-    if (QUERY_START<QUERY_END) {\n-\tprint_hit();\n-    }\n-    SUBJ_ID=substr($1,2);\n-    SUBJ_TITLE=substr($0,index($0,$2));\n-    BLAST_FRAME=\"+1\"\n-}\n-\n-\/^ Score =\/ {\n-    if (QUERY_START<QUERY_END) {\n-\tprint_hit();\n-    }\n-    BLAST_SCORE=$3;\n-    E_VALUE=$8;\n-    if (substr(E_VALUE,1,1)==\"e\") {\n-\tE_VALUE=\"1\" E_VALUE;\n-    }\n-    if (E_VALUE+0.0 == 0.0) {\n-\tE_VALUE=300;\n-    }\n-    else {\n-\tE_VALUE= -log(E_VALUE+0.0)\/log(10.0);\n-\tif (E_VALUE==\"inf\") {\n-\t    E_VALUE=300;\n-\t}\n-    }\n-    QUERY_SEQ=\"\";\n-    SUBJ_SEQ=\"\";\n-    SUBJ_START=9999999999;\n-    SUBJ_END= -1;\n-}\n-\n-\n-\/^  Database:\/ {\n-    if (QUERY_START<QUERY_END) {\n-\tprint_hit();\n-    }\n-}\n-\n-\n-\/Identities =\/ {\n-    IDENTITY_PERCENT=substr($4,2);\n-    IDENTITY_PERCENT=substr(IDENTITY_PERCENT,1,index(IDENTITY_PERCENT,\"%\")-1);\n-}\n-\n-\n-\/^ Frame =\/ {\n-    BLAST_FRAME=$3;\n-}\n-\n-\n-\/^ Strand = \/ {\n-    if ($5==\"Plus\") {\n-\tBLAST_FRAME=\"+1\";\n-    }\n-    else if ($5==\"Minus\") {\n-\tBLAST_FRAME=\"-1\";\n-    }\n-}\n-\n-\n-\/^Query:\/ {\n-    if ($2<QUERY_START) {\n-\tQUERY_START=$2;\n-    }\n-    if ($4<QUERY_START) {\n-\tQUERY_START=$4;\n-    }\n-    if ($2>QUERY_END) {\n-\tQUERY_END=$2;\n-    }\n-    if ($4>QUERY_END) {\n-\tQUERY_END=$4;\n-    }\n-    QUERY_SEQ=QUERY_SEQ $3;\n-}\n-\n-\n-\/^Sbjct:\/ {\n-    if ($2<SUBJ_START) {\n-\tSUBJ_START=$2;\n-    }\n-    if ($4<SUBJ_START) {\n-\tSUBJ_START=$4;\n-    }\n-    if ($2>SUBJ_END) {\n-\tSUBJ_END=$2;\n-    }\n-    if ($4>SUBJ_END) {\n-\tSUBJ_END=$4;\n-    }\n-    SUBJ_SEQ=SUBJ_SEQ $3;\n-}\n"}
{"commit":"4911d906fc678f9f0c866d8a3b27b0266749a85c","subject":"Use SListRef instead of UnsafeMutablePointer<GSList>!","message":"Use SListRef instead of UnsafeMutablePointer<GSList>!\n","repos":"rhx\/SwiftGtk,rhx\/SwiftGtk,rhx\/SwiftGtk","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- Gtk-3.0.awk\n+++ Gtk-3.0.awk\n@@ -2,7 +2,7 @@\n #\n # Patch the generated wrapper Swift code to handle special cases\n #\n-BEGIN { depr_init = 0 ; comment = 0 }\n+BEGIN { depr_init = 0 ; comment = 0 ; slist = 0 }\n \/open .* ColorSelection\/ { depr_init = 1 }\n \/public .* ColorSelection\/ { depr_init = 1 }\n \/public .* HSV\/ { depr_init = 1 }\n@@ -10,6 +10,23 @@\n \/open .* HSV\/ { depr_init = 1 }\n \/func getColumnHeaderCells\/ { comment = 1 }\n \/func getRowHeaderCells\/ { comment = 1 }\n+\/^[^ ]\/ { slist = 0 }\n+\/ UnsafeMutablePointer<GSList>! {\/ {\n+\tslist = 1\n+\tgsub(\"UnsafeMutablePointer.GSList..\", \"SListRef?\")\n+}\n+\/return cast.rv.$\/ {\n+\tif (slist) {\n+\t\tgsub(\"cast.rv.\", \"rv.map { SListRef($0) }\")\n+\t}\n+}\n+\/cast.newValue.\/ {\n+\tif (slist) {\n+\t\tgsub(\"cast.newValue.\", \"newValue.map { $0.ptr }\")\n+\t\tslist = 0\n+\t}\n+}\n+\/^    }$\/ { slist = 0 }\n \/ init.. {\/ {\n \tif (depr_init) {\n \t\tprintf(\"@available(*, deprecated) \")\n"}
{"commit":"079cc5b546fa69021d90bc97dd0d433f490eb5c6","subject":"Initial cut at processing all BritBox programs","message":"Initial cut at processing all BritBox programs\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxProgramsFrom-webscraper.awk\n+++ getBritBoxProgramsFrom-webscraper.awk\n@@ -28,7 +28,7 @@\n     Rating = $8\n     Description = $9\n \n-    sub (\/ Season[s]\/,\"\",NumSeasons)\n+    sub (\/ Seasons?\/,\"\",NumSeasons)\n     sub( \/ min\/,\"\",Duration)\n \n     # Convert duration from minutes to HMS\n@@ -36,37 +36,24 @@\n     mins = Duration % 60\n     hrs = int(Duration \/ 60)\n     HMS = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n+    if (HMS == \"00:00:00\")\n+        HMS = \"\"\n \n     # Titles starting with \"The\" should not sort based on \"The\"\n-    if (match (showTitle, \/^The \/)) {\n+    if (match (showTitle, \/^The \/))\n         showTitle = substr(showTitle, 5) \", The\"\n+\n+    # Indicate different types of programs\n+    showtype = \"S\"\n+    if (URL ~ \/^\\\/us\\\/movie\\\/\/)\n+        showtype = \"M\"\n+\n+    # Extract sortkey from URL\n+    nflds = split (URL,fld,\"_\")\n+    if (URL ~ \/_[[:digit:]]*$\/) {\n+        sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n+        printf \\\n+            (\"%s - %s\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s\\\"\\)\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",\\\n+             showTitle, sortkey, URL, showTitle, NumSeasons, HMS, Year, Rating, Description)\n     }\n }\n-\n-\/\\\/us\\\/movie\\\/\/ {\n-    # Extract movie sortkey from URL\n-    nflds = split (URL,fld,\"_\")\n-    if (URL ~ \/_[[:digit:]]*$\/) {\n-        sortkey = sprintf (\"M%05d\", fld[nflds])\n-        printf \\\n-            (\"%s %s - mv\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, %s, %s\\\"\\)\\t\\t%s\\t%s\\t%s\\t%s\\n\", \\\n-             showTitle, sortkey, URL, showTitle, sortkey, \\\n-             Title, HMS, Year, Rating, Description)\n-    }\n-    next\n-}\n-\n-\/\\\/us\\\/show\\\/\/ {\n-    # Extract show sortkey from URL\n-    nflds = split (URL,fld,\"_\")\n-    if (URL ~ \/_[[:digit:]]*$\/) {\n-        sortkey = sprintf (\"S%05d\", fld[nflds])\n-        printf \\\n-            (\"%s %s - sh\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, %s, %s\\\"\\)\\t\\t%s\\t%s\\t%s\\t%s\\n\", \\\n-             showTitle, sortkey, URL, showTitle, sortkey, \\\n-             Title, HMS, Year, Rating, Description)\n-    }\n-    next\n-}\n-\n-\n"}
{"commit":"f4475bf4a0f6089e7d161d9d929e613a4bdfb68e","subject":"minor","message":"minor\n","repos":"camwebb\/treemap","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- lib\/obs.awk\n+++ lib\/obs.awk\n@@ -6,7 +6,8 @@\n   print \"<h1>Make an observation<\/h1>\";\n   print \"<p>for tree with tag <b>\" f[\"tag\"] \"<\/b><br\/> <b>(Please double check the tag code)<\/b><\/p>\";\n   print \"<form enctype=\\\"multipart\/form-data\\\" method=\\\"post\\\" action=\\\"map?method=obsD\\\">\" ;\n-  print \"<p><input type=\\\"hidden\\\" name=\\\"tag\\\" value=\\\"\" f[\"tag\"] \"\\\" \/><b>Type<\/b> of observation:<br \/><select name=\\\"type\\\"><option value=\\\"bud\\\">Spring buds just breaking open<\/option><option value=\\\"flower\\\">In flower (any stage)<\/option><option value=\\\"fruit\\\">In fruit (any stage)<\/option><option value=\\\"fall\\\">Outstanding fall color<\/option><option value=\\\"damage\\\">Report plant damage<\/option><\/select><\/p>\";\n+  print \"<p><input type=\\\"hidden\\\" name=\\\"tag\\\" value=\\\"\" f[\"tag\"] \"\\\" \/><b>Type<\/b> of observation:<br \/><select name=\\\"type\\\"><option value=\\\"bud\\\">Spring buds just breaking open<\/option><option value=\\\"flower\\\">In flower (any stage)<\/option><option value=\\\"fruit\\\">In fruit (any stage)<\/option><option value=\\\"fall\\\">Outstanding fall color<\/option><\/select><\/p>\";\n+  # <option value=\\\"damage\\\">Report plant damage<\/option><\/select><\/p>\";\n   print \"<p>Upload a <b>photo<\/b> (optional)<br\/><span style=\\\"font-size:12px;\\\"><i>(small please: &lt;2 MB; NB: iPhone does not support file uploads)<\/i><\/span><br\/><input type=\\\"file\\\" name=\\\"photo\\\" \/><\/p>\";\n   print \"<p>Your <b>notes<\/b> (optional):<br\/><textarea name=\\\"notes\\\" cols=\\\"30\\\" rows=\\\"2\\\"><\/textarea><\/p>\";\n   print \"<p>Your <b>email<\/b> (optional)<br\/><input type=\\\"text\\\" name=\\\"email\\\" size=\\\"30\\\"\/><\/p>\";\n"}
{"commit":"c0266444b2eba1d689593a79ce5c7cdc48279823","subject":"makeDistortosConfiguration.awk: modify shebang","message":"makeDistortosConfiguration.awk: modify shebang\n\nUse more generic \"\/bin\/awk\" instead of \"\/usr\/bin\/awk\".","repos":"CezaryGapinski\/distortos,CezaryGapinski\/distortos,CezaryGapinski\/distortos,jasmin-j\/distortos,jasmin-j\/distortos,DISTORTEC\/distortos,DISTORTEC\/distortos,DISTORTEC\/distortos,DISTORTEC\/distortos,jasmin-j\/distortos,CezaryGapinski\/distortos,CezaryGapinski\/distortos,jasmin-j\/distortos,jasmin-j\/distortos","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- scripts\/makeDistortosConfiguration.awk\n+++ scripts\/makeDistortosConfiguration.awk\n@@ -1,4 +1,4 @@\n-#!\/usr\/bin\/awk -f\n+#!\/bin\/awk -f\n \n #\n # file: makeDistortosConfiguration.awk\n@@ -8,7 +8,7 @@\n # This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not\n # distributed with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n #\n-# date: 2015-08-25\n+# date: 2015-09-25\n #\n \n BEGIN {\n"}
{"commit":"40fdd0f5d878d10ad3d50b060f00ce784a886f12","subject":"[CLEANUP] - update year in checkFile.awk","message":"[CLEANUP] - update year in checkFile.awk\n","repos":"pentaho\/mondrian,pedrofvteixeira\/mondrian,lgrill-pentaho\/mondrian,pentaho\/mondrian,pedrofvteixeira\/mondrian,lgrill-pentaho\/mondrian,ivanpogodin\/mondrian,lgrill-pentaho\/mondrian,dkincade\/mondrian,pentaho\/mondrian,truvenganong\/mondrian,ivanpogodin\/mondrian,truvenganong\/mondrian,dkincade\/mondrian,pedrofvteixeira\/mondrian,truvenganong\/mondrian,dkincade\/mondrian,ivanpogodin\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -330,7 +330,7 @@\n \/^\\\/\\\/ Copyright .* Pentaho\/ && strict > 1 {\n     # We assume that '--strict' is only invoked on files currently being\n     # edited. Therefore we would expect the copyright to be current.\n-    if ($0 !~ \/-2015\/) {\n+    if ($0 !~ \/-2016\/) {\n         error(fname, FNR, \"copyright is not current\");\n     }\n }\n"}
{"commit":"eabb452482cca687319fa64c97a74e781b09df9f","subject":"Languages: add Maithili","message":"Languages: add Maithili\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -983,6 +983,19 @@\n     Locale[\"mk\"][\"iso\"]                = \"mkd\"\n     Locale[\"mk\"][\"glotto\"]             = \"mace1250\"\n     Locale[\"mk\"][\"script\"]             = \"Cyrl\"\n+\n+    # Maithili\n+    Locale[\"mai\"][\"name\"]              = \"Maithili\"\n+    Locale[\"mai\"][\"endonym\"]           = \"\u092e\u0948\u0925\u093f\u0932\u0940\"\n+    #Locale[\"mai\"][\"translations-of\"]\n+    #Locale[\"mai\"][\"definitions-of\"]\n+    #Locale[\"mai\"][\"synonyms\"]\n+    #Locale[\"mai\"][\"examples\"]\n+    #Locale[\"mai\"][\"see-also\"]\n+    Locale[\"mai\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"mai\"][\"iso\"]               = \"mai\"\n+    Locale[\"mai\"][\"glotto\"]            = \"mait1250\"\n+    Locale[\"mai\"][\"script\"]            = \"Deva\"\n \n     #59 Malagasy (Plateau Malagasy)\n     Locale[\"mg\"][\"name\"]               = \"Malagasy\"\n"}
{"commit":"57971549edc37adf65833720d6c4ad6ff58556f4","subject":"Translate: header comment","message":"Translate: header comment\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -1,3 +1,6 @@\n+####################################################################\n+# Translate.awk                                                    #\n+####################################################################\n \n # Detect external audio player (mplayer, mpg123).\n function initAudioPlayer() {\n"}
{"commit":"ff98acfec90d368b9d6b2fed18b2dbb0f9dd03b5","subject":"export PATH variable","message":"export PATH variable\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- usr.sbin\/ndc\/ndcedit.awk\n+++ usr.sbin\/ndc\/ndcedit.awk\n@@ -1,5 +1,11 @@\n-# $Id: awkedit,v 1.1.1.1 1996\/08\/29 19:42:59 peter Exp $\n+# $Id: ndcedit.awk,v 1.1 1996\/08\/29 21:46:46 peter Exp $\n NR == 3 {\n+\tprint \"#\"\n+\tprint \"# This file is generated automatically, do not edit it here!\"\n+\tprint \"# Please change src\/usr.sbin\/ndc\/ndcedit.awk instead\"\n+\tprint \"#\"\n+\tprint \"\"\n+\n \tprint \"# If there is a global system configuration file, suck it in.\"\n \tprint \"if [ -f \/etc\/sysconfig ]; then\"\n \tprint \"\\t. \/etc\/sysconfig\"\n@@ -18,7 +24,12 @@\n \t\tprintf \"\\t%s\\n\", $0\n \t\tprintf \"\\t\\tfi\\n\"\n \t} else {\n-\t\tgsub(\":\/usr\/ucb:\", \":\", $0);\n+\t        if (\/PATH=\/) {\n+\t\t\tgsub(\":\/usr\/ucb:\", \":\", $0);\n+\t\t      \tif (!\/export\/) {\n+\t\t\t\t$0=$0\"\\nexport PATH\";\n+\t\t\t}\n+\t\t} \n \t\tprint;\n \t}\n }\n"}
{"commit":"2201c90c1211a55acefd4062df6332ae99e4f59f","subject":"TestCommons: correct escape() and parameterize()","message":"TestCommons: correct escape() and parameterize()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestCommons.awk\n+++ test\/TestCommons.awk\n@@ -109,8 +109,8 @@\n     {\n         assertEqual(escape(\"\"), \"\")\n         assertEqual(escape(\"foo\"), \"foo\")\n-        assertEqual(escape(\"\\\"\"), \"\\\\\\\\\\\"\")\n-        assertEqual(escape(\"\\\"foo\\\"\"), \"\\\\\\\\\\\"foo\\\\\\\\\\\"\")\n+        assertEqual(escape(\"\\\"\"), \"\\\\\\\"\")\n+        assertEqual(escape(\"\\\"foo\\\"\"), \"\\\\\\\"foo\\\\\\\"\")\n     }\n     T(\"parameterize()\", 10)\n     {\n@@ -123,7 +123,7 @@\n         assertEqual(parameterize(\"foo\", \"\\\"\"), \"\\\"foo\\\"\")\n         assertEqual(parameterize(\"foo bar\", \"\\\"\"), \"\\\"foo bar\\\"\")\n         assertEqual(parameterize(\"foo 'bar\", \"\\\"\"), \"\\\"foo 'bar\\\"\")\n-        assertEqual(parameterize(\"foo \\\"bar\\\"\", \"\\\"\"), \"\\\"foo \\\\\\\\\\\"bar\\\\\\\\\\\"\\\"\")\n+        assertEqual(parameterize(\"foo \\\"bar\\\"\", \"\\\"\"), \"\\\"foo \\\\\\\"bar\\\\\\\"\\\"\")\n     }\n     T(\"toString()\", 4)\n     {\n"}
{"commit":"66e644a93edaed6aead5ae73acf87246e2bf5c61","subject":"globally substitute simple stuff","message":"globally substitute simple stuff","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -114,12 +114,10 @@\n   gsub(\/#\/, \"\\\\#\");\n }\n \/\\[\/ {\n-  sub(\/\\[\/, \"\\\\mbox{$[$}\");\n-  ## repeat!\n+  gsub(\/\\[\/, \"\\\\mbox{$[$}\");\n }\n \/\\]\/ {\n-  sub(\/\\]\/, \"\\\\mbox{$]$}\");\n-  ## repeat!\n+  gsub(\/\\]\/, \"\\\\mbox{$]$}\");\n }\n \n \n"}
{"commit":"2b6c9e1a22d5ed6c302fd85ab4fda33cf8f44a00","subject":"bump version to 0.9.1-dev","message":"bump version to 0.9.1-dev\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- metainfo.awk\n+++ metainfo.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n     Name        = \"Translate Shell\"\n     Description = \"Google Translate to serve as a command-line tool\"\n-    Version     = \"0.9.0.9\"\n+    Version     = \"0.9.1-dev\"\n     ReleaseDate = \"2015-10-05\"\n     Command     = \"trans\"\n     EntryPoint  = \"translate.awk\"\n"}
{"commit":"4a3b067406f129ba49d6819ac56e7d43c60f054b","subject":"Moved shbang to top in removeTestCourses.awk","message":"Moved shbang to top in removeTestCourses.awk\n","repos":"paepcke\/json_to_relation,paepcke\/json_to_relation,paepcke\/json_to_relation,paepcke\/json_to_relation","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/removeTestCourses.awk\n+++ scripts\/removeTestCourses.awk\n@@ -1,3 +1,5 @@\n+#! \/bin\/awk -f\n+\n #------------------------------------------\n #\n # AWK script to remove .csv file lines that\n@@ -15,7 +17,6 @@\n #          escapes.\n #------------------------------------------\n \n-#! \/bin\/awk -f\n    { FS = \",\" };\n    { $\"${COURSE_NAME_INDEX}\" = tolower($\"${COURSE_NAME_INDEX}\") }\n    $\"${COURSE_NAME_INDEX}\"   ~ \/^[0-9]\/ {next}\n"}
{"commit":"0f9e3cc81cb0b22d6f32f808f10b1fc54092f96b","subject":"Languages: no more theme for getDetails()","message":"Languages: no more theme for getDetails()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1849,17 +1849,16 @@\n     iso = group[1]\n     split(getName(code), group, \" \")\n     language = group[1]\n-    return sprintf(\"%s\\n\", prettify(\"translation\", getDisplay(code)))   \\\n-        prettify(\"languages\",\n-                 sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getName(code))) \\\n-                 sprintf(\"%-22s%s\\n\", \"Family\", ansi(\"bold\", getFamily(code))) \\\n-                 sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", script)) \\\n-                 sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code))) \\\n-                 sprintf(\"%-22s%s\\n\", \"ISO 639-3\", ansi(\"bold\", iso))   \\\n-                 sprintf(\"%-22s%s\\n\", \"Ethnologue\", ansi(\"bold\", \"http:\/\/www.ethnologue.com\/language\/\" iso)) \\\n-                 sprintf(\"%-22s%s\\n\", \"Glottolog\", getGlotto(code) ?\n-                         ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code)) : \"\") \\\n-                 sprintf(\"%-22s%s\", \"Wikipedia\", ansi(\"bold\", \"http:\/\/en.wikipedia.org\/wiki\/\" language \"_language\")))\n+    return ansi(\"bold\", sprintf(\"%s\\n\", getDisplay(code)))              \\\n+        sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getName(code)))       \\\n+        sprintf(\"%-22s%s\\n\", \"Family\", ansi(\"bold\", getFamily(code)))   \\\n+        sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", script))    \\\n+        sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code)))       \\\n+        sprintf(\"%-22s%s\\n\", \"ISO 639-3\", ansi(\"bold\", iso))            \\\n+        sprintf(\"%-22s%s\\n\", \"Ethnologue\", ansi(\"bold\", \"http:\/\/www.ethnologue.com\/language\/\" iso)) \\\n+        sprintf(\"%-22s%s\\n\", \"Glottolog\", getGlotto(code) ?\n+                ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code)) : \"\") \\\n+        sprintf(\"%-22s%s\", \"Wikipedia\", ansi(\"bold\", \"http:\/\/en.wikipedia.org\/wiki\/\" language \"_language\"))\n }\n \n # Add \/slashes\/ for IPA phonemic notations and (parentheses) for others.\n"}
{"commit":"0098a412703c2525504bf8f5a7abe17805f75292","subject":"Fix occasional msreplic_H\/max_connections subtest failure due to non-zero value of CTL JnlPoolWrite Sleep (#280)","message":"Fix occasional msreplic_H\/max_connections subtest failure due to non-zero value of CTL JnlPoolWrite Sleep (#280)\n\nWe had a test failure with the below diff.\r\n\r\n36,37c36,37\r\n< CTL JnlPoolWrite Sleep       Cntr                        0 [0x00000000]\r\n< CTL JnlPoolWrite Sleep       Seqno                       0 [0x00000000]\r\n---\r\n> CTL JnlPoolWrite Sleep       Cntr                        1 [0x00000000]\r\n> CTL JnlPoolWrite Sleep       Seqno                    1246 [0x00000000]\r\n\r\nThese counters can be non-zero in case of system load and so the test is now fixed to\r\nallow for an arbitrary non-zero value of the \"CTL JnlPoolWrite Sleep\" line items\r\njust like it already does for \"CTL ReplPhs2Clnup IsPrcAlv\".","repos":"nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- msreplic_H\/u_inref\/dumppool_filter.awk\n+++ msreplic_H\/u_inref\/dumppool_filter.awk\n@@ -3,7 +3,7 @@\n # Copyright (c) 2013-2016 Fidelity National Information\t\t#\n # Services, Inc. and\/or its subsidiaries. All rights reserved.\t#\n #\t\t\t\t\t\t\t\t#\n-# Copyright (c) 2017 YottaDB LLC. and\/or its subsidiaries.\t#\n+# Copyright (c) 2017-2018 YottaDB LLC. and\/or its subsidiaries.\t#\n # All rights reserved.\t\t\t\t\t\t#\n #\t\t\t\t\t\t\t\t#\n #\tThis source code contains the intellectual property\t#\n@@ -67,6 +67,8 @@\n \tgsub(\/CTL Phase2 Commit Index1 *[1-9][0-9]* .0x[0-9A-F][0-9A-F]*.\/, \"CTL Phase2 Commit Index1                   ##PHS2CMTINDX## [0x........]\");\n \tgsub(\/CTL Phase2 Commit Index2 *[1-9][0-9]* .0x[0-9A-F][0-9A-F]*.\/, \"CTL Phase2 Commit Index2                   ##PHS2CMTINDX## [0x........]\");\n \t# Most below can sometime be non-zero (depending on system load when running test) so convert a non-zero value into 0 for a deterministic reference file.\n+\tgsub(\/CTL JnlPoolWrite Sleep       Cntr  *[1-9][0-9]* .0x[0-9A-F][0-9A-F]*.\/, \"CTL JnlPoolWrite Sleep       Cntr                        0 [0x00000000]\");\n+\tgsub(\/CTL JnlPoolWrite Sleep       Seqno *[1-9][0-9]* .0x[0-9A-F][0-9A-F]*.\/, \"CTL JnlPoolWrite Sleep       Seqno                       0 [0x00000000]\");\n \tgsub(\/CTL ReplPhs2Clnup IsPrcAlv   Cntr  *[1-9][0-9]* .0x[0-9A-F][0-9A-F]*.\/, \"CTL ReplPhs2Clnup IsPrcAlv   Cntr                        0 [0x00000000]\");\n \tgsub(\/CTL ReplPhs2Clnup IsPrcAlv   Seqno *[1-9][0-9]* .0x[0-9A-F][0-9A-F]*.\/, \"CTL ReplPhs2Clnup IsPrcAlv   Seqno                       0 [0x00000000]\");\n \tgsub(\/Remote Supports Triggers                    TRUE\/, \"Remote Supports Triggers       ##TRUE_OR_FALSE##\");\n"}
{"commit":"e608cabf75c6c1d47b8f61443dfe81c7d81e880e","subject":"Languages: add Luxembourgish language","message":"Languages: add Luxembourgish language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -182,6 +182,19 @@\n     Locale[\"ku\"][\"iso\"]                = \"kur\"\n     Locale[\"ku\"][\"glotto\"]             = \"kurd1259\"\n     Locale[\"ku\"][\"script\"]             = \"Latn\"\n+\n+    #? Luxembourgish\n+    Locale[\"lb\"][\"name\"]               = \"Luxembourgish\"\n+    Locale[\"lb\"][\"endonym\"]            = \"L\u00ebtzebuergesch\"\n+    #Locale[\"lb\"][\"translations-of\"]\n+    #Locale[\"lb\"][\"definitions-of\"]\n+    #Locale[\"lb\"][\"synonyms\"]\n+    #Locale[\"lb\"][\"examples\"]\n+    #Locale[\"lb\"][\"see-also\"]\n+    Locale[\"lb\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"lb\"][\"iso\"]                = \"ltz\"\n+    Locale[\"lb\"][\"glotto\"]             = \"luxe1241\"\n+    Locale[\"lb\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"a8e560555a666583c03ca9605ea4de211c05d12b","subject":"Update generate_netbsd_syscalls.awk for NetBSD 8.99.25","message":"Update generate_netbsd_syscalls.awk for NetBSD 8.99.25\n\nRegister new syscall getsockopt2.\nDrop removed syscalls pmc_get_info and pmc_control.\n\nWhile there address compiler warnings about potentially\nunused variables.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@345580 91177308-0d34-0410-b5e6-96231b3b80d8\n","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- utils\/generate_netbsd_syscalls.awk\n+++ utils\/generate_netbsd_syscalls.awk\n@@ -1464,6 +1464,8 @@\n       pcmd(\"  }\")\n       pcmd(\"}\")\n     }\n+  } else if (syscall == \"getsockopt2\") {\n+    pcmd(\"\/* TODO *\/\")\n   } else if (syscall == \"fpathconf\") {\n     pcmd(\"\/* Nothing to do *\/\")\n   } else if (syscall == \"getrlimit\") {\n@@ -1982,10 +1984,6 @@\n     pcmd(\"if (nsa_) {\")\n     pcmd(\"  PRE_READ(nsa_, sizeof(__sanitizer_sigaction));\")\n     pcmd(\"}\")\n-  } else if (syscall == \"pmc_get_info\") {\n-    pcmd(\"\/* TODO *\/\")\n-  } else if (syscall == \"pmc_control\") {\n-    pcmd(\"\/* TODO *\/\")\n   } else if (syscall == \"rasctl\") {\n     pcmd(\"\/* Nothing to do *\/\")\n   } else if (syscall == \"kqueue\") {\n@@ -2935,16 +2933,14 @@\n   } else if (syscall == \"sendmmsg\") {\n     if (mode == \"pre\") {\n       pcmd(\"struct __sanitizer_mmsghdr *mmsg = (struct __sanitizer_mmsghdr *)mmsg_;\")\n-      pcmd(\"unsigned int vlen = (vlen_ > 1024 ? 1024 : vlen_);\")\n       pcmd(\"if (mmsg) {\")\n-      pcmd(\"  PRE_READ(mmsg, sizeof(struct __sanitizer_mmsghdr) * vlen);\")\n+      pcmd(\"  PRE_READ(mmsg, sizeof(struct __sanitizer_mmsghdr) * (vlen_ > 1024 ? 1024 : vlen_));\")\n       pcmd(\"}\")\n     } else {\n       pcmd(\"struct __sanitizer_mmsghdr *mmsg = (struct __sanitizer_mmsghdr *)mmsg_;\")\n-      pcmd(\"unsigned int vlen = (vlen_ > 1024 ? 1024 : vlen_);\")\n       pcmd(\"if (res >= 0) {\")\n       pcmd(\"  if (mmsg) {\")\n-      pcmd(\"    POST_READ(mmsg, sizeof(struct __sanitizer_mmsghdr) * vlen);\")\n+      pcmd(\"    POST_READ(mmsg, sizeof(struct __sanitizer_mmsghdr) * (vlen_ > 1024 ? 1024 : vlen_));\")\n       pcmd(\"  }\")\n       pcmd(\"}\")\n     }\n"}
{"commit":"d02b0248510826bf0e923f60d33a873828ba6040","subject":"feature: Adds hotfix commit prefix (#2)","message":"feature: Adds hotfix commit prefix (#2)\n\n","repos":"ianhenderson\/simple-git-changelog","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changelog.awk\n+++ changelog.awk\n@@ -2,7 +2,7 @@\n BEGIN {\n \tREPO_URL = getRepoURL()\n \t# Prefixes that determine whether a commit will be printed\n-\tCHANGELOG_REGEX = \"^(changelog|fix|docs|chore|feat|feature|refactor|update): \"\n+\tCHANGELOG_REGEX = \"^(changelog|fix|hotfix|docs|chore|feat|feature|refactor|update): \"\n \tFS=\"|\"\n \t# %D: tags\n \t# %s: commit message\n"}
{"commit":"444dd04ffe04f54028c456140727abeaf4f6a8fd","subject":"put structs after copyright notice; ok dlg","message":"put structs after copyright notice; ok dlg\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/pci\/devlist2h.awk\n+++ dev\/pci\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.7 2007\/02\/21 13:08:22 dlg Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.8 2007\/02\/21 13:17:28 deraadt Exp $\n #\t$NetBSD: devlist2h.awk,v 1.2 1996\/01\/22 21:08:09 cgd Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n@@ -47,18 +47,6 @@\n \tprintf(\" *\\t%s\\n\", VERSION) > dfile\n \tprintf(\" *\/\\n\\n\") > dfile\n \n-\tprintf(\"\/* Descriptions of known vendors and devices. *\/\\n\") > dfile\n-\tprintf(\"struct pci_known_vendor {\\n\") > dfile\n-\tprintf(\"\\tpci_vendor_id_t vendor;\\n\") > dfile\n-\tprintf(\"\\tconst char *vendorname;\\n\") > dfile\n-\tprintf(\"};\\n\\n\") > dfile\n-\n-\tprintf(\"struct pci_known_product {\\n\") > dfile\n-\tprintf(\"\\tpci_vendor_id_t vendor;\\n\") > dfile\n-\tprintf(\"\\tpci_product_id_t product;\\n\") > dfile\n-\tprintf(\"\\tconst char *productname;\\n\") > dfile\n-\tprintf(\"};\\n\\n\") > dfile\n-\n \tprintf(\"\/*\\n\") > hfile\n \tprintf(\" * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n \t    > hfile\n@@ -178,6 +166,19 @@\n \n \tif (nvendor_dup > 0)\n \t\texit(1);\n+\n+\tprintf(\"\/* Descriptions of known vendors and devices. *\/\\n\") > dfile\n+\tprintf(\"struct pci_known_vendor {\\n\") > dfile\n+\tprintf(\"\\tpci_vendor_id_t vendor;\\n\") > dfile\n+\tprintf(\"\\tconst char *vendorname;\\n\") > dfile\n+\tprintf(\"};\\n\\n\") > dfile\n+\n+\tprintf(\"struct pci_known_product {\\n\") > dfile\n+\tprintf(\"\\tpci_vendor_id_t vendor;\\n\") > dfile\n+\tprintf(\"\\tpci_product_id_t product;\\n\") > dfile\n+\tprintf(\"\\tconst char *productname;\\n\") > dfile\n+\tprintf(\"};\\n\\n\") > dfile\n+\n \n \tprintf(\"static const struct pci_known_product pci_known_products[] = {\\n\") \\\n \t    > dfile\n"}
{"commit":"3fb91ec04dae04d205adf789a7d6663222e67ff5","subject":"Languages: add Tsonga","message":"Languages: add Tsonga\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1602,6 +1602,19 @@\n     Locale[\"ti\"][\"iso\"]                = \"tir\"\n     Locale[\"ti\"][\"glotto\"]             = \"tigr1271\"\n     Locale[\"ti\"][\"script\"]             = \"Ethi\"\n+\n+    # Tsonga\n+    Locale[\"ts\"][\"name\"]               = \"Tsonga\"\n+    Locale[\"ts\"][\"endonym\"]            = \"Xitsonga\"\n+    #Locale[\"ts\"][\"translations-of\"]\n+    #Locale[\"ts\"][\"definitions-of\"]\n+    #Locale[\"ts\"][\"synonyms\"]\n+    #Locale[\"ts\"][\"examples\"]\n+    #Locale[\"ts\"][\"see-also\"]\n+    Locale[\"ts\"][\"family\"]             = \"Atlantic\u2013Congo\"\n+    Locale[\"ts\"][\"iso\"]                = \"tso\"\n+    Locale[\"ts\"][\"glotto\"]             = \"tson1249\"\n+    Locale[\"ts\"][\"script\"]             = \"Latn\"\n \n     #96 Turkish\n     Locale[\"tr\"][\"name\"]               = \"Turkish\"\n"}
{"commit":"83b745ec661ded0d09224975acfc53a2c4d264f3","subject":"Translate: update","message":"Translate: update\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -4,20 +4,20 @@\n \n # Detect external audio player (mplayer, mpv, mpg123).\n function initAudioPlayer() {\n-    AudioPlayer = !system(\"mplayer >\/dev\/null 2>\/dev\/null\") ?\n+    AudioPlayer = !system(\"mplayer\" SUPOUT SUPERR) ?\n         \"mplayer\" :\n-        (!system(\"mpv >\/dev\/null 2>\/dev\/null\") ?\n+        (!system(\"mpv\" SUPOUT SUPERR) ?\n          \"mpv\" :\n-         (!system(\"mpg123 >\/dev\/null 2>\/dev\/null\") ?\n+         (!system(\"mpg123 --version\" SUPOUT SUPERR) ?\n           \"mpg123\" :\n           \"\"))\n }\n \n # Detect external speech synthesizer (say, espeak).\n function initSpeechSynthesizer() {\n-    SpeechSynthesizer = !system(\"say '' >\/dev\/null 2>\/dev\/null\") ?\n+    SpeechSynthesizer = !system(\"say ''\" SUPOUT SUPERR) ?\n         \"say\" :\n-        (!system(\"espeak '' >\/dev\/null 2>\/dev\/null\") ?\n+        (!system(\"espeak ''\" SUPOUT SUPERR) ?\n          \"espeak\" :\n          \"\")\n }\n@@ -72,7 +72,7 @@\n         \"&tl=\" tl \"&q=\" preprocess(text)\n \n     # Don't use getline from pipe here - the same pipe will be run only once for each AWK script!\n-    system(Option[\"player\"] \" '\" url \"' >\/dev\/null 2>\/dev\/null\")\n+    system(Option[\"player\"] \" \" parameterize(url) SUPOUT SUPERR)\n }\n \n # Get the translation of a string.\n@@ -404,7 +404,7 @@\n # Translate the source text (into all target languages).\n function translate(text, inline,\n                    ####\n-                   i, j, playlist, saveSortedIn) {\n+                   i, j, r, playlist, saveSortedIn) {\n \n     if (!getCode(Option[\"hl\"])) {\n         # Check if home language is supported\n@@ -435,13 +435,16 @@\n \n         if (inline &&\n             startsWithAny(text, UriSchemes) == \"file:\/\/\") {\n+            # translate URL only from command-line parameters (inline)\n             fileTranslation(text)\n         } else if (inline &&\n                    startsWithAny(text, UriSchemes) == \"http:\/\/\" ||\n                    startsWithAny(text, UriSchemes) == \"https:\/\/\") {\n+            # translate URL only from command-line parameters (inline)\n             webTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"])\n         } else {\n-            print getTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"], Option[\"verbose\"], Option[\"play\"], playlist) > Option[\"output\"]\n+            r = getTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"], Option[\"verbose\"], Option[\"play\"], playlist)\n+            print r > Option[\"output\"]\n \n             if (Option[\"play\"])\n                 if (Option[\"player\"])\n"}
{"commit":"8f87e802197c8f6240002c97873da0a43c7995dc","subject":"Delete analyze_path.awk","message":"Delete analyze_path.awk\n","repos":"liweitianux\/chandra-acis-analysis,liweitianux\/chandra-acis-analysis,liweitianux\/chandra-acis-analysis","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/analyze_path.awk\n+++ scripts\/analyze_path.awk\n@@ -1,49 +0,0 @@\n-#!\/usr\/bin\/awk -f\n-# extract `obs_id' and `source name' from path\n-#\n-# LIweitiaNux <liweitianux@gmail.com>\n-# 2013\/02\/04\n-#\n-# input:\n-#     path that include `oi' and `source name'\n-#     e.g.:\n-#\n-# output:\n-#\n-\n-# main part\n-{\n-    if (NF==1) {\n-        ## oi & name\n-        input=($1 \"\/\")\n-        if (input ~ \/_oi\/) {\n-            ## PATTERN: ...\/$name_oi$oi\/...\n-            idx_oi = match(input, \/oi[0-9]+\/) + 2;    # `2' skip the `oi'\n-            len_oi = RLENGTH - 2;\n-            oi = substr(input, idx_oi, len_oi);\n-            idx_name = match(input, \/\\\/[a-zA-Z0-9.+-]+_oi\/) + 1;\n-            len_name = RLENGTH - 4;\n-            name = substr(input, idx_name, len_name);\n-        }\n-        else {\n-            ## PATTERN: ...\/$name\/$oi\/...\n-            idx_oi = match(input, \/\\\/[0-9]+\\\/\/) + 1;\n-            len_oi = RLENGTH - 2;\n-            oi = substr(input, idx_oi, len_oi);\n-            idx_name1 = match(input, \/\\\/[a-zA-Z0-9_.+-]+\\\/[0-9]+\\\/\/);\n-            len_name1 = RLENGTH;\n-            name1 = substr(input, idx_name1, len_name1);\n-            idx_name = match(name1, \/\\\/[a-zA-Z0-9_.+-]+\\\/\/) + 1;\n-            len_name = RLENGTH - 2;\n-            name = substr(name1, idx_name, len_name);\n-        }\n-        ## output\n-        printf(\"input: %s\\n\", input)\n-        printf(\"oi: %s\\nname: %s\\n\", oi, name)\n-    }\n-    else {\n-        printf(\"*** WARNING: invalid input: %s\\n\", $0)\n-    }\n-}\n-# END\n-\n"}
{"commit":"d64048514bcb7f5bf4191adc7de0f41a4caa22d6","subject":"Fix a leftover \"iwi_boot\" string.","message":"Fix a leftover \"iwi_boot\" string.\n\nSubmitted by:\tgallatin\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/fw_stub.awk\n+++ sys\/tools\/fw_stub.awk\n@@ -174,7 +174,7 @@\n };\\\n DECLARE_MODULE(\" opt_m \"_fw, \" opt_m \"_fw_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);\\\n MODULE_VERSION(\" opt_m \"_fw, 1);\\\n-MODULE_DEPEND(iwi_boot_fw, firmware, 1, 1, 1);\\\n+MODULE_DEPEND(\" opt_m \"_fw, firmware, 1, 1, 1);\\\n \");\n \n if (opt_c)\n"}
{"commit":"e89d29f6ea6152cf7fd84782673708fb330b5b7a","subject":"Add single episode warning","message":"Add single episode warning\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-showPages.awk\n+++ getAcornFrom-showPages.awk\n@@ -263,6 +263,8 @@\n     if (durationLinesFound == 0) {\n         printf (\"==> No durations: %s\\t%s\\n\", shortURL, showTitle) >> ERRORS\n     }\n+    if (showEpisodes == 1)\n+        printf (\"==> Only one episode: %s\\t%s\\n\", shortURL, showTitle) >> ERRORS\n     showLink = \"=HYPERLINK(\\\"\" showURL \"\\\";\\\"\" showTitle \"\\\")\"\n     showDuration = sprintf (\"%02d:%02d:%02d\", showHrs, showMins, showSecs)\n     # Print \"show\" line to SHORT_SPREADSHEET with showDuration\n"}
{"commit":"23c27d81c4f34274c536d46ca90357d0166b0fcd","subject":"uppercase","message":"uppercase","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/backgrounds.awk\n+++ tools\/backgrounds.awk\n@@ -7,7 +7,7 @@\n   print \"\"\n   print \"<div class='background cover'>\"\n   print \"  <img style='width: 100%; float:right' src='ALTA_Flower.png' alt='ALTA flower' \/>\"\n-  print \"  <a href='mailto:gabor.greif@alcatel-lucent.com'>Gabor.Greif@alcatel-lucent.com<\/a>\"\n+  print \"  <a href='mailto:Gabor.Greif@alcatel-lucent.com'>Gabor.Greif@alcatel-lucent.com<\/a>\"\n   print \"<\/div>\"\n   print \"\"\n   print \"<div class='background haskell'>\"\n"}
{"commit":"42912640ac10c6930714a02e9a9952667045c1f7","subject":"make-barcodes.awk: Validate input. - Make sure it has the right number of columns. - Make sure + and @ lines begin with those characters.","message":"make-barcodes.awk: Validate input.\n- Make sure it has the right number of columns.\n- Make sure + and @ lines begin with those characters.\n","repos":"makrutenko\/dunovo,makrutenko\/dunovo,makrutenko\/dunovo","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- make-barcodes.awk\n+++ make-barcodes.awk\n@@ -39,6 +39,24 @@\n   }\n }\n \n+# Validate input.\n+{\n+  for (i = 1; i <= 8; i++) {\n+    if (!$i) {\n+      print \"Error on read pair (line) \" NR \": Missing or empty columns.\" > \"\/dev\/stderr\"\n+      exit 1\n+    }\n+  }\n+  if (substr($1, 1, 1) != \"@\" || substr($2, 1, 1) != \"@\") {\n+    print \"Error on read pair (line) \" NR \": Read name line doesn't begin with '@'.\" > \"\/dev\/stderr\"\n+    exit 1\n+  }\n+  if (substr($5, 1, 1) != \"+\" || substr($6, 1, 1) != \"+\") {\n+    print \"Error on read pair (line) \" NR \": '+' column does not begin with '+'.\" > \"\/dev\/stderr\"\n+    exit 1\n+  }\n+}\n+\n $3 && $4 {\n   alpha = substr($3, 1, TAG_LEN)\n   beta = substr($4, 1, TAG_LEN)\n"}
{"commit":"5fd51782e6d5d109e1d5e9628f7c7e3e9ac3a7fb","subject":"duh...actually test the change this time","message":"duh...actually test the change this time\n","repos":"nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- tmcd\/freebsd\/chipset.awk\n+++ tmcd\/freebsd\/chipset.awk\n@@ -11,11 +11,11 @@\n # upgraded pc600 reports:\n #    pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard\n #\n-\/^pcib0: <Intel [0-9][0-9][0-9][0-9][0-9]BX .*(AGP disabled)>\/ {\n+\/^pcib0: <Intel [0-9][0-9][0-9][0-9][0-9]BX host.*\\(AGP disabled\\)\/ {\n     print \"BX\";\n     exit\n }\n-\/^pcib0: <Intel [0-9][0-9][0-9][0-9][0-9]BX \/ {\n+\/^pcib0: <Intel [0-9][0-9][0-9][0-9][0-9]BX \\(440 BX\\) host\/ {\n     print \"BX-AGP\";\n     exit\n }\n"}
{"commit":"9f975f5710caac05990b65d74ce2a6033b91d1db","subject":"Update permissions","message":"Update permissions\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"bb47f46c34cad45c209dde664907031a640b4180","subject":"Basic fix for sortkey","message":"Basic fix for sortkey\n\nUsed paralel arrays to get around out of order sesons\/episodes\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -14,6 +14,11 @@\n     printf (\"Sortkey\\tTitle\\tSeasons\\tEpisodes\\tDuration\\tYear\\tRating\\tDescription\\t\")\n     printf (\"Content_Type\\tContent_ID\\tEntity_ID\\tGenre\\tShow_Type\\tDate_Type\\tOriginal_Date\\t\")\n     printf (\"Show_ID\\tSeason_ID\\tSn_#\\tEp_#\\t1st_#\\tLast_#\\n\")\n+\n+    # For debugging variations in seasons and episodes format\n+    str = \"date +%y%m%d.%H%M%S\"\n+    str | getline longDate\n+    close str\n }\n \n # Don't process credits\n@@ -65,8 +70,8 @@\n     # Generated fields\n     year = \"\"\n     # New fields that haven't been created yet\n-    numSeasons = 111\n-    numEpisodes = 222\n+    numSeasons = 101\n+    numEpisodes = 202\n }\n \n # Grab title\n@@ -177,7 +182,6 @@\n     sub (\/&apos.*\/,\"\")\n     EntityId = \"_\" $0\n     # print \"EntityId = \" EntityId  > \"\/dev\/stderr\"\n-    next\n }\n \n # Do any special end of item processing, then print raw data spreadsheet row\n@@ -234,7 +238,7 @@\n     }\n \n     if (EntityId == \"\") {\n-        missingIDs += 1\n+        missingEntityIds += 1\n         printf (\"==> Missing EntityId for %s %s '%s' in show %s\\n\", contentType, contentId, title, \\\n                 showContentId) >> ERROR_FILE\n         # Add missing EntityId\n@@ -250,20 +254,50 @@\n         # Wish I didn't have to do this, but \"movie\" is too common to be in a key field\n         contentType = \"tv_movie\"\n         sortkey = sprintf (\"%s (1) %s M%s\", title, originalDate, EntityId)\n+        # print \"movie sortkey = \" sortkey  > \"\/dev\/stderr\"\n     }\n \n     if (contentType == \"tv_show\") {\n-        showTitle = title\n+        # print \"\\ntv_show\" > \"\/dev\/stderr\"\n+        numShows += 1\n+        showArray[numShows] = contentId\n+        titleArray[numShows] = title\n         sortkey = sprintf (\"%s (1) S%s\", title, EntityId)\n+        # print \"sortkey = \" sortkey > \"\/dev\/stderr\"\n     }\n \n     if (contentType == \"tv_season\") {\n+        # print \"\\ntv_season\" > \"\/dev\/stderr\"\n+        for ( i = 1; i <= numShows; i++ ) {\n+            if (showArray[i] == showContentId) {\n+                showTitle = titleArray[i]\n+                break\n+            }\n+        }\n         sortkey = sprintf (\"%s (2) S%02d\", showTitle, seasonNumber)\n+        # print \"sortkey = \" sortkey  > \"\/dev\/stderr\"\n+        # Compose title\n     }\n \n     if (contentType == \"tv_episode\") {\n+        # xxx\n+        # print \"\\ntv_episode\" > \"\/dev\/stderr\"\n+        for ( i = 1; i <= numShows; i++ ) {\n+            if (showArray[i] == showContentId) {\n+                showTitle = titleArray[i]\n+                break\n+            }\n+        }\n+        # Need to check that showContentId was actually found\n+        if (showArray[i] != showContentId) {\n+            missingShowContentIds += 1\n+            printf (\"==> Missing showContentId for %s %s '%s' in show %s\\n\", contentType, contentId, title, \\\n+                showContentId) >> ERROR_FILE\n+        }\n         sortkey = sprintf (\"%s (2) S%02dE%03d %s\", showTitle, seasonNumber, \\\n                 episodeNumber, showContentId)\n+        # print \"sortkey = \" sortkey  > \"\/dev\/stderr\"\n+        # Compose title\n     }\n     \n     # Copied from above to make it easier to coordinate printing fields\n@@ -277,17 +311,16 @@\n             showContentId, seasonContentId, seasonNumber, episodeNumber, firstLineNum, lastLineNum)\n }\n \n-# <artwork url=\"https:\/\/us.britbox.com\/isl\/api\/v1\/dataservice\/ResizeImage\/$value?Format=&apos;jpg&apos;&amp;Quality=45&amp;ImageId=&apos;176236&apos;&amp;EntityType=&apos;Item&apos;&amp;EntityId=&apos;16103&apos;&amp;Width=1920&amp;Height=1080&amp;ResizeAction=&apos;fit&apos;\" type=\"tile_artwork\" \/>\n-# https:\/\/www.britbox.com\/us\/movie\/300_Years_of_French_and_Saunders_16103\n-\/<item contentType=\"movie\"\/,\/<\\\/item>\/ {\n-    # print\n-}\n-\n END {\n     printf (\"In getBBoxCatalogFrom-sitemap.awk\\n\") > \"\/dev\/stderr\"\n-    if (missingIDs > 0 ) {\n-        missingIDs == 1 ? field = \"EntityId\" : field = \"EntityIds\"\n-        printf (\"    %2d missing %s in %s\\n\", missingIDs, field, FILENAME) > \"\/dev\/stderr\"\n+    if (missingEntityIds > 0 ) {\n+        missingEntityIds == 1 ? field = \"EntityId\" : field = \"EntityIds\"\n+        printf (\"    %2d missing %s in %s\\n\", missingEntityIds, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    #\n+    if (missingShowContentIds > 0 ) {\n+        missingShowContentIds == 1 ? field = \"showContentId\" : field = \"showContentIds\"\n+        printf (\"    %2d missing %s in %s\\n\", missingShowContentIds, field, FILENAME) > \"\/dev\/stderr\"\n     }\n     #\n     if (revisedTitles > 0 ) {\n"}
{"commit":"e9e29173d7464acff1bbfccf33ce8175397571ba","subject":"fixed bug","message":"fixed bug\n","repos":"gonet2\/tools,gonet2\/tools,GameGophers\/tools,GameGophers\/tools","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- proto_scripts\/client\/proto.awk\n+++ proto_scripts\/client\/proto.awk\n@@ -31,7 +31,7 @@\n \t\tprint pack_code\n \t\tprint \"\\t}\"\n \t\t#reader\n-\t\tprint \"\\tpublic  static \"name\" \"name\"(ByteArray reader){\"\n+\t\tprint \"\\tpublic  static \"name\" UnPack(ByteArray reader){\"\n \t\tprint \"\\t\\t\"name \" tbl = new \" name \"();\"\n \t\tprint unpack_code\n \t\tprint \"\\t\\treturn tbl;\\n\\t}\"\n"}
{"commit":"efcf4c8bc1a9015dbe33654fc4c7476d9de8a0c8","subject":"Languages: mark as stable: Samoan","message":"Languages: mark as stable: Samoan\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -291,8 +291,7 @@\n     Locale[\"sd\"][\"script\"]             = \"Arab\"\n     Locale[\"sd\"][\"rtl\"]                = \"true\" # RTL language\n \n-    #? Samoan\n-    Locale[\"sm\"][\"support\"]            = \"unstable\"\n+    # Samoan\n     Locale[\"sm\"][\"name\"]               = \"Samoan\"\n     Locale[\"sm\"][\"endonym\"]            = \"Gagana S\u0101moa\"\n     #Locale[\"sm\"][\"translations-of\"]\n"}
{"commit":"9fd90e9a4517840bab74c904d5cc381873db10d2","subject":"Translate: retry using IPv4 if default connection timed out (#287)","message":"Translate: retry using IPv4 if default connection timed out (#287)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -76,6 +76,9 @@\n         HttpService = \"\/\" inet \"\/tcp\/0\/\" HttpHost \"\/\" HttpPort\n         HttpPathPrefix = \"\"\n     }\n+\n+    # How long to wait in milliseconds for IPv6 before trying IPv4\n+    PROCINFO[HttpService, \"READ_TIMEOUT\"] = 300\n }\n \n # Pre-process string (URL-encode before send).\n@@ -109,21 +112,32 @@\n         header = header \"Proxy-Authorization: Basic \" HttpAuthCredentials \"\\r\\n\"\n \n     content = NULLSTR; isBody = 0\n-    print header |& HttpService\n-    while ((HttpService |& getline) > 0) {\n-        if (isBody)\n-            content = content ? content \"\\n\" $0 : $0\n-        else if (length($0) <= 1)\n-            isBody = 1\n-        else { # interesting fields in header\n-            match($0, \/^HTTP[^ ]* ([^ ]*)\/, group)\n-            if (RSTART) status = group[1]\n-            match($0, \/^Location: (.*)\/, group)\n-            if (RSTART) location = squeeze(group[1]) # squeeze the URL!\n+    while (1) {\n+        print header |& HttpService\n+        while ((HttpService |& getline) > 0) {\n+            if (isBody)\n+                content = content ? content \"\\n\" $0 : $0\n+            else if (length($0) <= 1)\n+                isBody = 1\n+            else { # interesting fields in header\n+                match($0, \/^HTTP[^ ]* ([^ ]*)\/, group)\n+                if (RSTART) status = group[1]\n+                match($0, \/^Location: (.*)\/, group)\n+                if (RSTART) location = squeeze(group[1]) # squeeze the URL!\n+            }\n+            l(sprintf(\"%4s bytes > %s\", length($0), $0))\n         }\n-        l(sprintf(\"%4s bytes > %s\", length($0), $0))\n-    }\n-    close(HttpService)\n+        close(HttpService)\n+\n+        if (ERRNO == \"Connection timed out\") {\n+            w(\"[WARNING] \" ERRNO \". Retrying IPv4 connection.\")\n+            Option[\"ip-version\"] = 4\n+            initHttpService()\n+            PROCINFO[HttpService, \"READ_TIMEOUT\"] = 0\n+            ERRNO = \"\"\n+        } else\n+            break\n+    }\n \n     if ((status == \"301\" || status == \"302\") && location)\n         content = curl(location)\n@@ -158,21 +172,32 @@\n         header = header \"Proxy-Authorization: Basic \" HttpAuthCredentials \"\\r\\n\"\n \n     content = NULLSTR; isBody = 0\n-    print (header \"\\r\\n\" reqBody) |& HttpService\n-    while ((HttpService |& getline) > 0) {\n-        if (isBody)\n-            content = content ? content \"\\n\" $0 : $0\n-        else if (length($0) <= 1)\n-            isBody = 1\n-        else { # interesting fields in header\n-            match($0, \/^HTTP[^ ]* ([^ ]*)\/, group)\n-            if (RSTART) status = group[1]\n-            match($0, \/^Location: (.*)\/, group)\n-            if (RSTART) location = squeeze(group[1]) # squeeze the URL!\n+    while (1) {\n+        print (header \"\\r\\n\" reqBody) |& HttpService\n+        while ((HttpService |& getline) > 0) {\n+            if (isBody)\n+                content = content ? content \"\\n\" $0 : $0\n+            else if (length($0) <= 1)\n+                isBody = 1\n+            else { # interesting fields in header\n+                match($0, \/^HTTP[^ ]* ([^ ]*)\/, group)\n+                if (RSTART) status = group[1]\n+                match($0, \/^Location: (.*)\/, group)\n+                if (RSTART) location = squeeze(group[1]) # squeeze the URL!\n+            }\n+            l(sprintf(\"%4s bytes > %s\", length($0), $0))\n         }\n-        l(sprintf(\"%4s bytes > %s\", length($0), $0))\n-    }\n-    close(HttpService)\n+        close(HttpService)\n+\n+        if (ERRNO == \"Connection timed out\") {\n+            w(\"[WARNING] \" ERRNO \". Retrying IPv4 connection.\")\n+            Option[\"ip-version\"] = 4\n+            initHttpService()\n+            PROCINFO[HttpService, \"READ_TIMEOUT\"] = 0\n+            ERRNO = \"\"\n+        } else\n+            break\n+    }\n \n     if (status == \"404\") {\n         e(\"[ERROR] 404 Not Found\")\n"}
{"commit":"a7f96d904af825590fdf58e75d8b0c82d8ba1bf2","subject":"Adding shell\/awk addup function","message":"Adding shell\/awk addup function\n","repos":"kigster\/pullulant,kigster\/pullulant,kigster\/pullulant,kigster\/pullulant","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- files\/home\/.pu_addup.awk\n+++ files\/home\/.pu_addup.awk\n@@ -1,6 +1,9 @@\n BEGIN {\n   split(columns,cols,\" \")\n   for (i = 1; i <= length(cols); i++)\n+  if (!multiplier) { multiplier = 1.0 }\n+  if (!denominator) { denominator = 0 }\n+  coefficient = denominator ? 1\/denominator : multiplier\n   if (debug) { printf \"cols[%d] = %d\\n\", i, cols[i] }\n }\n {\n@@ -12,7 +15,7 @@\n }\n END {\n   for (i = 1; i <= length(cols); i++) {\n-    if (headers[i]) { printf \"%10.1f Mb %10s\\n\",  sum[i]\/1024, headers[i] }\n+    if (headers[i]) { printf \"%20f %s %s\\n\",  sum[i] * coefficient, (units ? units : \"\"), headers[i] }\n     else { printf \"Column %2d: %20d\\n\", cols[i], sum[i] }\n   }\n }\n"}
{"commit":"1692318211380364a4b2f3f81ebdc118fd631d95","subject":"Help: widen the reference table (<=80 CPL)","message":"Help: widen the reference table (<=80 CPL)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -261,36 +261,38 @@\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n \n     if (displayName == \"endonym\") {\n-        r = \"\u250c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u2510\" RS\n+        r = \"\u250c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u2510\" RS\n         for (i = 0; i < rows; i++) {\n             r = r \"\u2502\"\n             for (j = 0; j < 3; j++) {\n                 if (cols[j][i]) {\n                     t1 = getDisplay(cols[j][i])\n+                    if (length(t1) > 17)\n+                        t1 = substr(t1, 1, 14) \"...\"\n                     switch (cols[j][i]) { # fix rendered text width\n                     case \"he\":\n-                        t1 = sprintf(\" %-18s\", t1)\n+                        t1 = sprintf(\" %-20s\", t1)\n                         break\n                     case \"or\": case \"ur\":\n-                        t1 = sprintf(\" %-17s\", t1)\n+                        t1 = sprintf(\" %-19s\", t1)\n                         break\n                     case \"hi\": case \"gu\": case \"km\": case \"kn\":\n                     case \"my\": case \"ne\": case \"pa\": case \"si\":\n                     case \"ta\": case \"te\": case \"yi\":\n-                        t1 = sprintf(\" %-16s\", t1)\n+                        t1 = sprintf(\" %-18s\", t1)\n                         break\n                     case \"yue\":\n+                        t1 = sprintf(\" %-15s\", t1)\n+                        break\n+                    case \"ja\": case \"ko\":\n+                        t1 = sprintf(\" %-14s\", t1)\n+                        break\n+                    case \"zh-CN\": case \"zh-TW\":\n                         t1 = sprintf(\" %-13s\", t1)\n                         break\n-                    case \"ja\": case \"ko\":\n-                        t1 = sprintf(\" %-12s\", t1)\n-                        break\n-                    case \"zh-CN\": case \"zh-TW\":\n-                        t1 = sprintf(\" %-11s\", t1)\n-                        break\n                     default:\n-                        if (length(t1) <= 15)\n-                            t1 = sprintf(\" %-15s\", t1)\n+                        if (length(t1) <= 17)\n+                            t1 = sprintf(\" %-17s\", t1)\n                     }\n                     switch (length(cols[j][i])) {\n                     case 1: case 2: case 3: case 4:\n@@ -310,21 +312,21 @@\n                     }\n                     r = r t1 t2\n                 } else\n-                    r = r sprintf(\"%23s\u2502\", NULLSTR)\n+                    r = r sprintf(\"%25s\u2502\", NULLSTR)\n             }\n             r = r RS\n         }\n-        r = r \"\u2514\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2518\"\n+        r = r \"\u2514\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2518\"\n     } else {\n-        r = \"\u250c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u2510\" RS\n+        r = \"\u250c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u2510\" RS\n         for (i = 0; i < rows; i++) {\n             r = r \"\u2502\"\n             for (j = 0; j < 3; j++) {\n                 if (cols[j][i]) {\n                     t1 = getName(cols[j][i])\n-                    if (length(t1) > 15)\n-                        t1 = substr(t1, 1, 12) \"...\"\n-                    t1 = sprintf(\" %-15s\", t1)\n+                    if (length(t1) > 17)\n+                        t1 = substr(t1, 1, 14) \"...\"\n+                    t1 = sprintf(\" %-17s\", t1)\n                     switch (length(cols[j][i])) {\n                     case 1: case 2: case 3: case 4:\n                         t2 = sprintf(\"- %s \u2502\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n@@ -343,11 +345,11 @@\n                     }\n                     r = r t1 t2\n                 } else\n-                    r = r sprintf(\"%23s\u2502\", NULLSTR)\n+                    r = r sprintf(\"%25s\u2502\", NULLSTR)\n             }\n             r = r RS\n         }\n-        r = r \"\u2514\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2518\"\n+        r = r \"\u2514\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2518\"\n     }\n     return r\n }\n"}
{"commit":"39889f0d7fccfaabbdf2ff4e4ac48c51db7d73fb","subject":"Main: formatting","message":"Main: formatting\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -48,7 +48,10 @@\n \n     # Networking\n     Option[\"proxy\"] = ENVIRON[\"HTTP_PROXY\"] ? ENVIRON[\"HTTP_PROXY\"] : ENVIRON[\"http_proxy\"]\n-    Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"] ? ENVIRON[\"USER_AGENT\"] : \"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/602.1 (KHTML, like Gecko) Version\/8.0 Safari\/602.1 Epiphany\/3.18.2\"\n+    Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"] ? ENVIRON[\"USER_AGENT\"] :\n+        \"Mozilla\/5.0 (X11; Linux x86_64) \"                   \\\n+        \"AppleWebKit\/602.1 (KHTML, like Gecko) Version\/8.0 \" \\\n+        \"Safari\/602.1 Epiphany\/3.18.2\"\n \n     # Interactive shell\n     Option[\"no-rlwrap\"] = 0\n"}
{"commit":"d1653112ae5be50092e06137cdcb6ff6b19eb541","subject":"POSIX { and delete TODO: still not POSIX compatible due to \"match()\"","message":"POSIX { and delete\nTODO: still not POSIX compatible due to \"match()\"\n\n\ngit-svn-id: 88e1a00e4eab3b0bb0c09889526309a3e2f5bd8a@23 c26eb9a1-5813-0410-bd6c-c2e55f420ca7\n","repos":"fnu\/xcache-src,fnu\/xcache-src,fnu\/xcache-src,fnu\/xcache-src,fnu\/xcache-src","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -2,7 +2,6 @@\n # vim:ts=4:sw=4\n BEGIN {\n \tbrace = 0;\n-\tdelete buffer;\n \tbuffer_len = 0;\n }\n \/^}.*;\/ {\n@@ -33,14 +32,16 @@\n \t\tprintf \"define(`COUNTOF_%s', `%s')\\n\", instruct, i;\n \t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, elm;\n \t\tprint \"\\n\";\n-\t\tdelete buffer;\n+\t\tfor (i in buffer) {\n+\t\t\tdelete buffer[i];\n+\t\t}\n \t\tbuffer_len = 0;\n \t\tinstruct = 0;\n \t}\n \tnext;\n }\n \n-\/.{\/ {\n+\/.\\{\/ {\n \tbrace = brace + 1;\n }\n \/.}\/ {\n@@ -75,13 +76,13 @@\n \ttypedefs[$3] = $4;\n \tnext;\n }\n-\/^typedef struct .*{\/ {\n+\/^typedef struct .*\\{\/ {\n \tbrace = 1;\n \tinstruct = 1;\n \tnext;\n }\n \n-\/^struct .*{\/ {\n+\/^struct .*\\{\/ {\n \tinstruct = $2;\n \tbrace = 1;\n \tnext;\n"}
{"commit":"4f6ee7dfa72b50f3e2363c074b2bc412ca57c05a","subject":"Minor rewording","message":"Minor rewording\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- verifyBBoxDownloadsFrom-webscraper.awk\n+++ verifyBBoxDownloadsFrom-webscraper.awk\n@@ -38,9 +38,9 @@\n         seasonField = fields[7]\n         episodeField = fields[9]\n         if (seasonField == \"\") {\n-            print \"==> \" target \" missing Seasons field in \" SEASONS_SORTED_FILE \\\n+            print \"==> \" target \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" \\\n                 > \"\/dev\/stderr\"\n-            print \"    \" unquotedTarget \" missing Seasons field in \" SEASONS_SORTED_FILE \\\n+            print \"    \" unquotedTarget \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" \\\n                 >> TEMP_FILE\n             continue\n         }\n"}
{"commit":"c9698a4915f6424d07c4d7e0734af684576aa8e1","subject":"- check unused","message":"- check unused\n","repos":"kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -571,7 +571,7 @@\n \t} else cache_dirty = 1\n     } else if (sym in mapsrcs) { src = mapsrcs[sym] }\n }\n-function set_symbol(sym, mod, crc, expt, set, pos, own, src, from)\n+function set_symbol(sym, mod, crc, expt, set, pos, own, src, use, from)\n {\n     if (!(sym in syms)) {\n \tsyms[sym] = 1\n@@ -671,6 +671,15 @@\n \t    }\n \t} else cache_dirty = 1\n     } else if (sym in srcs) { src = srcs[sym] }\n+    if (use) {\n+\tif (sym in uses) {\n+\t    if (uses[sym] != use) {\n+\t\tuses[sym] = use\n+\t\tcache_dirty = 1\n+\t    }\n+\t} else cache_dirty = 1\n+\tuses[sym] = use\n+    } else if (use in uses) { use = uses[sym] }\n }\n function set_symset(set, hash, numb, ssym, scrc, own, src, from,\tn,i,symbols)\n {\n@@ -747,26 +756,146 @@\n \tcache_dirty = 1\n     }\n }\n-#\n-# Read in an objdump -t listing.  This must be from objdump -t run on a kernel\n-# object.  This will add EXPORT_SYMBOL or EXPORT_SYMBOL_GPL for use in the\n-# Module.symvers file.\n-#\n-function read_modobject(command, dir, own, src,\t    result,files,progress,HEADER,mod,flags,val,sec,ofs,sym,count_syms,count_unds,count_weak)\n-{\n-    print_vinfo(1,\"r: ko object, subdirectory = \\\"\" dir \"\\\"\")\n+function read_modobject(command, dir, own, src,\n+\t\t\tpfx,fmt,files,progress,SECTION,string,mod,count_syms,count_unds,\n+\t\t\tcount_weak,count_vers,flags,val,sec,offset,sym,crc,char)\n+{\n+    pfx = \"r: ko object, \"\n+    fmt = \"%3d syms, %3d unds, %3d weak, %3d vers\"\n+    print_vinfo(1, pfx \"subdirectory = \\\"\" dir \"\\\"\")\n     files = 0\n     progress = 0\n-    HEADER = 1\n+    SECTION = \"\"\n+    string = \"\"\n     mod = \"\"\n-    count_syms = 0; count_unds = 0; count_weak = 0\n-    while ((result = (command | getline)) == 1) {\n-\tif (HEADER) {\n+    count_syms = 0; count_unds = 0; count_weak = 0; count_vers = 0\n+    # use objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -s \n+    while ((command | getline) == 1) {\n+\tif (SECTION) {\n+\t    if (\/^$\/) {\n+\t\tprint_dmore(1,pfx sprintf(fmt, count_syms, count_unds, count_weak, count_vers))\n+\t\tif (SECTION) {\n+\t\t    print_debug(2,pfx \"end of section \" SECTION)\n+\t\t    if (count_syms||count_unds||count_weak||count_vers)\n+\t\t\tprint_debug(2,pfx sprintf(fmt, count_syms, count_unds, count_weak, count_vers))\n+\t\t}\n+\t\tSECTION = \"\"\n+\t\tcontinue\n+\t    }\n+\t    if (SECTION == \"SYMBOL TABLE\") {\n+\t\tif (NF<4)\n+\t\t    continue\n+\t\tflags = substr($0, length($1)+2, 7)\n+\t\tval = $1; sec = $(NF-2); offset = $(NF-1); sym = $NF\n+\t\tif (substr(flags,1,1) == \"l\") {\n+\t\t    if (substr(flags,7,1) == \"O\") {\n+\t\t\tif (sec == \".modinfo\") {\n+\t\t\t    if (sym ~ \/^_?__mod_version[0-9]*$\/)\n+\t\t\t\tmod_vers[mod] = 1\n+\t\t\t    continue\n+\t\t\t}\n+\t\t\tif (sub(\/^_?__ksymtab\/,\"\",sec)) {\n+\t\t\t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n+\t\t\t\tprint_debug(3,pfx \"symbol: \" sym)\n+\t\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_SYMBOL\" toupper(sec), \"\", 0, own, \"\", 0, \"ko object\")\n+\t\t\t\tcount_syms++\n+\t\t\t    }\n+\t\t\t    continue\n+\t\t\t}\n+\t\t    }\n+\t\t    continue\n+\t\t}\n+\t\tif (sec == \"*ABS*\") {\n+\t\t    if (substr(flags,1,1) == \"g\") {\n+\t\t\tif (sub(\/^_?__crc_\/,\"\",sym)) {\n+\t\t\t    print_debug(3,pfx \"symbol: \" sym)\n+\t\t\t    set_symbol(sym, mod, \"0x\" val, \"\", \"\", 0, own, src, 0, \"ko object\")\n+\t\t\t    count_syms++\n+\t\t\t    continue\n+\t\t\t}\n+\t\t    }\n+\t\t    mod_abss[mod,sym] = 1\n+\t\t}\n+\t\tif (own != values[\"pkgdirectory\"])\n+\t\t    continue\n+\t\tif (sec == \"*UND*\") {\n+\t\t    if (sym ~ \/^_?__this_module$\/) {\n+\t\t\tif (mod in mod_this)\n+\t\t\t    delete mod_this[mod]\n+\t\t\tcontinue\n+\t\t    }\n+\t\t    if (substr(flags,2,1) == \" \" && !((mod,sym) in mod_unds)) {\n+\t\t\tprint_debug(3,pfx \"undefined symbol: \" sym)\n+\t\t\tmod_unds[mod,sym] = 1\n+\t\t\tcount_unds++\n+\t\t    }\n+\t\t    if (substr(flags,2,1) == \"w\" && !((mod,sym) in mod_weak)) {\n+\t\t\tprint_debug(3,pfx \"weakundef symbol: \" sym)\n+\t\t\tmod_weak[mod,sym] = 1\n+\t\t\tcount_weak++\n+\t\t    }\n+\t\t    continue\n+\t\t}\n+\t\tif (sym ~ \/^_?init_module$\/) {\n+\t\t    mod_init[mod] = 1\n+\t\t    print_debug(2,pfx \"module \" mod \" has init_module\")\n+\t\t    continue\n+\t\t}\n+\t\tif (sym ~ \/^_?cleanup_module$\/) {\n+\t\t    mod_exit[mod] = 1\n+\t\t    print_debug(2,pfx \"module \" mod \" has cleanup_module\")\n+\t\t    continue\n+\t\t}\n+\t\tif (sym ~ \/^_?__this_module$\/) {\n+\t\t    mod_this[mod] = 1\n+\t\t    print_debug(2,pfx \"module \" mod \" has this_module\")\n+\t\t    continue\n+\t\t}\n+\t\tif (sym ~ \/^_?__mod_version[0-9]*$\/) {\n+\t\t    mod_vers[mod] = 1\n+\t\t    print_debug(2,pfx \"module \" mod \" has mod_version\")\n+\t\t    continue\n+\t\t}\n+\t    } else\n+\t    if (SECTION == \"__versions\") {\n+\t\tsub(\/^ .... \/, \"\"); sub(\/  .*$\/, \"\"); gsub(\/ \/, \"\")\n+\t\tstring = string $0\n+\t\tif (length(string) < 128)\n+\t\t    continue\n+\t\tsub(\/(00)+$\/, \"\",string)\n+\t\tcrc = \"0x\" substr(string,7,2) substr(string,5,2) substr(string,3,2) substr(string,1,2)\n+\t\tsub(\/^........\/, \"\", string)\n+\t\tif (crc == \"0x00000000\")\n+\t\t{ crc = \"0x\" substr(string,1,8); sub(\/^........\/,\"\",string) }\n+\t\tsub(\/^00000000\/, \"\", string)\n+\t\tsym = \"\"\n+\t\twhile (string) {\n+\t\t    char = \"0x\" substr(string,1,2)\n+\t\t    sub(\/^..\/, \"\", string)\n+\t\t    char = strtonum(char)\n+\t\t    if (32 <= char && char <= 126)\n+\t\t\tsym = sym sprintf(\"%c\", char)\n+\t\t}\n+\t\t# really just want to mark symbol used and check crc\n+\t\tset_symbol(sym, \"\", crc, \"\", \"\", 0, \"\", src, 1, \"ko object\")\n+\t\tcount_vers++\n+\t    }\n+\t    # skip __ksymtab and __ksymtab_gpl sections\n+\t} else {\n \t    if (\/^$\/)\n \t\tcontinue\n-\t    if (\/:.*file format\/) {\n-\t\tsub(\/:.*$\/, \"\")\n-\t\tprint_debug(1,\"r: ko object, module = \" $0)\n+\t    if (sub(\/:.*file format.*$\/, \"\")) {\n+\t\tif (mod) {\n+\t\t    count_syms = 0; count_unds = 0; count_weak = 0; count_vers = 0\n+\t\t    mod_mods[mod] = 1\n+\t\t    if (progress >= 200) {\n+\t\t\tprint_dmore(1,pfx files \"kernel modules...\")\n+\t\t\tprogress = 0\n+\t\t    }\n+\t\t    files++\n+\t\t    progress++\n+\t\t}\n+\t\tprint_debug(1,pfx \"module = \" $0)\n \t\tsub(\/(\\.mod)?\\.(k)?o(\\.gz)?$\/, \"\")\n \t\tif (own == values[\"pkgdirectory\"]) {\n \t\t    sub(\/.*\\\/\/, \"\")\n@@ -779,6 +908,7 @@\n \t\t    sub(\/kernel\\\/\/, \"\")\n \t\t}\n \t\tmod = $0\n+\t\tprint_debug(1,pfx mod)\n \t\tif (own == values[\"pkgdirectory\"]) {\n \t\t    if ((\"vmlinux\",\"struct_module\") in mod_syms) {\n \t\t\tmod_unds[mod,\"struct_module\"] = 1\n@@ -791,104 +921,23 @@\n \t\tcontinue\n \t    }\n \t    if (\/SYMBOL TABLE:\/) {\n-\t\tcount_syms = 0; count_unds = 0; count_weak = 0\n-\t\tmod_mods[mod] = 1\n-\t\tHEADER = 0\n-\t\tif (progress >= 200) {\n-\t\t    print_dmore(1,\"r: ko object, \" files \" kernel modules...\")\n-\t\t    progress = 0\n-\t\t}\n-\t\tfiles++\n-\t\tprogress++\n+\t\tSECTION = \"SYMBOL TABLE\"\n \t\tcontinue\n \t    }\n-\t}\n-\tif (\/^$\/ && !HEADER) {\n-\t    HEADER = 1\n-\t    if (count_syms || count_unds || count_weak) {\n-\t\tprint_debug(1,\"r: ko object, \" mod)\n-\t\tprint_debug(1,\"r: ko object, syms \" count_syms \", unds \" count_unds \", weak \" count_weak)\n-\t    }\n-\t    continue\n-\t}\n-\t# ok we have a listing line\n-\t# The flags are just after the first field and consist of 7 characters\n-\t# The last three fields always contain the same information\n-\tif (NF<4)\n-\t    continue\n-\tflags = substr($0, length($1)+2, 7); val = $1; sec = $(NF-2); ofs = $(NF-1); sym = $NF\n-\tif (substr(flags,1,1) == \"l\") {\n-\t    if (substr(flags,7,1) == \"O\") {\n-\t\tif (sec == \".modinfo\") {\n-\t\t    if (sym ~ \/^_?__mod_version[0-9]*$\/)\n-\t\t\tmod_vers[mod] = 1\n-\t\t    continue\n-\t\t}\n-\t\tif (sub(\/^_?__ksymtab\/,\"\",sec)) {\n-\t\t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n-\t\t\tprint_debug(3,\"r: ko object, symbol: \" sym)\n-\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_SYMBOL\" toupper(sec), \"\", 0, own, \"\", \"ko object\")\n-\t\t\tcount_syms++\n-\t\t    }\n-\t\t    continue\n-\t\t}\n-\t    }\n-\t    continue\n-\t}\n-\tif (sec == \"*ABS*\") {\n-\t    if (substr(flags,1,1) == \"g\") {\n-\t\tif (sub(\/^_?__crc_\/,\"\",sym)) {\n-\t\t    print_debug(3,\"r: ko object, symbol: \" sym)\n-\t\t    set_symbol(sym, mod, \"0x\" val, \"\", \"\", 0, own, src, \"ko object\")\n-\t\t    count_syms++\n-\t\t    continue\n-\t\t}\n-\t    }\n-\t    mod_abss[mod,sym] = 1\n-\t}\n-\tif (own != values[\"pkgdirectory\"])\n-\t    continue\n-\tif (sec == \"*UND*\") {\n-\t    if (sym ~ \/^_?__this_module$\/) {\n-\t\tif (mod in mod_this)\n-\t\t    delete mod_this[mod]\n+\t    if (sub(\/^Contents of section \/,\"\")) {\n+\t\tsub(\/:.*$\/, \"\")\n+\t\tSECTION = $0\n+\t\tstring = \"\"\n \t\tcontinue\n \t    }\n-\t    if (substr(flags,2,1) == \" \" && !((mod,sym) in mod_unds)) {\n-\t\tprint_debug(3,\"r: ko object, undefined symbol: \" sym)\n-\t\tmod_unds[mod,sym] = 1\n-\t\tcount_unds++\n-\t    }\n-\t    if (substr(flags,2,1) == \"w\" && !((mod,sym) in mod_weak)) {\n-\t\tprint_debug(3,\"r: ko object, weakundef symbol: \" sym)\n-\t\tmod_weak[mod,sym] = 1\n-\t\tcount_weak++\n-\t    }\n-\t    continue\n-\t}\n-\tif (sym ~ \/^_?init_module$\/) {\n-\t    mod_init[mod] = 1\n-\t    print_debug(2,\"r: ko object, module \" mod \" has init_module\")\n-\t    continue\n-\t}\n-\tif (sym ~ \/^_?cleanup_module$\/) {\n-\t    mod_exit[mod] = 1\n-\t    print_debug(2,\"r: ko object, module \" mod \" has cleanup_module\")\n-\t    continue\n-\t}\n-\tif (sym ~ \/^_?__this_module$\/) {\n-\t    mod_this[mod] = 1\n-\t    print_debug(2,\"r: ko object, module \" mod \" has this_module\")\n-\t    continue\n-\t}\n-\tif (sym ~ \/^_?__mod_version[0-9]*$\/) {\n-\t    mod_vers[mod] = 1\n-\t    print_debug(2,\"r: ko object, module \" mod \" has mod_version\")\n-\t    continue\n-\t}\n-    }\n-    if (result != -1) close(command)\n-    print_vinfo(1,\"r: ko object, \" files \" kernel modules   \")\n+\t}\n+\t# print stats\n+    }\n+    close(command)\n+    if (SECTION)\n+\tprint_debug(1,pfx sprintf(fmt, count_syms, count_unds, count_weak, count_vers))\n+    print_debug(1,pfx files \"kernel modules   \")\n+    # print end of run info\n }\n #\n # Read in any nm -Bs listing.  This can be a System.map file, a Modules.map\n@@ -920,7 +969,7 @@\n \t    }\n \t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n \t\tprint_debug(3,\"r: systemmap, symbol: \" sym)\n-\t\tset_symbol(sym, mod, \"\", \"\", \"\", 0, own, \"\", \"systemmap\")\n+\t\tset_symbol(sym, mod, \"\", \"\", \"\", 0, own, \"\", 0, \"systemmap\")\n \t\tcount_syms++\n \t\tcontinue\n \t    }\n@@ -928,7 +977,7 @@\n \tif (flag ~ \/[Aa]\/) {\n \t    if (sub(\/^_?__crc_\/,\"\",sym)) {\n \t\tprint_debug(3,\"r: systemmap, symbol: \" sym)\n-\t\tset_symbol(sym, mod, \"0x\" val, \"\", \"\", 0, own, src, \"systemmap\")\n+\t\tset_symbol(sym, mod, \"0x\" val, \"\", \"\", 0, own, src, 0, \"systemmap\")\n \t\tcount_syms++\n \t\tcontinue\n \t    }\n@@ -997,8 +1046,8 @@\n \t\t} else\n \t\tif (fields[1] == \"sym\") {\n \t\t    if (n<3) { print_error(\"syntax error in cachefile: line = \\\"\" line \"\\\"\"); continue }\n-\t\t    for (i=9;i>n;i--) { fields[i] = \"\" }; n = 9\n-\t\t    set_symbol(fields[2],fields[3],fields[4],fields[5],fields[6],fields[7],fields[8],fields[9],\"cachefile\")\n+\t\t    for (i=10;i>n;i--) { fields[i] = \"\" }; n = 10\n+\t\t    set_symbol(fields[2],fields[3],fields[4],fields[5],fields[6],fields[7],fields[8],fields[9],fields[10],\"cachefile\")\n \t\t} else\n \t\tif (fields[1] == \"set\") {\n \t\t    if (n<3) { print_error(\"syntax error in cachefile: line = \\\"\" line \"\\\"\"); continue }\n@@ -1037,6 +1086,7 @@\n \tline = line \":\"; if (sym in posn) { line = line posn[sym] }\n \tline = line \":\"; if (sym in ownr) { line = line ownr[sym] }\n \tline = line \":\"; if (sym in srcs) { line = line srcs[sym] }\n+\tline = line \":\"; if (sym in uses) { line = line uses[sym] }\n \tprint line > file; count_syms++; written[file] = 1\n     }\n     for (set in setsets) {\n@@ -1075,7 +1125,7 @@\n     }\n     if (NF < 3) $3 = \"vmlinux\"\n     if (NF < 4) $4 = \"\"\n-    set_symbol($2, $3, $1, $4, \"\", 0, own, src, \"dumpfiles\")\n+    set_symbol($2, $3, $1, $4, \"\", 0, own, src, 0, \"dumpfiles\")\n }\n function read_dumpfiles(command, own, src)\n {\n@@ -1090,10 +1140,10 @@\n {\n     print_vinfo(1,\"r: moduledir, directory = \\\"\" directory \"\\\"\")\n     dir = \"kernel\"\n-    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t\"\n+    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -s\"\n     read_modobject(command, dir, \"kernel\", src)\n     dir = values[\"pkgdirectory\"]\n-    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t\"\n+    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -s\"\n     read_modobject(command, dir, values[\"pkgdirectory\"], \"pkgdirectory\")\n }\n function read_mymodules(modules, src,    i,pair,ind,base,name,sym,fmt) {\n@@ -1102,7 +1152,7 @@\n     for (i = 1; i in modules; i++)\n \tprint modules[i] > \"modvers.list\"\n     close(\"modvers.list\")\n-    command = \"cat modvers.list | xargs objdump -t \"\n+    command = \"cat modvers.list | xargs objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -s\"\n     read_modobject(command, \".\", values[\"pkgdirectory\"], src)\n     system(\"rm -f modvers.list\")\n     # double check\n@@ -1127,12 +1177,21 @@\n \t    }\n \t    continue\n \t}\n+\tif (!(sym in uses) || !uses[sym]) {\n+\t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n+\t\tif (values[\"unused\"])\n+\t\t    print_warns(sprintf(fmt, base, \"unused\", sym))\n+\t\telse\n+\t\t    print_error(sprintf(fmt, base, \"unused\", sym))\n+\t    }\n+\t}\n \tif (!(sym in kabi) && values[\"kabi\"]) {\n-\t    if (ownr[sym] != values[\"pkgdirectory\"])\n+\t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n \t\tif (values[\"unsupported\"])\n \t\t    print_vinfo(1,sprintf(fmt, base, \"unsupportd\", sym))\n \t\telse\n \t\t    print_error(sprintf(fmt, base, \"unsupportd\", sym))\n+\t    }\n \t}\n \tif (!(sym in crcs)) {\n \t    print_error(\"r: mymodules, symbol \" sym \" defined in module \" mods[sym] \" has no version\")\n@@ -1158,6 +1217,14 @@\n \t\t    print_error(sprintf(fmt, base, \"weak unexp\", sym))\n \t    }\n \t    continue\n+\t}\n+\tif (!(sym in uses) || !uses[sym]) {\n+\t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n+\t\tif (values[\"unused\"])\n+\t\t    print_vinfo(1,sprintf(fmt, base, \"weak unuse\", sym))\n+\t\telse\n+\t\t    print_warns(sprintf(fmt, base, \"weak unuse\", sym))\n+\t    }\n \t}\n \tif (!(sym in kabi) && values[\"kabi\"]) {\n \t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n@@ -1246,7 +1313,7 @@\n \t\t    print_debug(4,\"r: syssymset,         pos = \\\"\" pos \"\\\"\")\n \t\t    print_debug(4,\"r: syssymset,         own = \\\"\" own \"\\\"\")\n \t\t    print_debug(5,\"r: syssymset,         src = \\\"\" src \"\\\"\")\n-\t\t    set_symbol($2, $3, $1, $4, set, pos, own, src, \"syssymset\")\n+\t\t    set_symbol($2, $3, $1, $4, set, pos, own, src, 0, \"syssymset\")\n \t\t    n++\n \t\t} else { unrecog(fnlp, $0); continue }\n \t    }\n@@ -1408,7 +1475,7 @@\n \n \tfor (pos=1;pos<=n;pos++) {\n \t    sym = symbols[pos]\n-\t    set_symbol(sym, \"\", \"\", \"\", set \".\" hash, pos, \"\", \"\", \"missedset\")\n+\t    set_symbol(sym, \"\", \"\", \"\", set \".\" hash, pos, \"\", \"\", 0, \"missedset\")\n \t    count_syms++\n \t}\n \tdelete setnumb[set]\n@@ -1824,6 +1891,7 @@\n     longopts[\"rip-weak\"     ] = \"R\"  ;\t\t\t\t\t\t\t\t   defaults[\"rip-weak\"     ] = 1\t\t\t\t\t\t; descrips[\"rip-weak\"     ] = \"attempt to rip weak undefined symbols from system map (requires -F, implies -U)\"\n     longopts[\"unres-weak\"   ] = \"b\"  ;\t\t\t\t\t\t\t\t   defaults[\"unres-weak\"   ] = 1\t\t\t\t\t\t; descrips[\"unres-weak\"   ] = \"allow unresolved weak symbols\"\n     longopts[\"unsupported\"  ] = \"U\"  ;\t\t\t\t\t\t\t\t   defaults[\"unsupported\"  ] = 1\t\t\t\t\t\t; descrips[\"unsupported\"  ] = \"permit use of (strong) unsupported (non-ABI) kernel exports\"\n+    longopts[\"unused\"       ] = \"y\"  ;\t\t\t\t\t\t\t\t   defaults[\"unused\"       ] = 1\t\t\t\t\t\t; descrips[\"unused\"       ] = \"permit use of (strong) unused kernel exports\"\n     longopts[\"weak-symbols\" ] = \"w\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-symbols\" ] = 1\t\t\t\t\t\t; descrips[\"weak-symbols\" ] = \"resolve weak symbols (useful with -r and -U)\"\n     longopts[\"weak-versions\"] = \"W\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-versions\"] = 1\t\t\t\t\t\t; descrips[\"weak-versions\"] = \"version weak symbols (useful with -w)\"\n     longopts[\"weak-hidden\"  ] = \"H\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-hidden\"  ] = 0\t\t\t\t\t\t; descrips[\"weak-hidden\"  ] = \"weak symbol versions are hidden (used with -W)\"\n@@ -1852,6 +1920,7 @@\n     values[\"rip-weak\"     ] = defaults[\"rip-weak\"     ]\n     values[\"unres-weak\"   ] = defaults[\"unres-weak\"   ]\n     values[\"unsupported\"  ] = defaults[\"unsupported\"  ]\n+    values[\"unused\"       ] = defaults[\"unused\"       ]\n     values[\"weak-symbols\" ] = defaults[\"weak-symbols\" ]\n     values[\"weak-versions\"] = defaults[\"weak-versions\"]\n     values[\"weak-hidden\"  ] = defaults[\"weak-hidden\"  ]\n"}
{"commit":"7eb1dfd05df625824dc9e5a7e64a3984eaefb475","subject":"Tighten up the schedule parsing.","message":"Tighten up the schedule parsing.\n\nNow that it has some arrays in there, more guff turns up.\n","repos":"jmorse\/numbness","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- z3_parse.awk\n+++ z3_parse.awk\n@@ -3,11 +3,11 @@\n \tbees=\"\";\n }\n \n-\/^[ ]+\\(define-fun.*Int$\/{\n+\/^[ ]+\\(define-fun.*round.*Int$\/{\n \tbees = $2;\n }\n \n-\/^[ ]+[0-9]+\\)\/{\n+\/^[ ]+[0-9]+\\)$\/{\n \tmatch ($0, \/^[ ]+([0-9]+)\\)\/, arr)\n \tprint bees \" \" arr[1];\n }\n"}
{"commit":"995f0686641cf4b40d4af12d7e380b66e46cb86a","subject":"The assertions generated to test VFS locking never included checks for vnodes reached through double indirection (i.e. **vpp). This is worked-around by special-casing the identifier \"vpp\" (adding one level of indirection).","message":"The assertions generated to test VFS locking never included checks\nfor vnodes reached through double indirection (i.e. **vpp). This\nis worked-around by special-casing the identifier \"vpp\" (adding one\nlevel of indirection).\n\nThe alternative fix mentioned in the PR had required substantial\nchanges to this script.\n\nIn case there are locking violations that had been hidden without\nthis patch, they may suddenly show up, now ...\n\nThis change does not affect code compiled without DEBUG_VFS_LOCKS.\n\nPR:\t\tkern\/46652\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -65,6 +65,8 @@\n \n function add_debug_code(name, arg, pos)\n {\n+\tif (arg == \"vpp\")\n+\t\targ = \"*vpp\";\n \tif (lockdata[name, arg, pos]) {\n \t\tprinth(\"\\tASSERT_VI_UNLOCKED(\"arg\", \\\"\"uname\"\\\");\");\n \t\t# Add assertions for locking\n"}
{"commit":"4b5517fbe0fc5250d7fd17e32c8a1192f830043e","subject":"Restore the comment that I removed by accident.","message":"Restore the comment that I removed by accident.\n\nThe comment still applies to this block of code.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/makeobjops.awk\n+++ sys\/tools\/makeobjops.awk\n@@ -306,6 +306,7 @@\n \tprinth(format_line(prototype argument_list \");\",\n \t    line_width, length(prototype)));\n \n+\t# Print out the method desc\n \tprintc(\"struct kobjop_desc \" mname \"_desc = {\");\n \tprintc(\"\\t0, { &\" mname \"_desc, (kobjop_t)\" default_function \" }\");\n \tprintc(\"};\\n\");\n"}
{"commit":"9de54acb4b28a518261578a28eac5fbc7a364137","subject":"OOO330","message":"OOO330","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/addsym.awk\n+++ solenv\/bin\/addsym.awk\n@@ -26,16 +26,29 @@\n #*************************************************************************\n \n # Add certain symbol patterns to the first global section.\n+#\n+# The below code fails with 'perverted' mapfiles (using a strange line layout,\n+# or containing version UDK_3_0_0 without a global section, ...).\n \n BEGIN { state = 0 }\n-\/\\{\/ && state == 1 { exit 1 } #TODO: print error explanation to stderr?\n-\/^[\\t ]*UDK_3_0_0[\\t ]*\\{\/ && state == 0 { state = 1 }\n-\/^[\\t ]*global[\\t ]*:\/ && state == 1 { state = 2 }\n-{ print }\n+END {\n+    if (state == 0) {\n+        print \"# Weak RTTI symbols for C++ exceptions:\"\n+        print \"UDK_3_0_0 {\"\n+        print \"global:\"\n+        print \"_ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions\"\n+        if (ENVIRON[\"USE_SYSTEM_STL\"] != \"YES\")\n+            print \"_ZN4_STL7num_put*; # for STLport\"\n+        print \"};\"\n+    }\n+}\n state == 2 {\n     print \"_ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions\"\n     if (ENVIRON[\"USE_SYSTEM_STL\"] != \"YES\")\n         print \"_ZN4_STL7num_put*; # for STLport\"\n     state = 3\n }\n-END { if (state != 3) exit 1 } #TODO: print error explanation to stderr?\n+# #i66636# - ???\n+\/^[\\t ]*UDK_3_0_0[\\t ]*\\{\/ { state = 1 }\n+\/^[\\t ]*global[\\t ]*:\/ && state == 1 { state = 2 }\n+{ print }\n"}
{"commit":"b2ad2852410a6262c65bd1485fa6455e668dc363","subject":"fixed eparams for new version bug - was referencing old dataset","message":"fixed eparams for new version bug - was referencing old dataset\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/update-e-params-subject-discrim.awk\n+++ bin\/util\/update-e-params-subject-discrim.awk\n@@ -18,6 +18,12 @@\n       # Change subject to name of layer dataset itself.\n       printf(\"<%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/enhancement\/%s>\\n\",baseURI,sourceID,dataset_identifier,datasetVersion,layerID);\n \n+   }else if( \/^<\/ && \/source\\\/\/ && \/dataset\\\/\/ && \/version\\\/\/ && \/conversion\\\/\/ && \/enhancement\\\/[^\\\/]*>\/ ) {\n+      # <http:\/\/logd.tw.rpi.edu\/source\/lebot\/dataset\/golfers\/version\/2012-Mar-11\/conversion\/enhancement\/1>\n+      # becomes\n+      # <http:\/\/logd.tw.rpi.edu\/source\/lebot\/dataset\/golfers\/version\/2012-Mar-15\/conversion\/enhancement\/1>\n+      sub(\/version\\\/[^\\\/]*\/,\"version\/\"datasetVersion);\n+      print $0\n    }else if( $0~\"conversion:subject_discriminator *\\\"\" ) {\n       printf(\"      conversion:subject_discriminator \\\"%s\\\";\\n\",subjectDiscriminator)\n \n"}
{"commit":"08b6397d13580fd82450a43f3a65237041679421","subject":"tests: fix build with awk that does not support switch-case","message":"tests: fix build with awk that does not support switch-case\n\nThe switch-case statement is a gawk-specific feature which is not\nnecessarily available, let's use traditional if-else statements instead.\n\n* tests\/uid.awk: Rewrite without switch-case statements.\n","repos":"Infinitive-OS\/platform_external_strace,geekboxzone\/mmallow_external_strace,vrastogi\/strace,YUPlayGodDev\/platform_external_strace,cuviper\/strace,Yu-AndroidM\/android_external_strace,kapdop\/android_external_strace,cuviper\/strace,AOSP-YU\/platform_external_strace,bnoordhuis\/strace,Saruta\/strace,cuviper\/strace,kapdop\/android_external_strace,Distrotech\/strace,Distrotech\/strace,bigzz\/strace_android,TeamExodus\/external_strace,MonkeyZZZZ\/platform_external_strace,TeamExodus\/external_strace,bnoordhuis\/strace,Distrotech\/strace,Yu-AndroidM\/android_external_strace,AOSP-YU\/platform_external_strace,kapdop\/android_external_strace,Saruta\/strace,vrastogi\/strace,vrastogi\/strace,TeamExodus\/external_strace,geekboxzone\/mmallow_external_strace,MonkeyZZZZ\/platform_external_strace,kapdop\/android_external_strace,geofft\/strace,MonkeyZZZZ\/platform_external_strace,geofft\/strace,geofft\/strace,vrastogi\/strace,AOSP-YU\/platform_external_strace,kapdop\/android_external_strace,geofft\/strace,Distrotech\/strace,TeamExodus\/external_strace,Saruta\/strace,geekboxzone\/mmallow_external_strace,bnoordhuis\/strace,geekboxzone\/mmallow_external_strace,bigzz\/strace_android,geekboxzone\/mmallow_external_strace,AOSP-YU\/platform_external_strace,geofft\/strace,bigzz\/strace_android,Saruta\/strace,Infinitive-OS\/platform_external_strace,Infinitive-OS\/platform_external_strace,bigzz\/strace_android,bigzz\/strace_android,cuviper\/strace,YUPlayGodDev\/platform_external_strace,TeamExodus\/external_strace,YUPlayGodDev\/platform_external_strace,AOSP-YU\/platform_external_strace,vrastogi\/strace,YUPlayGodDev\/platform_external_strace,Saruta\/strace,Yu-AndroidM\/android_external_strace,Infinitive-OS\/platform_external_strace,cuviper\/strace,Yu-AndroidM\/android_external_strace,Distrotech\/strace,YUPlayGodDev\/platform_external_strace,bnoordhuis\/strace,Infinitive-OS\/platform_external_strace,Yu-AndroidM\/android_external_strace,MonkeyZZZZ\/platform_external_strace,MonkeyZZZZ\/platform_external_strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/uid.awk\n+++ tests\/uid.awk\n@@ -12,53 +12,43 @@\n \n {\n   if (match($0, regexp, a)) {\n-    switch (expected) {\n-      case \"getuid\":\n-        uid = a[1]\n-        expected = \"setuid\"\n-        regexp = \"^setuid\" suffix \"\\\\(\" uid \"\\\\)[[:space:]]+= 0$\"\n-        next\n-      case \"setuid\":\n-        expected = \"getresuid\"\n-        regexp = \"^getresuid\" suffix \"\\\\(\\\\[\" uid \"\\\\], \\\\[\" uid \"\\\\], \\\\[\" uid \"\\\\]\\\\)[[:space:]]+= 0$\"\n-        next\n-      case \"getresuid\":\n-        expected = \"setreuid\"\n-        regexp = \"^setreuid\" suffix \"\\\\(-1, -1\\\\)[[:space:]]+= 0$\"\n-        next\n-      case \"setreuid\":\n-        expected = \"setresuid\"\n-        regexp = \"^setresuid\" suffix \"\\\\(-1, \" uid \", -1\\\\)[[:space:]]+= 0$\"\n-        next\n-      case \"setresuid\":\n-        expected = \"chown\"\n-        regexp = \"^chown\" suffix \"\\\\(\\\".\\\", -1, -1\\\\)[[:space:]]+= 0$\"\n-        next\n-      case \"chown\":\n-        expected = \"1st getgroups\"\n-        regexp = \"^getgroups\" suffix \"\\\\(0, NULL\\\\)[[:space:]]+= \" r_uint \"$\"\n-        next\n-      case \"1st getgroups\":\n-        ngroups = a[1]\n-        switch (ngroups) {\n-          case \"0\": list=\"\"; break\n-          case \"1\": list=r_uint; break\n-          default: list=r_uint \"(, \" r_uint \"){\" (ngroups - 1) \"}\"\n-        }\n-        expected = \"2nd getgroups\"\n-        regexp = \"^getgroups\" suffix \"\\\\(\" ngroups \", \\\\[\" list \"\\\\]\\\\)[[:space:]]+= \" ngroups \"$\"\n-        next\n-      case \"2nd getgroups\":\n-        expected = \"the last line\"\n-        regexp = \"^\\\\+\\\\+\\\\+ exited with 0 \\\\+\\\\+\\\\+$\"\n-        next\n-      case \"the last line\":\n-        expected = \"nothing\"\n-        regexp = \"\"\n-        next\n+    if (expected == \"getuid\") {\n+      uid = a[1]\n+      expected = \"setuid\"\n+      regexp = \"^setuid\" suffix \"\\\\(\" uid \"\\\\)[[:space:]]+= 0$\"\n+    } else if (expected == \"setuid\") {\n+      expected = \"getresuid\"\n+      regexp = \"^getresuid\" suffix \"\\\\(\\\\[\" uid \"\\\\], \\\\[\" uid \"\\\\], \\\\[\" uid \"\\\\]\\\\)[[:space:]]+= 0$\"\n+    } else if (expected == \"getresuid\") {\n+      expected = \"setreuid\"\n+      regexp = \"^setreuid\" suffix \"\\\\(-1, -1\\\\)[[:space:]]+= 0$\"\n+    } else if (expected == \"setreuid\") {\n+      expected = \"setresuid\"\n+      regexp = \"^setresuid\" suffix \"\\\\(-1, \" uid \", -1\\\\)[[:space:]]+= 0$\"\n+    } else if (expected == \"setresuid\") {\n+      expected = \"chown\"\n+      regexp = \"^chown\" suffix \"\\\\(\\\".\\\", -1, -1\\\\)[[:space:]]+= 0$\"\n+    } else if (expected == \"chown\") {\n+      expected = \"1st getgroups\"\n+      regexp = \"^getgroups\" suffix \"\\\\(0, NULL\\\\)[[:space:]]+= \" r_uint \"$\"\n+    } else if (expected == \"1st getgroups\") {\n+      ngroups = a[1]\n+      if (ngroups == \"0\")\n+        list=\"\"\n+      else if (ngroups == \"1\")\n+        list=r_uint\n+      else\n+        list=r_uint \"(, \" r_uint \"){\" (ngroups - 1) \"}\"\n+      expected = \"2nd getgroups\"\n+      regexp = \"^getgroups\" suffix \"\\\\(\" ngroups \", \\\\[\" list \"\\\\]\\\\)[[:space:]]+= \" ngroups \"$\"\n+    } else if (expected == \"2nd getgroups\") {\n+      expected = \"the last line\"\n+      regexp = \"^\\\\+\\\\+\\\\+ exited with 0 \\\\+\\\\+\\\\+$\"\n+    } else if (expected == \"the last line\") {\n+      expected = \"nothing\"\n+      regexp = \"\"\n     }\n   }\n-  next\n }\n \n END {\n"}
{"commit":"43c703e5db261d5a73db85a0be468c035b5bcb0b","subject":"Commons: add ansi(code, text)","message":"Commons: add ansi(code, text)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -248,19 +248,33 @@\n     AnsiCode[\"white\"]         = \"\\33[97m\"\n }\n \n+# Return ANSI escaped string.\n+function ansi(code, text) {\n+    switch (code) {\n+    case \"bold\":\n+        return AnsiCode[code] text AnsiCode[\"no bold\"]\n+    case \"underline\":\n+        return AnsiCode[code] text AnsiCode[\"no underline\"]\n+    case \"negative\":\n+        return AnsiCode[code] text AnsiCode[\"positive\"]\n+    default:\n+        return AnsiCode[code] text AnsiCode[0]\n+    }\n+}\n+\n # Print warning message.\n function w(text) {\n-    print AnsiCode[\"yellow\"] text AnsiCode[0] > \"\/dev\/stderr\"\n+    print ansi(\"yellow\", text) > \"\/dev\/stderr\"\n }\n \n # Print error message.\n function e(text) {\n-    print AnsiCode[\"red\"] AnsiCode[\"bold\"] text AnsiCode[0] > \"\/dev\/stderr\"\n+    print ansi(\"red\", text) > \"\/dev\/stderr\"\n }\n \n # Print debugging message.\n function d(text) {\n-    print AnsiCode[\"gray\"] text AnsiCode[0] > \"\/dev\/stderr\"\n+    print ansi(\"gray\", text) > \"\/dev\/stderr\"\n }\n \n # Log an array.\n"}
{"commit":"43143237f928f9f7b200c0681a378011f85bf4aa","subject":"Remove line count from commit line, since it's variable.","message":"Remove line count from commit line, since it's variable.\n\nConsistently treat dates as seconds * 10.\n","repos":"oneminot\/libcvd,oneminot\/libcvd,oneminot\/libcvd","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- make\/log_to_changelog.awk\n+++ make\/log_to_changelog.awk\n@@ -46,8 +46,16 @@\n \n \t\t#The commit line\n \t\tgline()\n+\t\tauthor=substr($6, 1, length($6)-1)\n+\t\t\n+\t\t#Remove the variable line count.\n+\t\tif($9 == \"lines:\")\n+\t\t{\n+\t\t\t$10 = \"\"\n+\t\t\t$11 = \"\"\n+\t\t}\n+\t\t$0=$0\n \t\tcommit_line=$0\n-\t\tauthor=substr($6, 1, length($6)-1)\n \t\t\n \t\t#Store the date* 10 for extra precision\n \t\tdate = $2\" \"$3\n@@ -126,7 +134,7 @@\n \t\t\tfor(j=i-1; j>0 && \n \t\t\t\t\t   author==line_to_author[date_to_line[sorted_dates[j]]] &&\n \t\t\t\t\t   message==line_to_message[date_to_line[sorted_dates[j]]] &&\n-\t\t\t\t\t   date - sorted_dates[j] < 20; j--)\n+\t\t\t\t\t   date - sorted_dates[j] < 100; j--)\n \t\t\t{\n \t\t\t\t#Reset i, so that the fragment appears once only.\n \t\t\t\ti=j\n@@ -136,7 +144,7 @@\n \t\t\t\trev_list=rev_list \" \" line_to_revision[date_to_line[sorted_dates[j]]];\n \n \t\t\t\t#Make a note of teh concatenations\n-\t\t\t\tconcatenation=concatenation \", \" date - sorted_dates[j] \"s\"\n+\t\t\t\tconcatenation=concatenation \", \" (date - sorted_dates[j])\/10 \"s\"\n \t\t\t\tnum_concat++\n \t\t\t}\n \n"}
{"commit":"1888370fd92276161c8146674a22a391b51b01cd","subject":"comments, & missing quote","message":"comments, & missing quote\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -18,7 +18,7 @@\n \n \n function usage(){\n-\tprint \"usage: ntriple2dot.awk curie_map.yaml rdf.nt > rdf.dot\"\n+\tprint \"usage: ntriple2dot.awk prefix_baseurl.yaml rdf.nt > dot.gv\"\n }\n \n ##########################################################\n@@ -93,7 +93,7 @@\n \t# exceptions\n \tprefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n \tprefix[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n-\tprefid[\"https_archive_monarchinitiative_org_\"]=\"MonarchArchive\n+\tprefid[\"https_archive_monarchinitiative_org_\"]=\"MonarchArchive\"\n \t############################################################\n \t# Often re-visit whether these exceptions are still necessary\n \t# they may have been moved into the curie prefix mapping file\n@@ -102,7 +102,7 @@\n \n \t# in mgi\n \tprefix[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n-    # in IMPC (not httpS)\n+\t# in IMPC (not httpS)\n \tprefix[\"http:\/\/www.mousephenotype.org\"]=\"IMPC\"\n \t# note in curie_map IMPC is:\n \t# http:\/\/www.mousephenotype.org\/data\/genes\/\n"}
{"commit":"113a64225ce63a463468fe8636e2bfde06300997","subject":"do not show empty lines","message":"do not show empty lines","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/filter.awk\n+++ tests\/filter.awk\n@@ -4,4 +4,8 @@\n \/^->Loading import\/ {next}\n \/^loading \/ {next}\n \n+# empty lines are dull\n+#\n+\/^ *$\/ {next}\n+\n {print}\n"}
{"commit":"c20e099c54e98af2b412b954118ad8229e50769b","subject":"Yet another messy commit; this time making a start on getting labels in decent positions.","message":"Yet another messy commit; this time making a start on getting labels in decent positions.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -6,20 +6,33 @@\n \n # Only intended to consume Dot generated from libfsm's .dot output,\n # and not graphviz diagrams in general.\n-\n-# graph 1 5.75 0.93056\n-# node start 0.15278 0.41667 0.30556 0.5 \"\" solid none black lightgrey\n-# node S6 0.97222 0.41667 0.30556 0.30556 \"\" solid circle black lightgrey\n-# node S1 5.5417 0.20833 0.41667 0.41667 \"\" solid doublecircle black lightgrey\n-# edge S3 S6 10 3.5244 0.20119 3.2727 0.19014 2.7322 0.17358 2.2778 0.20833 1.873 0.23929 1.7755 0.28067 1.375 0.34722 1.3389 0.35322 1.3009 0.35974 1.2635 0.3663 <&#x3B5;> 2.3264 0.3125 solid black\n-# edge S3 S2 4 3.835 0.20833 3.9555 0.20833 4.1328 0.20833 4.2831 0.20833 <y> 4.1319 0.3125 solid black\n-# stop\n \n function sname(s)\n {\n \tif (s == \"start\") {\n \t\treturn \"S0\";\n \t}\n+\n+\treturn s;\n+}\n+\n+# TODO: convert label from graphviz's html to a utf8\n+# This is either <xyz> or abc (with no quotes)\n+function slabel(s)\n+{\n+\t# XXX: placeholder\n+\tif (s == \"<>\") {\n+\t\treturn \"\";\n+\t}\n+\tif (s == \"\\\"\\\"\") {\n+\t\treturn \"\";\n+\t}\n+\n+# XXX: placeholder\n+gsub(\/&#x3B5;\/, \"e\", s); # XXX: why not?\n+gsub(\/\"\/, \"\", s)\n+gsub(\/<\/, \"\", s)\n+gsub(\/>\/, \"\", s)\n \n \treturn s;\n }\n@@ -41,6 +54,15 @@\n \n \tprint \"ahlength := 10bp;\"\n \tprint \"ahangle  := 45;\"\n+\n+#\tprint \"secondarydef v projectedalong w =\";\n+#\tprint \"\tif pair(v) and pair(w):\";\n+#\tprint \"\t\t(v dotprod w) \/ (w dotprod w) * w\";\n+#\tprint \"\telse:\";\n+#\tprint \"\t\terrmessage \\\"arguments must be pairs\\\"\";\n+#\tprint \"\tfi\";\n+#\tprint \"enddef;\";\n+\n }\n \n \/^graph \/ {\n@@ -55,17 +77,29 @@\n \ty      = $4;\n \twidth  = $5;\n \theight = $6;\n-\tlabel  = $7;\n+\tlabel  = slabel($7);\n \tstyle  = $8;\n \tshape  = $9;\n \t# TODO: label delimited by <>, may contain spaces\n \n-\tprintf \"\\tl%s := 0;\", name\n+\tprintf \"\\tl%s := 0;\\n\", name\n \n \tprintf \"\\t%s := (%fin, %fin);\\n\", name, x, y\n \n+# TODO: when plotting in graphviz, assume all nodes have the same width (not zero!). enough for \"SXX\" perhaps\n+# that should align them all on the same centre line. and pass fixedsize=true\n+\n \t# TODO: explain this is diameter\n-\tprintf \"\\td%s = %fin * 0.75;\\n\", name, (height + width) \/ 2;\n+\t# TODO: store 8bp as a constant somewhere\n+# TODO: explain we take diameter from label presence and endstateness.\n+# ignore graphviz height and width, because it scales with label width and that looks bad for S1 vs S5\n+\tdiam = 0.3 + length(label) * 0.05;\n+\n+\tif (shape == \"doublecircle\") {\n+\t\tprintf \"\\td%s = %fin + 8bp;\\n\", name, diam;\n+\t} else {\n+\t\tprintf \"\\td%s = %fin;\\n\", name, diam;\n+\t}\n \n \tif (shape == \"doublecircle\") {\n # TODO: would rather && together paths to n%s or somesuch\n@@ -76,6 +110,10 @@\n \n \tif ($2 != \"start\") {\n \t\tprintf \"\\tdraw n%s withpen pencircle scaled 1bp;\\n\", name\n+\n+\t\tif (label != \"\") {\n+\t\t\tprintf \"\\tlabel(\\\"%s\\\", %s);\\n\", label, name\n+\t\t}\n \t}\n }\n \n@@ -88,7 +126,7 @@\n \n \tv = split($0, a, \" \");\n \t# TODO: assert n < v - whatever\n-\t# TODO: assert n >= 4 (knot, control, control)\n+\t# TODO: assert n >= 4 (knot, control, control); mind trailing stuff... label etc\n \n \t# TODO: note we assume -Etailclip=false -Eheadclip=false -Edir=none\n \t# TODO: explain that requirement\n@@ -102,7 +140,7 @@\n \t# last two points (control, knot) are ontop of each other, in the head node\n \t# coordinates are in inches\n \n-\tprintf \"\\te := \";\n+\tprintf \"\\te :=\\n\";\n \tfor (i = 1; i <= n - 1; i += 3) {\n \t\t# knot\n \t\tox = a[(i + 0) * 2 + 3];\n@@ -116,7 +154,7 @@\n \t\tc2x = a[(i + 2) * 2 + 3];\n \t\tc2y = a[(i + 2) * 2 + 4];\n \n-\t\tprintf \"(%fin, %fin) .. controls (%fin, %fin) and (%fin, %fin) .. \", ox, oy, c1x, c1y, c2x, c2y;\n+\t\tprintf \"\\t(%fin, %fin) .. controls (%fin, %fin) and (%fin, %fin) ..\\n\", ox, oy, c1x, c1y, c2x, c2y;\n \t}\n \t# TODO: knot at end, which i haven't drawn\n \t# last point:\n@@ -124,37 +162,97 @@\n \t\t# knot\n \t\tox = a[(n + 0) * 2 + 3];\n \t\toy = a[(n + 0) * 2 + 4];\n-\t\tprintf \"(%fin, %fin);\", ox, oy;\n-\t}\n-\n-\tprintf \"draw e withpen pencircle scaled 0.25bp withcolor red;\\n\";\n+\t\tprintf \"\\t(%fin, %fin);\\n\", ox, oy;\n+\t}\n+\n+\tprintf \"\\tdraw e withpen pencircle scaled 0.25bp withcolor red;\\n\";\n \n \t# TODO: better explain this\n \t# TODO: explain reversed for q, else we'd find p again, where head == tail\n \tprintf \"pair p; p = e intersectionpoint n%s;\\n\", head;\n \tprintf \"pair q; q = (reverse e) intersectionpoint n%s;\\n\", tail;\n \n+\t# XXX: assuming no space in label\n+label = slabel(a[n * 2 + 5]);\n+lx    = (a[n * 2 + 6]);\n+ly    = (a[n * 2 + 7]);\n+\n+\tif (n * 2 == v - 4 - 2) {\n+\t\tlabel = \"\";\n+\t}\n+\n \tif (head == tail) {\n \t\tprintf \"path pp; pp = %s -- 0.5[p, q];\\n\", head;\n-#\t\tprintf \"draw p -- q withpen pencircle scaled 0.5bp withcolor green;\\n\";\n+printf \"draw p -- q withpen pencircle scaled 0.5bp withcolor green;\\n\";\n+printf \"draw 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\\n\";\n+printf \"draw %s -- 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\\n\", head;\n \n \t\t# extend loop 1.25 * diameter\n \t\t# count number of self-loops for this node, and increment extension\n \t\tprintf \"\\tl%s := l%s + 1;\", head, head\n \t\tprint \"l := length pp;\"\n \t\tprintf \"\\tpair m; m := (0.5 + 2 * mlog(l%s + 1) \/ 256) * d%s * unitvector(direction l of pp) shifted %s;\\n\", head, head, head\n-#\t\tprintf \"\\tdraw %s -- m withpen pencircle scaled 0.25bp withcolor green;\\n\", head\n+# u3 = u1 projectedalong u2;\n+\t\tprintf \"\\tdraw %s -- m withpen pencircle scaled 0.5bp withcolor green;\\n\", head\n \n \t\tprintf \"\\tpath b; b = %s .. q .. m .. p .. %s;\\n\", tail, head;\n+\n+\t\tif (label != \"\") {\n+\t\t\t# TODO: top or bottom, depending on green line direction\n+\t\t\tprintf \"\\tlabel.top(\\\"%s\\\", m);\\n\", slabel(label)\n+\t\t}\n \t} else {\n \t\tprintf \"\\tpath b; b = %s .. q .. p .. %s;\\n\", tail, head;\n \n \t\t# TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n \t\t# this affects NFA especially\n \t\tprint \"\\tr := arclength b \/ arclength e;\\n\";\n-\t\tprint \"\\tif (r > 1.02) or (r < 0.87):\";\n+\t\tprint \"\\tboolean g; g := (r > 1.02) or (r < 0.93);\"; # XXX: or (arclength b > 6in);\"; - no, wigglyness instead\n+\n+\t\tprint \"\\tif g:\";\n \t\tprint \"\\t\\tb := e;\";\n \t\tprint \"\\tfi;\";\n+\n+# if it wouldn't have been a straight line, go via the label point instead:\n+# XXX: this idea doesn't work, because i don't know which side of the line the label point would be on\n+#printf \"\\t\\tb := %s .. q .. (%fin, %fin) .. p .. %s;\\n\", tail, lx, ly, head;\n+\n+\t\tif (label != \"\") {\n+\t\t\tprintf \"\\tpair bl;\\n\";\n+\t\t\tprintf \"\\tpair ml; ml := .5[%s, %s];\\n\", tail, head;\n+\n+# TODO: new idea; draw right angle from midpoint, and use that to find intersection with b\n+# this way it should always align for multiple edges, even if on a slant\n+\n+printf \"draw (%fin, %fin) withpen pencircle scaled 5bp withcolor red;\\n\", lx, ly\n+printf \"draw point (length b \/ 2) of b withpen pencircle scaled 4bp withcolor blue;\\n\"\n+#printf \"draw %s -- %s withpen pencircle scaled 1bp withcolor green;\\n\", tail, head\n+#printf \"draw ml withpen pencircle scaled 5bp withcolor green;\\n\"\n+\n+\t\t\tprint \"\\tif g:\";\n+\t\t\t\tprintf \"\\t\\tbl := (%fin, %fin);\", lx, ly;\n+\t\t\tprint \"\\telse:\";\n+\t\t\t\tprintf \"\\t\\tbl := point (length b \/ 2) of b;\\n\";\n+\t\t\tprint \"\\tfi;\";\n+\n+# TODO: plus label delta, distancing it from point. make a label function\n+# TODO: maybe an \"extend\" function, to extend a path in its direction. use dotprod for that?\n+\n+\t\t\t# lft | rt | top | bot | ulft | urt | llft | lrt\n+\t\t\t# labels ought to be below, if they're below the straight line from head-tail, or above otherwise\n+\t\t\t# TODO: round label coordinates to grid? quantize rather\n+# XXX: if using graphviz's point, label exactly on the spot\n+print \"\\tif g:\";\n+# TODO: still want to distance by +\/- 4bp or so\n+\t\t\tprintf \"\\t\\tlabel(\\\"%s\\\", bl);\\n\", label\n+print \"\\telse:\";\n+\t\t\tprintf \"\\tif ypart bl < ypart ml:\\n\" # TODO: threshold for considering \"below\"\n+\t\t\tprintf \"\\t\\tlabel.bot(\\\"%s\\\", bl shifted (0, -3bp));\\n\", label\n+\t\t\tprintf \"\\telse:\\n\"\n+\t\t\tprintf \"\\t\\tlabel.top(\\\"%s\\\", bl shifted (0, +3bp));\\n\", label\n+\t\t\tprintf \"\\tfi;\\n\"\n+print \"\\tfi;\";\n+\t\t}\n \t}\n \n \tprintf \"drawarrow b cutbefore q cutafter p withpen pencircle scaled 1bp;\\n\";\n"}
{"commit":"7d6446522c5c47b93836d9a1820bd4e8f73594fe","subject":"ahrf.awk: one or more space(s)","message":"ahrf.awk: one or more space(s)\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -2,8 +2,8 @@\n \n BEGIN { FS = \"\\n\"; RS = \"\" }\n \n-# Common shell symbols to HTML\n {\n+\t# Common shell symbols to HTML\n \t# Two backslashes for nawk(1) and OpenBSD awk(1)\n \tgsub(\/\\&\/,\"\\\\&amp;\")\n \tgsub(\/<\/,\"\\\\&lt;\")\n@@ -16,7 +16,7 @@\n \tcnt = RLENGTH\n \tgsub(\/^[\\t ]*:+[\\t ]*|[\\t ]*:+[\\t ]*$\/,\"\")\n \tanc = tolower($0)\n-\tgsub(\/ \/,\"-\",anc)\n+\tgsub(\/ +\/,\"-\",anc)\n \t# length($0) would also work\n \tif (cnt <= 6 && $0 != \"\") {\n \t\tprintf(\"<h%d id=\\\"%s\\\">%s<\/h%d>\\n\", cnt, anc, $0, cnt)\n"}
{"commit":"bf2753dc3852b74d87001eb74526587eb8f87654","subject":"ahrf.awk: Enable comment exported to HTML. This is not final and therefore, it might be removed. Validated (even if the checks are not included yet).","message":"ahrf.awk: Enable comment exported to HTML. This is not final\nand therefore, it might be removed. Validated (even if the checks\nare not included yet).\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -8,6 +8,13 @@\n \tgsub(\/\\&\/,\"\\\\&amp;\")\n \tgsub(\/<\/,\"\\\\&lt;\")\n \tgsub(\/>\/,\"\\\\&gt;\")\n+}\n+\n+# UGLY WIP\n+\/^[\\t ]*%+\/ {\n+\tgsub(\/^[\\t ]*%+[\\t ]*\/,\"\")\n+\tprintf(\"<!-- %s -->\\n\", $0)\n+\tnext\n }\n \n # h1, h2, h3, h4, h5, h6\n"}
{"commit":"e33a6a7b643ce10f703f154653cac139fe27bf2b","subject":"Start 2016 testing.","message":"Start 2016 testing.","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -11,8 +11,8 @@\n #$3>date\n {\n   # add a loop to add line only if either status is (wanted or testing) or ending year is gt or eq to contract year\n-  # increased to 2015 July 1 2015.\n-  current_year = 2015\n+  # increased to 2016 July 1 2016.\n+  current_year = 2016\n   # end_year is the AU year, or the second half of a range, ie 2014 in 2013-2014\n   end_year = 0\n   incontract = 0\n"}
{"commit":"e85c2d1e85193506ab7cd81a2bfd5492ed0b499c","subject":"Add automated years.","message":"Add automated years.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -11,8 +11,17 @@\n #$3>date\n {\n   # add a loop to add line only if either status is (wanted or testing) or ending year is gt or eq to contract year\n-  # increased to 2018 July 1 ish 2018\n-  current_year = 2018\n+\n+  #After July 1 of this year, start reporting on this year. Before that, ignore this year.\n+  current_year=`date +%Y`\n+  week=`date +%W`\n+  if [ $week -lt 26 ]\n+    then\n+    ((current_year--))\n+    #echo current_year $current_year\n+  fi\n+  #echo current_year $current_year\n+  \n   # end_year is the AU year, or the second half of a range, ie 2014 in 2013-2014\n   end_year = 0\n   incontract = 0\n"}
{"commit":"e5591d9028e925f2b23abf1837c924f4b0f98b1d","subject":"pull in the pretty-printer stylesheet","message":"pull in the pretty-printer stylesheet","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/slidy.awk\n+++ tools\/slidy.awk\n@@ -24,7 +24,7 @@\n {\n     sub(\/<title>Haskell: Functional Programming, Solid Code, Big Data<\\\/title>\/, \"<title>Intro \\\\&ldquo;Functional Programming\\\\&rdquo;<\/title>\")\n     sub(\/<meta name=\"date\" content=\"2011-09-18\" \\\/>\/, \"<meta name='date' content='2011-10-19' \/>\")\n-    sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name='author' content='Gabor Greif' \/>\\n  <meta name='duration' content='45' \/>\")\n+    sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name='author' content='Gabor Greif' \/>\\n  <meta name='duration' content='45' \/>\\n  <link type='text\/css' rel='stylesheet' href='http:\/\/www.gstatic.com\/codesite\/ph\/13841197563397998716\/css\/ph_detail.css' \/>\")\n }\n \n \/^<body>\/ {\n"}
{"commit":"e048a75342abc760dc73bdb920e23faa3da88d27","subject":"Fix colorize_diff.awk","message":"Fix colorize_diff.awk\n","repos":"S010\/misc,S010\/misc,S010\/misc,S010\/misc,S010\/misc,S010\/misc,S010\/misc,S010\/misc,S010\/misc","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- tools\/colorize_diff.awk\n+++ tools\/colorize_diff.awk\n@@ -45,18 +45,23 @@\n     need_reset = 0;\n }\n \n+# Name of changed file \/ old name of file.\n+\/^--- \/ {\n+    set_attrs(BOLD, WHITE, MAGENTA);\n+}\n+\n # Name of changed file \/ name of new file.\n-\/^\\+\\+\\+\/ {\n+\/^\\+\\+\\+ \/ {\n     set_attrs(BOLD, WHITE, BLUE);\n }\n \n # Lines which have been added.\n-\/^\\+[^+]\/ {\n+\/^\\+[^+]\/ || \/^\\+$\/ {\n     set_attrs(BOLD, WHITE, GREEN);\n }\n \n # Lines which have been removed.\n-\/^-[^-]\/ {\n+\/^-[^-]\/ || \/^-$\/ {\n     set_attrs(BOLD, WHITE, RED);\n }\n \n"}
{"commit":"a5ffa18f138d905639dcf09e1e4a7f7dfd6c91be","subject":"mpers: fix compound types with arbitrary member alignments","message":"mpers: fix compound types with arbitrary member alignments\n\n* mpers.sh: Compound types are now represented as packed\nwith character arrays as explicit fillers inbetween members\nand at the end.\n","repos":"Distrotech\/strace,kapdop\/android_external_strace,Distrotech\/strace,kapdop\/android_external_strace,kapdop\/android_external_strace,Distrotech\/strace,Saruta\/strace,Distrotech\/strace,cuviper\/strace,vrastogi\/strace,Saruta\/strace,vrastogi\/strace,cuviper\/strace,Saruta\/strace,cuviper\/strace,vrastogi\/strace,vrastogi\/strace,vrastogi\/strace,Saruta\/strace,Distrotech\/strace,kapdop\/android_external_strace,kapdop\/android_external_strace,Saruta\/strace,cuviper\/strace,cuviper\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mpers.awk\n+++ mpers.awk\n@@ -5,7 +5,8 @@\n \t\treturn -1\n \treturn (c1 != c2)\n }\n-function what_is(what_idx, type_idx, special, item)\n+function what_is(what_idx, type_idx, special, item, \\\n+\t\t location, prev_location, prev_returned_size)\n {\n \ttype_idx = array[what_idx][\"type\"]\n \tspecial = array[what_idx][\"special\"]\n@@ -24,28 +25,62 @@\n \t\t\tprintf(\"%s \", array[what_idx][\"name\"])\n \t\t\tbreak\n \t\t}\n+\t\treturned_size = array[what_idx][\"byte_size\"]\n \t\tbreak\n \tcase \"enumeration_type\":\n \t\tprintf(\"%s \", \"uint\" 8*array[type_idx][\"byte_size\"] \"_t\")\n+\t\treturned_size = array[what_idx][\"byte_size\"]\n \t\tbreak\n \tcase \"pointer_type\":\n \t\tprintf(\"%s\", \"mpers_ptr_t \")\n+\t\treturned_size = array[what_idx][\"byte_size\"]\n \t\tbreak\n \tcase \"array_type\":\n \t\twhat_is(type_idx)\n \t\tto_return = array[what_idx][\"upper_bound\"]\n+\t\treturned_size = array[what_idx][\"upper_bound\"] * returned_size\n \t\treturn to_return\n \t\tbreak\n \tcase \"structure_type\":\n+\t\tprint \"struct {\"\n+\t\tprev_location = 0\n+\t\tlocation = 0\n+\t\treturned_size = 0\n+\t\tprev_returned_size = 0\n+\t\tfor (item in array) {\n+\t\t\tif (\"parent\" in array[item] && \\\n+\t\t\t\tarray[item][\"parent\"] == what_idx) {\n+\t\t\t\tlocation = array[item][\"location\"]\n+\t\t\t\tloc_diff = location - prev_location - \\\n+\t\t\t\t\tprev_returned_size\n+\t\t\t\tif (loc_diff != 0) {\n+\t\t\t\t\tprintf(\"%s\", \\\n+\t\t\t\t\t\t\"unsigned char mpers_filler_\" \\\n+\t\t\t\t\t\titem \"[\" loc_diff \"];\\n\")\n+\t\t\t\t}\n+\t\t\t\tprev_location = location\n+\t\t\t\treturned = what_is(item)\n+\t\t\t\tprev_returned_size = returned_size\n+\t\t\t\tprintf(\"%s\", array[item][\"name\"])\n+\t\t\t\tif (returned) {\n+\t\t\t\t\tprintf(\"%s\", \"[\" returned \"]\")\n+\t\t\t\t}\n+\t\t\t\tprint \";\"\n+\t\t\t}\n+\t\t}\n+\t\treturned_size = array[what_idx][\"byte_size\"]\n+\t\tloc_diff = returned_size - prev_location - prev_returned_size\n+\t\tif (loc_diff != 0) {\n+\t\t\tprintf(\"%s\", \"unsigned char mpers_end_filler_\" \\\n+\t\t\t\titem \"[\" loc_diff \"];\\n\")\n+\t\t}\n+\t\tprintf(\"%s\", \"} ATTRIBUTE_PACKED \")\n+\t\tbreak\n \tcase \"union_type\":\n-\t\tif (special == \"structure_type\") {\n-\t\t\tprint \"struct {\"\n-\t\t} else {\n-\t\t\tprint \"union {\"\n-\t\t}\n+\t\tprint \"union {\"\n \t\tfor (item in array) {\n-\t\t\tif (\"parent\" in array[item] && array[item][\"parent\"] \\\n-\t\t\t\t== what_idx) {\n+\t\t\tif (\"parent\" in array[item] && \\\n+\t\t\t\tarray[item][\"parent\"] == what_idx) {\n \t\t\t\treturned = what_is(item)\n \t\t\t\tprintf(\"%s\", array[item][\"name\"])\n \t\t\t\tif (returned) {\n@@ -55,6 +90,7 @@\n \t\t\t}\n \t\t}\n \t\tprintf(\"%s\", \"} \")\n+\t\treturned_size = array[what_idx][\"byte_size\"]\n \t\tbreak\n \tcase \"typedef\":\n \t\treturn what_is(type_idx)\n@@ -83,10 +119,11 @@\n }\n \/^DW_AT_data_member_location\/ {\n \tmatch($0, \/[[:digit:]]+\/, temparray)\n-\tarray[idx][\"location\"] = temparray[1]\n+\tarray[idx][\"location\"] = temparray[0]\n }\n \/^DW_AT_name\/ {\n-\tmatch($0, \/:[[:space:]]+([[:alpha:]_][[:alnum:]_[:space:]]*)\/, temparray)\n+\tmatch($0, \/:[[:space:]]+([[:alpha:]_][[:alnum:]_[:space:]]*)\/, \\\n+\t\ttemparray)\n \tarray[idx][\"name\"] = temparray[1]\n }\n \/^DW_AT_byte_size\/ {\n"}
{"commit":"446cabf1f912fb9cd619b4b8b2cdbe058de55f79","subject":"ahrf.awk: Allow paragraphs to start with '(' (from Alex)","message":"ahrf.awk: Allow paragraphs to start with '(' (from Alex)\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -23,7 +23,7 @@\n }\n \n # Paragraph\n-\/^[A-Za-z0-9_]+\/ {\n+\/^[A-Za-z0-9_(]+\/ {\n \tprintf(\"<p>\")\n \tfor (p=1; p<NF; p++) {\n \t\tif ($p ~ \/ +$\/) {\n"}
{"commit":"6a9a6922dd21f6f3376cda327a5089c1cdfadc40","subject":"*** empty log message ***","message":"*** empty log message ***\n","repos":"sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- CASED.awk\n+++ CASED.awk\n@@ -75,13 +75,11 @@\n }\n \n \/^[^\\#]\/ {\n-\n   if (FILENAME == \"UNIDATA\/UnicodeData.txt\") {\n     if ($3 ~ \/L[ltu]\/)\n       single($1, 1);\n     else if ($3 ~ \/Mn|Me|Cf|Lm|Sk\/)\n       single($1, 2);\n-    next;\n   }\n \n   else if (FILENAME == \"UNIDATA\/PropList.txt\") {\n@@ -90,7 +88,6 @@\n \trange($1, 1);\n       else\n \tsingle($1, 1);\n-      next;\n     }\n   }\n \n@@ -100,7 +97,6 @@\n \trange($1, 2);\n       else\n \tsingle($1, 2);\n-      next;\n     }\n   }\n }\n"}
{"commit":"ef4460527465589260702c7074b91962b991d913","subject":"aux\/ematch.awk: detect NetBSD awk bug with character classes","message":"aux\/ematch.awk: detect NetBSD awk bug with character classes\n\nlib\/modernish\/aux\/ematch.awk:\n- Don't detect character class support if NetBSD awk bug\n  http:\/\/gnats.netbsd.org\/54424 is present (in UTF-8 locales, only\n  the first character class in a bracket expression is matched).\n  This triggers the ASCII translation of character classes, which\n  is a bit better as it's at least consistent.\n","repos":"modernish\/modernish","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- lib\/modernish\/aux\/ematch.awk\n+++ lib\/modernish\/aux\/ematch.awk\n@@ -29,7 +29,7 @@\n BEGIN {\n \tif (ARGC != 3)\n \t\terrorout(\"usage: ematch.awk <string> <ERE>\");\n-\thasclass = match(\"1\", \/[[:digit:]]\/);\n+\thasclass = match(\"1\", \/[[:alpha:][:digit:]]\/);\n \texit !match(ARGV[1], convertere(ARGV[2]));\n }\n \n"}
{"commit":"d8cc2b7166d488f4811449f6c3ada35b9ac5e334","subject":"Add percentiles support to stats.awk","message":"Add percentiles support to stats.awk\n","repos":"clbr\/libframetime","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- stats.awk\n+++ stats.awk\n@@ -12,11 +12,25 @@\n \tif (val > max)\n \t\tmax = val\n \tavg += val\n+\n+\t# percentiles\n+\tarray[NR] = val\n }\n \n END {\n \tavg \/= NR\n \tinv = 1000000\n+\n+\tasort(array)\n+\n+\tp50 = int(NR \/ 2)\n+\tp90 = int(NR * 0.9)\n+\tp95 = int(NR * 0.95)\n+\tp99 = int(NR * 0.99)\n+\n \tprint \"Min\/avg\/max frametimes (us): \t\" min \" \/ \" avg \" \/ \" max\n \tprint \"Min\/avg\/max FPS:\t\t\" inv\/max \" \/ \" inv\/avg \" \/ \" inv\/min\n+\tprint \"\"\n+\tprint \"50\/90\/95\/99 percentiles (us):\t\" array[p50] \" \/ \" array[p90] \" \/ \" \\\n+\t\t\tarray[p95] \" \/ \" array[p99]\n }\n"}
{"commit":"96f44bc89a24a77f78fec5b8868c0a7d912249a0","subject":"units in initial state too","message":"units in initial state too\n","repos":"pleroy\/Principia,pleroy\/Principia,mockingbirdnest\/Principia,Norgg\/Principia,eggrobin\/Principia,Norgg\/Principia,eggrobin\/Principia,Norgg\/Principia,eggrobin\/Principia,mockingbirdnest\/Principia,pleroy\/Principia,mockingbirdnest\/Principia,pleroy\/Principia,Norgg\/Principia,mockingbirdnest\/Principia","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- horizons\/horizons.awk\n+++ horizons\/horizons.awk\n@@ -1,19 +1,21 @@\n-function print_body() {\n-  print \"  body {\"\n-  print \"    name = \" body;\n-  print \"    x    = \" x;\n-  print \"    y    = \" y;\n-  print \"    z    = \" z;\n-  print \"    vx   = \" vx;\n-  print \"    vy   = \" vy;\n-  print \"    vz   = \" vz;\n-  print \"  }\"\n-}\n-\n BEGIN {\n-  print \"principia_initial_state {\"\n+  print \"principia_initial_state {\";\n+  first_pass = true\n }\n \/^Target body name:\/ {\n+  if (first_pass) {\n+    first_pass = false\n+  } else {\n+    print \"  body {\";\n+    print \"    name = \" body;\n+    print \"    x    = \" x \" km\";\n+    print \"    y    = \" y \" km\";\n+    print \"    z    = \" z \" km\";\n+    print \"    vx   = \" vx \" km\/s\";\n+    print \"    vy   = \" vy \" km\/s\";\n+    print \"    vz   = \" vz \"km\/s\";\n+    print \"  }\"\n+  }\n   body = $0;\n   sub(\/ \\(.*\/, \"\", body);\n   sub(\/.*: \/, \"\", body)\n@@ -26,10 +28,8 @@\n \/^ *VX=\/ {\n   vx = $2;\n   vy = $4;\n-  vz = $6;\n-  print_body()\n+  vz = $6\n }\n END {\n-  print_body();\n   print \"}\"\n }\n"}
{"commit":"2a5313a9a777093a55602479e95b39de9f2a4dfc","subject":"Languages: add Tibetan script","message":"Languages: add Tibetan script\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1441,6 +1441,7 @@\n     case \"Taml\": return \"Tamil\"\n     case \"Telu\": return \"Telugu\"\n     case \"Thai\": return \"Thai\"\n+    case \"Tibt\": return \"Tibetan\"\n     default: return \"Unknown\"\n     }\n }\n"}
{"commit":"fbd0c43605cdaf76fe1c614fad0fff74eb048d0f","subject":"LanguageData: update section M","message":"LanguageData: update section M\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1481,9 +1481,7 @@\n     Locale[\"lb\"][\"spoken-in\"]          = \"Luxembourg\"\n     Locale[\"lb\"][\"supported-by\"]       = \"google; yandex\"\n \n-\n-\n-    #58 Macedonian\n+    # Macedonian\n     Locale[\"mk\"][\"name\"]               = \"Macedonian\"\n     Locale[\"mk\"][\"endonym\"]            = \"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438\"\n     Locale[\"mk\"][\"translations-of\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u043d\u0430 %s\"\n@@ -1492,9 +1490,12 @@\n     Locale[\"mk\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n     Locale[\"mk\"][\"see-also\"]           = \"\u0412\u0438\u0434\u0438 \u0438\"\n     Locale[\"mk\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"mk\"][\"branch\"]             = \"South Slavic\"\n     Locale[\"mk\"][\"iso\"]                = \"mkd\"\n     Locale[\"mk\"][\"glotto\"]             = \"mace1250\"\n     Locale[\"mk\"][\"script\"]             = \"Cyrl\"\n+    Locale[\"mk\"][\"spoken-in\"]          = \"North Macedonia; Albania; Bosnia and Herzegovina; Romania; Serbia\"\n+    Locale[\"mk\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n     # Maithili\n     Locale[\"mai\"][\"name\"]              = \"Maithili\"\n@@ -1505,11 +1506,14 @@\n     #Locale[\"mai\"][\"examples\"]\n     #Locale[\"mai\"][\"see-also\"]\n     Locale[\"mai\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"mai\"][\"branch\"]            = \"Indo-Aryan\"\n     Locale[\"mai\"][\"iso\"]               = \"mai\"\n     Locale[\"mai\"][\"glotto\"]            = \"mait1250\"\n     Locale[\"mai\"][\"script\"]            = \"Deva\"\n-\n-    #59 Malagasy (Plateau Malagasy)\n+    Locale[\"mai\"][\"spoken-in\"]         = \"the Mithila region in India and Nepal\"\n+    Locale[\"mai\"][\"supported-by\"]      = \"google\"\n+\n+    # Malagasy (Plateau Malagasy)\n     Locale[\"mg\"][\"name\"]               = \"Malagasy\"\n     Locale[\"mg\"][\"endonym\"]            = \"Malagasy\"\n     Locale[\"mg\"][\"translations-of\"]    = \"Dikan'ny %s\"\n@@ -1518,11 +1522,14 @@\n     Locale[\"mg\"][\"examples\"]           = \"Ohatra\"\n     Locale[\"mg\"][\"see-also\"]           = \"Jereo ihany koa\"\n     Locale[\"mg\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"mg\"][\"branch\"]             = \"Malayo-Polynesian\"\n     Locale[\"mg\"][\"iso\"]                = \"mlg\"\n     Locale[\"mg\"][\"glotto\"]             = \"plat1254\"\n     Locale[\"mg\"][\"script\"]             = \"Latn\"\n-\n-    #60 Malay (Standard Malay)\n+    Locale[\"mg\"][\"spoken-in\"]          = \"Madagascar; the Comoros; Mayotte\"\n+    Locale[\"mg\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Malay (Standard Malay), Latin alphabet\n     Locale[\"ms\"][\"name\"]               = \"Malay\"\n     Locale[\"ms\"][\"endonym\"]            = \"Bahasa Melayu\"\n     Locale[\"ms\"][\"translations-of\"]    = \"Terjemahan %s\"\n@@ -1531,11 +1538,14 @@\n     Locale[\"ms\"][\"examples\"]           = \"Contoh\"\n     Locale[\"ms\"][\"see-also\"]           = \"Lihat juga\"\n     Locale[\"ms\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"ms\"][\"branch\"]             = \"Malayo-Polynesian\"\n     Locale[\"ms\"][\"iso\"]                = \"msa\"\n     Locale[\"ms\"][\"glotto\"]             = \"stan1306\"\n     Locale[\"ms\"][\"script\"]             = \"Latn\"\n-\n-    #61 Malayalam\n+    Locale[\"ms\"][\"spoken-in\"]          = \"Malaysia; Singapore; Indonesia; Brunei; East Timor\"\n+    Locale[\"ms\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Malayalam\n     Locale[\"ml\"][\"name\"]               = \"Malayalam\"\n     Locale[\"ml\"][\"endonym\"]            = \"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02\"\n     Locale[\"ml\"][\"translations-of\"]    = \"%s \u0d0e\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d35\u0d3f\u0d35\u0d7c\u0d24\u0d4d\u0d24\u0d28\u0d19\u0d4d\u0d19\u0d7e\"\n@@ -1544,11 +1554,14 @@\n     Locale[\"ml\"][\"examples\"]           = \"\u0d09\u0d26\u0d3e\u0d39\u0d30\u0d23\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d\"\n     Locale[\"ml\"][\"see-also\"]           = \"\u0d07\u0d24\u0d41\u0d02 \u0d15\u0d3e\u0d23\u0d41\u0d15\"\n     Locale[\"ml\"][\"family\"]             = \"Dravidian\"\n+    Locale[\"ml\"][\"branch\"]             = \"South Dravidian\"\n     Locale[\"ml\"][\"iso\"]                = \"mal\"\n     Locale[\"ml\"][\"glotto\"]             = \"mala1464\"\n     Locale[\"ml\"][\"script\"]             = \"Mlym\"\n-\n-    #62 Maltese\n+    Locale[\"ml\"][\"spoken-in\"]          = \"Kerala, Lakshadweep and Puducherry in India\"\n+    Locale[\"ml\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Maltese\n     Locale[\"mt\"][\"name\"]               = \"Maltese\"\n     Locale[\"mt\"][\"endonym\"]            = \"Malti\"\n     Locale[\"mt\"][\"translations-of\"]    = \"Traduzzjonijiet ta' %s\"\n@@ -1557,11 +1570,14 @@\n     Locale[\"mt\"][\"examples\"]           = \"E\u017cempji\"\n     Locale[\"mt\"][\"see-also\"]           = \"Ara wkoll\"\n     Locale[\"mt\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"mt\"][\"branch\"]             = \"Semitic\"\n     Locale[\"mt\"][\"iso\"]                = \"mlt\"\n     Locale[\"mt\"][\"glotto\"]             = \"malt1254\"\n     Locale[\"mt\"][\"script\"]             = \"Latn\"\n-\n-    #63 Maori\n+    Locale[\"mt\"][\"spoken-in\"]          = \"Malta\"\n+    Locale[\"mt\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Maori\n     Locale[\"mi\"][\"name\"]               = \"Maori\"\n     Locale[\"mi\"][\"endonym\"]            = \"M\u0101ori\"\n     Locale[\"mi\"][\"translations-of\"]    = \"Ng\u0101 whakam\u0101oritanga o %s\"\n@@ -1570,11 +1586,14 @@\n     Locale[\"mi\"][\"examples\"]           = \"Ng\u0101 Tauira:\"\n     Locale[\"mi\"][\"see-also\"]           = \"Tiro hoki:\"\n     Locale[\"mi\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"mi\"][\"branch\"]             = \"Malayo-Polynesian\"\n     Locale[\"mi\"][\"iso\"]                = \"mri\"\n     Locale[\"mi\"][\"glotto\"]             = \"maor1246\"\n     Locale[\"mi\"][\"script\"]             = \"Latn\"\n-\n-    #64 Marathi\n+    Locale[\"mi\"][\"spoken-in\"]          = \"New Zealand\"\n+    Locale[\"mi\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Marathi\n     Locale[\"mr\"][\"name\"]               = \"Marathi\"\n     Locale[\"mr\"][\"endonym\"]            = \"\u092e\u0930\u093e\u0920\u0940\"\n     Locale[\"mr\"][\"translations-of\"]    = \"%s \u091a\u0940 \u092d\u093e\u0937\u093e\u0902\u0924\u0930\u0947\"\n@@ -1583,9 +1602,28 @@\n     Locale[\"mr\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\u0947\"\n     Locale[\"mr\"][\"see-also\"]           = \"\u0939\u0947 \u0926\u0947\u0916\u0940\u0932 \u092a\u0939\u093e\"\n     Locale[\"mr\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"mr\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"mr\"][\"iso\"]                = \"mar\"\n     Locale[\"mr\"][\"glotto\"]             = \"mara1378\"\n     Locale[\"mr\"][\"script\"]             = \"Deva\"\n+    Locale[\"mr\"][\"spoken-in\"]          = \"the Indian state of Maharashtra\"\n+    Locale[\"mr\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Eastern Mari \/ Meadow Mari\n+    Locale[\"mhr\"][\"name\"]              = \"Eastern Mari\"\n+    Locale[\"mhr\"][\"endonym\"]           = \"\u041e\u043b\u044b\u043a \u043c\u0430\u0440\u0438\u0439\"\n+    #Locale[\"mhr\"][\"translations-of\"]\n+    #Locale[\"mhr\"][\"definitions-of\"]\n+    #Locale[\"mhr\"][\"synonyms\"]\n+    #Locale[\"mhr\"][\"examples\"]\n+    #Locale[\"mhr\"][\"see-also\"]\n+    Locale[\"mhr\"][\"family\"]            = \"Uralic\"\n+    Locale[\"mhr\"][\"branch\"]            = \"Mari\"\n+    Locale[\"mhr\"][\"iso\"]               = \"mhr\"\n+    Locale[\"mhr\"][\"glotto\"]            = \"east2328\"\n+    Locale[\"mhr\"][\"script\"]            = \"Cyrl\"\n+    Locale[\"mhr\"][\"spoken-in\"]         = \"Mari El, Russia\"\n+    Locale[\"mhr\"][\"supported-by\"]      = \"yandex\"\n \n     # Meiteilon \/ Manipuri\n     Locale[\"mni-Mtei\"][\"name\"]         = \"Meiteilon\"\n@@ -1599,9 +1637,12 @@\n     #Locale[\"mni-Mtei\"][\"examples\"]\n     #Locale[\"mni-Mtei\"][\"see-also\"]\n     Locale[\"mni-Mtei\"][\"family\"]       = \"Sino-Tibetan\"\n+    Locale[\"mni-Mtei\"][\"branch\"]       = \"Tibeto-Burman\"\n     Locale[\"mni-Mtei\"][\"iso\"]          = \"mni\"\n     Locale[\"mni-Mtei\"][\"glotto\"]       = \"mani1292\"\n     Locale[\"mni-Mtei\"][\"script\"]       = \"Mtei\"\n+    Locale[\"mni-Mtei\"][\"spoken-in\"]    = \"the northeast India; Bangladesh; Myanmar\"\n+    Locale[\"mni-Mtei\"][\"supported-by\"] = \"google\"\n \n     # Mizo\n     Locale[\"lus\"][\"name\"]              = \"Mizo\"\n@@ -1612,11 +1653,14 @@\n     #Locale[\"lus\"][\"examples\"]\n     #Locale[\"lus\"][\"see-also\"]\n     Locale[\"lus\"][\"family\"]            = \"Sino-Tibetan\"\n+    Locale[\"lus\"][\"branch\"]            = \"Tibeto-Burman\"\n     Locale[\"lus\"][\"iso\"]               = \"lus\"\n     Locale[\"lus\"][\"glotto\"]            = \"lush1249\"\n     Locale[\"lus\"][\"script\"]            = \"Latn\"\n-\n-    #65 Mongolian, Cyrillic alphabet\n+    Locale[\"lus\"][\"spoken-in\"]         = \"the Indian state of Mizoram\"\n+    Locale[\"lus\"][\"supported-by\"]      = \"google\"\n+\n+    # Mongolian, Cyrillic alphabet\n     Locale[\"mn\"][\"name\"]               = \"Mongolian\"\n     Locale[\"mn\"][\"endonym\"]            = \"\u041c\u043e\u043d\u0433\u043e\u043b\"\n     Locale[\"mn\"][\"translations-of\"]    = \"%s-\u043d \u043e\u0440\u0447\u0443\u0443\u043b\u0433\u0430\"\n@@ -1625,11 +1669,30 @@\n     Locale[\"mn\"][\"examples\"]           = \"\u0416\u0438\u0448\u044d\u044d\u043d\u04af\u04af\u0434\"\n     Locale[\"mn\"][\"see-also\"]           = \"\u041c\u04e9\u043d \u0445\u0430\u0440\u0430\u0445\"\n     Locale[\"mn\"][\"family\"]             = \"Mongolic\"\n+    #Locale[\"mn\"][\"branch\"]\n     Locale[\"mn\"][\"iso\"]                = \"mon\"\n     Locale[\"mn\"][\"glotto\"]             = \"mong1331\"\n     Locale[\"mn\"][\"script\"]             = \"Cyrl\"\n-\n-    #66 Myanmar \/ Burmese\n+    Locale[\"mn\"][\"spoken-in\"]          = \"Mongolia; Inner Mongolia in China\"\n+    Locale[\"mn\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Mongolian, traditional Mongolian alphabet\n+    Locale[\"mn-Mong\"][\"name\"]          = \"Mongolian (Traditional)\"\n+    Locale[\"mn-Mong\"][\"endonym\"]       = \"\u182e\u1823\u1829\u182d\u1823\u182f\"\n+    #Locale[\"mn-Mong\"][\"translations-of\"]\n+    #Locale[\"mn-Mong\"][\"definitions-of\"]\n+    #Locale[\"mn-Mong\"][\"synonyms\"]\n+    #Locale[\"mn-Mong\"][\"examples\"]\n+    #Locale[\"mn-Mong\"][\"see-also\"]\n+    Locale[\"mn-Mong\"][\"family\"]        = \"Mongolic\"\n+    #Locale[\"mn-Mong\"][\"branch\"]\n+    Locale[\"mn-Mong\"][\"iso\"]           = \"mon-Mong\"\n+    Locale[\"mn-Mong\"][\"glotto\"]        = \"mong1331\"\n+    Locale[\"mn-Mong\"][\"script\"]        = \"Mong\"\n+    Locale[\"mn-Mong\"][\"spoken-in\"]     = \"Mongolia; Inner Mongolia in China\"\n+    Locale[\"mn-Mong\"][\"supported-by\"]  = \"bing\"\n+\n+    # Myanmar \/ Burmese\n     Locale[\"my\"][\"name\"]               = \"Myanmar\"\n     Locale[\"my\"][\"name2\"]              = \"Burmese\"\n     Locale[\"my\"][\"endonym\"]            = \"\u1019\u103c\u1014\u103a\u1019\u102c\u1005\u102c\"\n@@ -1639,9 +1702,14 @@\n     Locale[\"my\"][\"examples\"]           = \"\u1025\u1015\u1019\u102c\"\n     Locale[\"my\"][\"see-also\"]           = \"\u1016\u1031\u102c\u103a\u1015\u103c\u1015\u102b\u1019\u103b\u102c\u1038\u1000\u102d\u102f\u101c\u1032 \u1000\u103c\u100a\u103a\u1037\u1015\u102b\"\n     Locale[\"my\"][\"family\"]             = \"Sino-Tibetan\"\n+    Locale[\"my\"][\"branch\"]             = \"Tibeto-Burman\"\n     Locale[\"my\"][\"iso\"]                = \"mya\"\n     Locale[\"my\"][\"glotto\"]             = \"nucl1310\"\n     Locale[\"my\"][\"script\"]             = \"Mymr\"\n+    Locale[\"my\"][\"spoken-in\"]          = \"Myanmar\"\n+    Locale[\"my\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #67 Nepali\n     Locale[\"ne\"][\"name\"]               = \"Nepali\"\n@@ -2377,20 +2445,6 @@\n     Locale[\"br\"][\"iso\"]                = \"bre\"\n     Locale[\"br\"][\"glotto\"]             = \"bret1244\"\n     Locale[\"br\"][\"script\"]             = \"Latn\"\n-\n-    #? Eastern Mari\n-    Locale[\"mhr\"][\"support\"]           = \"yandex-only\"\n-    Locale[\"mhr\"][\"name\"]              = \"Eastern Mari\"\n-    Locale[\"mhr\"][\"endonym\"]           = \"\u041e\u043b\u044b\u043a \u043c\u0430\u0440\u0438\u0439\"\n-    #Locale[\"mhr\"][\"translations-of\"]\n-    #Locale[\"mhr\"][\"definitions-of\"]\n-    #Locale[\"mhr\"][\"synonyms\"]\n-    #Locale[\"mhr\"][\"examples\"]\n-    #Locale[\"mhr\"][\"see-also\"]\n-    Locale[\"mhr\"][\"family\"]            = \"Uralic\"\n-    Locale[\"mhr\"][\"iso\"]               = \"mhr\"\n-    Locale[\"mhr\"][\"glotto\"]            = \"east2328\"\n-    Locale[\"mhr\"][\"script\"]            = \"Cyrl\"\n \n     #? Occitan\n     Locale[\"oc\"][\"support\"]            = \"unstable\"\n@@ -2530,6 +2584,7 @@\n     LocaleAlias[\"ji\"] = \"yi\" # withdrawn language code for Yiddish\n     LocaleAlias[\"jw\"] = \"jv\" # withdrawn language code for Javanese\n     LocaleAlias[\"kurdish\"] = \"ku\" # Kurdish: default to \"ku\" (N.B. Google uses this code for Kurmanji)\n+    LocaleAlias[\"mari\"] = \"mhr\" # Mari: default to \"mhr\" (Eastern Mari)\n     LocaleAlias[\"mo\"] = \"ro\" # Moldavian or Moldovan considered a variant of the Romanian language\n     LocaleAlias[\"mww\"] = \"hmn\" # mww (Hmong Daw) treated the same as hmn (the inclusive code for Hmong)\n     LocaleAlias[\"nb\"] = \"no\" # Google Translate does not distinguish between Bokm\u00e5l and Nynorsk (but Bing does!)\n"}
{"commit":"e2997d1c473863f87b0ebd5e44580921a5264754","subject":"add fileTranslation() for inline mode with relevant URI scheme (file)","message":"add fileTranslation() for inline mode with relevant URI scheme (file)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -231,6 +231,21 @@\n     return r\n }\n \n+# Translate a file.\n+function fileTranslation(uri,    group, temp1, temp2) {\n+    temp1 = Option[\"input\"]\n+    temp2 = Option[\"verbose\"]\n+\n+    match(uri, \/^file:\\\/\\\/(.*)\/, group)\n+    Option[\"input\"] = group[1]\n+    Option[\"verbose\"] = 0\n+\n+    translateMain()\n+\n+    Option[\"input\"] = temp1\n+    Option[\"verbose\"] = temp2\n+}\n+\n # Start a browser session and translate a web page.\n function webTranslation(uri, sl, tl, hl) {\n     system(Option[\"browser\"] \" \" parameterize(\"https:\/\/translate.google.com\/translate?\" \\\n@@ -270,8 +285,11 @@\n                 print replicate(\"\u2500\", Option[\"width\"])\n \n         if (inline &&\n-            startsWithAny(text, UriSchemes) == \"http\" ||\n-            startsWithAny(text, UriSchemes) == \"https\") {\n+            startsWithAny(text, UriSchemes) == \"file\") {\n+            fileTranslation(text)\n+        } else if (inline &&\n+                   startsWithAny(text, UriSchemes) == \"http\" ||\n+                   startsWithAny(text, UriSchemes) == \"https\") {\n             webTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"])\n         } else {\n             print getTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"], Option[\"verbose\"], Option[\"play\"], playlist) > Option[\"output\"]\n"}
{"commit":"851f5e27be8f3c6994331469b623ce670b600a7b","subject":"wordMode & dictMode: adjust empty lines","message":"wordMode & dictMode: adjust empty lines\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -199,19 +199,20 @@\n     } else {\n         # Verbose mode\n \n-        if (isarray(wordClasses) && anything(wordClasses))\n+        if (isarray(wordClasses))\n             wordMode = 1\n-        if (il == tl)\n+        if (il == tl && isarray(oWordClasses))\n             wordMode = dictMode = 1\n \n         if (wordMode) {\n             r = AnsiCode[\"bold\"] show(join(original), il) AnsiCode[\"no bold\"]\n             if (anything(oPhonetics))\n                 r = r \"\\n\" AnsiCode[\"bold\"] \"\/\" join(oPhonetics) \"\/\" AnsiCode[\"no bold\"]\n-            r = r \"\\n\"\n         }\n         if (dictMode) {\n             # Dictionary mode\n+            r = r \"\\n\"\n+\n             if (isarray(oWordClasses) && anything(oWordClasses)) {\n                 for (i = 0; i < length(oWordClasses); i++) {\n                     r = r \"\\n\" AnsiCode[\"negative\"] AnsiCode[\"bold\"]    \\\n@@ -271,11 +272,11 @@\n             r = r AnsiCode[\"bold\"] s(translation, tl) AnsiCode[\"no bold\"] # target language\n             if (anything(phonetics))\n                 r = r \"\\n\" AnsiCode[\"bold\"] \"\/\" join(phonetics) \"\/\" AnsiCode[\"no bold\"] # phonetic transcription\n-            r = r \"\\n\"\n         }\n \n         if (isarray(altTranslations[0]) && anything(altTranslations[0])) {\n             # List alternative translations\n+            r = r \"\\n\"\n \n             if (Locale[getCode(hl)][\"rtl\"] || Locale[getCode(il)][\"rtl\"])\n                 r = r \"\\n\" s(sprintf(Locale[getCode(hl)][\"message\"], \"\\\"\" join(original) \"\\\"\")) \":\" # caution: mixed languages, BiDi invoked must be implemented correctly (i.e. FriBidi is required)\n"}
{"commit":"4a4639327b366a459ba5d9633e764f64e879f967","subject":"Delete loawson2osm.awk","message":"Delete loawson2osm.awk","repos":"osmfj\/lawson2osm","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- loawson2osm.awk\n+++ loawson2osm.awk\n@@ -1 +0,0 @@\n-# test\n"}
{"commit":"21028ae3ebb0fdeaf8a608872ff3d79ecaa5ead5","subject":"build.awk: do not export TRANS_ABSPATH","message":"build.awk: do not export TRANS_ABSPATH\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -168,8 +168,6 @@\n                 print \"export TRANS_BUILD=git:\" temp > Trans\n         }\n \n-        print \"export TRANS_ABSPATH=$(cd \\\"$(dirname \\\"$0\\\")\\\" && pwd)\/$(basename \\\"$0\\\")\" > Trans\n-\n         print \"export COLUMNS=$(tput cols)\" > Trans\n \n         print \"gawk -f <(echo -E \\\"$TRANS_PROGRAM\\\") - \\\"$@\\\"\" > Trans\n"}
{"commit":"cfd49333e7ebb70fb8fc47299e51ef14e6605693","subject":"Start refactoring","message":"Start refactoring\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxFrom-scrapy_xml.awk\n+++ getBritBoxFrom-scrapy_xml.awk\n@@ -2,33 +2,34 @@\n     FS=\"[<>]\"\n }\n \n+# Eliminate unneeded constant fields\n \/^<item>\/ {\n     sub (\/^<item>\/,\"\")\n     sub (\/<\\\/item>$\/,\"\")\n+    gsub (\/<value>\/,\"\")\n+    gsub (\/<\\\/value>\/,\"\")\n }\n \n-\/<value>\/ {\n-    gsub (\/<value>\/,\"\")\n-    gsub (\/<\\\/value>\/,\"\")\n+\/\\\/us\\\/\/ {\n+    URL = $3\n+    showTitle = $7\n+    subtitle = $11\n+\n+    # Titles starting with \"The\" should not sort based on \"The\"\n+    if (match (showTitle, \/^The \/)) {\n+        showTitle = substr(showTitle, 5) \", The\"\n+    }\n }\n \n # <URL>\/us\/episode\/Vera_S3_E1_13502<\/URL><Title>Vera<\/Title><Subtitle>Season 3, Castles in The Air<\/Subtitle>\\\n # <Duration>88 min<\/Duration><Year>2013<\/Year><Rating>TV-MA<\/Rating>\n \/\\\/us\\\/episode\\\/\/ {\n-    episodeURL = $3\n-    seriesTitle = $7\n-    episodeTitle = $11\n     episodeDuration = $15\n     episodeYear = $19\n     episodeRating = $23\n     episodeDescription = $27\n \n-    # Titles starting with \"The\" should not sort based on \"The\"\n-    if (match (seriesTitle, \/^The \/)) {\n-        seriesTitle = substr(seriesTitle, 5) \", The\"\n-    }\n-\n-    nfields = split (episodeURL,fld,\"_\")\n+    nfields = split (URL,fld,\"_\")\n     seasonNumber = fld[nfields - 2]\n     sub (\/S\/,\"\",seasonNumber)\n     episodeNumber = fld[nfields - 1]\n@@ -36,37 +37,30 @@\n \n     # Get rid of perfunctory \"Season <n>, \" from episode title\n     episodePrefix = \"Season \" seasonNumber \", \"\n-    sub (episodePrefix, \"\", episodeTitle)\n+    sub (episodePrefix, \"\", subtitle)\n \n     if (episodeNumber != \"\") {\n         printf \\\n             (\"%s S%02dE%02d\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, S%02dE%02d, %s\\\"\\)\\t\\t%s\\t%s\\t%s\\t%s\\n\", \\\n-             seriesTitle, seasonNumber, episodeNumber, episodeURL, seriesTitle, seasonNumber, episodeNumber, \\\n-             episodeTitle, episodeDuration, episodeYear, episodeRating, episodeDescription)\n+             showTitle, seasonNumber, episodeNumber, URL, showTitle, seasonNumber, episodeNumber, \\\n+             subtitle, episodeDuration, episodeYear, episodeRating, episodeDescription)\n     }\n }\n \n # <URL>\/us\/season\/Vera_S8_15720<\/URL><Title>Vera<\/Title><SeasonNumber>8<\/SeasonNumber>\\\n # <Year>2018<\/Year><NumEpisodes>4<\/NumEpisodes>\n \/\\\/us\\\/season\\\/\/ {\n-    seasonURL = $3\n-    seriesTitle = $7\n-    seasonTitle = $11\n     seasonYear = $15\n     seasonEpisodes = $19\n \n-    if (match (seriesTitle, \/^The \/)) {\n-        seriesTitle = substr(seriesTitle, 5) \", The\"\n-    }\n-\n-    nfields = split (seasonURL,fld,\"_\")\n+    nfields = split (URL,fld,\"_\")\n     seasonNumber = fld[nfields - 1]\n     sub (\/S\/,\"\",seasonNumber)\n \n     if (seasonNumber != \"\") {\n         printf \\\n             (\"%s S%02d\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, Season %d\\\"\\)\\t%s\\t\\t%s\\t%s\\t%s\\n\", \\\n-             seriesTitle, seasonNumber, seasonURL, seriesTitle, seasonNumber, \\\n+             showTitle, seasonNumber, URL, showTitle, seasonNumber, \\\n              seasonEpisodes, seasonYear, seasonRating, seasonDescription)\n     }\n }\n"}
{"commit":"05dbd6f8136d4bc033364ed4c33734d5f2f5a643","subject":"avoid pointless output; cleanup & comments","message":"avoid pointless output; cleanup & comments\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/distill_dot.awk\n+++ scripts\/distill_dot.awk\n@@ -1,22 +1,17 @@\n #! \/usr\/bin\/gawk -f\n # distill_dot.awk <numbered.gv>  > <filtered_weighted.gv>\n-# \n \n # I have dot files with edge lables that terminate with a number in parens `(nnn)`.\n # the numbers may be simple counts (n > 0) or may be differences [nil neg zero pos ]\n #\n-# I'm initally intrested in the case where the numbers are a difference \n+# I'm initally intrested in the case where the numbers are a difference\n # and will filter out small differences and colorize\/weight larger changes.\n-#\n-# To normalize, will need to read through first then output\n \n BEGIN {hi = -2^PREC; lo = 2^PREC; THRESHOLD = 10}\n \n-# there is an unfortunate case where the label contains parens e.g.\n+# there is an unfortunate case where the term label contains parens e.g.\n # ZFIN -> LITERAL [label=<dc:title ! title (dce) (30783)>];\n-\n # AspGD -> GO [label=<RO:0002331 ! involved in (-12)>, color=\"pink\"];\n-\n \n \/.*label=<.*\\(-?[0-9]+\\).*;$\/{\n \n@@ -39,30 +34,41 @@\n }\n \n # not processed\n-!\/.*label=<.*\\(-?[0-9]+\\).*;$\/ {\n+!\/.*label=<.*\\(-?[0-9]+\\).*;$\/{\n     pass_on[pss++] = $0\n }\n \n END {\n-    SCALE =  (hi > -lo)? hi: -lo\n-    # Threshold could extended as a fraction of scale ...\n-    THRESHOLD =  SCALE \/ 200\n+    SCALE = (hi > -lo)? hi: -lo\n+    # Threshold can be extended as a fraction of scale\n+    # say... differences less than half a percent of the churn are supressed\n+    SLIDINGSCALE =  SCALE \/ 200\n \n-#    if (SCALE < 1){\n-#       print \"ERROR not to scale: \" SCALE\n-#        SCALE = 1\n-#    }\n+    if (SCALE < 1){\n+        # print \"ERROR not to scale: \" SCALE\n+        SCALE = 1\n+    }\n \n+    # precheck if there is any content before printing boilerplate\n+    content = 0\n+    for(key in value)   {\n+        val = value[key]\n+        aval = (val < 0.0) ? -val : val\n+        if(aval >= SLIDINGSCALE)\n+            content ++\n+    }\n \n-    for(i = 0; i < pss; i++)  # not the last line\n-        if( (pass_on[i]!=\"\") && (pass_on[i]!=\"}\")) print pass_on[i]\n+    for(i = 0; i < pss; i++)\n+        if( (pass_on[i]!=\"\") && (pass_on[i]!=\"}\") && content > 0)\n+            print pass_on[i]\n \n     for(key in value)   {\n         val = value[key]\n         aval = (val < 0.0) ? -val : val\n-        if(aval >= THRESHOLD)\n+        if(aval >= SLIDINGSCALE)\n             print key \">, penwidth = \\\"\"(aval\/SCALE*5)\"\\\", weight = \\\"\" aval \"\\\"\" sufix[key]\n     }\n \n-    print \"}\"\n+    if(content > 0)\n+        print \"}\"\n }\n"}
{"commit":"a5b0511f225e9295adfe3ca01c3971e3415e4215","subject":"New version.","message":"New version.\n","repos":"sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- CASED.awk\n+++ CASED.awk\n@@ -45,8 +45,8 @@\n   tohex[\"e\"] = 15;\n   tohex[\"f\"] = 16;\n \n-  FILE = 1;\n-  FS = \";\";\n+  FILE = \"UnicodeData.txt\";\n+  FS = \"[ \\t]*[;#][ \\t]*\";\n }\n \n function decode_hex(str, idx) {\n@@ -54,7 +54,7 @@\n   len = length(str);\n   for (i = idx; i <= len; i++)\n     {\n-      c = tohex[substr (str, i, 1)];\n+      c = tohex[substr(str, i, 1)];\n       if (c == 0)\n \tbreak;\n       n = n * 16 + c - 1;\n@@ -62,46 +62,56 @@\n   return n;\n }\n \n-function single (str, bit) {\n+function single(str, bit) {\n   i = decode_hex(str, 1);\n   if (cased[i] != bit)\n     cased[i] += bit;\n }\n \n-function range (str, bit) {\n-  end = decode_hex(str, index (str, \"..\") + 2);\n+function range(str, bit) {\n+  end = decode_hex(str, index(str, \"..\") + 2);\n   for (i = decode_hex(str, 1); i <= end; i++)\n     if (cased[i] != bit)\n       cased[i] += bit;\n }\n \n-FILE == 1 && \/^[^#]\/ {\n-  if ($3 ~ \/L[ltu]\/)\n-    single($1, 1);\n-  else if ($3 ~ \/Mn|Me|Cf|Lm|Sk\/)\n-    range($1, 2);\n+\/^[^\\#]\/ {\n+\n+  if (FILE == \"UnicodeData.txt\") {\n+    if ($3 ~ \/L[ltu]\/)\n+      single($1, 1);\n+    else if ($3 ~ \/Mn|Me|Cf|Lm|Sk\/)\n+      single($1, 2);\n+    next;\n+  }\n+\n+  else if (FILE == \"PropList.txt\") {\n+    if ($2 ~ \/Other_(Upp|Low)ercase\/) {\n+      if (index($1, \".\"))\n+\trange($1, 1);\n+      else\n+\tsingle($1, 1);\n+      next;\n+    }\n+  }\n+\n+  else {\t\t\t# FILE == \"WordBreakProperty.txt\"\n+    if ($2 == \"MidLetter\") {\n+      if (index($1, \".\"))\n+\trange($1, 2);\n+      else\n+\tsingle($1, 2);\n+      next;\n+    }\n+  }\n }\n \n-\/^# PropList-.+\\.txt\/ {\n-  FILE = 2;\n+\/^\\# PropList-.+\\.txt\/ {\n+  FILE = \"PropList.txt\";\n }\n \n-FILE == 2 && \/^[^#;]+; *Other_(Upp|Low)ercase\/ {\n-  if (index ($1, \".\"))\n-    range($1, 1);\n-  else\n-    single($1, 1);\n-}\n-\n-\/^# WordBreakProperty-.+\\.txt\/ {\n-  FILE = 3;\n-}\n-\n-FILE == 3 && \/^[^#;]+; *MidLetter\/ {\n-  if (index ($1, \".\"))\n-    range($1, 2);\n-  else\n-    single($1, 2);\n+\/^\\# WordBreakProperty-.+\\.txt\/ {\n+  FILE = \"WordBreakProperty.txt\";\n }\n \n END {\n"}
{"commit":"495c4fb0b9db835781ddfdee69b690ea9d8d07c1","subject":"Remove _ from the list of allowed label characters","message":"Remove _ from the list of allowed label characters\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doxy\/githublabels.awk\n+++ doxy\/githublabels.awk\n@@ -44,8 +44,8 @@\n #\n line && (\/^===*$\/ || \/^---*$\/) {\n \tid = tolower(line)\n-\tgsub(\/[^- \\t_a-z0-9]\/, \"\", id) # remove undesired characters\n-\tgsub(\/[ \\t]\/, \"-\", id)         # replace white space with _\n+\tgsub(\/[^- \\ta-z0-9]\/, \"\", id)  # remove undesired characters\n+\tgsub(\/[ \\t]\/, \"-\", id)         # replace white space with -\n \tline = line \" {#\" prefix id \"}\"\n }\n \n"}
{"commit":"3f8ee549fc267a917fe88d61cc875b624f1d94d5","subject":"build.awk: add empty target temp","message":"build.awk: add empty target temp\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -243,6 +243,10 @@\n     return 0\n }\n \n+function temp() {\n+    return 0\n+}\n+\n BEGIN {\n     init()\n \n@@ -308,6 +312,10 @@\n \n         case \"release\":\n             status = release()\n+            break\n+\n+        case \"temp\":\n+            status = temp()\n             break\n \n         default: # unknown task\n"}
{"commit":"be195d19674fa2658d868b2b57b1b376800fdc2e","subject":"Oops.","message":"Oops.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/onewire\/devlist2h.awk\n+++ dev\/onewire\/devlist2h.awk\n@@ -1,4 +1,4 @@\n-# $OpenBSD: devlist2h.awk,v 1.2 2006\/03\/04 16:32:40 grange Exp $\n+# $OpenBSD: devlist2h.awk,v 1.3 2006\/03\/10 14:36:32 grange Exp $\n \n #\n # Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>\n@@ -32,7 +32,7 @@\n \t       \"\/*\\n * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\" \\\n \t       \" *\\n * Generated from:\\n *\\t%s\\n *\/\\n\\n\", VERSION) > dfile\n \tprintf(\"static const struct onewire_family \" \\\n-\t       \"onewire_familytab[] = {\\n\") > dfile\n+\t       \"onewire_famtab[] = {\\n\") > dfile\n }\n \n $1 == \"family\" {\n"}
{"commit":"96a3317e2bb72476edd7df69b1164decab6b1572","subject":"Languages: add Fijian language","message":"Languages: add Fijian language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -104,6 +104,19 @@\n     Locale[\"fo\"][\"iso\"]                = \"fao\"\n     Locale[\"fo\"][\"glotto\"]             = \"faro1244\"\n     Locale[\"fo\"][\"script\"]             = \"Latn\"\n+\n+    #? Fijian\n+    Locale[\"fj\"][\"name\"]               = \"Fijian\"\n+    Locale[\"fj\"][\"endonym\"]            = \"Vosa Vakaviti\"\n+    #Locale[\"fj\"][\"translations-of\"]\n+    #Locale[\"fj\"][\"definitions-of\"]\n+    #Locale[\"fj\"][\"synonyms\"]\n+    #Locale[\"fj\"][\"examples\"]\n+    #Locale[\"fj\"][\"see-also\"]\n+    Locale[\"fj\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"fj\"][\"iso\"]                = \"fij\"\n+    Locale[\"fj\"][\"glotto\"]             = \"fiji1243\"\n+    Locale[\"fj\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"f5941c2bbd8f28ee0f822ca15921df25b1233fe6","subject":"Languages: add scriptName(code); update getDetails(code)","message":"Languages: add scriptName(code); update getDetails(code)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -40,7 +40,7 @@\n     Locale[\"sq\"][\"glotto\"]             = \"alba1267\"\n     Locale[\"sq\"][\"script\"]             = \"Latn\"\n \n-    #3 Arabic\n+    #3 Arabic (Standard Arabic)\n     Locale[\"ar\"][\"name\"]               = \"Arabic\"\n     Locale[\"ar\"][\"endonym\"]            = \"\u0627\u0644\u0639\u0631\u0628\u064a\u0629\"\n     Locale[\"ar\"][\"translations-of\"]    = \"\u062a\u0631\u062c\u0645\u0627\u062a %s\"\n@@ -50,11 +50,11 @@\n     Locale[\"ar\"][\"see-also\"]           = \"\u0627\u0646\u0638\u0631 \u0623\u064a\u0636\u064b\u0627\"\n     Locale[\"ar\"][\"family\"]             = \"Afro-Asiatic\"\n     Locale[\"ar\"][\"iso\"]                = \"ara\"\n-    Locale[\"ar\"][\"glotto\"]             = \"arab1395\"\n+    Locale[\"ar\"][\"glotto\"]             = \"stan1318\"\n     Locale[\"ar\"][\"script\"]             = \"Arab\"\n     Locale[\"ar\"][\"rtl\"]                = \"true\" # RTL language\n \n-    #4 Armenian\n+    #4 Armenian (Modern Armenian)\n     Locale[\"hy\"][\"name\"]               = \"Armenian\"\n     Locale[\"hy\"][\"endonym\"]            = \"\u0540\u0561\u0575\u0565\u0580\u0565\u0576\"\n     Locale[\"hy\"][\"translations-of\"]    = \"%s-\u056b \u0569\u0561\u0580\u0563\u0574\u0561\u0576\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0576\u0565\u0580\u0568\"\n@@ -64,10 +64,10 @@\n     Locale[\"hy\"][\"see-also\"]           = \"\u054f\u0565\u057d \u0576\u0561\u0587\"\n     Locale[\"hy\"][\"family\"]             = \"Indo-European\"\n     Locale[\"hy\"][\"iso\"]                = \"hye\"\n-    Locale[\"hy\"][\"glotto\"]             = \"arme1241\"\n+    Locale[\"hy\"][\"glotto\"]             = \"nucl1235\"\n     Locale[\"hy\"][\"script\"]             = \"Armn\"\n \n-    #5 Azerbaijani\n+    #5 Azerbaijani (North Azerbaijani)\n     Locale[\"az\"][\"name\"]               = \"Azerbaijani\"\n     Locale[\"az\"][\"endonym\"]            = \"Az\u0259rbaycanca\"\n     Locale[\"az\"][\"translations-of\"]    = \"%s s\u00f6z\u00fcn\u00fcn t\u0259rc\u00fcm\u0259si\"\n@@ -77,7 +77,7 @@\n     Locale[\"az\"][\"see-also\"]           = \"H\u0259m\u00e7inin, bax\u0131n:\"\n     Locale[\"az\"][\"family\"]             = \"Turkic\"\n     Locale[\"az\"][\"iso\"]                = \"aze\"\n-    Locale[\"az\"][\"glotto\"]             = \"azer1255\"\n+    Locale[\"az\"][\"glotto\"]             = \"nort2697\"\n     Locale[\"az\"][\"script\"]             = \"Latn\"\n \n     #6 Basque\n@@ -88,7 +88,7 @@\n     Locale[\"eu\"][\"synonyms\"]           = \"Sinonimoak\"\n     Locale[\"eu\"][\"examples\"]           = \"Adibideak\"\n     Locale[\"eu\"][\"see-also\"]           = \"Ikusi hauek ere\"\n-    #Locale[\"eu\"][\"family\"]\n+    Locale[\"eu\"][\"family\"]             = \"Language Isolate\"\n     Locale[\"eu\"][\"iso\"]                = \"eus\"\n     Locale[\"eu\"][\"glotto\"]             = \"basq1248\"\n     Locale[\"eu\"][\"script\"]             = \"Latn\"\n@@ -145,7 +145,7 @@\n     Locale[\"bg\"][\"glotto\"]             = \"bulg1262\"\n     Locale[\"bg\"][\"script\"]             = \"Cyrl\"\n \n-    #11 Catalan\n+    #11 Catalan (Standard Catalan)\n     Locale[\"ca\"][\"name\"]               = \"Catalan\"\n     Locale[\"ca\"][\"endonym\"]            = \"Catal\u00e0\"\n     Locale[\"ca\"][\"translations-of\"]    = \"Traduccions per a %s\"\n@@ -184,7 +184,7 @@\n     Locale[\"ny\"][\"glotto\"]             = \"nyan1308\"\n     Locale[\"ny\"][\"script\"]             = \"Latn\"\n \n-    #14a Chinese (Simplified)\n+    #14a Chinese (Mandarin Chinese), Simplified\n     Locale[\"zh-CN\"][\"name\"]            = \"Chinese Simplified\"\n     Locale[\"zh-CN\"][\"endonym\"]         = \"\u7b80\u4f53\u4e2d\u6587\"\n     Locale[\"zh-CN\"][\"translations-of\"] = \"%s \u7684\u7ffb\u8bd1\"\n@@ -197,7 +197,7 @@\n     Locale[\"zh-CN\"][\"glotto\"]          = \"mand1415\"\n     Locale[\"zh-CN\"][\"script\"]          = \"Hans\"\n \n-    #14b Chinese (Traditional)\n+    #14b Chinese (Mandarin Chinese), Traditional\n     Locale[\"zh-TW\"][\"name\"]            = \"Chinese Traditional\"\n     Locale[\"zh-TW\"][\"endonym\"]         = \"\u6b63\u9ad4\u4e2d\u6587\"\n     Locale[\"zh-TW\"][\"translations-of\"] = \"\u300c%s\u300d\u7684\u7ffb\u8b6f\"\n@@ -262,7 +262,7 @@\n     Locale[\"nl\"][\"glotto\"]             = \"dutc1256\"\n     Locale[\"nl\"][\"script\"]             = \"Latn\"\n \n-    #19 English\n+    #19 English (Standard English)\n     Locale[\"en\"][\"name\"]               = \"English\"\n     Locale[\"en\"][\"endonym\"]            = \"English\"\n     Locale[\"en\"][\"translations-of\"]    = \"Translations of %s\"\n@@ -327,7 +327,7 @@\n     Locale[\"fi\"][\"glotto\"]             = \"finn1318\"\n     Locale[\"fi\"][\"script\"]             = \"Latn\"\n \n-    #24 French\n+    #24 French (Standard French)\n     Locale[\"fr\"][\"name\"]               = \"French\"\n     Locale[\"fr\"][\"endonym\"]            = \"Fran\u00e7ais\"\n     Locale[\"fr\"][\"translations-of\"]    = \"Traductions de %s\"\n@@ -353,7 +353,7 @@\n     Locale[\"gl\"][\"glotto\"]             = \"gali1258\"\n     Locale[\"gl\"][\"script\"]             = \"Latn\"\n \n-    #26 Georgian, Mkhedruli\n+    #26 Georgian (Modern Georgian)\n     Locale[\"ka\"][\"name\"]               = \"Georgian\"\n     Locale[\"ka\"][\"endonym\"]            = \"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8\"\n     Locale[\"ka\"][\"translations-of\"]    = \"%s-\u10d8\u10e1 \u10d7\u10d0\u10e0\u10d2\u10db\u10d0\u10dc\u10d4\u10d1\u10d8\"\n@@ -366,7 +366,7 @@\n     Locale[\"ka\"][\"glotto\"]             = \"nucl1302\"\n     Locale[\"ka\"][\"script\"]             = \"Geor\"\n \n-    #27 German\n+    #27 German (Standard German)\n     Locale[\"de\"][\"name\"]               = \"German\"\n     Locale[\"de\"][\"endonym\"]            = \"Deutsch\"\n     Locale[\"de\"][\"translations-of\"]    = \"\u00dcbersetzungen f\u00fcr %s\"\n@@ -379,7 +379,7 @@\n     Locale[\"de\"][\"glotto\"]             = \"stan1295\"\n     Locale[\"de\"][\"script\"]             = \"Latn\"\n \n-    #28 Greek (Modern)\n+    #28 Greek (Modern Greek)\n     Locale[\"el\"][\"name\"]               = \"Greek\"\n     Locale[\"el\"][\"endonym\"]            = \"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac\"\n     Locale[\"el\"][\"translations-of\"]    = \"\u039c\u03b5\u03c4\u03b1\u03c6\u03c1\u03ac\u03c3\u03b5\u03b9\u03c2 \u03c4\u03bf\u03c5 %s\"\n@@ -418,7 +418,7 @@\n     Locale[\"ht\"][\"glotto\"]             = \"hait1244\"\n     Locale[\"ht\"][\"script\"]             = \"Latn\"\n \n-    #31 Hausa, Latin \/ Boko alphabet\n+    #31 Hausa, Latin alphabet\n     Locale[\"ha\"][\"name\"]               = \"Hausa\"\n     Locale[\"ha\"][\"endonym\"]            = \"Hausa\"\n     Locale[\"ha\"][\"translations-of\"]    = \"Fassarar %s\"\n@@ -431,7 +431,7 @@\n     Locale[\"ha\"][\"glotto\"]             = \"haus1257\"\n     Locale[\"ha\"][\"script\"]             = \"Latn\"\n \n-    #32 Hebrew (Modern)\n+    #32 Hebrew\n     Locale[\"he\"][\"name\"]               = \"Hebrew\"\n     Locale[\"he\"][\"endonym\"]            = \"\u05e2\u05b4\u05d1\u05b0\u05e8\u05b4\u05d9\u05ea\"\n     Locale[\"he\"][\"translations-of\"]    = \"\u05ea\u05e8\u05d2\u05d5\u05de\u05d9\u05dd \u05e9\u05dc %s\"\n@@ -458,7 +458,7 @@\n     Locale[\"hi\"][\"glotto\"]             = \"hind1269\"\n     Locale[\"hi\"][\"script\"]             = \"Deva\"\n \n-    #34 Hmong\n+    #34 Hmong (First Vernacular Hmong)\n     Locale[\"hmn\"][\"name\"]              = \"Hmong\"\n     Locale[\"hmn\"][\"endonym\"]           = \"Hmoob\"\n     Locale[\"hmn\"][\"translations-of\"]   = \"Lus txhais: %s\"\n@@ -507,7 +507,7 @@\n     Locale[\"ig\"][\"see-also\"]           = \"H\u1ee5kwuo\"\n     Locale[\"ig\"][\"family\"]             = \"Atlantic-Congo\"\n     Locale[\"ig\"][\"iso\"]                = \"ibo\"\n-    Locale[\"ig\"][\"glotto\"]             = \"igbo1259\"\n+    Locale[\"ig\"][\"glotto\"]             = \"nucl1417\"\n     Locale[\"ig\"][\"script\"]             = \"Latn\"\n \n     #38 Indonesian\n@@ -559,7 +559,7 @@\n     Locale[\"ja\"][\"see-also\"]           = \"\u95a2\u9023\u9805\u76ee\"\n     Locale[\"ja\"][\"family\"]             = \"Japonic\"\n     Locale[\"ja\"][\"iso\"]                = \"jpn\"\n-    Locale[\"ja\"][\"glotto\"]             = \"japa1256\"\n+    Locale[\"ja\"][\"glotto\"]             = \"nucl1643\"\n     Locale[\"ja\"][\"script\"]             = \"Jpan\"\n \n     #42 Javanese, Latin alphabet\n@@ -575,7 +575,7 @@\n     Locale[\"jv\"][\"glotto\"]             = \"java1254\"\n     Locale[\"jv\"][\"script\"]             = \"Latn\"\n \n-    #43 Kannada\n+    #43 Kannada (Modern Kannada)\n     Locale[\"kn\"][\"name\"]               = \"Kannada\"\n     Locale[\"kn\"][\"endonym\"]            = \"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1\"\n     Locale[\"kn\"][\"translations-of\"]    = \"%s \u0ca8 \u0c85\u0ca8\u0cc1\u0cb5\u0cbe\u0ca6\u0c97\u0cb3\u0cc1\"\n@@ -585,7 +585,7 @@\n     Locale[\"kn\"][\"see-also\"]           = \"\u0c87\u0ca6\u0ca8\u0ccd\u0ca8\u0cc2 \u0c97\u0cae\u0ca8\u0cbf\u0cb8\u0cbf\"\n     Locale[\"kn\"][\"family\"]             = \"Dravidian\"\n     Locale[\"kn\"][\"iso\"]                = \"kan\"\n-    Locale[\"kn\"][\"glotto\"]             = \"kann1255\"\n+    Locale[\"kn\"][\"glotto\"]             = \"nucl1305\"\n     Locale[\"kn\"][\"script\"]             = \"Knda\"\n \n     #44 Kazakh, Cyrillic alphabet\n@@ -644,10 +644,10 @@\n     Locale[\"la\"][\"name\"]               = \"Latin\"\n     Locale[\"la\"][\"endonym\"]            = \"Latina\"\n     Locale[\"la\"][\"translations-of\"]    = \"Versio de %s\"\n-    #Locale[\"la\"][\"definitions-of\"]     = \"\"\n-    #Locale[\"la\"][\"synonyms\"]           = \"\"\n-    #Locale[\"la\"][\"examples\"]           = \"\"\n-    #Locale[\"la\"][\"see-also\"]           = \"\"\n+    #Locale[\"la\"][\"definitions-of\"]\n+    #Locale[\"la\"][\"synonyms\"]\n+    #Locale[\"la\"][\"examples\"]\n+    #Locale[\"la\"][\"see-also\"]\n     Locale[\"la\"][\"family\"]             = \"Indo-European\"\n     Locale[\"la\"][\"iso\"]                = \"lat\"\n     Locale[\"la\"][\"glotto\"]             = \"lati1261\"\n@@ -692,7 +692,7 @@\n     Locale[\"mk\"][\"glotto\"]             = \"mace1250\"\n     Locale[\"mk\"][\"script\"]             = \"Cyrl\"\n \n-    #52 Malagasy (Merina dialect, Plateau Malagasy)\n+    #52 Malagasy (Plateau Malagasy)\n     Locale[\"mg\"][\"name\"]               = \"Malagasy\"\n     Locale[\"mg\"][\"endonym\"]            = \"Malagasy\"\n     Locale[\"mg\"][\"translations-of\"]    = \"Dikan'ny %s\"\n@@ -705,7 +705,7 @@\n     Locale[\"mg\"][\"glotto\"]             = \"plat1254\"\n     Locale[\"mg\"][\"script\"]             = \"Latn\"\n \n-    #53 Malay\n+    #53 Malay (Standard Malay)\n     Locale[\"ms\"][\"name\"]               = \"Malay\"\n     Locale[\"ms\"][\"endonym\"]            = \"Bahasa Melayu\"\n     Locale[\"ms\"][\"translations-of\"]    = \"Terjemahan %s\"\n@@ -822,7 +822,7 @@\n     Locale[\"no\"][\"glotto\"]             = \"norw1258\"\n     Locale[\"no\"][\"script\"]             = \"Latn\"\n \n-    #62 Persian (Farsi)\n+    #62 Persian (Western Farsi)\n     Locale[\"fa\"][\"name\"]               = \"Persian\"\n     Locale[\"fa\"][\"endonym\"]            = \"\u0641\u0627\u0631\u0633\u06cc\"\n     Locale[\"fa\"][\"translations-of\"]    = \"\u062a\u0631\u062c\u0645\u0647\u200c\u0647\u0627\u06cc %s\"\n@@ -832,11 +832,37 @@\n     Locale[\"fa\"][\"see-also\"]           = \"\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647\"\n     Locale[\"fa\"][\"family\"]             = \"Indo-European\"\n     Locale[\"fa\"][\"iso\"]                = \"fas\"\n-    #Locale[\"fa\"][\"glotto\"]\n+    Locale[\"fa\"][\"glotto\"]             = \"west2369\"\n     Locale[\"fa\"][\"script\"]             = \"Arab\"\n     Locale[\"fa\"][\"rtl\"]                = \"true\" # RTL language\n \n-    #63 Punjabi, Brahmic \/ Gurmukh\u012b alphabet\n+    #63 Polish\n+    Locale[\"pl\"][\"name\"]               = \"Polish\"\n+    Locale[\"pl\"][\"endonym\"]            = \"Polski\"\n+    Locale[\"pl\"][\"translations-of\"]    = \"T\u0142umaczenia %s\"\n+    Locale[\"pl\"][\"definitions-of\"]     = \"%s \u2013 definicje\"\n+    Locale[\"pl\"][\"synonyms\"]           = \"Synonimy\"\n+    Locale[\"pl\"][\"examples\"]           = \"Przyk\u0142ady\"\n+    Locale[\"pl\"][\"see-also\"]           = \"Zobacz te\u017c\"\n+    Locale[\"pl\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"pl\"][\"iso\"]                = \"pol\"\n+    Locale[\"pl\"][\"glotto\"]             = \"poli1260\"\n+    Locale[\"pl\"][\"script\"]             = \"Latn\"\n+\n+    #64 Portuguese\n+    Locale[\"pt\"][\"name\"]               = \"Portuguese\"\n+    Locale[\"pt\"][\"endonym\"]            = \"Portugu\u00eas\"\n+    Locale[\"pt\"][\"translations-of\"]    = \"Tradu\u00e7\u00f5es de %s\"\n+    Locale[\"pt\"][\"definitions-of\"]     = \"Defini\u00e7\u00f5es de %s\"\n+    Locale[\"pt\"][\"synonyms\"]           = \"Sin\u00f4nimos\"\n+    Locale[\"pt\"][\"examples\"]           = \"Exemplos\"\n+    Locale[\"pt\"][\"see-also\"]           = \"Veja tamb\u00e9m\"\n+    Locale[\"pt\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"pt\"][\"iso\"]                = \"por\"\n+    Locale[\"pt\"][\"glotto\"]             = \"port1283\"\n+    Locale[\"pt\"][\"script\"]             = \"Latn\"\n+\n+    #65 Punjabi, Gurmukh\u012b alphabet\n     Locale[\"pa\"][\"name\"]               = \"Punjabi\"\n     Locale[\"pa\"][\"endonym\"]            = \"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40\"\n     Locale[\"pa\"][\"translations-of\"]    = \"\u0a26\u0a47 \u0a05\u0a28\u0a41\u0a35\u0a3e\u0a26%s\"\n@@ -848,32 +874,6 @@\n     Locale[\"pa\"][\"iso\"]                = \"pan\"\n     Locale[\"pa\"][\"glotto\"]             = \"panj1256\"\n     Locale[\"pa\"][\"script\"]             = \"Guru\"\n-\n-    #64 Polish\n-    Locale[\"pl\"][\"name\"]               = \"Polish\"\n-    Locale[\"pl\"][\"endonym\"]            = \"Polski\"\n-    Locale[\"pl\"][\"translations-of\"]    = \"T\u0142umaczenia %s\"\n-    Locale[\"pl\"][\"definitions-of\"]     = \"%s \u2013 definicje\"\n-    Locale[\"pl\"][\"synonyms\"]           = \"Synonimy\"\n-    Locale[\"pl\"][\"examples\"]           = \"Przyk\u0142ady\"\n-    Locale[\"pl\"][\"see-also\"]           = \"Zobacz te\u017c\"\n-    Locale[\"pl\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"pl\"][\"iso\"]                = \"pol\"\n-    Locale[\"pl\"][\"glotto\"]             = \"poli1260\"\n-    Locale[\"pl\"][\"script\"]             = \"Latn\"\n-\n-    #65 Portuguese\n-    Locale[\"pt\"][\"name\"]               = \"Portuguese\"\n-    Locale[\"pt\"][\"endonym\"]            = \"Portugu\u00eas\"\n-    Locale[\"pt\"][\"translations-of\"]    = \"Tradu\u00e7\u00f5es de %s\"\n-    Locale[\"pt\"][\"definitions-of\"]     = \"Defini\u00e7\u00f5es de %s\"\n-    Locale[\"pt\"][\"synonyms\"]           = \"Sin\u00f4nimos\"\n-    Locale[\"pt\"][\"examples\"]           = \"Exemplos\"\n-    Locale[\"pt\"][\"see-also\"]           = \"Veja tamb\u00e9m\"\n-    Locale[\"pt\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"pt\"][\"iso\"]                = \"por\"\n-    Locale[\"pt\"][\"glotto\"]             = \"port1283\"\n-    Locale[\"pt\"][\"script\"]             = \"Latn\"\n \n     #66 Romanian\n     Locale[\"ro\"][\"name\"]               = \"Romanian\"\n@@ -1308,16 +1308,57 @@\n     return Locale[getCode(code)][\"rtl\"] ? 1 : 0\n }\n \n+# Return the name of script (writing system).\n+# See: <https:\/\/en.wikipedia.org\/wiki\/ISO_15924#List_of_codes>\n+function scriptName(code) {\n+    switch (code) {\n+    case \"Arab\": return \"Arabic\"\n+    case \"Armn\": return \"Armenian\"\n+    case \"Beng\": return \"Bengali\"\n+    case \"Cyrl\": return \"Cyrillic\"\n+    case \"Deva\": return \"Devanagari\"\n+    case \"Geor\": return \"Georgian (Mkhedruli)\"\n+    case \"Grek\": return \"Greek\"\n+    case \"Gujr\": return \"Gujarati\"\n+    case \"Guru\": return \"Gurmukhi\"\n+    case \"Hani\": return \"Han\"\n+    case \"Hans\": return \"Han (Simplified)\"\n+    case \"Hant\": return \"Han (Traditional)\"\n+    case \"Hebr\": return \"Hebrew\"\n+    case \"Jpan\": return \"Japanese (Han + Hiragana + Katakana)\"\n+    case \"Khmr\": return \"Khmer\"\n+    case \"Knda\": return \"Kannada\"\n+    case \"Kore\": return \"Korean (Hangul + Han)\"\n+    case \"Laoo\": return \"Lao\"\n+    case \"Latn\": return \"Latin\"\n+    case \"Mlym\": return \"Malayalam\"\n+    case \"Mymr\": return \"Myanmar\"\n+    case \"Sinh\": return \"Sinhala\"\n+    case \"Taml\": return \"Tamil\"\n+    case \"Telu\": return \"Telugu\"\n+    case \"Thai\": return \"Thai\"\n+    default: return \"Unknown\"\n+    }\n+}\n+\n # Return detailed information of a language as a string.\n-function getDetails(code) {\n-    return sprintf(\"%s\\n\", getName(code))                     \\\n-        sprintf(\"%s\\n\", getDisplay(code))                     \\\n-        sprintf(\"%-22s%s\\n\", \"family\", getFamily(code))       \\\n-        sprintf(\"%-22s%s\\n\", \"code\", getCode(code))           \\\n-        sprintf(\"%-22s%s\\n\", \"iso\", getISO(code))             \\\n-        sprintf(\"%-22s%s\\n\", \"glotto\", getGlotto(code))       \\\n-        sprintf(\"%-22s%s\\n\", \"script\", getScript(code))       \\\n-        sprintf(\"%-22s%s\", \"rtl\", isRTL(code))\n+function getDetails(code,    group, ws, iso) {\n+    if (code == \"auto\" || !getCode(code))\n+        return prettify(\"languages\", sprintf(\"%-22s%s\\n\", \"Unknown code\", ansi(\"bold\", code)))\n+\n+    ws = scriptName(getScript(code))\n+    if (isRTL(code)) ws = ws \" (R-to-L)\"\n+    split(getISO(code), group, \"-\")\n+    iso = group[1]\n+    return sprintf(\"%s\\n\", prettify(\"translation\", getDisplay(code)))   \\\n+        prettify(\"languages\",                                           \\\n+                 sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getName(code))) \\\n+                 sprintf(\"%-22s%s\\n\", \"Family\", ansi(\"bold\", getFamily(code))) \\\n+                 sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", ws)) \\\n+                 sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code))) \\\n+                 sprintf(\"%-22s%s\\n\", \"ISO 639-3\", ansi(\"bold\", iso))   \\\n+                 sprintf(\"%-22s%s\\n\", \"Ethnologue\", ansi(\"bold\", \"http:\/\/www.ethnologue.com\/language\/\" iso)) \\\n+                 sprintf(\"%-22s%s\", \"Glottolog\", ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code))))\n }\n \n # Add \/slashes\/ for IPA phonemic notations and (parentheses) for others.\n"}
{"commit":"02c5a901f6dd5b5a3a9036ccd60a50c82b3e80cc","subject":"build.awk: update","message":"build.awk: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -94,6 +94,8 @@\n \n     print \"***\" length(Locale) \"*** *languages in total. \"              \\\n         \"Generated from the source code of Translate Shell \" Version \".*\\n\" > WikiLanguages\n+    print \"*Version: [English](https:\/\/github.com\/soimort\/translate-shell\/wiki\/Languages) \" \\\n+        \"| [Chinese Simplified](https:\/\/github.com\/soimort\/translate-shell\/wiki\/Languages-%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29)*\\n\" > WikiLanguages\n     print \"| Code | Name | Family | [Writing system](https:\/\/github.com\/soimort\/translate-shell\/wiki\/Writing-Systems-and-Fonts) | Is [RTL](http:\/\/en.wikipedia.org\/wiki\/Right-to-left)? | Has dictionary? |\" > WikiLanguages\n     print \"| :--: | ---: | -----: | :------------: | :---------------------------------------------------: | :-------------: |\" > WikiLanguages\n     saveSortedIn = PROCINFO[\"sorted_in\"]\n"}
{"commit":"ac8d9e7caac7496623e0e937221baf3b95c887c9","subject":"adding dataset-independent global params recognition in convert.sh; added dataset change in update-e-params.awk","message":"adding dataset-independent global params recognition in convert.sh; added dataset change in update-e-params.awk\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/update-e-params-subject-discrim.awk\n+++ bin\/util\/update-e-params-subject-discrim.awk\n@@ -9,7 +9,7 @@\n       printf(\"      conversion:subject_discriminator \\\"%s\\\";\\n\",subjectDiscriminator)\n \n    }else if( $0~\"conversion:dataset_version\" ) {                          # TODO: DEPRECATED (but converter not recognizing it)\n-      printf(\"   conversion:dataset_version \\\"%s\\\";\\n\",datasetVersion)\n+      printf(\"   conversion:dataset_version    \\\"%s\\\";\\n\",datasetVersion)\n    }else if( $0~\"conversion:version_identifier\" ) {\n       printf(\"   conversion:version_identifier \\\"%s\\\";\\n\",datasetVersion)\n \n"}
{"commit":"7de57f7fee114ae54814188a4694d85bf8fb7202","subject":"added owl ns and fixed slash escape WARNING.","message":"added owl ns and fixed slash escape WARNING.\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -40,6 +40,7 @@\n    }\n    print \"@prefix xsd:        <http:\/\/www.w3.org\/2001\/XMLSchema#> .\"\n    if(length(conversionID)) {\n+      print \"@prefix owl:        <http:\/\/www.w3.org\/2002\/07\/owl#> .\"\n       print \"@prefix vann:       <http:\/\/purl.org\/vocab\/vann\/> .\"\n       print \"@prefix skos:       <http:\/\/www.w3.org\/2004\/02\/skos\/core#> .\"\n       print \"@prefix time:       <http:\/\/www.w3.org\/2006\/time#> .\"\n@@ -90,7 +91,7 @@\n    if(length(subjectDiscriminator)) printf(\"      conversion:subject_discriminator  \\\"%s\\\";\\n\",subjectDiscriminator);\n                                      print\n    if(length(person_uri)&&length(machine_uri)&&length(whoami)) {\n-                                    printf(\"      dcterms:creator <%s%s\\>;\\n\",machine_uri,whoami);\n+                                    printf(\"      dcterms:creator <%s%s>;\\n\",machine_uri,whoami);\n    }else if(length(person_uri)) {\n                                     printf(\"      dcterms:creator \\\"%s\\\";\\n\",person_uri);\n    }else if(length(whoami)) {\n"}
{"commit":"116e19b33a0f90b56f458e4757b07a78702e58ec","subject":"use nt positions from gspan for vertex dict","message":"use nt positions from gspan for vertex dict\n","repos":"dmaticzka\/GraphProt,dmaticzka\/GraphProt,dmaticzka\/GraphProt,dmaticzka\/GraphProt,dmaticzka\/GraphProt","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/gspan2vertex_dict.awk\n+++ bin\/gspan2vertex_dict.awk\n@@ -7,18 +7,11 @@\n \/^t\/{\n \tseqid++;\n \tvertex_id=0;\n-\tnt_pos=0;\n }\n # new entry on viewpoint vertice (omitting relational vertices)\n-\/^v\/&&!\/\\^\/&&!\/#\/{\n-\tprint seqid, vertex_id++, $3, nt_pos++;\n+\/^v\/ && !\/\\^\/ && !\/#\/ {\n+\tprint seqid, vertex_id++, $3, $4-1;\n }\n # non-viewpoint  vertices only increment nucleotide position\n-\/^V\/&&!\/\\^\/&&!\/#\/{\n-\tnt_pos++\n+\/^V\/ && !\/\\^\/ && !\/#\/ {\n }\n-# restart sequence numbering on new subgraph\n-# (this does not work with shifted shreps!)\n-\/^s\/||\/^u\/||\/^w\/{\n-\tnt_pos=0\n-}"}
{"commit":"8786b6ef212b87eb633b85d41a416c5a4a7efc91","subject":"LanguageData: update section R","message":"LanguageData: update section R\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1919,9 +1919,7 @@\n     Locale[\"otq\"][\"spoken-in\"]         = \"Quer\u00e9taro in Mexico\"\n     Locale[\"otq\"][\"supported-by\"]      = \"bing\"\n \n-\n-\n-    #75 Romanian\n+    # Romanian \/ Moldovan, Latin alphabet\n     Locale[\"ro\"][\"name\"]               = \"Romanian\"\n     Locale[\"ro\"][\"endonym\"]            = \"Rom\u00e2n\u0103\"\n     Locale[\"ro\"][\"translations-of\"]    = \"Traduceri pentru %s\"\n@@ -1930,11 +1928,30 @@\n     Locale[\"ro\"][\"examples\"]           = \"Exemple\"\n     Locale[\"ro\"][\"see-also\"]           = \"Vede\u021bi \u0219i\"\n     Locale[\"ro\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ro\"][\"branch\"]             = \"Eastern Romance\"\n     Locale[\"ro\"][\"iso\"]                = \"ron\"\n     Locale[\"ro\"][\"glotto\"]             = \"roma1327\"\n     Locale[\"ro\"][\"script\"]             = \"Latn\"\n-\n-    #76 Russian\n+    Locale[\"ro\"][\"spoken-in\"]          = \"Romania; Moldova\"\n+    Locale[\"ro\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Romansh\n+    Locale[\"rm\"][\"name\"]               = \"Romansh\"\n+    Locale[\"rm\"][\"endonym\"]            = \"Rumantsch\"\n+    #Locale[\"rm\"][\"translations-of\"]\n+    #Locale[\"rm\"][\"definitions-of\"]\n+    #Locale[\"rm\"][\"synonyms\"]\n+    #Locale[\"rm\"][\"examples\"]\n+    #Locale[\"rm\"][\"see-also\"]\n+    Locale[\"rm\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"rm\"][\"branch\"]             = \"Western Romance\"\n+    Locale[\"rm\"][\"iso\"]                = \"roh\"\n+    Locale[\"rm\"][\"glotto\"]             = \"roma1326\"\n+    Locale[\"rm\"][\"script\"]             = \"Latn\"\n+    Locale[\"rm\"][\"spoken-in\"]          = \"the Swiss canton of the Grisons\"\n+    Locale[\"rm\"][\"supported-by\"]       = \"\"\n+\n+    # Russian\n     Locale[\"ru\"][\"name\"]               = \"Russian\"\n     Locale[\"ru\"][\"endonym\"]            = \"\u0420\u0443\u0441\u0441\u043a\u0438\u0439\"\n     Locale[\"ru\"][\"translations-of\"]    = \"%s: \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430\"\n@@ -1943,10 +1960,15 @@\n     Locale[\"ru\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u044b\"\n     Locale[\"ru\"][\"see-also\"]           = \"\u041f\u043e\u0445\u043e\u0436\u0438\u0435 \u0441\u043b\u043e\u0432\u0430\"\n     Locale[\"ru\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ru\"][\"branch\"]             = \"East Slavic\"\n     Locale[\"ru\"][\"iso\"]                = \"rus\"\n     Locale[\"ru\"][\"glotto\"]             = \"russ1263\"\n     Locale[\"ru\"][\"script\"]             = \"Cyrl\"\n     Locale[\"ru\"][\"dictionary\"]         = \"true\" # has dictionary\n+    Locale[\"ru\"][\"spoken-in\"]          = \"the Russian-speaking world\"\n+    Locale[\"ru\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #77 Samoan\n     Locale[\"sm\"][\"name\"]               = \"Samoan\"\n@@ -2510,20 +2532,6 @@\n     Locale[\"oc\"][\"iso\"]                = \"oci\"\n     Locale[\"oc\"][\"glotto\"]             = \"occi1239\"\n     Locale[\"oc\"][\"script\"]             = \"Latn\"\n-\n-    #? Romansh\n-    Locale[\"rm\"][\"support\"]            = \"unstable\"\n-    Locale[\"rm\"][\"name\"]               = \"Romansh\"\n-    Locale[\"rm\"][\"endonym\"]            = \"Rumantsch\"\n-    #Locale[\"rm\"][\"translations-of\"]\n-    #Locale[\"rm\"][\"definitions-of\"]\n-    #Locale[\"rm\"][\"synonyms\"]\n-    #Locale[\"rm\"][\"examples\"]\n-    #Locale[\"rm\"][\"see-also\"]\n-    Locale[\"rm\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"rm\"][\"iso\"]                = \"roh\"\n-    Locale[\"rm\"][\"glotto\"]             = \"roma1326\"\n-    Locale[\"rm\"][\"script\"]             = \"Latn\"\n \n     #? Tibetan (Standard Tibetan)\n     Locale[\"bo\"][\"support\"]            = \"unstable\"\n@@ -2623,6 +2631,8 @@\n     LocaleAlias[\"kurdish\"] = \"ku\" # Kurdish: default to \"ku\" (N.B. Google uses this code for Kurmanji)\n     LocaleAlias[\"mari\"] = \"mhr\" # Mari: default to \"mhr\" (Eastern Mari)\n     LocaleAlias[\"mo\"] = \"ro\" # Moldavian or Moldovan considered a variant of the Romanian language\n+    LocaleAlias[\"moldavian\"] = \"ro\"\n+    LocaleAlias[\"moldovan\"] = \"ro\"\n     LocaleAlias[\"mww\"] = \"hmn\" # mww (Hmong Daw) treated the same as hmn (the inclusive code for Hmong)\n     LocaleAlias[\"nb\"] = \"no\" # Google Translate does not distinguish between Bokm\u00e5l and Nynorsk (but Bing does!)\n     LocaleAlias[\"nn\"] = \"no\"\n"}
{"commit":"c8d051d8553d08c524e2cde89984caeff38c4483","subject":"Distinguish the cases when a dup symbol is in different versions (evil, needs a error) or in the same version (harmless, deserves a mere warning).","message":"Distinguish the cases when a dup symbol is in different versions\n(evil, needs a error) or in the same version (harmless, deserves\na mere warning).\n\nNoticed by:     grehan@, tinderbox\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- share\/mk\/version_gen.awk\n+++ share\/mk\/version_gen.awk\n@@ -34,12 +34,12 @@\n #                  version name.\n #   symbols[][] - array index by [version name, symbol index], contains\n #                 names of symbols defined for each version.\n-#   names[] - array index is symbol name and value is count,\n+#   names[] - array index is symbol name and value is its first version seen,\n #\t      used to check for duplicate symbols and warn about them.\n #\n BEGIN {\n \tbrackets = 0;\n-\terrors = 0;\n+\terrors = warns = 0;\n \tversion_count = 0;\n \tcurrent_version = \"\";\n \tstderr = \"\/dev\/stderr\";\n@@ -148,12 +148,30 @@\n \t\tcount = versions[current_version];\n \t\tversions[current_version]++;\n \t\tsymbols[current_version, count] = $1;\n-\t\tif (names[$1]++) {\n-\t\t\tprintf(\"File %s, line %d: Duplicated symbol `%s'. \" \\\n+\t\tif ($1 in names && names[$1] != current_version) {\n+\t\t\t#\n+\t\t\t# A graver case when a dup symbol appears under\n+\t\t\t# different versions in the map.  That can result\n+\t\t\t# in subtle problems with the library later.\n+\t\t\t#\n+\t\t\tprintf(\"File %s, line %d: Duplicated symbol `%s' \" \\\n+\t\t\t    \"in version `%s', first seen in `%s'. \" \\\n \t\t\t    \"Did you forget to move it to ObsoleteVersions?\\n\",\n-\t\t\t    filename, FNR, $1) > stderr;\n+\t\t\t    filename, FNR, $1,\n+\t\t\t    current_version, names[$1]) > stderr;\n \t\t\terrors++;\n \t\t}\n+\t\telse if (names[$1] == current_version) {\n+\t\t\t#\n+\t\t\t# A harmless case: a dup symbol with the same version.\n+\t\t\t#\n+\t\t\tprintf(\"File %s, line %d: warning: \" \\\n+\t\t\t    \"Duplicated symbol `%s' in version `%s'.\\n\",\n+\t\t\t    filename, FNR, $1, current_version) > stderr;\n+\t\t\twarns++;\n+\t\t}\n+\t\telse\n+\t\t\tnames[$1] = current_version;\n \t}\n \telse {\n \t\tprintf(\"File %s, line %d: Symbol `%s' outside version scope.\\n\",\n@@ -221,7 +239,7 @@\n \n END {\n \tif (errors) {\n-\t\tprintf(\"%d errors total.\\n\", errors) > stderr;\n+\t\tprintf(\"%d error(s) total.\\n\", errors) > stderr;\n \t\texit(1);\n \t}\n \t# OK, no errors.\n"}
{"commit":"87523ab8db34859ae3fb980a3fab9f29dfc4c97a","subject":"Comment fixes from Larry Rosenman\" <ler@lerctr.org>.","message":"Comment fixes from Larry Rosenman\" <ler@lerctr.org>.\n","repos":"royc1\/gpdb,kmjungersen\/PostgresXL,lintzc\/gpdb,tangp3\/gpdb,rvs\/gpdb,royc1\/gpdb,ovr\/postgres-xl,rubikloud\/gpdb,randomtask1155\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,Chibin\/gpdb,chrishajas\/gpdb,edespino\/gpdb,Quikling\/gpdb,xuegang\/gpdb,greenplum-db\/gpdb,Chibin\/gpdb,ovr\/postgres-xl,edespino\/gpdb,rvs\/gpdb,50wu\/gpdb,postmind-net\/postgres-xl,xuegang\/gpdb,Quikling\/gpdb,Postgres-XL\/Postgres-XL,foyzur\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,zeroae\/postgres-xl,zaksoup\/gpdb,lintzc\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,CraigHarris\/gpdb,CraigHarris\/gpdb,kmjungersen\/PostgresXL,greenplum-db\/gpdb,yuanzhao\/gpdb,0x0FFF\/gpdb,lisakowen\/gpdb,ovr\/postgres-xl,kmjungersen\/PostgresXL,cjcjameson\/gpdb,pavanvd\/postgres-xl,foyzur\/gpdb,rubikloud\/gpdb,zaksoup\/gpdb,pavanvd\/postgres-xl,randomtask1155\/gpdb,yuanzhao\/gpdb,adam8157\/gpdb,yazun\/postgres-xl,Chibin\/gpdb,arcivanov\/postgres-xl,postmind-net\/postgres-xl,oberstet\/postgres-xl,adam8157\/gpdb,50wu\/gpdb,tangp3\/gpdb,ovr\/postgres-xl,randomtask1155\/gpdb,zaksoup\/gpdb,royc1\/gpdb,chrishajas\/gpdb,50wu\/gpdb,jmcatamney\/gpdb,CraigHarris\/gpdb,CraigHarris\/gpdb,zeroae\/postgres-xl,kaknikhil\/gpdb,atris\/gpdb,rvs\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,royc1\/gpdb,tangp3\/gpdb,snaga\/postgres-xl,0x0FFF\/gpdb,greenplum-db\/gpdb,postmind-net\/postgres-xl,chrishajas\/gpdb,xuegang\/gpdb,Postgres-XL\/Postgres-XL,ahachete\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,xinzweb\/gpdb,xuegang\/gpdb,yazun\/postgres-xl,edespino\/gpdb,Quikling\/gpdb,rvs\/gpdb,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,Quikling\/gpdb,zeroae\/postgres-xl,50wu\/gpdb,rubikloud\/gpdb,techdragon\/Postgres-XL,zaksoup\/gpdb,atris\/gpdb,chrishajas\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,zaksoup\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,pavanvd\/postgres-xl,Postgres-XL\/Postgres-XL,atris\/gpdb,xinzweb\/gpdb,royc1\/gpdb,ahachete\/gpdb,arcivanov\/postgres-xl,ahachete\/gpdb,lisakowen\/gpdb,Chibin\/gpdb,rubikloud\/gpdb,tpostgres-projects\/tPostgres,arcivanov\/postgres-xl,CraigHarris\/gpdb,yazun\/postgres-xl,Quikling\/gpdb,oberstet\/postgres-xl,pavanvd\/postgres-xl,Postgres-XL\/Postgres-XL,jmcatamney\/gpdb,ovr\/postgres-xl,greenplum-db\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,xinzweb\/gpdb,postmind-net\/postgres-xl,foyzur\/gpdb,arcivanov\/postgres-xl,arcivanov\/postgres-xl,lintzc\/gpdb,yuanzhao\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,rvs\/gpdb,xinzweb\/gpdb,atris\/gpdb,kmjungersen\/PostgresXL,greenplum-db\/gpdb,yuanzhao\/gpdb,xuegang\/gpdb,adam8157\/gpdb,rvs\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,royc1\/gpdb,0x0FFF\/gpdb,techdragon\/Postgres-XL,edespino\/gpdb,randomtask1155\/gpdb,ashwinstar\/gpdb,ahachete\/gpdb,lisakowen\/gpdb,0x0FFF\/gpdb,50wu\/gpdb,techdragon\/Postgres-XL,janebeckman\/gpdb,edespino\/gpdb,xuegang\/gpdb,rvs\/gpdb,foyzur\/gpdb,pavanvd\/postgres-xl,adam8157\/gpdb,yazun\/postgres-xl,atris\/gpdb,xinzweb\/gpdb,tangp3\/gpdb,edespino\/gpdb,adam8157\/gpdb,cjcjameson\/gpdb,randomtask1155\/gpdb,Chibin\/gpdb,ashwinstar\/gpdb,ashwinstar\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,oberstet\/postgres-xl,yuanzhao\/gpdb,atris\/gpdb,greenplum-db\/gpdb,rvs\/gpdb,snaga\/postgres-xl,adam8157\/gpdb,lintzc\/gpdb,Chibin\/gpdb,lpetrov-pivotal\/gpdb,ahachete\/gpdb,xinzweb\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,CraigHarris\/gpdb,yazun\/postgres-xl,janebeckman\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,zeroae\/postgres-xl,zaksoup\/gpdb,Chibin\/gpdb,ahachete\/gpdb,jmcatamney\/gpdb,janebeckman\/gpdb,xuegang\/gpdb,atris\/gpdb,Quikling\/gpdb,atris\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,rubikloud\/gpdb,kaknikhil\/gpdb,tangp3\/gpdb,50wu\/gpdb,foyzur\/gpdb,techdragon\/Postgres-XL,randomtask1155\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,xuegang\/gpdb,Chibin\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,lintzc\/gpdb,Chibin\/gpdb,yuanzhao\/gpdb,CraigHarris\/gpdb,rvs\/gpdb,cjcjameson\/gpdb,foyzur\/gpdb,janebeckman\/gpdb,chrishajas\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,chrishajas\/gpdb,tangp3\/gpdb,foyzur\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,chrishajas\/gpdb,lintzc\/gpdb,oberstet\/postgres-xl,CraigHarris\/gpdb,yuanzhao\/gpdb,lpetrov-pivotal\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,snaga\/postgres-xl,royc1\/gpdb,ahachete\/gpdb,Postgres-XL\/Postgres-XL,jmcatamney\/gpdb,50wu\/gpdb,Quikling\/gpdb,tangp3\/gpdb,snaga\/postgres-xl,janebeckman\/gpdb,zaksoup\/gpdb,kmjungersen\/PostgresXL,greenplum-db\/gpdb,xinzweb\/gpdb,zeroae\/postgres-xl,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,cjcjameson\/gpdb,tangp3\/gpdb,postmind-net\/postgres-xl,adam8157\/gpdb,Quikling\/gpdb,oberstet\/postgres-xl,0x0FFF\/gpdb,rubikloud\/gpdb,foyzur\/gpdb,tpostgres-projects\/tPostgres,randomtask1155\/gpdb,yuanzhao\/gpdb,rubikloud\/gpdb,techdragon\/Postgres-XL,edespino\/gpdb,50wu\/gpdb,0x0FFF\/gpdb,snaga\/postgres-xl,edespino\/gpdb,jmcatamney\/gpdb,xuegang\/gpdb,lpetrov-pivotal\/gpdb,lintzc\/gpdb,tpostgres-projects\/tPostgres,0x0FFF\/gpdb,kaknikhil\/gpdb,ahachete\/gpdb,kaknikhil\/gpdb","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- contrib\/mac\/ouiparse.awk\n+++ contrib\/mac\/ouiparse.awk\n@@ -1,4 +1,4 @@\n-# $Id: ouiparse.awk,v 1.1 2000\/08\/23 06:02:23 thomas Exp $\n+# $Id: ouiparse.awk,v 1.2 2000\/08\/23 13:44:14 thomas Exp $\n #\n # ouiparse.awk\n # Author: Lawrence E. Rosenman <ler@lerctr.org>\n@@ -10,10 +10,9 @@\n #        manufacturer text);\n # the table name is set by setting the AWK variable TABLE\n # \n-# we translate the character apostrophe (') to space inside the company name\n-# to avoid SQL errors.\n+# we translate the character apostrophe (') to double apostrophe ('') inside \n+# the company name to avoid SQL errors.\n #\n-# match ONLY lines that begin with 2 hex numbers, -, and another hex number\n \n BEGIN {\n \tTABLE=\"macoui\";\n@@ -27,6 +26,7 @@\n \tprintf \"COMMIT TRANSACTION;\";\n }\n \n+# match ONLY lines that begin with 2 hex numbers, -, and another hex number\n \/^[0-9a-fA-F][0-9a-fA-F]-[0-9a-fA-F]\/ { \n #\tif (nrec >= 100) {\n #\t\tprintf \"COMMIT TRANSACTION;\";\n@@ -47,7 +47,7 @@\n \t\tCompany=Company \" \" $i;\n \t# Modify any apostrophes (') to avoid grief below.\n \tgsub(\"'\",\"''\",Company);\n-\t# Print out for the 'C' structure in mac.c\n+\t# Print out for the SQL table insert\n \tprintf \"INSERT INTO %s (addr, name) VALUES (trunc(macaddr \\'%s\\'),\\'%s\\');\\n\",\n \t\tTABLE,OUI,Company;\n }\n"}
{"commit":"f627f6a09aaa56dc60426a0bc4df99cd249bf5bf","subject":"Minor cleanup of instructions","message":"Minor cleanup of instructions\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateLinkFrom-text.awk\n+++ generateLinkFrom-text.awk\n@@ -12,9 +12,14 @@\n # https:\/\/www.netflix.com\/title\/80203122\n # Luxury Travel Show: Season 1: \"Chiang Mai & Eze\"\n #\n-# Paste them in the same order they are in the Netflix \"viewing activity\" page\n+# https:\/\/www.amazon.com\/gp\/video\/detail\/B07QBFM357\/ref=stream_prime_hd_ep?autoplay=1&t=3128\n+# Silent Witness, S16E001, Change, Part One\n+#\n+# Paste them in the same order they are in the Netflix or Amazon \"viewing activity\" page\n+#\n+# INVOCATION:\n+#    awk -f generateLinkFrom-text.awk watched.txt\n \n-# https:\/\/www.amazon.com\/gp\/video\/detail\/B07XZ8G9WJ\/ref=stream_prime_hd_ep?autoplay=1&t=0\n \/ref=stream_prime\/ {\n     sub (\/\\\/ref=stream.*\/,\"\")\n }\n"}
{"commit":"bd5a69508226fedf67e04ac1cfd01ce71c8583c6","subject":"- handle fedora no modversions","message":"- handle fedora no modversions\n","repos":"0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -1459,6 +1459,8 @@\n     }\n     if (count_syms)\n \tclose(file)\n+    else\n+\tsystem_command(\"touch \" file)\n     print_vinfo(1,\"w: syssymver, syms \" count_syms)\n }\n function write_modsymver(file,    sym,line,count_syms,mod)\n@@ -1485,6 +1487,8 @@\n     }\n     if (count_syms)\n \tclose(file)\n+    else\n+\tsystem_command(\"touch \" file)\n     print_vinfo(1,\"w: modsymver, syms \" count_syms)\n }\n function create_missing_symsets(\tprogress,count,count_syms,count_sets,sym,set,setmiss,n,symbols,hash,symfile,pos)\n"}
{"commit":"ed84a4df16752dc194fc9806a10b3326db6b6021","subject":"Languages: add Guarani language","message":"Languages: add Guarani language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -117,6 +117,19 @@\n     Locale[\"fj\"][\"iso\"]                = \"fij\"\n     Locale[\"fj\"][\"glotto\"]             = \"fiji1243\"\n     Locale[\"fj\"][\"script\"]             = \"Latn\"\n+\n+    #? Guarani\n+    Locale[\"gn\"][\"name\"]               = \"Guarani\"\n+    Locale[\"gn\"][\"endonym\"]            = \"Ava\u00f1e'\u1ebd\"\n+    #Locale[\"gn\"][\"translations-of\"]\n+    #Locale[\"gn\"][\"definitions-of\"]\n+    #Locale[\"gn\"][\"synonyms\"]\n+    #Locale[\"gn\"][\"examples\"]\n+    #Locale[\"gn\"][\"see-also\"]\n+    Locale[\"gn\"][\"family\"]             = \"Tupian\"\n+    Locale[\"gn\"][\"iso\"]                = \"grn\"\n+    Locale[\"gn\"][\"glotto\"]             = \"para1311\"\n+    Locale[\"gn\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"477010efaf027fafbef25394757b7b47cf0aa688","subject":"Languages: update","message":"Languages: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -170,7 +170,7 @@\n     Locale[\"ky\"][\"glotto\"]             = \"kirg1245\"\n     Locale[\"ky\"][\"script\"]             = \"Cyrl\"\n \n-    #? Kurdish, Latin alphabet\n+    #? Kurdish (Central Kurdish, Sorani), Latin alphabet\n     Locale[\"ku\"][\"name\"]               = \"Kurdish\"\n     Locale[\"ku\"][\"endonym\"]            = \"Kurd\u00ee\"\n     #Locale[\"ku\"][\"translations-of\"]\n@@ -304,7 +304,7 @@\n \n     #? Shona\n     Locale[\"sn\"][\"name\"]               = \"Shona\"\n-    Locale[\"sn\"][\"endonym\"]            = \"ChiShona\"\n+    Locale[\"sn\"][\"endonym\"]            = \"chiShona\"\n     #Locale[\"sn\"][\"translations-of\"]\n     #Locale[\"sn\"][\"definitions-of\"]\n     #Locale[\"sn\"][\"synonyms\"]\n"}
{"commit":"fcac4e17ac27f86fa629adcdab4447d81c156a6d","subject":"Start testing 2013.","message":"Start testing 2013.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@29110 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if either status is _not_ manifest or ending year is gt or eq to contract year\n-  current_year = 2012\n+  current_year = 2013\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"c505338366f463611eb8ee2fc7ead735dedcda2e","subject":"filtering for 10 only","message":"filtering for 10 only\n","repos":"camwebb\/treemap","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- lib\/obs.awk\n+++ lib\/obs.awk\n@@ -200,7 +200,7 @@\n \t  else \n \t\t{\n \t\t  print \"<h1>Recent observations<\/h1>\" ;\n-\t\t  if (n > 10) start = n-10 ;\n+\t\t  if (n > 10) start = n-9 ;\n \t\t  else start = 1;\n \t\t}\n \t  # print the table header\n"}
{"commit":"97441d875cd54b200b580d2f475df370a9d54795","subject":"library tweaks","message":"library tweaks\n","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -168,7 +168,7 @@\n \n # random permutation of k=n integers between 1 and n\n # the distribution of this isn't great, but it does cover the whole range of permutations\n-# a random deck is: split(permute(52,52), deck)\n+# a random deck is: split(permute(52,52), deck, SUBSEP)\n function permute(n,  k,   i, r, p) {\n     k = checkpos(k, n, \"permute: second argument must be positive\")\n     p = SUBSEP\n@@ -1288,7 +1288,7 @@\n }\n \n \n-function dirname(path, suffix) {\n+function dirname(path) {\n     if (!sub(\/\\\/[^\\\/]*\\\/?$\/, \"\", path))\n         return \".\"\n     else if (path != \"\")\n"}
{"commit":"04dfd5a9d33e383ff2cac82ad7953448672b7bea","subject":"refactor to remove a global variable","message":"refactor to remove a global variable\n","repos":"dbro\/csvquote,dbro\/csvquote","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- csvquote.awk\n+++ csvquote.awk\n@@ -16,37 +16,33 @@\n     # these are volatile global variables\n     quote_in_effect = 0; # false\n     maybe_escaped_quote_char = 0; # false\n-    writebuf = \"\";\n }\n \n function replace_special_chars(c) {\n+    answer = c; # default to pass-through\n     if (maybe_escaped_quote_char) {\n         if (c != quotechar) {\n             # this is the end of a quoted field\n             quote_in_effect = 0; # false\n         }\n-        writebuf = writebuf c; # concat\n         maybe_escaped_quote_char = 0; # false\n     } else if (quote_in_effect) {\n         if (c == quotechar) {\n             # this is either an escaped quote char or the end of a quoted\n             # field. need to read one more character to decide which\n-            writebuf = writebuf c; # concat\n             maybe_escaped_quote_char = 1; # true\n         } else if (c == delimiter) {\n-            writebuf = writebuf delimiter_code; # concat\n+            answer = delimiter_code; # override pass-through behavior\n         } else if (c == recordsep) {\n-            writebuf = writebuf recordsep_code; # concat\n-        } else {\n-            writebuf = writebuf c; # concat\n+            answer = recordsep_code; # override pass-through behavior\n         }\n     } else {\n         # quote not in effect\n-        writebuf = writebuf c; # concat\n         if (c == quotechar) {\n             quote_in_effect = 1; # true\n         }\n     }\n+    return answer;\n }\n \n (replace_mode) {\n@@ -60,17 +56,16 @@\n         }\n     }\n     if (fastrack) {\n-        print writebuf $0;\n-        writebuf = \"\";\n+        print $0;\n     } else {\n         # otherwise we scan the line for quote characters\n+        writebuf = \"\";\n         numchars = length($0);\n         for (i=1;i<=numchars;i++) {\n-            replace_special_chars(substr($0,i,1));\n+            writebuf = writebuf (replace_special_chars(substr($0,i,1)));\n         }\n+        writebuf = writebuf (replace_special_chars(RS));\n         printf(\"%s\", writebuf);\n-        writebuf = \"\";\n-        replace_special_chars(RS);\n     }\n }\n \n@@ -82,7 +77,3 @@\n     sub(\/\\034\/, recordsep, writebuf); # Beware ! recordsepcode repeated\n     print writebuf;\n }\n-\n-END {\n-    printf(\"%s\", writebuf); #flush\n-}\n"}
{"commit":"35f79a98690dc78208dca6b7e7d72c577b866574","subject":"List all the IP address and calculate how many sites it accessed","message":"List all the IP address and calculate how many sites it accessed","repos":"Aurametrix\/Alg-U,Aurametrix\/Alg-U","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- HASH\/ip-example.awk\n+++ HASH\/ip-example.awk\n@@ -1,5 +1,17 @@\n-awk '{Ip[$3]++;}\n-END\n-{ for (var in Ip)\n-  print var, \"access\", Ip[var],\" times\"\n+#!\/usr\/bin\/awk -f\n+\n+#awk '{Ip[$3]++;} END { for (var in Ip) print var, \"access\", Ip[var],\" times\"}\n+\n+#awk '{ip_count[$0]++}; END {for (ip in ip_count) printf \"%15s: %d\\n\",ip,ip_count[ip];}'\n+\n+BEGIN {\n+print \"IP Address\\tAccess Count\\tNumber of sites\";\n }\n+{\n+Ip[$3]++;\n+count[$3]+=$NF;\n+}\n+END{\n+for (var in Ip)\n+\tprint var,\"\\t\",Ip[var],\"\\t\\t\",count[var];\n+}\n"}
{"commit":"6323939a8496ba5b1fd08390b519138f05d3b3b5","subject":"I changed my mind about some of the previous style changes and changed some more","message":"I changed my mind about some of the previous style changes and changed some more\n","repos":"wernsey\/d.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- d.awk\n+++ d.awk\n@@ -524,10 +524,10 @@\n                 r = r \"<\" tg a \">\";\n             } else if(match(tg, \"^[[:alpha:]]+:\/\/[[:graph:]]+$\")) {\n                 if(!a) a = tg;\n-                r = r \"<a href=\\\"\" tg \"\\\">\" a \"<\/a>\";\n+                r = r \"<a class=\\\"normal\\\" href=\\\"\" tg \"\\\">\" a \"<\/a>\";\n             } else if(match(tg, \"^[[:graph:]]+@[[:graph:]]+$\")) {\n                 if(!a) a = tg;\n-                r = r \"<a href=\\\"\" obfuscate(\"mailto:\" tg) \"\\\">\" obfuscate(a) \"<\/a>\";\n+                r = r \"<a class=\\\"normal\\\" href=\\\"\" obfuscate(\"mailto:\" tg) \"\\\">\" obfuscate(a) \"<\/a>\";\n             } else {\n                 r = r \"&lt;\";\n                 continue;\n@@ -562,7 +562,7 @@\n     # LinkUrls[href] = \"#\" href;\n \n     svg = \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http:\/\/www.w3.org\/2000\/svg\\\"><g transform=\\\"rotate(-30, 8, 8)\\\" stroke=\\\"#000000\\\" opacity=\\\"0.25\\\"><rect fill=\\\"none\\\" height=\\\"6\\\" width=\\\"8\\\" x=\\\"2\\\" y=\\\"6\\\" rx=\\\"1.5\\\"\/><rect fill=\\\"none\\\" height=\\\"6\\\" width=\\\"8\\\" x=\\\"6\\\" y=\\\"4\\\" rx=\\\"1.5\\\"\/><\/g><\/svg>\";\n-    text = \"<a href=\\\"#\" href \"\\\" class=\\\"header\\\">\" svg \"&nbsp;\" st \"<\/a>\" (TopLinks?\"&nbsp;&nbsp;<a class=\\\"top\\\" title=\\\"Return to top\\\" href=\\\"#\\\">&#8593;&nbsp;Top<\/a>\":\"\");\n+    text = \"<a href=\\\"#\" href \"\\\" class=\\\"header\\\">\" st \"&nbsp;\" svg \"<\/a>\" (TopLinks?\"&nbsp;&nbsp;<a class=\\\"top\\\" title=\\\"Return to top\\\" href=\\\"#\\\">&#8593;&nbsp;Top<\/a>\":\"\");\n \n     res = tag(\"h\" level, text, \"id=\\\"\" href \"\\\"\");\n     for(;ToCLevel < level; ToCLevel++) {\n@@ -577,7 +577,7 @@\n     }\n     for(;ToCLevel > level; ToCLevel--)\n         ToC = ToC \"<\/ul>\";\n-    ToC = ToC \"<li class=\\\"toc-\" level \"\\\"><a class=\\\"toc-\" level \"\\\" href=\\\"#\" href \"\\\">\" st \"<\/a>\\n\";\n+    ToC = ToC \"<li class=\\\"toc-\" level \"\\\"><a class=\\\"toc toc-\" level \"\\\" href=\\\"#\" href \"\\\">\" st \"<\/a>\\n\";\n     ToCLevel = level;\n     return res;\n }\n@@ -644,7 +644,7 @@\n             if(img)\n                 res = res \"<img src=\\\"\" url \"\\\" title=\\\"\" ld \"\\\" alt=\\\"\" lt \"\\\">\";\n             else\n-                res = res \"<a href=\\\"\" url \"\\\" title=\\\"\" ld \"\\\">\" lt \"<\/a>\";\n+                res = res \"<a class=\\\"normal\\\" href=\\\"\" url \"\\\" title=\\\"\" ld \"\\\">\" lt \"<\/a>\";\n         } else if(match(st, \/^[[:space:]]*\\[[^\\]]*\\]\/)) {\n             lt = substr(rx, 2, length(rx) - 2);\n             match(st, \/\\[[^\\]]*\\]\/);\n@@ -659,7 +659,7 @@\n             if(img)\n                 res = res \"<img src=\\\"\" url \"\\\" title=\\\"\" ld \"\\\" alt=\\\"\" lt \"\\\">\";\n             else if(url)\n-                res = res \"<a href=\\\"\" url \"\\\" title=\\\"\" ld \"\\\">\" lt \"<\/a>\";\n+                res = res \"<a class=\\\"normal\\\" href=\\\"\" url \"\\\" title=\\\"\" ld \"\\\">\" lt \"<\/a>\";\n             else\n                 res = res \"[\" lt \"][\" lr \"]\";\n         } else\n@@ -746,24 +746,28 @@\n \n     css[\"body\"] = \"color:%color1%;font-family:%font-family%;font-size:%font-size%;line-height:1.5em;\" \\\n                 \"padding:1em 2em;width:80%;max-width:%maxwidth%;margin:0 auto;min-height:100%;float:none;\";\n-    css[\"h1\"] = \"color:%color1%;border-bottom:1px solid %color1%;padding:0.3em 0.1em;\";\n+    css[\"h1\"] = \"border-bottom:1px solid %color1%;padding:0.3em 0.1em;\";\n+    css[\"h1 a\"] = \"color:%color1%;\";\n     css[\"h2\"] = \"color:%color2%;border-bottom:1px solid %color2%;padding:0.2em 0.1em;\";\n+    css[\"h2 a\"] = \"color:%color2%;\";\n     css[\"h3\"] = \"color:%color3%;border-bottom:1px solid %color3%;padding:0.1em 0.1em;\";\n-    css[\"h4,h5,h6\"] = \"color:%color4%;padding:0.1em 0.1em;\";\n-    css[\"h1,h2,h3,h4,h5,h6\"] = \"font-weight:normal;line-height:1.2em;\";\n+    css[\"h3 a\"] = \"color:%color3%;\";\n+    css[\"h4,h5,h6\"] = \"padding:0.1em 0.1em;\";\n+    css[\"h4 a,h5 a,h6 a\"] = \"color:%color4%;\";\n+    css[\"h1,h2,h3,h4,h5,h6\"] = \"font-weight:bolder;line-height:1.2em;\";\n     css[\"h4\"] = \"border-bottom:1px solid %color4%\";\n     css[\"p\"] = \"margin:0.5em 0.1em;\"\n     css[\"hr\"] = \"background:%color1%;height:1px;border:0;\"\n-    css[\"a\"] = \"color:%color2%;\";\n-    css[\"a:visited\"] = \"color:%color2%;\";\n-    css[\"a:active\"] = \"color:%color4%;\";\n-    css[\"a:hover\"] = \"color:%color4%;\";\n+    css[\"a.normal, a.toc\"] = \"color:%color2%;\";\n+    #css[\"a.normal:visited\"] = \"color:%color2%;\";\n+    #css[\"a.normal:active\"] = \"color:%color4%;\";\n+    css[\"a.normal:hover, a.toc:hover\"] = \"color:%color4%;\";\n     css[\"a.top\"] = \"font-size:x-small;text-decoration:initial;float:right;\";\n     css[\"a.header svg\"] = \"opacity:0;\";\n     css[\"a.header:hover svg\"] = \"opacity:1;\";\n     css[\"a.header\"] = \"text-decoration: none;\";\n     css[\"strong,b\"] = \"color:%color1%\";\n-    css[\"code\"] = \"color:%color2%;\";\n+    css[\"code\"] = \"color:%color2%;font-weight:bold;\";\n     css[\"blockquote\"] = \"margin-left:1em;color:%color2%;border-left:0.2em solid %color3%;padding:0.25em 0.5em;overflow-x:auto;\";\n     css[\"pre\"] = \"color:%color2%;background:%color5%;border:1px solid;border-radius:2px;line-height:1.25em;margin:0.25em 0.5em;padding:0.75em;overflow-x:auto;\";\n     css[\"table\"] = \"border-collapse:collapse;margin:0.5em;\";\n@@ -790,7 +794,8 @@\n \tcss[\"ul.toc\"] = \"list-style-type:none;\";\n \n     # Colors:\n-    c1=\"#314070\";c2=\"#465DA6\";c3=\"#6676A8\";c4=\"#A88C3F\";c5=\"#E8E4D9\";\n+    #c1=\"#314070\";c2=\"#465DA6\";c3=\"#6676A8\";c4=\"#A88C3F\";c5=\"#E8E4D9\";\n+    c1=\"#314070\";c2=\"#384877\";c3=\"#6676A8\";c4=\"#738FD0\";c5=\"#FBFCFF\";\n     # Font Family:\n     ff = \"sans-serif\";\n     fs = \"11pt\";\n"}
{"commit":"3a537122d47b83fa4568666e832e17bf39005f1d","subject":"Update the list of config parameters that point to \/tmp on unix.","message":"Update the list of config parameters that point to \/tmp on unix.\n","repos":"djw8605\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,zhangzhehust\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/condor,htcondor\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -93,7 +93,7 @@\n \n # There's no reasonable default place to put log files for\n # daemons that run as a user (on Unix we use \/tmp). Use NUL.\n-\/(^GRIDMANAGER_LOG)|(^C_GAHP_LOG)|(^C_GAHP_WORKER_THREAD_LOG)|(^VM_GAHP_LOG)\/ {\n+\/(^C_GAHP_LOG)|(^C_GAHP_LOCK)|(^C_GAHP_WORKER_THREAD_LOG)|(^C_GAHP_WORKER_THREAD_LOCK)|(^VM_GAHP_LOG)\/ {\n \tprintf \"%s = NUL\\n\", $1\n \tnext\n }\n"}
{"commit":"4cff4f6031d8fa891550deae32010ee7001f63d0","subject":"stringify KBUILD_MODNAME","message":"stringify KBUILD_MODNAME\n","repos":"openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -1732,7 +1732,7 @@\n #define KBUILD_MODNAME \" base \"\\n\\\n \\n\\\n #ifdef KBUILD_MODNAME\\n\\\n-MODULE_INFO(name, KBUILD_MODNAME);\\n\\\n+MODULE_INFO(name, __stringify(KBUILD_MODNAME));\\n\\\n struct module __this_module\\n\\\n __attribute__((section(\\\".gnu.linkonce.this_module\\\"))) = {\\n\\\n \t.name = __stringify(KBUILD_MODNAME),\\\n"}
{"commit":"f47ba4822a1ea757e581110bf77e1c64756d412f","subject":"ctx: fetch `wpa_cli status` into ctx.wifi.*","message":"ctx: fetch `wpa_cli status` into ctx.wifi.*\n","repos":"robert-figura\/req,robert-figura\/req","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/ctx.awk\n+++ src\/ctx.awk\n@@ -56,4 +56,10 @@\n     setCtx(\"wdir\", ENVIRON[\"PWD\"])\n     if(get(\"ctx.file.dirname\"))\n \tsetCtx(\"wdir\", get(\"ctx.file.dirname\"))\n+\n+    # current wifi\n+    split(btick(\"wpa_cli status\"), m, \"\\n\")\n+    for(i = 1; i <= length(m); ++i)\n+\tif(match(m[i], \/^([^=]*)=(.*)$\/, a))\n+\t    setCtx(\"wifi_\" a[1], a[2])\n }\n"}
{"commit":"a3eea41f0d36f9f762eda21dc5aefe560e84131b","subject":"BUG#15734: Fix undefined awk behaviour breaking compilation on Debian.","message":"BUG#15734: Fix undefined awk behaviour breaking compilation on Debian.\n","repos":"davidl-zend\/zenddbi,natsys\/mariadb_10.2,natsys\/mariadb_10.2,natsys\/mariadb_10.2,davidl-zend\/zenddbi,ollie314\/server,davidl-zend\/zenddbi,ollie314\/server,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,ollie314\/server,ollie314\/server,natsys\/mariadb_10.2,ollie314\/server,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,ollie314\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,ollie314\/server,davidl-zend\/zenddbi,ollie314\/server,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,natsys\/mariadb_10.2,ollie314\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,ollie314\/server,ollie314\/server,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,davidl-zend\/zenddbi,slanterns\/server","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- bdb\/dist\/gen_rec.awk\n+++ bdb\/dist\/gen_rec.awk\n@@ -180,7 +180,7 @@\n \t\tt = types[i];\n \t\tif (modes[i] == \"POINTER\") {\n \t\t\tndx = index(t, \"*\");\n-\t\t\tt = substr(types[i], 0, ndx - 2);\n+\t\t\tt = substr(types[i], 1, ndx - 2);\n \t\t}\n \t\tprintf(\"\\t%s\\t%s;\\n\", t, vars[i]) >> HFILE\n \t}\n"}
{"commit":"fdcae6bde57d3575440d9b160443a9fd6f7d6ee6","subject":"Clean up series mismatch messages in Acorn","message":"Clean up series mismatch messages in Acorn\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -247,15 +247,15 @@\n         \/\\\/jamaicainn\\\/bonus\\\/|\\\/jamaicainn\\\/trailer\\\/|\\\/newworlds\\\/bonus\\\/|\\\/newtonslaw\\\/bonus\\\/\/ \\\n         && seasonNumber != 1) {\n         split (episodeURL, part, \"\/\")\n-        printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n-               part[4], part[5], seasonNumber) >> ERROR_FILE\n+        printf (\"==> Corrected S%02d: https:\/\/acorn.tv\/%s\/%s to S01\\n\", \\\n+               seasonNumber, part[4], part[5]) >> ERROR_FILE\n         seasonNumber = 1\n     }\n     # Plain christmasspecial, seriesfinale don't increment seasonNumber\n     if (episodeURL ~ \/\\\/christmasspecial\\\/|\\\/seriesfinale\\\/\/) {\n         split (episodeURL, part, \"\/\")\n-        printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n-               part[4], part[5], seasonNumber) >> ERROR_FILE\n+        printf (\"==> Corrected S%02d: https:\/\/acorn.tv\/%s\/%s to S%02d\\n\", \\\n+               seasonNumber, part[4], part[5], seasonNumber-1) >> ERROR_FILE\n         seasonNumber -= 1\n     }\n     #\n@@ -281,8 +281,8 @@\n         sub (\/christmasspecial\/,\"\",URLseasonNumber)\n         sub (\/[[:alpha:]]*\/,\"\",URLseasonNumber)\n         if (URLseasonNumber != seasonNumber) {\n-            printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n-               part[4], part[5], seasonNumber) >> ERROR_FILE\n+            printf (\"==> Corrected S%02d: https:\/\/acorn.tv\/%s\/%s to S%02d\\n\", \\\n+               seasonNumber, part[4], part[5], URLseasonNumber) >> ERROR_FILE\n             seasonNumber = URLseasonNumber\n         }\n     }\n"}
{"commit":"a46fe6383d39d7bf4bcc60fd96cd3b3c98863548","subject":"Fix MHz site's change to page=2 link","message":"Fix MHz site's change to page=2 link\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-seriesPages.awk\n+++ getMHzFrom-seriesPages.awk\n@@ -26,8 +26,8 @@\n # ---\n #       <a data-load-more=\"infinite_scroll: false;\" \\\n #       data-load-more-target=\"js-load-more-items-container\" \\\n-#       class=\"js-load-more-link btn btn-site-secondary btn-nowrap\" \\\n-#       href=\"\/detective-montalbano?page=2\">Show More<\/a>\n+#       class=\"js-load-more-link btn btn-site-secondary btn-nowrap\"\n+#       href=\"\/detective-montalbano?html=1&amp;page=2\">\n #\n # OUTPUT:\n #       $MARQUEE_FILE, $DESCRIPTION_FILE, $HEADER_FILE,\n@@ -120,7 +120,11 @@\n }\n \n # If there is more to load ...\n+#       href=\"\/detective-montalbano?html=1&amp;page=2\">\n \/class=\"js-load-more-link\/ {\n+    if (getline <= 0) {\n+        print \"==> Missing page=2 link: \" shortURL \"  \" seriesTitle >> ERROR_FILE\n+    }\n     sub (\/.*href=\"\/,\"https:\/\/watch.mhzchoice.com\")\n     sub (\/\">.*\/,\"\")\n     print $0 >> EPISODE_URL_FILE\n"}
{"commit":"3e191782ac52e7041730d54b786ccce4c4123c04","subject":"Remove translations from SIP server config (will move to sip2proxy)","message":"Remove translations from SIP server config (will move to sip2proxy)\n","repos":"digibib\/koha-docker,digibib\/koha-salt-docker,digibib\/koha-docker,digibib\/koha-salt-docker,digibib\/koha-salt-docker,digibib\/koha-salt-docker,digibib\/koha-docker,digibib\/koha-docker,digibib\/koha-docker,digibib\/koha-salt-docker,digibib\/koha-docker","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- files\/templates\/instance\/SIPconfig.template_account.awk\n+++ files\/templates\/instance\/SIPconfig.template_account.awk\n@@ -3,37 +3,5 @@\n }\n {\n \tprint \"\\t<login encoding=\\\"\"$1\"\\\" id=\\\"\"$2\"\\\" password=\\\"\"$3\"\\\" delimiter=\\\"|\\\" error-detect=\\\"enabled\\\" institution=\\\"\"$4\"\\\" checked_in_ok=\\\"1\\\">\"\n-\tprint \"\\t\\t<!-- General messages -->\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"^.*Invalid password.*$\\\" replace=\\\"Feil passord\\\" \/>\"\n-\tprint \"\\t\\t<!-- Checkout screen messages we can translate directly -->\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Item checked out to another patron.*$\\\" replace=\\\"Materialet er l\u00e5nt ut til en annen l\u00e5ner.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Item already checked out to you: renewing item.\\\" replace=\\\"Denne fornyes siden du allerede har l\u00e5nt den.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Item was reserved for you.\\\" replace=\\\"Du hadde reservert denne.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Item is reserved for another patron upon return.\\\" replace=\\\"Materialet er reservert av en annen l\u00e5ner.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Item already checked out to another patron.  Please return item for check-in.\\\" replace=\\\"Materialet er allerede l\u00e5nt ut til en annen l\u00e5ner. Vennligst returner det.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Outstanding Fines block issue.*\\\" replace=\\\"Du kan ikke l\u00e5ne grunnet utest\u00e5ende gebyrer.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Loan period reduced for high-demand item\\\" replace=\\\"L\u00e5neperioden er redusert pga stor ettersp\u00f8rsel\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Item is on hold shelf for another patron\\\" replace=\\\"Materialet st\u00e5r til avhenting av en annen l\u00e5ner\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Invalid Item\\\" replace=\\\"Ugyldig eksemplar\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Invalid Patron\\\" replace=\\\"Ugyldig l\u00e5nekort\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Invalid cardnumber\\\" replace=\\\"Ugyldig l\u00e5nekort\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"^.*Borrower.s card reported lost.*$\\\" replace=\\\"L\u00e5nekortet er meldt tapt. Vennligst kontakt personalet.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"^.*Borrower has no valid address.*$\\\" replace=\\\"Feil i adresse. Vennligst kontakt personalet.\\\" \/>\"\n-\tprint \"\\t\\t<!-- Renew -->\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Item unavailable due to outstanding holds\\\" replace=\\\"Materialet er utilgjengelig pga ventende reservasjoner\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Item has reached maximum renewals\\\" replace=\\\"Materialet kan ikke l\u00e5nes flere ganger\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"NO_MORE_RENEWALS[\\\\:]*\\\" replace=\\\"Maks antall fornyelser oversteget.\\\" \/>\"\n-\tprint \"\\t\\t<!-- Missing screen messages in Koha and other quirks -->\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"^.*Patron owes.+$\\\" replace=\\\"Du har utest\u00e5ende gebyrer - henvend deg til personalet.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"^Patron Blocked$\\\" replace=\\\"L\u00e5nekortet er sperret - henvend deg til personalet.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Aldersgrense\\\" replace=\\\"Du kan ikke l\u00e5ne denne - aldersgrense\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"TOO_MANY_CHECKOUTS\\\" replace=\\\"For mange utl\u00e5n\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"NOT_FOR_LOAN.*$\\\" replace=\\\"Materialet er ikke til utl\u00e5n.\\\" \/>\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"item_notforloan.*$\\\" replace=\\\"Materialet er ikke til utl\u00e5n.\\\" \/>\"\n-\tprint \"\\t\\t<!-- Bug 15438 - Checking out an on-hold item sends holder's borrowernumber in AF (screen message) field. -->\"\n-\tprint \"\\t\\t<!-- gjelder ogs\u00e5 utl\u00e5n av samme eksemplar to ganger -->\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"^\\d{1,}$\\\" replace=\\\"Materialet er allerede utl\u00e5nt\/reservert.\\\" \/>\"\n-\tprint \"\\t\\t<!-- Last resort -->\"\n-\tprint \"\\t\\t<screen_msg_regex find=\\\"Greetings from Koha.\\\" replace=\\\"Melding fra biblioteket:\\\" \/>\"\n \tprint \"\\t<\/login>\"\n }"}
{"commit":"013a5706179862e60fd579393a47a3c3d82cca36","subject":"Fixed formatting again.","message":"Fixed formatting again.","repos":"NaokiStones\/hivemall,NaokiStones\/hivemall,daijyc\/hivemall,tempbottle\/hivemall,daijyc\/hivemall,NaokiStones\/hivemall,naritta\/hivemall,daijyc\/hivemall,tempbottle\/hivemall,tempbottle\/hivemall,naritta\/hivemall,naritta\/hivemall","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- scripts\/misc\/one-vs-rest.awk\n+++ scripts\/misc\/one-vs-rest.awk\n@@ -3,7 +3,7 @@\n \tpossible_labels=$1;\n \trowid=$2;\n \tlabel=$3;\n-    features=$4;\n+\tfeatures=$4;\n \n \tlabel_count = split(possible_labels, label_array, \",\");\n  \t\n"}
{"commit":"94585bf852451b4ace261450cf838a7a052214b3","subject":"fixed space detection","message":"fixed space detection\n","repos":"libssh2\/libssh2,libssh2\/libssh2,libssh2\/libssh2,libssh2\/libssh2","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- get_ver.awk\n+++ get_ver.awk\n@@ -1,7 +1,7 @@\n # fetch libssh2 version number from input file and write them to STDOUT\n BEGIN {\n   while ((getline < ARGV[1]) > 0) {\n-    if (match ($0, \/^#define LIBSSH2_VERSION[\\s|\\t]+\"[^\"]+\"\/)) {\n+    if (match ($0, \/^#define LIBSSH2_VERSION[ |\\t]+\"[^\"]+\"\/)) {\n       my_ver_str = substr($3, 2, length($3) - 2);\n       split(my_ver_str, v, \".\");\n       if (v[3])\n"}
{"commit":"4aea0c569d38c86c7269defb9650213bc807106e","subject":"fix comments in the git log massager to explain what format it processes","message":"fix comments in the git log massager to explain what format it processes\n","repos":"tadhunt\/repostats","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- src\/log-massage.awk\n+++ src\/log-massage.awk\n@@ -1,34 +1,9 @@\n #!\/bin\/awk\n-# commit 989fb6102add218589e8779c76fd61f91e113684\n-# Author: Tad Hunt <tadhunt@tad-hunts-macbook-pro.local>\n-# Date:   2009-11-30\n-# \n-#     ignore objects\n-# \n-# 4       0       .gitignore\n-# \n-# commit 54f97a5baf887f0d2a73745efaa0a647ed20512e\n-# Author: Tad Hunt <tadhunt@tad-hunts-macbook-pro.local>\n-# Date:   2009-11-30\n-# \n-#     reorg & add pitch\n-# \n-# 0       46      Makefile\n-# 0       62      bwcalc.c\n-# 0       32      dedupgain.sh\n-# 0       56      dedupgaintree.sh\n-# 0       391     sha1block.c\n-# 0       73      sha1speed.c\n-# 46      0       src\/Makefile\n-# 62      0       src\/bwcalc.c\n-# 32      0       src\/dedupgain.sh\n-# 56      0       src\/dedupgaintree.sh\n-# 391     0       src\/sha1block.c\n-# 73      0       src\/sha1speed.c\n-# \n-# commit 509aff7e53df7406749274d943ed573a0a78af02\n-# ...\n-# \n+#\n+# This script parses the git log output from the following git command, and turns it into csv\n+#\n+#\tgit log --reverse --numstat --date=short\n+#\n BEGIN {\n \tstderr = \"\/dev\/stderr\"\n \n@@ -37,7 +12,6 @@\n #\t\t\"Number of Insertions\",\n #\t\t\"Number of Deletions\",\n #\t\t\"Author\",\n-#\t\t\"Date\",\n #\t\t\"Filename\")\n \n \tlast = \"none\"\n"}
{"commit":"2eff19e375bac6e2da46db8b36d874fd7498df16","subject":"add call of close() in sleep()","message":"add call of close() in sleep()\n","repos":"takubo\/awk_lib","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- lib_util.awk\n+++ lib_util.awk\n@@ -47,7 +47,7 @@\n function rep(str, num,     res) { while (num--) res = res str; return res }\n \n # sleep\n-function sleep(sec,    dummy) { \"sleep \" sec | getline dummy }\n+function sleep(sec,    dummy) { \"sleep \" sec | getline dummy ; close(\"sleep \" sec) }\n \n # length of multi bytes character string\n #function wlength(str) { gsub(\/.\/, \"a\", str); return blength(str) }\n"}
{"commit":"c4bce9b8ec9720c3e95f114414f8c9bcf44b5dad","subject":"remove groff -D option (fix #40)","message":"remove groff -D option (fix #40)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -93,7 +93,7 @@\n         if (RSTART) {\n             if (ENVIRON[\"TRANS_MANPAGE\"])\n                 system(\"echo -E \\\"${TRANS_MANPAGE}\\\" | \" \\\n-                       \"groff -Wall -mtty-char -mandoc -Tutf8 -Dutf8 -rLL=${COLUMNS}n -rLT=${COLUMNS}n | \" \\\n+                       \"groff -Wall -mtty-char -mandoc -Tutf8 -rLL=${COLUMNS}n -rLT=${COLUMNS}n | \" \\\n                        (system(\"most 2>\/dev\/null\") ?\n                         \"less -s -P\\\"\\\\ \\\\Manual page \" Command \"(1) line %lt (press h for help or q to quit)\\\"\" :\n                         \"most -Cs\"))\n"}
{"commit":"2934c61019d6dc50b88af0a36eba31dbb365dd43","subject":"Fixed comments at beginning of program","message":"Fixed comments at beginning of program\n","repos":"aFewBits\/stc-led-clock,aFewBits\/stc-led-clock","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- segTable\/generate_all.awk\n+++ segTable\/generate_all.awk\n@@ -4,7 +4,10 @@\n # - input two seperate data files and output transliterated characters\r\n #\r\n # file1 format is \"hexnum chars\" where hexnum = hex entry index, char = \"on\" led segmemts\r\n-# file2 consists a stream of \"abcdefgh\" char lists\r\n+# file2 consists a index and a text string\r\n+# file3 is a template file for the output of the text strings after translation\r\n+#  into an LED segment pattern.\r\n+#  This output is then included in the source stream for complilation\r\n #\r\n # file1 converts raw led segment letters to a translated hex number\r\n # which is stored in an array with the characters hex number being the index\r\n@@ -16,14 +19,42 @@\n #   ... repeats for 127 chars total\r\n #\r\n # file2:\r\n-#   CL\r\n-#   AL\r\n-#   BEEP\r\n-#\r\n-# output:\r\n-#   CL      0x31,0x4A   \/\/ CL\r\n-#   AL      0x37,0x48   \/\/ AL\r\n-#   BEEP    0x6A,0x88,0x9F,0x4C \/\/ BEEP\r\n+#\r\n+#    <41>  SEt,_\r\n+#    <42>  bEE,P\r\n+#\r\n+# Where <41> is the pattern used for matching in the output template file.\r\n+#\r\n+# file3:\r\n+#\r\n+#  #if DIGIT_3_FLIP\r\n+#      <4F1>\r\n+#      <4F2>\r\n+#\r\n+# This template has <4F1> replaced with the hex code for string <41> with the character rotated\r\n+# (flipped) 180 degrees. In other locations, you will see the index markers:\r\n+#\r\n+#  #else\r\n+#      <4N1>\r\n+#      <4N2>\r\n+#\r\n+# Where the \"N\" character in the marker means do not flip or rotate the character pattern\r\n+# This is only needed in the third digit position due to lazy hardware engineers.\r\n+#\r\n+# The output from this GAW program thus becomes:\r\n+#\r\n+#  #if DIGIT_3_FLIP\r\n+#      0x92,0x86,0xB8,0xFF,       \/\/ SEt_\r\n+#      0x83,0x86,0xB0,0x8C,       \/\/ bEEP\r\n+#\r\n+# and lower in the listing:\r\n+#\r\n+#  #else\r\n+#      0x92,0x86,0x87,0xFF,       \/\/ SEt\r\n+#      0x83,0x86,0x86,0x8C,       \/\/ bEEP\r\n+#\r\n+# Note the difference in the value of the third hex number, this is\r\n+# the \"flipped\" LED segment pattern\r\n #\r\n BEGIN {\r\n \r\n"}
{"commit":"3cd0d13aa62d6c10477036360563b8f818b2ab60","subject":"cellify tweaks","message":"cellify tweaks\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/cell-ify-eparams.awk\n+++ bin\/util\/cell-ify-eparams.awk\n@@ -131,12 +131,15 @@\n    }\n \n    if( $1 == \"ov:csvHeader\" ) {\n-      current_header=$2;\n+      current_header=$2; # Old approach missed header after first space.\n+      current_header=$0; gsub(\/^[^\"]*\"\/,\"\",current_header);\n+                         gsub(\/\".*$\/,   \"\",current_header);\n       gsub(\/\"\/,\"\",current_header);\n       gsub(\/;\/,\"\",current_header);\n       print annotate(\"         a scovo:Item;\",PADDING,\"\");\n+      print annotate(\"         a qb:Observation;\",PADDING,\"\");\n    }\n-   if( length(label_up) > 0 && $1 == \"conversion:label\" ) {\n+   if( length(label_up) > 0 && ( $1 == \"conversion:label\" || $1 == \"#conversion:label\" ) ) {\n       datatype = length(up_range) > 0 ? \"^^\"up_range : \"\";\n       if( up_object == \":\" ) {\n          print annotate(\"         conversion:object :\"current_header\";\",PADDING,\"\");\n"}
{"commit":"7a6668d2cdf2dff4303c3e10ee53a58061cc790b","subject":"INTEGRATION: CWS localedata5 (1.4.36); FILE MERGED 2005\/05\/31 16:53:15 er 1.4.36.1: [NatNum#] is not a currency","message":"INTEGRATION: CWS localedata5 (1.4.36); FILE MERGED\n2005\/05\/31 16:53:15 er 1.4.36.1: [NatNum#] is not a currency\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/currency-check.awk\n+++ i18npool\/source\/localedata\/data\/currency-check.awk\n@@ -83,7 +83,7 @@\n         split( arr[3], code, \/(\\[\\$)|(-[0-9a-fA-F]+\\])\/ )\n         for ( j in code )\n         {\n-            if ( code[j] && code[j] !~ \/\\#|0\/ )\n+            if ( code[j] && code[j] !~ \/\\#|0|\\[NatNum\/ )\n             {\n                 FormatLine[nFormats] = file \" line \" line\n                 FormatAuto[nFormats] = bFormatAuto\n"}
{"commit":"bfbee8502711881fe83a47a3c0f0660042a13efd","subject":"comments","message":"comments\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/generate-URI_label.awk\n+++ scripts\/generate-URI_label.awk\n@@ -1,20 +1,21 @@\n #! \/usr\/bin\/awk -f\n-# generate-URI_label.awk\n+# ${DIPPER}\/scripts\/generate-URI_label.awk \\\n # ${DIPPER}\/dipper\/curie_map.yaml ${DIPPER}\/translationtable\/GLOBAL_TERMS.yaml\n \n # Reconstitutes the label an URI has based on Dipper's mapping files.\n+# note: this relies on uninforced yaml quoting disipline\n \n-# curie_map.yaml    'pfx': 'buri'\n+# in: curie_map.yaml    'pfx': 'buri'\n NR == FNR && !\/^#\/{\n \tFS=\"'\"\n \ta[$2]=$4\n }\n \n-# GLOBAL_TERMS.yaml  \"label\": \"curie\",\n+# in: GLOBAL_TERMS.yaml  \"label\": \"curie\",\n NR != FNR && !\/^#\/{\n \tFS=\"\\\"\"\n \tsplit($4, t,\":\");\n \tif(t[1] in a)\n \t\tprint a[t[1]] t[2] \"\\t\" $2\n }\n-\n+# out: URI label\n"}
{"commit":"e93c8bb2a9a70f4193c71b9b02b79b2bfe04c935","subject":"Remove extraneous \\","message":"Remove extraneous \\\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFromSitemap.awk\n+++ getBBoxCatalogFromSitemap.awk\n@@ -260,11 +260,11 @@\n     if (title == \"A Midsummer Night's Dream\") {\n         if (EntityId == \"_26179\") {\n             revisedTitles += 1\n-            printf (\"==> Changed title '%s' to 'A Midsummer Night\\'s Dream (1981)'\\n\", title) >> ERRORS\n+            printf (\"==> Changed title '%s' to 'A Midsummer Night's Dream (1981)'\\n\", title) >> ERRORS\n             title = \"A Midsummer Night's Dream (1981)\"\n         } else if (EntityId == \"_15999\") {\n             revisedTitles += 1\n-            printf (\"==> Changed title '%s' to 'A Midsummer Night\\'s Dream (2016)'\\n\", title) >> ERRORS\n+            printf (\"==> Changed title '%s' to 'A Midsummer Night's Dream (2016)'\\n\", title) >> ERRORS\n             title = \"A Midsummer Night's Dream (2016)\"\n         }\n         # print \"==> title = \" title > \"\/dev\/stderr\"\n"}
{"commit":"7cdc11deba965ac3c6d2c04a3d85a65266c1a888","subject":"Don't pass \/&amp; to csv files","message":"Don't pass \/&amp; to csv files\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxFrom-scrapy_xml.awk\n+++ getBritBoxFrom-scrapy_xml.awk\n@@ -8,6 +8,7 @@\n     sub (\/<\\\/item>$\/,\"\")\n     gsub (\/<value>\/,\"\")\n     gsub (\/<\\\/value>\/,\"\")\n+    gsub (\/&amp;\/,\"\\\\&\")\n }\n \n # if needed for debugging record placment, replace \"\/nosuchrecord\/\" below\n"}
{"commit":"3145806bf1ae34437ba0b077295f495a62d0373a","subject":"Filter out current year","message":"Filter out current year\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@24401 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,6 +8,7 @@\n \n {\n   # add a loop to add line only if ending year is gt or eq to contract year\n+  current_year = 2013\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n@@ -21,7 +22,9 @@\n   }\n   #printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", $1,$2,$3,$4,$7,end_year,test_year\n   if (end_year >= test_year) {\n-    incontract = 1\n+    if ((end_year < current_year) || ((end_year >= current_year) && (incl_cur == 1))) {\n+      incontract = 1\n+    }\n   } \n \n   if (incontract == 1) {\n"}
{"commit":"ffe4f274e9cd18a8d4b913cc1d9bbdda387a3bc5","subject":"bump version to 0.9.1-dev","message":"bump version to 0.9.1-dev\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- metainfo.awk\n+++ metainfo.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n     Name        = \"Translate Shell\"\n     Description = \"Google Translate to serve as a command-line tool\"\n-    Version     = \"0.9.0.7\"\n+    Version     = \"0.9.1-dev\"\n     ReleaseDate = \"2015-06-08\"\n     Command     = \"trans\"\n     EntryPoint  = \"translate.awk\"\n"}
{"commit":"c9c26821de119920373cc884c21a4348668eb02b","subject":"Fixes for untime","message":"Fixes for untime\n\nSkip RIL files, and a sp fix I missed\n","repos":"mateor\/auto-patcher,mateor\/auto-patcher,mateor\/auto-patcher","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- diff_tools\/untime.awk\n+++ diff_tools\/untime.awk\n@@ -1,9 +1,9 @@\n # remove time stamp\n \/^--- stock_\/  { print $1 \" \" $2; next; }\n-\/^+++ moded_\/ { print $1 \" \" $2; next; }\n+\/^+++ modded_\/ { print $1 \" \" $2; next; }\n \n # convert obsolete form\n-\/^diff -Npru \/  { sub(\/diff -Npru \/, \"diff -NpruEbB \"); }\n+\/^diff -Npru \/  { sub(\/diff -Npru \/, \"diff -NpruEbB -x '*RIL'\"); }\n \/stock-\/  { sub(\/stock-\/, \"stock_\"); sub(\/modded-\/, \"modded_\"); print; next; }\n \n # keep rest of file as is:\n"}
{"commit":"8bd3e890fcdef23f61840c00d2acd9fa7efe073b","subject":"Use float for calculating fractional part of STARTTIME to support busybox awk. Also print used start time is various representations.","message":"Use float for calculating fractional part of STARTTIME to support busybox awk.\nAlso print used start time is various representations.\n\nCompared to gawk, busybox awk does only support 32 bit integers.\n","repos":"tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- recipes-core\/systemd\/systemd-units\/candump.awk\n+++ recipes-core\/systemd\/systemd-units\/candump.awk\n@@ -3,8 +3,11 @@\n     {\n         startTimestamp = substr($1, 2, length($1) - 2)\n         printf(\";$FILEVERSION=1.3\\n\")\n-        printf(\";$STARTTIME=%u.%u\\n\", mktime(strftime(\"%Y %m %d 0 0 0\", startTimestamp)) \/ 86400 + 25569, \\\n-                10000000000 \/ 86400 * (mktime(strftime(\"%Y %m %d %H %M %S\", startTimestamp)) - mktime(strftime(\"%Y %m %d 0 0 0\", startTimestamp))))\n+        printf(\";$STARTTIME=%u.%.0f\\n\", mktime(strftime(\"%Y %m %d 0 0 0\", startTimestamp)) \/ 86400 + 25569, \\\n+                10000000000.0 \/ 86400.0 * (mktime(strftime(\"%Y %m %d %H %M %S\", startTimestamp)) - mktime(strftime(\"%Y %m %d 0 0 0\", startTimestamp))))\n+        printf(\";\\n; Start time: %s\\n\", startTimestamp)\n+        printf(\";             %u\\n\", mktime(strftime(\"%Y %m %d %H %M %S\", startTimestamp)))\n+        printf(\";             %s\\n;\\n\", strftime(\"%Y-%m-%dT%H:%M:%S%z (%Z)\", startTimestamp))\n         currentTimeOffset = 0.0\n     }\n     else\n"}
{"commit":"61c1af3336e91144fadeffe1a479e2a0f10cdfd1","subject":"make this extensible and do not omit inherited without patterns","message":"make this extensible and do not omit inherited without patterns\n\nChange-Id: I97a554169637740aab4282b303a32f476f294e2f\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk\n+++ i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk\n@@ -23,7 +23,9 @@\n         --ARGC\n     }\n     file = \"\"\n-    nopatterns = 0\n+    offlocale = 0\n+    offpatterns = 1\n+    offinherit = 2\n     inheritedcount = 0\n     if (html)\n         print \"<p>\"\n@@ -58,6 +60,11 @@\n END {\n     if (file)\n         endFile()\n+\n+    PROCINFO[\"sorted_in\"] = \"@ind_str_asc\"\n+\n+    fillAllInherited()\n+\n     if (html)\n     {\n         print \"<\/ul>\"\n@@ -70,19 +77,19 @@\n     if (html)\n     {\n         print \"<br>\"\n-        for (i=0; i<inheritedcount; ++i)\n+        for (i in LocaleList)\n         {\n-            if (LocaleHasPatterns[InheritedList[i][1]])\n-                print InheritedList[i][0] \" = \" InheritedList[i][1] \"&nbsp;&nbsp;&nbsp; \"\n+            if (LocaleList[i][offinherit] && LocaleList[i][offpatterns])\n+                print LocaleList[i][offlocale] \" = \" LocaleList[i][offinherit] \"&nbsp;&nbsp;&nbsp; \"\n         }\n         print \"\\n<p>\"\n     }\n     else\n     {\n-        for (i=0; i<inheritedcount; ++i)\n+        for (i in LocaleList)\n         {\n-            if (LocaleHasPatterns[InheritedList[i][1]])\n-                print InheritedList[i][0] \" = \" InheritedList[i][1]\n+            if (LocaleList[i][offinherit] && LocaleList[i][offpatterns])\n+                print LocaleList[i][offlocale] \" = \" LocaleList[i][offinherit]\n         }\n         print \"\\n\"\n     }\n@@ -95,16 +102,18 @@\n         print \"<p>\"\n     if (html)\n     {\n-        for (i=0; i<nopatterns; ++i)\n+        for (i in LocaleList)\n         {\n-            print NoPatternList[i] \"&nbsp;&nbsp;&nbsp; \"\n+            if (!LocaleList[i][offpatterns])\n+                print LocaleList[i][offlocale] \"&nbsp;&nbsp;&nbsp; \"\n         }\n     }\n     else\n     {\n-        for (i=0; i<nopatterns; ++i)\n+        for (i in LocaleList)\n         {\n-            print NoPatternList[i]\n+            if (!LocaleList[i][offpatterns])\n+                print LocaleList[i][offlocale]\n         }\n     }\n }\n@@ -112,7 +121,8 @@\n \n function endFile() {\n     locale =  getLocale( file)\n-    LocaleHasPatterns[locale] = patterns\n+    LocaleList[locale][offlocale] = locale\n+    LocaleList[locale][offpatterns] = patterns\n     if (patterns)\n     {\n         if (html)\n@@ -135,21 +145,31 @@\n         }\n     }\n     else if (inherited)\n-    {\n-        InheritedList[inheritedcount][0] = locale\n-        InheritedList[inheritedcount][1] = inherited\n-        ++inheritedcount\n-    }\n-    else\n-        NoPatternList[nopatterns++] = locale\n+        LocaleList[locale][offinherit] = inherited\n }\n \n \n-function getLocale( file, tmp ) {\n+function getLocale( file,       tmp ) {\n     tmp = file\n     gsub( \/.*\\\/\/, \"\", tmp )\n     gsub( \/\\.xml\/, \"\", tmp )\n     return tmp\n }\n \n+\n+function fillInherited( locale ) {\n+    if (!LocaleList[locale][offpatterns] && LocaleList[locale][offinherit])\n+        LocaleList[locale][offpatterns] = fillInherited( LocaleList[locale][offinherit])\n+    return LocaleList[locale][offpatterns]\n+}\n+\n+\n+function fillAllInherited(      i ) {\n+    for (i in LocaleList)\n+    {\n+        if (!LocaleList[i][offpatterns] && LocaleList[i][offinherit])\n+            LocaleList[i][offpatterns] = fillInherited( LocaleList[i][offinherit])\n+    }\n+}\n+\n # vim:set shiftwidth=4 softtabstop=4 expandtab:\n"}
{"commit":"e8df80ba9ef1071eb9703de75d40446eecee1289","subject":"bump version to 0.9.1-dev","message":"bump version to 0.9.1-dev\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- metainfo.awk\n+++ metainfo.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n     Name        = \"Translate Shell\"\n     Description = \"Google Translate to serve as a command-line tool\"\n-    Version     = \"0.9.0.8\"\n+    Version     = \"0.9.1-dev\"\n     ReleaseDate = \"2015-09-01\"\n     Command     = \"trans\"\n     EntryPoint  = \"translate.awk\"\n"}
{"commit":"27fd4decadbcf3241ce163bf7f897ebe23052b46","subject":"Callouts in docs are now processed language-specific. Python uses '#' to comment them out, all other languages will currently fall back to '\/\/'.","message":"Callouts in docs are now processed language-specific. Python uses '#' to comment them out, all other languages will currently fall back to '\/\/'.\n","repos":"jorgebay\/tinkerpop,newkek\/incubator-tinkerpop,newkek\/incubator-tinkerpop,BrynCooke\/incubator-tinkerpop,artem-aliev\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop,artem-aliev\/tinkerpop,jorgebay\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,samiunn\/incubator-tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,apache\/incubator-tinkerpop,artem-aliev\/tinkerpop,pluradj\/incubator-tinkerpop,BrynCooke\/incubator-tinkerpop,apache\/incubator-tinkerpop,samiunn\/incubator-tinkerpop,jorgebay\/tinkerpop,artem-aliev\/tinkerpop,pluradj\/incubator-tinkerpop,robertdale\/tinkerpop,BrynCooke\/incubator-tinkerpop,apache\/tinkerpop,newkek\/incubator-tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,jorgebay\/tinkerpop,krlohnes\/tinkerpop,samiunn\/incubator-tinkerpop,robertdale\/tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/preprocessor\/awk\/prepare.awk\n+++ docs\/preprocessor\/awk\/prepare.awk\n@@ -20,6 +20,7 @@\n #\n BEGIN {\n   p = 0\n+  c = \"\/\/\"\n }\n \n function escape_string(string) {\n@@ -32,7 +33,7 @@\n }\n \n function transform_callouts(code) {\n-  return gensub(\/\\s*((<[0-9]+>\\s*)*<[0-9]+>)\\s*$\/, \" \/\/\/\/ \\\\1\", \"g\", code)\n+  return gensub(\/\\s*((<[0-9]+>\\s*)*<[0-9]+>)\\s*$\/, \" \" c c \" \\\\1\", \"g\", code)\n }\n \n function remove_callouts(code) {\n@@ -66,6 +67,18 @@\n \n \/^\\[gremlin-\/ {\n   inCodeSection = 1\n+  split($0, a, \"-\")\n+  b = gensub(\/]'\/, \"\", \"g\", a[2])\n+  split(b, l, \",\")\n+  lang = l[1]\n+  switch (lang) {\n+    case \"python\":\n+      c = \"#\"\n+      break\n+    default:\n+      c = \"\/\/\"\n+      break\n+  }\n }\n \n END {\n"}
{"commit":"3f8e27a7c9fbd0f6b2fd4e3dd5dd17d5ea3f61f5","subject":"documented CSV2RDF4LOD_CONVERT_PERSON_URI and MACHINE and changed output if missing headers2params2.awk","message":"documented CSV2RDF4LOD_CONVERT_PERSON_URI and MACHINE and changed output if missing headers2params2.awk\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -71,11 +71,17 @@\n    printf(\"@prefix :           <%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/%s> .\\n\",surrogate,sourceID,datasetID,datasetVersion,STEP);\n \n                                      print\n-   if(length(person_uri)&&length(machine_uri)&&length(whoami)) {\n+   if( length(machine_uri) && length(whoami) ) {\n+      if(length(person_uri)) {\n                                     printf(\"<%s> foaf:holdsAccount <%s%s> .\\n\",person_uri,machine_uri,whoami);\n-                                    printf(\"<%s%s>\\n   a foaf:OnlineAccount;\\n   foaf:accountName \\\"%s\\\";\\n   sioc:account_of <%s>;\\n.\\n\",machine_uri,whoami,whoami,person_uri);\n+      }\n+                                    printf(\"<%s%s>\\n   a foaf:OnlineAccount;\\n   foaf:accountName \\\"%s\\\";\\n\",machine_uri,whoami,whoami);\n+      if(length(person_uri)) {\n+                                    printf(\"   sioc:account_of <%s>;\\n\",machine_uri);\n+      }\n+                                    printf(\".\\n\");\n    }else if(length(person_uri)&&length(whoami)) {\n-                                    printf(\"<%s> dcterms:identifier <%s> .\\n\",person_uri,whoami);\n+                                    printf(\"<%s> dcterms:identifier \\\"%s\\\" .\\n\",person_uri,whoami);\n    }\n                                      print\n                                      print \":dataset a void:Dataset;\"\n@@ -92,10 +98,13 @@\n                                      print\n    if(length(person_uri)&&length(machine_uri)&&length(whoami)) {\n                                     printf(\"      dcterms:creator <%s%s>;\\n\",machine_uri,whoami);\n-   }else if(length(person_uri)) {\n-                                    printf(\"      dcterms:creator \\\"%s\\\";\\n\",person_uri);\n+   }else if(length(machine_uri) && length(whoami)) {\n+                                    printf(\"      dcterms:creator <%s%s>;\\n\",machine_uri,whoami); # TODO: same as above.\n+   }else if(length(person_uri)  && length(whoami)) {\n+                                    printf(\"      dcterms:creator [ a foaf:OnlineAccount; foaf:accountName \\\"%s\\\";\\n\",whoami);\n+                                    printf(\"                        sioc:account_of <%s> ];\\n\",person_uri);\n    }else if(length(whoami)) {\n-                                    printf(\"      dcterms:creator \\\"%s\\\";\\n\",whoami);\n+                                    printf(\"      dcterms:creator [ a foaf:OnlineAccount; foaf:accountName \\\"%s\\\" ];\\n\",whoami);\n    }\n    if(length(nowXSD)) {\n                                     printf(\"      dcterms:created \\\"%s\\\"^^xsd:dateTime;\\n\",nowXSD);\n"}
{"commit":"6b362dd41ae9b8fea95d2e20b4a4593e08617264","subject":"fixes comment","message":"fixes comment\n","repos":"nellore\/omfgene,nellore\/omfgene","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- omfgene.awk\n+++ omfgene.awk\n@@ -14,7 +14,7 @@\n }\n \n # Parse SAM\n-# If primary alignment AND mate mapped AND (mate is on different chr OR mate is more than 500k away)\n+# If mate mapped AND (mate is on different chr OR mate is more than 500k away)\n # print alignments rounded to nearest 100\n # Format: mate 1 chrom TAB mate 1 rounded coordinate TAB mate 2 chrom TAB mate 2 rounded coordinate TAB 1 if secondary else 0\n $7 != \"*\" && ($7 != \"=\" && $7 != $3 || (abs($4-$8) > 500000)) {\n"}
{"commit":"00393c588bdfe28d26e1a510a3caff6258054518","subject":"Typo.","message":"Typo.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@7046 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- test\/scripts\/tdb.awk\n+++ test\/scripts\/tdb.awk\n@@ -271,7 +271,7 @@\n   _pub = xml(getValue($3))\n   printf  \" <property name=\\\"org.lockss.titleSet\\\">\\n\"\n   printf  \"\\n\"\n-  printf  \"  <property name=\\\"%s\\\">\\n\", _pub)\n+  printf  \"  <property name=\\\"%s\\\">\\n\", _pub\n   printOneXmlProperty(\"name=All \" _pub \" Titles\")\n   printOneXmlProperty(\"class=xpath\")\n   printOneXmlProperty(\"xpath=[attributes\/publisher='\" _pub \"']\")\n"}
{"commit":"bb537b76f6d4f9406c180fdd4bc997f09e68faa7","subject":"Languages: getCode(): remove unidentified region or script code","message":"Languages: getCode(): remove unidentified region or script code\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1785,15 +1785,20 @@\n }\n \n # Get locale key by language code or alias.\n-function getCode(code) {\n+function getCode(code,    group) {\n     if (code == \"auto\" || code in Locale)\n         return code\n     else if (code in LocaleAlias)\n         return LocaleAlias[code]\n     else if (tolower(code) in LocaleAlias)\n         return LocaleAlias[tolower(code)]\n-    else\n-        return # return nothing if not found\n+\n+    # Remove unidentified region or script code\n+    match(code, \/^([[:alpha:]][[:alpha:]][[:alpha:]]?)-(.*)$\/, group)\n+    if (group[1])\n+        return group[1]\n+\n+    return # return nothing if not found\n }\n \n # Return the name of a language.\n"}
{"commit":"56f67de3f254398647c73f4fef849320a732831a","subject":"Languages: add Assamese language","message":"Languages: add Assamese language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -26,6 +26,19 @@\n     Locale[\"am\"][\"iso\"]                = \"amh\"\n     Locale[\"am\"][\"glotto\"]             = \"amha1245\"\n     Locale[\"am\"][\"script\"]             = \"Ethi\"\n+\n+    #? Assamese\n+    Locale[\"as\"][\"name\"]               = \"Assamese\"\n+    Locale[\"as\"][\"endonym\"]            = \"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be\"\n+    #Locale[\"as\"][\"translations-of\"]\n+    #Locale[\"as\"][\"definitions-of\"]\n+    #Locale[\"as\"][\"synonyms\"]\n+    #Locale[\"as\"][\"examples\"]\n+    #Locale[\"as\"][\"see-also\"]\n+    Locale[\"as\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"as\"][\"iso\"]                = \"asm\"\n+    Locale[\"as\"][\"glotto\"]             = \"assa1263\"\n+    Locale[\"as\"][\"script\"]             = \"Beng\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"38feb1ef3840a7c4aa8b70e4d1570675697a53ae","subject":"include locales inheriting patterns","message":"include locales inheriting patterns\n\nChange-Id: I06f4578f6d681064a8e41e4bef45a7034b7b5a64\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk\n+++ i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk\n@@ -8,8 +8,11 @@\n # file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n \n # Usage: gawk -f list-dateacceptancepattern.awk *.xml [--html]\n-# Outputs two lists of locales, one with DateAcceptancePattern elements\n-# defined, and one where none are defined.\n+#\n+# Outputs three lists of locales, one with DateAcceptancePattern elements\n+# defined, one with inherited LC_FORMAT elements and thus date patterns, and\n+# one where no DateAcceptancePattern are defined.\n+#\n # If --html is given as the last parameter, format output suitable for\n # inclusion in HTML.\n \n@@ -21,6 +24,7 @@\n     }\n     file = \"\"\n     nopatterns = 0\n+    inheritedcount = 0\n     if (html)\n         print \"<p>\"\n     else\n@@ -36,7 +40,7 @@\n         endFile()\n     file = FILENAME\n     patterns = 0\n-    noFormatCode = 1\n+    inherited = \"\"\n }\n \n \/<DateAcceptancePattern>\/ {\n@@ -44,10 +48,10 @@\n     pattern[patterns++] = a[3]\n }\n \n-# No FormatCode element means inherited LC_FORMAT ref=...\n-# hence pattern inherited as well.\n-\/<FormatCode>\/ {\n-    noFormatCode = 0\n+# pattern inherited as well\n+\/<LC_FORMAT[^>]* ref=\"[^>\"]+\"[^>]*>\/ {\n+    split( $0, a, \/.* ref=\"|\"\/ )\n+    inherited = a[2]\n }\n \n \n@@ -61,6 +65,28 @@\n     }\n     else\n         print \"\\n\"\n+\n+    print \"Locales inheriting patterns:\"\n+    if (html)\n+    {\n+        print \"<br>\"\n+        for (i=0; i<inheritedcount; ++i)\n+        {\n+            if (LocaleHasPatterns[InheritedList[i][1]])\n+                print InheritedList[i][0] \" = \" InheritedList[i][1] \"&nbsp;&nbsp;&nbsp; \"\n+        }\n+        print \"\\n<p>\"\n+    }\n+    else\n+    {\n+        for (i=0; i<inheritedcount; ++i)\n+        {\n+            if (LocaleHasPatterns[InheritedList[i][1]])\n+                print InheritedList[i][0] \" = \" InheritedList[i][1]\n+        }\n+        print \"\\n\"\n+    }\n+\n     print \"Locales without explicit DateAcceptancePattern elements:\"\n     if (html)\n         print \"<br>\"\n@@ -85,11 +111,13 @@\n \n \n function endFile() {\n+    locale =  getLocale( file)\n+    LocaleHasPatterns[locale] = patterns\n     if (patterns)\n     {\n         if (html)\n         {\n-            print \"  <li> \" getLocale( file) \":\"\n+            print \"  <li> \" locale \":\"\n             print \"  <ul>\"\n             for ( i=0; i<patterns; ++i )\n             {\n@@ -99,15 +127,21 @@\n         }\n         else\n         {\n-            print getLocale( file) \":\"\n+            print locale \":\"\n             for ( i=0; i<patterns; ++i )\n             {\n                 print \"    \" pattern[i]\n             }\n         }\n     }\n-    else if (!noFormatCode)\n-        NoPatternList[nopatterns++] = getLocale( file)\n+    else if (inherited)\n+    {\n+        InheritedList[inheritedcount][0] = locale\n+        InheritedList[inheritedcount][1] = inherited\n+        ++inheritedcount\n+    }\n+    else\n+        NoPatternList[nopatterns++] = locale\n }\n \n \n"}
{"commit":"ad16520c38c97ba1461593b56a4fbb24738b61ba","subject":"Convert transcript to all lower case","message":"Convert transcript to all lower case\n\n\ngit-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@1411 94700074-3cef-4d97-a70e-9c8c206c02f5\n","repos":"deepstupid\/sphinx5","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/unbundleHub4.awk\n+++ scripts\/unbundleHub4.awk\n@@ -74,6 +74,7 @@\n             transcript = transcript \" \" $i;\n         }\n     }\n+    transcript = tolower(transcript);\n \n \n     audioName = directory source \".\" audioCount \".\" speechClass \".raw\";\n"}
{"commit":"a605f127ec7f3e1a5ee63f67538ee3a9e418871b","subject":"remove the influence of LC_ALL environment locale","message":"remove the influence of LC_ALL environment locale\n\nFixes #3539\n","repos":"nieyy\/cockroach,paperstreet\/cockroach,il9ue\/cockroach,vivekmenezes\/cockroach,vaibhavarora\/cockroach,glycerine\/cockroach,petermattis\/cockroach,arjun4084346\/cockroach,il9ue\/cockroach,paperstreet\/cockroach,sunya123\/cockroach,petermattis\/cockroach,cuongdo\/cockroach,marcuswestin\/cockroach,cockroachdb\/cockroach,cuongdo\/cockroach,vaibhavarora\/cockroach,arjun4084346\/cockroach,marcuswestin\/cockroach,vaibhavarora\/cockroach,maxlang\/cockroach,bg451\/cockroach,veteranlu\/cockroach,vivekmenezes\/cockroach,cockroachdb\/cockroach,maxlang\/cockroach,petermattis\/cockroach,vaibhavarora\/cockroach,sunya123\/cockroach,nieyy\/cockroach,il9ue\/cockroach,il9ue\/cockroach,vivekmenezes\/cockroach,glycerine\/cockroach,cockroachdb\/cockroach,petermattis\/cockroach,nieyy\/cockroach,petermattis\/cockroach,glycerine\/cockroach,paperstreet\/cockroach,veteranlu\/cockroach,petermattis\/cockroach,cockroachdb\/cockroach,cuongdo\/cockroach,glycerine\/cockroach,bg451\/cockroach,sunya123\/cockroach,veteranlu\/cockroach,cuongdo\/cockroach,vivekmenezes\/cockroach,il9ue\/cockroach,cuongdo\/cockroach,nieyy\/cockroach,arjun4084346\/cockroach,maxlang\/cockroach,marcuswestin\/cockroach,paperstreet\/cockroach,maxlang\/cockroach,veteranlu\/cockroach,arjun4084346\/cockroach,sunya123\/cockroach,vivekmenezes\/cockroach,paperstreet\/cockroach,bg451\/cockroach,bg451\/cockroach,veteranlu\/cockroach,bg451\/cockroach,paperstreet\/cockroach,marcuswestin\/cockroach,cockroachdb\/cockroach,glycerine\/cockroach,sunya123\/cockroach,maxlang\/cockroach,cuongdo\/cockroach,glycerine\/cockroach,cuongdo\/cockroach,cuongdo\/cockroach,marcuswestin\/cockroach,bg451\/cockroach,vivekmenezes\/cockroach,marcuswestin\/cockroach,marcuswestin\/cockroach,bg451\/cockroach,veteranlu\/cockroach,sunya123\/cockroach,sunya123\/cockroach,glycerine\/cockroach,paperstreet\/cockroach,petermattis\/cockroach,il9ue\/cockroach,vivekmenezes\/cockroach,maxlang\/cockroach,arjun4084346\/cockroach,nieyy\/cockroach,nieyy\/cockroach,cockroachdb\/cockroach,arjun4084346\/cockroach,cockroachdb\/cockroach,veteranlu\/cockroach,veteranlu\/cockroach,arjun4084346\/cockroach,maxlang\/cockroach,nieyy\/cockroach,vaibhavarora\/cockroach,maxlang\/cockroach,vaibhavarora\/cockroach,glycerine\/cockroach,sunya123\/cockroach,nieyy\/cockroach,il9ue\/cockroach,marcuswestin\/cockroach,vaibhavarora\/cockroach,paperstreet\/cockroach,vaibhavarora\/cockroach,vivekmenezes\/cockroach,petermattis\/cockroach,arjun4084346\/cockroach,il9ue\/cockroach,cockroachdb\/cockroach","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- sql\/parser\/all_keywords.awk\n+++ sql\/parser\/all_keywords.awk\n@@ -6,7 +6,7 @@\n     print \"var keywords = map[string]int{\"\n \n     # This variable will be associated with a pipe for intermediate output.\n-    sort = \"sort\"\n+    sort = \"env LC_ALL=C sort\"\n }\n \n \/^.*_keyword:\/ {\n"}
{"commit":"1a9ebb0d0c0b09fbca7438637e1de666366f9235","subject":"Got rid of the funny for loop","message":"Got rid of the funny for loop\n","repos":"asukakenji\/go,asukakenji\/go,asukakenji\/go,asukakenji\/go","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- jni\/scripts\/gen_jnienv_h.awk\n+++ jni\/scripts\/gen_jnienv_h.awk\n@@ -33,10 +33,10 @@\n \tname = \"\"\n \tfamily = \"\"\n \tdeclaration = \"\"\n-\tj = 0\n-\tfor (i in declarations) {\n-\t\tdeclaration = declarations[j]\n-\t\tnext_declaration = declarations[j+1]\n+\tj = length(declarations)\n+\tfor (i = 0; i < j; ++i) {\n+\t\tdeclaration = declarations[i]\n+\t\tnext_declaration = declarations[i+1]\n \t\tname = get_name(declaration)\n \t\tnext_name = get_name(next_declaration)\n \t\tif (next_name == name \"V\") {\n@@ -60,7 +60,6 @@\n \t\t\tprint declaration\n \t\t\tprint \"\"\n \t\t}\n-\t\tj++\n \t}\n \n \t# Ending Stub\n"}
{"commit":"f641a4bcbfe3615cf89c5cb4f62565d61b1f3241","subject":"Skip invalid lines, probably should emit a warning","message":"Skip invalid lines, probably should emit a warning\n","repos":"beingmeta\/upsource","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- sourcetab.awk\n+++ sourcetab.awk\n@@ -1 +1 @@\n-{env=\"\"; for (i=4; i<=NF; i++) {env=$i\" \"env}; print env \"handlers\/\"$1 \" \" $2 \" \" $3;}\n+{env=\"\"; if (NF<3) next; for (i=4; i<=NF; i++) {env=$i\" \"env}; print env \"handlers\/\"$1 \" \" $2 \" \" $3;}\n"}
{"commit":"69134e74f58f6a23e9229dce38f746e5d9b1acda","subject":"Include the dynamically generated constants in the brlapi_keys group. (dm)","message":"Include the dynamically generated constants in the brlapi_keys group. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2833 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi_constants.awk\n+++ Programs\/brlapi_constants.awk\n@@ -17,12 +17,15 @@\n \n BEGIN {\n   writeHeaderPrologue(\"BRLAPI_INCLUDED_CONSTANTS\", \"brlapi.h\")\n-  beginDoxygenFile(\"BrlAPI Commans\")\n-  beginDoxygenGroup(\"brlapi_commands\", \"Defines for BrlAPI Commands\")\n+  beginDoxygenFile()\n+  print \"\/** \\\\ingroup brlapi_keys\"\n+  print \" * @{ *\/\"\n+  print \"\"\n }\n \n END {\n-  endDoxygenGroup()\n+  print \"\/** @} *\/\"\n+  print \"\"\n   writeHeaderEpilogue()\n }\n \n"}
{"commit":"1121e15886a1af42d5b7435be2f629b43a9e4a51","subject":"Use URN in rdf-n3.awk","message":"Use URN in rdf-n3.awk\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/rdf-n3.awk\n+++ misc\/rdf-n3.awk\n@@ -25,7 +25,8 @@\n \n     if (nsenses == 0 || nisas == 0) next;\n \n-    print \":c\" $1, TYPE, CONCEPT, \".\";\n+    print \"<urn:linked:c\" $1 \">\", TYPE,  CONCEPT,           \".\";\n+    print \"<urn:linked:c\" $1 \">\", LABEL, \"\\\"synset\" $1 \"\\\"\", \".\";\n \n     for (sense_id in senses) {\n         sense = senses[sense_id];\n@@ -42,20 +43,20 @@\n             if (!(word in windex)) {\n                 windex[word] = wcount++;\n \n-                print \":w\" windex[word], TYPE,          WORD,              \".\";\n-                print \":w\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                print \":f\" windex[word], TYPE,          FORM,              \".\";\n-                print \":f\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                print \":f\" windex[word], WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n-                print \":w\" windex[word], CANONICALFORM, \":f\" windex[word], \".\";\n+                print \"<urn:linked:w\" windex[word] \">\", TYPE,          WORD,                             \".\";\n+                print \"<urn:linked:w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<urn:linked:f\" windex[word] \">\", TYPE,          FORM,                             \".\";\n+                print \"<urn:linked:f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<urn:linked:f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<urn:linked:w\" windex[word] \">\", CANONICALFORM, \"<urn:linked:f\" windex[word] \">\", \".\";\n             }\n \n-            print \":s\" sindex[sense], TYPE,          LEXICALSENSE,       \".\";\n-            print \":s\" sindex[sense], LABEL,         \"\\\"\" sense \"\\\"\",    \".\";\n-            print \":s\" sindex[sense], ISSENSEOF,     \":w\" windex[word],  \".\";\n-            print \":w\" windex[word],  SENSE,         \":s\" sindex[sense], \".\";\n-            print \":s\" sindex[sense], REFERENCE,     \":c\" $1,            \".\";\n-            print \":c\" $1,            ISREFERENCEOF, \":s\" sindex[sense], \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", TYPE,          LEXICALSENSE,       \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", LABEL,         \"\\\"\" sense \"\\\"\",    \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", ISSENSEOF,     \"<urn:linked:w\" windex[word] \">\",  \".\";\n+            print \"<urn:linked:w\" windex[word] \">\",  SENSE,         \"<urn:linked:s\" sindex[sense] \">\", \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", REFERENCE,     \"<urn:linked:c\" $1 \">\",            \".\";\n+            print \"<urn:linked:c\" $1 \">\",            ISREFERENCEOF, \"<urn:linked:s\" sindex[sense] \">\", \".\";\n         }\n \n         for (isa_id in isas) {\n@@ -73,22 +74,22 @@\n                 if (!(word in windex)) {\n                     windex[word] = wcount++;\n \n-                    print \":w\" windex[word], TYPE,          WORD,              \".\";\n-                    print \":w\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                    print \":f\" windex[word], TYPE,          FORM,              \".\";\n-                    print \":f\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                    print \":f\" windex[word], WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n-                    print \":w\" windex[word], CANONICALFORM, \":f\" windex[word], \".\";\n+                    print \"<urn:linked:w\" windex[word] \">\", TYPE,          WORD,              \".\";\n+                    print \"<urn:linked:w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                    print \"<urn:linked:f\" windex[word] \">\", TYPE,          FORM,              \".\";\n+                    print \"<urn:linked:f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                    print \"<urn:linked:f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n+                    print \"<urn:linked:w\" windex[word] \">\", CANONICALFORM, \"<urn:linked:f\" windex[word] \">\", \".\";\n                 }\n \n-                print \":s\" sindex[isa],  TYPE,      LEXICALSENSE,      \".\";\n-                print \":s\" sindex[isa],  LABEL,     \"\\\"\" isa \"\\\"\",     \".\";\n-                print \":s\" sindex[isa],  ISSENSEOF, \":w\" windex[word], \".\";\n-                print \":w\" windex[word], SENSE,     \":s\" sindex[isa],  \".\";\n+                print \"<urn:linked:s\" sindex[isa] \">\",  TYPE,      LEXICALSENSE,      \".\";\n+                print \"<urn:linked:s\" sindex[isa] \">\",  LABEL,     \"\\\"\" isa \"\\\"\",     \".\";\n+                print \"<urn:linked:s\" sindex[isa] \">\",  ISSENSEOF, \"<urn:linked:w\" windex[word] \">\", \".\";\n+                print \"<urn:linked:w\" windex[word] \">\", SENSE,     \"<urn:linked:s\" sindex[isa] \">\",  \".\";\n             }\n \n-            print \":s\" sindex[sense], BROADER,  \":s\" sindex[isa],   \".\";\n-            print \":s\" sindex[isa],   NARROWER, \":s\" sindex[sense], \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", BROADER,  \"<urn:linked:s\" sindex[isa] \">\",   \".\";\n+            print \"<urn:linked:s\" sindex[isa] \">\",   NARROWER, \"<urn:linked:s\" sindex[sense] \">\", \".\";\n         }\n     }\n }\n"}
{"commit":"c772f020582a5849466446e88b782491450b8794","subject":"feat: Add plaintext option","message":"feat: Add plaintext option\n","repos":"ianhenderson\/simple-git-changelog","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changelog.awk\n+++ changelog.awk\n@@ -23,12 +23,18 @@\n \tsub(\/.*tag: \/, \"\", input)\n \t# Cut out text after tag\n \tsub(\/,.*\/, \"\", input)\n-\tprintf(\"\\n## %s\\n\", input)\n+\tif (TYPE == \"plain\")\n+\t\tprintf(\"\\n%s\\n\", input)\n+\telse\n+\t\tprintf(\"\\n## %s\\n\", input)\n }\n function printCommit(input, longHash, shortHash) {\n \tif ( match(input, CHANGELOG_REGEX) ) {\n \t\tsub(CHANGELOG_REGEX, \"\", input)\n-\t\tprintf(\"- %s (%s)\\n\", input, makeCommitLink(REPO_URL, shortHash, longHash) )\n+\t\tif (TYPE == \"plain\")\n+\t\t\tprintf(\"\\t- %s\\n\", input, makeCommitLink(REPO_URL, shortHash, longHash) )\n+\t\telse\n+\t\t\tprintf(\"- %s (%s)\\n\", input, makeCommitLink(REPO_URL, shortHash, longHash) )\n \t}\n }\n function makeCommitLink(repoUrl, shortHash, longHash) {\n"}
{"commit":"921b9cda27e6e682103cb3cc77764321543325dc","subject":"Include \"First Look\" episodes","message":"Include \"First Look\" episodes\n\nBut don't add them to episode count or total duration\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- calculateMHzShowDurations.awk\n+++ calculateMHzShowDurations.awk\n@@ -33,28 +33,36 @@\n \n # Accumulate total time on any line that has a valid duration, it must be an episode\n $4 != \"\" {\n+    # Are we a \"First Look\" episode? Print it, but don't count it as a real episode\n+    if ($1 ~ \/, PR \\| \/) {\n+        # Don't use its duration\n+        $4 = \"\"\n+        print >> LONG_SPREADSHEET\n+        # Skip everything else\n+        next\n+    }\n+    # We have a normal episode\n+    episodesCounted += 1\n+    # print \"==> episodesCounted = \" episodesCounted > \"\/dev\/stderr\"\n     print >> LONG_SPREADSHEET\n     # Check all durations for strict HH:MM:SS format\n     if ($4 !~ \/^[[:digit:]]{1,2}:[[:digit:]]{2}:[[:digit:]]{2}$\/) {\n-        # print \"==> Bad duration \" $4 \" in \" $0 >> ERRORS\n         print \"==> Bad duration \" $4 \" in \" $0 >> ERRORS\n         next\n-    } else {\n-        split ($4, tm, \":\")\n-        totalTime[3] += tm[3]\n-        totalTime[2] += tm[2] + int(totalTime[3] \/ 60)  \n-        totalTime[1] += tm[1] + int(totalTime[2] \/ 60)\n-        totalTime[3] %= 60; totalTime[2] %= 60\n-        totalEpisodes += 1\n-        # Accumulate episode times to use when a show line is found\n-        secs += tm[3]\n-        mins += tm[2] + int(secs \/ 60)\n-        hrs += tm[1] + int(mins \/ 60)\n-        secs %= 60; mins %= 60\n-        episodesCounted += 1\n-        # print \"==> episodesCounted = \" episodesCounted > \"\/dev\/stderr\"\n-        next\n     }\n+    # We have a valid duration, add to total\n+    split ($4, tm, \":\")\n+    totalTime[3] += tm[3]\n+    totalTime[2] += tm[2] + int(totalTime[3] \/ 60)  \n+    totalTime[1] += tm[1] + int(totalTime[2] \/ 60)\n+    totalTime[3] %= 60; totalTime[2] %= 60\n+    totalEpisodes += 1\n+    # Accumulate episode times to use when a show line is found\n+    secs += tm[3]\n+    mins += tm[2] + int(secs \/ 60)\n+    hrs += tm[1] + int(mins \/ 60)\n+    secs %= 60; mins %= 60\n+    next\n }\n \n # If a line has seasons, it must be a show - Add it to the short spreadsheet\n@@ -65,7 +73,7 @@\n         $4 = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n         # Print line with episodesCounted and duration to short spreadsheet\n         print\n-        # Don't print show duration to LONG_SPREADSHEET so durations icolumn can be summed\n+        # Don't print show duration to LONG_SPREADSHEET so durations column can be summed\n         $4 = \"\"\n         print >> LONG_SPREADSHEET\n         totalShows += 1\n"}
{"commit":"a1f3d07af88f0f0b1f9a82bfcde880f5aca30039","subject":"Reassign testers.","message":"Reassign testers.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@30476 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -30,13 +30,13 @@\n   #    n[pn] = $2\n       r[pn] = $3\n       if (r[pn] == \"\") {\n-        if ((substr(p[pn],1,2) <= \"American H\")) {\n+        if ((substr(p[pn],1,2) <= \"American R\")) {\n           r[pn] = \"5\"\n-        } else if ((substr(p[pn],1,2) >= \"American I\") && (substr(p[pn],1,2) <= \"Bz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"American S\") && (substr(p[pn],1,2) <= \"Bz\")) {\n           r[pn] = \"4\"\n-        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Nz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Pz\")) {\n           r[pn] = \"5\"\n-        } else if (substr(p[pn],1,1) >= \"O\") {\n+        } else if (substr(p[pn],1,1) >= \"Q\") {\n           r[pn] = \"8\"\n         }\n       }\n"}
{"commit":"cb091b86309f6c21b53ed0ec65a445e1ceef6aef","subject":"s\/pckbd_keydesc_precisionbook\/gsckbd_keydesc_precisionbook\/g","message":"s\/pckbd_keydesc_precisionbook\/gsckbd_keydesc_precisionbook\/g\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- arch\/hppa\/gsc\/makemap.awk\n+++ arch\/hppa\/gsc\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.3 2005\/05\/04 20:07:07 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.4 2005\/05\/06 18:04:37 mickey Exp $\n #\n # Copyright (c) 2003, Miodrag Vallat.\n # All rights reserved.\n@@ -228,7 +228,7 @@\n \t\t# Add 241 to the US map...\n \t\tprint \"    KC(241),\\tKS_Delete\"\n \t\tprint $0\n-\t\tprint \"\\nstatic const keysym_t pckbd_keydesc_precisionbook[] = {\"\n+\t\tprint \"\\nstatic const keysym_t gsckbd_keydesc_precisionbook[] = {\"\n \t\tprint \"\/*  pos      command\\t\\tnormal\t\tshifted *\/\"\n \t\tprint \"    KC(7),   KS_Cmd_Screen0,\\tKS_f1,\"\n \t\tprint \"    KC(15),  KS_Cmd_Screen1,\\tKS_f2,\"\n@@ -268,7 +268,7 @@\n \tmapnum++\n }\n \/{0, 0, 0, 0}\/ {\n-\tprintf(\"\\tKBD_MAP(KB_US | KB_MACHDEP,\\tKB_US,\\tpckbd_keydesc_precisionbook),\\n\");\n+\tprintf(\"\\tKBD_MAP(KB_US | KB_MACHDEP,\\tKB_US,\\tgsckbd_keydesc_precisionbook),\\n\");\n }\n {\n \tif (declk)\n"}
{"commit":"9f5987383c372b271d9341a9097bfcca328b8f80","subject":"msg_parser.awk: including extra headers in the generated parser table.","message":"msg_parser.awk: including extra headers in the generated parser table.\n\ndarcs-hash:20061207172708-65a35-a9577448d54623753513bc66ff31012de9f35ba4.gz\n","repos":"jart\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -55,14 +55,21 @@\n   split(\"\", Comments);\n   split(\"\", COMMENTS);\n \n+  # indexed by the C name of the header\n+  split(\"\", Since);\t\t# Non-NUL if extra\n+  split(\"\", Extra);\t\t# Offset in extra headers\n+\n   template=\"\";\n   template1=\"\";\n   template2=\"\";\n   template3=\"\";\n   prefix=\"\";\n   tprefix=\"\";\n+  extra=0;\n   failed=0;\n   success=0;\n+\n+  extra_struct = \"msg_pub_extra\";\n \n   ERRNO=\"error\";\n }\n@@ -143,6 +150,10 @@\n   COMMENTS[N] = COMMENT; \n \n   symbols[name] = comment;\n+  if (since) {\n+    Since[name] = since;\n+    Extra[name] = extra++;\n+  }\n \n   if (PR) {\n     replace(template, hash, name, NAME, comment, Comment, COMMENT, since);\n@@ -322,7 +333,7 @@\n }\n \n \/^#### EXTRA HEADER LIST STARTS HERE ####$\/ { HLIST=1; templates(); }\n-HLIST && \/^[a-z]\/ { protos($1, $0, 0, $2); }\n+HLIST && \/^[a-z]\/ { protos($1, $0, 0, $2); headers[total++] = $1; }\n \/^#### EXTRA HEADER LIST ENDS HERE ####$\/ { HLIST=0;  }\n \n \n@@ -410,6 +421,13 @@\n     }\n \n     # printf(\"extern msg_hclass_t msg_multipart_class[];\\n\\n\") > PT;\n+\n+    if (extra > 0) {\n+      printf(\"struct %s {\\n\", extra_struct) > PT;\n+      printf(\"  %s_t base;\\n\", module) > PT;\n+      printf(\"  msg_header_t *extra[%u];\\n\", extra) > PT;\n+      printf(\"};\\n\\n\") > PT;\n+    }\n \n     printf(\"msg_mclass_t const %s_mclass[1] = \\n{{\\n\", module) > PT;\n     printf(\"# if defined (%s_HCLASS)\\n\", toupper(module)) > PT;\n@@ -472,8 +490,14 @@\n \tn = header_hash[i];\n         flags = header_flags[n]; if (flags) flags = \",\\n      \" flags;\n \n-\tprintf(\"    { %s_%s_class, offsetof(%s_t, %s_%s)%s }%s\\n\", \n-\t       tprefix, n, module, prefix, n, flags, c) > PT;\n+\tif (Since[n]) {\n+\t  printf(\"    { %s_%s_class, offsetof(struct %s, extra[%u])%s }%s\\n\", \n+\t\t tprefix, n, extra_struct, Extra[n], flags, c) > PT;\n+\t}\n+\telse {\n+\t  printf(\"    { %s_%s_class, offsetof(%s_t, %s_%s)%s }%s\\n\", \n+\t\t tprefix, n, module, prefix, n, flags, c) > PT;\n+\t}\n       }\n       else {\n \tprintf(\"    { NULL, 0 }%s\\n\", c) > PT;\n"}
{"commit":"2346ba1e8ed69eab0f12ece36e96f9453022edab","subject":"Commons: add squeeze()","message":"Commons: add squeeze()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -110,6 +110,18 @@\n     return temp\n }\n \n+# Squeeze a source line of AWK code.\n+function squeeze(line) {\n+    # Remove preceding spaces\n+    gsub(\/^[[:space:]]+\/, \"\", line)\n+    # Remove in-line comment\n+    gsub(\/#[^\"]*$\/, \"\", line)\n+    # Remove trailing spaces\n+    gsub(\/[[:space:]]+$\/, \"\", line)\n+\n+    return line\n+}\n+\n # Return 1 if the array contains anything; otherwise return 0.\n function anything(array,\n                   ####\n"}
{"commit":"05222e0a709ce523899871f251f5d563e5675ad0","subject":"load helpers after config and meta have been processed","message":"load helpers after config and meta have been processed\n","repos":"nuex\/zodiac","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/render.awk\n+++ lib\/render.awk\n@@ -34,7 +34,7 @@\n \n # Done processing meta\n # Since data is loaded now, load the helpers\n-action != \"meta\" && helpers_loaded == \"no\" && helpers == \"yes\" {\n+action != \"meta\" && action != \"config\" && helpers_loaded == \"no\" && helpers == \"yes\" {\n   load_helpers()\n   helpers_loaded = \"yes\"\n }\n"}
{"commit":"e3f4f7b6719da95a8eeb8d6e34b553ce2ec206e2","subject":"Not ever Acorn show has a \"-- Viewers Also Watched --\"","message":"Not ever Acorn show has a \"-- Viewers Also Watched --\"\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -303,7 +303,7 @@\n     next\n }\n \n-\/-- Viewers Also Watched --\/ {\n+\/<footer>\/ {\n     print (episodeLinesFound == 1 ? \"=0\" : \"=\" numEpisodesStr) >> NUM_EPISODES_FILE\n     if (description == \"\")\n         printf (\"==> No description: %d\\t%s  %s\\n\", SERIES_NUMBER, shortURL, seriesTitle) >> ERROR_FILE\n"}
{"commit":"6b45fbe2837a233dad8ad3f28bd2f39d2dbf76f1","subject":"Correct error in number variables printed","message":"Correct error in number variables printed\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@23951 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -26,7 +26,7 @@\n   if (incontract == 1) {\n       nn = split($2,na,\/\\.\/)\n       lp2 = na[nn]\n-    if (!(($1,lp2,$3,$7,$4) in b)) {\n+    if (!(($1,lp2,$4) in b)) {\n       p[pn] = $1\n       n[pn] = lp2\n   #    n[pn] = $2\n@@ -36,8 +36,8 @@\n       r[pn] = $5\n       pn++\n     }\n-    b[$1,lp2,$3,$7,$4]++\n-    c[$1,lp2,$3,$7,$4,$6]++\n+    b[$1,lp2,$4]++\n+    c[$1,lp2,$4,$6]++\n     x[$6]++\n     tt++\n   }\n@@ -81,13 +81,13 @@\n \n   #print out publisher, plugin, contract year, back, year, tester, total aus\n   for (i = 0 ; i < pn ; i++) {\n-    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r[i], b[p[i],n[i],t[i],k[i],d[i]]\n+    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r[i], b[p[i],n[i],d[i]]\n     for (j = 0 ; j < sn ; j++) {\n       if (x[s[j]] > 0){\n-      if (c[p[i],n[i],t[i],k[i],d[i],s[j]] == 0) {\n+      if (c[p[i],n[i],d[i],s[j]] == 0) {\n       printf \"\\t..\" \n     } else {\n-        printf \"\\t%d\", c[p[i],n[i],t[i],k[i],d[i],s[j]]\n+        printf \"\\t%d\", c[p[i],n[i],d[i],s[j]]\n       }\n     }\n     }\n"}
{"commit":"4fe5e5f9a8ec7654742a3874898f90dc625324af","subject":"Main: set default engine to auto","message":"Main: set default engine to auto\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -20,7 +20,7 @@\n     Option[\"debug\"] = 0\n \n     # Translation engine\n-    Option[\"engine\"] = \"google\"\n+    Option[\"engine\"] = \"auto\"\n \n     # Display\n     Option[\"verbose\"] = 1\n@@ -780,8 +780,11 @@\n         print getList(Option[\"tl\"])\n         exit ExitCode\n     case \"list-engines\":\n+        saveSortedIn = PROCINFO[\"sorted_in\"]\n+        PROCINFO[\"sorted_in\"] = \"@ind_num_asc\"\n         for (translator in Translator)\n             print (Option[\"engine\"] == translator ? \"* \" : \"  \") translator\n+        PROCINFO[\"sorted_in\"] = saveSortedIn\n         exit ExitCode\n     case \"upgrade\":\n         upgrade()\n"}
{"commit":"201ccfbbaf05e9d764e77e1fd19e892936b614ff","subject":"- Fixed typo in kern_params initialization (was kern_parms) - Fixed handing of kernel parameter entries to allow spaces - Enabled acpi - Specified bridge network interface gt #1079","message":"- Fixed typo in kern_params initialization (was kern_parms) - Fixed handing of kernel parameter entries to allow spaces - Enabled acpi - Specified bridge network interface gt #1079\n","repos":"djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/condor,clalancette\/condor-dcloud,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_vm-gahp\/libvirt_simple_script.awk\n+++ src\/condor_vm-gahp\/libvirt_simple_script.awk\n@@ -24,13 +24,18 @@\n # that the entire classad has been sent to us.\n {\n     gsub(\/\\\"\/, \"\")\n-    attrs[$1] = $3\n+    key = $1\n+    # Matching value should be $3-$NR\n+    $1 = \"\"\n+    $2 = \"\"\n+    sub(\/^  \/, \"\")\n+    attrs[key] = $0\n     bootloader = \"\"\n     root = \"\"\n     initrd = \"\"\n     kernel = \"\"\n-    kern_parms = \"\"\n-    print \"Received attribute: \" $1 \"=\" attrs[$1] >debug_file\n+    kern_params = \"\"\n+    print \"Received attribute: \" key \"=\" attrs[key] >debug_file\n }\n \n END {\n@@ -85,6 +90,11 @@\n     {\n \tprint \"<bootloader>\" bootloader \"<\/bootloader>\"\n     }\n+\n+    # Make sure guests destroy on power off\n+    print \"<features><acpi\/><apic\/><pae\/><\/features>\" ;\n+    print \"<on_poweroff>destroy<\/on_poweroff><on_reboot>restart<\/on_reboot><on_crash>restart<\/on_crash>\" ;\n+\n     print \"<devices>\" ;\n     if(attrs[\"JobVMNetworking\"] == \"TRUE\")\n     {\n@@ -94,7 +104,7 @@\n \t}\n \telse\n \t{\n-\t    print \"<interface type='bridge'><mac address='\" attrs[\"JobVM_MACADDR\"] \"'\/><\/interface>\" ;\n+\t    print \"<interface type='bridge'><mac address='\" attrs[\"JobVM_MACADDR\"] \"'\/><source bridge='br0'\/><\/interface>\" ;\n \t}\n     }\n     print \"<disk type='file'>\" ;\n"}
{"commit":"022a27519da5852a8d31bb6d7522b26f2d13dfed","subject":"input file allowed not to have two fields","message":"input file allowed not to have two fields\n","repos":"WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/get_vectors.awk\n+++ scripts\/get_vectors.awk\n@@ -14,11 +14,11 @@\n     while ((ret = (getline < ifile)) > 0) {\n \tif (!NF)\n \t    continue\n-\telse if (NF != 2) {\n-\t    printf(\"Incorrect line format: %s\", $0) > \"\/sys\/stderr\"\n-\t    exit 2\n-\t}\n-        $1 = lower($1)\n+\t# else if (NF != 2) {\n+\t#     printf(\"Incorrect line format: %s\", $0) > \"\/sys\/stderr\"\n+\t#     exit 2\n+\t# }\n+        $1 = tolower($1)\n         if ($1 in WORD2SEEK)\n           continue\n \n"}
{"commit":"a042b2ac58e007989bd5a97876b43cd0d4eb5343","subject":"more uncountables (probably more or less complete now, finally...)","message":"more uncountables (probably more or less complete now, finally...)\n\n","repos":"jimregan\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,lopescan\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,meg0man\/languagetool,lopescan\/languagetool,janissl\/languagetool,janissl\/languagetool,jimregan\/languagetool,janissl\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,lopescan\/languagetool,janissl\/languagetool,jimregan\/languagetool,meg0man\/languagetool,lopescan\/languagetool,lopescan\/languagetool","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- trunk\/JLanguageTool\/resource\/en\/get_unc.awk\n+++ trunk\/JLanguageTool\/resource\/en\/get_unc.awk\n@@ -15,1787 +15,6243 @@\n \t\t}\n \n #explicit list U\n+lemma[\"abscess\"]=\"uncount\"\n+lemma[\"achondroplasia\"]=\"uncount\"\n+lemma[\"acidosis\"]=\"uncount\"\n+lemma[\"acromegaly\"]=\"uncount\"\n+lemma[\"actinomycosis\"]=\"uncount\"\n+lemma[\"adenoma\"]=\"uncount\"\n+lemma[\"afibrinogenemia\"]=\"uncount\"\n+lemma[\"agammaglobulinemia\"]=\"uncount\"\n+lemma[\"agnosia\"]=\"uncount\"\n+lemma[\"alkalosis\"]=\"uncount\"\n+lemma[\"alkaptonuria\"]=\"uncount\"\n+lemma[\"alopecia\"]=\"uncount\"\n+lemma[\"amblyopia\"]=\"uncount\"\n+lemma[\"amebiasis\"]=\"uncount\"\n+lemma[\"amyloidosis\"]=\"uncount\"\n+lemma[\"anaphylaxis\"]=\"uncount\"\n+lemma[\"anaplasmosis\"]=\"uncount\"\n+lemma[\"anemia\"]=\"uncount\"\n+lemma[\"anencephaly\"]=\"uncount\"\n+lemma[\"anesthesia\"]=\"uncount\"\n+lemma[\"aneurysm\"]=\"uncount\"\n+lemma[\"anisocoria\"]=\"uncount\"\n+lemma[\"anomia\"]=\"uncount\"\n+lemma[\"anoxia\"]=\"uncount\"\n+lemma[\"aphakia\"]=\"uncount\"\n+lemma[\"apnea\"]=\"uncount\"\n+lemma[\"arrhythmia\"]=\"uncount\"\n+lemma[\"asbestosis\"]=\"uncount\"\n+lemma[\"ascariasis\"]=\"uncount\"\n+lemma[\"ascites\"]=\"uncount\"\n+lemma[\"aspergillosis\"]=\"uncount\"\n+lemma[\"astrocytoma\"]=\"uncount\"\n+lemma[\"atelectasis\"]=\"uncount\"\n+lemma[\"avitaminosis\"]=\"uncount\"\n+lemma[\"babesiosis\"]=\"uncount\"\n+lemma[\"bacteremia\"]=\"uncount\"\n+lemma[\"balanitis\"]=\"uncount\"\n+lemma[\"barotrauma\"]=\"uncount\"\n+lemma[\"beriberi\"]=\"uncount\"\n+lemma[\"biopsy\"]=\"uncount\"\n+lemma[\"blepharospasm\"]=\"uncount\"\n+lemma[\"blister\"]=\"uncount\"\n+lemma[\"bradycardia\"]=\"uncount\"\n+lemma[\"bronchiectasis\"]=\"uncount\"\n+lemma[\"bronchiolitis\"]=\"uncount\"\n+lemma[\"brucellosis\"]=\"uncount\"\n+lemma[\"bursitis\"]=\"uncount\"\n+lemma[\"candidiasis\"]=\"uncount\"\n+lemma[\"carcinoma\"]=\"uncount\"\n+lemma[\"cardiomegaly\"]=\"uncount\"\n+lemma[\"causalgia\"]=\"uncount\"\n+lemma[\"cellulitis\"]=\"uncount\"\n+lemma[\"chalazion\"]=\"uncount\"\n+lemma[\"chancroid\"]=\"uncount\"\n+lemma[\"cheilitis\"]=\"uncount\"\n+lemma[\"cholangitis\"]=\"uncount\"\n+lemma[\"cholecystitis\"]=\"uncount\"\n+lemma[\"cholelithiasis\"]=\"uncount\"\n+lemma[\"chondroma\"]=\"uncount\"\n+lemma[\"chondrosarcoma\"]=\"uncount\"\n+lemma[\"chorea\"]=\"uncount\"\n+lemma[\"chorioretinitis\"]=\"uncount\"\n+lemma[\"chronotherapy\"]=\"uncount\"\n+lemma[\"clubfoot\"]=\"uncount\"\n+lemma[\"coccidioidomycosis\"]=\"uncount\"\n+lemma[\"coloboma\"]=\"uncount\"\n+lemma[\"conjunctivitis\"]=\"uncount\"\n+lemma[\"cough\"]=\"uncount\"\n+lemma[\"cryosurgery\"]=\"uncount\"\n+lemma[\"cryptococcosis\"]=\"uncount\"\n+lemma[\"cryptosporidiosis\"]=\"uncount\"\n+lemma[\"cyanosis\"]=\"uncount\"\n+lemma[\"cysticercosis\"]=\"uncount\"\n+lemma[\"cystinuria\"]=\"uncount\"\n+lemma[\"dementia\"]=\"uncount\"\n+lemma[\"dengue\"]=\"uncount\"\n+lemma[\"diagnosis\"]=\"uncount\"\n+lemma[\"diagnosis\"]=\"uncount\"\n+lemma[\"diplopia\"]=\"uncount\"\n+lemma[\"dyspareunia\"]=\"uncount\"\n+lemma[\"dystocia\"]=\"uncount\"\n+lemma[\"dystonia\"]=\"uncount\"\n+lemma[\"ecchymosis\"]=\"uncount\"\n+lemma[\"echinococcosis\"]=\"uncount\"\n+lemma[\"eclampsia\"]=\"uncount\"\n+lemma[\"ectropion\"]=\"uncount\"\n+lemma[\"edema\"]=\"uncount\"\n+lemma[\"electrodiagnosis\"]=\"uncount\"\n+lemma[\"encephalocele\"]=\"uncount\"\n+lemma[\"encephalomyelitis\"]=\"uncount\"\n+lemma[\"encopresis\"]=\"uncount\"\n+lemma[\"endometriosis\"]=\"uncount\"\n+lemma[\"endoscopy\"]=\"uncount\"\n+lemma[\"entropion\"]=\"uncount\"\n+lemma[\"eosinophilia\"]=\"uncount\"\n+lemma[\"epididymitis\"]=\"uncount\"\n+lemma[\"epistaxis\"]=\"uncount\"\n+lemma[\"erythema\"]=\"uncount\"\n+lemma[\"esophagitis\"]=\"uncount\"\n+lemma[\"esotropia\"]=\"uncount\"\n+lemma[\"exotropia\"]=\"uncount\"\n+lemma[\"fibrosis\"]=\"uncount\"\n+lemma[\"filariasis\"]=\"uncount\"\n+lemma[\"fistula\"]=\"uncount\"\n+lemma[\"flatfoot\"]=\"uncount\"\n+lemma[\"furunculosis\"]=\"uncount\"\n+lemma[\"gastroenteritis\"]=\"uncount\"\n+lemma[\"gastroschisis\"]=\"uncount\"\n+lemma[\"giardiasis\"]=\"uncount\"\n+lemma[\"gingivitis\"]=\"uncount\"\n+lemma[\"glioblastoma\"]=\"uncount\"\n+lemma[\"glioma\"]=\"uncount\"\n+lemma[\"glomerulonephritis\"]=\"uncount\"\n+lemma[\"granuloma\"]=\"uncount\"\n+lemma[\"helminthiasis\"]=\"uncount\"\n+lemma[\"hemangioma\"]=\"uncount\"\n+lemma[\"hemianopsia\"]=\"uncount\"\n+lemma[\"hemiplegia\"]=\"uncount\"\n+lemma[\"hemochromatosis\"]=\"uncount\"\n+lemma[\"hemoptysis\"]=\"uncount\"\n+lemma[\"hemosiderosis\"]=\"uncount\"\n+lemma[\"hiccup\"]=\"uncount\"\n+lemma[\"histoplasmosis\"]=\"uncount\"\n+lemma[\"hordeolum\"]=\"uncount\"\n+lemma[\"hydrocephalus\"]=\"uncount\"\n+lemma[\"hyperacusis\"]=\"uncount\"\n+lemma[\"hypercalcemia\"]=\"uncount\"\n+lemma[\"hypercholesterolemia\"]=\"uncount\"\n+lemma[\"hyperemia\"]=\"uncount\"\n+lemma[\"hyperhidrosis\"]=\"uncount\"\n+lemma[\"hyperkalemia\"]=\"uncount\"\n+lemma[\"hyperlipidemia\"]=\"uncount\"\n+lemma[\"hyperopia\"]=\"uncount\"\n+lemma[\"hyperostosis\"]=\"uncount\"\n+lemma[\"hypersensitivity\"]=\"uncount\"\n+lemma[\"hypertension\"]=\"uncount\"\n+lemma[\"hypocalcemia\"]=\"uncount\"\n+lemma[\"hypochondriasis\"]=\"uncount\"\n+lemma[\"hypoglycemia\"]=\"uncount\"\n+lemma[\"hypohidrosis\"]=\"uncount\"\n+lemma[\"hypokalemia\"]=\"uncount\"\n+lemma[\"hyponatremia\"]=\"uncount\"\n+lemma[\"hypospadias\"]=\"uncount\"\n+lemma[\"hypotension\"]=\"uncount\"\n+lemma[\"hypothermia\"]=\"uncount\"\n+lemma[\"ichthyosis\"]=\"uncount\"\n+lemma[\"keloid\"]=\"uncount\"\n+lemma[\"keratitis\"]=\"uncount\"\n+lemma[\"keratoconus\"]=\"uncount\"\n+lemma[\"kernicterus\"]=\"uncount\"\n+lemma[\"kuru\"]=\"uncount\"\n+lemma[\"labyrinthitis\"]=\"uncount\"\n+lemma[\"laparoscopy\"]=\"uncount\"\n+lemma[\"leiomyoma\"]=\"uncount\"\n+lemma[\"leishmaniasis\"]=\"uncount\"\n+lemma[\"lentigo\"]=\"uncount\"\n+lemma[\"leptospirosis\"]=\"uncount\"\n+lemma[\"leukopenia\"]=\"uncount\"\n+lemma[\"lipoma\"]=\"uncount\"\n+lemma[\"loiasis\"]=\"uncount\"\n+lemma[\"lordosis\"]=\"uncount\"\n+lemma[\"lymphadenitis\"]=\"uncount\"\n+lemma[\"lymphangioma\"]=\"uncount\"\n+lemma[\"lymphoma\"]=\"uncount\"\n+lemma[\"macroglossia\"]=\"uncount\"\n+lemma[\"mastectomy\"]=\"uncount\"\n+lemma[\"measles\"]=\"uncount\"\n+lemma[\"medulloblastoma\"]=\"uncount\"\n+lemma[\"melanoma\"]=\"uncount\"\n+lemma[\"melanosis\"]=\"uncount\"\n+lemma[\"meningioma\"]=\"uncount\"\n+lemma[\"mesothelioma\"]=\"uncount\"\n+lemma[\"methemoglobinemia\"]=\"uncount\"\n+lemma[\"mumps\"]=\"uncount\"\n+lemma[\"myelofibrosis\"]=\"uncount\"\n+lemma[\"myiasis\"]=\"uncount\"\n+lemma[\"myocarditis\"]=\"uncount\"\n+lemma[\"myoclonus\"]=\"uncount\"\n+lemma[\"myoma\"]=\"uncount\"\n+lemma[\"myositis\"]=\"uncount\"\n+lemma[\"myxoma\"]=\"uncount\"\n+lemma[\"nephrosis\"]=\"uncount\"\n+lemma[\"neuroblastoma\"]=\"uncount\"\n+lemma[\"neutropenia\"]=\"uncount\"\n+lemma[\"nevus\"]=\"uncount\"\n+lemma[\"oliguria\"]=\"uncount\"\n+lemma[\"onchocerciasis\"]=\"uncount\"\n+lemma[\"osteoarthritis\"]=\"uncount\"\n+lemma[\"osteomalacia\"]=\"uncount\"\n+lemma[\"osteomyelitis\"]=\"uncount\"\n+lemma[\"osteopetrosis\"]=\"uncount\"\n+lemma[\"osteoporosis\"]=\"uncount\"\n+lemma[\"osteosarcoma\"]=\"uncount\"\n+lemma[\"ostomy\"]=\"uncount\"\n+lemma[\"otitis\"]=\"uncount\"\n+lemma[\"otosclerosis\"]=\"uncount\"\n+lemma[\"papilloma\"]=\"uncount\"\n+lemma[\"paronychia\"]=\"uncount\"\n+lemma[\"pellagra\"]=\"uncount\"\n+lemma[\"pemphigus\"]=\"uncount\"\n+lemma[\"pericarditis\"]=\"uncount\"\n+lemma[\"pheochromocytoma\"]=\"uncount\"\n+lemma[\"phimosis\"]=\"uncount\"\n+lemma[\"pityriasis\"]=\"uncount\"\n+lemma[\"pneumothorax\"]=\"uncount\"\n+lemma[\"poisoning\"]=\"uncount\"\n+lemma[\"polymyositis\"]=\"uncount\"\n+lemma[\"presbycusis\"]=\"uncount\"\n+lemma[\"presbyopia\"]=\"uncount\"\n+lemma[\"proctitis\"]=\"uncount\"\n+lemma[\"progeria\"]=\"uncount\"\n+lemma[\"proteinuria\"]=\"uncount\"\n+lemma[\"pruritus\"]=\"uncount\"\n+lemma[\"psoriasis\"]=\"uncount\"\n+lemma[\"pterygium\"]=\"uncount\"\n+lemma[\"purpura\"]=\"uncount\"\n+lemma[\"pyelonephritis\"]=\"uncount\"\n+lemma[\"quadriplegia\"]=\"uncount\"\n+lemma[\"ranula\"]=\"uncount\"\n+lemma[\"retinoblastoma\"]=\"uncount\"\n+lemma[\"rhabdomyosarcoma\"]=\"uncount\"\n+lemma[\"rhinitis\"]=\"uncount\"\n+lemma[\"rickets\"]=\"uncount\"\n+lemma[\"rosacea\"]=\"uncount\"\n+lemma[\"rubella\"]=\"uncount\"\n+lemma[\"salpingitis\"]=\"uncount\"\n+lemma[\"sarcoidosis\"]=\"uncount\"\n+lemma[\"sarcoma\"]=\"uncount\"\n+lemma[\"schistosomiasis\"]=\"uncount\"\n+lemma[\"scleritis\"]=\"uncount\"\n+lemma[\"scoliosis\"]=\"uncount\"\n+lemma[\"scotoma\"]=\"uncount\"\n+lemma[\"snoring\"]=\"uncount\"\n+lemma[\"spasm\"]=\"uncount\"\n+lemma[\"spondylolisthesis\"]=\"uncount\"\n+lemma[\"strabismus\"]=\"uncount\"\n+lemma[\"syringomyelia\"]=\"uncount\"\n+lemma[\"tachycardia\"]=\"uncount\"\n+lemma[\"taeniasis\"]=\"uncount\"\n+lemma[\"telangiectasis\"]=\"uncount\"\n+lemma[\"tenosynovitis\"]=\"uncount\"\n+lemma[\"teratoma\"]=\"uncount\"\n+lemma[\"thalassemia\"]=\"uncount\"\n+lemma[\"thrombasthenia\"]=\"uncount\"\n+lemma[\"thrombocytopenia\"]=\"uncount\"\n+lemma[\"thrombophlebitis\"]=\"uncount\"\n+lemma[\"thymoma\"]=\"uncount\"\n+lemma[\"thyroiditis\"]=\"uncount\"\n+lemma[\"torticollis\"]=\"uncount\"\n+lemma[\"toxoplasmosis\"]=\"uncount\"\n+lemma[\"tremor\"]=\"uncount\"\n+lemma[\"trichinosis\"]=\"uncount\"\n+lemma[\"trismus\"]=\"uncount\"\n+lemma[\"trypanosomiasis\"]=\"uncount\"\n+lemma[\"tularemia\"]=\"uncount\"\n+lemma[\"urethritis\"]=\"uncount\"\n+lemma[\"urticaria\"]=\"uncount\"\n+lemma[\"uveitis\"]=\"uncount\"\n+lemma[\"varicocele\"]=\"uncount\"\n+lemma[\"vasculitis\"]=\"uncount\"\n+lemma[\"vitiligo\"]=\"uncount\"\n+lemma[\"vomiting\"]=\"uncount\"\n+lemma[\"varicocele\"]=\"uncount\"\n+lemma[\"vasculitis\"]=\"uncount\"\n+lemma[\"vitiligo\"]=\"uncount\"\n+lemma[\"vomiting\"]=\"uncount\"\n+lemma[\"xanthomatosis\"]=\"uncount\"\n+lemma[\"actinium\"]=\"uncount\"\n+lemma[\"aluminum\"]=\"uncount\"\n+lemma[\"americium\"]=\"uncount\"\n+lemma[\"astatine\"]=\"uncount\"\n+lemma[\"berkelium\"]=\"uncount\"\n+lemma[\"beryllium\"]=\"uncount\"\n+lemma[\"bohrium\"]=\"uncount\"\n+lemma[\"californium\"]=\"uncount\"\n+lemma[\"cerium\"]=\"uncount\"\n+lemma[\"cesium\"]=\"uncount\"\n+lemma[\"curium\"]=\"uncount\"\n+lemma[\"dubnium\"]=\"uncount\"\n+lemma[\"dysprosium\"]=\"uncount\"\n+lemma[\"einsteinium\"]=\"uncount\"\n+lemma[\"erbium\"]=\"uncount\"\n+lemma[\"europium\"]=\"uncount\"\n+lemma[\"fermium\"]=\"uncount\"\n+lemma[\"francium\"]=\"uncount\"\n+lemma[\"gadolinium\"]=\"uncount\"\n+lemma[\"gallium\"]=\"uncount\"\n+lemma[\"germanium\"]=\"uncount\"\n+lemma[\"hafnium\"]=\"uncount\"\n+lemma[\"hassium\"]=\"uncount\"\n+lemma[\"holmium\"]=\"uncount\"\n+lemma[\"indium\"]=\"uncount\"\n+lemma[\"krypton\"]=\"uncount\"\n+lemma[\"lanthanum\"]=\"uncount\"\n+lemma[\"lawrencium\"]=\"uncount\"\n+lemma[\"lithium\"]=\"uncount\"\n+lemma[\"lutetium\"]=\"uncount\"\n+lemma[\"meitnerium\"]=\"uncount\"\n+lemma[\"mendelevium\"]=\"uncount\"\n+lemma[\"neodymium\"]=\"uncount\"\n+lemma[\"neptunium\"]=\"uncount\"\n+lemma[\"niobium\"]=\"uncount\"\n+lemma[\"nobelium\"]=\"uncount\"\n+lemma[\"osmium\"]=\"uncount\"\n+lemma[\"palladium\"]=\"uncount\"\n+lemma[\"polonium\"]=\"uncount\"\n+lemma[\"praseodymium\"]=\"uncount\"\n+lemma[\"promethium\"]=\"uncount\"\n+lemma[\"protactinium\"]=\"uncount\"\n+lemma[\"rhenium\"]=\"uncount\"\n+lemma[\"rhodium\"]=\"uncount\"\n+lemma[\"rubidium\"]=\"uncount\"\n+lemma[\"ruthenium\"]=\"uncount\"\n+lemma[\"rutherfordium\"]=\"uncount\"\n+lemma[\"samarium\"]=\"uncount\"\n+lemma[\"scandium\"]=\"uncount\"\n+lemma[\"seaborgium\"]=\"uncount\"\n+lemma[\"sulfur\"]=\"uncount\"\n+lemma[\"tantalum\"]=\"uncount\"\n+lemma[\"technetium\"]=\"uncount\"\n+lemma[\"tellurium\"]=\"uncount\"\n+lemma[\"terbium\"]=\"uncount\"\n+lemma[\"thallium\"]=\"uncount\"\n+lemma[\"thorium\"]=\"uncount\"\n+lemma[\"thulium\"]=\"uncount\"\n+lemma[\"titanium\"]=\"uncount\"\n+lemma[\"ununbium\"]=\"uncount\"\n+lemma[\"vanadium\"]=\"uncount\"\n+lemma[\"xenon\"]=\"uncount\"\n+lemma[\"ytterbium\"]=\"uncount\"\n+lemma[\"yttrium\"]=\"uncount\"\n+lemma[\"zirconium\"]=\"uncount\"\n+lemma[\"AIDS\"]=\"uncount\"\n+lemma[\"abandon\"]=\"uncount\"\n+lemma[\"abandonment\"]=\"uncount\"\n+lemma[\"abasement\"]=\"uncount\"\n+lemma[\"abatement\"]=\"uncount\"\n+lemma[\"abeyance\"]=\"uncount\"\n+lemma[\"abhorrence\"]=\"uncount\"\n+lemma[\"abracadabra\"]=\"uncount\"\n+lemma[\"abruptness\"]=\"uncount\"\n+lemma[\"absent-mindedness\"]=\"uncount\"\n+lemma[\"absinth\"]=\"uncount\"\n+lemma[\"absinthe\"]=\"uncount\"\n+lemma[\"abstemiousness\"]=\"uncount\"\n+lemma[\"abstinence\"]=\"uncount\"\n+lemma[\"abstruseness\"]=\"uncount\"\n+lemma[\"abundance\"]=\"uncount\"\n+lemma[\"acceptability\"]=\"uncount\"\n+lemma[\"accessibility\"]=\"uncount\"\n+lemma[\"accidence\"]=\"uncount\"\n+lemma[\"accountancy\"]=\"uncount\"\n+lemma[\"acetylene\"]=\"uncount\"\n+lemma[\"ack-ack\"]=\"uncount\"\n+lemma[\"acne\"]=\"uncount\"\n+lemma[\"acreage\"]=\"uncount\"\n+lemma[\"acuity\"]=\"uncount\"\n+lemma[\"acumen\"]=\"uncount\"\n+lemma[\"acupuncture\"]=\"uncount\"\n+lemma[\"acuteness\"]=\"uncount\"\n+lemma[\"adaptability\"]=\"uncount\"\n+lemma[\"adequacy\"]=\"uncount\"\n+lemma[\"admass\"]=\"uncount\"\n+lemma[\"admissibility\"]=\"uncount\"\n+lemma[\"admittance\"]=\"uncount\"\n+lemma[\"adobe\"]=\"uncount\"\n+lemma[\"adolescence\"]=\"uncount\"\n+lemma[\"adoration\"]=\"uncount\"\n+lemma[\"adrenalin\"]=\"uncount\"\n+lemma[\"adroitness\"]=\"uncount\"\n+lemma[\"advancement\"]=\"uncount\"\n+lemma[\"advisability\"]=\"uncount\"\n+lemma[\"advocacy\"]=\"uncount\"\n+lemma[\"aerospace\"]=\"uncount\"\n+lemma[\"aesthetic\"]=\"uncount\"\n+lemma[\"aether\"]=\"uncount\"\n+lemma[\"affability\"]=\"uncount\"\n+lemma[\"afflatus\"]=\"uncount\"\n+lemma[\"affluence\"]=\"uncount\"\n+lemma[\"aftercare\"]=\"uncount\"\n+lemma[\"afterdamp\"]=\"uncount\"\n+lemma[\"ageing\"]=\"uncount\"\n+lemma[\"aggressiveness\"]=\"uncount\"\n+lemma[\"aging\"]=\"uncount\"\n+lemma[\"agnail\"]=\"uncount\"\n+lemma[\"agoraphobia\"]=\"uncount\"\n+lemma[\"air\"]=\"uncount\"\n+lemma[\"air-conditioning\"]=\"uncount\"\n+lemma[\"airmail\"]=\"uncount\"\n+lemma[\"airplay\"]=\"uncount\"\n+lemma[\"airtime\"]=\"uncount\"\n+lemma[\"airworthiness\"]=\"uncount\"\n+lemma[\"alabaster\"]=\"uncount\"\n+lemma[\"albumen\"]=\"uncount\"\n+lemma[\"alchemy\"]=\"uncount\"\n+lemma[\"alertness\"]=\"uncount\"\n+lemma[\"alexia\"]=\"uncount\"\n+lemma[\"alfalfa\"]=\"uncount\"\n+lemma[\"alienation\"]=\"uncount\"\n+lemma[\"alimony\"]=\"uncount\"\n+lemma[\"allegiance\"]=\"uncount\"\n+lemma[\"allspice\"]=\"uncount\"\n+lemma[\"aloofness\"]=\"uncount\"\n+lemma[\"alum\"]=\"uncount\"\n+lemma[\"aluminium\"]=\"uncount\"\n+lemma[\"amazement\"]=\"uncount\"\n+lemma[\"amber\"]=\"uncount\"\n+lemma[\"ambergris\"]=\"uncount\"\n+lemma[\"ambivalence\"]=\"uncount\"\n+lemma[\"ambrosia\"]=\"uncount\"\n+lemma[\"amiability\"]=\"uncount\"\n+lemma[\"amicability\"]=\"uncount\"\n+lemma[\"amity\"]=\"uncount\"\n+lemma[\"ammonia\"]=\"uncount\"\n+lemma[\"amnesia\"]=\"uncount\"\n+lemma[\"amour-propre\"]=\"uncount\"\n+lemma[\"amplitude\"]=\"uncount\"\n+lemma[\"anaemia\"]=\"uncount\"\n+lemma[\"anaesthesia\"]=\"uncount\"\n+lemma[\"analgesia\"]=\"uncount\"\n+lemma[\"anarchy\"]=\"uncount\"\n lemma[\"anatomy\"]=\"uncount\"\n-lemma[\"mucus\"]=\"uncount\"\n-lemma[\"nervousness\"]=\"uncount\"\n+lemma[\"angelica\"]=\"uncount\"\n+lemma[\"anger\"]=\"uncount\"\n+lemma[\"angina\"]=\"uncount\"\n+lemma[\"angling\"]=\"uncount\"\n+lemma[\"angostura\"]=\"uncount\"\n+lemma[\"angst\"]=\"uncount\"\n+lemma[\"animus\"]=\"uncount\"\n+lemma[\"aniseed\"]=\"uncount\"\n+lemma[\"anonymity\"]=\"uncount\"\n+lemma[\"anorexia\"]=\"uncount\"\n+lemma[\"anthracite\"]=\"uncount\"\n+lemma[\"anthrax\"]=\"uncount\"\n+lemma[\"anti-Semitism\"]=\"uncount\"\n+lemma[\"antifreeze\"]=\"uncount\"\n+lemma[\"antiknock\"]=\"uncount\"\n+lemma[\"antimony\"]=\"uncount\"\n+lemma[\"apanage\"]=\"uncount\"\n+lemma[\"apartheid\"]=\"uncount\"\n+lemma[\"apathy\"]=\"uncount\"\n+lemma[\"aphasia\"]=\"uncount\"\n+lemma[\"apoplexy\"]=\"uncount\"\n+lemma[\"appanage\"]=\"uncount\"\n+lemma[\"apparel\"]=\"uncount\"\n+lemma[\"appeasement\"]=\"uncount\"\n+lemma[\"appendicitis\"]=\"uncount\"\n+lemma[\"applejack\"]=\"uncount\"\n+lemma[\"applicability\"]=\"uncount\"\n+lemma[\"apportionment\"]=\"uncount\"\n+lemma[\"appro\"]=\"uncount\"\n lemma[\"approval\"]=\"uncount\"\n-lemma[\"anger\"]=\"uncount\"\n+lemma[\"aptness\"]=\"uncount\"\n+lemma[\"aquavit\"]=\"uncount\"\n+lemma[\"archery\"]=\"uncount\"\n+lemma[\"architecture\"]=\"uncount\"\n+lemma[\"argon\"]=\"uncount\"\n+lemma[\"argot\"]=\"uncount\"\n+lemma[\"aridity\"]=\"uncount\"\n+lemma[\"arithmetic\"]=\"uncount\"\n+lemma[\"armour\"]=\"uncount\"\n+lemma[\"arnica\"]=\"uncount\"\n+lemma[\"arrack\"]=\"uncount\"\n+lemma[\"arrowroot\"]=\"uncount\"\n+lemma[\"arsenic\"]=\"uncount\"\n+lemma[\"arson\"]=\"uncount\"\n+lemma[\"arteriosclerosis\"]=\"uncount\"\n+lemma[\"artfulness\"]=\"uncount\"\n+lemma[\"arthritis\"]=\"uncount\"\n+lemma[\"artillery\"]=\"uncount\"\n+lemma[\"artistry\"]=\"uncount\"\n+lemma[\"artlessness\"]=\"uncount\"\n+lemma[\"asbestos\"]=\"uncount\"\n+lemma[\"ascendancy\"]=\"uncount\"\n+lemma[\"ascendency\"]=\"uncount\"\n+lemma[\"asepsis\"]=\"uncount\"\n+lemma[\"asexuality\"]=\"uncount\"\n+lemma[\"asparagus\"]=\"uncount\"\n+lemma[\"asphalt\"]=\"uncount\"\n+lemma[\"asphyxia\"]=\"uncount\"\n+lemma[\"aspic\"]=\"uncount\"\n+lemma[\"assize\"]=\"uncount\"\n+lemma[\"assuredness\"]=\"uncount\"\n+lemma[\"asthma\"]=\"uncount\"\n+lemma[\"astonishment\"]=\"uncount\"\n+lemma[\"astrakhan\"]=\"uncount\"\n+lemma[\"astringency\"]=\"uncount\"\n+lemma[\"astronomy\"]=\"uncount\"\n+lemma[\"astuteness\"]=\"uncount\"\n+lemma[\"asymmetry\"]=\"uncount\"\n+lemma[\"atonality\"]=\"uncount\"\n+lemma[\"atonement\"]=\"uncount\"\n+lemma[\"atrophy\"]=\"uncount\"\n+lemma[\"attar\"]=\"uncount\"\n+lemma[\"attentiveness\"]=\"uncount\"\n+lemma[\"attire\"]=\"uncount\"\n+lemma[\"audacity\"]=\"uncount\"\n+lemma[\"audibility\"]=\"uncount\"\n+lemma[\"aught\"]=\"uncount\"\n+lemma[\"autarky\"]=\"uncount\"\n+lemma[\"authenticity\"]=\"uncount\"\n+lemma[\"authorship\"]=\"uncount\"\n+lemma[\"avail\"]=\"uncount\"\n+lemma[\"availability\"]=\"uncount\"\n+lemma[\"avarice\"]=\"uncount\"\n+lemma[\"avidity\"]=\"uncount\"\n+lemma[\"avoirdupois\"]=\"uncount\"\n+lemma[\"awkwardness\"]=\"uncount\"\n+lemma[\"babble\"]=\"uncount\"\n+lemma[\"babysitting\"]=\"uncount\"\n+lemma[\"baccarat\"]=\"uncount\"\n+lemma[\"baccy\"]=\"uncount\"\n+lemma[\"backchat\"]=\"uncount\"\n+lemma[\"backgammon\"]=\"uncount\"\n+lemma[\"backlash\"]=\"uncount\"\n+lemma[\"backtalk\"]=\"uncount\"\n+lemma[\"backwash\"]=\"uncount\"\n+lemma[\"bad\"]=\"uncount\"\n+lemma[\"badinage\"]=\"uncount\"\n+lemma[\"badminton\"]=\"uncount\"\n+lemma[\"badness\"]=\"uncount\"\n+lemma[\"bait\"]=\"uncount\"\n+lemma[\"baize\"]=\"uncount\"\n+lemma[\"bakelite\"]=\"uncount\"\n+lemma[\"balderdash\"]=\"uncount\"\n+lemma[\"baldness\"]=\"uncount\"\n+lemma[\"ballast\"]=\"uncount\"\n+lemma[\"balm\"]=\"uncount\"\n+lemma[\"baloney\"]=\"uncount\"\n+lemma[\"banditry\"]=\"uncount\"\n+lemma[\"bane\"]=\"uncount\"\n+lemma[\"banishment\"]=\"uncount\"\n+lemma[\"banking\"]=\"uncount\"\n+lemma[\"banter\"]=\"uncount\"\n+lemma[\"banting\"]=\"uncount\"\n+lemma[\"barbitone\"]=\"uncount\"\n+lemma[\"bardolatry\"]=\"uncount\"\n+lemma[\"bareness\"]=\"uncount\"\n+lemma[\"barium\"]=\"uncount\"\n+lemma[\"barley\"]=\"uncount\"\n+lemma[\"barm\"]=\"uncount\"\n+lemma[\"barracking\"]=\"uncount\"\n+lemma[\"barrenness\"]=\"uncount\"\n+lemma[\"barter\"]=\"uncount\"\n+lemma[\"basalt\"]=\"uncount\"\n+lemma[\"basil\"]=\"uncount\"\n+lemma[\"basketry\"]=\"uncount\"\n+lemma[\"bast\"]=\"uncount\"\n+lemma[\"bathos\"]=\"uncount\"\n+lemma[\"batiste\"]=\"uncount\"\n+lemma[\"batter\"]=\"uncount\"\n+lemma[\"batting\"]=\"uncount\"\n+lemma[\"bauxite\"]=\"uncount\"\n+lemma[\"bawdy\"]=\"uncount\"\n+lemma[\"beachwear\"]=\"uncount\"\n+lemma[\"beading\"]=\"uncount\"\n+lemma[\"beagling\"]=\"uncount\"\n+lemma[\"beastliness\"]=\"uncount\"\n+lemma[\"bedding\"]=\"uncount\"\n+lemma[\"beef\"]=\"uncount\"\n+lemma[\"beeswax\"]=\"uncount\"\n+lemma[\"beggary\"]=\"uncount\"\n+lemma[\"beige\"]=\"uncount\"\n+lemma[\"belligerency\"]=\"uncount\"\n+lemma[\"beneficence\"]=\"uncount\"\n+lemma[\"benevolence\"]=\"uncount\"\n+lemma[\"benzene\"]=\"uncount\"\n+lemma[\"benzine\"]=\"uncount\"\n+lemma[\"benzol\"]=\"uncount\"\n+lemma[\"best\"]=\"uncount\" \n+lemma[\"betterment\"]=\"uncount\"\n+lemma[\"bewilderment\"]=\"uncount\"\n+lemma[\"bezique\"]=\"uncount\"\n+lemma[\"bicarbonate\"]=\"uncount\"\n+lemma[\"bidding\"]=\"uncount\"\n+lemma[\"bigamy\"]=\"uncount\"\n+lemma[\"bile\"]=\"uncount\"\n+lemma[\"bilge\"]=\"uncount\"\n+lemma[\"bilharzia\"]=\"uncount\"\n+lemma[\"biliousness\"]=\"uncount\"\n+lemma[\"billingsgate\"]=\"uncount\"\n+lemma[\"biltong\"]=\"uncount\"\n+lemma[\"bindweed\"]=\"uncount\"\n+lemma[\"bingo\"]=\"uncount\"\n+lemma[\"biochemistry\"]=\"uncount\"\n+lemma[\"bisection\"]=\"uncount\"\n+lemma[\"bisexuality\"]=\"uncount\"\n+lemma[\"bismuth\"]=\"uncount\"\n+lemma[\"bitumen\"]=\"uncount\"\n+lemma[\"biz\"]=\"uncount\"\n+lemma[\"blacking\"]=\"uncount\"\n+lemma[\"blackmail\"]=\"uncount\"\n+lemma[\"blackness\"]=\"uncount\"\n+lemma[\"blah\"]=\"uncount\"\n+lemma[\"blandness\"]=\"uncount\"\n+lemma[\"blare\"]=\"uncount\"\n+lemma[\"blarney\"]=\"uncount\"\n+lemma[\"bleach\"]=\"uncount\"\n+lemma[\"blessedness\"]=\"uncount\"\n+lemma[\"blether\"]=\"uncount\"\n+lemma[\"blindness\"]=\"uncount\"\n+lemma[\"bliss\"]=\"uncount\"\n+lemma[\"blood\"]=\"uncount\"\n+lemma[\"bloodlust\"]=\"uncount\"\n+lemma[\"bloodthirstiness\"]=\"uncount\"\n+lemma[\"blubber\"]=\"uncount\"\n+lemma[\"bluffness\"]=\"uncount\"\n+lemma[\"bluntness\"]=\"uncount\"\n+lemma[\"boarding\"]=\"uncount\"\n+lemma[\"boding\"]=\"uncount\"\n+lemma[\"boisterousness\"]=\"uncount\"\n+lemma[\"boldness\"]=\"uncount\"\n+lemma[\"boloney\"]=\"uncount\"\n+lemma[\"bombast\"]=\"uncount\"\n+lemma[\"bondage\"]=\"uncount\"\n+lemma[\"bonhomie\"]=\"uncount\"\n+lemma[\"bookishness\"]=\"uncount\"\n+lemma[\"bookkeeping\"]=\"uncount\"\n+lemma[\"boorishness\"]=\"uncount\"\n+lemma[\"booty\"]=\"uncount\"\n+lemma[\"bopeep\"]=\"uncount\"\n+lemma[\"borage\"]=\"uncount\"\n+lemma[\"borax\"]=\"uncount\"\n+lemma[\"boredom\"]=\"uncount\"\n+lemma[\"boron\"]=\"uncount\"\n+lemma[\"borsch\"]=\"uncount\"\n+lemma[\"bortsch\"]=\"uncount\"\n+lemma[\"bosh\"]=\"uncount\"\n+lemma[\"botany\"]=\"uncount\"\n+lemma[\"bouillon\"]=\"uncount\"\n+lemma[\"bowing\"]=\"uncount\"\n+lemma[\"boxing\"]=\"uncount\"\n+lemma[\"boxwood\"]=\"uncount\"\n+lemma[\"boyhood\"]=\"uncount\"\n+lemma[\"bracken\"]=\"uncount\"\n+lemma[\"bragging\"]=\"uncount\"\n+lemma[\"braille\"]=\"uncount\"\n+lemma[\"brainwashing\"]=\"uncount\"\n+lemma[\"bran\"]=\"uncount\"\n+lemma[\"brawn\"]=\"uncount\"\n lemma[\"bread\"]=\"uncount\"\n+lemma[\"breaststroke\"]=\"uncount\"\n+lemma[\"breathing\"]=\"uncount\"\n+lemma[\"breeziness\"]=\"uncount\"\n+lemma[\"brevity\"]=\"uncount\"\n+lemma[\"bribery\"]=\"uncount\"\n+lemma[\"bric-a-brac\"]=\"uncount\"\n+lemma[\"brightness\"]=\"uncount\"\n+lemma[\"brilliance\"]=\"uncount\"\n+lemma[\"brilliancy\"]=\"uncount\"\n+lemma[\"brilliantine\"]=\"uncount\"\n+lemma[\"brimstone\"]=\"uncount\"\n+lemma[\"brinkmanship\"]=\"uncount\"\n+lemma[\"brisket\"]=\"uncount\"\n+lemma[\"broad-mindedness\"]=\"uncount\"\n+lemma[\"broadcasting\"]=\"uncount\"\n+lemma[\"broadcloth\"]=\"uncount\"\n+lemma[\"broadness\"]=\"uncount\"\n+lemma[\"broccoli\"]=\"uncount\"\n+lemma[\"brokerage\"]=\"uncount\"\n+lemma[\"bromine\"]=\"uncount\"\n+lemma[\"bronchitis\"]=\"uncount\"\n+lemma[\"broth\"]=\"uncount\"\n+lemma[\"brushwood\"]=\"uncount\"\n+lemma[\"brusqueness\"]=\"uncount\"\n+lemma[\"bubbly\"]=\"uncount\"\n+lemma[\"buckram\"]=\"uncount\"\n+lemma[\"buckshot\"]=\"uncount\"\n+lemma[\"buckskin\"]=\"uncount\"\n+lemma[\"buckwheat\"]=\"uncount\"\n+lemma[\"buffoonery\"]=\"uncount\"\n+lemma[\"buggery\"]=\"uncount\"\n+lemma[\"buhl\"]=\"uncount\"\n+lemma[\"build\"]=\"uncount\"\n+lemma[\"bulk\"]=\"uncount\"\n+lemma[\"bullion\"]=\"uncount\"\n+lemma[\"bullshit\"]=\"uncount\"\n+lemma[\"bumptiousness\"]=\"uncount\"\n+lemma[\"buna\"]=\"uncount\"\n+lemma[\"bunkum\"]=\"uncount\"\n+lemma[\"bunting\"]=\"uncount\"\n+lemma[\"buoyancy\"]=\"uncount\"\n+lemma[\"burlap\"]=\"uncount\"\n+lemma[\"butane\"]=\"uncount\"\n+lemma[\"butchery\"]=\"uncount\"\n+lemma[\"butter\"]=\"uncount\"\n+lemma[\"buttermilk\"]=\"uncount\"\n+lemma[\"butterscotch\"]=\"uncount\"\n+lemma[\"byplay\"]=\"uncount\"\n+lemma[\"cabbage\"]=\"uncount\"\n+lemma[\"cadmium\"]=\"uncount\"\n+lemma[\"cajolery\"]=\"uncount\"\n+lemma[\"cake\"]=\"uncount\"\n+lemma[\"calico\"]=\"uncount\"\n+lemma[\"calligraphy\"]=\"uncount\"\n+lemma[\"callousness\"]=\"uncount\"\n+lemma[\"callowness\"]=\"uncount\"\n+lemma[\"calmness\"]=\"uncount\"\n+lemma[\"calomel\"]=\"uncount\"\n+lemma[\"camaraderie\"]=\"uncount\"\n+lemma[\"cambric\"]=\"uncount\"\n+lemma[\"camomile\"]=\"uncount\"\n+lemma[\"camouflage\"]=\"uncount\" \n+lemma[\"camphor\"]=\"uncount\"\n+lemma[\"camping\"]=\"uncount\"\n+lemma[\"campion\"]=\"uncount\"\n+lemma[\"cancer\"]=\"uncount\"\n+lemma[\"candlelight\"]=\"uncount\"\n+lemma[\"candlewick\"]=\"uncount\"\n+lemma[\"candy\"]=\"uncount\"\n+lemma[\"canker\"]=\"uncount\"\n+lemma[\"cannabis\"]=\"uncount\"\n+lemma[\"capriciousness\"]=\"uncount\"\n+lemma[\"captivity\"]=\"uncount\" \n+lemma[\"caravanning\"]=\"uncount\"\n+lemma[\"carborundum\"]=\"uncount\"\n+lemma[\"cardamom\"]=\"uncount\"\n+lemma[\"cardboard\"]=\"uncount\"\n+lemma[\"carefulness\"]=\"uncount\"\n+lemma[\"carelessness\"]=\"uncount\"\n+lemma[\"caries\"]=\"uncount\"\n+lemma[\"carpentry\"]=\"uncount\"\n+lemma[\"carrion\"]=\"uncount\"\n+lemma[\"carsickness\"]=\"uncount\"\n+lemma[\"cartage\"]=\"uncount\"\n+lemma[\"cartography\"]=\"uncount\"\n+lemma[\"casein\"]=\"uncount\"\n lemma[\"cash\"]=\"uncount\"\n+lemma[\"cashmere\"]=\"uncount\"\n+lemma[\"cassava\"]=\"uncount\"\n+lemma[\"castor\"]=\"uncount\"\n+lemma[\"catalepsy\"]=\"uncount\"\n+lemma[\"catalysis\"]=\"uncount\"\n+lemma[\"catarrh\"]=\"uncount\"\n+lemma[\"catgut\"]=\"uncount\"\n+lemma[\"catholicity\"]=\"uncount\"\n+lemma[\"cattiness\"]=\"uncount\"\n+lemma[\"cauliflower\"]=\"uncount\"\n+lemma[\"causality\"]=\"uncount\"\n+lemma[\"caviar\"]=\"uncount\"\n+lemma[\"caviare\"]=\"uncount\"\n+lemma[\"cayenne\"]=\"uncount\"\n+lemma[\"cayenne\"]=\"uncount\"\n+lemma[\"celerity\"]=\"uncount\"\n+lemma[\"celery\"]=\"uncount\"\n+lemma[\"celibacy\"]=\"uncount\"\n+lemma[\"cellophane\"]=\"uncount\"\n+lemma[\"celluloid\"]=\"uncount\"\n+lemma[\"cellulose\"]=\"uncount\"\n+lemma[\"cement\"]=\"uncount\"\n+lemma[\"cereal\"]=\"uncount\"\n+lemma[\"certitude\"]=\"uncount\"\n+lemma[\"chaff\"]=\"uncount\"\n+lemma[\"chagrin\"]=\"uncount\"\n+lemma[\"chairmanship\"]=\"uncount\"\n+lemma[\"chalk\"]=\"uncount\"\n+lemma[\"changeableness\"]=\"uncount\"\n+lemma[\"chaos\"]=\"uncount\"\n+lemma[\"charcoal\"]=\"uncount\"\n+lemma[\"charivari\"]=\"uncount\"\n+lemma[\"charlock\"]=\"uncount\"\n+lemma[\"chartreuse\"]=\"uncount\"\n+lemma[\"chastisement\"]=\"uncount\"\n+lemma[\"chastity\"]=\"uncount\"\n+lemma[\"cheapness\"]=\"uncount\"\n+lemma[\"cheerfulness\"]=\"uncount\"\n+lemma[\"cheerlessness\"]=\"uncount\"\n+lemma[\"cheese\"]=\"uncount\"\n+lemma[\"chemotherapy\"]=\"uncount\"\n+lemma[\"chenille\"]=\"uncount\"\n+lemma[\"chervil\"]=\"uncount\"\n+lemma[\"chess\"]=\"uncount\"\n+lemma[\"chiaroscuro\"]=\"uncount\"\n+lemma[\"chic\"]=\"uncount\"\n+lemma[\"chicken\"]=\"uncount\"\n+lemma[\"chickenfeed\"]=\"uncount\"\n+lemma[\"chickenpox\"]=\"uncount\"\n+lemma[\"chickweed\"]=\"uncount\"\n+lemma[\"chicle\"]=\"uncount\"\n+lemma[\"chicory\"]=\"uncount\"\n+lemma[\"chiffon\"]=\"uncount\"\n+lemma[\"child-bearing\"]=\"uncount\"\n+lemma[\"childbirth\"]=\"uncount\"\n+lemma[\"childhood\"]=\"uncount\"\n+lemma[\"china\"]=\"uncount\"\n+lemma[\"chinaware\"]=\"uncount\"\n+lemma[\"chintz\"]=\"uncount\"\n+lemma[\"chipboard\"]=\"uncount\"\n+lemma[\"chiropody\"]=\"uncount\"\n+lemma[\"chirpiness\"]=\"uncount\"\n+lemma[\"chivalry\"]=\"uncount\"\n+lemma[\"chloride\"]=\"uncount\"\n+lemma[\"chlorination\"]=\"uncount\"\n+lemma[\"chlorine\"]=\"uncount\"\n+lemma[\"chloroform\"]=\"uncount\"\n+lemma[\"chlorophyll\"]=\"uncount\"\n+lemma[\"chocolate\"]=\"uncount\"\n+lemma[\"cholera\"]=\"uncount\"\n+lemma[\"chop\"]=\"uncount\"\n+lemma[\"choreography\"]=\"uncount\"\n+lemma[\"chrome\"]=\"uncount\"\n+lemma[\"chromium\"]=\"uncount\"\n+lemma[\"cinematography\"]=\"uncount\"\n+lemma[\"cinnamon\"]=\"uncount\"\n+lemma[\"circuitry\"]=\"uncount\"\n+lemma[\"circularity\"]=\"uncount\"\n+lemma[\"cirrhosis\"]=\"uncount\"\n+lemma[\"cirrus\"]=\"uncount\"\n+lemma[\"clairvoyance\"]=\"uncount\"\n+lemma[\"clangour\"]=\"uncount\"\n+lemma[\"claptrap\"]=\"uncount\"\n+lemma[\"clarity\"]=\"uncount\"\n+lemma[\"claustrophobia\"]=\"uncount\"\n+lemma[\"clawback\"]=\"uncount\"\n+lemma[\"clay\"]=\"uncount\"\n+lemma[\"cleanliness\"]=\"uncount\"\n+lemma[\"clearness\"]=\"uncount\"\n+lemma[\"clematis\"]=\"uncount\"\n+lemma[\"clemency\"]=\"uncount\"\n+lemma[\"cleverness\"]=\"uncount\"\n+lemma[\"closeness\"]=\"uncount\"\n+lemma[\"cloth\"]=\"uncount\"\n+lemma[\"clout\"]=\"uncount\"\n+lemma[\"clover\"]=\"uncount\"\n+lemma[\"clumsiness\"]=\"uncount\"\n lemma[\"coal\"]=\"uncount\"\n+lemma[\"coarseness\"]=\"uncount\"\n+lemma[\"cobalt\"]=\"uncount\"\n+lemma[\"cochineal\"]=\"uncount\"\n+lemma[\"cockfighting\"]=\"uncount\"\n+lemma[\"cocoa\"]=\"uncount\"\n+lemma[\"codeine\"]=\"uncount\"\n+lemma[\"coercion\"]=\"uncount\"\n+lemma[\"coexistence\"]=\"uncount\"\n+lemma[\"coffee\"]=\"uncount\"\n+lemma[\"cogency\"]=\"uncount\"\n+lemma[\"cognac\"]=\"uncount\"\n+lemma[\"cognizance\"]=\"uncount\"\n+lemma[\"coherence\"]=\"uncount\"\n+lemma[\"coherency\"]=\"uncount\"\n+lemma[\"cohesion\"]=\"uncount\"\n+lemma[\"coir\"]=\"uncount\"\n+lemma[\"coitus\"]=\"uncount\"\n+lemma[\"cold\"]=\"uncount\"\n+lemma[\"coldness\"]=\"uncount\"\n+lemma[\"coleslaw\"]=\"uncount\"\n+lemma[\"colic\"]=\"uncount\"\n+lemma[\"colitis\"]=\"uncount\"\n+lemma[\"collateral\"]=\"uncount\"\n+lemma[\"collusion\"]=\"uncount\"\n+lemma[\"coloratura\"]=\"uncount\"\n+lemma[\"colouring\"]=\"uncount\"\n+lemma[\"comeliness\"]=\"uncount\"\n+lemma[\"comfrey\"]=\"uncount\"\n+lemma[\"comity\"]=\"uncount\"\n+lemma[\"commerce\"]=\"uncount\"\n+lemma[\"common\"]=\"uncount\"\n+lemma[\"compactness\"]=\"uncount\"\n+lemma[\"companionship\"]=\"uncount\"\n+lemma[\"comparability\"]=\"uncount\"\n+lemma[\"competitiveness\"]=\"uncount\"\n+lemma[\"complacence\"]=\"uncount\"\n+lemma[\"complacency\"]=\"uncount\"\n+lemma[\"complaisance\"]=\"uncount\"\n+lemma[\"completeness\"]=\"uncount\"\n+lemma[\"compost\"]=\"uncount\"\n+lemma[\"composure\"]=\"uncount\"\n+lemma[\"comprehensibility\"]=\"uncount\"\n+lemma[\"comprehensiveness\"]=\"uncount\"\n+lemma[\"compression\"]=\"uncount\"\n+lemma[\"compulsion\"]=\"uncount\"\n+lemma[\"concealment\"]=\"uncount\"\n+lemma[\"conciseness\"]=\"uncount\"\n+lemma[\"concupiscence\"]=\"uncount\"\n+lemma[\"concussion\"]=\"uncount\"\n+lemma[\"conditioner\"]=\"uncount\"\n lemma[\"conduct\"]=\"uncount\"\n+lemma[\"confidence\"]=\"uncount\"\n+lemma[\"conformity\"]=\"uncount\"\n+lemma[\"connivance\"]=\"uncount\"\n+lemma[\"consanguinity\"]=\"uncount\"\n+lemma[\"conscientiousness\"]=\"uncount\"\n+lemma[\"consciousness\"]=\"uncount\"\n+lemma[\"consent\"]=\"uncount\"\n+lemma[\"considerateness\"]=\"uncount\"\n+lemma[\"consistence\"]=\"uncount\"\n+lemma[\"consonance\"]=\"uncount\"\n+lemma[\"conspicuousness\"]=\"uncount\"\n+lemma[\"constancy\"]=\"uncount\"\n+lemma[\"containment\"]=\"uncount\"\n+lemma[\"contiguity\"]=\"uncount\"\n+lemma[\"continence\"]=\"uncount\"\n+lemma[\"contraband\"]=\"uncount\"\n+lemma[\"contrariness\"]=\"uncount\"\n+lemma[\"convalescence\"]=\"uncount\"\n+lemma[\"convertibility\"]=\"uncount\"\n+lemma[\"convexity\"]=\"uncount\"\n lemma[\"cookery\"]=\"uncount\"\n+lemma[\"cooking\"]=\"uncount\"\n+lemma[\"cool\"]=\"uncount\"\n+lemma[\"coolness\"]=\"uncount\"\n+lemma[\"coordination\"]=\"uncount\"\n+lemma[\"copper\"]=\"uncount\"\n+lemma[\"copperplate\"]=\"uncount\"\n+lemma[\"copra\"]=\"uncount\"\n+lemma[\"copyhold\"]=\"uncount\"\n+lemma[\"coral\"]=\"uncount\"\n+lemma[\"cordage\"]=\"uncount\"\n+lemma[\"cordite\"]=\"uncount\"\n+lemma[\"corduroy\"]=\"uncount\"\n+lemma[\"corkage\"]=\"uncount\"\n+lemma[\"corn\"]=\"uncount\"\n+lemma[\"cornflour\"]=\"uncount\"\n+lemma[\"cornpone\"]=\"uncount\"\n+lemma[\"cornstarch\"]=\"uncount\"\n+lemma[\"corpulence\"]=\"uncount\"\n+lemma[\"correctitude\"]=\"uncount\"\n+lemma[\"correctness\"]=\"uncount\"\n+lemma[\"corroboration\"]=\"uncount\"\n+lemma[\"corrosion\"]=\"uncount\"\n+lemma[\"corruptibility\"]=\"uncount\"\n+lemma[\"corruptness\"]=\"uncount\"\n+lemma[\"cortisone\"]=\"uncount\"\n+lemma[\"corundum\"]=\"uncount\"\n+lemma[\"cosiness\"]=\"uncount\"\n+lemma[\"costliness\"]=\"uncount\"\n+lemma[\"cotton\"]=\"uncount\"\n+lemma[\"counterespionage\"]=\"uncount\"\n+lemma[\"counterintelligence\"]=\"uncount\"\n lemma[\"countryside\"]=\"uncount\"\n+lemma[\"courtliness\"]=\"uncount\"\n+lemma[\"covetousness\"]=\"uncount\"\n+lemma[\"cowardice\"]=\"uncount\"\n+lemma[\"coyness\"]=\"uncount\"\n+lemma[\"crackle\"]=\"uncount\"\n+lemma[\"crackleware\"]=\"uncount\"\n+lemma[\"crackling\"]=\"uncount\"\n+lemma[\"craftiness\"]=\"uncount\"\n+lemma[\"craftsmanship\"]=\"uncount\"\n+lemma[\"crape\"]=\"uncount\"\n+lemma[\"craziness\"]=\"uncount\"\n+lemma[\"cream\"]=\"uncount\"\n+lemma[\"creativeness\"]=\"uncount\"\n+lemma[\"credulity\"]=\"uncount\"\n+lemma[\"creosote\"]=\"uncount\"\n+lemma[\"crepe\"]=\"uncount\"\n+lemma[\"cress\"]=\"uncount\"\n+lemma[\"cretonne\"]=\"uncount\"\n+lemma[\"cribbage\"]=\"uncount\"\n+lemma[\"crime\"]=\"uncount\"\n+lemma[\"crispness\"]=\"uncount\"\n+lemma[\"crochet\"]=\"uncount\"\n+lemma[\"crockery\"]=\"uncount\"\n+lemma[\"crookedness\"]=\"uncount\"\n+lemma[\"crop-dusting\"]=\"uncount\"\n+lemma[\"croquet\"]=\"uncount\"\n+lemma[\"crossness\"]=\"uncount\"\n+lemma[\"crosstalk\"]=\"uncount\"\n+lemma[\"crudeness\"]=\"uncount\"\n+lemma[\"crush\"]=\"uncount\"\n+lemma[\"crystallography\"]=\"uncount\"\n+lemma[\"cud\"]=\"uncount\"\n+lemma[\"cuisine\"]=\"uncount\"\n+lemma[\"culpability\"]=\"uncount\"\n+lemma[\"cunning\"]=\"uncount\"\n+lemma[\"cupidity\"]=\"uncount\"\n+lemma[\"cupping\"]=\"uncount\"\n+lemma[\"curability\"]=\"uncount\"\n+lemma[\"curling\"]=\"uncount\"\n+lemma[\"curtness\"]=\"uncount\"\n+lemma[\"curvature\"]=\"uncount\"\n+lemma[\"cussedness\"]=\"uncount\"\n+lemma[\"cuteness\"]=\"uncount\"\n+lemma[\"cutlery\"]=\"uncount\"\n+lemma[\"cyanide\"]=\"uncount\"\n+lemma[\"cystitis\"]=\"uncount\"\n+lemma[\"daintiness\"]=\"uncount\"\n+lemma[\"dairying\"]=\"uncount\"\n+lemma[\"dalliance\"]=\"uncount\"\n lemma[\"damage\"]=\"uncount\"\n+lemma[\"damask\"]=\"uncount\"\n+lemma[\"damnation\"]=\"uncount\"\n+lemma[\"damp\"]=\"uncount\"\n+lemma[\"dampness\"]=\"uncount\"\n+lemma[\"dandruff\"]=\"uncount\"\n+lemma[\"daring\"]=\"uncount\"\n+lemma[\"dark\"]=\"uncount\"\n+lemma[\"darkness\"]=\"uncount\"\n+lemma[\"darning\"]=\"uncount\"\n+lemma[\"daylight\"]=\"uncount\"\n+lemma[\"daytime\"]=\"uncount\"\n+lemma[\"dazzle\"]=\"uncount\"\n+lemma[\"deafness\"]=\"uncount\"\n+lemma[\"dearness\"]=\"uncount\"\n+lemma[\"debility\"]=\"uncount\"\n+lemma[\"debris\"]=\"uncount\"\n+lemma[\"decadence\"]=\"uncount\"\n+lemma[\"decay\"]=\"uncount\"\n+lemma[\"decease\"]=\"uncount\"\n+lemma[\"deceitfulness\"]=\"uncount\"\n+lemma[\"decontamination\"]=\"uncount\"\n+lemma[\"decorum\"]=\"uncount\"\n+lemma[\"decrepitude\"]=\"uncount\"\n+lemma[\"deepness\"]=\"uncount\"\n+lemma[\"deerstalking\"]=\"uncount\"\n+lemma[\"defectiveness\"]=\"uncount\"\n+lemma[\"defencelessness\"]=\"uncount\"\n+lemma[\"defilement\"]=\"uncount\"\n+lemma[\"deftness\"]=\"uncount\"\n+lemma[\"degeneracy\"]=\"uncount\"\n+lemma[\"dejection\"]=\"uncount\"\n+lemma[\"delf\"]=\"uncount\"\n+lemma[\"delft\"]=\"uncount\"\n+lemma[\"delirium\"]=\"uncount\"\n+lemma[\"demagogy\"]=\"uncount\"\n+lemma[\"demeanour\"]=\"uncount\"\n+lemma[\"demerara\"]=\"uncount\"\n+lemma[\"demography\"]=\"uncount\"\n+lemma[\"demonstrability\"]=\"uncount\"\n+lemma[\"demur\"]=\"uncount\"\n+lemma[\"demureness\"]=\"uncount\"\n+lemma[\"denationalization\"]=\"uncount\"\n+lemma[\"denim\"]=\"uncount\"\n+lemma[\"denseness\"]=\"uncount\"\n+lemma[\"dentifrice\"]=\"uncount\"\n+lemma[\"dentistry\"]=\"uncount\"\n+lemma[\"deodorant\"]=\"uncount\"\n+lemma[\"depopulation\"]=\"uncount\"\n+lemma[\"deportment\"]=\"uncount\"\n+lemma[\"derision\"]=\"uncount\"\n+lemma[\"dermatitis\"]=\"uncount\"\n+lemma[\"derogation\"]=\"uncount\"\n+lemma[\"derring-do\"]=\"uncount\"\n+lemma[\"derv\"]=\"uncount\"\n+lemma[\"desalination\"]=\"uncount\"\n+lemma[\"desegregation\"]=\"uncount\"\n+lemma[\"designing\"]=\"uncount\"\n+lemma[\"desirability\"]=\"uncount\"\n+lemma[\"despair\"]=\"uncount\"\n+lemma[\"despite\"]=\"uncount\"\n+lemma[\"despondency\"]=\"uncount\"\n+lemma[\"destructibility\"]=\"uncount\"\n+lemma[\"destructiveness\"]=\"uncount\"\n+lemma[\"desuetude\"]=\"uncount\"\n+lemma[\"detergent\"]=\"uncount\"\n+lemma[\"detriment\"]=\"uncount\"\n+lemma[\"detritus\"]=\"uncount\"\n+lemma[\"deviousness\"]=\"uncount\"\n+lemma[\"devoutness\"]=\"uncount\"\n+lemma[\"dew\"]=\"uncount\"\n+lemma[\"dexterity\"]=\"uncount\"\n+lemma[\"dextrose\"]=\"uncount\"\n+lemma[\"diabetes\"]=\"uncount\"\n+lemma[\"diarrhea\"]=\"uncount\"\n+lemma[\"diarrhoea\"]=\"uncount\"\n+lemma[\"diesel\"]=\"uncount\"\n+lemma[\"diffidence\"]=\"uncount\"\n+lemma[\"diffuseness\"]=\"uncount\"\n+lemma[\"diffusion\"]=\"uncount\"\n+lemma[\"digestibility\"]=\"uncount\"\n+lemma[\"diligence\"]=\"uncount\"\n+lemma[\"dill\"]=\"uncount\"\n+lemma[\"dimity\"]=\"uncount\"\n+lemma[\"dimness\"]=\"uncount\"\n+lemma[\"din\"]=\"uncount\"\n+lemma[\"dinginess\"]=\"uncount\"\n+lemma[\"diphtheria\"]=\"uncount\"\n+lemma[\"diplomacy\"]=\"uncount\"\n+lemma[\"dipsomania\"]=\"uncount\"\n+lemma[\"directness\"]=\"uncount\"\n+lemma[\"disagreeableness\"]=\"uncount\"\n+lemma[\"disapproval\"]=\"uncount\"\n+lemma[\"disarmament\"]=\"uncount\"\n+lemma[\"disarray\"]=\"uncount\"\n+lemma[\"disbelief\"]=\"uncount\"\n+lemma[\"discernment\"]=\"uncount\"\n+lemma[\"discomfiture\"]=\"uncount\"\n+lemma[\"discomposure\"]=\"uncount\"\n+lemma[\"discordance\"]=\"uncount\"\n+lemma[\"discredit\"]=\"uncount\"\n+lemma[\"discreteness\"]=\"uncount\"\n+lemma[\"discrimination\"]=\"uncount\"\n+lemma[\"discursiveness\"]=\"uncount\"\n+lemma[\"disdain\"]=\"uncount\"\n+lemma[\"disequilibrium\"]=\"uncount\"\n+lemma[\"disestablishment\"]=\"uncount\"\n+lemma[\"disfavour\"]=\"uncount\"\n+lemma[\"disfranchisement\"]=\"uncount\"\n+lemma[\"disgust\"]=\"uncount\"\n+lemma[\"dishabille\"]=\"uncount\"\n+lemma[\"disharmony\"]=\"uncount\"\n+lemma[\"dishonour\"]=\"uncount\"\n+lemma[\"dishwater\"]=\"uncount\"\n+lemma[\"disillusion\"]=\"uncount\"\n+lemma[\"disinfectant\"]=\"uncount\"\n+lemma[\"disingenuousness\"]=\"uncount\"\n+lemma[\"disinheritance\"]=\"uncount\"\n+lemma[\"disinterestedness\"]=\"uncount\"\n+lemma[\"disjointedness\"]=\"uncount\"\n+lemma[\"dismantlement\"]=\"uncount\"\n+lemma[\"dismay\"]=\"uncount\"\n+lemma[\"disobedience\"]=\"uncount\"\n+lemma[\"dispassionateness\"]=\"uncount\"\n+lemma[\"displeasure\"]=\"uncount\"\n+lemma[\"disquietude\"]=\"uncount\"\n+lemma[\"disregard\"]=\"uncount\"\n+lemma[\"disrepair\"]=\"uncount\"\n+lemma[\"disrepute\"]=\"uncount\"\n+lemma[\"disrespect\"]=\"uncount\"\n+lemma[\"dissemination\"]=\"uncount\"\n+lemma[\"dissent\"]=\"uncount\"\n+lemma[\"dissidence\"]=\"uncount\"\n+lemma[\"dissimilitude\"]=\"uncount\"\n+lemma[\"dissolubility\"]=\"uncount\"\n+lemma[\"dissuasion\"]=\"uncount\"\n+lemma[\"distastefulness\"]=\"uncount\"\n+lemma[\"distemper\"]=\"uncount\"\n+lemma[\"distinctiveness\"]=\"uncount\"\n+lemma[\"distinctness\"]=\"uncount\"\n+lemma[\"distrustfulness\"]=\"uncount\"\n+lemma[\"disunion\"]=\"uncount\"\n+lemma[\"disunity\"]=\"uncount\"\n+lemma[\"disuse\"]=\"uncount\"\n+lemma[\"dizziness\"]=\"uncount\"\n+lemma[\"docility\"]=\"uncount\"\n+lemma[\"doggedness\"]=\"uncount\"\n+lemma[\"doggerel\"]=\"uncount\"\n+lemma[\"dogtooth\"]=\"uncount\"\n+lemma[\"domesticity\"]=\"uncount\"\n+lemma[\"dominance\"]=\"uncount\"\n+lemma[\"domination\"]=\"uncount\"\n+lemma[\"donkey-work\"]=\"uncount\"\n+lemma[\"dotage\"]=\"uncount\"\n+lemma[\"double-dealing\"]=\"uncount\"\n+lemma[\"dough\"]=\"uncount\"\n+lemma[\"dowdiness\"]=\"uncount\"\n+lemma[\"downrightness\"]=\"uncount\"\n+lemma[\"drabness\"]=\"uncount\"\n+lemma[\"drag\"]=\"uncount\"\n+lemma[\"drainage\"]=\"uncount\"\n+lemma[\"dread\"]=\"uncount\"\n+lemma[\"dreadfulness\"]=\"uncount\"\n+lemma[\"dreariness\"]=\"uncount\"\n+lemma[\"dressage\"]=\"uncount\"\n+lemma[\"dressmaking\"]=\"uncount\"\n+lemma[\"driftage\"]=\"uncount\"\n+lemma[\"dripping\"]=\"uncount\"\n+lemma[\"drivel\"]=\"uncount\"\n+lemma[\"drizzle\"]=\"uncount\"\n+lemma[\"dropsy\"]=\"uncount\"\n+lemma[\"dross\"]=\"uncount\"\n+lemma[\"drowsiness\"]=\"uncount\"\n+lemma[\"drudgery\"]=\"uncount\"\n+lemma[\"drumfire\"]=\"uncount\"\n+lemma[\"drunkenness\"]=\"uncount\"\n+lemma[\"dryness\"]=\"uncount\"\n+lemma[\"dubbin\"]=\"uncount\"\n+lemma[\"dubiousness\"]=\"uncount\"\n+lemma[\"duckweed\"]=\"uncount\"\n+lemma[\"ductility\"]=\"uncount\"\n+lemma[\"dudgeon\"]=\"uncount\"\n+lemma[\"duffel\"]=\"uncount\"\n+lemma[\"duffle\"]=\"uncount\"\n+lemma[\"dullness\"]=\"uncount\"\n+lemma[\"dumbness\"]=\"uncount\"\n+lemma[\"dung\"]=\"uncount\"\n+lemma[\"duplicity\"]=\"uncount\"\n+lemma[\"durability\"]=\"uncount\"\n+lemma[\"durance\"]=\"uncount\"\n+lemma[\"duress\"]=\"uncount\"\n+lemma[\"dusk\"]=\"uncount\"\n+lemma[\"dust\"]=\"uncount\"\n+lemma[\"dynamite\"]=\"uncount\"\n+lemma[\"dysentery\"]=\"uncount\"\n+lemma[\"dyslexia\"]=\"uncount\"\n+lemma[\"dyspepsia\"]=\"uncount\"\n+lemma[\"eagerness\"]=\"uncount\"\n+lemma[\"earnest\"]=\"uncount\"\n+lemma[\"earnestness\"]=\"uncount\"\n+lemma[\"earshot\"]=\"uncount\"\n+lemma[\"earth\"]=\"uncount\"\n+lemma[\"earthenware\"]=\"uncount\"\n+lemma[\"earwax\"]=\"uncount\"\n+lemma[\"ease\"]=\"uncount\" \n+lemma[\"east\"]=\"uncount\"\n+lemma[\"eau\"]=\"uncount\"\n+lemma[\"ebonite\"]=\"uncount\"\n+lemma[\"ebony\"]=\"uncount\"\n+lemma[\"ebullience\"]=\"uncount\"\n+lemma[\"ectoplasm\"]=\"uncount\"\n+lemma[\"eczema\"]=\"uncount\"\n+lemma[\"edelweiss\"]=\"uncount\"\n+lemma[\"edibility\"]=\"uncount\"\n+lemma[\"eeriness\"]=\"uncount\"\n+lemma[\"effacement\"]=\"uncount\"\n+lemma[\"effectiveness\"]=\"uncount\"\n+lemma[\"effectuality\"]=\"uncount\"\n+lemma[\"effectualness\"]=\"uncount\"\n+lemma[\"effeminacy\"]=\"uncount\"\n+lemma[\"effervescence\"]=\"uncount\"\n+lemma[\"effeteness\"]=\"uncount\"\n+lemma[\"efficacy\"]=\"uncount\"\n+lemma[\"efflorescence\"]=\"uncount\"\n+lemma[\"effulgence\"]=\"uncount\"\n+lemma[\"effusiveness\"]=\"uncount\"\n+lemma[\"eglantine\"]=\"uncount\"\n+lemma[\"elaborateness\"]=\"uncount\"\n+lemma[\"elastic\"]=\"uncount\"\n+lemma[\"electioneering\"]=\"uncount\"\n+lemma[\"electrochemistry\"]=\"uncount\"\n+lemma[\"electrolysis\"]=\"uncount\"\n+lemma[\"electroplate\"]=\"uncount\"\n+lemma[\"elegance\"]=\"uncount\"\n+lemma[\"elephantiasis\"]=\"uncount\"\n+lemma[\"eligibility\"]=\"uncount\"\n+lemma[\"eloquence\"]=\"uncount\"\n+lemma[\"email\"]=\"uncount\"\n+lemma[\"embonpoint\"]=\"uncount\"\n+lemma[\"emergence\"]=\"uncount\"\n+lemma[\"emery\"]=\"uncount\"\n+lemma[\"empathy\"]=\"uncount\"\n+lemma[\"employment\"]=\"uncount\"\n+lemma[\"emptiness\"]=\"uncount\"\n+lemma[\"enamel\"]=\"uncount\"\n+lemma[\"encephalitis\"]=\"uncount\"\n+lemma[\"endurance\"]=\"uncount\"\n+lemma[\"engineering\"]=\"uncount\"\n+lemma[\"enormousness\"]=\"uncount\"\n+lemma[\"enrichment\"]=\"uncount\"\n+lemma[\"ensilage\"]=\"uncount\"\n+lemma[\"enteritis\"]=\"uncount\"\n+lemma[\"entertainment\"]=\"uncount\"\n+lemma[\"entirety\"]=\"uncount\"\n+lemma[\"envy\"]=\"uncount\"\n+lemma[\"epidermis\"]=\"uncount\"\n+lemma[\"epilepsy\"]=\"uncount\"\n+lemma[\"equanimity\"]=\"uncount\"\n+lemma[\"erectness\"]=\"uncount\"\n+lemma[\"ermine\"]=\"uncount\"\n+lemma[\"erosion\"]=\"uncount\"\n+lemma[\"erysipelas\"]=\"uncount\"\n+lemma[\"esprit\"]=\"uncount\"\n+lemma[\"essence\"]=\"uncount\"\n+lemma[\"esthetic\"]=\"uncount\"\n+lemma[\"ether\"]=\"uncount\"\n+lemma[\"ethnography\"]=\"uncount\"\n+lemma[\"etiquette\"]=\"uncount\"\n+lemma[\"euphoria\"]=\"uncount\"\n+lemma[\"euthanasia\"]=\"uncount\"\n+lemma[\"evanescence\"]=\"uncount\"\n+lemma[\"evasiveness\"]=\"uncount\"\n+lemma[\"evenness\"]=\"uncount\"\n+lemma[\"eventide\"]=\"uncount\"\n lemma[\"evidence\"]=\"uncount\"\n+lemma[\"exactitude\"]=\"uncount\"\n+lemma[\"exactness\"]=\"uncount\"\n+lemma[\"excelsior\"]=\"uncount\"\n+lemma[\"excise\"]=\"uncount\"\n+lemma[\"excitability\"]=\"uncount\"\n+lemma[\"excrement\"]=\"uncount\"\n+lemma[\"exegesis\"]=\"uncount\"\n+lemma[\"exorbitance\"]=\"uncount\"\n+lemma[\"expansiveness\"]=\"uncount\"\n+lemma[\"expedience\"]=\"uncount\"\n+lemma[\"expediency\"]=\"uncount\"\n+lemma[\"experience\"]=\"uncount\"\n+lemma[\"expertness\"]=\"uncount\"\n+lemma[\"explicitness\"]=\"uncount\"\n+lemma[\"exquisiteness\"]=\"uncount\"\n+lemma[\"extent\"]=\"uncount\"\n+lemma[\"extroversion\"]=\"uncount\"\n+lemma[\"exuberance\"]=\"uncount\"\n+lemma[\"eyeshot\"]=\"uncount\"\n+lemma[\"eyesight\"]=\"uncount\"\n+lemma[\"eyestrain\"]=\"uncount\"\n+lemma[\"eyewash\"]=\"uncount\"\n+lemma[\"fabric\"]=\"uncount\"\n+lemma[\"face-ache\"]=\"uncount\"\n+lemma[\"facetiousness\"]=\"uncount\"\n+lemma[\"faience\"]=\"uncount\"\n+lemma[\"fail\"]=\"uncount\"\n+lemma[\"faintness\"]=\"uncount\"\n+lemma[\"faithfulness\"]=\"uncount\"\n+lemma[\"faithlessness\"]=\"uncount\"\n+lemma[\"falconry\"]=\"uncount\"\n+lemma[\"fallibility\"]=\"uncount\"\n+lemma[\"fallout\"]=\"uncount\"\n+lemma[\"fallow\"]=\"uncount\"\n+lemma[\"falseness\"]=\"uncount\"\n+lemma[\"fantan\"]=\"uncount\"\n+lemma[\"fastidiousness\"]=\"uncount\"\n+lemma[\"fatherhood\"]=\"uncount\"\n+lemma[\"fatness\"]=\"uncount\"\n+lemma[\"fatuousness\"]=\"uncount\"\n+lemma[\"fault-finding\"]=\"uncount\"\n+lemma[\"fearfulness\"]=\"uncount\"\n+lemma[\"fearlessness\"]=\"uncount\"\n+lemma[\"feasibility\"]=\"uncount\"\n+lemma[\"fecklessness\"]=\"uncount\"\n+lemma[\"fecundity\"]=\"uncount\"\n+lemma[\"feebleness\"]=\"uncount\"\n+lemma[\"feldspar\"]=\"uncount\"\n+lemma[\"felspar\"]=\"uncount\"\n+lemma[\"felt\"]=\"uncount\"\n+lemma[\"femininity\"]=\"uncount\"\n+lemma[\"fencing\"]=\"uncount\"\n+lemma[\"fennel\"]=\"uncount\"\n+lemma[\"ferroconcrete\"]=\"uncount\"\n+lemma[\"fertility\"]=\"uncount\"\n+lemma[\"fervency\"]=\"uncount\"\n+lemma[\"fettle\"]=\"uncount\"\n+lemma[\"fewness\"]=\"uncount\"\n+lemma[\"fibreboard\"]=\"uncount\"\n+lemma[\"fibreglass\"]=\"uncount\"\n+lemma[\"fibrositis\"]=\"uncount\"\n+lemma[\"fickleness\"]=\"uncount\"\n+lemma[\"fidelity\"]=\"uncount\"\n+lemma[\"fierceness\"]=\"uncount\"\n+lemma[\"fieriness\"]=\"uncount\"\n+lemma[\"filigree\"]=\"uncount\"\n+lemma[\"filth\"]=\"uncount\"\n+lemma[\"filthiness\"]=\"uncount\"\n+lemma[\"finality\"]=\"uncount\"\n+lemma[\"fineness\"]=\"uncount\"\n+lemma[\"finery\"]=\"uncount\"\n+lemma[\"finnan\"]=\"uncount\"\n+lemma[\"finnan\"]=\"uncount\"\n+lemma[\"finnan\"]=\"uncount\"\n+lemma[\"fire-raising\"]=\"uncount\"\n+lemma[\"fireclay\"]=\"uncount\"\n+lemma[\"firedamp\"]=\"uncount\"\n+lemma[\"firestone\"]=\"uncount\"\n+lemma[\"firewater\"]=\"uncount\"\n+lemma[\"firewood\"]=\"uncount\"\n+lemma[\"firmness\"]=\"uncount\"\n+lemma[\"fish\"]=\"uncount\"\n+lemma[\"fission\"]=\"uncount\"\n+lemma[\"fitness\"]=\"uncount\"\n+lemma[\"fizz\"]=\"uncount\"\n+lemma[\"flabbiness\"]=\"uncount\"\n+lemma[\"flaccidity\"]=\"uncount\"\n+lemma[\"flack\"]=\"uncount\"\n+lemma[\"flair\"]=\"uncount\"\n+lemma[\"flakiness\"]=\"uncount\"\n+lemma[\"flamboyance\"]=\"uncount\"\n+lemma[\"flannelette\"]=\"uncount\"\n+lemma[\"flatness\"]=\"uncount\"\n+lemma[\"flatulence\"]=\"uncount\"\n+lemma[\"flax\"]=\"uncount\"\n+lemma[\"fleetness\"]=\"uncount\"\n+lemma[\"flimsiness\"]=\"uncount\"\n+lemma[\"flimsy\"]=\"uncount\"\n+lemma[\"flintstone\"]=\"uncount\"\n+lemma[\"flooding\"]=\"uncount\"\n+lemma[\"flooring\"]=\"uncount\"\n+lemma[\"floriculture\"]=\"uncount\"\n+lemma[\"floss\"]=\"uncount\"\n+lemma[\"flotsam\"]=\"uncount\"\n+lemma[\"flour\"]=\"uncount\"\n+lemma[\"flu\"]=\"uncount\"\n+lemma[\"fluency\"]=\"uncount\"\n+lemma[\"fluff\"]=\"uncount\"\n+lemma[\"fluorine\"]=\"uncount\"\n+lemma[\"fluting\"]=\"uncount\"\n+lemma[\"fodder\"]=\"uncount\"\n+lemma[\"fog\"]=\"uncount\"\n+lemma[\"foliage\"]=\"uncount\"\n+lemma[\"folklore\"]=\"uncount\"\n+lemma[\"fondness\"]=\"uncount\"\n lemma[\"food\"]=\"uncount\"\n+lemma[\"foolery\"]=\"uncount\"\n+lemma[\"foolhardiness\"]=\"uncount\"\n+lemma[\"foolishness\"]=\"uncount\"\n+lemma[\"foolscap\"]=\"uncount\"\n+lemma[\"footage\"]=\"uncount\"\n+lemma[\"footwear\"]=\"uncount\"\n+lemma[\"footwork\"]=\"uncount\"\n+lemma[\"forage\"]=\"uncount\"\n+lemma[\"forbearance\"]=\"uncount\"\n+lemma[\"forcefulness\"]=\"uncount\"\n+lemma[\"forcemeat\"]=\"uncount\"\n+lemma[\"fore\"]=\"uncount\"\n+lemma[\"foreknowledge\"]=\"uncount\"\n+lemma[\"foresight\"]=\"uncount\"\n+lemma[\"forestry\"]=\"uncount\"\n+lemma[\"forethought\"]=\"uncount\"\n+lemma[\"forfeiture\"]=\"uncount\"\n+lemma[\"forgetfulness\"]=\"uncount\"\n+lemma[\"forgiveness\"]=\"uncount\"\n+lemma[\"forlornness\"]=\"uncount\"\n+lemma[\"formaldehyde\"]=\"uncount\"\n+lemma[\"formalin\"]=\"uncount\"\n+lemma[\"forsythia\"]=\"uncount\"\n+lemma[\"forwardness\"]=\"uncount\"\n+lemma[\"foulness\"]=\"uncount\"\n+lemma[\"fractiousness\"]=\"uncount\"\n+lemma[\"fragility\"]=\"uncount\"\n+lemma[\"frankincense\"]=\"uncount\"\n+lemma[\"frankness\"]=\"uncount\"\n+lemma[\"freakishness\"]=\"uncount\"\n+lemma[\"free-living\"]=\"uncount\"\n+lemma[\"freestone\"]=\"uncount\"\n+lemma[\"freestyle\"]=\"uncount\"\n+lemma[\"frenzy\"]=\"uncount\"\n+lemma[\"freshness\"]=\"uncount\"\n+lemma[\"fretwork\"]=\"uncount\"\n+lemma[\"friability\"]=\"uncount\"\n+lemma[\"friendlessness\"]=\"uncount\"\n+lemma[\"frightfulness\"]=\"uncount\"\n+lemma[\"frigidity\"]=\"uncount\"\n+lemma[\"frostbite\"]=\"uncount\"\n+lemma[\"frostiness\"]=\"uncount\"\n+lemma[\"frosting\"]=\"uncount\"\n+lemma[\"froth\"]=\"uncount\"\n+lemma[\"frothiness\"]=\"uncount\"\n+lemma[\"fruitfulness\"]=\"uncount\"\n+lemma[\"fruitlessness\"]=\"uncount\"\n+lemma[\"fuel\"]=\"uncount\"\n+lemma[\"fullness\"]=\"uncount\"\n+lemma[\"fulsomeness\"]=\"uncount\"\n+lemma[\"funniness\"]=\"uncount\"\n+lemma[\"fur\"]=\"uncount\"\n+lemma[\"furtherance\"]=\"uncount\"\n+lemma[\"furtiveness\"]=\"uncount\"\n+lemma[\"furze\"]=\"uncount\"\n+lemma[\"fussiness\"]=\"uncount\"\n+lemma[\"fustian\"]=\"uncount\"\n+lemma[\"fuzz\"]=\"uncount\"\n+lemma[\"gab\"]=\"uncount\"\n+lemma[\"gabardine\"]=\"uncount\"\n+lemma[\"gabble\"]=\"uncount\"\n+lemma[\"gaberdine\"]=\"uncount\"\n+lemma[\"gadgetry\"]=\"uncount\"\n+lemma[\"gaiety\"]=\"uncount\"\n+lemma[\"gambling\"]=\"uncount\"\n+lemma[\"gamboge\"]=\"uncount\"\n+lemma[\"gamesmanship\"]=\"uncount\"\n+lemma[\"gangrene\"]=\"uncount\"\n+lemma[\"garb\"]=\"uncount\"\n+lemma[\"garbage\"]=\"uncount\"\n+lemma[\"garrulity\"]=\"uncount\"\n+lemma[\"gas\"]=\"uncount\"\n+lemma[\"gaslight\"]=\"uncount\"\n+lemma[\"gasolene\"]=\"uncount\"\n+lemma[\"gasoline\"]=\"uncount\"\n+lemma[\"gastritis\"]=\"uncount\"\n+lemma[\"gastronomy\"]=\"uncount\"\n+lemma[\"gauntness\"]=\"uncount\"\n+lemma[\"gauze\"]=\"uncount\"\n+lemma[\"gawkiness\"]=\"uncount\"\n+lemma[\"gayness\"]=\"uncount\"\n+lemma[\"gelatin\"]=\"uncount\"\n+lemma[\"gelatine\"]=\"uncount\"\n+lemma[\"gelignite\"]=\"uncount\"\n+lemma[\"gen\"]=\"uncount\"\n+lemma[\"genocide\"]=\"uncount\"\n+lemma[\"gentility\"]=\"uncount\"\n+lemma[\"gentleness\"]=\"uncount\"\n+lemma[\"genuineness\"]=\"uncount\"\n+lemma[\"geography\"]=\"uncount\"\n+lemma[\"geometry\"]=\"uncount\"\n+lemma[\"georgette\"]=\"uncount\"\n+lemma[\"germination\"]=\"uncount\"\n+lemma[\"ghee\"]=\"uncount\"\n+lemma[\"ghostliness\"]=\"uncount\"\n+lemma[\"giddiness\"]=\"uncount\"\n+lemma[\"gilding\"]=\"uncount\"\n+lemma[\"gilt\"]=\"uncount\"\n+lemma[\"gimmickry\"]=\"uncount\"\n+lemma[\"gingham\"]=\"uncount\"\n+lemma[\"ginseng\"]=\"uncount\"\n+lemma[\"girlhood\"]=\"uncount\"\n+lemma[\"girlishness\"]=\"uncount\"\n+lemma[\"giro\"]=\"uncount\"\n+lemma[\"give\"]=\"uncount\"\n+lemma[\"glanders\"]=\"uncount\"\n+lemma[\"glass\"]=\"uncount\"\n+lemma[\"glassware\"]=\"uncount\"\n+lemma[\"glaucoma\"]=\"uncount\"\n+lemma[\"glibness\"]=\"uncount\"\n+lemma[\"gliding\"]=\"uncount\"\n+lemma[\"glitter\"]=\"uncount\"\n+lemma[\"glossiness\"]=\"uncount\"\n+lemma[\"glue\"]=\"uncount\"\n+lemma[\"glumness\"]=\"uncount\"\n+lemma[\"gluten\"]=\"uncount\"\n+lemma[\"gluttony\"]=\"uncount\"\n+lemma[\"glycerine\"]=\"uncount\"\n+lemma[\"gobbledygook\"]=\"uncount\"\n+lemma[\"godhead\"]=\"uncount\"\n+lemma[\"godlessness\"]=\"uncount\"\n+lemma[\"godliness\"]=\"uncount\"\n+lemma[\"godspeed\"]=\"uncount\"\n+lemma[\"gold\"]=\"uncount\"\n+lemma[\"gold-dust\"]=\"uncount\"\n+lemma[\"golf\"]=\"uncount\"\n+lemma[\"gonorrhea\"]=\"uncount\"\n+lemma[\"gonorrhoea\"]=\"uncount\"\n+lemma[\"goo\"]=\"uncount\"\n+lemma[\"good\"]=\"uncount\"\n+lemma[\"good-fellowship\"]=\"uncount\"\n+lemma[\"goodwill\"]=\"uncount\"\n+lemma[\"gore\"]=\"uncount\"\n+lemma[\"gorse\"]=\"uncount\"\n+lemma[\"gouache\"]=\"uncount\"\n+lemma[\"gout\"]=\"uncount\"\n+lemma[\"governance\"]=\"uncount\"\n+lemma[\"graciousness\"]=\"uncount\"\n+lemma[\"gradualness\"]=\"uncount\"\n+lemma[\"grandeur\"]=\"uncount\"\n+lemma[\"grandiloquence\"]=\"uncount\"\n+lemma[\"granite\"]=\"uncount\"\n+lemma[\"granularity\"]=\"uncount\"\n+lemma[\"grapeshot\"]=\"uncount\"\n+lemma[\"graphite\"]=\"uncount\"\n lemma[\"grass\"]=\"uncount\"\n+lemma[\"gratefulness\"]=\"uncount\"\n+lemma[\"gravel\"]=\"uncount\"\n+lemma[\"gravity\"]=\"uncount\"\n+lemma[\"gravy\"]=\"uncount\"\n+lemma[\"grease\"]=\"uncount\"\n+lemma[\"greasepaint\"]=\"uncount\"\n+lemma[\"greasiness\"]=\"uncount\"\n+lemma[\"greatness\"]=\"uncount\"\n+lemma[\"greed\"]=\"uncount\"\n+lemma[\"greediness\"]=\"uncount\"\n+lemma[\"greenery\"]=\"uncount\"\n+lemma[\"greenfly\"]=\"uncount\"\n+lemma[\"greenishness\"]=\"uncount\"\n+lemma[\"greensward\"]=\"uncount\"\n+lemma[\"gregariousness\"]=\"uncount\"\n+lemma[\"grief\"]=\"uncount\"\n+lemma[\"grime\"]=\"uncount\"\n+lemma[\"grimness\"]=\"uncount\"\n+lemma[\"grist\"]=\"uncount\"\n+lemma[\"gristle\"]=\"uncount\"\n+lemma[\"grit\"]=\"uncount\"\n+lemma[\"grog\"]=\"uncount\"\n+lemma[\"grossness\"]=\"uncount\"\n+lemma[\"grotesqueness\"]=\"uncount\"\n+lemma[\"groundsel\"]=\"uncount\"\n+lemma[\"grubbiness\"]=\"uncount\"\n+lemma[\"gruel\"]=\"uncount\"\n+lemma[\"gruesomeness\"]=\"uncount\"\n+lemma[\"gruffness\"]=\"uncount\"\n+lemma[\"grumpiness\"]=\"uncount\"\n+lemma[\"guesswork\"]=\"uncount\"\n+lemma[\"guile\"]=\"uncount\"\n+lemma[\"guiltiness\"]=\"uncount\"\n+lemma[\"gullibility\"]=\"uncount\"\n+lemma[\"guncotton\"]=\"uncount\"\n+lemma[\"gunfire\"]=\"uncount\"\n+lemma[\"gunmetal\"]=\"uncount\"\n+lemma[\"gunnery\"]=\"uncount\"\n+lemma[\"gunny\"]=\"uncount\"\n+lemma[\"gunplay\"]=\"uncount\"\n+lemma[\"gunpowder\"]=\"uncount\"\n+lemma[\"gunrunning\"]=\"uncount\"\n+lemma[\"gutta-percha\"]=\"uncount\"\n+lemma[\"gypsum\"]=\"uncount\"\n+lemma[\"haberdashery\"]=\"uncount\"\n+lemma[\"habitude\"]=\"uncount\"\n+lemma[\"haemoglobin\"]=\"uncount\"\n+lemma[\"haemophilia\"]=\"uncount\"\n+lemma[\"hail\"]=\"uncount\"\n+lemma[\"hairdressing\"]=\"uncount\"\n+lemma[\"hairiness\"]=\"uncount\"\n+lemma[\"hairsplitting\"]=\"uncount\"\n+lemma[\"half-time\"]=\"uncount\"\n+lemma[\"halitosis\"]=\"uncount\"\n+lemma[\"halma\"]=\"uncount\"\n+lemma[\"handiness\"]=\"uncount\"\n+lemma[\"handshaking\"]=\"uncount\"\n+lemma[\"handwork\"]=\"uncount\"\n+lemma[\"handwriting\"]=\"uncount\"\n+lemma[\"hanky-panky\"]=\"uncount\"\n+lemma[\"hara-kiri\"]=\"uncount\"\n+lemma[\"hardboard\"]=\"uncount\"\n+lemma[\"hardihood\"]=\"uncount\"\n+lemma[\"hardiness\"]=\"uncount\"\n+lemma[\"hardness\"]=\"uncount\"\n+lemma[\"hardwood\"]=\"uncount\"\n lemma[\"harm\"]=\"uncount\"\n+lemma[\"harshness\"]=\"uncount\"\n+lemma[\"hash\"]=\"uncount\"\n+lemma[\"hashish\"]=\"uncount\"\n+lemma[\"hastiness\"]=\"uncount\"\n+lemma[\"hatching\"]=\"uncount\"\n+lemma[\"hate\"]=\"uncount\"\n+lemma[\"haughtiness\"]=\"uncount\"\n+lemma[\"haulage\"]=\"uncount\"\n+lemma[\"haulm\"]=\"uncount\"\n+lemma[\"hauteur\"]=\"uncount\"\n+lemma[\"haymaking\"]=\"uncount\"\n+lemma[\"haywire\"]=\"uncount\"\n+lemma[\"haziness\"]=\"uncount\"\n+lemma[\"headgear\"]=\"uncount\"\n+lemma[\"headroom\"]=\"uncount\"\n+lemma[\"hearsay\"]=\"uncount\"\n+lemma[\"heartbreak\"]=\"uncount\"\n+lemma[\"heartburn\"]=\"uncount\"\n+lemma[\"heartburning\"]=\"uncount\"\n+lemma[\"heartlessness\"]=\"uncount\"\n+lemma[\"heatstroke\"]=\"uncount\"\n+lemma[\"heaviness\"]=\"uncount\"\n+lemma[\"heinousness\"]=\"uncount\"\n+lemma[\"helium\"]=\"uncount\"\n+lemma[\"hell\"]=\"uncount\"\n lemma[\"help\"]=\"uncount\"\n-lemma[\"jealousy\"]=\"uncount\"\n-lemma[\"jewellery\"]=\"uncount\"\n-lemma[\"lightning\"]=\"uncount\"\n-lemma[\"linen\"]=\"uncount\"\n-lemma[\"luck\"]=\"uncount\"\n-lemma[\"macaroni\"]=\"uncount\"\n-lemma[\"meat\"]=\"uncount\"\n-lemma[\"moonlight\"]=\"uncount\"\n-lemma[\"news\"]=\"uncount\"\n-lemma[\"peel\"]=\"uncount\"\n-lemma[\"produce\"]=\"uncount\"\n-lemma[\"progress\"]=\"uncount\"\n-lemma[\"safety\"]=\"uncount\"\n-lemma[\"seaside\"]=\"uncount\"\n-lemma[\"soap\"]=\"uncount\"\n-lemma[\"spelling\"]=\"uncount\"\n-lemma[\"steam\"]=\"uncount\"\n-lemma[\"strength\"]=\"uncount\"\n-lemma[\"stuff\"]=\"uncount\"\n-lemma[\"stupidity\"]=\"uncount\"\n-lemma[\"thunder\"]=\"uncount\"\n-lemma[\"timber\"]=\"uncount\"\n-lemma[\"traffic\"]=\"uncount\"\n-lemma[\"travel\"]=\"uncount\"\n-lemma[\"vocabulary\"]=\"uncount\"\n-lemma[\"weather\"]=\"uncount\"\n-lemma[\"writing\"]=\"uncount\"\n-lemma[\"air\"]=\"uncount\"\n-lemma[\"butter\"]=\"uncount\"\n-lemma[\"cake\"]=\"uncount\"\n-lemma[\"candy\"]=\"uncount\"\n-lemma[\"chalk\"]=\"uncount\"\n-lemma[\"cheese\"]=\"uncount\"\n-lemma[\"cloth\"]=\"uncount\"\n-lemma[\"chocolate\"]=\"uncount\"\n-lemma[\"coffee\"]=\"uncount\"\n-lemma[\"deodorant\"]=\"uncount\"\n-lemma[\"detergent\"]=\"uncount\"\n-lemma[\"disinfectant\"]=\"uncount\"\n-lemma[\"dust\"]=\"uncount\"\n-lemma[\"fabric\"]=\"uncount\"\n-lemma[\"fish\"]=\"uncount\"\n-lemma[\"fog\"]=\"uncount\"\n-lemma[\"fuel\"]=\"uncount\"\n-lemma[\"fur\"]=\"uncount\"\n-lemma[\"glue\"]=\"uncount\"\n-lemma[\"gold\"]=\"uncount\"\n-lemma[\"gravy\"]=\"uncount\"\n-lemma[\"ink\"]=\"uncount\"\n+lemma[\"helpfulness\"]=\"uncount\"\n+lemma[\"helplessness\"]=\"uncount\"\n+lemma[\"hemoglobin\"]=\"uncount\"\n+lemma[\"hemophilia\"]=\"uncount\"\n+lemma[\"hemp\"]=\"uncount\"\n+lemma[\"henbane\"]=\"uncount\"\n+lemma[\"henna\"]=\"uncount\"\n+lemma[\"hepatitis\"]=\"uncount\"\n+lemma[\"heraldry\"]=\"uncount\"\n+lemma[\"herbage\"]=\"uncount\"\n+lemma[\"heredity\"]=\"uncount\"\n+lemma[\"heroin\"]=\"uncount\"\n+lemma[\"herringbone\"]=\"uncount\"\n+lemma[\"hesitancy\"]=\"uncount\"\n+lemma[\"hessian\"]=\"uncount\"\n+lemma[\"heterodoxy\"]=\"uncount\"\n+lemma[\"heterosexuality\"]=\"uncount\"\n+lemma[\"hibernation\"]=\"uncount\"\n+lemma[\"hibiscus\"]=\"uncount\"\n+lemma[\"hide-and-seek\"]=\"uncount\"\n+lemma[\"high-mindedness\"]=\"uncount\"\n+lemma[\"hindsight\"]=\"uncount\"\n+lemma[\"hoarfrost\"]=\"uncount\"\n+lemma[\"hoariness\"]=\"uncount\"\n+lemma[\"hoarseness\"]=\"uncount\"\n+lemma[\"hockey\"]=\"uncount\"\n+lemma[\"hodgepodge\"]=\"uncount\"\n+lemma[\"hogwash\"]=\"uncount\"\n+lemma[\"holiness\"]=\"uncount\"\n+lemma[\"holly\"]=\"uncount\"\n+lemma[\"holystone\"]=\"uncount\"\n+lemma[\"homage\"]=\"uncount\"\n+lemma[\"homeliness\"]=\"uncount\"\n+lemma[\"homesickness\"]=\"uncount\"\n+lemma[\"homespun\"]=\"uncount\"\n+lemma[\"hominy\"]=\"uncount\"\n+lemma[\"homoeopathy\"]=\"uncount\"\n+lemma[\"homogeneity\"]=\"uncount\"\n+lemma[\"homosexuality\"]=\"uncount\"\n+lemma[\"honesty\"]=\"uncount\"\n+lemma[\"honey\"]=\"uncount\"\n+lemma[\"honeydew\"]=\"uncount\"\n+lemma[\"honeysuckle\"]=\"uncount\"\n+lemma[\"hooch\"]=\"uncount\"\n+lemma[\"hooey\"]=\"uncount\"\n+lemma[\"hopefulness\"]=\"uncount\"\n+lemma[\"hopelessness\"]=\"uncount\"\n+lemma[\"hopscotch\"]=\"uncount\"\n+lemma[\"horridness\"]=\"uncount\"\n+lemma[\"horseback\"]=\"uncount\"\n+lemma[\"horseflesh\"]=\"uncount\"\n+lemma[\"horsehair\"]=\"uncount\"\n+lemma[\"horsemanship\"]=\"uncount\"\n+lemma[\"horsemeat\"]=\"uncount\"\n+lemma[\"horseplay\"]=\"uncount\"\n+lemma[\"horseracing\"]=\"uncount\"\n+lemma[\"horseradish\"]=\"uncount\"\n+lemma[\"horticulture\"]=\"uncount\"\n+lemma[\"hosiery\"]=\"uncount\"\n+lemma[\"hospitality\"]=\"uncount\"\n+lemma[\"housecraft\"]=\"uncount\"\n+lemma[\"housekeeping\"]=\"uncount\"\n+lemma[\"houseroom\"]=\"uncount\"\n+lemma[\"housewifery\"]=\"uncount\"\n+lemma[\"housework\"]=\"uncount\"\n+lemma[\"hubbub\"]=\"uncount\"\n+lemma[\"hubris\"]=\"uncount\"\n+lemma[\"huckaback\"]=\"uncount\"\n+lemma[\"humankind\"]=\"uncount\"\n+lemma[\"humidity\"]=\"uncount\"\n+lemma[\"humility\"]=\"uncount\"\n+lemma[\"humus\"]=\"uncount\"\n+lemma[\"hurling\"]=\"uncount\"\n+lemma[\"hurly-burly\"]=\"uncount\"\n+lemma[\"hurt\"]=\"uncount\"\n+lemma[\"husbandry\"]=\"uncount\"\n+lemma[\"huskiness\"]=\"uncount\"\n+lemma[\"hustle\"]=\"uncount\"\n+lemma[\"hydropathy\"]=\"uncount\"\n+lemma[\"hydrophobia\"]=\"uncount\"\n+lemma[\"hygiene\"]=\"uncount\"\n+lemma[\"hypo\"]=\"uncount\"\n+lemma[\"hyssop\"]=\"uncount\"\n+lemma[\"hysteria\"]=\"uncount\"\n lemma[\"ice\"]=\"uncount\"\n lemma[\"ice\"]=\"uncount\"\n-lemma[\"cream\"]=\"uncount\"\n+lemma[\"icing\"]=\"uncount\"\n+lemma[\"idleness\"]=\"uncount\"\n+lemma[\"ilk\"]=\"uncount\"\n+lemma[\"illegibility\"]=\"uncount\"\n+lemma[\"illegitimacy\"]=\"uncount\"\n+lemma[\"illiberality\"]=\"uncount\"\n+lemma[\"illogicalness\"]=\"uncount\"\n+lemma[\"imagery\"]=\"uncount\"\n+lemma[\"immaturity\"]=\"uncount\"\n+lemma[\"immediacy\"]=\"uncount\"\n+lemma[\"imminence\"]=\"uncount\"\n+lemma[\"immobility\"]=\"uncount\"\n+lemma[\"immortality\"]=\"uncount\"\n+lemma[\"immunity\"]=\"uncount\"\n+lemma[\"immutability\"]=\"uncount\"\n+lemma[\"impartiality\"]=\"uncount\"\n+lemma[\"impassiveness\"]=\"uncount\"\n+lemma[\"impassivity\"]=\"uncount\"\n+lemma[\"impatience\"]=\"uncount\"\n+lemma[\"impenitence\"]=\"uncount\"\n+lemma[\"imperiousness\"]=\"uncount\"\n+lemma[\"impermanence\"]=\"uncount\"\n+lemma[\"imperturbability\"]=\"uncount\"\n+lemma[\"impetigo\"]=\"uncount\"\n+lemma[\"impishness\"]=\"uncount\"\n+lemma[\"implausibility\"]=\"uncount\"\n+lemma[\"impoliteness\"]=\"uncount\"\n+lemma[\"importunity\"]=\"uncount\"\n+lemma[\"impotence\"]=\"uncount\"\n+lemma[\"impracticability\"]=\"uncount\"\n+lemma[\"impracticableness\"]=\"uncount\"\n+lemma[\"imprecision\"]=\"uncount\"\n+lemma[\"impregnability\"]=\"uncount\"\n+lemma[\"impressiveness\"]=\"uncount\"\n+lemma[\"imprisonment\"]=\"uncount\"\n+lemma[\"improvidence\"]=\"uncount\"\n+lemma[\"impudence\"]=\"uncount\"\n+lemma[\"impulsiveness\"]=\"uncount\"\n+lemma[\"impunity\"]=\"uncount\"\n+lemma[\"inability\"]=\"uncount\"\n+lemma[\"inaccessibility\"]=\"uncount\"\n+lemma[\"inactivity\"]=\"uncount\"\n+lemma[\"inadvisability\"]=\"uncount\"\n+lemma[\"inappropriateness\"]=\"uncount\"\n+lemma[\"inaptitude\"]=\"uncount\"\n+lemma[\"inaudibility\"]=\"uncount\"\n+lemma[\"inbreeding\"]=\"uncount\"\n+lemma[\"incandescence\"]=\"uncount\"\n+lemma[\"incapability\"]=\"uncount\"\n+lemma[\"incapacity\"]=\"uncount\"\n+lemma[\"incense\"]=\"uncount\"\n+lemma[\"incertitude\"]=\"uncount\"\n+lemma[\"incest\"]=\"uncount\"\n+lemma[\"inclemency\"]=\"uncount\"\n+lemma[\"incoherence\"]=\"uncount\"\n+lemma[\"incompetence\"]=\"uncount\"\n+lemma[\"incompetency\"]=\"uncount\"\n+lemma[\"incomprehensibility\"]=\"uncount\"\n+lemma[\"incomprehension\"]=\"uncount\"\n+lemma[\"incontinence\"]=\"uncount\"\n+lemma[\"inconvertibility\"]=\"uncount\"\n+lemma[\"incorrectness\"]=\"uncount\"\n+lemma[\"incorruptibility\"]=\"uncount\"\n+lemma[\"incredibility\"]=\"uncount\"\n+lemma[\"incredulity\"]=\"uncount\"\n+lemma[\"indebtedness\"]=\"uncount\"\n+lemma[\"indecision\"]=\"uncount\"\n+lemma[\"indecorum\"]=\"uncount\"\n+lemma[\"indestructibility\"]=\"uncount\"\n+lemma[\"indeterminacy\"]=\"uncount\"\n+lemma[\"indifference\"]=\"uncount\"\n+lemma[\"indigence\"]=\"uncount\"\n+lemma[\"indigo\"]=\"uncount\"\n+lemma[\"indirectness\"]=\"uncount\"\n+lemma[\"indiscipline\"]=\"uncount\"\n+lemma[\"indispensability\"]=\"uncount\"\n+lemma[\"indistinctness\"]=\"uncount\"\n+lemma[\"indoctrination\"]=\"uncount\"\n+lemma[\"indolence\"]=\"uncount\"\n+lemma[\"inebriety\"]=\"uncount\"\n+lemma[\"ineffectiveness\"]=\"uncount\"\n+lemma[\"ineffectuality\"]=\"uncount\"\n+lemma[\"ineligibility\"]=\"uncount\"\n+lemma[\"inertia\"]=\"uncount\"\n+lemma[\"inevitability\"]=\"uncount\"\n+lemma[\"inexpediency\"]=\"uncount\"\n+lemma[\"inexperience\"]=\"uncount\"\n+lemma[\"infallibility\"]=\"uncount\"\n+lemma[\"infanticide\"]=\"uncount\"\n+lemma[\"inferiority\"]=\"uncount\"\n+lemma[\"infertility\"]=\"uncount\"\n+lemma[\"infield\"]=\"uncount\"\n+lemma[\"inflexibility\"]=\"uncount\"\n+lemma[\"inflorescence\"]=\"uncount\"\n+lemma[\"influenza\"]=\"uncount\"\n+lemma[\"info\"]=\"uncount\"\n+lemma[\"infrequency\"]=\"uncount\"\n+lemma[\"ingenuousness\"]=\"uncount\"\n+lemma[\"ingratitude\"]=\"uncount\"\n+lemma[\"ingress\"]=\"uncount\"\n+lemma[\"ink\"]=\"uncount\"\n+lemma[\"inquietude\"]=\"uncount\"\n+lemma[\"inquisitiveness\"]=\"uncount\"\n+lemma[\"insanity\"]=\"uncount\"\n+lemma[\"insemination\"]=\"uncount\"\n+lemma[\"insensibility\"]=\"uncount\"\n+lemma[\"insensitivity\"]=\"uncount\"\n+lemma[\"insidiousness\"]=\"uncount\"\n+lemma[\"insignificance\"]=\"uncount\"\n+lemma[\"insincerity\"]=\"uncount\"\n+lemma[\"insipidity\"]=\"uncount\"\n+lemma[\"insipidness\"]=\"uncount\"\n+lemma[\"insistence\"]=\"uncount\"\n+lemma[\"insolence\"]=\"uncount\"\n+lemma[\"insolvency\"]=\"uncount\"\n+lemma[\"insomnia\"]=\"uncount\"\n+lemma[\"insouciance\"]=\"uncount\"\n+lemma[\"instrumentality\"]=\"uncount\"\n+lemma[\"insufficiency\"]=\"uncount\"\n+lemma[\"insularity\"]=\"uncount\"\n+lemma[\"insurance\"]=\"uncount\"\n+lemma[\"intangibility\"]=\"uncount\"\n+lemma[\"intelligibility\"]=\"uncount\"\n+lemma[\"intemperance\"]=\"uncount\"\n+lemma[\"intent\"]=\"uncount\"\n+lemma[\"intentness\"]=\"uncount\"\n+lemma[\"interconnectedness\"]=\"uncount\"\n+lemma[\"intercourse\"]=\"uncount\"\n+lemma[\"interim\"]=\"uncount\"\n+lemma[\"internment\"]=\"uncount\"\n+lemma[\"interplay\"]=\"uncount\"\n+lemma[\"intolerance\"]=\"uncount\"\n+lemma[\"intonation\"]=\"uncount\"\n+lemma[\"intractability\"]=\"uncount\"\n+lemma[\"intransigence\"]=\"uncount\"\n+lemma[\"introversion\"]=\"uncount\"\n+lemma[\"intumescence\"]=\"uncount\"\n+lemma[\"invalidity\"]=\"uncount\"\n+lemma[\"invective\"]=\"uncount\"\n+lemma[\"inverse\"]=\"uncount\"\n+lemma[\"invincibility\"]=\"uncount\"\n+lemma[\"invisibility\"]=\"uncount\"\n+lemma[\"inwardness\"]=\"uncount\"\n+lemma[\"iodine\"]=\"uncount\"\n+lemma[\"irascibility\"]=\"uncount\"\n+lemma[\"ire\"]=\"uncount\"\n+lemma[\"iridescence\"]=\"uncount\"\n+lemma[\"iridium\"]=\"uncount\"\n+lemma[\"iron\"]=\"uncount\"\n+lemma[\"ironware\"]=\"uncount\"\n+lemma[\"irresponsibility\"]=\"uncount\"\n+lemma[\"irreverence\"]=\"uncount\"\n+lemma[\"irreversibility\"]=\"uncount\"\n+lemma[\"irritability\"]=\"uncount\"\n+lemma[\"isinglass\"]=\"uncount\"\n+lemma[\"ivory\"]=\"uncount\"\n+lemma[\"jabber\"]=\"uncount\"\n lemma[\"jam\"]=\"uncount\"\n+lemma[\"jangle\"]=\"uncount\"\n+lemma[\"japonica\"]=\"uncount\"\n+lemma[\"jasmine\"]=\"uncount\"\n+lemma[\"jasper\"]=\"uncount\"\n+lemma[\"jaundice\"]=\"uncount\"\n+lemma[\"jauntiness\"]=\"uncount\"\n+lemma[\"jazz\"]=\"uncount\"\n+lemma[\"jealousy\"]=\"uncount\"\n+lemma[\"jean\"]=\"uncount\"\n+lemma[\"jejuneness\"]=\"uncount\"\n lemma[\"jelly\"]=\"uncount\"\n+lemma[\"jeopardy\"]=\"uncount\"\n+lemma[\"jerkiness\"]=\"uncount\"\n+lemma[\"jetsam\"]=\"uncount\"\n+lemma[\"jewellery\"]=\"uncount\"\n+lemma[\"jewelry\"]=\"uncount\"\n+lemma[\"jiggery-pokery\"]=\"uncount\"\n+lemma[\"jinks\"]=\"uncount\"\n+lemma[\"jobbery\"]=\"uncount\"\n+lemma[\"jocoseness\"]=\"uncount\"\n+lemma[\"jocosity\"]=\"uncount\"\n+lemma[\"jogging\"]=\"uncount\"\n+lemma[\"joinery\"]=\"uncount\"\n+lemma[\"journalese\"]=\"uncount\"\n+lemma[\"joyfulness\"]=\"uncount\"\n+lemma[\"joylessness\"]=\"uncount\"\n+lemma[\"joyousness\"]=\"uncount\"\n+lemma[\"judiciousness\"]=\"uncount\"\n+lemma[\"judo\"]=\"uncount\"\n lemma[\"juice\"]=\"uncount\"\n+lemma[\"juiciness\"]=\"uncount\"\n+lemma[\"jumpiness\"]=\"uncount\"\n+lemma[\"junk\"]=\"uncount\"\n+lemma[\"junketing\"]=\"uncount\"\n+lemma[\"jurisprudence\"]=\"uncount\"\n+lemma[\"justice\"]=\"uncount\"\n+lemma[\"justness\"]=\"uncount\"\n+lemma[\"jute\"]=\"uncount\"\n+lemma[\"kail\"]=\"uncount\"\n+lemma[\"kale\"]=\"uncount\"\n+lemma[\"kaolin\"]=\"uncount\"\n+lemma[\"kapok\"]=\"uncount\"\n+lemma[\"karate\"]=\"uncount\"\n+lemma[\"kava\"]=\"uncount\"\n+lemma[\"kedgeree\"]=\"uncount\"\n+lemma[\"keenness\"]=\"uncount\"\n+lemma[\"keeping\"]=\"uncount\"\n+lemma[\"kelp\"]=\"uncount\"\n+lemma[\"ken\"]=\"uncount\"\n+lemma[\"kerogen\"]=\"uncount\"\n+lemma[\"kerosene\"]=\"uncount\"\n+lemma[\"ketchup\"]=\"uncount\"\n+lemma[\"khaki\"]=\"uncount\"\n+lemma[\"kindling\"]=\"uncount\"\n+lemma[\"kindred\"]=\"uncount\"\n+lemma[\"kingship\"]=\"uncount\"\n+lemma[\"kinship\"]=\"uncount\"\n+lemma[\"kirsch\"]=\"uncount\"\n+lemma[\"kismet\"]=\"uncount\"\n+lemma[\"kleptomania\"]=\"uncount\"\n+lemma[\"knitting\"]=\"uncount\"\n+lemma[\"knitwear\"]=\"uncount\"\n+lemma[\"know-how\"]=\"uncount\"\n+lemma[\"kohl\"]=\"uncount\"\n+lemma[\"kosher\"]=\"uncount\"\n+lemma[\"koumiss\"]=\"uncount\"\n+lemma[\"kudos\"]=\"uncount\"\n+lemma[\"kumis\"]=\"uncount\"\n+lemma[\"kvass\"]=\"uncount\"\n+lemma[\"kwela\"]=\"uncount\"\n+lemma[\"lacrosse\"]=\"uncount\"\n+lemma[\"lading\"]=\"uncount\"\n+lemma[\"lagging\"]=\"uncount\"\n+lemma[\"lambency\"]=\"uncount\"\n+lemma[\"lameness\"]=\"uncount\"\n+lemma[\"lamplight\"]=\"uncount\"\n lemma[\"land\"]=\"uncount\"\n-lemma[\"medicine\"]=\"uncount\"\n-lemma[\"metal\"]=\"uncount\"\n-lemma[\"milk\"]=\"uncount\"\n-lemma[\"oil\"]=\"uncount\"\n-lemma[\"paint\"]=\"uncount\"\n-lemma[\"paper\"]=\"uncount\"\n-lemma[\"perfume\"]=\"uncount\"\n-lemma[\"plastic\"]=\"uncount\"\n-lemma[\"poison\"]=\"uncount\"\n-lemma[\"preservative\"]=\"uncount\"\n-lemma[\"rain\"]=\"uncount\"\n-lemma[\"ribbon\"]=\"uncount\"\n-lemma[\"rice\"]=\"uncount\"\n-lemma[\"salad\"]=\"uncount\"\n-lemma[\"salt\"]=\"uncount\"\n-lemma[\"sauce\"]=\"uncount\"\n-lemma[\"soil\"]=\"uncount\"\n-lemma[\"soup\"]=\"uncount\"\n-lemma[\"snow\"]=\"uncount\"\n-lemma[\"sugar\"]=\"uncount\"\n-lemma[\"tea\"]=\"uncount\"\n-lemma[\"toothpaste\"]=\"uncount\"\n-lemma[\"water\"]=\"uncount\"\n-lemma[\"wine\"]=\"uncount\"\n-lemma[\"wood\"]=\"uncount\"\n-lemma[\"yarn\"]=\"uncount\"\n-lemma[\"yogurt\"]=\"uncount\" \n-lemma[\"research\"]=\"uncount\"\n-lemma[\"AIDS\"]=\"uncount\"\n-lemma[\"attire\"]=\"uncount\"\n-lemma[\"beef\"]=\"uncount\"\n-lemma[\"blood\"]=\"uncount\"\n-lemma[\"cabbage\"]=\"uncount\"\n-lemma[\"cancer\"]=\"uncount\"\n-lemma[\"cauliflower\"]=\"uncount\"\n-lemma[\"cement\"]=\"uncount\"\n-lemma[\"cereal\"]=\"uncount\"\n-lemma[\"chicken\"]=\"uncount\"\n-lemma[\"common\"]=\"uncount\"\n-lemma[\"sense\"]=\"uncount\"\n-lemma[\"confidence\"]=\"uncount\"\n-lemma[\"copper\"]=\"uncount\"\n-lemma[\"corn\"]=\"uncount\"\n-lemma[\"cotton\"]=\"uncount\"\n-lemma[\"crime\"]=\"uncount\"\n-lemma[\"despair\"]=\"uncount\"\n-lemma[\"email\"]=\"uncount\"\n-lemma[\"employment\"]=\"uncount\"\n-lemma[\"entertainment\"]=\"uncount\"\n-lemma[\"experience\"]=\"uncount\"\n-lemma[\"flour\"]=\"uncount\"\n-lemma[\"gas\"]=\"uncount\"\n-lemma[\"glass\"]=\"uncount\"\n-lemma[\"grief\"]=\"uncount\"\n-lemma[\"hail\"]=\"uncount\"\n-lemma[\"hate\"]=\"uncount\"\n-lemma[\"honey\"]=\"uncount\"\n-lemma[\"insurance\"]=\"uncount\"\n-lemma[\"iron\"]=\"uncount\"\n-lemma[\"jewelry\"]=\"uncount\"\n-lemma[\"junk\"]=\"uncount\"\n-lemma[\"justice\"]=\"uncount\"\n+lemma[\"langsyne\"]=\"uncount\"\n+lemma[\"languor\"]=\"uncount\"\n+lemma[\"lanolin\"]=\"uncount\"\n+lemma[\"larboard\"]=\"uncount\"\n+lemma[\"lard\"]=\"uncount\"\n+lemma[\"large\"]=\"uncount\"\n+lemma[\"largeness\"]=\"uncount\"\n+lemma[\"largesse\"]=\"uncount\"\n+lemma[\"laryngitis\"]=\"uncount\"\n+lemma[\"lasciviousness\"]=\"uncount\"\n+lemma[\"lassitude\"]=\"uncount\"\n+lemma[\"laterite\"]=\"uncount\"\n+lemma[\"latex\"]=\"uncount\"\n+lemma[\"lather\"]=\"uncount\"\n+lemma[\"laudanum\"]=\"uncount\"\n+lemma[\"lavender\"]=\"uncount\"\n+lemma[\"lawlessness\"]=\"uncount\"\n+lemma[\"lawmaking\"]=\"uncount\"\n+lemma[\"laziness\"]=\"uncount\"\n+lemma[\"leadership\"]=\"uncount\"\n+lemma[\"leading\"]=\"uncount\"\n+lemma[\"leading\"]=\"uncount\"\n+lemma[\"lean\"]=\"uncount\"\n+lemma[\"leanness\"]=\"uncount\"\n+lemma[\"leapfrog\"]=\"uncount\"\n+lemma[\"leather\"]=\"uncount\"\n+lemma[\"leatherette\"]=\"uncount\"\n+lemma[\"leatherwork\"]=\"uncount\"\n+lemma[\"leaven\"]=\"uncount\"\n+lemma[\"lee\"]=\"uncount\"\n+lemma[\"legality\"]=\"uncount\"\n+lemma[\"legerdemain\"]=\"uncount\"\n+lemma[\"legibility\"]=\"uncount\"\n+lemma[\"legitimacy\"]=\"uncount\"\n+lemma[\"leisure\"]=\"uncount\" \n+lemma[\"lemonade\"]=\"uncount\"\n+lemma[\"lenience\"]=\"uncount\"\n+lemma[\"leniency\"]=\"uncount\"\n+lemma[\"lenity\"]=\"uncount\"\n+lemma[\"leprosy\"]=\"uncount\"\n+lemma[\"less\"]=\"uncount\"\n+lemma[\"lethargy\"]=\"uncount\"\n+lemma[\"lettering\"]=\"uncount\"\n+lemma[\"letterpress\"]=\"uncount\"\n lemma[\"lettuce\"]=\"uncount\"\n+lemma[\"leukaemia\"]=\"uncount\"\n+lemma[\"leukemia\"]=\"uncount\"\n+lemma[\"leverage\"]=\"uncount\"\n+lemma[\"lewdness\"]=\"uncount\"\n+lemma[\"lexicography\"]=\"uncount\"\n+lemma[\"lexis\"]=\"uncount\"\n+lemma[\"licentiousness\"]=\"uncount\"\n+lemma[\"lichen\"]=\"uncount\"\n+lemma[\"lieu\"]=\"uncount\"\n+lemma[\"lifeblood\"]=\"uncount\"\n+lemma[\"light-headedness\"]=\"uncount\"\n+lemma[\"light-heartedness\"]=\"uncount\"\n+lemma[\"light-mindedness\"]=\"uncount\"\n+lemma[\"lighterage\"]=\"uncount\"\n+lemma[\"lightness\"]=\"uncount\"\n+lemma[\"lightning\"]=\"uncount\"\n+lemma[\"lightsomeness\"]=\"uncount\"\n+lemma[\"lignite\"]=\"uncount\"\n+lemma[\"limbo\"]=\"uncount\"\n+lemma[\"limelight\"]=\"uncount\"\n+lemma[\"limestone\"]=\"uncount\"\n+lemma[\"limpidity\"]=\"uncount\"\n+lemma[\"limpness\"]=\"uncount\"\n+lemma[\"lineage\"]=\"uncount\"\n+lemma[\"linen\"]=\"uncount\"\n+lemma[\"lingerie\"]=\"uncount\"\n+lemma[\"lino\"]=\"uncount\"\n+lemma[\"linoleum\"]=\"uncount\"\n+lemma[\"linseed\"]=\"uncount\"\n+lemma[\"linsey-woolsey\"]=\"uncount\"\n+lemma[\"lint\"]=\"uncount\"\n+lemma[\"lip-reading\"]=\"uncount\"\n+lemma[\"liquorice\"]=\"uncount\"\n+lemma[\"lisle\"]=\"uncount\"\n+lemma[\"lissomness\"]=\"uncount\"\n+lemma[\"listlessness\"]=\"uncount\"\n+lemma[\"literacy\"]=\"uncount\"\n+lemma[\"lithography\"]=\"uncount\"\n+lemma[\"litmus\"]=\"uncount\"\n+lemma[\"little\"]=\"uncount\"\n+lemma[\"littleness\"]=\"uncount\"\n+lemma[\"liveliness\"]=\"uncount\"\n+lemma[\"liverwurst\"]=\"uncount\"\n+lemma[\"livestock\"]=\"uncount\"\n+lemma[\"loadstone\"]=\"uncount\"\n+lemma[\"loam\"]=\"uncount\"\n+lemma[\"loathing\"]=\"uncount\"\n+lemma[\"lockjaw\"]=\"uncount\"\n+lemma[\"lodestone\"]=\"uncount\"\n+lemma[\"loess\"]=\"uncount\"\n+lemma[\"loftiness\"]=\"uncount\"\n+lemma[\"logicality\"]=\"uncount\"\n+lemma[\"loneliness\"]=\"uncount\"\n+lemma[\"long-windedness\"]=\"uncount\"\n+lemma[\"longevity\"]=\"uncount\"\n+lemma[\"longhand\"]=\"uncount\"\n+lemma[\"loot\"]=\"uncount\"\n+lemma[\"loquaciousness\"]=\"uncount\"\n+lemma[\"loquacity\"]=\"uncount\"\n+lemma[\"lordliness\"]=\"uncount\"\n+lemma[\"lore\"]=\"uncount\"\n+lemma[\"lotto\"]=\"uncount\"\n+lemma[\"loudness\"]=\"uncount\"\n+lemma[\"loveliness\"]=\"uncount\"\n+lemma[\"lovemaking\"]=\"uncount\"\n+lemma[\"loving-kindness\"]=\"uncount\"\n+lemma[\"lowliness\"]=\"uncount\"\n+lemma[\"lowness\"]=\"uncount\"\n+lemma[\"lucerne\"]=\"uncount\"\n+lemma[\"lucidity\"]=\"uncount\"\n+lemma[\"luck\"]=\"uncount\"\n+lemma[\"lucre\"]=\"uncount\"\n+lemma[\"ludo\"]=\"uncount\"\n+lemma[\"lugubriousness\"]=\"uncount\"\n+lemma[\"lukewarmness\"]=\"uncount\"\n+lemma[\"lumbago\"]=\"uncount\"\n+lemma[\"lumber\"]=\"uncount\"\n+lemma[\"luminosity\"]=\"uncount\"\n+lemma[\"luridness\"]=\"uncount\"\n+lemma[\"lusciousness\"]=\"uncount\"\n+lemma[\"lustre\"]=\"uncount\"\n+lemma[\"luxuriance\"]=\"uncount\"\n+lemma[\"lymph\"]=\"uncount\"\n+lemma[\"macadam\"]=\"uncount\"\n+lemma[\"macaroni\"]=\"uncount\"\n+lemma[\"machismo\"]=\"uncount\"\n+lemma[\"madder\"]=\"uncount\"\n+lemma[\"madness\"]=\"uncount\"\n+lemma[\"magenta\"]=\"uncount\"\n+lemma[\"magnesia\"]=\"uncount\"\n+lemma[\"magnesium\"]=\"uncount\"\n+lemma[\"magnificence\"]=\"uncount\"\n+lemma[\"magniloquence\"]=\"uncount\"\n+lemma[\"magnitude\"]=\"uncount\"\n+lemma[\"mahjong\"]=\"uncount\"\n+lemma[\"mahogany\"]=\"uncount\"\n+lemma[\"maidenhead\"]=\"uncount\"\n lemma[\"mail\"]=\"uncount\"\n-lemma[\"marble\"]=\"uncount\"\n-lemma[\"merchandise\"]=\"uncount\"\n-lemma[\"sickness\"]=\"uncount\"\n-lemma[\"nylon\"]=\"uncount\"\n-lemma[\"pasta\"]=\"uncount\"\n-lemma[\"pay\"]=\"uncount\"\n-lemma[\"pepper\"]=\"uncount\"\n-lemma[\"polyester\"]=\"uncount\"\n-lemma[\"praise\"]=\"uncount\"\n-lemma[\"rope\"]=\"uncount\"\n-lemma[\"sand\"]=\"uncount\"\n-lemma[\"sense\"]=\"uncount\"\n-lemma[\"shampoo\"]=\"uncount\"\n-lemma[\"silk\"]=\"uncount\"\n-lemma[\"silver\"]=\"uncount\"\n-lemma[\"sleet\"]=\"uncount\"\n-lemma[\"smoke\"]=\"uncount\"\n-lemma[\"steel\"]=\"uncount\"\n-lemma[\"string\"]=\"uncount\"\n-lemma[\"thread\"]=\"uncount\"\n-lemma[\"trash\"]=\"uncount\"\n-lemma[\"wind\"]=\"uncount\" \n-lemma[\"prey\"]=\"uncount\" \n-lemma[\"captivity\"]=\"uncount\" \n-lemma[\"camouflage\"]=\"uncount\" \n-lemma[\"survival\"]=\"uncount\" \n-lemma[\"maturity\"]=\"uncount\" \n-lemma[\"peace\"]=\"uncount\" \n-lemma[\"ease\"]=\"uncount\" \n-lemma[\"worst\"]=\"uncount\" \n-lemma[\"best\"]=\"uncount\" \n-lemma[\"leisure\"]=\"uncount\" \n-lemma[\"money\"]=\"uncount\"\n-lemma[\"neglect\"]=\"uncount\"\n-lemma[\"clarity\"]=\"uncount\"\n-lemma[\"consent\"]=\"uncount\"\n-lemma[\"candlelight\"]=\"uncount\"\n-lemma[\"stealth\"]=\"uncount\"\n-lemma[\"north\"]=\"uncount\"\n-lemma[\"south\"]=\"uncount\"\n-lemma[\"east\"]=\"uncount\"\n-lemma[\"west\"]=\"uncount\"\n-lemma[\"midday\"]=\"uncount\"\n-lemma[\"gravity\"]=\"uncount\"\n-lemma[\"noon\"]=\"uncount\"\n-lemma[\"celery\"]=\"uncount\"\n-lemma[\"chaos\"]=\"uncount\"\n-lemma[\"consciousness\"]=\"uncount\"\n-lemma[\"credulity\"]=\"uncount\"\n-lemma[\"dark\"]=\"uncount\"\n-lemma[\"diarrhoea\"]=\"uncount\"\n-lemma[\"hell\"]=\"uncount\"\n-lemma[\"homage\"]=\"uncount\"\n-lemma[\"intent\"]=\"uncount\"\n-lemma[\"ozone\"]=\"uncount\"\n-lemma[\"pe\"]=\"uncount\"\n-lemma[\"precedence\"]=\"uncount\"\n-lemma[\"primacy\"]=\"uncount\"\n-lemma[\"revenge\"]=\"uncount\"\n-lemma[\"sparkle\"]=\"uncount\"\n-lemma[\"stamina\"]=\"uncount\"\n-lemma[\"transit\"]=\"uncount\"\n-lemma[\"unanimity\"]=\"uncount\"\n-lemma[\"airplay\"]=\"uncount\"\n-lemma[\"airtime\"]=\"uncount\"\n-lemma[\"aluminium\"]=\"uncount\"\n-lemma[\"bait\"]=\"uncount\"\n-lemma[\"banter\"]=\"uncount\"\n-lemma[\"bleach\"]=\"uncount\"\n-lemma[\"bullshit\"]=\"uncount\"\n-lemma[\"bunkum\"]=\"uncount\"\n-lemma[\"clay\"]=\"uncount\"\n-lemma[\"clout\"]=\"uncount\"\n-lemma[\"conditioner\"]=\"uncount\"\n-lemma[\"discrimination\"]=\"uncount\"\n-lemma[\"disfavour\"]=\"uncount\"\n-lemma[\"flooding\"]=\"uncount\"\n-lemma[\"froth\"]=\"uncount\"\n-lemma[\"garbage\"]=\"uncount\"\n-lemma[\"golf\"]=\"uncount\"\n-lemma[\"goodwill\"]=\"uncount\"\n-lemma[\"immaturity\"]=\"uncount\"\n-lemma[\"inertia\"]=\"uncount\"\n+lemma[\"maize\"]=\"uncount\"\n+lemma[\"majolica\"]=\"uncount\"\n+lemma[\"malacca\"]=\"uncount\"\n+lemma[\"malachite\"]=\"uncount\"\n+lemma[\"maladjustment\"]=\"uncount\"\n+lemma[\"maladroitness\"]=\"uncount\"\n+lemma[\"malaria\"]=\"uncount\"\n+lemma[\"malevolence\"]=\"uncount\"\n+lemma[\"malice\"]=\"uncount\"\n+lemma[\"malignancy\"]=\"uncount\"\n+lemma[\"malleability\"]=\"uncount\"\n+lemma[\"malmsey\"]=\"uncount\"\n+lemma[\"malt\"]=\"uncount\"\n+lemma[\"maltreatment\"]=\"uncount\"\n+lemma[\"mammon\"]=\"uncount\"\n+lemma[\"manageability\"]=\"uncount\"\n+lemma[\"mandragora\"]=\"uncount\"\n+lemma[\"manganese\"]=\"uncount\"\n+lemma[\"mange\"]=\"uncount\"\n+lemma[\"manhood\"]=\"uncount\"\n+lemma[\"mankind\"]=\"uncount\"\n+lemma[\"mankind\"]=\"uncount\"\n+lemma[\"manliness\"]=\"uncount\"\n+lemma[\"manna\"]=\"uncount\"\n+lemma[\"manslaughter\"]=\"uncount\"\n lemma[\"manufacture\"]=\"uncount\"\n lemma[\"manure\"]=\"uncount\"\n+lemma[\"marble\"]=\"uncount\"\n+lemma[\"marbling\"]=\"uncount\"\n lemma[\"margarine\"]=\"uncount\"\n+lemma[\"marge\"]=\"uncount\"\n+lemma[\"marihuana\"]=\"uncount\"\n+lemma[\"marijuana\"]=\"uncount\"\n+lemma[\"marinade\"]=\"uncount\"\n+lemma[\"marjoram\"]=\"uncount\"\n+lemma[\"marketing\"]=\"uncount\"\n+lemma[\"marksmanship\"]=\"uncount\"\n+lemma[\"marl\"]=\"uncount\"\n+lemma[\"marmalade\"]=\"uncount\"\n+lemma[\"marocain\"]=\"uncount\"\n+lemma[\"marquetry\"]=\"uncount\"\n+lemma[\"marriageability\"]=\"uncount\"\n+lemma[\"mascara\"]=\"uncount\"\n+lemma[\"masculinity\"]=\"uncount\"\n+lemma[\"masonry\"]=\"uncount\"\n+lemma[\"massiveness\"]=\"uncount\"\n+lemma[\"mastery\"]=\"uncount\"\n+lemma[\"mastoiditis\"]=\"uncount\"\n+lemma[\"matchwood\"]=\"uncount\"\n+lemma[\"maternity\"]=\"uncount\"\n+lemma[\"matrimony\"]=\"uncount\"\n+lemma[\"matting\"]=\"uncount\"\n+lemma[\"maturity\"]=\"uncount\" \n+lemma[\"mawkishness\"]=\"uncount\"\n+lemma[\"mayhem\"]=\"uncount\"\n+lemma[\"mayonnaise\"]=\"uncount\"\n+lemma[\"meagreness\"]=\"uncount\"\n+lemma[\"meanness\"]=\"uncount\"\n+lemma[\"meantime\"]=\"uncount\"\n+lemma[\"meat\"]=\"uncount\"\n+lemma[\"medicine\"]=\"uncount\"\n+lemma[\"meekness\"]=\"uncount\"\n+lemma[\"megalomania\"]=\"uncount\"\n+lemma[\"meiosis\"]=\"uncount\"\n+lemma[\"melancholia\"]=\"uncount\"\n+lemma[\"melancholy\"]=\"uncount\"\n+lemma[\"mellowness\"]=\"uncount\"\n+lemma[\"melodiousness\"]=\"uncount\"\n+lemma[\"mending\"]=\"uncount\"\n+lemma[\"meningitis\"]=\"uncount\"\n+lemma[\"menthol\"]=\"uncount\"\n+lemma[\"merchandise\"]=\"uncount\"\n+lemma[\"meretriciousness\"]=\"uncount\"\n+lemma[\"merino\"]=\"uncount\"\n+lemma[\"merrymaking\"]=\"uncount\"\n+lemma[\"mescaline\"]=\"uncount\"\n+lemma[\"messiness\"]=\"uncount\"\n+lemma[\"metal\"]=\"uncount\"\n+lemma[\"metallurgy\"]=\"uncount\"\n+lemma[\"methane\"]=\"uncount\"\n+lemma[\"meticulousness\"]=\"uncount\"\n+lemma[\"mettle\"]=\"uncount\"\n+lemma[\"mica\"]=\"uncount\"\n+lemma[\"microscopy\"]=\"uncount\"\n+lemma[\"midday\"]=\"uncount\"\n+lemma[\"midstream\"]=\"uncount\"\n+lemma[\"midsummer\"]=\"uncount\"\n+lemma[\"midweek\"]=\"uncount\"\n+lemma[\"midwifery\"]=\"uncount\"\n+lemma[\"might\"]=\"uncount\"\n+lemma[\"mignonette\"]=\"uncount\"\n+lemma[\"mildew\"]=\"uncount\"\n+lemma[\"mildness\"]=\"uncount\"\n+lemma[\"militancy\"]=\"uncount\"\n+lemma[\"military\"]=\"uncount\"\n+lemma[\"milk\"]=\"uncount\"\n+lemma[\"millboard\"]=\"uncount\"\n+lemma[\"millet\"]=\"uncount\"\n+lemma[\"millinery\"]=\"uncount\"\n+lemma[\"milt\"]=\"uncount\"\n+lemma[\"mimicry\"]=\"uncount\"\n+lemma[\"mince\"]=\"uncount\"\n+lemma[\"mincemeat\"]=\"uncount\"\n+lemma[\"mindfulness\"]=\"uncount\"\n+lemma[\"mindlessness\"]=\"uncount\"\n+lemma[\"minelaying\"]=\"uncount\"\n+lemma[\"minestrone\"]=\"uncount\"\n+lemma[\"minesweeping\"]=\"uncount\"\n+lemma[\"mining\"]=\"uncount\"\n+lemma[\"miniver\"]=\"uncount\"\n+lemma[\"minstrelsy\"]=\"uncount\"\n+lemma[\"minuteness\"]=\"uncount\"\n+lemma[\"mire\"]=\"uncount\"\n+lemma[\"misanthropy\"]=\"uncount\"\n+lemma[\"misbehaviour\"]=\"uncount\"\n+lemma[\"miscegenation\"]=\"uncount\"\n+lemma[\"mischief-making\"]=\"uncount\"\n+lemma[\"mischievousness\"]=\"uncount\"\n+lemma[\"misconduct\"]=\"uncount\"\n+lemma[\"mise\"]=\"uncount\"\n+lemma[\"miserliness\"]=\"uncount\"\n+lemma[\"misgovernment\"]=\"uncount\"\n+lemma[\"mishmash\"]=\"uncount\"\n+lemma[\"mismanagement\"]=\"uncount\"\n+lemma[\"misrule\"]=\"uncount\"\n+lemma[\"mistiness\"]=\"uncount\"\n+lemma[\"mistletoe\"]=\"uncount\"\n lemma[\"mistrust\"]=\"uncount\"\n+lemma[\"mocha\"]=\"uncount\"\n+lemma[\"modelling\"]=\"uncount\"\n+lemma[\"modernity\"]=\"uncount\"\n+lemma[\"mohair\"]=\"uncount\"\n+lemma[\"molasses\"]=\"uncount\"\n+lemma[\"molybdenum\"]=\"uncount\"\n+lemma[\"momentousness\"]=\"uncount\"\n+lemma[\"money\"]=\"uncount\"\n+lemma[\"monogamy\"]=\"uncount\"\n+lemma[\"monotony\"]=\"uncount\"\n+lemma[\"montage\"]=\"uncount\"\n+lemma[\"moodiness\"]=\"uncount\"\n+lemma[\"moonlight\"]=\"uncount\"\n+lemma[\"moonshine\"]=\"uncount\"\n+lemma[\"moquette\"]=\"uncount\"\n+lemma[\"morale\"]=\"uncount\"\n+lemma[\"morality\"]=\"uncount\"\n+lemma[\"morbidness\"]=\"uncount\"\n+lemma[\"more\"]=\"uncount\"\n+lemma[\"morocco\"]=\"uncount\"\n+lemma[\"moroseness\"]=\"uncount\"\n+lemma[\"morphia\"]=\"uncount\"\n+lemma[\"morphine\"]=\"uncount\"\n+lemma[\"mother-of-pearl\"]=\"uncount\"\n+lemma[\"motherhood\"]=\"uncount\"\n+lemma[\"motherliness\"]=\"uncount\"\n+lemma[\"motley\"]=\"uncount\"\n+lemma[\"mountaineering\"]=\"uncount\"\n+lemma[\"mourning\"]=\"uncount\"\n+lemma[\"muchness\"]=\"uncount\"\n+lemma[\"mucilage\"]=\"uncount\"\n+lemma[\"mucus\"]=\"uncount\"\n+lemma[\"muesli\"]=\"uncount\"\n+lemma[\"mufti\"]=\"uncount\"\n+lemma[\"mugginess\"]=\"uncount\"\n+lemma[\"mulishness\"]=\"uncount\"\n+lemma[\"mulligatawny\"]=\"uncount\"\n+lemma[\"multiplicity\"]=\"uncount\"\n+lemma[\"multum\"]=\"uncount\"\n+lemma[\"munificence\"]=\"uncount\"\n+lemma[\"murk\"]=\"uncount\"\n+lemma[\"murrain\"]=\"uncount\"\n+lemma[\"muscatel\"]=\"uncount\"\n+lemma[\"mush\"]=\"uncount\"\n+lemma[\"musicianship\"]=\"uncount\"\n+lemma[\"musk\"]=\"uncount\"\n+lemma[\"musketry\"]=\"uncount\"\n+lemma[\"muslin\"]=\"uncount\"\n+lemma[\"musquash\"]=\"uncount\"\n lemma[\"mustard\"]=\"uncount\"\n+lemma[\"mustiness\"]=\"uncount\"\n+lemma[\"mutability\"]=\"uncount\"\n+lemma[\"mutton\"]=\"uncount\"\n+lemma[\"myelitis\"]=\"uncount\"\n+lemma[\"myopia\"]=\"uncount\"\n+lemma[\"myrrh\"]=\"uncount\"\n lemma[\"mystique\"]=\"uncount\"\n+lemma[\"myxomatosis\"]=\"uncount\"\n+lemma[\"nacre\"]=\"uncount\"\n+lemma[\"nainsook\"]=\"uncount\"\n+lemma[\"nakedness\"]=\"uncount\"\n+lemma[\"name-dropping\"]=\"uncount\"\n+lemma[\"nankeen\"]=\"uncount\"\n+lemma[\"napalm\"]=\"uncount\"\n+lemma[\"napery\"]=\"uncount\"\n+lemma[\"naphtha\"]=\"uncount\"\n+lemma[\"naphthalene\"]=\"uncount\"\n+lemma[\"narrowness\"]=\"uncount\"\n+lemma[\"nastiness\"]=\"uncount\"\n+lemma[\"naturalness\"]=\"uncount\"\n+lemma[\"naughtiness\"]=\"uncount\"\n+lemma[\"nausea\"]=\"uncount\"\n+lemma[\"navigability\"]=\"uncount\"\n+lemma[\"nearness\"]=\"uncount\"\n+lemma[\"neatness\"]=\"uncount\"\n+lemma[\"neckwear\"]=\"uncount\"\n+lemma[\"necromancy\"]=\"uncount\"\n+lemma[\"nectar\"]=\"uncount\"\n+lemma[\"needlecraft\"]=\"uncount\"\n+lemma[\"needlework\"]=\"uncount\"\n+lemma[\"nefariousness\"]=\"uncount\"\n+lemma[\"neglect\"]=\"uncount\"\n+lemma[\"neglectfulness\"]=\"uncount\"\n+lemma[\"negus\"]=\"uncount\"\n+lemma[\"neighbourliness\"]=\"uncount\"\n+lemma[\"neon\"]=\"uncount\"\n+lemma[\"nephritis\"]=\"uncount\"\n+lemma[\"nervousness\"]=\"uncount\"\n+lemma[\"nescience\"]=\"uncount\"\n+lemma[\"netball\"]=\"uncount\"\n+lemma[\"netting\"]=\"uncount\"\n+lemma[\"neuralgia\"]=\"uncount\"\n+lemma[\"neurasthenia\"]=\"uncount\"\n+lemma[\"neuritis\"]=\"uncount\"\n+lemma[\"neutrality\"]=\"uncount\"\n+lemma[\"newness\"]=\"uncount\"\n+lemma[\"news\"]=\"uncount\"\n+lemma[\"newsprint\"]=\"uncount\"\n+lemma[\"niceness\"]=\"uncount\"\n+lemma[\"nicotine\"]=\"uncount\"\n+lemma[\"niggardliness\"]=\"uncount\"\n+lemma[\"night-time\"]=\"uncount\"\n+lemma[\"nightfall\"]=\"uncount\"\n+lemma[\"nightshade\"]=\"uncount\"\n+lemma[\"nightwork\"]=\"uncount\"\n+lemma[\"nil\"]=\"uncount\"\n+lemma[\"nimbleness\"]=\"uncount\"\n+lemma[\"nitre\"]=\"uncount\"\n+lemma[\"nitroglycerin\"]=\"uncount\"\n+lemma[\"nitroglycerine\"]=\"uncount\"\n+lemma[\"nitty-gritty\"]=\"uncount\"\n+lemma[\"nix\"]=\"uncount\"\n+lemma[\"nobility\"]=\"uncount\"\n+lemma[\"noble-mindedness\"]=\"uncount\"\n+lemma[\"noblesse\"]=\"uncount\"\n+lemma[\"noiselessness\"]=\"uncount\"\n+lemma[\"noisiness\"]=\"uncount\"\n+lemma[\"nonage\"]=\"uncount\"\n+lemma[\"nonaggression\"]=\"uncount\"\n+lemma[\"nonalignment\"]=\"uncount\"\n+lemma[\"nonconformity\"]=\"uncount\"\n+lemma[\"nonobservance\"]=\"uncount\"\n+lemma[\"nonviolence\"]=\"uncount\"\n+lemma[\"noon\"]=\"uncount\"\n+lemma[\"noontide\"]=\"uncount\"\n+lemma[\"normal\"]=\"uncount\"\n+lemma[\"normalcy\"]=\"uncount\"\n+lemma[\"normality\"]=\"uncount\"\n+lemma[\"north\"]=\"uncount\"\n+lemma[\"north-northeast\"]=\"uncount\"\n+lemma[\"north-northwest\"]=\"uncount\"\n+lemma[\"northeast\"]=\"uncount\"\n+lemma[\"northwest\"]=\"uncount\"\n+lemma[\"nosh\"]=\"uncount\"\n+lemma[\"nostalgia\"]=\"uncount\"\n+lemma[\"notepaper\"]=\"uncount\"\n+lemma[\"nothingness\"]=\"uncount\"\n+lemma[\"notoriety\"]=\"uncount\"\n+lemma[\"nourishment\"]=\"uncount\"\n+lemma[\"nous\"]=\"uncount\"\n+lemma[\"noxiousness\"]=\"uncount\"\n+lemma[\"nudity\"]=\"uncount\"\n+lemma[\"nullity\"]=\"uncount\"\n+lemma[\"numbness\"]=\"uncount\"\n+lemma[\"numeracy\"]=\"uncount\"\n+lemma[\"nurture\"]=\"uncount\"\n+lemma[\"nutria\"]=\"uncount\"\n+lemma[\"nylon\"]=\"uncount\"\n+lemma[\"nymphomania\"]=\"uncount\"\n+lemma[\"oakum\"]=\"uncount\"\n+lemma[\"oarsmanship\"]=\"uncount\"\n+lemma[\"oatmeal\"]=\"uncount\"\n+lemma[\"obduracy\"]=\"uncount\"\n+lemma[\"obesity\"]=\"uncount\"\n+lemma[\"objectivity\"]=\"uncount\"\n+lemma[\"oblivion\"]=\"uncount\"\n+lemma[\"obloquy\"]=\"uncount\"\n+lemma[\"obnoxiousness\"]=\"uncount\"\n+lemma[\"obsequiousness\"]=\"uncount\"\n+lemma[\"obsidian\"]=\"uncount\"\n+lemma[\"obsolescence\"]=\"uncount\"\n+lemma[\"obstinacy\"]=\"uncount\"\n+lemma[\"obstreperousness\"]=\"uncount\"\n+lemma[\"obtuseness\"]=\"uncount\"\n+lemma[\"obviousness\"]=\"uncount\"\n+lemma[\"ochre\"]=\"uncount\"\n+lemma[\"octane\"]=\"uncount\"\n+lemma[\"odium\"]=\"uncount\"\n+lemma[\"offal\"]=\"uncount\"\n+lemma[\"offensiveness\"]=\"uncount\"\n+lemma[\"officialese\"]=\"uncount\"\n+lemma[\"officiousness\"]=\"uncount\"\n+lemma[\"offset\"]=\"uncount\"\n+lemma[\"oil\"]=\"uncount\"\n+lemma[\"oilcloth\"]=\"uncount\"\n+lemma[\"oiliness\"]=\"uncount\"\n+lemma[\"okra\"]=\"uncount\"\n+lemma[\"old\"]=\"uncount\"\n+lemma[\"omnipotence\"]=\"uncount\"\n+lemma[\"omniscience\"]=\"uncount\"\n+lemma[\"one-upmanship\"]=\"uncount\"\n+lemma[\"oneness\"]=\"uncount\"\n+lemma[\"onomatopoeia\"]=\"uncount\"\n+lemma[\"onyx\"]=\"uncount\"\n+lemma[\"oomph\"]=\"uncount\"\n+lemma[\"ooze\"]=\"uncount\"\n+lemma[\"op\"]=\"uncount\"\n+lemma[\"opacity\"]=\"uncount\"\n+lemma[\"opaqueness\"]=\"uncount\"\n+lemma[\"open\"]=\"uncount\"\n+lemma[\"openwork\"]=\"uncount\"\n+lemma[\"ophthalmia\"]=\"uncount\"\n+lemma[\"opium\"]=\"uncount\"\n+lemma[\"oppression\"]=\"uncount\"\n+lemma[\"opprobrium\"]=\"uncount\"\n+lemma[\"opulence\"]=\"uncount\"\n+lemma[\"orangeade\"]=\"uncount\"\n+lemma[\"orderliness\"]=\"uncount\"\n+lemma[\"ordnance\"]=\"uncount\"\n+lemma[\"ordure\"]=\"uncount\"\n+lemma[\"organdie\"]=\"uncount\"\n+lemma[\"orienteering\"]=\"uncount\"\n+lemma[\"ornateness\"]=\"uncount\"\n+lemma[\"orrisroot\"]=\"uncount\"\n+lemma[\"osteopathy\"]=\"uncount\"\n+lemma[\"outlandishness\"]=\"uncount\"\n+lemma[\"outlawry\"]=\"uncount\"\n+lemma[\"outspokenness\"]=\"uncount\"\n+lemma[\"ouzo\"]=\"uncount\"\n+lemma[\"ovenware\"]=\"uncount\"\n+lemma[\"overanxiety\"]=\"uncount\"\n+lemma[\"overburden\"]=\"uncount\"\n+lemma[\"overcapitalization\"]=\"uncount\"\n+lemma[\"overconfidence\"]=\"uncount\"\n+lemma[\"overcredulity\"]=\"uncount\"\n+lemma[\"overdrive\"]=\"uncount\"\n+lemma[\"overemphasis\"]=\"uncount\"\n+lemma[\"overkill\"]=\"uncount\"\n+lemma[\"overpopulation\"]=\"uncount\"\n+lemma[\"overstrain\"]=\"uncount\"\n+lemma[\"overtolerance\"]=\"uncount\"\n+lemma[\"overweight\"]=\"uncount\"\n+lemma[\"overwork\"]=\"uncount\"\n+lemma[\"oxyacetylene\"]=\"uncount\"\n+lemma[\"ozone\"]=\"uncount\"\n+lemma[\"pabulum\"]=\"uncount\"\n+lemma[\"packing\"]=\"uncount\"\n+lemma[\"paederasty\"]=\"uncount\"\n+lemma[\"pageantry\"]=\"uncount\"\n+lemma[\"pagination\"]=\"uncount\"\n+lemma[\"paint\"]=\"uncount\"\n+lemma[\"paisley\"]=\"uncount\"\n+lemma[\"paleness\"]=\"uncount\"\n+lemma[\"pallidness\"]=\"uncount\"\n+lemma[\"pallor\"]=\"uncount\"\n+lemma[\"palmistry\"]=\"uncount\"\n+lemma[\"palsy\"]=\"uncount\"\n+lemma[\"panache\"]=\"uncount\"\n+lemma[\"pancreatitis\"]=\"uncount\"\n+lemma[\"panelling\"]=\"uncount\"\n+lemma[\"pap\"]=\"uncount\"\n+lemma[\"paper\"]=\"uncount\"\n+lemma[\"paprika\"]=\"uncount\"\n+lemma[\"paraffin\"]=\"uncount\"\n+lemma[\"paralysis\"]=\"uncount\"\n+lemma[\"paramountcy\"]=\"uncount\"\n+lemma[\"paranoia\"]=\"uncount\"\n+lemma[\"paraphernalia\"]=\"uncount\"\n+lemma[\"paraplegia\"]=\"uncount\"\n+lemma[\"paratyphoid\"]=\"uncount\"\n+lemma[\"paregoric\"]=\"uncount\"\n+lemma[\"parentage\"]=\"uncount\"\n+lemma[\"parity\"]=\"uncount\"\n+lemma[\"parole\"]=\"uncount\"\n+lemma[\"parquet\"]=\"uncount\"\n+lemma[\"parsimony\"]=\"uncount\"\n+lemma[\"parsley\"]=\"uncount\"\n+lemma[\"parthenogenesis\"]=\"uncount\"\n+lemma[\"partisanship\"]=\"uncount\"\n+lemma[\"passiveness\"]=\"uncount\"\n+lemma[\"passivity\"]=\"uncount\"\n+lemma[\"pasta\"]=\"uncount\"\n+lemma[\"pasteboard\"]=\"uncount\"\n+lemma[\"pasturage\"]=\"uncount\"\n+lemma[\"patchiness\"]=\"uncount\"\n+lemma[\"patchouli\"]=\"uncount\"\n+lemma[\"patchwork\"]=\"uncount\"\n+lemma[\"pate\"]=\"uncount\"\n+lemma[\"paternity\"]=\"uncount\"\n+lemma[\"pathos\"]=\"uncount\"\n+lemma[\"patter\"]=\"uncount\"\n+lemma[\"paucity\"]=\"uncount\"\n+lemma[\"paunchiness\"]=\"uncount\"\n+lemma[\"pay\"]=\"uncount\"\n+lemma[\"pe\"]=\"uncount\"\n+lemma[\"peace\"]=\"uncount\" \n+lemma[\"peacefulness\"]=\"uncount\"\n+lemma[\"peacetime\"]=\"uncount\"\n+lemma[\"pease\"]=\"uncount\"\n lemma[\"peat\"]=\"uncount\"\n+lemma[\"pectin\"]=\"uncount\"\n+lemma[\"pedagogy\"]=\"uncount\"\n+lemma[\"pederasty\"]=\"uncount\"\n+lemma[\"peel\"]=\"uncount\"\n+lemma[\"peevishness\"]=\"uncount\"\n+lemma[\"pekoe\"]=\"uncount\"\n+lemma[\"pelf\"]=\"uncount\"\n+lemma[\"pelota\"]=\"uncount\"\n+lemma[\"pemmican\"]=\"uncount\"\n+lemma[\"penance\"]=\"uncount\"\n+lemma[\"penetrability\"]=\"uncount\"\n lemma[\"penicillin\"]=\"uncount\"\n+lemma[\"penitence\"]=\"uncount\"\n+lemma[\"penmanship\"]=\"uncount\"\n+lemma[\"pensiveness\"]=\"uncount\"\n+lemma[\"penuriousness\"]=\"uncount\"\n+lemma[\"penury\"]=\"uncount\"\n+lemma[\"peonage\"]=\"uncount\"\n+lemma[\"pep\"]=\"uncount\"\n+lemma[\"pepper\"]=\"uncount\"\n+lemma[\"pepper-and-salt\"]=\"uncount\"\n+lemma[\"pepsin\"]=\"uncount\"\n+lemma[\"perceptibility\"]=\"uncount\"\n+lemma[\"perfectibility\"]=\"uncount\"\n+lemma[\"perfidiousness\"]=\"uncount\"\n+lemma[\"perfume\"]=\"uncount\"\n+lemma[\"peritonitis\"]=\"uncount\"\n+lemma[\"perkiness\"]=\"uncount\"\n+lemma[\"permafrost\"]=\"uncount\"\n+lemma[\"permanence\"]=\"uncount\"\n+lemma[\"permeability\"]=\"uncount\"\n+lemma[\"permissiveness\"]=\"uncount\"\n+lemma[\"perniciousness\"]=\"uncount\"\n+lemma[\"perry\"]=\"uncount\"\n+lemma[\"perseverance\"]=\"uncount\"\n+lemma[\"persiflage\"]=\"uncount\"\n lemma[\"persistence\"]=\"uncount\"\n+lemma[\"personalty\"]=\"uncount\"\n+lemma[\"perspex\"]=\"uncount\"\n+lemma[\"perspicacity\"]=\"uncount\"\n+lemma[\"perspicuity\"]=\"uncount\"\n+lemma[\"perspicuousness\"]=\"uncount\"\n+lemma[\"persuasiveness\"]=\"uncount\"\n+lemma[\"pertinacity\"]=\"uncount\"\n+lemma[\"pertinence\"]=\"uncount\"\n+lemma[\"pertness\"]=\"uncount\"\n+lemma[\"pervasion\"]=\"uncount\"\n+lemma[\"pervasiveness\"]=\"uncount\"\n+lemma[\"perverseness\"]=\"uncount\"\n+lemma[\"petroleum\"]=\"uncount\"\n+lemma[\"pettishness\"]=\"uncount\"\n+lemma[\"petulance\"]=\"uncount\"\n+lemma[\"pewter\"]=\"uncount\"\n+lemma[\"pharyngitis\"]=\"uncount\"\n+lemma[\"phenobarbital\"]=\"uncount\"\n+lemma[\"phenobarbitone\"]=\"uncount\"\n+lemma[\"phenol\"]=\"uncount\"\n+lemma[\"philanthropy\"]=\"uncount\"\n+lemma[\"philately\"]=\"uncount\"\n+lemma[\"phlebitis\"]=\"uncount\"\n+lemma[\"phlegm\"]=\"uncount\"\n+lemma[\"phlox\"]=\"uncount\"\n+lemma[\"phosgene\"]=\"uncount\"\n+lemma[\"phosphorescence\"]=\"uncount\"\n+lemma[\"phosphorus\"]=\"uncount\"\n+lemma[\"photography\"]=\"uncount\"\n+lemma[\"photolithography\"]=\"uncount\"\n+lemma[\"photosynthesis\"]=\"uncount\"\n+lemma[\"phthisis\"]=\"uncount\"\n+lemma[\"physiotherapy\"]=\"uncount\"\n+lemma[\"piccalilli\"]=\"uncount\"\n+lemma[\"picturesqueness\"]=\"uncount\"\n+lemma[\"piecework\"]=\"uncount\"\n+lemma[\"piffle\"]=\"uncount\"\n+lemma[\"piggishness\"]=\"uncount\"\n+lemma[\"pigskin\"]=\"uncount\"\n+lemma[\"pigswill\"]=\"uncount\"\n+lemma[\"pigwash\"]=\"uncount\"\n+lemma[\"pilaf\"]=\"uncount\"\n+lemma[\"pilaff\"]=\"uncount\"\n+lemma[\"pilau\"]=\"uncount\"\n+lemma[\"pilferage\"]=\"uncount\"\n+lemma[\"pinball\"]=\"uncount\"\n+lemma[\"pipeclay\"]=\"uncount\"\n+lemma[\"pipework\"]=\"uncount\"\n+lemma[\"piping\"]=\"uncount\"\n+lemma[\"piquancy\"]=\"uncount\"\n+lemma[\"piquet\"]=\"uncount\"\n+lemma[\"pitchblende\"]=\"uncount\"\n+lemma[\"pith\"]=\"uncount\"\n+lemma[\"placidity\"]=\"uncount\"\n+lemma[\"plainness\"]=\"uncount\"\n+lemma[\"plaintiveness\"]=\"uncount\"\n+lemma[\"planking\"]=\"uncount\"\n+lemma[\"plankton\"]=\"uncount\"\n+lemma[\"plasm\"]=\"uncount\"\n+lemma[\"plasma\"]=\"uncount\"\n+lemma[\"plasterboard\"]=\"uncount\"\n+lemma[\"plastic\"]=\"uncount\"\n+lemma[\"plasticine\"]=\"uncount\"\n+lemma[\"plasticity\"]=\"uncount\"\n+lemma[\"plating\"]=\"uncount\"\n+lemma[\"platinum\"]=\"uncount\"\n+lemma[\"playfulness\"]=\"uncount\"\n+lemma[\"pleasantness\"]=\"uncount\"\n+lemma[\"plenty\"]=\"uncount\"\n+lemma[\"pleurisy\"]=\"uncount\"\n+lemma[\"pliability\"]=\"uncount\"\n+lemma[\"pliancy\"]=\"uncount\"\n+lemma[\"plumage\"]=\"uncount\"\n+lemma[\"plumbing\"]=\"uncount\"\n+lemma[\"plunder\"]=\"uncount\"\n+lemma[\"plush\"]=\"uncount\"\n+lemma[\"plywood\"]=\"uncount\"\n+lemma[\"pneumonia\"]=\"uncount\"\n+lemma[\"podiatry\"]=\"uncount\"\n+lemma[\"poesy\"]=\"uncount\"\n+lemma[\"poignancy\"]=\"uncount\"\n+lemma[\"poise\"]=\"uncount\"\n+lemma[\"poison\"]=\"uncount\"\n+lemma[\"polio\"]=\"uncount\"\n+lemma[\"poliomyelitis\"]=\"uncount\"\n+lemma[\"politeness\"]=\"uncount\"\n+lemma[\"pollen\"]=\"uncount\"\n+lemma[\"pollination\"]=\"uncount\"\n+lemma[\"polo\"]=\"uncount\"\n+lemma[\"polony\"]=\"uncount\"\n+lemma[\"poltroonery\"]=\"uncount\"\n+lemma[\"polyandry\"]=\"uncount\"\n+lemma[\"polyester\"]=\"uncount\"\n+lemma[\"polygamy\"]=\"uncount\"\n+lemma[\"polyphony\"]=\"uncount\"\n+lemma[\"polythene\"]=\"uncount\"\n+lemma[\"pomade\"]=\"uncount\"\n+lemma[\"pongee\"]=\"uncount\"\n+lemma[\"poorness\"]=\"uncount\"\n+lemma[\"popery\"]=\"uncount\"\n+lemma[\"poplin\"]=\"uncount\"\n+lemma[\"poppycock\"]=\"uncount\"\n+lemma[\"popularity\"]=\"uncount\"\n+lemma[\"porcelain\"]=\"uncount\"\n+lemma[\"pork\"]=\"uncount\"\n+lemma[\"porousness\"]=\"uncount\"\n+lemma[\"porphyry\"]=\"uncount\"\n+lemma[\"porridge\"]=\"uncount\"\n+lemma[\"portability\"]=\"uncount\"\n+lemma[\"porterage\"]=\"uncount\"\n+lemma[\"portraiture\"]=\"uncount\"\n+lemma[\"positiveness\"]=\"uncount\"\n+lemma[\"possessiveness\"]=\"uncount\"\n+lemma[\"postage\"]=\"uncount\"\n+lemma[\"potash\"]=\"uncount\"\n+lemma[\"potassium\"]=\"uncount\"\n+lemma[\"poteen\"]=\"uncount\"\n+lemma[\"poundage\"]=\"uncount\"\n+lemma[\"practicability\"]=\"uncount\"\n+lemma[\"praise\"]=\"uncount\"\n+lemma[\"praiseworthiness\"]=\"uncount\"\n+lemma[\"prattle\"]=\"uncount\"\n+lemma[\"precariousness\"]=\"uncount\"\n+lemma[\"precedence\"]=\"uncount\"\n+lemma[\"preciousness\"]=\"uncount\"\n+lemma[\"preciseness\"]=\"uncount\"\n+lemma[\"precision\"]=\"uncount\"\n+lemma[\"precociousness\"]=\"uncount\"\n+lemma[\"precocity\"]=\"uncount\"\n+lemma[\"predictability\"]=\"uncount\"\n+lemma[\"predominance\"]=\"uncount\"\n+lemma[\"preferment\"]=\"uncount\"\n+lemma[\"preparedness\"]=\"uncount\"\n+lemma[\"prescience\"]=\"uncount\"\n+lemma[\"presence\"]=\"uncount\"\n+lemma[\"preservative\"]=\"uncount\"\n+lemma[\"pretentiousness\"]=\"uncount\"\n+lemma[\"prettiness\"]=\"uncount\"\n+lemma[\"prevalence\"]=\"uncount\"\n+lemma[\"prey\"]=\"uncount\" \n+lemma[\"priestcraft\"]=\"uncount\"\n+lemma[\"priggishness\"]=\"uncount\"\n+lemma[\"primacy\"]=\"uncount\"\n+lemma[\"prime\"]=\"uncount\"\n+lemma[\"primitiveness\"]=\"uncount\"\n+lemma[\"primness\"]=\"uncount\"\n+lemma[\"primogeniture\"]=\"uncount\"\n+lemma[\"privacy\"]=\"uncount\"\n+lemma[\"privet\"]=\"uncount\"\n+lemma[\"probity\"]=\"uncount\"\n+lemma[\"prodigality\"]=\"uncount\"\n+lemma[\"produce\"]=\"uncount\"\n+lemma[\"productivity\"]=\"uncount\"\n+lemma[\"profaneness\"]=\"uncount\"\n+lemma[\"proficiency\"]=\"uncount\"\n+lemma[\"profit-sharing\"]=\"uncount\"\n+lemma[\"profligacy\"]=\"uncount\"\n+lemma[\"profuseness\"]=\"uncount\"\n+lemma[\"profusion\"]=\"uncount\"\n+lemma[\"progress\"]=\"uncount\"\n+lemma[\"progressiveness\"]=\"uncount\"\n+lemma[\"prolixity\"]=\"uncount\"\n+lemma[\"promiscuity\"]=\"uncount\"\n+lemma[\"promptitude\"]=\"uncount\"\n+lemma[\"promptness\"]=\"uncount\"\n+lemma[\"proneness\"]=\"uncount\"\n lemma[\"propaganda\"]=\"uncount\"\n+lemma[\"propane\"]=\"uncount\"\n+lemma[\"prophylaxis\"]=\"uncount\"\n+lemma[\"propinquity\"]=\"uncount\"\n+lemma[\"proportionality\"]=\"uncount\"\n+lemma[\"propulsion\"]=\"uncount\"\n+lemma[\"prose\"]=\"uncount\"\n+lemma[\"prosiness\"]=\"uncount\"\n+lemma[\"prosody\"]=\"uncount\"\n+lemma[\"prosperity\"]=\"uncount\"\n+lemma[\"protoplasm\"]=\"uncount\"\n+lemma[\"provenance\"]=\"uncount\"\n+lemma[\"provender\"]=\"uncount\"\n+lemma[\"providence\"]=\"uncount\"\n+lemma[\"prowess\"]=\"uncount\"\n+lemma[\"proximity\"]=\"uncount\"\n+lemma[\"prudence\"]=\"uncount\"\n+lemma[\"pruning\"]=\"uncount\"\n+lemma[\"prurience\"]=\"uncount\"\n+lemma[\"pruriency\"]=\"uncount\"\n+lemma[\"psittacosis\"]=\"uncount\"\n+lemma[\"psychiatry\"]=\"uncount\"\n+lemma[\"psychoanalysis\"]=\"uncount\"\n+lemma[\"psychotherapy\"]=\"uncount\"\n+lemma[\"puberty\"]=\"uncount\"\n+lemma[\"publishing\"]=\"uncount\"\n+lemma[\"puce\"]=\"uncount\"\n+lemma[\"pud\"]=\"uncount\"\n+lemma[\"puffiness\"]=\"uncount\"\n+lemma[\"pugnacity\"]=\"uncount\"\n+lemma[\"puissance\"]=\"uncount\"\n+lemma[\"puke\"]=\"uncount\"\n+lemma[\"pulchritude\"]=\"uncount\"\n+lemma[\"pulque\"]=\"uncount\"\n+lemma[\"pumice\"]=\"uncount\"\n+lemma[\"pumpernickel\"]=\"uncount\"\n+lemma[\"punctiliousness\"]=\"uncount\"\n+lemma[\"punctuality\"]=\"uncount\"\n+lemma[\"pungency\"]=\"uncount\"\n+lemma[\"puppyhood\"]=\"uncount\"\n+lemma[\"purdah\"]=\"uncount\"\n+lemma[\"pureness\"]=\"uncount\"\n+lemma[\"purgatory\"]=\"uncount\"\n+lemma[\"purity\"]=\"uncount\"\n+lemma[\"purport\"]=\"uncount\"\n+lemma[\"purulence\"]=\"uncount\"\n+lemma[\"pusillanimity\"]=\"uncount\"\n+lemma[\"putridity\"]=\"uncount\"\n+lemma[\"putty\"]=\"uncount\"\n+lemma[\"pyorrhoea\"]=\"uncount\"\n+lemma[\"pyrites\"]=\"uncount\"\n+lemma[\"quackery\"]=\"uncount\"\n+lemma[\"quaintness\"]=\"uncount\"\n+lemma[\"quarantine\"]=\"uncount\"\n+lemma[\"quartz\"]=\"uncount\"\n+lemma[\"quassia\"]=\"uncount\"\n+lemma[\"queasiness\"]=\"uncount\"\n+lemma[\"queerness\"]=\"uncount\"\n+lemma[\"querulousness\"]=\"uncount\"\n+lemma[\"quick\"]=\"uncount\"\n+lemma[\"quicklime\"]=\"uncount\"\n+lemma[\"quickness\"]=\"uncount\"\n+lemma[\"quicksilver\"]=\"uncount\"\n+lemma[\"quiet\"]=\"uncount\"\n+lemma[\"quietness\"]=\"uncount\"\n+lemma[\"quinine\"]=\"uncount\"\n+lemma[\"quinsy\"]=\"uncount\"\n+lemma[\"quotability\"]=\"uncount\"\n+lemma[\"rabies\"]=\"uncount\"\n+lemma[\"raciness\"]=\"uncount\"\n+lemma[\"racing\"]=\"uncount\"\n+lemma[\"racketeering\"]=\"uncount\"\n+lemma[\"radiance\"]=\"uncount\"\n+lemma[\"radiography\"]=\"uncount\"\n+lemma[\"radiotherapy\"]=\"uncount\"\n+lemma[\"radium\"]=\"uncount\"\n+lemma[\"radon\"]=\"uncount\"\n+lemma[\"raffia\"]=\"uncount\"\n+lemma[\"raggedness\"]=\"uncount\"\n+lemma[\"ragtime\"]=\"uncount\"\n+lemma[\"raiment\"]=\"uncount\"\n+lemma[\"rain\"]=\"uncount\"\n+lemma[\"rainwater\"]=\"uncount\"\n+lemma[\"rakishness\"]=\"uncount\"\n+lemma[\"rancour\"]=\"uncount\"\n+lemma[\"randomness\"]=\"uncount\"\n+lemma[\"rankness\"]=\"uncount\"\n+lemma[\"rapacity\"]=\"uncount\"\n+lemma[\"rapidity\"]=\"uncount\"\n+lemma[\"rapine\"]=\"uncount\"\n+lemma[\"rareness\"]=\"uncount\"\n+lemma[\"rashness\"]=\"uncount\"\n+lemma[\"ratability\"]=\"uncount\"\n+lemma[\"rateability\"]=\"uncount\"\n+lemma[\"ratiocination\"]=\"uncount\"\n+lemma[\"rayon\"]=\"uncount\"\n+lemma[\"readability\"]=\"uncount\"\n+lemma[\"readiness\"]=\"uncount\"\n+lemma[\"reasonableness\"]=\"uncount\"\n+lemma[\"reasoning\"]=\"uncount\"\n+lemma[\"rebelliousness\"]=\"uncount\"\n+lemma[\"recalcitrance\"]=\"uncount\"\n+lemma[\"recalcitrancy\"]=\"uncount\"\n+lemma[\"receivership\"]=\"uncount\"\n+lemma[\"receptiveness\"]=\"uncount\"\n+lemma[\"receptivity\"]=\"uncount\"\n+lemma[\"reciprocity\"]=\"uncount\"\n+lemma[\"recklessness\"]=\"uncount\"\n+lemma[\"rectitude\"]=\"uncount\"\n+lemma[\"recusancy\"]=\"uncount\"\n+lemma[\"rediffusion\"]=\"uncount\"\n+lemma[\"redness\"]=\"uncount\"\n+lemma[\"redolence\"]=\"uncount\"\n+lemma[\"redress\"]=\"uncount\"\n+lemma[\"redundancy\"]=\"uncount\"\n+lemma[\"reek\"]=\"uncount\"\n+lemma[\"refulgence\"]=\"uncount\"\n+lemma[\"refuse\"]=\"uncount\"\n+lemma[\"reggae\"]=\"uncount\"\n+lemma[\"rejoicing\"]=\"uncount\"\n+lemma[\"relativity\"]=\"uncount\"\n+lemma[\"relegation\"]=\"uncount\"\n+lemma[\"relevancy\"]=\"uncount\"\n+lemma[\"reliability\"]=\"uncount\"\n+lemma[\"reluctance\"]=\"uncount\"\n+lemma[\"remand\"]=\"uncount\"\n+lemma[\"remissness\"]=\"uncount\"\n+lemma[\"remorse\"]=\"uncount\"\n+lemma[\"rennet\"]=\"uncount\"\n+lemma[\"renown\"]=\"uncount\"\n+lemma[\"renunciation\"]=\"uncount\"\n+lemma[\"repellent\"]=\"uncount\"\n+lemma[\"repentance\"]=\"uncount\"\n+lemma[\"reportage\"]=\"uncount\"\n+lemma[\"repose\"]=\"uncount\"\n+lemma[\"repp\"]=\"uncount\"\n+lemma[\"reps\"]=\"uncount\"\n+lemma[\"repugnance\"]=\"uncount\"\n+lemma[\"repulsion\"]=\"uncount\"\n+lemma[\"repute\"]=\"uncount\"\n+lemma[\"requital\"]=\"uncount\"\n+lemma[\"research\"]=\"uncount\"\n+lemma[\"resilience\"]=\"uncount\"\n+lemma[\"resiliency\"]=\"uncount\"\n+lemma[\"resistivity\"]=\"uncount\"\n+lemma[\"resoluteness\"]=\"uncount\"\n lemma[\"resonance\"]=\"uncount\"\n+lemma[\"resplendence\"]=\"uncount\"\n+lemma[\"resplendency\"]=\"uncount\"\n+lemma[\"responsiveness\"]=\"uncount\"\n+lemma[\"restfulness\"]=\"uncount\"\n+lemma[\"restiveness\"]=\"uncount\"\n+lemma[\"restlessness\"]=\"uncount\"\n+lemma[\"restrictiveness\"]=\"uncount\"\n+lemma[\"retentiveness\"]=\"uncount\"\n+lemma[\"retrieval\"]=\"uncount\"\n+lemma[\"retrospect\"]=\"uncount\"\n+lemma[\"retsina\"]=\"uncount\"\n+lemma[\"revenge\"]=\"uncount\"\n+lemma[\"reversibility\"]=\"uncount\"\n+lemma[\"revulsion\"]=\"uncount\"\n+lemma[\"rhetoric\"]=\"uncount\"\n+lemma[\"rheum\"]=\"uncount\"\n+lemma[\"rhubarb\"]=\"uncount\"\n+lemma[\"ribaldry\"]=\"uncount\"\n+lemma[\"ribbon\"]=\"uncount\"\n+lemma[\"riboflavin\"]=\"uncount\"\n+lemma[\"rice\"]=\"uncount\"\n lemma[\"richness\"]=\"uncount\"\n+lemma[\"riddance\"]=\"uncount\"\n+lemma[\"rigging\"]=\"uncount\"\n+lemma[\"righteousness\"]=\"uncount\"\n+lemma[\"rightfulness\"]=\"uncount\"\n+lemma[\"rightness\"]=\"uncount\"\n+lemma[\"rigor\"]=\"uncount\"\n+lemma[\"rime\"]=\"uncount\"\n+lemma[\"rinderpest\"]=\"uncount\"\n+lemma[\"ringworm\"]=\"uncount\"\n+lemma[\"ripeness\"]=\"uncount\"\n+lemma[\"risibility\"]=\"uncount\"\n+lemma[\"riskiness\"]=\"uncount\"\n+lemma[\"robustness\"]=\"uncount\"\n+lemma[\"rocketry\"]=\"uncount\"\n+lemma[\"rodomontade\"]=\"uncount\"\n+lemma[\"roguishness\"]=\"uncount\"\n+lemma[\"rolling\"]=\"uncount\"\n+lemma[\"roofing\"]=\"uncount\"\n+lemma[\"rope\"]=\"uncount\"\n+lemma[\"rose-water\"]=\"uncount\"\n+lemma[\"rosemary\"]=\"uncount\"\n+lemma[\"rosewood\"]=\"uncount\"\n+lemma[\"rosin\"]=\"uncount\"\n+lemma[\"rot\"]=\"uncount\"\n+lemma[\"rote\"]=\"uncount\"\n+lemma[\"rotgut\"]=\"uncount\"\n+lemma[\"rottenness\"]=\"uncount\"\n+lemma[\"rotundity\"]=\"uncount\"\n+lemma[\"rouge\"]=\"uncount\"\n+lemma[\"roughage\"]=\"uncount\"\n+lemma[\"roughcast\"]=\"uncount\"\n+lemma[\"roughness\"]=\"uncount\"\n+lemma[\"roulette\"]=\"uncount\"\n+lemma[\"roundness\"]=\"uncount\"\n+lemma[\"rowdiness\"]=\"uncount\"\n+lemma[\"rowing\"]=\"uncount\"\n+lemma[\"rub-a-dub\"]=\"uncount\"\n+lemma[\"rubble\"]=\"uncount\"\n+lemma[\"ruddiness\"]=\"uncount\"\n+lemma[\"rue\"]=\"uncount\"\n+lemma[\"ruggedness\"]=\"uncount\"\n+lemma[\"rugger\"]=\"uncount\"\n+lemma[\"ruination\"]=\"uncount\"\n lemma[\"rum\"]=\"uncount\"\n+lemma[\"rumination\"]=\"uncount\"\n+lemma[\"rummage\"]=\"uncount\"\n+lemma[\"rummy\"]=\"uncount\"\n+lemma[\"rust\"]=\"uncount\"\n+lemma[\"rusticity\"]=\"uncount\"\n+lemma[\"rustiness\"]=\"uncount\"\n+lemma[\"rustle\"]=\"uncount\"\n+lemma[\"ruthlessness\"]=\"uncount\"\n+lemma[\"rye\"]=\"uncount\"\n+lemma[\"sabotage\"]=\"uncount\"\n+lemma[\"saccharin\"]=\"uncount\"\n+lemma[\"sackcloth\"]=\"uncount\"\n+lemma[\"sacking\"]=\"uncount\"\n+lemma[\"sacredness\"]=\"uncount\"\n+lemma[\"sacrilege\"]=\"uncount\"\n+lemma[\"safekeeping\"]=\"uncount\"\n+lemma[\"safeness\"]=\"uncount\"\n+lemma[\"safety\"]=\"uncount\"\n+lemma[\"sagacity\"]=\"uncount\"\n+lemma[\"sago\"]=\"uncount\"\n+lemma[\"sailcloth\"]=\"uncount\"\n+lemma[\"sainthood\"]=\"uncount\"\n+lemma[\"saintliness\"]=\"uncount\"\n+lemma[\"sal\"]=\"uncount\"\n+lemma[\"salaciousness\"]=\"uncount\"\n+lemma[\"salacity\"]=\"uncount\"\n+lemma[\"salad\"]=\"uncount\"\n+lemma[\"salami\"]=\"uncount\"\n+lemma[\"salesmanship\"]=\"uncount\"\n+lemma[\"salience\"]=\"uncount\"\n+lemma[\"salinity\"]=\"uncount\"\n+lemma[\"saliva\"]=\"uncount\"\n+lemma[\"salmonella\"]=\"uncount\"\n+lemma[\"salsify\"]=\"uncount\"\n+lemma[\"salt\"]=\"uncount\"\n+lemma[\"saltiness\"]=\"uncount\"\n+lemma[\"saltpetre\"]=\"uncount\"\n+lemma[\"saltwater\"]=\"uncount\"\n+lemma[\"salubrity\"]=\"uncount\"\n+lemma[\"salvage\"]=\"uncount\"\n+lemma[\"sameness\"]=\"uncount\"\n+lemma[\"sand\"]=\"uncount\"\n+lemma[\"sandalwood\"]=\"uncount\"\n+lemma[\"sandiness\"]=\"uncount\"\n+lemma[\"sandstone\"]=\"uncount\"\n+lemma[\"sang\"]=\"uncount\"\n+lemma[\"sanity\"]=\"uncount\"\n+lemma[\"sapience\"]=\"uncount\"\n+lemma[\"sapwood\"]=\"uncount\"\n+lemma[\"sarsaparilla\"]=\"uncount\"\n+lemma[\"sateen\"]=\"uncount\"\n+lemma[\"satiety\"]=\"uncount\"\n+lemma[\"satin\"]=\"uncount\"\n+lemma[\"satinwood\"]=\"uncount\"\n+lemma[\"sauce\"]=\"uncount\"\n+lemma[\"sauciness\"]=\"uncount\"\n+lemma[\"sauerkraut\"]=\"uncount\"\n+lemma[\"savageness\"]=\"uncount\"\n+lemma[\"savagery\"]=\"uncount\"\n+lemma[\"savoir-faire\"]=\"uncount\"\n+lemma[\"savory\"]=\"uncount\"\n+lemma[\"savvy\"]=\"uncount\"\n lemma[\"sawdust\"]=\"uncount\"\n+lemma[\"saxifrage\"]=\"uncount\"\n+lemma[\"scabies\"]=\"uncount\"\n+lemma[\"scabious\"]=\"uncount\"\n+lemma[\"scaffolding\"]=\"uncount\"\n+lemma[\"scandalmongering\"]=\"uncount\"\n+lemma[\"scansion\"]=\"uncount\"\n+lemma[\"scantiness\"]=\"uncount\"\n+lemma[\"scenery\"]=\"uncount\"\n+lemma[\"schizophrenia\"]=\"uncount\"\n+lemma[\"schmaltz\"]=\"uncount\"\n+lemma[\"schmalz\"]=\"uncount\"\n+lemma[\"schnapps\"]=\"uncount\"\n+lemma[\"sciatica\"]=\"uncount\"\n+lemma[\"sclerosis\"]=\"uncount\"\n+lemma[\"scrappiness\"]=\"uncount\"\n+lemma[\"scrofula\"]=\"uncount\"\n+lemma[\"scuba\"]=\"uncount\"\n lemma[\"scum\"]=\"uncount\"\n+lemma[\"scurf\"]=\"uncount\"\n+lemma[\"scurrility\"]=\"uncount\"\n+lemma[\"scurvy\"]=\"uncount\"\n+lemma[\"seamanship\"]=\"uncount\"\n+lemma[\"seasickness\"]=\"uncount\"\n+lemma[\"seaside\"]=\"uncount\"\n+lemma[\"seaworthiness\"]=\"uncount\"\n+lemma[\"seclusion\"]=\"uncount\"\n+lemma[\"secrecy\"]=\"uncount\"\n+lemma[\"secretiveness\"]=\"uncount\"\n+lemma[\"sedateness\"]=\"uncount\"\n+lemma[\"sedition\"]=\"uncount\"\n+lemma[\"seediness\"]=\"uncount\"\n+lemma[\"seemliness\"]=\"uncount\"\n+lemma[\"seepage\"]=\"uncount\"\n+lemma[\"seersucker\"]=\"uncount\"\n+lemma[\"selectivity\"]=\"uncount\"\n+lemma[\"selenium\"]=\"uncount\"\n+lemma[\"self-abasement\"]=\"uncount\"\n+lemma[\"self-assurance\"]=\"uncount\"\n+lemma[\"self-command\"]=\"uncount\"\n+lemma[\"self-consciousness\"]=\"uncount\"\n+lemma[\"self-control\"]=\"uncount\"\n+lemma[\"self-defence\"]=\"uncount\"\n+lemma[\"self-denial\"]=\"uncount\"\n+lemma[\"self-determination\"]=\"uncount\"\n+lemma[\"self-esteem\"]=\"uncount\"\n+lemma[\"self-help\"]=\"uncount\"\n+lemma[\"self-incrimination\"]=\"uncount\"\n+lemma[\"self-pity\"]=\"uncount\"\n+lemma[\"self-possession\"]=\"uncount\"\n+lemma[\"self-reliance\"]=\"uncount\"\n+lemma[\"self-respect\"]=\"uncount\"\n+lemma[\"self-rule\"]=\"uncount\"\n+lemma[\"self-seeking\"]=\"uncount\"\n+lemma[\"self-service\"]=\"uncount\"\n+lemma[\"self-will\"]=\"uncount\"\n+lemma[\"selfishness\"]=\"uncount\"\n+lemma[\"selling\"]=\"uncount\"\n+lemma[\"semaphore\"]=\"uncount\"\n+lemma[\"semen\"]=\"uncount\"\n+lemma[\"semolina\"]=\"uncount\"\n+lemma[\"senescence\"]=\"uncount\"\n+lemma[\"senility\"]=\"uncount\"\n+lemma[\"seniority\"]=\"uncount\"\n+lemma[\"senna\"]=\"uncount\"\n+lemma[\"sense\"]=\"uncount\"\n+lemma[\"sense\"]=\"uncount\"\n+lemma[\"senselessness\"]=\"uncount\"\n+lemma[\"sensuality\"]=\"uncount\"\n+lemma[\"sensuousness\"]=\"uncount\"\n+lemma[\"sentimentality\"]=\"uncount\"\n+lemma[\"separability\"]=\"uncount\"\n+lemma[\"sepia\"]=\"uncount\"\n+lemma[\"sepsis\"]=\"uncount\"\n+lemma[\"septicaemia\"]=\"uncount\"\n+lemma[\"septicemia\"]=\"uncount\"\n+lemma[\"sepulture\"]=\"uncount\"\n+lemma[\"serendipity\"]=\"uncount\"\n+lemma[\"serenity\"]=\"uncount\"\n+lemma[\"serfdom\"]=\"uncount\"\n+lemma[\"serge\"]=\"uncount\"\n+lemma[\"servility\"]=\"uncount\"\n+lemma[\"servitude\"]=\"uncount\"\n+lemma[\"sesame\"]=\"uncount\"\n+lemma[\"severance\"]=\"uncount\"\n+lemma[\"sewage\"]=\"uncount\"\n+lemma[\"sewing\"]=\"uncount\"\n+lemma[\"sexuality\"]=\"uncount\"\n+lemma[\"sf\"]=\"uncount\"\n+lemma[\"shabbiness\"]=\"uncount\"\n+lemma[\"shag\"]=\"uncount\"\n+lemma[\"shagginess\"]=\"uncount\"\n+lemma[\"shakiness\"]=\"uncount\"\n+lemma[\"shale\"]=\"uncount\"\n+lemma[\"shame\"]=\"uncount\"\n+lemma[\"shamelessness\"]=\"uncount\"\n+lemma[\"shampoo\"]=\"uncount\"\n+lemma[\"shantung\"]=\"uncount\"\n+lemma[\"shapelessness\"]=\"uncount\"\n+lemma[\"sharpness\"]=\"uncount\"\n+lemma[\"sheen\"]=\"uncount\"\n+lemma[\"sheepishness\"]=\"uncount\"\n+lemma[\"sheeting\"]=\"uncount\"\n+lemma[\"shellac\"]=\"uncount\"\n+lemma[\"shellfire\"]=\"uncount\"\n+lemma[\"shiftiness\"]=\"uncount\"\n+lemma[\"shillyshally\"]=\"uncount\"\n+lemma[\"shimmer\"]=\"uncount\"\n+lemma[\"shine\"]=\"uncount\"\n+lemma[\"shipbuilding\"]=\"uncount\"\n+lemma[\"shipping\"]=\"uncount\"\n+lemma[\"shirting\"]=\"uncount\"\n+lemma[\"shoddiness\"]=\"uncount\"\n+lemma[\"shoddy\"]=\"uncount\"\n+lemma[\"shoeblack\"]=\"uncount\"\n+lemma[\"shoemaking\"]=\"uncount\"\n+lemma[\"shoplifting\"]=\"uncount\"\n+lemma[\"shortbread\"]=\"uncount\"\n+lemma[\"shortcake\"]=\"uncount\"\n+lemma[\"shortening\"]=\"uncount\"\n+lemma[\"shorthand\"]=\"uncount\"\n+lemma[\"shortness\"]=\"uncount\"\n+lemma[\"showbiz\"]=\"uncount\"\n+lemma[\"showiness\"]=\"uncount\"\n+lemma[\"showjumping\"]=\"uncount\"\n+lemma[\"showmanship\"]=\"uncount\"\n+lemma[\"shrapnel\"]=\"uncount\"\n+lemma[\"shrewdness\"]=\"uncount\"\n+lemma[\"shrewishness\"]=\"uncount\"\n+lemma[\"shrift\"]=\"uncount\"\n+lemma[\"shrillness\"]=\"uncount\"\n+lemma[\"shrinkage\"]=\"uncount\"\n+lemma[\"shrubbery\"]=\"uncount\"\n+lemma[\"shuteye\"]=\"uncount\"\n+lemma[\"shyness\"]=\"uncount\"\n+lemma[\"sickness\"]=\"uncount\"\n+lemma[\"sienna\"]=\"uncount\"\n+lemma[\"silage\"]=\"uncount\"\n+lemma[\"silica\"]=\"uncount\"\n+lemma[\"silicate\"]=\"uncount\"\n+lemma[\"silicon\"]=\"uncount\"\n+lemma[\"silicone\"]=\"uncount\"\n+lemma[\"silicosis\"]=\"uncount\"\n+lemma[\"silk\"]=\"uncount\"\n+lemma[\"silkiness\"]=\"uncount\"\n+lemma[\"silliness\"]=\"uncount\"\n+lemma[\"silt\"]=\"uncount\"\n+lemma[\"silver\"]=\"uncount\"\n+lemma[\"silverside\"]=\"uncount\"\n+lemma[\"simony\"]=\"uncount\"\n+lemma[\"simultaneity\"]=\"uncount\"\n+lemma[\"simultaneousness\"]=\"uncount\"\n+lemma[\"sincerity\"]=\"uncount\"\n+lemma[\"sinfulness\"]=\"uncount\"\n+lemma[\"singing\"]=\"uncount\"\n+lemma[\"singleness\"]=\"uncount\"\n+lemma[\"sinlessness\"]=\"uncount\"\n+lemma[\"sinusitis\"]=\"uncount\"\n+lemma[\"sisal\"]=\"uncount\"\n+lemma[\"sisterhood\"]=\"uncount\"\n+lemma[\"skateboarding\"]=\"uncount\"\n+lemma[\"skating\"]=\"uncount\"\n+lemma[\"sketchiness\"]=\"uncount\"\n+lemma[\"skiffle\"]=\"uncount\"\n+lemma[\"skilly\"]=\"uncount\"\n+lemma[\"skittishness\"]=\"uncount\"\n+lemma[\"sky-blue\"]=\"uncount\"\n+lemma[\"skywriting\"]=\"uncount\"\n+lemma[\"slackness\"]=\"uncount\"\n+lemma[\"slag\"]=\"uncount\"\n+lemma[\"slang\"]=\"uncount\"\n+lemma[\"slanginess\"]=\"uncount\"\n+lemma[\"slapstick\"]=\"uncount\"\n+lemma[\"slatternliness\"]=\"uncount\"\n+lemma[\"slaughter\"]=\"uncount\"\n+lemma[\"slaver\"]=\"uncount\"\n+lemma[\"slavery\"]=\"uncount\"\n+lemma[\"slaw\"]=\"uncount\"\n+lemma[\"sleekness\"]=\"uncount\"\n+lemma[\"sleepiness\"]=\"uncount\"\n+lemma[\"sleeping\"]=\"uncount\"\n+lemma[\"sleeplessness\"]=\"uncount\"\n+lemma[\"sleet\"]=\"uncount\"\n+lemma[\"slenderness\"]=\"uncount\"\n+lemma[\"slightness\"]=\"uncount\"\n+lemma[\"slime\"]=\"uncount\"\n+lemma[\"sliminess\"]=\"uncount\"\n+lemma[\"slimness\"]=\"uncount\"\n+lemma[\"slipperiness\"]=\"uncount\"\n+lemma[\"slobber\"]=\"uncount\"\n+lemma[\"sloppiness\"]=\"uncount\"\n+lemma[\"slovenliness\"]=\"uncount\"\n+lemma[\"slowness\"]=\"uncount\"\n+lemma[\"sludge\"]=\"uncount\"\n+lemma[\"sluggishness\"]=\"uncount\"\n+lemma[\"slurry\"]=\"uncount\"\n+lemma[\"slush\"]=\"uncount\"\n+lemma[\"slyness\"]=\"uncount\"\n+lemma[\"smallness\"]=\"uncount\"\n+lemma[\"smallpox\"]=\"uncount\"\n+lemma[\"smart\"]=\"uncount\"\n+lemma[\"smartness\"]=\"uncount\"\n+lemma[\"smilax\"]=\"uncount\"\n+lemma[\"smocking\"]=\"uncount\"\n+lemma[\"smoke\"]=\"uncount\"\n+lemma[\"smoothness\"]=\"uncount\"\n+lemma[\"smorgasbord\"]=\"uncount\"\n+lemma[\"smoulder\"]=\"uncount\"\n+lemma[\"smugness\"]=\"uncount\"\n+lemma[\"smuttiness\"]=\"uncount\"\n+lemma[\"snappishness\"]=\"uncount\"\n+lemma[\"snobbery\"]=\"uncount\"\n+lemma[\"snobbishness\"]=\"uncount\"\n+lemma[\"snot\"]=\"uncount\"\n+lemma[\"snow\"]=\"uncount\"\n+lemma[\"snowblindness\"]=\"uncount\"\n+lemma[\"snugness\"]=\"uncount\"\n+lemma[\"soap\"]=\"uncount\"\n+lemma[\"sobriety\"]=\"uncount\"\n+lemma[\"soccer\"]=\"uncount\"\n+lemma[\"sociability\"]=\"uncount\"\n+lemma[\"soda\"]=\"uncount\"\n+lemma[\"sodium\"]=\"uncount\"\n+lemma[\"sodomy\"]=\"uncount\"\n+lemma[\"softness\"]=\"uncount\"\n+lemma[\"sogginess\"]=\"uncount\"\n+lemma[\"soil\"]=\"uncount\"\n+lemma[\"solder\"]=\"uncount\"\n+lemma[\"solemnness\"]=\"uncount\"\n+lemma[\"solicitude\"]=\"uncount\"\n+lemma[\"solidarity\"]=\"uncount\"\n+lemma[\"solidity\"]=\"uncount\"\n+lemma[\"solidness\"]=\"uncount\"\n+lemma[\"solubility\"]=\"uncount\"\n+lemma[\"solvency\"]=\"uncount\"\n+lemma[\"sombreness\"]=\"uncount\"\n+lemma[\"somnolence\"]=\"uncount\"\n+lemma[\"sordidness\"]=\"uncount\"\n+lemma[\"soreness\"]=\"uncount\"\n+lemma[\"sorghum\"]=\"uncount\"\n+lemma[\"sottishness\"]=\"uncount\"\n+lemma[\"soundness\"]=\"uncount\"\n+lemma[\"soup\"]=\"uncount\"\n+lemma[\"sourness\"]=\"uncount\"\n+lemma[\"south\"]=\"uncount\"\n+lemma[\"south-southeast\"]=\"uncount\"\n+lemma[\"south-southwest\"]=\"uncount\"\n+lemma[\"southeast\"]=\"uncount\"\n+lemma[\"southwest\"]=\"uncount\"\n+lemma[\"sovereignty\"]=\"uncount\"\n+lemma[\"soy\"]=\"uncount\"\n+lemma[\"soya\"]=\"uncount\"\n+lemma[\"space-time\"]=\"uncount\"\n+lemma[\"spaciousness\"]=\"uncount\"\n+lemma[\"spadework\"]=\"uncount\"\n+lemma[\"spaghetti\"]=\"uncount\"\n+lemma[\"spareness\"]=\"uncount\"\n+lemma[\"sparkle\"]=\"uncount\"\n+lemma[\"sparseness\"]=\"uncount\"\n+lemma[\"sparsity\"]=\"uncount\"\n+lemma[\"spavin\"]=\"uncount\"\n+lemma[\"spawn\"]=\"uncount\"\n+lemma[\"spearmint\"]=\"uncount\"\n+lemma[\"specie\"]=\"uncount\"\n+lemma[\"specificity\"]=\"uncount\"\n+lemma[\"speciousness\"]=\"uncount\"\n+lemma[\"speeding\"]=\"uncount\"\n+lemma[\"spelling\"]=\"uncount\"\n+lemma[\"spelt\"]=\"uncount\"\n+lemma[\"spermaceti\"]=\"uncount\"\n+lemma[\"spiciness\"]=\"uncount\"\n+lemma[\"spikenard\"]=\"uncount\"\n+lemma[\"spinach\"]=\"uncount\"\n+lemma[\"spindrift\"]=\"uncount\"\n+lemma[\"spinsterhood\"]=\"uncount\"\n+lemma[\"spirituality\"]=\"uncount\"\n+lemma[\"spite\"]=\"uncount\"\n+lemma[\"spitefulness\"]=\"uncount\"\n+lemma[\"spitting\"]=\"uncount\"\n+lemma[\"spittle\"]=\"uncount\"\n+lemma[\"splutter\"]=\"uncount\"\n+lemma[\"sponginess\"]=\"uncount\"\n+lemma[\"spontaneity\"]=\"uncount\"\n+lemma[\"spontaneousness\"]=\"uncount\"\n+lemma[\"sportiveness\"]=\"uncount\"\n+lemma[\"sportsmanship\"]=\"uncount\"\n+lemma[\"sprightliness\"]=\"uncount\"\n+lemma[\"spring-cleaning\"]=\"uncount\"\n+lemma[\"spruceness\"]=\"uncount\"\n+lemma[\"spume\"]=\"uncount\"\n+lemma[\"spunk\"]=\"uncount\"\n+lemma[\"spuriousness\"]=\"uncount\"\n+lemma[\"sputum\"]=\"uncount\"\n+lemma[\"squalor\"]=\"uncount\"\n+lemma[\"squandermania\"]=\"uncount\"\n+lemma[\"square-bashing\"]=\"uncount\"\n+lemma[\"squareness\"]=\"uncount\"\n+lemma[\"squeamishness\"]=\"uncount\"\n+lemma[\"stabling\"]=\"uncount\"\n+lemma[\"staginess\"]=\"uncount\"\n+lemma[\"stagnancy\"]=\"uncount\"\n+lemma[\"stagnation\"]=\"uncount\"\n+lemma[\"staidness\"]=\"uncount\"\n+lemma[\"staleness\"]=\"uncount\"\n+lemma[\"stamina\"]=\"uncount\"\n+lemma[\"standing\"]=\"uncount\"\n+lemma[\"standoffishness\"]=\"uncount\"\n+lemma[\"stardom\"]=\"uncount\"\n+lemma[\"stardust\"]=\"uncount\"\n+lemma[\"starlight\"]=\"uncount\"\n+lemma[\"statecraft\"]=\"uncount\"\n+lemma[\"stateliness\"]=\"uncount\"\n+lemma[\"statesmanship\"]=\"uncount\"\n+lemma[\"stationery\"]=\"uncount\"\n+lemma[\"statuary\"]=\"uncount\"\n+lemma[\"stature\"]=\"uncount\"\n+lemma[\"staunchness\"]=\"uncount\"\n+lemma[\"stead\"]=\"uncount\"\n+lemma[\"steadfastness\"]=\"uncount\"\n+lemma[\"steadiness\"]=\"uncount\"\n+lemma[\"stealth\"]=\"uncount\"\n+lemma[\"steam\"]=\"uncount\"\n+lemma[\"steel\"]=\"uncount\"\n+lemma[\"steepness\"]=\"uncount\"\n+lemma[\"steerageway\"]=\"uncount\"\n+lemma[\"stenography\"]=\"uncount\"\n+lemma[\"sterility\"]=\"uncount\"\n+lemma[\"sternness\"]=\"uncount\"\n+lemma[\"stewardship\"]=\"uncount\"\n+lemma[\"stickiness\"]=\"uncount\"\n+lemma[\"stiffness\"]=\"uncount\"\n+lemma[\"stillness\"]=\"uncount\"\n+lemma[\"stinginess\"]=\"uncount\"\n+lemma[\"stockinette\"]=\"uncount\"\n+lemma[\"stockpiling\"]=\"uncount\"\n+lemma[\"stodge\"]=\"uncount\"\n+lemma[\"stodginess\"]=\"uncount\"\n+lemma[\"stolidity\"]=\"uncount\"\n+lemma[\"stolidness\"]=\"uncount\"\n+lemma[\"stonewalling\"]=\"uncount\"\n+lemma[\"stoneware\"]=\"uncount\"\n+lemma[\"stonework\"]=\"uncount\"\n+lemma[\"stout\"]=\"uncount\"\n+lemma[\"stoutness\"]=\"uncount\"\n+lemma[\"straightness\"]=\"uncount\"\n+lemma[\"strangeness\"]=\"uncount\"\n+lemma[\"strawboard\"]=\"uncount\"\n+lemma[\"strength\"]=\"uncount\"\n+lemma[\"strenuousness\"]=\"uncount\"\n+lemma[\"streptomycin\"]=\"uncount\"\n+lemma[\"strictness\"]=\"uncount\"\n+lemma[\"string\"]=\"uncount\"\n+lemma[\"striptease\"]=\"uncount\"\n+lemma[\"strontium\"]=\"uncount\"\n+lemma[\"strychnine\"]=\"uncount\"\n+lemma[\"stubble\"]=\"uncount\"\n+lemma[\"stubbornness\"]=\"uncount\"\n+lemma[\"studiousness\"]=\"uncount\"\n+lemma[\"stuff\"]=\"uncount\"\n+lemma[\"stuffiness\"]=\"uncount\"\n+lemma[\"stuffing\"]=\"uncount\"\n+lemma[\"stupidity\"]=\"uncount\"\n+lemma[\"sturdiness\"]=\"uncount\"\n+lemma[\"stylishness\"]=\"uncount\"\n+lemma[\"suasion\"]=\"uncount\"\n+lemma[\"suavity\"]=\"uncount\"\n+lemma[\"subconsciousness\"]=\"uncount\"\n+lemma[\"subjectivity\"]=\"uncount\"\n+lemma[\"sublimity\"]=\"uncount\"\n+lemma[\"submergence\"]=\"uncount\"\n+lemma[\"submersion\"]=\"uncount\"\n+lemma[\"submissiveness\"]=\"uncount\"\n+lemma[\"subornation\"]=\"uncount\"\n+lemma[\"subservience\"]=\"uncount\"\n+lemma[\"subsistence\"]=\"uncount\"\n+lemma[\"subsoil\"]=\"uncount\"\n+lemma[\"subtopia\"]=\"uncount\"\n+lemma[\"suburbia\"]=\"uncount\"\n+lemma[\"subversion\"]=\"uncount\"\n+lemma[\"succinctness\"]=\"uncount\"\n+lemma[\"succour\"]=\"uncount\"\n+lemma[\"succulence\"]=\"uncount\"\n+lemma[\"suddenness\"]=\"uncount\"\n+lemma[\"suede\"]=\"uncount\"\n lemma[\"suet\"]=\"uncount\"\n+lemma[\"sufferance\"]=\"uncount\"\n+lemma[\"sufficiency\"]=\"uncount\"\n+lemma[\"suffusion\"]=\"uncount\"\n+lemma[\"sugar\"]=\"uncount\"\n+lemma[\"suggestibility\"]=\"uncount\"\n+lemma[\"suitability\"]=\"uncount\"\n+lemma[\"suitableness\"]=\"uncount\"\n+lemma[\"suiting\"]=\"uncount\"\n+lemma[\"sulkiness\"]=\"uncount\"\n+lemma[\"sullenness\"]=\"uncount\"\n+lemma[\"sulpha\"]=\"uncount\"\n+lemma[\"sultriness\"]=\"uncount\"\n+lemma[\"sumac\"]=\"uncount\"\n+lemma[\"sumach\"]=\"uncount\"\n+lemma[\"sumptuousness\"]=\"uncount\"\n+lemma[\"sundown\"]=\"uncount\"\n+lemma[\"sunstroke\"]=\"uncount\"\n+lemma[\"superciliousness\"]=\"uncount\"\n+lemma[\"superego\"]=\"uncount\"\n+lemma[\"supererogation\"]=\"uncount\"\n+lemma[\"superintendence\"]=\"uncount\"\n+lemma[\"superiority\"]=\"uncount\"\n+lemma[\"supersession\"]=\"uncount\"\n+lemma[\"suppleness\"]=\"uncount\"\n+lemma[\"sureness\"]=\"uncount\"\n+lemma[\"surf\"]=\"uncount\"\n+lemma[\"surfing\"]=\"uncount\"\n+lemma[\"surfriding\"]=\"uncount\"\n+lemma[\"surliness\"]=\"uncount\"\n+lemma[\"surveying\"]=\"uncount\"\n+lemma[\"survival\"]=\"uncount\" \n+lemma[\"suspense\"]=\"uncount\"\n+lemma[\"suspension\"]=\"uncount\"\n+lemma[\"sustenance\"]=\"uncount\"\n+lemma[\"swag\"]=\"uncount\"\n+lemma[\"sward\"]=\"uncount\"\n+lemma[\"swashbuckling\"]=\"uncount\"\n+lemma[\"sweetbriar\"]=\"uncount\"\n+lemma[\"sweetbrier\"]=\"uncount\"\n+lemma[\"sweetness\"]=\"uncount\"\n+lemma[\"swiftness\"]=\"uncount\"\n+lemma[\"swordplay\"]=\"uncount\"\n+lemma[\"swordsmanship\"]=\"uncount\"\n+lemma[\"sycophancy\"]=\"uncount\"\n+lemma[\"symbiosis\"]=\"uncount\"\n+lemma[\"symmetry\"]=\"uncount\"\n+lemma[\"synchromesh\"]=\"uncount\"\n+lemma[\"synchrony\"]=\"uncount\"\n+lemma[\"syncope\"]=\"uncount\"\n+lemma[\"syntax\"]=\"uncount\"\n+lemma[\"syphilis\"]=\"uncount\"\n+lemma[\"table-turning\"]=\"uncount\"\n+lemma[\"tableware\"]=\"uncount\"\n+lemma[\"taciturnity\"]=\"uncount\"\n+lemma[\"tact\"]=\"uncount\"\n+lemma[\"tactlessness\"]=\"uncount\"\n+lemma[\"taffeta\"]=\"uncount\"\n+lemma[\"take-up\"]=\"uncount\"\n+lemma[\"talc\"]=\"uncount\"\n+lemma[\"talcum\"]=\"uncount\"\n+lemma[\"tallow\"]=\"uncount\"\n+lemma[\"tameness\"]=\"uncount\"\n+lemma[\"tangibility\"]=\"uncount\"\n+lemma[\"tannin\"]=\"uncount\"\n+lemma[\"tapioca\"]=\"uncount\"\n+lemma[\"tardiness\"]=\"uncount\"\n+lemma[\"tarmac\"]=\"uncount\"\n+lemma[\"tarnish\"]=\"uncount\"\n+lemma[\"tarragon\"]=\"uncount\"\n+lemma[\"tartness\"]=\"uncount\"\n+lemma[\"tat\"]=\"uncount\"\n+lemma[\"tatting\"]=\"uncount\"\n+lemma[\"tattle\"]=\"uncount\"\n+lemma[\"tautness\"]=\"uncount\"\n+lemma[\"tawdriness\"]=\"uncount\"\n+lemma[\"taxability\"]=\"uncount\"\n+lemma[\"taxidermy\"]=\"uncount\"\n+lemma[\"tea\"]=\"uncount\"\n+lemma[\"teak\"]=\"uncount\"\n+lemma[\"teamwork\"]=\"uncount\"\n+lemma[\"tearing\"]=\"uncount\"\n+lemma[\"tediousness\"]=\"uncount\"\n+lemma[\"tedium\"]=\"uncount\"\n+lemma[\"telegraphese\"]=\"uncount\"\n+lemma[\"telegraphy\"]=\"uncount\"\n+lemma[\"telemetry\"]=\"uncount\"\n+lemma[\"telepathy\"]=\"uncount\"\n+lemma[\"telephony\"]=\"uncount\"\n+lemma[\"telephoto\"]=\"uncount\"\n+lemma[\"telephotography\"]=\"uncount\"\n+lemma[\"temerity\"]=\"uncount\"\n+lemma[\"tempera\"]=\"uncount\"\n+lemma[\"temperance\"]=\"uncount\"\n+lemma[\"temperateness\"]=\"uncount\"\n+lemma[\"temporality\"]=\"uncount\"\n+lemma[\"temporalty\"]=\"uncount\"\n+lemma[\"temporariness\"]=\"uncount\"\n+lemma[\"tenability\"]=\"uncount\"\n+lemma[\"tenaciousness\"]=\"uncount\"\n+lemma[\"tenacity\"]=\"uncount\"\n+lemma[\"tendentiousness\"]=\"uncount\"\n+lemma[\"tenderloin\"]=\"uncount\"\n+lemma[\"tenderness\"]=\"uncount\"\n+lemma[\"tenseness\"]=\"uncount\"\n+lemma[\"tensity\"]=\"uncount\"\n+lemma[\"tenuity\"]=\"uncount\"\n+lemma[\"tepidity\"]=\"uncount\"\n+lemma[\"tepidness\"]=\"uncount\"\n+lemma[\"terra\"]=\"uncount\"\n+lemma[\"terra\"]=\"uncount\"\n+lemma[\"terrain\"]=\"uncount\"\n+lemma[\"terseness\"]=\"uncount\"\n+lemma[\"terylene\"]=\"uncount\"\n+lemma[\"testiness\"]=\"uncount\"\n+lemma[\"tetanus\"]=\"uncount\"\n+lemma[\"tetchiness\"]=\"uncount\"\n+lemma[\"thalidomide\"]=\"uncount\"\n+lemma[\"thankfulness\"]=\"uncount\"\n+lemma[\"thatch\"]=\"uncount\"\n+lemma[\"theosophy\"]=\"uncount\"\n+lemma[\"thick\"]=\"uncount\"\n+lemma[\"thickening\"]=\"uncount\"\n+lemma[\"thievery\"]=\"uncount\"\n+lemma[\"thinness\"]=\"uncount\"\n+lemma[\"thirst\"]=\"uncount\"\n+lemma[\"thistledown\"]=\"uncount\"\n+lemma[\"thoroughness\"]=\"uncount\"\n+lemma[\"thoughtfulness\"]=\"uncount\"\n+lemma[\"thoughtlessness\"]=\"uncount\"\n+lemma[\"thraldom\"]=\"uncount\"\n+lemma[\"thread\"]=\"uncount\"\n+lemma[\"three-D\"]=\"uncount\"\n+lemma[\"thrift\"]=\"uncount\"\n+lemma[\"thriftlessness\"]=\"uncount\"\n+lemma[\"thrombosis\"]=\"uncount\"\n+lemma[\"thuggery\"]=\"uncount\"\n+lemma[\"thunder\"]=\"uncount\"\n+lemma[\"thyme\"]=\"uncount\"\n+lemma[\"ticking\"]=\"uncount\"\n+lemma[\"tidiness\"]=\"uncount\"\n+lemma[\"tightness\"]=\"uncount\"\n+lemma[\"tillage\"]=\"uncount\"\n+lemma[\"timber\"]=\"uncount\"\n+lemma[\"timekeeping\"]=\"uncount\"\n+lemma[\"timeliness\"]=\"uncount\"\n+lemma[\"timework\"]=\"uncount\"\n+lemma[\"timidity\"]=\"uncount\"\n+lemma[\"timidness\"]=\"uncount\"\n+lemma[\"timothy\"]=\"uncount\"\n+lemma[\"tinder\"]=\"uncount\"\n+lemma[\"tinfoil\"]=\"uncount\"\n+lemma[\"tinnitus\"]=\"uncount\"\n+lemma[\"tinsel\"]=\"uncount\"\n+lemma[\"tipple\"]=\"uncount\"\n+lemma[\"tiredness\"]=\"uncount\"\n+lemma[\"tobacco\"]=\"uncount\"\n+lemma[\"today\"]=\"uncount\"\n+lemma[\"togetherness\"]=\"uncount\"\n+lemma[\"tonic\"]=\"uncount\"\n+lemma[\"tonight\"]=\"uncount\"\n+lemma[\"tonsillitis\"]=\"uncount\"\n+lemma[\"toothpaste\"]=\"uncount\"\n+lemma[\"toothpowder\"]=\"uncount\"\n+lemma[\"topiary\"]=\"uncount\"\n+lemma[\"topography\"]=\"uncount\"\n+lemma[\"torchlight\"]=\"uncount\"\n+lemma[\"torpidity\"]=\"uncount\"\n+lemma[\"torpidness\"]=\"uncount\"\n+lemma[\"torridity\"]=\"uncount\"\n+lemma[\"torsion\"]=\"uncount\"\n+lemma[\"tortoiseshell\"]=\"uncount\"\n+lemma[\"totality\"]=\"uncount\"\n+lemma[\"touchiness\"]=\"uncount\"\n+lemma[\"toughness\"]=\"uncount\"\n+lemma[\"touring\"]=\"uncount\"\n+lemma[\"towelling\"]=\"uncount\"\n+lemma[\"toxaemia\"]=\"uncount\"\n+lemma[\"toxicity\"]=\"uncount\"\n+lemma[\"trachoma\"]=\"uncount\"\n+lemma[\"trad\"]=\"uncount\"\n+lemma[\"traffic\"]=\"uncount\"\n+lemma[\"tranquility\"]=\"uncount\"\n+lemma[\"transcendence\"]=\"uncount\"\n+lemma[\"transcendency\"]=\"uncount\"\n+lemma[\"transferability\"]=\"uncount\"\n+lemma[\"transience\"]=\"uncount\"\n+lemma[\"transiency\"]=\"uncount\"\n+lemma[\"transit\"]=\"uncount\"\n+lemma[\"translucence\"]=\"uncount\"\n+lemma[\"translucency\"]=\"uncount\"\n+lemma[\"transparence\"]=\"uncount\"\n+lemma[\"trash\"]=\"uncount\"\n+lemma[\"travel\"]=\"uncount\"\n+lemma[\"treacle\"]=\"uncount\"\n+lemma[\"treasure-trove\"]=\"uncount\"\n+lemma[\"trenchancy\"]=\"uncount\"\n+lemma[\"trickery\"]=\"uncount\"\n+lemma[\"trickiness\"]=\"uncount\"\n+lemma[\"trigonometry\"]=\"uncount\"\n+lemma[\"trim\"]=\"uncount\"\n+lemma[\"trinitrotoluene\"]=\"uncount\"\n lemma[\"tripe\"]=\"uncount\"\n+lemma[\"triteness\"]=\"uncount\"\n+lemma[\"troth\"]=\"uncount\"\n+lemma[\"troy\"]=\"uncount\"\n+lemma[\"truculence\"]=\"uncount\"\n+lemma[\"truculency\"]=\"uncount\"\n+lemma[\"trunking\"]=\"uncount\"\n+lemma[\"trustworthiness\"]=\"uncount\"\n+lemma[\"truthfulness\"]=\"uncount\"\n+lemma[\"tuberculosis\"]=\"uncount\"\n+lemma[\"tubing\"]=\"uncount\"\n+lemma[\"tulle\"]=\"uncount\"\n+lemma[\"tumbleweed\"]=\"uncount\"\n+lemma[\"tumidity\"]=\"uncount\"\n+lemma[\"tunefulness\"]=\"uncount\"\n+lemma[\"tungsten\"]=\"uncount\"\n+lemma[\"turbidity\"]=\"uncount\"\n+lemma[\"turbidness\"]=\"uncount\"\n+lemma[\"turgidity\"]=\"uncount\"\n+lemma[\"turmeric\"]=\"uncount\"\n+lemma[\"turpentine\"]=\"uncount\"\n+lemma[\"turpitude\"]=\"uncount\"\n+lemma[\"turps\"]=\"uncount\"\n+lemma[\"tutelage\"]=\"uncount\"\n+lemma[\"twaddle\"]=\"uncount\"\n+lemma[\"twilight\"]=\"uncount\"\n+lemma[\"twill\"]=\"uncount\"\n+lemma[\"twine\"]=\"uncount\"\n+lemma[\"twinkle\"]=\"uncount\"\n+lemma[\"typhoid\"]=\"uncount\"\n+lemma[\"typhus\"]=\"uncount\"\n+lemma[\"typography\"]=\"uncount\"\n+lemma[\"ubiquity\"]=\"uncount\"\n+lemma[\"ugliness\"]=\"uncount\"\n+lemma[\"umbrage\"]=\"uncount\"\n+lemma[\"unanimity\"]=\"uncount\"\n+lemma[\"unbelief\"]=\"uncount\"\n+lemma[\"unceremoniousness\"]=\"uncount\"\n+lemma[\"unconcern\"]=\"uncount\"\n+lemma[\"unconsciousness\"]=\"uncount\"\n+lemma[\"unconventionality\"]=\"uncount\"\n+lemma[\"uncouthness\"]=\"uncount\"\n+lemma[\"underbrush\"]=\"uncount\"\n+lemma[\"underclothing\"]=\"uncount\"\n+lemma[\"undercut\"]=\"uncount\"\n+lemma[\"underdevelopment\"]=\"uncount\"\n+lemma[\"underfelt\"]=\"uncount\"\n+lemma[\"underground\"]=\"uncount\"\n+lemma[\"undergrowth\"]=\"uncount\"\n+lemma[\"underlay\"]=\"uncount\"\n+lemma[\"undernourishment\"]=\"uncount\"\n+lemma[\"underseal\"]=\"uncount\"\n+lemma[\"underwear\"]=\"uncount\"\n+lemma[\"undress\"]=\"uncount\"\n+lemma[\"unease\"]=\"uncount\"\n+lemma[\"uneasiness\"]=\"uncount\"\n+lemma[\"unexpectedness\"]=\"uncount\"\n+lemma[\"unfairness\"]=\"uncount\"\n+lemma[\"unfaithfulness\"]=\"uncount\"\n+lemma[\"unfamiliarity\"]=\"uncount\"\n+lemma[\"unfriendliness\"]=\"uncount\"\n+lemma[\"ungratefulness\"]=\"uncount\"\n+lemma[\"uniformity\"]=\"uncount\"\n+lemma[\"uniqueness\"]=\"uncount\"\n+lemma[\"unison\"]=\"uncount\"\n+lemma[\"universality\"]=\"uncount\"\n+lemma[\"unpredictability\"]=\"uncount\"\n+lemma[\"unreality\"]=\"uncount\"\n+lemma[\"unselfishness\"]=\"uncount\"\n+lemma[\"unsightliness\"]=\"uncount\"\n+lemma[\"unsuitability\"]=\"uncount\"\n+lemma[\"untidiness\"]=\"uncount\"\n+lemma[\"unwieldiness\"]=\"uncount\"\n+lemma[\"unwillingness\"]=\"uncount\"\n+lemma[\"unworthiness\"]=\"uncount\"\n+lemma[\"upbringing\"]=\"uncount\"\n+lemma[\"upholstery\"]=\"uncount\"\n+lemma[\"upkeep\"]=\"uncount\"\n+lemma[\"uplift\"]=\"uncount\"\n+lemma[\"uppishness\"]=\"uncount\"\n+lemma[\"uprightness\"]=\"uncount\"\n+lemma[\"uranium\"]=\"uncount\"\n+lemma[\"urbanity\"]=\"uncount\"\n+lemma[\"urethane\"]=\"uncount\"\n+lemma[\"urgency\"]=\"uncount\"\n+lemma[\"urine\"]=\"uncount\"\n+lemma[\"usefulness\"]=\"uncount\"\n+lemma[\"uselessness\"]=\"uncount\"\n+lemma[\"usury\"]=\"uncount\"\n+lemma[\"uxoriousness\"]=\"uncount\"\n+lemma[\"vagrancy\"]=\"uncount\"\n+lemma[\"vagueness\"]=\"uncount\"\n+lemma[\"vainglory\"]=\"uncount\"\n+lemma[\"valerian\"]=\"uncount\"\n+lemma[\"valour\"]=\"uncount\"\n+lemma[\"vanity\"]=\"uncount\"\n+lemma[\"vapidity\"]=\"uncount\"\n+lemma[\"vapidness\"]=\"uncount\"\n lemma[\"variability\"]=\"uncount\"\n+lemma[\"variableness\"]=\"uncount\"\n+lemma[\"vaseline\"]=\"uncount\"\n+lemma[\"vassalage\"]=\"uncount\"\n+lemma[\"vastness\"]=\"uncount\"\n+lemma[\"vaudeville\"]=\"uncount\"\n+lemma[\"veal\"]=\"uncount\"\n+lemma[\"veiling\"]=\"uncount\"\n+lemma[\"veld\"]=\"uncount\"\n+lemma[\"vellum\"]=\"uncount\"\n+lemma[\"velour\"]=\"uncount\"\n+lemma[\"velveteen\"]=\"uncount\"\n+lemma[\"venality\"]=\"uncount\"\n+lemma[\"vengeance\"]=\"uncount\"\n+lemma[\"venison\"]=\"uncount\"\n+lemma[\"venom\"]=\"uncount\"\n+lemma[\"veracity\"]=\"uncount\"\n+lemma[\"verboseness\"]=\"uncount\"\n+lemma[\"verbosity\"]=\"uncount\"\n+lemma[\"verdancy\"]=\"uncount\"\n+lemma[\"verdigris\"]=\"uncount\"\n+lemma[\"verdure\"]=\"uncount\"\n+lemma[\"vermicelli\"]=\"uncount\"\n+lemma[\"vermin\"]=\"uncount\"\n+lemma[\"versatility\"]=\"uncount\"\n+lemma[\"vertigo\"]=\"uncount\"\n+lemma[\"verve\"]=\"uncount\"\n+lemma[\"viability\"]=\"uncount\"\n+lemma[\"viciousness\"]=\"uncount\"\n+lemma[\"videotape\"]=\"uncount\"\n+lemma[\"vigilance\"]=\"uncount\"\n+lemma[\"vileness\"]=\"uncount\"\n+lemma[\"villeinage\"]=\"uncount\"\n+lemma[\"vim\"]=\"uncount\"\n+lemma[\"vinaigrette\"]=\"uncount\"\n+lemma[\"vindictiveness\"]=\"uncount\"\n+lemma[\"virginity\"]=\"uncount\"\n+lemma[\"virility\"]=\"uncount\"\n+lemma[\"virtu\"]=\"uncount\"\n+lemma[\"virtuosity\"]=\"uncount\"\n+lemma[\"virulence\"]=\"uncount\"\n+lemma[\"viscose\"]=\"uncount\"\n+lemma[\"viscosity\"]=\"uncount\"\n+lemma[\"visibility\"]=\"uncount\"\n+lemma[\"visiting\"]=\"uncount\"\n+lemma[\"vitality\"]=\"uncount\"\n+lemma[\"vitriol\"]=\"uncount\"\n+lemma[\"vivacity\"]=\"uncount\"\n+lemma[\"vividness\"]=\"uncount\"\n+lemma[\"vocabulary\"]=\"uncount\"\n+lemma[\"voile\"]=\"uncount\"\n+lemma[\"volubility\"]=\"uncount\"\n+lemma[\"voluptuousness\"]=\"uncount\"\n+lemma[\"vomit\"]=\"uncount\"\n+lemma[\"voodoo\"]=\"uncount\"\n+lemma[\"voracity\"]=\"uncount\"\n+lemma[\"vulcanite\"]=\"uncount\"\n+lemma[\"wadding\"]=\"uncount\"\n+lemma[\"waggishness\"]=\"uncount\"\n+lemma[\"wakefulness\"]=\"uncount\"\n+lemma[\"wallpaper\"]=\"uncount\"\n+lemma[\"wampum\"]=\"uncount\"\n+lemma[\"wanderlust\"]=\"uncount\"\n+lemma[\"wanness\"]=\"uncount\"\n+lemma[\"wantonness\"]=\"uncount\"\n+lemma[\"warehousing\"]=\"uncount\"\n+lemma[\"warfare\"]=\"uncount\"\n+lemma[\"wariness\"]=\"uncount\"\n+lemma[\"wartime\"]=\"uncount\"\n+lemma[\"watchfulness\"]=\"uncount\"\n+lemma[\"water\"]=\"uncount\"\n+lemma[\"watercress\"]=\"uncount\"\n+lemma[\"weariness\"]=\"uncount\"\n+lemma[\"weather\"]=\"uncount\"\n+lemma[\"weatherboarding\"]=\"uncount\"\n+lemma[\"webbing\"]=\"uncount\"\n+lemma[\"wedlock\"]=\"uncount\"\n+lemma[\"weightiness\"]=\"uncount\"\n+lemma[\"weightlessness\"]=\"uncount\"\n+lemma[\"weightlifting\"]=\"uncount\"\n+lemma[\"weirdness\"]=\"uncount\"\n+lemma[\"well-being\"]=\"uncount\"\n+lemma[\"west\"]=\"uncount\"\n+lemma[\"wet\"]=\"uncount\"\n+lemma[\"whalebone\"]=\"uncount\"\n+lemma[\"wharfage\"]=\"uncount\"\n+lemma[\"whatnot\"]=\"uncount\"\n+lemma[\"wheeziness\"]=\"uncount\"\n+lemma[\"wherewithal\"]=\"uncount\"\n+lemma[\"whey\"]=\"uncount\"\n+lemma[\"whin\"]=\"uncount\"\n+lemma[\"whipcord\"]=\"uncount\"\n+lemma[\"whist\"]=\"uncount\"\n+lemma[\"whitebait\"]=\"uncount\"\n+lemma[\"whiteness\"]=\"uncount\"\n+lemma[\"whitening\"]=\"uncount\"\n+lemma[\"whitewash\"]=\"uncount\"\n+lemma[\"whiz\"]=\"uncount\"\n+lemma[\"wholeheartedness\"]=\"uncount\"\n+lemma[\"wholesale\"]=\"uncount\"\n+lemma[\"wickedness\"]=\"uncount\"\n+lemma[\"wicker\"]=\"uncount\"\n+lemma[\"wickerwork\"]=\"uncount\"\n+lemma[\"widowhood\"]=\"uncount\"\n+lemma[\"wildfire\"]=\"uncount\"\n+lemma[\"wildness\"]=\"uncount\"\n+lemma[\"wilfulness\"]=\"uncount\"\n+lemma[\"willingness\"]=\"uncount\"\n+lemma[\"willpower\"]=\"uncount\"\n+lemma[\"winceyette\"]=\"uncount\"\n+lemma[\"wind\"]=\"uncount\" \n+lemma[\"windiness\"]=\"uncount\"\n+lemma[\"window-dressing\"]=\"uncount\"\n+lemma[\"windward\"]=\"uncount\"\n+lemma[\"wine\"]=\"uncount\"\n+lemma[\"winsomeness\"]=\"uncount\"\n+lemma[\"wiring\"]=\"uncount\"\n+lemma[\"witchcraft\"]=\"uncount\"\n+lemma[\"witchery\"]=\"uncount\"\n+lemma[\"wizardry\"]=\"uncount\"\n+lemma[\"woad\"]=\"uncount\"\n+lemma[\"wolfram\"]=\"uncount\"\n+lemma[\"womanhood\"]=\"uncount\"\n+lemma[\"womankind\"]=\"uncount\"\n+lemma[\"wonderment\"]=\"uncount\"\n+lemma[\"wont\"]=\"uncount\"\n+lemma[\"wood\"]=\"uncount\"\n+lemma[\"woodwind\"]=\"uncount\"\n lemma[\"woodwork\"]=\"uncount\"\n-lemma[\"badminton\"]=\"uncount\"\n-lemma[\"brawn\"]=\"uncount\"\n-lemma[\"circuitry\"]=\"uncount\"\n-lemma[\"coordination\"]=\"uncount\"\n-lemma[\"crockery\"]=\"uncount\"\n-lemma[\"diesel\"]=\"uncount\"\n-lemma[\"flack\"]=\"uncount\"\n-lemma[\"flair\"]=\"uncount\"\n-lemma[\"geometry\"]=\"uncount\"\n-lemma[\"gimmickry\"]=\"uncount\"\n-lemma[\"guesswork\"]=\"uncount\"\n-lemma[\"heartbreak\"]=\"uncount\"\n-lemma[\"housework\"]=\"uncount\"\n-lemma[\"hustle\"]=\"uncount\"\n-lemma[\"hysteria\"]=\"uncount\"\n-lemma[\"jazz\"]=\"uncount\"\n-lemma[\"leather\"]=\"uncount\"\n-lemma[\"madness\"]=\"uncount\"\n-lemma[\"mahogany\"]=\"uncount\"\n-lemma[\"maize\"]=\"uncount\"\n-lemma[\"monotony\"]=\"uncount\"\n-lemma[\"orienteering\"]=\"uncount\"\n-lemma[\"redundancy\"]=\"uncount\"\n-lemma[\"sf\"]=\"uncount\"\n-lemma[\"silica\"]=\"uncount\"\n-lemma[\"tact\"]=\"uncount\"\n-lemma[\"housekeeping\"]=\"uncount\"\n+lemma[\"woodworm\"]=\"uncount\"\n+lemma[\"woolgathering\"]=\"uncount\"\n+lemma[\"wordiness\"]=\"uncount\"\n+lemma[\"workmanship\"]=\"uncount\"\n+lemma[\"worldliness\"]=\"uncount\"\n+lemma[\"wormwood\"]=\"uncount\"\n+lemma[\"worse\"]=\"uncount\"\n+lemma[\"worst\"]=\"uncount\" \n+lemma[\"worsted\"]=\"uncount\"\n+lemma[\"worth\"]=\"uncount\"\n+lemma[\"worthiness\"]=\"uncount\"\n+lemma[\"worthlessness\"]=\"uncount\"\n+lemma[\"wrack\"]=\"uncount\"\n+lemma[\"wreckage\"]=\"uncount\"\n+lemma[\"wretchedness\"]=\"uncount\"\n+lemma[\"writing\"]=\"uncount\"\n+lemma[\"xenophobia\"]=\"uncount\"\n+lemma[\"yachting\"]=\"uncount\"\n+lemma[\"yarn\"]=\"uncount\"\n+lemma[\"yarrow\"]=\"uncount\"\n+lemma[\"yeast\"]=\"uncount\"\n+lemma[\"yellowness\"]=\"uncount\"\n+lemma[\"yoga\"]=\"uncount\"\n+lemma[\"yogurt\"]=\"uncount\" \n+lemma[\"yore\"]=\"uncount\"\n+lemma[\"young\"]=\"uncount\"\n+lemma[\"youthfulness\"]=\"uncount\"\n+lemma[\"yule\"]=\"uncount\"\n+lemma[\"zealotry\"]=\"uncount\"\n+lemma[\"zest\"]=\"uncount\"\n+lemma[\"zinc\"]=\"uncount\"\n+lemma[\"zing\"]=\"uncount\"\n+lemma[\"zoning\"]=\"uncount\"\n+lemma[\"zoom\"]=\"uncount\"\n \n #explicit list UN\n-partly_noncount[\"denial\"]=\"uncount\"\n-partly_noncount[\"embroidery\"]=\"uncount\"\n-partly_noncount[\"fantasy\"]=\"uncount\"\n-partly_noncount[\"firing\"]=\"uncount\"\n-partly_noncount[\"fixing\"]=\"uncount\"\n-partly_noncount[\"handball\"]=\"uncount\"\n-partly_noncount[\"leg\"]=\"uncount\"\n-partly_noncount[\"marguerite\"]=\"uncount\"\n-partly_noncount[\"oak\"]=\"uncount\"\n-partly_noncount[\"opera\"]=\"uncount\"\n-partly_noncount[\"renovation\"]=\"uncount\"\n-partly_noncount[\"sausage\"]=\"uncount\"\n-partly_noncount[\"shelling\"]=\"uncount\"\n-partly_noncount[\"smoking\"]=\"uncount\"\n-partly_noncount[\"teasing\"]=\"uncount\"\n-partly_noncount[\"unpleasantness\"]=\"uncount\"\n-partly_noncount[\"chilli\"]=\"uncount\"\n-partly_noncount[\"deadwood\"]=\"uncount\"\n-partly_noncount[\"irony\"]=\"uncount\"\n-partly_noncount[\"judgement\"]=\"uncount\"\n-partly_noncount[\"maths\"]=\"uncount\"\n-partly_noncount[\"myth\"]=\"uncount\"\n-partly_noncount[\"pounding\"]=\"uncount\"\n-partly_noncount[\"recording\"]=\"uncount\"\n-partly_noncount[\"rivalry\"]=\"uncount\"\n-partly_noncount[\"sanding\"]=\"uncount\"\n-partly_noncount[\"shaking\"]=\"uncount\"\n-partly_noncount[\"similarity\"]=\"uncount\"\n-partly_noncount[\"swagger\"]=\"uncount\"\n-partly_noncount[\"text\"]=\"uncount\"\n-partly_noncount[\"wastage\"]=\"uncount\"\n-partly_noncount[\"white\"]=\"uncount\"\n-partly_noncount[\"width\"]=\"uncount\"\n-partly_noncount[\"zander\"]=\"uncount\"\n-partly_noncount[\"ash\"]=\"uncount\"\n-partly_noncount[\"assault\"]=\"uncount\"\n-partly_noncount[\"conspiracy\"]=\"uncount\"\n-partly_noncount[\"dancing\"]=\"uncount\"\n-partly_noncount[\"doing\"]=\"uncount\"\n-partly_noncount[\"enchantment\"]=\"uncount\"\n-partly_noncount[\"flute\"]=\"uncount\"\n-partly_noncount[\"guitar\"]=\"uncount\"\n-partly_noncount[\"infinity\"]=\"uncount\"\n-partly_noncount[\"interoperability\"]=\"uncount\"\n-partly_noncount[\"liability\"]=\"uncount\"\n-partly_noncount[\"lifespan\"]=\"uncount\"\n-partly_noncount[\"piano\"]=\"uncount\"\n-partly_noncount[\"preference\"]=\"uncount\"\n-partly_noncount[\"principle\"]=\"uncount\"\n-partly_noncount[\"refuge\"]=\"uncount\"\n-partly_noncount[\"retirement\"]=\"uncount\"\n-partly_noncount[\"serum\"]=\"uncount\"\n-partly_noncount[\"suicide\"]=\"uncount\"\n-partly_noncount[\"supply\"]=\"uncount\"\n-partly_noncount[\"surgery\"]=\"uncount\"\n-partly_noncount[\"swimming\"]=\"uncount\"\n-partly_noncount[\"testimony\"]=\"uncount\"\n-partly_noncount[\"tribute\"]=\"uncount\"\n-partly_noncount[\"morning\"]=\"uncount\"\n-partly_noncount[\"contract\"]=\"uncount\"\n-partly_noncount[\"recession\"]=\"uncount\"\n-partly_noncount[\"instinct\"]=\"uncount\"\n-partly_noncount[\"case\"]=\"uncount\"\n-partly_noncount[\"counsel\"]=\"uncount\"\n-partly_noncount[\"lunchtime\"]=\"uncount\"\n-partly_noncount[\"courtesy\"]=\"uncount\"\n-partly_noncount[\"subject\"]=\"uncount\"\n-partly_noncount[\"volume\"]=\"uncount\"\n-partly_noncount[\"proxy\"]=\"uncount\"\n-partly_noncount[\"man\"]=\"uncount\"\n-partly_noncount[\"statute\"]=\"uncount\"\n-partly_noncount[\"contrast\"]=\"uncount\"\n+partly_noncount[\"ability\"]=\"uncount\"\n+partly_noncount[\"abomination\"]=\"uncount\"\n+partly_noncount[\"abrasion\"]=\"uncount\"\n+partly_noncount[\"abrasive\"]=\"uncount\"\n+partly_noncount[\"abridgement\"]=\"uncount\"\n+partly_noncount[\"abridgment\"]=\"uncount\"\n partly_noncount[\"absence\"]=\"uncount\"\n+partly_noncount[\"abuse\"]=\"uncount\"\n+partly_noncount[\"accent\"]=\"uncount\"\n+partly_noncount[\"acceptance\"]=\"uncount\"\n+partly_noncount[\"access\"]=\"uncount\"\n+partly_noncount[\"accession\"]=\"uncount\"\n+partly_noncount[\"accident\"]=\"uncount\"\n+partly_noncount[\"acclaim\"]=\"uncount\"\n+partly_noncount[\"accomplishment\"]=\"uncount\"\n+partly_noncount[\"accord\"]=\"uncount\"\n+partly_noncount[\"account\"]=\"uncount\"\n partly_noncount[\"achievement\"]=\"uncount\"\n-partly_noncount[\"adoption\"]=\"uncount\"\n-partly_noncount[\"ambiguity\"]=\"uncount\"\n-partly_noncount[\"amendment\"]=\"uncount\"\n-partly_noncount[\"antibody\"]=\"uncount\"\n-partly_noncount[\"appointment\"]=\"uncount\"\n-partly_noncount[\"assay\"]=\"uncount\"\n-partly_noncount[\"asylum\"]=\"uncount\"\n-partly_noncount[\"attachment\"]=\"uncount\"\n-partly_noncount[\"attainment\"]=\"uncount\"\n-partly_noncount[\"attendance\"]=\"uncount\"\n-partly_noncount[\"avoidance\"]=\"uncount\"\n-partly_noncount[\"behaviour\"]=\"uncount\"\n-partly_noncount[\"bravery\"]=\"uncount\"\n-partly_noncount[\"breeding\"]=\"uncount\"\n-partly_noncount[\"burial\"]=\"uncount\"\n-partly_noncount[\"carriage\"]=\"uncount\"\n-partly_noncount[\"chancellor\"]=\"uncount\"\n-partly_noncount[\"citizenship\"]=\"uncount\"\n-partly_noncount[\"closure\"]=\"uncount\"\n-partly_noncount[\"co-operation\"]=\"uncount\"\n-partly_noncount[\"collaboration\"]=\"uncount\"\n-partly_noncount[\"collapse\"]=\"uncount\"\n-partly_noncount[\"compatibility\"]=\"uncount\"\n-partly_noncount[\"compliance\"]=\"uncount\"\n-partly_noncount[\"complicity\"]=\"uncount\"\n-partly_noncount[\"consistency\"]=\"uncount\"\n-partly_noncount[\"continuity\"]=\"uncount\"\n-partly_noncount[\"conversion\"]=\"uncount\"\n-partly_noncount[\"custody\"]=\"uncount\"\n-partly_noncount[\"decision\"]=\"uncount\"\n-partly_noncount[\"decision-making\"]=\"uncount\"\n-partly_noncount[\"degree\"]=\"uncount\"\n-partly_noncount[\"deliverance\"]=\"uncount\"\n-partly_noncount[\"department\"]=\"uncount\"\n-partly_noncount[\"deployment\"]=\"uncount\"\n-partly_noncount[\"dialogue\"]=\"uncount\"\n-partly_noncount[\"discharge\"]=\"uncount\"\n-partly_noncount[\"disclosure\"]=\"uncount\"\n-partly_noncount[\"dismissal\"]=\"uncount\"\n-partly_noncount[\"disposal\"]=\"uncount\"\n-partly_noncount[\"efficiency\"]=\"uncount\"\n-partly_noncount[\"enforcement\"]=\"uncount\"\n-partly_noncount[\"entitlement\"]=\"uncount\"\n-partly_noncount[\"equality\"]=\"uncount\"\n-partly_noncount[\"equilibrium\"]=\"uncount\"\n-partly_noncount[\"error\"]=\"uncount\"\n-partly_noncount[\"espionage\"]=\"uncount\"\n-partly_noncount[\"establishment\"]=\"uncount\"\n-partly_noncount[\"examination\"]=\"uncount\"\n-partly_noncount[\"excellence\"]=\"uncount\"\n-partly_noncount[\"exclusion\"]=\"uncount\"\n-partly_noncount[\"exhibition\"]=\"uncount\"\n-partly_noncount[\"existence\"]=\"uncount\"\n-partly_noncount[\"exploration\"]=\"uncount\"\n-partly_noncount[\"extension\"]=\"uncount\"\n-partly_noncount[\"failure\"]=\"uncount\"\n-partly_noncount[\"fairness\"]=\"uncount\"\n-partly_noncount[\"farming\"]=\"uncount\"\n-partly_noncount[\"financing\"]=\"uncount\"\n-partly_noncount[\"fishing\"]=\"uncount\"\n-partly_noncount[\"fraud\"]=\"uncount\"\n-partly_noncount[\"fulfilment\"]=\"uncount\"\n-partly_noncount[\"goal\"]=\"uncount\"\n-partly_noncount[\"head\"]=\"uncount\"\n-partly_noncount[\"healing\"]=\"uncount\"\n-partly_noncount[\"hire\"]=\"uncount\"\n-partly_noncount[\"hunting\"]=\"uncount\"\n-partly_noncount[\"implementation\"]=\"uncount\"\n-partly_noncount[\"incorporation\"]=\"uncount\"\n-partly_noncount[\"increase\"]=\"uncount\"\n-partly_noncount[\"induction\"]=\"uncount\"\n-partly_noncount[\"infringement\"]=\"uncount\"\n-partly_noncount[\"injury\"]=\"uncount\"\n-partly_noncount[\"inquiry\"]=\"uncount\"\n-partly_noncount[\"interaction\"]=\"uncount\"\n-partly_noncount[\"interfacing\"]=\"uncount\"\n-partly_noncount[\"interview\"]=\"uncount\"\n-partly_noncount[\"launch\"]=\"uncount\"\n-partly_noncount[\"liaison\"]=\"uncount\"\n-partly_noncount[\"lifting\"]=\"uncount\"\n-partly_noncount[\"list\"]=\"uncount\"\n-partly_noncount[\"manoeuvre\"]=\"uncount\"\n-partly_noncount[\"measurement\"]=\"uncount\"\n-partly_noncount[\"methionine\"]=\"uncount\"\n-partly_noncount[\"mile\"]=\"uncount\"\n-partly_noncount[\"misuse\"]=\"uncount\"\n-partly_noncount[\"non-compliance\"]=\"uncount\"\n-partly_noncount[\"non-payment\"]=\"uncount\"\n-partly_noncount[\"number\"]=\"uncount\"\n-partly_noncount[\"obedience\"]=\"uncount\"\n-partly_noncount[\"opening\"]=\"uncount\"\n-partly_noncount[\"output\"]=\"uncount\"\n-partly_noncount[\"ownership\"]=\"uncount\"\n-partly_noncount[\"palace\"]=\"uncount\"\n-partly_noncount[\"parking\"]=\"uncount\"\n-partly_noncount[\"parliament\"]=\"uncount\"\n-partly_noncount[\"placement\"]=\"uncount\"\n-partly_noncount[\"posterity\"]=\"uncount\"\n-partly_noncount[\"postponement\"]=\"uncount\"\n-partly_noncount[\"president\"]=\"uncount\"\n-partly_noncount[\"progression\"]=\"uncount\"\n-partly_noncount[\"ratification\"]=\"uncount\"\n-partly_noncount[\"re-election\"]=\"uncount\"\n-partly_noncount[\"recovery\"]=\"uncount\"\n-partly_noncount[\"reference\"]=\"uncount\"\n-partly_noncount[\"referendum\"]=\"uncount\"\n-partly_noncount[\"referral\"]=\"uncount\"\n-partly_noncount[\"refusal\"]=\"uncount\"\n-partly_noncount[\"reinstatement\"]=\"uncount\"\n-partly_noncount[\"remoteness\"]=\"uncount\"\n-partly_noncount[\"removal\"]=\"uncount\"\n-partly_noncount[\"repayment\"]=\"uncount\"\n-partly_noncount[\"replacement\"]=\"uncount\"\n-partly_noncount[\"residence\"]=\"uncount\"\n-partly_noncount[\"resignation\"]=\"uncount\"\n-partly_noncount[\"settlement\"]=\"uncount\"\n-partly_noncount[\"shipment\"]=\"uncount\"\n-partly_noncount[\"sightseeing\"]=\"uncount\"\n-partly_noncount[\"signature\"]=\"uncount\"\n-partly_noncount[\"simplicity\"]=\"uncount\"\n-partly_noncount[\"stability\"]=\"uncount\"\n-partly_noncount[\"status\"]=\"uncount\"\n-partly_noncount[\"submission\"]=\"uncount\"\n-partly_noncount[\"supremacy\"]=\"uncount\"\n-partly_noncount[\"surveillance\"]=\"uncount\"\n-partly_noncount[\"susceptibility\"]=\"uncount\"\n-partly_noncount[\"synthesis\"]=\"uncount\"\n-partly_noncount[\"termination\"]=\"uncount\"\n-partly_noncount[\"testing\"]=\"uncount\"\n-partly_noncount[\"theft\"]=\"uncount\"\n-partly_noncount[\"transfer\"]=\"uncount\"\n-partly_noncount[\"transmission\"]=\"uncount\"\n-partly_noncount[\"transplantation\"]=\"uncount\"\n-partly_noncount[\"treason\"]=\"uncount\"\n-partly_noncount[\"victory\"]=\"uncount\"\n-partly_noncount[\"withdrawal\"]=\"uncount\"\n-partly_noncount[\"worship\"]=\"uncount\"\n-partly_noncount[\"year\"]=\"uncount\"\n-partly_noncount[\"breach\"]=\"uncount\"\n-partly_noncount[\"payment\"]=\"uncount\"\n-partly_noncount[\"democracy\"]=\"uncount\"\n-partly_noncount[\"defence\"]=\"uncount\"\n-partly_noncount[\"charity\"]=\"uncount\"\n-partly_noncount[\"membership\"]=\"uncount\"\n-partly_noncount[\"inclusion\"]=\"uncount\"\n-partly_noncount[\"admission\"]=\"uncount\"\n-partly_noncount[\"heaven\"]=\"uncount\"\n-partly_noncount[\"family\"]=\"uncount\"\n-partly_noncount[\"export\"]=\"uncount\"\n-partly_noncount[\"entry\"]=\"uncount\"\n-partly_noncount[\"permission\"]=\"uncount\"\n-partly_noncount[\"comparison\"]=\"uncount\"\n-partly_noncount[\"language\"]=\"uncount\"\n-partly_noncount[\"delivery\"]=\"uncount\"\n-partly_noncount[\"assessment\"]=\"uncount\"\n-partly_noncount[\"supper\"]=\"uncount\"\n-partly_noncount[\"bed\"]=\"uncount\"\n-partly_noncount[\"convenience\"]=\"uncount\"\n-partly_noncount[\"agriculture\"]=\"uncount\"\n-partly_noncount[\"possession\"]=\"uncount\"\n-partly_noncount[\"renewal\"]=\"uncount\"\n-partly_noncount[\"office\"]=\"uncount\"\n-partly_noncount[\"society\"]=\"uncount\"\n-partly_noncount[\"negligence\"]=\"uncount\"\n-partly_noncount[\"difference\"]=\"uncount\"\n-partly_noncount[\"fun\"]=\"uncount\"\n-partly_noncount[\"emphasis\"]=\"uncount\"\n-partly_noncount[\"effort\"]=\"uncount\"\n-partly_noncount[\"energy\"]=\"uncount\"\n-partly_noncount[\"use\"]=\"uncount\"\n-partly_noncount[\"discussion\"]=\"uncount\"\n-partly_noncount[\"part\"]=\"uncount\"\n-partly_noncount[\"pressure\"]=\"uncount\"\n-partly_noncount[\"difficulty\"]=\"uncount\"\n-partly_noncount[\"pleasure\"]=\"uncount\"\n-partly_noncount[\"success\"]=\"uncount\"\n-partly_noncount[\"choice\"]=\"uncount\"\n-partly_noncount[\"importance\"]=\"uncount\"\n-partly_noncount[\"controversy\"]=\"uncount\"\n-partly_noncount[\"publicity\"]=\"uncount\"\n-partly_noncount[\"confusion\"]=\"uncount\"\n-partly_noncount[\"excitement\"]=\"uncount\"\n-partly_noncount[\"ado\"]=\"uncount\"\n-partly_noncount[\"enthusiasm\"]=\"uncount\"\n-partly_noncount[\"alcohol\"]=\"uncount\"\n-partly_noncount[\"scope\"]=\"uncount\"\n-partly_noncount[\"impact\"]=\"uncount\"\n-partly_noncount[\"sympathy\"]=\"uncount\"\n-partly_noncount[\"material\"]=\"uncount\"\n-partly_noncount[\"argument\"]=\"uncount\"\n-partly_noncount[\"knowledge\"]=\"uncount\"\n-partly_noncount[\"imagination\"]=\"uncount\"\n-partly_noncount[\"sleep\"]=\"uncount\"\n-partly_noncount[\"hassle\"]=\"uncount\"\n-partly_noncount[\"laughter\"]=\"uncount\"\n-partly_noncount[\"opportunity\"]=\"uncount\"\n-partly_noncount[\"danger\"]=\"uncount\"\n-partly_noncount[\"headway\"]=\"uncount\"\n-partly_noncount[\"reliance\"]=\"uncount\"\n-partly_noncount[\"rubbish\"]=\"uncount\"\n-partly_noncount[\"responsibility\"]=\"uncount\"\n-partly_noncount[\"memory\"]=\"uncount\"\n-partly_noncount[\"significance\"]=\"uncount\"\n-partly_noncount[\"patience\"]=\"uncount\"\n-partly_noncount[\"assistance\"]=\"uncount\"\n-partly_noncount[\"coverage\"]=\"uncount\"\n-partly_noncount[\"encouragement\"]=\"uncount\"\n-partly_noncount[\"distress\"]=\"uncount\"\n-partly_noncount[\"idea\"]=\"uncount\"\n-partly_noncount[\"music\"]=\"uncount\"\n-partly_noncount[\"violence\"]=\"uncount\"\n-partly_noncount[\"skill\"]=\"uncount\"\n-partly_noncount[\"potential\"]=\"uncount\"\n-partly_noncount[\"electricity\"]=\"uncount\"\n-partly_noncount[\"independence\"]=\"uncount\"\n-partly_noncount[\"happiness\"]=\"uncount\"\n-partly_noncount[\"anxiety\"]=\"uncount\"\n-partly_noncount[\"income\"]=\"uncount\"\n-partly_noncount[\"dignity\"]=\"uncount\"\n-partly_noncount[\"movement\"]=\"uncount\"\n-partly_noncount[\"meaning\"]=\"uncount\"\n-partly_noncount[\"sign\"]=\"uncount\"\n-partly_noncount[\"uncertainty\"]=\"uncount\"\n-partly_noncount[\"walking\"]=\"uncount\"\n-partly_noncount[\"wealth\"]=\"uncount\"\n-partly_noncount[\"passion\"]=\"uncount\"\n-partly_noncount[\"reading\"]=\"uncount\"\n-partly_noncount[\"relief\"]=\"uncount\"\n-partly_noncount[\"disturbance\"]=\"uncount\"\n-partly_noncount[\"government\"]=\"uncount\"\n-partly_noncount[\"advice\"]=\"uncount\"\n-partly_noncount[\"amusement\"]=\"uncount\"\n-partly_noncount[\"practice\"]=\"uncount\"\n-partly_noncount[\"oxygen\"]=\"uncount\"\n-partly_noncount[\"life\"]=\"uncount\"\n-partly_noncount[\"thinking\"]=\"uncount\"\n-partly_noncount[\"variety\"]=\"uncount\"\n-partly_noncount[\"understanding\"]=\"uncount\"\n-partly_noncount[\"unemployment\"]=\"uncount\"\n-partly_noncount[\"vigour\"]=\"uncount\"\n-partly_noncount[\"talent\"]=\"uncount\"\n-partly_noncount[\"study\"]=\"uncount\"\n-partly_noncount[\"make-up\"]=\"uncount\"\n-partly_noncount[\"protein\"]=\"uncount\"\n-partly_noncount[\"conflict\"]=\"uncount\"\n-partly_noncount[\"carbon\"]=\"uncount\"\n-partly_noncount[\"background\"]=\"uncount\"\n partly_noncount[\"acid\"]=\"uncount\"\n-partly_noncount[\"investment\"]=\"uncount\"\n-partly_noncount[\"football\"]=\"uncount\"\n-partly_noncount[\"expenditure\"]=\"uncount\"\n-partly_noncount[\"enjoyment\"]=\"uncount\"\n-partly_noncount[\"interference\"]=\"uncount\"\n-partly_noncount[\"insight\"]=\"uncount\"\n-partly_noncount[\"happening\"]=\"uncount\"\n-partly_noncount[\"money\"]=\"uncount\"\n-partly_noncount[\"analysis\"]=\"uncount\"\n-partly_noncount[\"champagne\"]=\"uncount\"\n-partly_noncount[\"problem\"]=\"uncount\"\n-partly_noncount[\"planning\"]=\"uncount\"\n-partly_noncount[\"persuasion\"]=\"uncount\"\n-partly_noncount[\"relevance\"]=\"uncount\"\n-partly_noncount[\"misery\"]=\"uncount\"\n-partly_noncount[\"misunderstanding\"]=\"uncount\"\n-partly_noncount[\"loss\"]=\"uncount\"\n-partly_noncount[\"shit\"]=\"uncount\"\n-partly_noncount[\"training\"]=\"uncount\"\n-partly_noncount[\"unhappiness\"]=\"uncount\"\n-partly_noncount[\"tension\"]=\"uncount\"\n-partly_noncount[\"learning\"]=\"uncount\"\n-partly_noncount[\"overlap\"]=\"uncount\"\n-partly_noncount[\"moisture\"]=\"uncount\"\n-partly_noncount[\"revenue\"]=\"uncount\"\n-partly_noncount[\"sadness\"]=\"uncount\"\n-partly_noncount[\"petrol\"]=\"uncount\"\n-partly_noncount[\"punishment\"]=\"uncount\"\n-partly_noncount[\"cop\"]=\"uncount\"\n-partly_noncount[\"credence\"]=\"uncount\"\n-partly_noncount[\"anguish\"]=\"uncount\"\n-partly_noncount[\"back\"]=\"uncount\"\n-partly_noncount[\"authority\"]=\"uncount\"\n-partly_noncount[\"brain\"]=\"uncount\"\n-partly_noncount[\"hilarity\"]=\"uncount\"\n-partly_noncount[\"hardship\"]=\"uncount\"\n-partly_noncount[\"impression\"]=\"uncount\"\n-partly_noncount[\"improvement\"]=\"uncount\"\n-partly_noncount[\"intelligence\"]=\"uncount\"\n-partly_noncount[\"expense\"]=\"uncount\"\n-partly_noncount[\"furniture\"]=\"uncount\"\n-partly_noncount[\"discomfort\"]=\"uncount\"\n-partly_noncount[\"diversity\"]=\"uncount\"\n-partly_noncount[\"bother\"]=\"uncount\"\n-partly_noncount[\"autonomy\"]=\"uncount\"\n-partly_noncount[\"bureaucracy\"]=\"uncount\"\n-partly_noncount[\"depth\"]=\"uncount\"\n-partly_noncount[\"death\"]=\"uncount\"\n-partly_noncount[\"property\"]=\"uncount\"\n-partly_noncount[\"poverty\"]=\"uncount\"\n-partly_noncount[\"pocket\"]=\"uncount\"\n-partly_noncount[\"resistance\"]=\"uncount\"\n-partly_noncount[\"leeway\"]=\"uncount\"\n-partly_noncount[\"mirth\"]=\"uncount\"\n-partly_noncount[\"sulphur\"]=\"uncount\"\n-partly_noncount[\"suffering\"]=\"uncount\"\n-partly_noncount[\"spending\"]=\"uncount\"\n-partly_noncount[\"wildlife\"]=\"uncount\"\n-partly_noncount[\"warning\"]=\"uncount\"\n-partly_noncount[\"warmth\"]=\"uncount\"\n-partly_noncount[\"security\"]=\"uncount\"\n-partly_noncount[\"talking\"]=\"uncount\"\n-partly_noncount[\"liquid\"]=\"uncount\"\n-partly_noncount[\"nitrogen\"]=\"uncount\"\n-partly_noncount[\"paperwork\"]=\"uncount\"\n-partly_noncount[\"resemblance\"]=\"uncount\"\n-partly_noncount[\"policy\"]=\"uncount\"\n-partly_noncount[\"prominence\"]=\"uncount\"\n-partly_noncount[\"quality\"]=\"uncount\"\n-partly_noncount[\"prayer\"]=\"uncount\"\n-partly_noncount[\"cricket\"]=\"uncount\"\n-partly_noncount[\"delegation\"]=\"uncount\"\n-partly_noncount[\"courage\"]=\"uncount\"\n-partly_noncount[\"community\"]=\"uncount\"\n-partly_noncount[\"co-operation\"]=\"uncount\"\n-partly_noncount[\"caffeine\"]=\"uncount\"\n-partly_noncount[\"character\"]=\"uncount\"\n-partly_noncount[\"doctor\"]=\"uncount\"\n-partly_noncount[\"grain\"]=\"uncount\"\n-partly_noncount[\"guidance\"]=\"uncount\"\n-partly_noncount[\"havoc\"]=\"uncount\"\n-partly_noncount[\"kindness\"]=\"uncount\"\n-partly_noncount[\"disagreement\"]=\"uncount\"\n-partly_noncount[\"fluid\"]=\"uncount\"\n-partly_noncount[\"flesh\"]=\"uncount\"\n-partly_noncount[\"flexibility\"]=\"uncount\"\n-partly_noncount[\"explanation\"]=\"uncount\"\n-partly_noncount[\"expertise\"]=\"uncount\"\n-partly_noncount[\"exposure\"]=\"uncount\"\n-partly_noncount[\"funding\"]=\"uncount\"\n-partly_noncount[\"french\"]=\"uncount\"\n-partly_noncount[\"disappointment\"]=\"uncount\"\n-partly_noncount[\"english\"]=\"uncount\"\n-partly_noncount[\"equipment\"]=\"uncount\"\n-partly_noncount[\"evil\"]=\"uncount\"\n-partly_noncount[\"embarrassment\"]=\"uncount\"\n-partly_noncount[\"intensity\"]=\"uncount\"\n-partly_noncount[\"hostility\"]=\"uncount\"\n-partly_noncount[\"guilt\"]=\"uncount\"\n-partly_noncount[\"appetite\"]=\"uncount\"\n-partly_noncount[\"brandy\"]=\"uncount\"\n-partly_noncount[\"capacity\"]=\"uncount\"\n-partly_noncount[\"debt\"]=\"uncount\"\n-partly_noncount[\"response\"]=\"uncount\"\n-partly_noncount[\"questioning\"]=\"uncount\"\n-partly_noncount[\"resentment\"]=\"uncount\"\n-partly_noncount[\"literature\"]=\"uncount\"\n-partly_noncount[\"missionary\"]=\"uncount\"\n-partly_noncount[\"management\"]=\"uncount\"\n-partly_noncount[\"substance\"]=\"uncount\"\n-partly_noncount[\"teaching\"]=\"uncount\"\n-partly_noncount[\"sort\"]=\"uncount\"\n-partly_noncount[\"vat\"]=\"uncount\"\n-partly_noncount[\"wit\"]=\"uncount\"\n-partly_noncount[\"welcome\"]=\"uncount\"\n-partly_noncount[\"wool\"]=\"uncount\"\n-partly_noncount[\"worry\"]=\"uncount\"\n-partly_noncount[\"vitamin\"]=\"uncount\"\n-partly_noncount[\"turbulence\"]=\"uncount\"\n-partly_noncount[\"soul\"]=\"uncount\"\n-partly_noncount[\"signal\"]=\"uncount\"\n-partly_noncount[\"sky\"]=\"uncount\"\n-partly_noncount[\"sneezing\"]=\"uncount\"\n-partly_noncount[\"sunlight\"]=\"uncount\"\n-partly_noncount[\"storage\"]=\"uncount\"\n-partly_noncount[\"stick\"]=\"uncount\"\n-partly_noncount[\"look\"]=\"uncount\"\n-partly_noncount[\"mileage\"]=\"uncount\"\n-partly_noncount[\"maintenance\"]=\"uncount\"\n-partly_noncount[\"luggage\"]=\"uncount\"\n-partly_noncount[\"left\"]=\"uncount\"\n-partly_noncount[\"leisure\"]=\"uncount\"\n-partly_noncount[\"library\"]=\"uncount\"\n-partly_noncount[\"nonsense\"]=\"uncount\"\n-partly_noncount[\"muck\"]=\"uncount\"\n-partly_noncount[\"mud\"]=\"uncount\"\n-partly_noncount[\"pace\"]=\"uncount\"\n-partly_noncount[\"reality\"]=\"uncount\"\n-partly_noncount[\"restoration\"]=\"uncount\"\n-partly_noncount[\"scorn\"]=\"uncount\"\n-partly_noncount[\"running\"]=\"uncount\"\n-partly_noncount[\"routine\"]=\"uncount\"\n-partly_noncount[\"poetry\"]=\"uncount\"\n-partly_noncount[\"pomp\"]=\"uncount\"\n-partly_noncount[\"pension\"]=\"uncount\"\n-partly_noncount[\"present\"]=\"uncount\"\n-partly_noncount[\"curiosity\"]=\"uncount\"\n-partly_noncount[\"computer\"]=\"uncount\"\n-partly_noncount[\"contempt\"]=\"uncount\"\n-partly_noncount[\"correspondence\"]=\"uncount\"\n-partly_noncount[\"caring\"]=\"uncount\"\n-partly_noncount[\"building\"]=\"uncount\"\n-partly_noncount[\"body\"]=\"uncount\"\n-partly_noncount[\"baggage\"]=\"uncount\"\n-partly_noncount[\"bitterness\"]=\"uncount\"\n-partly_noncount[\"awareness\"]=\"uncount\"\n-partly_noncount[\"atmosphere\"]=\"uncount\"\n-partly_noncount[\"applause\"]=\"uncount\"\n-partly_noncount[\"advertising\"]=\"uncount\"\n-partly_noncount[\"access\"]=\"uncount\"\n-partly_noncount[\"acclaim\"]=\"uncount\"\n-partly_noncount[\"ability\"]=\"uncount\"\n-partly_noncount[\"abuse\"]=\"uncount\"\n-partly_noncount[\"sir\"]=\"uncount\"\n-partly_noncount[\"pleasure\"]=\"uncount\"\n-partly_noncount[\"ado\"]=\"uncount\"\n-partly_noncount[\"chairman\"]=\"uncount\"\n-partly_noncount[\"growth\"]=\"uncount\"\n-partly_noncount[\"gusto\"]=\"uncount\"\n-partly_noncount[\"grip\"]=\"uncount\"\n-partly_noncount[\"future\"]=\"uncount\"\n-partly_noncount[\"hatred\"]=\"uncount\"\n-partly_noncount[\"haste\"]=\"uncount\"\n-partly_noncount[\"hay\"]=\"uncount\"\n-partly_noncount[\"health\"]=\"uncount\"\n-partly_noncount[\"heart\"]=\"uncount\"\n-partly_noncount[\"heed\"]=\"uncount\"\n-partly_noncount[\"height\"]=\"uncount\"\n-partly_noncount[\"insulin\"]=\"uncount\"\n-partly_noncount[\"innovation\"]=\"uncount\"\n-partly_noncount[\"elaboration\"]=\"uncount\"\n-partly_noncount[\"dirt\"]=\"uncount\"\n-partly_noncount[\"disk\"]=\"uncount\"\n-partly_noncount[\"floor\"]=\"uncount\"\n-partly_noncount[\"flash\"]=\"uncount\"\n-partly_noncount[\"fitter\"]=\"uncount\"\n-partly_noncount[\"fluoride\"]=\"uncount\"\n-partly_noncount[\"fortitude\"]=\"uncount\"\n-partly_noncount[\"fame\"]=\"uncount\"\n-partly_noncount[\"fanfare\"]=\"uncount\"\n-partly_noncount[\"feedback\"]=\"uncount\"\n-partly_noncount[\"fervour\"]=\"uncount\"\n-partly_noncount[\"fibre\"]=\"uncount\"\n-partly_noncount[\"disquiet\"]=\"uncount\"\n-partly_noncount[\"doctor\"]=\"uncount\"\n-partly_noncount[\"enlightenment\"]=\"uncount\"\n-partly_noncount[\"input\"]=\"uncount\"\n-partly_noncount[\"injustice\"]=\"uncount\"\n-partly_noncount[\"hydrogen\"]=\"uncount\"\n-partly_noncount[\"hype\"]=\"uncount\"\n-partly_noncount[\"hypocrisy\"]=\"uncount\"\n-partly_noncount[\"illness\"]=\"uncount\"\n-partly_noncount[\"ignorance\"]=\"uncount\"\n-partly_noncount[\"integrity\"]=\"uncount\"\n-partly_noncount[\"involvement\"]=\"uncount\"\n-partly_noncount[\"lager\"]=\"uncount\"\n-partly_noncount[\"heating\"]=\"uncount\"\n-partly_noncount[\"heartache\"]=\"uncount\"\n-partly_noncount[\"hardware\"]=\"uncount\"\n-partly_noncount[\"holiday\"]=\"uncount\"\n-partly_noncount[\"homework\"]=\"uncount\"\n-partly_noncount[\"god\"]=\"uncount\"\n-partly_noncount[\"fury\"]=\"uncount\"\n-partly_noncount[\"gratitude\"]=\"uncount\"\n-partly_noncount[\"choice\"]=\"uncount\"\n-partly_noncount[\"difference\"]=\"uncount\"\n-partly_noncount[\"part\"]=\"uncount\"\n+partly_noncount[\"acidity\"]=\"uncount\"\n+partly_noncount[\"acquaintance\"]=\"uncount\"\n+partly_noncount[\"acquirement\"]=\"uncount\"\n+partly_noncount[\"acquittal\"]=\"uncount\"\n partly_noncount[\"acrimony\"]=\"uncount\"\n partly_noncount[\"acting\"]=\"uncount\"\n-partly_noncount[\"agreement\"]=\"uncount\"\n-partly_noncount[\"arrogance\"]=\"uncount\"\n-partly_noncount[\"beloved\"]=\"uncount\"\n-partly_noncount[\"booze\"]=\"uncount\"\n-partly_noncount[\"ceremony\"]=\"uncount\"\n-partly_noncount[\"carnage\"]=\"uncount\"\n-partly_noncount[\"calcium\"]=\"uncount\"\n-partly_noncount[\"clothing\"]=\"uncount\"\n-partly_noncount[\"climbing\"]=\"uncount\"\n-partly_noncount[\"cholesterol\"]=\"uncount\"\n-partly_noncount[\"christmas\"]=\"uncount\"\n-partly_noncount[\"conviviality\"]=\"uncount\"\n-partly_noncount[\"country\"]=\"uncount\"\n-partly_noncount[\"credibility\"]=\"uncount\"\n-partly_noncount[\"detective\"]=\"uncount\"\n-partly_noncount[\"dependence\"]=\"uncount\"\n-partly_noncount[\"depression\"]=\"uncount\"\n-partly_noncount[\"deference\"]=\"uncount\"\n-partly_noncount[\"crying\"]=\"uncount\"\n-partly_noncount[\"custom\"]=\"uncount\"\n-partly_noncount[\"prospect\"]=\"uncount\"\n-partly_noncount[\"passing\"]=\"uncount\"\n-partly_noncount[\"plutonium\"]=\"uncount\"\n-partly_noncount[\"rudder\"]=\"uncount\"\n-partly_noncount[\"rugby\"]=\"uncount\"\n-partly_noncount[\"schooling\"]=\"uncount\"\n-partly_noncount[\"reverence\"]=\"uncount\"\n-partly_noncount[\"revision\"]=\"uncount\"\n-partly_noncount[\"radioactivity\"]=\"uncount\"\n-partly_noncount[\"ram\"]=\"uncount\"\n-partly_noncount[\"relationship\"]=\"uncount\"\n-partly_noncount[\"rebuilding\"]=\"uncount\"\n-partly_noncount[\"performance\"]=\"uncount\"\n-partly_noncount[\"party\"]=\"uncount\"\n-partly_noncount[\"overtime\"]=\"uncount\"\n-partly_noncount[\"originality\"]=\"uncount\"\n-partly_noncount[\"onion\"]=\"uncount\"\n-partly_noncount[\"momentum\"]=\"uncount\"\n-partly_noncount[\"obscurity\"]=\"uncount\"\n-partly_noncount[\"lighter\"]=\"uncount\"\n-partly_noncount[\"likelihood\"]=\"uncount\"\n-partly_noncount[\"latitude\"]=\"uncount\"\n-partly_noncount[\"law\"]=\"uncount\"\n-partly_noncount[\"machinery\"]=\"uncount\"\n-partly_noncount[\"midnight\"]=\"uncount\"\n-partly_noncount[\"merriment\"]=\"uncount\"\n-partly_noncount[\"mobility\"]=\"uncount\"\n-partly_noncount[\"margin\"]=\"uncount\"\n-partly_noncount[\"starch\"]=\"uncount\"\n-partly_noncount[\"sterling\"]=\"uncount\"\n-partly_noncount[\"subtlety\"]=\"uncount\"\n-partly_noncount[\"suspicion\"]=\"uncount\"\n-partly_noncount[\"sway\"]=\"uncount\"\n-partly_noncount[\"swearing\"]=\"uncount\"\n-partly_noncount[\"theatre\"]=\"uncount\"\n-partly_noncount[\"top\"]=\"uncount\"\n-partly_noncount[\"travelling\"]=\"uncount\"\n-partly_noncount[\"threat\"]=\"uncount\"\n-partly_noncount[\"torque\"]=\"uncount\"\n-partly_noncount[\"slimmer\"]=\"uncount\"\n-partly_noncount[\"soul-searching\"]=\"uncount\"\n-partly_noncount[\"sediment\"]=\"uncount\"\n-partly_noncount[\"scratching\"]=\"uncount\"\n-partly_noncount[\"scrutiny\"]=\"uncount\"\n-partly_noncount[\"self\"]=\"uncount\"\n-partly_noncount[\"turmoil\"]=\"uncount\"\n-partly_noncount[\"vehemence\"]=\"uncount\"\n-partly_noncount[\"unrest\"]=\"uncount\"\n-partly_noncount[\"validity\"]=\"uncount\"\n-partly_noncount[\"wisdom\"]=\"uncount\"\n-partly_noncount[\"welfare\"]=\"uncount\"\n-partly_noncount[\"wheat\"]=\"uncount\"\n-partly_noncount[\"whistling\"]=\"uncount\"\n-partly_noncount[\"wrangling\"]=\"uncount\"\n-partly_noncount[\"wrath\"]=\"uncount\"\n-partly_noncount[\"zeal\"]=\"uncount\"\n-partly_noncount[\"weed\"]=\"uncount\"\n-partly_noncount[\"whisky\"]=\"uncount\"\n-partly_noncount[\"wear\"]=\"uncount\"\n-partly_noncount[\"washing\"]=\"uncount\"\n-partly_noncount[\"verbiage\"]=\"uncount\"\n-partly_noncount[\"waiting\"]=\"uncount\"\n-partly_noncount[\"wanking\"]=\"uncount\"\n-partly_noncount[\"woodland\"]=\"uncount\"\n-partly_noncount[\"will-power\"]=\"uncount\"\n-partly_noncount[\"user\"]=\"uncount\"\n-partly_noncount[\"utility\"]=\"uncount\"\n-partly_noncount[\"velvet\"]=\"uncount\"\n-partly_noncount[\"tv\"]=\"uncount\"\n-partly_noncount[\"tying\"]=\"uncount\"\n-partly_noncount[\"tennis\"]=\"uncount\"\n-partly_noncount[\"trial\"]=\"uncount\"\n-partly_noncount[\"union\"]=\"uncount\"\n-partly_noncount[\"unity\"]=\"uncount\"\n-partly_noncount[\"upheaval\"]=\"uncount\"\n-partly_noncount[\"shopping\"]=\"uncount\"\n-partly_noncount[\"shouting\"]=\"uncount\"\n-partly_noncount[\"shelf\"]=\"uncount\"\n-partly_noncount[\"seriousness\"]=\"uncount\"\n-partly_noncount[\"scrapping\"]=\"uncount\"\n-partly_noncount[\"self-confidence\"]=\"uncount\"\n-partly_noncount[\"sensitivity\"]=\"uncount\"\n-partly_noncount[\"self-interest\"]=\"uncount\"\n-partly_noncount[\"sea\"]=\"uncount\"\n-partly_noncount[\"seed\"]=\"uncount\"\n-partly_noncount[\"second\"]=\"uncount\"\n-partly_noncount[\"secondary\"]=\"uncount\"\n-partly_noncount[\"speech\"]=\"uncount\"\n-partly_noncount[\"sponsorship\"]=\"uncount\"\n-partly_noncount[\"stage\"]=\"uncount\"\n-partly_noncount[\"soot\"]=\"uncount\"\n-partly_noncount[\"software\"]=\"uncount\"\n-partly_noncount[\"to-ing\"]=\"uncount\"\n-partly_noncount[\"tomato\"]=\"uncount\"\n-partly_noncount[\"treatment\"]=\"uncount\"\n-partly_noncount[\"tree\"]=\"uncount\"\n-partly_noncount[\"tranquillity\"]=\"uncount\"\n-partly_noncount[\"tourist\"]=\"uncount\"\n-partly_noncount[\"trading\"]=\"uncount\"\n-partly_noncount[\"tragedy\"]=\"uncount\"\n-partly_noncount[\"tempo\"]=\"uncount\"\n-partly_noncount[\"theory\"]=\"uncount\"\n-partly_noncount[\"terror\"]=\"uncount\"\n-partly_noncount[\"teacher\"]=\"uncount\"\n-partly_noncount[\"sunbathing\"]=\"uncount\"\n-partly_noncount[\"sunshine\"]=\"uncount\"\n-partly_noncount[\"supervision\"]=\"uncount\"\n-partly_noncount[\"surface\"]=\"uncount\"\n-partly_noncount[\"surplus\"]=\"uncount\"\n-partly_noncount[\"strife\"]=\"uncount\"\n-partly_noncount[\"market\"]=\"uncount\"\n-partly_noncount[\"match\"]=\"uncount\"\n-partly_noncount[\"manpower\"]=\"uncount\"\n-partly_noncount[\"medium\"]=\"uncount\"\n-partly_noncount[\"modesty\"]=\"uncount\"\n-partly_noncount[\"mercury\"]=\"uncount\"\n-partly_noncount[\"liquidity\"]=\"uncount\"\n-partly_noncount[\"living\"]=\"uncount\"\n-partly_noncount[\"load\"]=\"uncount\"\n-partly_noncount[\"lobbying\"]=\"uncount\"\n-partly_noncount[\"lobster\"]=\"uncount\"\n-partly_noncount[\"logging\"]=\"uncount\"\n-partly_noncount[\"logic\"]=\"uncount\"\n-partly_noncount[\"magic\"]=\"uncount\"\n-partly_noncount[\"lava\"]=\"uncount\"\n-partly_noncount[\"legend\"]=\"uncount\"\n-partly_noncount[\"lie\"]=\"uncount\"\n-partly_noncount[\"nonchalance\"]=\"uncount\"\n-partly_noncount[\"night\"]=\"uncount\"\n-partly_noncount[\"mischief\"]=\"uncount\"\n-partly_noncount[\"mother\"]=\"uncount\"\n-partly_noncount[\"mouth\"]=\"uncount\"\n-partly_noncount[\"mummy\"]=\"uncount\"\n-partly_noncount[\"mystery\"]=\"uncount\"\n-partly_noncount[\"onus\"]=\"uncount\"\n-partly_noncount[\"openness\"]=\"uncount\"\n-partly_noncount[\"opinion\"]=\"uncount\"\n-partly_noncount[\"offence\"]=\"uncount\"\n-partly_noncount[\"orange\"]=\"uncount\"\n-partly_noncount[\"over-reading\"]=\"uncount\"\n-partly_noncount[\"over-simplification\"]=\"uncount\"\n-partly_noncount[\"packaging\"]=\"uncount\"\n-partly_noncount[\"padding\"]=\"uncount\"\n-partly_noncount[\"painting\"]=\"uncount\"\n-partly_noncount[\"patronage\"]=\"uncount\"\n-partly_noncount[\"refinement\"]=\"uncount\"\n-partly_noncount[\"rehearsal\"]=\"uncount\"\n-partly_noncount[\"reassurance\"]=\"uncount\"\n-partly_noncount[\"rate\"]=\"uncount\"\n-partly_noncount[\"recourse\"]=\"uncount\"\n-partly_noncount[\"ridicule\"]=\"uncount\"\n-partly_noncount[\"roof\"]=\"uncount\"\n-partly_noncount[\"scandal\"]=\"uncount\"\n-partly_noncount[\"sailing\"]=\"uncount\"\n-partly_noncount[\"pocket-money\"]=\"uncount\"\n-partly_noncount[\"potency\"]=\"uncount\"\n-partly_noncount[\"porn\"]=\"uncount\"\n-partly_noncount[\"pornography\"]=\"uncount\"\n-partly_noncount[\"pity\"]=\"uncount\"\n-partly_noncount[\"percentage\"]=\"uncount\"\n-partly_noncount[\"personality\"]=\"uncount\"\n-partly_noncount[\"prestige\"]=\"uncount\"\n-partly_noncount[\"processing\"]=\"uncount\"\n-partly_noncount[\"priority\"]=\"uncount\"\n-partly_noncount[\"procrastination\"]=\"uncount\"\n-partly_noncount[\"public\"]=\"uncount\"\n-partly_noncount[\"pus\"]=\"uncount\"\n-partly_noncount[\"purchasing\"]=\"uncount\"\n-partly_noncount[\"pseudointellectualism\"]=\"uncount\"\n-partly_noncount[\"project\"]=\"uncount\"\n-partly_noncount[\"prompting\"]=\"uncount\"\n-partly_noncount[\"press\"]=\"uncount\"\n-partly_noncount[\"dance\"]=\"uncount\"\n-partly_noncount[\"current\"]=\"uncount\"\n-partly_noncount[\"decision-making\"]=\"uncount\"\n-partly_noncount[\"decoration\"]=\"uncount\"\n-partly_noncount[\"determination\"]=\"uncount\"\n-partly_noncount[\"cooler\"]=\"uncount\"\n-partly_noncount[\"contentment\"]=\"uncount\"\n-partly_noncount[\"content\"]=\"uncount\"\n-partly_noncount[\"consumer\"]=\"uncount\"\n-partly_noncount[\"consternation\"]=\"uncount\"\n-partly_noncount[\"consequence\"]=\"uncount\"\n-partly_noncount[\"compassion\"]=\"uncount\"\n-partly_noncount[\"concession\"]=\"uncount\"\n-partly_noncount[\"concrete\"]=\"uncount\"\n-partly_noncount[\"competence\"]=\"uncount\"\n-partly_noncount[\"company\"]=\"uncount\"\n-partly_noncount[\"complaint\"]=\"uncount\"\n-partly_noncount[\"church\"]=\"uncount\"\n-partly_noncount[\"choke\"]=\"uncount\"\n-partly_noncount[\"chemistry\"]=\"uncount\"\n-partly_noncount[\"claret\"]=\"uncount\"\n-partly_noncount[\"classwork\"]=\"uncount\"\n-partly_noncount[\"clicking\"]=\"uncount\"\n-partly_noncount[\"cleaning\"]=\"uncount\"\n-partly_noncount[\"commitment\"]=\"uncount\"\n-partly_noncount[\"coming\"]=\"uncount\"\n-partly_noncount[\"cocaine\"]=\"uncount\"\n-partly_noncount[\"candour\"]=\"uncount\"\n-partly_noncount[\"buying\"]=\"uncount\"\n-partly_noncount[\"carpet\"]=\"uncount\"\n-partly_noncount[\"car\"]=\"uncount\"\n-partly_noncount[\"belief\"]=\"uncount\"\n-partly_noncount[\"carrying\"]=\"uncount\"\n-partly_noncount[\"caterwauling\"]=\"uncount\"\n-partly_noncount[\"charisma\"]=\"uncount\"\n-partly_noncount[\"chatter\"]=\"uncount\"\n-partly_noncount[\"blame\"]=\"uncount\"\n-partly_noncount[\"breath\"]=\"uncount\"\n-partly_noncount[\"bias\"]=\"uncount\"\n-partly_noncount[\"ballyhoo\"]=\"uncount\"\n-partly_noncount[\"basis\"]=\"uncount\"\n-partly_noncount[\"bass\"]=\"uncount\"\n-partly_noncount[\"battery\"]=\"uncount\"\n-partly_noncount[\"bear\"]=\"uncount\"\n-partly_noncount[\"apprehension\"]=\"uncount\"\n-partly_noncount[\"assurance\"]=\"uncount\"\n-partly_noncount[\"awe\"]=\"uncount\"\n-partly_noncount[\"back-slapping\"]=\"uncount\"\n-partly_noncount[\"bacon\"]=\"uncount\"\n-partly_noncount[\"alacrity\"]=\"uncount\"\n-partly_noncount[\"animal\"]=\"uncount\"\n-partly_noncount[\"animosity\"]=\"uncount\"\n-partly_noncount[\"aplomb\"]=\"uncount\"\n+partly_noncount[\"activity\"]=\"uncount\" \n+partly_noncount[\"actuality\"]=\"uncount\"\n+partly_noncount[\"address\"]=\"uncount\"\n+partly_noncount[\"adhesion\"]=\"uncount\"\n+partly_noncount[\"adhesive\"]=\"uncount\"\n+partly_noncount[\"adjustment\"]=\"uncount\"\n+partly_noncount[\"admission\"]=\"uncount\"\n+partly_noncount[\"ado\"]=\"uncount\"\n+partly_noncount[\"ado\"]=\"uncount\"\n+partly_noncount[\"adoption\"]=\"uncount\"\n+partly_noncount[\"adornment\"]=\"uncount\"\n+partly_noncount[\"adulthood\"]=\"uncount\"\n+partly_noncount[\"advance\"]=\"uncount\"\n+partly_noncount[\"advantage\"]=\"uncount\"\n+partly_noncount[\"adventure\"]=\"uncount\"\n+partly_noncount[\"advertisement\"]=\"uncount\"\n+partly_noncount[\"advertising\"]=\"uncount\"\n+partly_noncount[\"advice\"]=\"uncount\"\n+partly_noncount[\"aerosol\"]=\"uncount\"\n partly_noncount[\"affect\"]=\"uncount\"\n+partly_noncount[\"afternoon\"]=\"uncount\"\n+partly_noncount[\"afterthought\"]=\"uncount\"\n+partly_noncount[\"age\"]=\"uncount\"\n partly_noncount[\"aggression\"]=\"uncount\"\n partly_noncount[\"aggro\"]=\"uncount\"\n partly_noncount[\"agility\"]=\"uncount\"\n-partly_noncount[\"acidity\"]=\"uncount\"\n-partly_noncount[\"acceptance\"]=\"uncount\"\n-partly_noncount[\"resistance\"]=\"uncount\"\n-partly_noncount[\"unpopularity\"]=\"uncount\"\n-partly_noncount[\"investment\"]=\"uncount\"\n-partly_noncount[\"emphasis\"]=\"uncount\"\n-partly_noncount[\"energy\"]=\"uncount\"\n-partly_noncount[\"enthusiasm\"]=\"uncount\"\n-partly_noncount[\"grant\"]=\"uncount\"\n-partly_noncount[\"grasp\"]=\"uncount\"\n-partly_noncount[\"greek\"]=\"uncount\"\n-partly_noncount[\"green\"]=\"uncount\"\n-partly_noncount[\"grunting\"]=\"uncount\"\n-partly_noncount[\"groundwork\"]=\"uncount\"\n-partly_noncount[\"goodness\"]=\"uncount\"\n-partly_noncount[\"gloom\"]=\"uncount\"\n-partly_noncount[\"glory\"]=\"uncount\"\n-partly_noncount[\"glucose\"]=\"uncount\"\n-partly_noncount[\"gardening\"]=\"uncount\"\n-partly_noncount[\"garlic\"]=\"uncount\"\n-partly_noncount[\"gibberish\"]=\"uncount\"\n-partly_noncount[\"ginger\"]=\"uncount\"\n-partly_noncount[\"gladness\"]=\"uncount\"\n-partly_noncount[\"glamour\"]=\"uncount\"\n-partly_noncount[\"horror\"]=\"uncount\"\n-partly_noncount[\"housing\"]=\"uncount\"\n-partly_noncount[\"hoole\"]=\"uncount\"\n-partly_noncount[\"hospital\"]=\"uncount\"\n-partly_noncount[\"hinterland\"]=\"uncount\"\n-partly_noncount[\"hip\"]=\"uncount\"\n-partly_noncount[\"harassment\"]=\"uncount\"\n-partly_noncount[\"lack\"]=\"uncount\"\n-partly_noncount[\"kicking\"]=\"uncount\"\n-partly_noncount[\"jargon\"]=\"uncount\"\n-partly_noncount[\"intellect\"]=\"uncount\"\n-partly_noncount[\"interrogation\"]=\"uncount\"\n-partly_noncount[\"ice-cream\"]=\"uncount\"\n-partly_noncount[\"inaccuracy\"]=\"uncount\"\n-partly_noncount[\"huffing\"]=\"uncount\"\n-partly_noncount[\"innocence\"]=\"uncount\"\n-partly_noncount[\"inclination\"]=\"uncount\"\n-partly_noncount[\"initiative\"]=\"uncount\"\n-partly_noncount[\"ingenuity\"]=\"uncount\"\n-partly_noncount[\"indignation\"]=\"uncount\"\n-partly_noncount[\"industry\"]=\"uncount\"\n-partly_noncount[\"esteem\"]=\"uncount\"\n-partly_noncount[\"eating\"]=\"uncount\"\n-partly_noncount[\"drinking\"]=\"uncount\"\n-partly_noncount[\"drawing\"]=\"uncount\"\n-partly_noncount[\"effluent\"]=\"uncount\"\n-partly_noncount[\"economy\"]=\"uncount\"\n-partly_noncount[\"doom\"]=\"uncount\"\n-partly_noncount[\"disillusionment\"]=\"uncount\"\n-partly_noncount[\"disaster\"]=\"uncount\"\n-partly_noncount[\"disenchantment\"]=\"uncount\"\n-partly_noncount[\"fighting\"]=\"uncount\"\n-partly_noncount[\"firepower\"]=\"uncount\"\n-partly_noncount[\"evaluation\"]=\"uncount\"\n-partly_noncount[\"evasion\"]=\"uncount\"\n-partly_noncount[\"expansion\"]=\"uncount\"\n-partly_noncount[\"exclaiming\"]=\"uncount\"\n-partly_noncount[\"expression\"]=\"uncount\"\n-partly_noncount[\"factory\"]=\"uncount\"\n-partly_noncount[\"expert\"]=\"uncount\"\n-partly_noncount[\"freight\"]=\"uncount\"\n-partly_noncount[\"friendliness\"]=\"uncount\"\n-partly_noncount[\"frivolity\"]=\"uncount\"\n-partly_noncount[\"fundraising\"]=\"uncount\"\n-partly_noncount[\"fund\"]=\"uncount\"\n-partly_noncount[\"flak\"]=\"uncount\"\n-partly_noncount[\"foot\"]=\"uncount\"\n-partly_noncount[\"focus\"]=\"uncount\"\n-partly_noncount[\"dinner\"]=\"uncount\"\n-partly_noncount[\"breakfast\"]=\"uncount\"\n-partly_noncount[\"lunch\"]=\"uncount\"\n-partly_noncount[\"brunch\"]=\"uncount\"\n-partly_noncount[\"birth\"]=\"uncount\"\n-partly_noncount[\"rest\"]=\"uncount\"\n-partly_noncount[\"capital\"]=\"uncount\"\n-partly_noncount[\"development\"]=\"uncount\"\n-partly_noncount[\"business\"]=\"uncount\"\n-partly_noncount[\"fruit\"]=\"uncount\"\n-partly_noncount[\"gossip\"]=\"uncount\"\n-partly_noncount[\"hair\"]=\"uncount\"\n-partly_noncount[\"post\"]=\"uncount\"\n-partly_noncount[\"toast\"]=\"uncount\"\n-partly_noncount[\"work\"]=\"uncount\"\n-partly_noncount[\"art\"]=\"uncount\"\n-partly_noncount[\"beauty\"]=\"uncount\"\n-partly_noncount[\"disease\"]=\"uncount\"\n-partly_noncount[\"faith\"]=\"uncount\"\n-partly_noncount[\"fear\"]=\"uncount\"\n-partly_noncount[\"friendship\"]=\"uncount\"\n-partly_noncount[\"freedom\"]=\"uncount\"\n-partly_noncount[\"history\"]=\"uncount\"\n-partly_noncount[\"hope\"]=\"uncount\"\n-partly_noncount[\"hunger\"]=\"uncount\"\n-partly_noncount[\"love\"]=\"uncount\"\n-partly_noncount[\"loyalty\"]=\"uncount\"\n-partly_noncount[\"marriage\"]=\"uncount\"\n-partly_noncount[\"murder\"]=\"uncount\"\n-partly_noncount[\"nature\"]=\"uncount\"\n-partly_noncount[\"peace\"]=\"uncount\"\n-partly_noncount[\"religion\"]=\"uncount\"\n-partly_noncount[\"science\"]=\"uncount\"\n-partly_noncount[\"space\"]=\"uncount\"\n-partly_noncount[\"time\"]=\"uncount\"\n-partly_noncount[\"truth\"]=\"uncount\"\n-partly_noncount[\"beer\"]=\"uncount\"\n-partly_noncount[\"cruelty\"]=\"uncount\"\n-partly_noncount[\"drama\"]=\"uncount\"\n-partly_noncount[\"heat\"]=\"uncount\"\n-partly_noncount[\"honor\"]=\"uncount\"\n-partly_noncount[\"humor\"]=\"uncount\" \n-partly_noncount[\"accord\"]=\"uncount\"\n-partly_noncount[\"account\"]=\"uncount\"\n-partly_noncount[\"address\"]=\"uncount\"\n-partly_noncount[\"advance\"]=\"uncount\"\n-partly_noncount[\"advantage\"]=\"uncount\"\n-partly_noncount[\"adventure\"]=\"uncount\"\n-partly_noncount[\"age\"]=\"uncount\"\n+partly_noncount[\"agony\"]=\"uncount\"\n+partly_noncount[\"agreement\"]=\"uncount\"\n+partly_noncount[\"agriculture\"]=\"uncount\"\n partly_noncount[\"aid\"]=\"uncount\"\n partly_noncount[\"aim\"]=\"uncount\"\n+partly_noncount[\"alacrity\"]=\"uncount\"\n partly_noncount[\"alarm\"]=\"uncount\"\n+partly_noncount[\"alcohol\"]=\"uncount\"\n+partly_noncount[\"ale\"]=\"uncount\"\n+partly_noncount[\"algebra\"]=\"uncount\"\n+partly_noncount[\"alignment\"]=\"uncount\"\n+partly_noncount[\"alkali\"]=\"uncount\"\n+partly_noncount[\"allegation\"]=\"uncount\"\n+partly_noncount[\"allegory\"]=\"uncount\"\n+partly_noncount[\"alliance\"]=\"uncount\"\n+partly_noncount[\"allotment\"]=\"uncount\"\n+partly_noncount[\"alloy\"]=\"uncount\"\n partly_noncount[\"allure\"]=\"uncount\"\n+partly_noncount[\"allurement\"]=\"uncount\"\n+partly_noncount[\"alpaca\"]=\"uncount\"\n+partly_noncount[\"altruism\"]=\"uncount\"\n+partly_noncount[\"ambiguity\"]=\"uncount\"\n partly_noncount[\"ambush\"]=\"uncount\"\n+partly_noncount[\"amendment\"]=\"uncount\"\n+partly_noncount[\"amphetamine\"]=\"uncount\"\n+partly_noncount[\"amusement\"]=\"uncount\"\n+partly_noncount[\"analysis\"]=\"uncount\"\n+partly_noncount[\"angora\"]=\"uncount\"\n+partly_noncount[\"anguish\"]=\"uncount\"\n+partly_noncount[\"aniline\"]=\"uncount\"\n+partly_noncount[\"animal\"]=\"uncount\"\n+partly_noncount[\"animosity\"]=\"uncount\"\n+partly_noncount[\"annoyance\"]=\"uncount\"\n+partly_noncount[\"anodyne\"]=\"uncount\"\n+partly_noncount[\"antibody\"]=\"uncount\"\n+partly_noncount[\"anxiety\"]=\"uncount\"\n+partly_noncount[\"aphrodisiac\"]=\"uncount\"\n+partly_noncount[\"aplomb\"]=\"uncount\"\n partly_noncount[\"appeal\"]=\"uncount\"\n+partly_noncount[\"appetite\"]=\"uncount\"\n+partly_noncount[\"applause\"]=\"uncount\"\n+partly_noncount[\"apple\"]=\"uncount\"\n+partly_noncount[\"appointment\"]=\"uncount\"\n+partly_noncount[\"apprehension\"]=\"uncount\"\n partly_noncount[\"approach\"]=\"uncount\"\n+partly_noncount[\"aptitude\"]=\"uncount\"\n+partly_noncount[\"aquamarine\"]=\"uncount\"\n+partly_noncount[\"aquatint\"]=\"uncount\"\n+partly_noncount[\"arbitrament\"]=\"uncount\"\n+partly_noncount[\"ardour\"]=\"uncount\"\n+partly_noncount[\"area\"]=\"uncount\"\n+partly_noncount[\"argument\"]=\"uncount\"\n+partly_noncount[\"armament\"]=\"uncount\"\n+partly_noncount[\"arrangement\"]=\"uncount\"\n+partly_noncount[\"arrival\"]=\"uncount\"\n+partly_noncount[\"arrogance\"]=\"uncount\"\n+partly_noncount[\"art\"]=\"uncount\"\n+partly_noncount[\"artifice\"]=\"uncount\"\n+partly_noncount[\"ash\"]=\"uncount\"\n+partly_noncount[\"aspirin\"]=\"uncount\"\n+partly_noncount[\"assassination\"]=\"uncount\"\n+partly_noncount[\"assault\"]=\"uncount\"\n+partly_noncount[\"assay\"]=\"uncount\"\n+partly_noncount[\"assemblage\"]=\"uncount\"\n+partly_noncount[\"assessment\"]=\"uncount\"\n+partly_noncount[\"assignment\"]=\"uncount\"\n+partly_noncount[\"assistance\"]=\"uncount\"\n+partly_noncount[\"assurance\"]=\"uncount\"\n+partly_noncount[\"asylum\"]=\"uncount\"\n+partly_noncount[\"atmosphere\"]=\"uncount\"\n+partly_noncount[\"attachment\"]=\"uncount\"\n partly_noncount[\"attack\"]=\"uncount\"\n+partly_noncount[\"attainment\"]=\"uncount\"\n+partly_noncount[\"attendance\"]=\"uncount\"\n+partly_noncount[\"authority\"]=\"uncount\"\n+partly_noncount[\"autonomy\"]=\"uncount\"\n+partly_noncount[\"autumn\"]=\"uncount\"\n partly_noncount[\"average\"]=\"uncount\"\n+partly_noncount[\"aversion\"]=\"uncount\"\n+partly_noncount[\"avoidance\"]=\"uncount\"\n+partly_noncount[\"avowal\"]=\"uncount\"\n+partly_noncount[\"awareness\"]=\"uncount\"\n+partly_noncount[\"awe\"]=\"uncount\"\n+partly_noncount[\"back\"]=\"uncount\"\n+partly_noncount[\"back-slapping\"]=\"uncount\"\n+partly_noncount[\"backache\"]=\"uncount\"\n+partly_noncount[\"backbone\"]=\"uncount\"\n+partly_noncount[\"background\"]=\"uncount\"\n+partly_noncount[\"backing\"]=\"uncount\"\n+partly_noncount[\"backstroke\"]=\"uncount\"\n+partly_noncount[\"bacon\"]=\"uncount\"\n+partly_noncount[\"bagatelle\"]=\"uncount\"\n+partly_noncount[\"baggage\"]=\"uncount\"\n partly_noncount[\"bail\"]=\"uncount\"\n partly_noncount[\"balance\"]=\"uncount\"\n+partly_noncount[\"ballet\"]=\"uncount\"\n partly_noncount[\"ballot\"]=\"uncount\"\n+partly_noncount[\"ballyhoo\"]=\"uncount\"\n+partly_noncount[\"balsa\"]=\"uncount\"\n+partly_noncount[\"bamboo\"]=\"uncount\"\n partly_noncount[\"bang\"]=\"uncount\"\n+partly_noncount[\"barbiturate\"]=\"uncount\"\n partly_noncount[\"bark\"]=\"uncount\"\n+partly_noncount[\"barleycorn\"]=\"uncount\"\n+partly_noncount[\"bas-relief\"]=\"uncount\"\n+partly_noncount[\"baseball\"]=\"uncount\"\n+partly_noncount[\"basis\"]=\"uncount\"\n+partly_noncount[\"basketball\"]=\"uncount\"\n+partly_noncount[\"bass\"]=\"uncount\"\n+partly_noncount[\"batik\"]=\"uncount\"\n+partly_noncount[\"battery\"]=\"uncount\"\n partly_noncount[\"battle\"]=\"uncount\"\n+partly_noncount[\"bear\"]=\"uncount\"\n+partly_noncount[\"bearing\"]=\"uncount\"\n+partly_noncount[\"beatitude\"]=\"uncount\"\n+partly_noncount[\"beauty\"]=\"uncount\"\n partly_noncount[\"beaver\"]=\"uncount\"\n+partly_noncount[\"bed\"]=\"uncount\"\n+partly_noncount[\"beer\"]=\"uncount\"\n+partly_noncount[\"behaviour\"]=\"uncount\"\n+partly_noncount[\"being\"]=\"uncount\"\n+partly_noncount[\"belief\"]=\"uncount\"\n+partly_noncount[\"belladonna\"]=\"uncount\"\n+partly_noncount[\"beloved\"]=\"uncount\"\n partly_noncount[\"benefit\"]=\"uncount\"\n+partly_noncount[\"bequest\"]=\"uncount\"\n+partly_noncount[\"bereavement\"]=\"uncount\"\n+partly_noncount[\"beta\"]=\"uncount\"\n+partly_noncount[\"betrayal\"]=\"uncount\"\n+partly_noncount[\"bias\"]=\"uncount\"\n partly_noncount[\"bind\"]=\"uncount\"\n partly_noncount[\"birch\"]=\"uncount\"\n+partly_noncount[\"birth\"]=\"uncount\"\n partly_noncount[\"bite\"]=\"uncount\"\n+partly_noncount[\"bitter\"]=\"uncount\"\n+partly_noncount[\"bitterness\"]=\"uncount\"\n partly_noncount[\"black\"]=\"uncount\"\n+partly_noncount[\"blame\"]=\"uncount\"\n+partly_noncount[\"blancmange\"]=\"uncount\"\n+partly_noncount[\"blank\"]=\"uncount\"\n partly_noncount[\"blast\"]=\"uncount\"\n partly_noncount[\"blather\"]=\"uncount\"\n partly_noncount[\"blemish\"]=\"uncount\"\n partly_noncount[\"blight\"]=\"uncount\"\n+partly_noncount[\"blood-letting\"]=\"uncount\"\n partly_noncount[\"bloom\"]=\"uncount\"\n partly_noncount[\"blossom\"]=\"uncount\"\n partly_noncount[\"blue\"]=\"uncount\"\n partly_noncount[\"bluff\"]=\"uncount\"\n+partly_noncount[\"blurb\"]=\"uncount\"\n partly_noncount[\"bluster\"]=\"uncount\"\n+partly_noncount[\"body\"]=\"uncount\"\n+partly_noncount[\"bombardment\"]=\"uncount\"\n partly_noncount[\"bone\"]=\"uncount\"\n+partly_noncount[\"boogie\"]=\"uncount\"\n+partly_noncount[\"boogie-woogie\"]=\"uncount\"\n+partly_noncount[\"booze\"]=\"uncount\"\n+partly_noncount[\"bother\"]=\"uncount\"\n partly_noncount[\"bottle\"]=\"uncount\"\n partly_noncount[\"bounce\"]=\"uncount\"\n+partly_noncount[\"bourbon\"]=\"uncount\"\n partly_noncount[\"box\"]=\"uncount\"\n partly_noncount[\"braid\"]=\"uncount\"\n+partly_noncount[\"brain\"]=\"uncount\"\n+partly_noncount[\"brandy\"]=\"uncount\"\n+partly_noncount[\"bravado\"]=\"uncount\"\n+partly_noncount[\"bravery\"]=\"uncount\"\n+partly_noncount[\"breach\"]=\"uncount\"\n+partly_noncount[\"breadth\"]=\"uncount\"\n partly_noncount[\"break\"]=\"uncount\"\n+partly_noncount[\"breakfast\"]=\"uncount\"\n+partly_noncount[\"breath\"]=\"uncount\"\n+partly_noncount[\"breeding\"]=\"uncount\"\n partly_noncount[\"breeze\"]=\"uncount\"\n+partly_noncount[\"briar\"]=\"uncount\"\n partly_noncount[\"brick\"]=\"uncount\"\n partly_noncount[\"bridge\"]=\"uncount\"\n+partly_noncount[\"brine\"]=\"uncount\"\n+partly_noncount[\"broadcast\"]=\"uncount\"\n partly_noncount[\"brocade\"]=\"uncount\"\n+partly_noncount[\"bromide\"]=\"uncount\"\n partly_noncount[\"bronze\"]=\"uncount\"\n+partly_noncount[\"broom\"]=\"uncount\"\n+partly_noncount[\"brotherhood\"]=\"uncount\"\n+partly_noncount[\"brownstone\"]=\"uncount\"\n+partly_noncount[\"brunch\"]=\"uncount\"\n partly_noncount[\"brush\"]=\"uncount\"\n partly_noncount[\"buff\"]=\"uncount\"\n+partly_noncount[\"building\"]=\"uncount\"\n partly_noncount[\"bunk\"]=\"uncount\"\n partly_noncount[\"burden\"]=\"uncount\"\n+partly_noncount[\"bureaucracy\"]=\"uncount\"\n+partly_noncount[\"burial\"]=\"uncount\"\n partly_noncount[\"burlesque\"]=\"uncount\"\n+partly_noncount[\"business\"]=\"uncount\"\n partly_noncount[\"bustle\"]=\"uncount\"\n+partly_noncount[\"buttonwood\"]=\"uncount\"\n+partly_noncount[\"buying\"]=\"uncount\"\n partly_noncount[\"cable\"]=\"uncount\"\n partly_noncount[\"cackle\"]=\"uncount\"\n+partly_noncount[\"caffeine\"]=\"uncount\"\n+partly_noncount[\"calcium\"]=\"uncount\"\n+partly_noncount[\"calibre\"]=\"uncount\"\n partly_noncount[\"call\"]=\"uncount\"\n+partly_noncount[\"candour\"]=\"uncount\"\n partly_noncount[\"cane\"]=\"uncount\"\n partly_noncount[\"cant\"]=\"uncount\"\n+partly_noncount[\"capacity\"]=\"uncount\"\n+partly_noncount[\"capital\"]=\"uncount\"\n partly_noncount[\"capture\"]=\"uncount\"\n+partly_noncount[\"car\"]=\"uncount\"\n+partly_noncount[\"caramel\"]=\"uncount\"\n+partly_noncount[\"carbohydrate\"]=\"uncount\"\n+partly_noncount[\"carbon\"]=\"uncount\"\n partly_noncount[\"care\"]=\"uncount\"\n partly_noncount[\"career\"]=\"uncount\"\n partly_noncount[\"caricature\"]=\"uncount\"\n+partly_noncount[\"caring\"]=\"uncount\"\n+partly_noncount[\"carmine\"]=\"uncount\"\n+partly_noncount[\"carnage\"]=\"uncount\"\n+partly_noncount[\"carnival\"]=\"uncount\"\n+partly_noncount[\"carpet\"]=\"uncount\"\n+partly_noncount[\"carriage\"]=\"uncount\"\n+partly_noncount[\"carrying\"]=\"uncount\"\n+partly_noncount[\"cartilage\"]=\"uncount\"\n+partly_noncount[\"carving\"]=\"uncount\"\n+partly_noncount[\"case\"]=\"uncount\"\n+partly_noncount[\"caste\"]=\"uncount\"\n+partly_noncount[\"caterwauling\"]=\"uncount\"\n+partly_noncount[\"cathartic\"]=\"uncount\"\n+partly_noncount[\"catsup\"]=\"uncount\"\n partly_noncount[\"cause\"]=\"uncount\"\n+partly_noncount[\"cedar\"]=\"uncount\"\n+partly_noncount[\"cellarage\"]=\"uncount\"\n partly_noncount[\"censure\"]=\"uncount\"\n+partly_noncount[\"ceremonial\"]=\"uncount\"\n+partly_noncount[\"ceremony\"]=\"uncount\"\n+partly_noncount[\"cerise\"]=\"uncount\"\n+partly_noncount[\"cession\"]=\"uncount\"\n+partly_noncount[\"chairman\"]=\"uncount\"\n+partly_noncount[\"champagne\"]=\"uncount\"\n+partly_noncount[\"championship\"]=\"uncount\"\n partly_noncount[\"chance\"]=\"uncount\"\n+partly_noncount[\"chancellor\"]=\"uncount\"\n partly_noncount[\"change\"]=\"uncount\"\n partly_noncount[\"char\"]=\"uncount\"\n+partly_noncount[\"character\"]=\"uncount\"\n partly_noncount[\"charge\"]=\"uncount\"\n+partly_noncount[\"charisma\"]=\"uncount\"\n+partly_noncount[\"charity\"]=\"uncount\"\n partly_noncount[\"charm\"]=\"uncount\"\n+partly_noncount[\"chatter\"]=\"uncount\"\n partly_noncount[\"check\"]=\"uncount\"\n partly_noncount[\"cheek\"]=\"uncount\"\n partly_noncount[\"cheer\"]=\"uncount\"\n+partly_noncount[\"cheesecake\"]=\"uncount\"\n+partly_noncount[\"cheesecloth\"]=\"uncount\"\n+partly_noncount[\"chemistry\"]=\"uncount\"\n+partly_noncount[\"chestnut\"]=\"uncount\"\n+partly_noncount[\"chilli\"]=\"uncount\"\n+partly_noncount[\"chinchilla\"]=\"uncount\"\n+partly_noncount[\"chive\"]=\"uncount\"\n+partly_noncount[\"choice\"]=\"uncount\"\n+partly_noncount[\"choice\"]=\"uncount\"\n+partly_noncount[\"choke\"]=\"uncount\"\n+partly_noncount[\"cholesterol\"]=\"uncount\"\n+partly_noncount[\"christmas\"]=\"uncount\"\n+partly_noncount[\"church\"]=\"uncount\"\n+partly_noncount[\"chutney\"]=\"uncount\"\n+partly_noncount[\"cider\"]=\"uncount\"\n+partly_noncount[\"citizenship\"]=\"uncount\"\n+partly_noncount[\"civet\"]=\"uncount\"\n partly_noncount[\"claim\"]=\"uncount\"\n partly_noncount[\"clamour\"]=\"uncount\"\n partly_noncount[\"clap\"]=\"uncount\"\n+partly_noncount[\"claret\"]=\"uncount\"\n partly_noncount[\"class\"]=\"uncount\"\n+partly_noncount[\"classwork\"]=\"uncount\"\n+partly_noncount[\"cleaning\"]=\"uncount\"\n+partly_noncount[\"cleanser\"]=\"uncount\"\n+partly_noncount[\"clearance\"]=\"uncount\"\n+partly_noncount[\"clicking\"]=\"uncount\"\n+partly_noncount[\"climate\"]=\"uncount\"\n+partly_noncount[\"climbing\"]=\"uncount\"\n+partly_noncount[\"clinker\"]=\"uncount\"\n+partly_noncount[\"closure\"]=\"uncount\"\n+partly_noncount[\"clothing\"]=\"uncount\"\n partly_noncount[\"cloud\"]=\"uncount\"\n partly_noncount[\"clutter\"]=\"uncount\"\n+partly_noncount[\"co-operation\"]=\"uncount\"\n+partly_noncount[\"co-operation\"]=\"uncount\"\n+partly_noncount[\"coalescence\"]=\"uncount\"\n+partly_noncount[\"coating\"]=\"uncount\"\n partly_noncount[\"coaxing\"]=\"uncount\"\n+partly_noncount[\"cocaine\"]=\"uncount\"\n partly_noncount[\"cod\"]=\"uncount\"\n partly_noncount[\"code\"]=\"uncount\"\n partly_noncount[\"coin\"]=\"uncount\"\n+partly_noncount[\"coinage\"]=\"uncount\"\n+partly_noncount[\"coincidence\"]=\"uncount\"\n partly_noncount[\"coke\"]=\"uncount\"\n+partly_noncount[\"collaboration\"]=\"uncount\"\n+partly_noncount[\"collage\"]=\"uncount\"\n+partly_noncount[\"collapse\"]=\"uncount\"\n+partly_noncount[\"college\"]=\"uncount\"\n+partly_noncount[\"collision\"]=\"uncount\"\n partly_noncount[\"colour\"]=\"uncount\"\n+partly_noncount[\"combination\"]=\"uncount\"\n partly_noncount[\"comfort\"]=\"uncount\"\n+partly_noncount[\"coming\"]=\"uncount\"\n partly_noncount[\"command\"]=\"uncount\"\n+partly_noncount[\"commemoration\"]=\"uncount\"\n partly_noncount[\"comment\"]=\"uncount\"\n+partly_noncount[\"commination\"]=\"uncount\"\n partly_noncount[\"commission\"]=\"uncount\"\n+partly_noncount[\"commitment\"]=\"uncount\"\n+partly_noncount[\"communion\"]=\"uncount\"\n+partly_noncount[\"community\"]=\"uncount\"\n+partly_noncount[\"company\"]=\"uncount\"\n+partly_noncount[\"comparison\"]=\"uncount\"\n+partly_noncount[\"compassion\"]=\"uncount\"\n+partly_noncount[\"compatibility\"]=\"uncount\"\n+partly_noncount[\"competence\"]=\"uncount\"\n+partly_noncount[\"complaint\"]=\"uncount\"\n+partly_noncount[\"compliance\"]=\"uncount\"\n+partly_noncount[\"complicity\"]=\"uncount\"\n+partly_noncount[\"compote\"]=\"uncount\"\n+partly_noncount[\"comprehension\"]=\"uncount\"\n partly_noncount[\"compromise\"]=\"uncount\"\n+partly_noncount[\"computer\"]=\"uncount\"\n+partly_noncount[\"concatenation\"]=\"uncount\"\n+partly_noncount[\"conceit\"]=\"uncount\"\n partly_noncount[\"concern\"]=\"uncount\"\n+partly_noncount[\"concert\"]=\"uncount\"\n+partly_noncount[\"concession\"]=\"uncount\"\n+partly_noncount[\"conclusion\"]=\"uncount\"\n+partly_noncount[\"concord\"]=\"uncount\"\n+partly_noncount[\"concordance\"]=\"uncount\"\n+partly_noncount[\"concrete\"]=\"uncount\"\n+partly_noncount[\"concurrence\"]=\"uncount\"\n+partly_noncount[\"condemnation\"]=\"uncount\"\n+partly_noncount[\"condescension\"]=\"uncount\"\n+partly_noncount[\"condiment\"]=\"uncount\"\n+partly_noncount[\"conference\"]=\"uncount\"\n+partly_noncount[\"confession\"]=\"uncount\"\n+partly_noncount[\"confinement\"]=\"uncount\"\n+partly_noncount[\"conflict\"]=\"uncount\"\n+partly_noncount[\"confusion\"]=\"uncount\"\n partly_noncount[\"conjecture\"]=\"uncount\"\n+partly_noncount[\"connexion\"]=\"uncount\"\n+partly_noncount[\"conquest\"]=\"uncount\"\n+partly_noncount[\"conscience\"]=\"uncount\"\n+partly_noncount[\"consequence\"]=\"uncount\"\n+partly_noncount[\"consignment\"]=\"uncount\"\n+partly_noncount[\"consistency\"]=\"uncount\"\n+partly_noncount[\"conspiracy\"]=\"uncount\"\n+partly_noncount[\"consternation\"]=\"uncount\"\n+partly_noncount[\"constraint\"]=\"uncount\"\n+partly_noncount[\"consumer\"]=\"uncount\"\n+partly_noncount[\"consummation\"]=\"uncount\"\n partly_noncount[\"contact\"]=\"uncount\"\n+partly_noncount[\"contagion\"]=\"uncount\"\n+partly_noncount[\"contamination\"]=\"uncount\"\n+partly_noncount[\"contempt\"]=\"uncount\"\n+partly_noncount[\"content\"]=\"uncount\"\n+partly_noncount[\"contentment\"]=\"uncount\"\n+partly_noncount[\"context\"]=\"uncount\"\n+partly_noncount[\"continuity\"]=\"uncount\"\n+partly_noncount[\"contract\"]=\"uncount\"\n+partly_noncount[\"contrast\"]=\"uncount\"\n+partly_noncount[\"contrivance\"]=\"uncount\"\n partly_noncount[\"control\"]=\"uncount\"\n+partly_noncount[\"controversy\"]=\"uncount\"\n+partly_noncount[\"convenience\"]=\"uncount\"\n+partly_noncount[\"conversion\"]=\"uncount\"\n+partly_noncount[\"conveyance\"]=\"uncount\"\n+partly_noncount[\"conviviality\"]=\"uncount\"\n partly_noncount[\"convoy\"]=\"uncount\"\n+partly_noncount[\"coolant\"]=\"uncount\"\n+partly_noncount[\"cooler\"]=\"uncount\"\n+partly_noncount[\"cop\"]=\"uncount\"\n partly_noncount[\"copyright\"]=\"uncount\"\n partly_noncount[\"cord\"]=\"uncount\"\n+partly_noncount[\"cordial\"]=\"uncount\"\n partly_noncount[\"cork\"]=\"uncount\"\n+partly_noncount[\"correspondence\"]=\"uncount\"\n partly_noncount[\"cost\"]=\"uncount\"\n+partly_noncount[\"costing\"]=\"uncount\"\n+partly_noncount[\"costume\"]=\"uncount\"\n partly_noncount[\"couch\"]=\"uncount\"\n+partly_noncount[\"counsel\"]=\"uncount\"\n partly_noncount[\"count\"]=\"uncount\"\n partly_noncount[\"countenance\"]=\"uncount\"\n+partly_noncount[\"counterpoint\"]=\"uncount\"\n partly_noncount[\"counterpoise\"]=\"uncount\"\n+partly_noncount[\"country\"]=\"uncount\"\n partly_noncount[\"coupling\"]=\"uncount\"\n+partly_noncount[\"courage\"]=\"uncount\"\n partly_noncount[\"course\"]=\"uncount\"\n partly_noncount[\"court\"]=\"uncount\"\n+partly_noncount[\"courtesy\"]=\"uncount\"\n+partly_noncount[\"courtship\"]=\"uncount\" \n partly_noncount[\"cover\"]=\"uncount\"\n+partly_noncount[\"coverage\"]=\"uncount\"\n+partly_noncount[\"cowhide\"]=\"uncount\"\n partly_noncount[\"crab\"]=\"uncount\"\n+partly_noncount[\"craft\"]=\"uncount\"\n partly_noncount[\"cramp\"]=\"uncount\"\n partly_noncount[\"crap\"]=\"uncount\"\n partly_noncount[\"crash\"]=\"uncount\"\n+partly_noncount[\"credence\"]=\"uncount\"\n+partly_noncount[\"credibility\"]=\"uncount\"\n partly_noncount[\"credit\"]=\"uncount\"\n+partly_noncount[\"cricket\"]=\"uncount\"\n partly_noncount[\"crimson\"]=\"uncount\"\n+partly_noncount[\"crinoline\"]=\"uncount\"\n+partly_noncount[\"crossfire\"]=\"uncount\"\n+partly_noncount[\"crossing\"]=\"uncount\"\n+partly_noncount[\"croup\"]=\"uncount\"\n+partly_noncount[\"crucifixion\"]=\"uncount\"\n+partly_noncount[\"cruelty\"]=\"uncount\"\n+partly_noncount[\"crumb\"]=\"uncount\"\n partly_noncount[\"crust\"]=\"uncount\"\n+partly_noncount[\"crying\"]=\"uncount\"\n+partly_noncount[\"crystal\"]=\"uncount\"\n+partly_noncount[\"cucumber\"]=\"uncount\"\n+partly_noncount[\"culture\"]=\"uncount\" \n+partly_noncount[\"curd\"]=\"uncount\"\n+partly_noncount[\"curiosity\"]=\"uncount\"\n partly_noncount[\"curl\"]=\"uncount\"\n+partly_noncount[\"current\"]=\"uncount\"\n+partly_noncount[\"curtailment\"]=\"uncount\"\n+partly_noncount[\"custard\"]=\"uncount\"\n+partly_noncount[\"custody\"]=\"uncount\"\n+partly_noncount[\"custom\"]=\"uncount\"\n+partly_noncount[\"cutting\"]=\"uncount\"\n+partly_noncount[\"cyder\"]=\"uncount\"\n+partly_noncount[\"dance\"]=\"uncount\"\n+partly_noncount[\"dancing\"]=\"uncount\"\n+partly_noncount[\"danger\"]=\"uncount\"\n partly_noncount[\"dash\"]=\"uncount\"\n partly_noncount[\"date\"]=\"uncount\"\n partly_noncount[\"daub\"]=\"uncount\"\n partly_noncount[\"dawn\"]=\"uncount\"\n+partly_noncount[\"day\"]=\"uncount\"\n+partly_noncount[\"deadlock\"]=\"uncount\"\n+partly_noncount[\"deadwood\"]=\"uncount\"\n+partly_noncount[\"dealing\"]=\"uncount\"\n+partly_noncount[\"death\"]=\"uncount\"\n partly_noncount[\"debate\"]=\"uncount\"\n+partly_noncount[\"debt\"]=\"uncount\"\n+partly_noncount[\"deceit\"]=\"uncount\"\n+partly_noncount[\"decision\"]=\"uncount\"\n+partly_noncount[\"decision-making\"]=\"uncount\"\n+partly_noncount[\"decision-making\"]=\"uncount\"\n+partly_noncount[\"declension\"]=\"uncount\"\n+partly_noncount[\"decoration\"]=\"uncount\"\n+partly_noncount[\"decrease\"]=\"uncount\"\n+partly_noncount[\"defacement\"]=\"uncount\"\n+partly_noncount[\"default\"]=\"uncount\"\n partly_noncount[\"defeat\"]=\"uncount\"\n+partly_noncount[\"defence\"]=\"uncount\"\n+partly_noncount[\"deference\"]=\"uncount\"\n+partly_noncount[\"defiance\"]=\"uncount\"\n+partly_noncount[\"degree\"]=\"uncount\"\n partly_noncount[\"delay\"]=\"uncount\"\n+partly_noncount[\"delegation\"]=\"uncount\"\n+partly_noncount[\"delicatessen\"]=\"uncount\"\n partly_noncount[\"delight\"]=\"uncount\"\n+partly_noncount[\"deliverance\"]=\"uncount\"\n+partly_noncount[\"delivery\"]=\"uncount\"\n+partly_noncount[\"delusion\"]=\"uncount\"\n partly_noncount[\"demand\"]=\"uncount\"\n+partly_noncount[\"demesne\"]=\"uncount\"\n+partly_noncount[\"democracy\"]=\"uncount\"\n+partly_noncount[\"denial\"]=\"uncount\"\n+partly_noncount[\"denunciation\"]=\"uncount\"\n+partly_noncount[\"department\"]=\"uncount\"\n+partly_noncount[\"departure\"]=\"uncount\"\n+partly_noncount[\"dependence\"]=\"uncount\"\n+partly_noncount[\"deployment\"]=\"uncount\"\n+partly_noncount[\"depression\"]=\"uncount\"\n+partly_noncount[\"depth\"]=\"uncount\"\n+partly_noncount[\"descent\"]=\"uncount\"\n+partly_noncount[\"desert\"]=\"uncount\"\n partly_noncount[\"design\"]=\"uncount\"\n+partly_noncount[\"designation\"]=\"uncount\"\n partly_noncount[\"desire\"]=\"uncount\"\n partly_noncount[\"despatch\"]=\"uncount\"\n+partly_noncount[\"detachment\"]=\"uncount\"\n partly_noncount[\"detail\"]=\"uncount\"\n+partly_noncount[\"detective\"]=\"uncount\"\n+partly_noncount[\"deterioration\"]=\"uncount\"\n+partly_noncount[\"determination\"]=\"uncount\"\n+partly_noncount[\"devaluation\"]=\"uncount\"\n+partly_noncount[\"development\"]=\"uncount\"\n+partly_noncount[\"devilment\"]=\"uncount\"\n+partly_noncount[\"dialect\"]=\"uncount\"\n+partly_noncount[\"dialogue\"]=\"uncount\"\n+partly_noncount[\"diameter\"]=\"uncount\" \n+partly_noncount[\"dictatorship\"]=\"uncount\"\n+partly_noncount[\"difference\"]=\"uncount\"\n+partly_noncount[\"difference\"]=\"uncount\"\n+partly_noncount[\"difficulty\"]=\"uncount\"\n+partly_noncount[\"digging\"]=\"uncount\"\n+partly_noncount[\"dignity\"]=\"uncount\"\n+partly_noncount[\"digression\"]=\"uncount\"\n+partly_noncount[\"dimension\"]=\"uncount\"\n+partly_noncount[\"dinner\"]=\"uncount\"\n partly_noncount[\"dip\"]=\"uncount\"\n+partly_noncount[\"dirt\"]=\"uncount\"\n+partly_noncount[\"disablement\"]=\"uncount\"\n+partly_noncount[\"disadvantage\"]=\"uncount\"\n+partly_noncount[\"disagreement\"]=\"uncount\"\n+partly_noncount[\"disappointment\"]=\"uncount\"\n+partly_noncount[\"disaster\"]=\"uncount\"\n+partly_noncount[\"disbursement\"]=\"uncount\"\n+partly_noncount[\"discharge\"]=\"uncount\"\n partly_noncount[\"discipline\"]=\"uncount\"\n+partly_noncount[\"disclosure\"]=\"uncount\"\n+partly_noncount[\"discomfort\"]=\"uncount\"\n partly_noncount[\"discontent\"]=\"uncount\"\n+partly_noncount[\"discord\"]=\"uncount\"\n+partly_noncount[\"discount\"]=\"uncount\"\n+partly_noncount[\"discouragement\"]=\"uncount\"\n+partly_noncount[\"discourse\"]=\"uncount\"\n+partly_noncount[\"discussion\"]=\"uncount\"\n+partly_noncount[\"disease\"]=\"uncount\"\n+partly_noncount[\"disenchantment\"]=\"uncount\"\n+partly_noncount[\"disfigurement\"]=\"uncount\"\n+partly_noncount[\"disgrace\"]=\"uncount\"\n partly_noncount[\"disguise\"]=\"uncount\"\n+partly_noncount[\"disillusionment\"]=\"uncount\"\n+partly_noncount[\"disinclination\"]=\"uncount\"\n+partly_noncount[\"disk\"]=\"uncount\"\n partly_noncount[\"dislike\"]=\"uncount\"\n+partly_noncount[\"dismissal\"]=\"uncount\"\n partly_noncount[\"disorder\"]=\"uncount\"\n partly_noncount[\"dispatch\"]=\"uncount\"\n+partly_noncount[\"dispersal\"]=\"uncount\"\n+partly_noncount[\"displacement\"]=\"uncount\"\n partly_noncount[\"display\"]=\"uncount\"\n+partly_noncount[\"disposal\"]=\"uncount\"\n+partly_noncount[\"disproof\"]=\"uncount\"\n partly_noncount[\"dispute\"]=\"uncount\"\n+partly_noncount[\"disquiet\"]=\"uncount\"\n+partly_noncount[\"dissection\"]=\"uncount\"\n+partly_noncount[\"dissension\"]=\"uncount\"\n+partly_noncount[\"disservice\"]=\"uncount\"\n+partly_noncount[\"dissonance\"]=\"uncount\"\n partly_noncount[\"distance\"]=\"uncount\"\n+partly_noncount[\"distaste\"]=\"uncount\"\n+partly_noncount[\"distress\"]=\"uncount\"\n+partly_noncount[\"disturbance\"]=\"uncount\"\n+partly_noncount[\"divergence\"]=\"uncount\"\n+partly_noncount[\"diversion\"]=\"uncount\"\n+partly_noncount[\"diversity\"]=\"uncount\"\n+partly_noncount[\"divination\"]=\"uncount\"\n+partly_noncount[\"division\"]=\"uncount\"\n partly_noncount[\"divorce\"]=\"uncount\"\n+partly_noncount[\"doctor\"]=\"uncount\"\n+partly_noncount[\"doctor\"]=\"uncount\"\n+partly_noncount[\"doctrine\"]=\"uncount\"\n+partly_noncount[\"dogma\"]=\"uncount\"\n+partly_noncount[\"doing\"]=\"uncount\"\n partly_noncount[\"dole\"]=\"uncount\"\n+partly_noncount[\"dominion\"]=\"uncount\"\n+partly_noncount[\"donation\"]=\"uncount\"\n+partly_noncount[\"doom\"]=\"uncount\"\n partly_noncount[\"dope\"]=\"uncount\"\n+partly_noncount[\"dosage\"]=\"uncount\"\n partly_noncount[\"doubt\"]=\"uncount\"\n partly_noncount[\"down\"]=\"uncount\"\n+partly_noncount[\"drama\"]=\"uncount\"\n partly_noncount[\"draught\"]=\"uncount\"\n+partly_noncount[\"drawback\"]=\"uncount\"\n+partly_noncount[\"drawing\"]=\"uncount\"\n partly_noncount[\"dress\"]=\"uncount\"\n+partly_noncount[\"dressing\"]=\"uncount\"\n partly_noncount[\"drift\"]=\"uncount\"\n partly_noncount[\"drill\"]=\"uncount\"\n partly_noncount[\"drink\"]=\"uncount\"\n+partly_noncount[\"drinking\"]=\"uncount\"\n partly_noncount[\"drive\"]=\"uncount\"\n partly_noncount[\"drone\"]=\"uncount\"\n+partly_noncount[\"drought\"]=\"uncount\"\n+partly_noncount[\"drugget\"]=\"uncount\"\n+partly_noncount[\"duty\"]=\"uncount\"\n partly_noncount[\"dye\"]=\"uncount\"\n+partly_noncount[\"earache\"]=\"uncount\"\n+partly_noncount[\"eating\"]=\"uncount\"\n partly_noncount[\"echo\"]=\"uncount\"\n+partly_noncount[\"economy\"]=\"uncount\"\n+partly_noncount[\"edging\"]=\"uncount\"\n partly_noncount[\"effect\"]=\"uncount\"\n+partly_noncount[\"efficiency\"]=\"uncount\"\n+partly_noncount[\"effluent\"]=\"uncount\"\n+partly_noncount[\"effort\"]=\"uncount\"\n+partly_noncount[\"effusion\"]=\"uncount\"\n partly_noncount[\"egg\"]=\"uncount\"\n+partly_noncount[\"eggplant\"]=\"uncount\"\n+partly_noncount[\"elaboration\"]=\"uncount\"\n+partly_noncount[\"electricity\"]=\"uncount\"\n+partly_noncount[\"elimination\"]=\"uncount\"\n+partly_noncount[\"elision\"]=\"uncount\"\n+partly_noncount[\"elm\"]=\"uncount\"\n+partly_noncount[\"emanation\"]=\"uncount\"\n+partly_noncount[\"embarrassment\"]=\"uncount\"\n+partly_noncount[\"embellishment\"]=\"uncount\"\n+partly_noncount[\"embezzlement\"]=\"uncount\"\n+partly_noncount[\"embroidery\"]=\"uncount\"\n+partly_noncount[\"eminence\"]=\"uncount\"\n+partly_noncount[\"emission\"]=\"uncount\"\n+partly_noncount[\"emphasis\"]=\"uncount\"\n+partly_noncount[\"emphasis\"]=\"uncount\"\n+partly_noncount[\"empire\"]=\"uncount\"\n+partly_noncount[\"emulsion\"]=\"uncount\"\n+partly_noncount[\"enactment\"]=\"uncount\"\n+partly_noncount[\"enchantment\"]=\"uncount\"\n+partly_noncount[\"enclosure\"]=\"uncount\"\n+partly_noncount[\"encouragement\"]=\"uncount\"\n+partly_noncount[\"encroachment\"]=\"uncount\"\n+partly_noncount[\"endearment\"]=\"uncount\"\n+partly_noncount[\"endive\"]=\"uncount\"\n+partly_noncount[\"endorsement\"]=\"uncount\"\n+partly_noncount[\"endowment\"]=\"uncount\"\n+partly_noncount[\"energy\"]=\"uncount\"\n+partly_noncount[\"energy\"]=\"uncount\"\n+partly_noncount[\"enforcement\"]=\"uncount\"\n+partly_noncount[\"engagement\"]=\"uncount\"\n+partly_noncount[\"english\"]=\"uncount\"\n+partly_noncount[\"engraving\"]=\"uncount\"\n+partly_noncount[\"enhancement\"]=\"uncount\"\n+partly_noncount[\"enjoyment\"]=\"uncount\"\n+partly_noncount[\"enlargement\"]=\"uncount\"\n+partly_noncount[\"enlightenment\"]=\"uncount\"\n+partly_noncount[\"enlistment\"]=\"uncount\"\n+partly_noncount[\"ennui\"]=\"uncount\"\n+partly_noncount[\"enrolment\"]=\"uncount\"\n partly_noncount[\"entail\"]=\"uncount\"\n+partly_noncount[\"entanglement\"]=\"uncount\"\n+partly_noncount[\"enterprise\"]=\"uncount\"\n+partly_noncount[\"enthusiasm\"]=\"uncount\"\n+partly_noncount[\"enthusiasm\"]=\"uncount\"\n+partly_noncount[\"enticement\"]=\"uncount\"\n+partly_noncount[\"entitlement\"]=\"uncount\"\n+partly_noncount[\"entrance\"]=\"uncount\"\n+partly_noncount[\"entry\"]=\"uncount\"\n+partly_noncount[\"environment\"]=\"uncount\"\n+partly_noncount[\"equality\"]=\"uncount\"\n+partly_noncount[\"equilibrium\"]=\"uncount\"\n+partly_noncount[\"equipment\"]=\"uncount\"\n+partly_noncount[\"equipoise\"]=\"uncount\"\n+partly_noncount[\"equivalence\"]=\"uncount\"\n+partly_noncount[\"erasure\"]=\"uncount\"\n+partly_noncount[\"error\"]=\"uncount\"\n partly_noncount[\"escape\"]=\"uncount\"\n+partly_noncount[\"espionage\"]=\"uncount\"\n+partly_noncount[\"establishment\"]=\"uncount\"\n+partly_noncount[\"estate\"]=\"uncount\"\n+partly_noncount[\"esteem\"]=\"uncount\"\n+partly_noncount[\"estrangement\"]=\"uncount\"\n+partly_noncount[\"etching\"]=\"uncount\"\n+partly_noncount[\"ethyl\"]=\"uncount\"\n+partly_noncount[\"evaluation\"]=\"uncount\"\n+partly_noncount[\"evaporation\"]=\"uncount\"\n+partly_noncount[\"evasion\"]=\"uncount\"\n+partly_noncount[\"evening\"]=\"uncount\"\n+partly_noncount[\"evil\"]=\"uncount\"\n+partly_noncount[\"examination\"]=\"uncount\"\n+partly_noncount[\"example\"]=\"uncount\"\n+partly_noncount[\"excellence\"]=\"uncount\"\n partly_noncount[\"exchange\"]=\"uncount\"\n+partly_noncount[\"excision\"]=\"uncount\"\n+partly_noncount[\"excitement\"]=\"uncount\"\n+partly_noncount[\"exclaiming\"]=\"uncount\"\n+partly_noncount[\"exclusion\"]=\"uncount\"\n partly_noncount[\"exercise\"]=\"uncount\"\n partly_noncount[\"exhaust\"]=\"uncount\"\n+partly_noncount[\"exhibition\"]=\"uncount\"\n partly_noncount[\"exile\"]=\"uncount\"\n+partly_noncount[\"existence\"]=\"uncount\"\n+partly_noncount[\"expansion\"]=\"uncount\"\n+partly_noncount[\"expedition\"]=\"uncount\"\n+partly_noncount[\"expenditure\"]=\"uncount\"\n+partly_noncount[\"expense\"]=\"uncount\"\n partly_noncount[\"experiment\"]=\"uncount\"\n+partly_noncount[\"expert\"]=\"uncount\"\n+partly_noncount[\"expertise\"]=\"uncount\"\n+partly_noncount[\"explanation\"]=\"uncount\"\n+partly_noncount[\"exploration\"]=\"uncount\"\n+partly_noncount[\"export\"]=\"uncount\"\n+partly_noncount[\"exposure\"]=\"uncount\"\n partly_noncount[\"express\"]=\"uncount\"\n+partly_noncount[\"expression\"]=\"uncount\"\n+partly_noncount[\"expulsion\"]=\"uncount\"\n+partly_noncount[\"extension\"]=\"uncount\"\n+partly_noncount[\"extract\"]=\"uncount\"\n+partly_noncount[\"extravagance\"]=\"uncount\"\n+partly_noncount[\"extrusion\"]=\"uncount\"\n+partly_noncount[\"fable\"]=\"uncount\"\n+partly_noncount[\"fact\"]=\"uncount\"\n+partly_noncount[\"factory\"]=\"uncount\"\n partly_noncount[\"fag\"]=\"uncount\"\n+partly_noncount[\"failure\"]=\"uncount\"\n+partly_noncount[\"fairness\"]=\"uncount\"\n+partly_noncount[\"faith\"]=\"uncount\"\n+partly_noncount[\"falsehood\"]=\"uncount\"\n+partly_noncount[\"fame\"]=\"uncount\"\n+partly_noncount[\"family\"]=\"uncount\"\n+partly_noncount[\"famine\"]=\"uncount\" \n+partly_noncount[\"fanfare\"]=\"uncount\"\n+partly_noncount[\"fantasy\"]=\"uncount\"\n+partly_noncount[\"farce\"]=\"uncount\"\n partly_noncount[\"fare\"]=\"uncount\"\n+partly_noncount[\"farming\"]=\"uncount\"\n+partly_noncount[\"fascination\"]=\"uncount\"\n partly_noncount[\"fashion\"]=\"uncount\"\n partly_noncount[\"fat\"]=\"uncount\"\n partly_noncount[\"fate\"]=\"uncount\"\n partly_noncount[\"fatigue\"]=\"uncount\"\n partly_noncount[\"favour\"]=\"uncount\"\n+partly_noncount[\"fear\"]=\"uncount\"\n partly_noncount[\"fee\"]=\"uncount\"\n partly_noncount[\"feed\"]=\"uncount\"\n+partly_noncount[\"feedback\"]=\"uncount\"\n partly_noncount[\"feeling\"]=\"uncount\"\n+partly_noncount[\"fellowship\"]=\"uncount\"\n+partly_noncount[\"fertilizer\"]=\"uncount\"\n+partly_noncount[\"fervour\"]=\"uncount\"\n+partly_noncount[\"fever\"]=\"uncount\"\n+partly_noncount[\"fibre\"]=\"uncount\"\n+partly_noncount[\"fieldwork\"]=\"uncount\"\n partly_noncount[\"fight\"]=\"uncount\"\n+partly_noncount[\"fighting\"]=\"uncount\"\n partly_noncount[\"fill\"]=\"uncount\"\n partly_noncount[\"filling\"]=\"uncount\"\n partly_noncount[\"film\"]=\"uncount\"\n partly_noncount[\"finance\"]=\"uncount\"\n+partly_noncount[\"financing\"]=\"uncount\"\n+partly_noncount[\"finesse\"]=\"uncount\"\n partly_noncount[\"finish\"]=\"uncount\"\n+partly_noncount[\"fir\"]=\"uncount\"\n partly_noncount[\"fire\"]=\"uncount\"\n+partly_noncount[\"firepower\"]=\"uncount\"\n+partly_noncount[\"firing\"]=\"uncount\"\n+partly_noncount[\"fishing\"]=\"uncount\"\n+partly_noncount[\"fishpaste\"]=\"uncount\"\n+partly_noncount[\"fitter\"]=\"uncount\"\n+partly_noncount[\"fixing\"]=\"uncount\"\n+partly_noncount[\"flak\"]=\"uncount\"\n partly_noncount[\"flame\"]=\"uncount\"\n+partly_noncount[\"flannel\"]=\"uncount\"\n+partly_noncount[\"flapjack\"]=\"uncount\"\n partly_noncount[\"flare\"]=\"uncount\"\n+partly_noncount[\"flash\"]=\"uncount\"\n partly_noncount[\"flavour\"]=\"uncount\"\n+partly_noncount[\"flavouring\"]=\"uncount\"\n partly_noncount[\"fleece\"]=\"uncount\"\n+partly_noncount[\"flesh\"]=\"uncount\"\n partly_noncount[\"flex\"]=\"uncount\"\n+partly_noncount[\"flexibility\"]=\"uncount\"\n partly_noncount[\"flight\"]=\"uncount\"\n+partly_noncount[\"flint\"]=\"uncount\"\n+partly_noncount[\"flogging\"]=\"uncount\"\n+partly_noncount[\"floor\"]=\"uncount\"\n+partly_noncount[\"fluid\"]=\"uncount\"\n+partly_noncount[\"fluorescence\"]=\"uncount\"\n+partly_noncount[\"fluoride\"]=\"uncount\"\n partly_noncount[\"flush\"]=\"uncount\"\n+partly_noncount[\"flute\"]=\"uncount\"\n partly_noncount[\"flutter\"]=\"uncount\"\n partly_noncount[\"foam\"]=\"uncount\"\n+partly_noncount[\"focus\"]=\"uncount\"\n partly_noncount[\"foil\"]=\"uncount\"\n+partly_noncount[\"foot\"]=\"uncount\"\n+partly_noncount[\"football\"]=\"uncount\"\n partly_noncount[\"force\"]=\"uncount\"\n+partly_noncount[\"foreboding\"]=\"uncount\"\n+partly_noncount[\"foreclosure\"]=\"uncount\"\n+partly_noncount[\"forest\"]=\"uncount\" \n partly_noncount[\"form\"]=\"uncount\"\n+partly_noncount[\"fortitude\"]=\"uncount\"\n+partly_noncount[\"fortune\"]=\"uncount\"\n partly_noncount[\"foul\"]=\"uncount\"\n partly_noncount[\"fowl\"]=\"uncount\"\n partly_noncount[\"fracture\"]=\"uncount\"\n+partly_noncount[\"fragrance\"]=\"uncount\"\n+partly_noncount[\"franchise\"]=\"uncount\"\n+partly_noncount[\"fratricide\"]=\"uncount\"\n+partly_noncount[\"fraud\"]=\"uncount\"\n+partly_noncount[\"freedom\"]=\"uncount\"\n+partly_noncount[\"freight\"]=\"uncount\"\n+partly_noncount[\"french\"]=\"uncount\"\n partly_noncount[\"fresco\"]=\"uncount\"\n+partly_noncount[\"fricassee\"]=\"uncount\"\n+partly_noncount[\"friendliness\"]=\"uncount\"\n+partly_noncount[\"friendship\"]=\"uncount\"\n partly_noncount[\"fright\"]=\"uncount\"\n+partly_noncount[\"frivolity\"]=\"uncount\"\n partly_noncount[\"front\"]=\"uncount\"\n partly_noncount[\"frost\"]=\"uncount\"\n+partly_noncount[\"fruit\"]=\"uncount\"\n+partly_noncount[\"fudge\"]=\"uncount\"\n+partly_noncount[\"fulfilment\"]=\"uncount\"\n+partly_noncount[\"fulmination\"]=\"uncount\"\n+partly_noncount[\"fun\"]=\"uncount\"\n+partly_noncount[\"fund\"]=\"uncount\"\n+partly_noncount[\"funding\"]=\"uncount\"\n+partly_noncount[\"fundraising\"]=\"uncount\"\n+partly_noncount[\"fungicide\"]=\"uncount\"\n+partly_noncount[\"furlough\"]=\"uncount\"\n+partly_noncount[\"furniture\"]=\"uncount\"\n+partly_noncount[\"fury\"]=\"uncount\"\n+partly_noncount[\"fusion\"]=\"uncount\"\n partly_noncount[\"fuss\"]=\"uncount\"\n+partly_noncount[\"future\"]=\"uncount\"\n partly_noncount[\"gain\"]=\"uncount\"\n partly_noncount[\"gall\"]=\"uncount\"\n partly_noncount[\"game\"]=\"uncount\"\n+partly_noncount[\"gammon\"]=\"uncount\"\n partly_noncount[\"gaol\"]=\"uncount\"\n partly_noncount[\"garden\"]=\"uncount\"\n+partly_noncount[\"gardening\"]=\"uncount\"\n+partly_noncount[\"garlic\"]=\"uncount\"\n+partly_noncount[\"gaucherie\"]=\"uncount\"\n partly_noncount[\"gauge\"]=\"uncount\"\n partly_noncount[\"gear\"]=\"uncount\"\n partly_noncount[\"gesture\"]=\"uncount\"\n+partly_noncount[\"gibberish\"]=\"uncount\"\n partly_noncount[\"gift\"]=\"uncount\"\n partly_noncount[\"gin\"]=\"uncount\"\n+partly_noncount[\"ginger\"]=\"uncount\"\n+partly_noncount[\"gingerbread\"]=\"uncount\"\n+partly_noncount[\"gladness\"]=\"uncount\"\n+partly_noncount[\"glamour\"]=\"uncount\"\n partly_noncount[\"glare\"]=\"uncount\"\n partly_noncount[\"glaze\"]=\"uncount\"\n+partly_noncount[\"glee\"]=\"uncount\"\n+partly_noncount[\"gloom\"]=\"uncount\"\n+partly_noncount[\"glory\"]=\"uncount\"\n+partly_noncount[\"glucose\"]=\"uncount\"\n+partly_noncount[\"goal\"]=\"uncount\"\n+partly_noncount[\"goatskin\"]=\"uncount\"\n+partly_noncount[\"god\"]=\"uncount\"\n+partly_noncount[\"going\"]=\"uncount\"\n+partly_noncount[\"goodness\"]=\"uncount\"\n+partly_noncount[\"gospel\"]=\"uncount\"\n+partly_noncount[\"gossamer\"]=\"uncount\"\n+partly_noncount[\"gossip\"]=\"uncount\"\n+partly_noncount[\"government\"]=\"uncount\"\n partly_noncount[\"grace\"]=\"uncount\"\n partly_noncount[\"graft\"]=\"uncount\"\n+partly_noncount[\"grain\"]=\"uncount\"\n+partly_noncount[\"grammar\"]=\"uncount\"\n+partly_noncount[\"grant\"]=\"uncount\"\n+partly_noncount[\"grasp\"]=\"uncount\"\n+partly_noncount[\"gratification\"]=\"uncount\"\n+partly_noncount[\"gratitude\"]=\"uncount\"\n partly_noncount[\"gray\"]=\"uncount\"\n+partly_noncount[\"greek\"]=\"uncount\"\n+partly_noncount[\"green\"]=\"uncount\"\n partly_noncount[\"grey\"]=\"uncount\"\n+partly_noncount[\"grip\"]=\"uncount\"\n+partly_noncount[\"grot\"]=\"uncount\"\n partly_noncount[\"ground\"]=\"uncount\"\n+partly_noncount[\"groundwork\"]=\"uncount\"\n+partly_noncount[\"growth\"]=\"uncount\"\n partly_noncount[\"grub\"]=\"uncount\"\n+partly_noncount[\"grunting\"]=\"uncount\"\n+partly_noncount[\"guano\"]=\"uncount\"\n partly_noncount[\"guard\"]=\"uncount\"\n+partly_noncount[\"guava\"]=\"uncount\"\n+partly_noncount[\"guidance\"]=\"uncount\"\n+partly_noncount[\"guilt\"]=\"uncount\"\n+partly_noncount[\"guitar\"]=\"uncount\"\n partly_noncount[\"gum\"]=\"uncount\"\n+partly_noncount[\"gunshot\"]=\"uncount\"\n partly_noncount[\"gurgle\"]=\"uncount\"\n+partly_noncount[\"gusto\"]=\"uncount\"\n partly_noncount[\"gut\"]=\"uncount\"\n+partly_noncount[\"habit\"]=\"uncount\"\n+partly_noncount[\"haemorrhage\"]=\"uncount\"\n+partly_noncount[\"hair\"]=\"uncount\"\n+partly_noncount[\"hallucination\"]=\"uncount\"\n partly_noncount[\"ham\"]=\"uncount\"\n+partly_noncount[\"handball\"]=\"uncount\"\n+partly_noncount[\"handicraft\"]=\"uncount\"\n+partly_noncount[\"handiwork\"]=\"uncount\"\n+partly_noncount[\"hanging\"]=\"uncount\"\n+partly_noncount[\"happening\"]=\"uncount\"\n+partly_noncount[\"happiness\"]=\"uncount\"\n+partly_noncount[\"harassment\"]=\"uncount\"\n+partly_noncount[\"hardship\"]=\"uncount\"\n+partly_noncount[\"hardware\"]=\"uncount\"\n+partly_noncount[\"harmony\"]=\"uncount\"\n+partly_noncount[\"hassle\"]=\"uncount\"\n+partly_noncount[\"haste\"]=\"uncount\"\n+partly_noncount[\"hatred\"]=\"uncount\"\n+partly_noncount[\"havoc\"]=\"uncount\"\n+partly_noncount[\"hay\"]=\"uncount\"\n partly_noncount[\"hazard\"]=\"uncount\"\n partly_noncount[\"haze\"]=\"uncount\"\n+partly_noncount[\"hazel\"]=\"uncount\"\n+partly_noncount[\"head\"]=\"uncount\"\n+partly_noncount[\"headache\"]=\"uncount\"\n+partly_noncount[\"headway\"]=\"uncount\"\n+partly_noncount[\"healing\"]=\"uncount\"\n+partly_noncount[\"health\"]=\"uncount\"\n+partly_noncount[\"hearing\"]=\"uncount\"\n+partly_noncount[\"heart\"]=\"uncount\"\n+partly_noncount[\"heartache\"]=\"uncount\"\n+partly_noncount[\"heat\"]=\"uncount\"\n+partly_noncount[\"heath\"]=\"uncount\"\n+partly_noncount[\"heather\"]=\"uncount\"\n+partly_noncount[\"heating\"]=\"uncount\"\n+partly_noncount[\"heaven\"]=\"uncount\"\n+partly_noncount[\"heed\"]=\"uncount\"\n+partly_noncount[\"height\"]=\"uncount\"\n+partly_noncount[\"hemlock\"]=\"uncount\"\n+partly_noncount[\"hemorrhage\"]=\"uncount\"\n+partly_noncount[\"hernia\"]=\"uncount\"\n partly_noncount[\"hide\"]=\"uncount\"\n+partly_noncount[\"hiding\"]=\"uncount\"\n+partly_noncount[\"hilarity\"]=\"uncount\"\n+partly_noncount[\"hinterland\"]=\"uncount\"\n+partly_noncount[\"hip\"]=\"uncount\"\n+partly_noncount[\"hire\"]=\"uncount\"\n+partly_noncount[\"history\"]=\"uncount\"\n partly_noncount[\"hock\"]=\"uncount\"\n partly_noncount[\"hold\"]=\"uncount\"\n+partly_noncount[\"holiday\"]=\"uncount\"\n+partly_noncount[\"home\"]=\"uncount\"\n+partly_noncount[\"homework\"]=\"uncount\"\n+partly_noncount[\"homicide\"]=\"uncount\"\n partly_noncount[\"honeycomb\"]=\"uncount\"\n+partly_noncount[\"honor\"]=\"uncount\"\n partly_noncount[\"honour\"]=\"uncount\"\n+partly_noncount[\"hookworm\"]=\"uncount\"\n+partly_noncount[\"hoole\"]=\"uncount\"\n+partly_noncount[\"hope\"]=\"uncount\"\n partly_noncount[\"horn\"]=\"uncount\"\n+partly_noncount[\"horror\"]=\"uncount\"\n partly_noncount[\"hose\"]=\"uncount\"\n+partly_noncount[\"hospital\"]=\"uncount\"\n+partly_noncount[\"hostility\"]=\"uncount\"\n+partly_noncount[\"housing\"]=\"uncount\"\n+partly_noncount[\"huffing\"]=\"uncount\"\n partly_noncount[\"humbug\"]=\"uncount\"\n+partly_noncount[\"humor\"]=\"uncount\" \n partly_noncount[\"humour\"]=\"uncount\"\n+partly_noncount[\"hunger\"]=\"uncount\"\n+partly_noncount[\"hunting\"]=\"uncount\"\n+partly_noncount[\"hydrogen\"]=\"uncount\"\n+partly_noncount[\"hype\"]=\"uncount\"\n+partly_noncount[\"hyperbole\"]=\"uncount\"\n+partly_noncount[\"hypochondria\"]=\"uncount\"\n+partly_noncount[\"hypocrisy\"]=\"uncount\"\n+partly_noncount[\"ice-cream\"]=\"uncount\"\n+partly_noncount[\"idea\"]=\"uncount\"\n+partly_noncount[\"idiom\"]=\"uncount\"\n+partly_noncount[\"ignorance\"]=\"uncount\"\n+partly_noncount[\"ill\"]=\"uncount\"\n+partly_noncount[\"illness\"]=\"uncount\"\n+partly_noncount[\"illumination\"]=\"uncount\"\n+partly_noncount[\"illusion\"]=\"uncount\"\n+partly_noncount[\"imagination\"]=\"uncount\"\n+partly_noncount[\"impact\"]=\"uncount\"\n+partly_noncount[\"impeachment\"]=\"uncount\"\n+partly_noncount[\"impersonation\"]=\"uncount\"\n+partly_noncount[\"impertinence\"]=\"uncount\"\n+partly_noncount[\"implementation\"]=\"uncount\"\n+partly_noncount[\"implosion\"]=\"uncount\"\n+partly_noncount[\"import\"]=\"uncount\"\n+partly_noncount[\"importance\"]=\"uncount\"\n+partly_noncount[\"imposture\"]=\"uncount\"\n+partly_noncount[\"impression\"]=\"uncount\"\n+partly_noncount[\"improvement\"]=\"uncount\"\n+partly_noncount[\"imprudence\"]=\"uncount\"\n+partly_noncount[\"impulse\"]=\"uncount\"\n+partly_noncount[\"impulsion\"]=\"uncount\"\n+partly_noncount[\"inaccuracy\"]=\"uncount\"\n+partly_noncount[\"inadvertence\"]=\"uncount\"\n+partly_noncount[\"incentive\"]=\"uncount\"\n+partly_noncount[\"incision\"]=\"uncount\"\n+partly_noncount[\"incitement\"]=\"uncount\"\n+partly_noncount[\"inclination\"]=\"uncount\"\n+partly_noncount[\"inclosure\"]=\"uncount\"\n+partly_noncount[\"inclusion\"]=\"uncount\"\n+partly_noncount[\"income\"]=\"uncount\"\n partly_noncount[\"inconvenience\"]=\"uncount\"\n+partly_noncount[\"incorporation\"]=\"uncount\"\n+partly_noncount[\"increase\"]=\"uncount\"\n+partly_noncount[\"increment\"]=\"uncount\"\n+partly_noncount[\"independence\"]=\"uncount\"\n+partly_noncount[\"indictment\"]=\"uncount\"\n+partly_noncount[\"indignation\"]=\"uncount\"\n+partly_noncount[\"indisposition\"]=\"uncount\"\n+partly_noncount[\"inducement\"]=\"uncount\"\n+partly_noncount[\"induction\"]=\"uncount\"\n+partly_noncount[\"indulgence\"]=\"uncount\"\n+partly_noncount[\"industry\"]=\"uncount\"\n+partly_noncount[\"ineptitude\"]=\"uncount\"\n+partly_noncount[\"inexactitude\"]=\"uncount\"\n+partly_noncount[\"inference\"]=\"uncount\"\n+partly_noncount[\"infinitude\"]=\"uncount\"\n+partly_noncount[\"infinity\"]=\"uncount\"\n+partly_noncount[\"inflexion\"]=\"uncount\"\n+partly_noncount[\"inflow\"]=\"uncount\"\n partly_noncount[\"influence\"]=\"uncount\"\n+partly_noncount[\"infraction\"]=\"uncount\"\n+partly_noncount[\"infringement\"]=\"uncount\"\n+partly_noncount[\"infusion\"]=\"uncount\"\n+partly_noncount[\"ingenuity\"]=\"uncount\"\n+partly_noncount[\"inheritance\"]=\"uncount\"\n+partly_noncount[\"initiative\"]=\"uncount\"\n+partly_noncount[\"injury\"]=\"uncount\"\n+partly_noncount[\"injustice\"]=\"uncount\"\n+partly_noncount[\"inlay\"]=\"uncount\"\n+partly_noncount[\"innocence\"]=\"uncount\"\n+partly_noncount[\"innovation\"]=\"uncount\"\n+partly_noncount[\"input\"]=\"uncount\"\n+partly_noncount[\"inquiry\"]=\"uncount\"\n+partly_noncount[\"insecurity\"]=\"uncount\"\n+partly_noncount[\"insight\"]=\"uncount\"\n+partly_noncount[\"instinct\"]=\"uncount\"\n+partly_noncount[\"insubordination\"]=\"uncount\"\n+partly_noncount[\"insulin\"]=\"uncount\"\n+partly_noncount[\"insult\"]=\"uncount\"\n+partly_noncount[\"intaglio\"]=\"uncount\"\n+partly_noncount[\"intake\"]=\"uncount\"\n+partly_noncount[\"integrity\"]=\"uncount\"\n+partly_noncount[\"intellect\"]=\"uncount\"\n+partly_noncount[\"intelligence\"]=\"uncount\"\n+partly_noncount[\"intensity\"]=\"uncount\"\n+partly_noncount[\"interaction\"]=\"uncount\"\n+partly_noncount[\"intercession\"]=\"uncount\"\n+partly_noncount[\"interchange\"]=\"uncount\"\n partly_noncount[\"interest\"]=\"uncount\"\n+partly_noncount[\"interfacing\"]=\"uncount\"\n+partly_noncount[\"interference\"]=\"uncount\"\n+partly_noncount[\"intermarriage\"]=\"uncount\"\n+partly_noncount[\"interment\"]=\"uncount\"\n+partly_noncount[\"internationalization\"]=\"uncount\"\n+partly_noncount[\"interoperability\"]=\"uncount\"\n+partly_noncount[\"interrelationship\"]=\"uncount\"\n+partly_noncount[\"interrogation\"]=\"uncount\"\n+partly_noncount[\"intersection\"]=\"uncount\"\n+partly_noncount[\"interview\"]=\"uncount\"\n partly_noncount[\"intrigue\"]=\"uncount\"\n+partly_noncount[\"intrusion\"]=\"uncount\"\n+partly_noncount[\"invasion\"]=\"uncount\"\n+partly_noncount[\"inversion\"]=\"uncount\"\n+partly_noncount[\"investment\"]=\"uncount\"\n+partly_noncount[\"investment\"]=\"uncount\"\n+partly_noncount[\"involvement\"]=\"uncount\"\n+partly_noncount[\"irony\"]=\"uncount\"\n+partly_noncount[\"irrelevance\"]=\"uncount\"\n partly_noncount[\"issue\"]=\"uncount\"\n+partly_noncount[\"jade\"]=\"uncount\"\n partly_noncount[\"jail\"]=\"uncount\"\n+partly_noncount[\"jargon\"]=\"uncount\"\n+partly_noncount[\"jersey\"]=\"uncount\"\n partly_noncount[\"jet\"]=\"uncount\"\n partly_noncount[\"joy\"]=\"uncount\"\n+partly_noncount[\"judgement\"]=\"uncount\"\n+partly_noncount[\"judicature\"]=\"uncount\"\n partly_noncount[\"jumble\"]=\"uncount\"\n+partly_noncount[\"jungle\"]=\"uncount\" \n+partly_noncount[\"juniper\"]=\"uncount\"\n partly_noncount[\"junket\"]=\"uncount\"\n partly_noncount[\"keep\"]=\"uncount\"\n partly_noncount[\"kick\"]=\"uncount\"\n+partly_noncount[\"kicking\"]=\"uncount\"\n partly_noncount[\"kid\"]=\"uncount\"\n+partly_noncount[\"killing\"]=\"uncount\"\n+partly_noncount[\"kind\"]=\"uncount\"\n+partly_noncount[\"kindness\"]=\"uncount\"\n partly_noncount[\"kit\"]=\"uncount\"\n+partly_noncount[\"knighthood\"]=\"uncount\"\n+partly_noncount[\"knowledge\"]=\"uncount\"\n+partly_noncount[\"kohlrabi\"]=\"uncount\"\n partly_noncount[\"labour\"]=\"uncount\"\n partly_noncount[\"lace\"]=\"uncount\"\n+partly_noncount[\"lack\"]=\"uncount\"\n partly_noncount[\"lacquer\"]=\"uncount\"\n+partly_noncount[\"lager\"]=\"uncount\"\n partly_noncount[\"lamb\"]=\"uncount\"\n+partly_noncount[\"lambskin\"]=\"uncount\"\n partly_noncount[\"landscape\"]=\"uncount\"\n+partly_noncount[\"language\"]=\"uncount\"\n partly_noncount[\"lap\"]=\"uncount\"\n+partly_noncount[\"lapis\"]=\"uncount\"\n+partly_noncount[\"latitude\"]=\"uncount\"\n+partly_noncount[\"laughter\"]=\"uncount\"\n+partly_noncount[\"launch\"]=\"uncount\"\n+partly_noncount[\"lava\"]=\"uncount\"\n+partly_noncount[\"law\"]=\"uncount\"\n+partly_noncount[\"lawn\"]=\"uncount\"\n+partly_noncount[\"laxative\"]=\"uncount\"\n partly_noncount[\"lead\"]=\"uncount\"\n+partly_noncount[\"leakage\"]=\"uncount\"\n+partly_noncount[\"learning\"]=\"uncount\"\n partly_noncount[\"leave\"]=\"uncount\"\n+partly_noncount[\"leeway\"]=\"uncount\"\n+partly_noncount[\"left\"]=\"uncount\"\n+partly_noncount[\"leg\"]=\"uncount\"\n+partly_noncount[\"legend\"]=\"uncount\"\n+partly_noncount[\"leisure\"]=\"uncount\"\n+partly_noncount[\"length\"]=\"uncount\" \n partly_noncount[\"level\"]=\"uncount\"\n+partly_noncount[\"liability\"]=\"uncount\"\n+partly_noncount[\"liaison\"]=\"uncount\"\n partly_noncount[\"libel\"]=\"uncount\"\n+partly_noncount[\"liberty\"]=\"uncount\"\n+partly_noncount[\"libido\"]=\"uncount\"\n+partly_noncount[\"librarianship\"]=\"uncount\"\n+partly_noncount[\"library\"]=\"uncount\"\n partly_noncount[\"licence\"]=\"uncount\"\n+partly_noncount[\"lie\"]=\"uncount\"\n+partly_noncount[\"life\"]=\"uncount\"\n+partly_noncount[\"lifespan\"]=\"uncount\"\n+partly_noncount[\"lifting\"]=\"uncount\"\n partly_noncount[\"light\"]=\"uncount\"\n+partly_noncount[\"lighter\"]=\"uncount\"\n+partly_noncount[\"likelihood\"]=\"uncount\"\n partly_noncount[\"lime\"]=\"uncount\"\n partly_noncount[\"line\"]=\"uncount\"\n+partly_noncount[\"ling\"]=\"uncount\"\n+partly_noncount[\"liniment\"]=\"uncount\"\n+partly_noncount[\"lining\"]=\"uncount\"\n+partly_noncount[\"linkage\"]=\"uncount\"\n+partly_noncount[\"lip\"]=\"uncount\"\n+partly_noncount[\"lipstick\"]=\"uncount\"\n+partly_noncount[\"liquid\"]=\"uncount\"\n+partly_noncount[\"liquidity\"]=\"uncount\"\n+partly_noncount[\"liquor\"]=\"uncount\"\n+partly_noncount[\"list\"]=\"uncount\"\n+partly_noncount[\"listing\"]=\"uncount\"\n+partly_noncount[\"literature\"]=\"uncount\"\n partly_noncount[\"litter\"]=\"uncount\"\n+partly_noncount[\"liver\"]=\"uncount\"\n+partly_noncount[\"living\"]=\"uncount\"\n+partly_noncount[\"load\"]=\"uncount\"\n partly_noncount[\"loan\"]=\"uncount\"\n+partly_noncount[\"lobbying\"]=\"uncount\"\n+partly_noncount[\"lobster\"]=\"uncount\"\n partly_noncount[\"lock\"]=\"uncount\"\n+partly_noncount[\"lodgement\"]=\"uncount\"\n+partly_noncount[\"lodgment\"]=\"uncount\"\n+partly_noncount[\"logging\"]=\"uncount\"\n+partly_noncount[\"logic\"]=\"uncount\"\n+partly_noncount[\"logwood\"]=\"uncount\"\n partly_noncount[\"long\"]=\"uncount\"\n+partly_noncount[\"longing\"]=\"uncount\"\n+partly_noncount[\"look\"]=\"uncount\"\n+partly_noncount[\"lordship\"]=\"uncount\"\n+partly_noncount[\"loss\"]=\"uncount\"\n+partly_noncount[\"lot\"]=\"uncount\"\n+partly_noncount[\"love\"]=\"uncount\"\n+partly_noncount[\"loyalty\"]=\"uncount\"\n+partly_noncount[\"lubricant\"]=\"uncount\"\n+partly_noncount[\"luggage\"]=\"uncount\"\n+partly_noncount[\"lunch\"]=\"uncount\"\n+partly_noncount[\"lunchtime\"]=\"uncount\"\n partly_noncount[\"lust\"]=\"uncount\"\n+partly_noncount[\"mace\"]=\"uncount\"\n+partly_noncount[\"machination\"]=\"uncount\"\n+partly_noncount[\"machinery\"]=\"uncount\"\n+partly_noncount[\"magic\"]=\"uncount\"\n+partly_noncount[\"maintenance\"]=\"uncount\"\n partly_noncount[\"make\"]=\"uncount\"\n+partly_noncount[\"make-believe\"]=\"uncount\"\n+partly_noncount[\"make-up\"]=\"uncount\"\n+partly_noncount[\"malaise\"]=\"uncount\"\n+partly_noncount[\"malfeasance\"]=\"uncount\"\n+partly_noncount[\"malpractice\"]=\"uncount\"\n+partly_noncount[\"man\"]=\"uncount\"\n+partly_noncount[\"management\"]=\"uncount\"\n+partly_noncount[\"mania\"]=\"uncount\"\n partly_noncount[\"manicure\"]=\"uncount\"\n+partly_noncount[\"manoeuvre\"]=\"uncount\"\n+partly_noncount[\"manpower\"]=\"uncount\"\n+partly_noncount[\"manufacturing\"]=\"uncount\"\n+partly_noncount[\"manumission\"]=\"uncount\"\n+partly_noncount[\"maple\"]=\"uncount\"\n partly_noncount[\"march\"]=\"uncount\"\n+partly_noncount[\"margin\"]=\"uncount\"\n+partly_noncount[\"marguerite\"]=\"uncount\"\n partly_noncount[\"mark\"]=\"uncount\"\n+partly_noncount[\"market\"]=\"uncount\"\n+partly_noncount[\"marriage\"]=\"uncount\"\n+partly_noncount[\"marrow\"]=\"uncount\"\n+partly_noncount[\"marshmallow\"]=\"uncount\"\n+partly_noncount[\"marten\"]=\"uncount\"\n+partly_noncount[\"marzipan\"]=\"uncount\"\n partly_noncount[\"mash\"]=\"uncount\"\n partly_noncount[\"mass\"]=\"uncount\"\n partly_noncount[\"massage\"]=\"uncount\"\n+partly_noncount[\"mast\"]=\"uncount\"\n+partly_noncount[\"mastership\"]=\"uncount\"\n+partly_noncount[\"match\"]=\"uncount\"\n+partly_noncount[\"mate\"]=\"uncount\"\n+partly_noncount[\"material\"]=\"uncount\"\n+partly_noncount[\"maths\"]=\"uncount\"\n+partly_noncount[\"matricide\"]=\"uncount\"\n partly_noncount[\"matter\"]=\"uncount\"\n+partly_noncount[\"mauve\"]=\"uncount\"\n+partly_noncount[\"mead\"]=\"uncount\"\n+partly_noncount[\"meadow\"]=\"uncount\"\n+partly_noncount[\"meal\"]=\"uncount\"\n+partly_noncount[\"meaning\"]=\"uncount\"\n partly_noncount[\"measure\"]=\"uncount\"\n+partly_noncount[\"measurement\"]=\"uncount\"\n+partly_noncount[\"medium\"]=\"uncount\"\n+partly_noncount[\"meerschaum\"]=\"uncount\"\n+partly_noncount[\"melioration\"]=\"uncount\"\n+partly_noncount[\"melodrama\"]=\"uncount\"\n+partly_noncount[\"melting\"]=\"uncount\"\n+partly_noncount[\"membership\"]=\"uncount\"\n+partly_noncount[\"membrane\"]=\"uncount\"\n+partly_noncount[\"memory\"]=\"uncount\"\n partly_noncount[\"menace\"]=\"uncount\"\n+partly_noncount[\"mercury\"]=\"uncount\"\n+partly_noncount[\"merger\"]=\"uncount\"\n+partly_noncount[\"meringue\"]=\"uncount\"\n partly_noncount[\"merit\"]=\"uncount\"\n+partly_noncount[\"merriment\"]=\"uncount\"\n+partly_noncount[\"mescal\"]=\"uncount\"\n partly_noncount[\"mess\"]=\"uncount\"\n+partly_noncount[\"metaphor\"]=\"uncount\"\n+partly_noncount[\"methionine\"]=\"uncount\"\n+partly_noncount[\"method\"]=\"uncount\"\n+partly_noncount[\"methyl\"]=\"uncount\"\n+partly_noncount[\"metre\"]=\"uncount\"\n+partly_noncount[\"mezzotint\"]=\"uncount\"\n+partly_noncount[\"microfiche\"]=\"uncount\"\n partly_noncount[\"microfilm\"]=\"uncount\"\n+partly_noncount[\"middle\"]=\"uncount\"\n+partly_noncount[\"midnight\"]=\"uncount\"\n+partly_noncount[\"mile\"]=\"uncount\"\n+partly_noncount[\"mileage\"]=\"uncount\"\n+partly_noncount[\"milkweed\"]=\"uncount\"\n partly_noncount[\"mime\"]=\"uncount\"\n+partly_noncount[\"mimosa\"]=\"uncount\"\n partly_noncount[\"mind\"]=\"uncount\"\n+partly_noncount[\"miniature\"]=\"uncount\"\n+partly_noncount[\"mink\"]=\"uncount\"\n+partly_noncount[\"minority\"]=\"uncount\"\n partly_noncount[\"mint\"]=\"uncount\"\n+partly_noncount[\"mirth\"]=\"uncount\"\n+partly_noncount[\"misadventure\"]=\"uncount\"\n+partly_noncount[\"misapprehension\"]=\"uncount\"\n+partly_noncount[\"miscarriage\"]=\"uncount\"\n+partly_noncount[\"mischance\"]=\"uncount\"\n+partly_noncount[\"mischief\"]=\"uncount\"\n+partly_noncount[\"misery\"]=\"uncount\"\n+partly_noncount[\"misfortune\"]=\"uncount\"\n+partly_noncount[\"misgiving\"]=\"uncount\"\n+partly_noncount[\"mishap\"]=\"uncount\"\n+partly_noncount[\"miss\"]=\"uncount\"\n+partly_noncount[\"missionary\"]=\"uncount\"\n partly_noncount[\"mist\"]=\"uncount\"\n+partly_noncount[\"misunderstanding\"]=\"uncount\"\n+partly_noncount[\"misuse\"]=\"uncount\"\n+partly_noncount[\"mixture\"]=\"uncount\"\n+partly_noncount[\"mobility\"]=\"uncount\"\n+partly_noncount[\"moccasin\"]=\"uncount\"\n+partly_noncount[\"modesty\"]=\"uncount\"\n+partly_noncount[\"moisture\"]=\"uncount\"\n+partly_noncount[\"moment\"]=\"uncount\"\n+partly_noncount[\"momentum\"]=\"uncount\"\n+partly_noncount[\"money\"]=\"uncount\"\n+partly_noncount[\"monomania\"]=\"uncount\"\n+partly_noncount[\"monoxide\"]=\"uncount\"\n partly_noncount[\"moor\"]=\"uncount\"\n+partly_noncount[\"moorland\"]=\"uncount\"\n+partly_noncount[\"morning\"]=\"uncount\"\n+partly_noncount[\"mortality\"]=\"uncount\"\n partly_noncount[\"mortar\"]=\"uncount\"\n+partly_noncount[\"mother\"]=\"uncount\"\n partly_noncount[\"mould\"]=\"uncount\"\n+partly_noncount[\"moulding\"]=\"uncount\"\n+partly_noncount[\"mousse\"]=\"uncount\"\n+partly_noncount[\"mouth\"]=\"uncount\"\n+partly_noncount[\"movement\"]=\"uncount\"\n+partly_noncount[\"muck\"]=\"uncount\"\n+partly_noncount[\"mud\"]=\"uncount\"\n+partly_noncount[\"mugging\"]=\"uncount\"\n+partly_noncount[\"multitude\"]=\"uncount\"\n+partly_noncount[\"mummy\"]=\"uncount\"\n+partly_noncount[\"murder\"]=\"uncount\"\n partly_noncount[\"muscle\"]=\"uncount\"\n+partly_noncount[\"music\"]=\"uncount\"\n partly_noncount[\"muss\"]=\"uncount\"\n partly_noncount[\"must\"]=\"uncount\"\n+partly_noncount[\"mystery\"]=\"uncount\"\n+partly_noncount[\"myth\"]=\"uncount\"\n partly_noncount[\"nap\"]=\"uncount\"\n+partly_noncount[\"narrative\"]=\"uncount\"\n+partly_noncount[\"nationalization\"]=\"uncount\"\n+partly_noncount[\"nature\"]=\"uncount\"\n+partly_noncount[\"naught\"]=\"uncount\"\n partly_noncount[\"need\"]=\"uncount\"\n+partly_noncount[\"negligee\"]=\"uncount\"\n+partly_noncount[\"negligence\"]=\"uncount\"\n partly_noncount[\"nerve\"]=\"uncount\"\n partly_noncount[\"net\"]=\"uncount\"\n partly_noncount[\"nickel\"]=\"uncount\"\n+partly_noncount[\"night\"]=\"uncount\"\n+partly_noncount[\"nitrogen\"]=\"uncount\"\n partly_noncount[\"noise\"]=\"uncount\"\n+partly_noncount[\"nomination\"]=\"uncount\"\n+partly_noncount[\"non-compliance\"]=\"uncount\"\n+partly_noncount[\"non-payment\"]=\"uncount\"\n+partly_noncount[\"nonchalance\"]=\"uncount\"\n+partly_noncount[\"nonpayment\"]=\"uncount\"\n+partly_noncount[\"nonsense\"]=\"uncount\"\n partly_noncount[\"note\"]=\"uncount\"\n partly_noncount[\"notice\"]=\"uncount\"\n+partly_noncount[\"nougat\"]=\"uncount\"\n+partly_noncount[\"number\"]=\"uncount\"\n partly_noncount[\"nurse\"]=\"uncount\"\n+partly_noncount[\"nutmeg\"]=\"uncount\"\n+partly_noncount[\"oak\"]=\"uncount\"\n+partly_noncount[\"obedience\"]=\"uncount\"\n+partly_noncount[\"obeisance\"]=\"uncount\"\n+partly_noncount[\"obscurity\"]=\"uncount\"\n+partly_noncount[\"observance\"]=\"uncount\"\n+partly_noncount[\"obsession\"]=\"uncount\"\n partly_noncount[\"occasion\"]=\"uncount\"\n+partly_noncount[\"occurrence\"]=\"uncount\"\n+partly_noncount[\"odour\"]=\"uncount\"\n+partly_noncount[\"offence\"]=\"uncount\"\n+partly_noncount[\"offering\"]=\"uncount\"\n+partly_noncount[\"office\"]=\"uncount\"\n+partly_noncount[\"oilskin\"]=\"uncount\"\n+partly_noncount[\"ointment\"]=\"uncount\"\n partly_noncount[\"omen\"]=\"uncount\"\n+partly_noncount[\"omission\"]=\"uncount\"\n+partly_noncount[\"onion\"]=\"uncount\"\n+partly_noncount[\"onus\"]=\"uncount\"\n+partly_noncount[\"opening\"]=\"uncount\"\n+partly_noncount[\"openness\"]=\"uncount\"\n+partly_noncount[\"opera\"]=\"uncount\"\n+partly_noncount[\"opinion\"]=\"uncount\"\n+partly_noncount[\"opportunity\"]=\"uncount\"\n+partly_noncount[\"orange\"]=\"uncount\"\n+partly_noncount[\"oratorio\"]=\"uncount\"\n partly_noncount[\"order\"]=\"uncount\"\n+partly_noncount[\"ordination\"]=\"uncount\"\n+partly_noncount[\"ore\"]=\"uncount\"\n+partly_noncount[\"origin\"]=\"uncount\"\n+partly_noncount[\"originality\"]=\"uncount\"\n+partly_noncount[\"ormolu\"]=\"uncount\"\n+partly_noncount[\"ornament\"]=\"uncount\"\n+partly_noncount[\"otter\"]=\"uncount\"\n+partly_noncount[\"outlay\"]=\"uncount\"\n+partly_noncount[\"output\"]=\"uncount\"\n partly_noncount[\"outrage\"]=\"uncount\"\n+partly_noncount[\"over-reading\"]=\"uncount\"\n+partly_noncount[\"over-simplification\"]=\"uncount\"\n+partly_noncount[\"overexposure\"]=\"uncount\"\n+partly_noncount[\"overgrowth\"]=\"uncount\"\n+partly_noncount[\"overhead\"]=\"uncount\"\n+partly_noncount[\"overindulgence\"]=\"uncount\"\n+partly_noncount[\"overlap\"]=\"uncount\"\n+partly_noncount[\"overpayment\"]=\"uncount\"\n+partly_noncount[\"oversight\"]=\"uncount\"\n+partly_noncount[\"overstatement\"]=\"uncount\"\n+partly_noncount[\"overtime\"]=\"uncount\"\n+partly_noncount[\"ownership\"]=\"uncount\"\n+partly_noncount[\"oxide\"]=\"uncount\"\n+partly_noncount[\"oxygen\"]=\"uncount\"\n+partly_noncount[\"pace\"]=\"uncount\"\n+partly_noncount[\"packaging\"]=\"uncount\"\n+partly_noncount[\"padding\"]=\"uncount\"\n partly_noncount[\"pain\"]=\"uncount\"\n+partly_noncount[\"painting\"]=\"uncount\"\n+partly_noncount[\"palace\"]=\"uncount\"\n partly_noncount[\"palaver\"]=\"uncount\"\n partly_noncount[\"pan\"]=\"uncount\"\n+partly_noncount[\"pandemonium\"]=\"uncount\"\n partly_noncount[\"panic\"]=\"uncount\"\n+partly_noncount[\"pantomime\"]=\"uncount\"\n+partly_noncount[\"paperwork\"]=\"uncount\"\n+partly_noncount[\"par\"]=\"uncount\"\n partly_noncount[\"parade\"]=\"uncount\"\n+partly_noncount[\"paradise\"]=\"uncount\"\n partly_noncount[\"parallel\"]=\"uncount\"\n+partly_noncount[\"parchment\"]=\"uncount\"\n partly_noncount[\"pardon\"]=\"uncount\"\n+partly_noncount[\"parking\"]=\"uncount\"\n+partly_noncount[\"parliament\"]=\"uncount\"\n+partly_noncount[\"parricide\"]=\"uncount\"\n+partly_noncount[\"part\"]=\"uncount\"\n+partly_noncount[\"part\"]=\"uncount\"\n+partly_noncount[\"parting\"]=\"uncount\"\n+partly_noncount[\"partnership\"]=\"uncount\"\n+partly_noncount[\"partridge\"]=\"uncount\"\n+partly_noncount[\"party\"]=\"uncount\"\n+partly_noncount[\"passage\"]=\"uncount\"\n+partly_noncount[\"passing\"]=\"uncount\"\n+partly_noncount[\"passion\"]=\"uncount\"\n partly_noncount[\"paste\"]=\"uncount\"\n partly_noncount[\"pasture\"]=\"uncount\"\n+partly_noncount[\"patience\"]=\"uncount\"\n+partly_noncount[\"patient\"]=\"uncount\"\n+partly_noncount[\"patricide\"]=\"uncount\"\n partly_noncount[\"patrol\"]=\"uncount\"\n+partly_noncount[\"patronage\"]=\"uncount\"\n partly_noncount[\"pawn\"]=\"uncount\"\n+partly_noncount[\"payment\"]=\"uncount\"\n+partly_noncount[\"peace\"]=\"uncount\"\n+partly_noncount[\"pear\"]=\"uncount\"\n+partly_noncount[\"pedigree\"]=\"uncount\"\n partly_noncount[\"pee\"]=\"uncount\"\n+partly_noncount[\"pension\"]=\"uncount\"\n partly_noncount[\"people\"]=\"uncount\"\n+partly_noncount[\"peppermint\"]=\"uncount\"\n+partly_noncount[\"percentage\"]=\"uncount\"\n+partly_noncount[\"percussion\"]=\"uncount\"\n+partly_noncount[\"peregrination\"]=\"uncount\"\n+partly_noncount[\"perforation\"]=\"uncount\"\n+partly_noncount[\"performance\"]=\"uncount\"\n partly_noncount[\"peril\"]=\"uncount\"\n+partly_noncount[\"permanganate\"]=\"uncount\"\n+partly_noncount[\"permission\"]=\"uncount\"\n+partly_noncount[\"peroxide\"]=\"uncount\"\n+partly_noncount[\"perpendicular\"]=\"uncount\"\n+partly_noncount[\"personality\"]=\"uncount\"\n+partly_noncount[\"perspective\"]=\"uncount\"\n+partly_noncount[\"persuasion\"]=\"uncount\"\n+partly_noncount[\"perusal\"]=\"uncount\"\n+partly_noncount[\"perversion\"]=\"uncount\"\n+partly_noncount[\"pesticide\"]=\"uncount\"\n+partly_noncount[\"pestilence\"]=\"uncount\"\n+partly_noncount[\"petrol\"]=\"uncount\"\n+partly_noncount[\"pheasant\"]=\"uncount\"\n+partly_noncount[\"philosophy\"]=\"uncount\"\n+partly_noncount[\"phosphate\"]=\"uncount\"\n+partly_noncount[\"photogravure\"]=\"uncount\"\n+partly_noncount[\"physique\"]=\"uncount\"\n+partly_noncount[\"piano\"]=\"uncount\"\n+partly_noncount[\"picking\"]=\"uncount\"\n partly_noncount[\"pickle\"]=\"uncount\"\n+partly_noncount[\"pie\"]=\"uncount\"\n partly_noncount[\"pig\"]=\"uncount\"\n+partly_noncount[\"pigment\"]=\"uncount\"\n+partly_noncount[\"pilchard\"]=\"uncount\"\n partly_noncount[\"pile\"]=\"uncount\"\n+partly_noncount[\"pimento\"]=\"uncount\"\n partly_noncount[\"pine\"]=\"uncount\"\n+partly_noncount[\"pineapple\"]=\"uncount\"\n partly_noncount[\"pink\"]=\"uncount\"\n partly_noncount[\"pique\"]=\"uncount\"\n partly_noncount[\"pitch\"]=\"uncount\"\n+partly_noncount[\"pity\"]=\"uncount\"\n+partly_noncount[\"place\"]=\"uncount\"\n+partly_noncount[\"placement\"]=\"uncount\"\n+partly_noncount[\"plague\"]=\"uncount\"\n+partly_noncount[\"plaid\"]=\"uncount\"\n+partly_noncount[\"planning\"]=\"uncount\"\n partly_noncount[\"plant\"]=\"uncount\"\n+partly_noncount[\"plaque\"]=\"uncount\"\n partly_noncount[\"plaster\"]=\"uncount\"\n partly_noncount[\"plate\"]=\"uncount\"\n+partly_noncount[\"platitude\"]=\"uncount\"\n partly_noncount[\"play\"]=\"uncount\"\n+partly_noncount[\"pleasure\"]=\"uncount\"\n+partly_noncount[\"pleasure\"]=\"uncount\"\n partly_noncount[\"pledge\"]=\"uncount\"\n+partly_noncount[\"pleonasm\"]=\"uncount\"\n partly_noncount[\"plonk\"]=\"uncount\"\n partly_noncount[\"plough\"]=\"uncount\"\n partly_noncount[\"pluck\"]=\"uncount\"\n+partly_noncount[\"plumbago\"]=\"uncount\"\n+partly_noncount[\"plutonium\"]=\"uncount\"\n+partly_noncount[\"pocket\"]=\"uncount\"\n+partly_noncount[\"pocket-money\"]=\"uncount\"\n+partly_noncount[\"poetry\"]=\"uncount\"\n partly_noncount[\"point\"]=\"uncount\"\n+partly_noncount[\"poker\"]=\"uncount\"\n+partly_noncount[\"policy\"]=\"uncount\"\n partly_noncount[\"polish\"]=\"uncount\"\n+partly_noncount[\"pomp\"]=\"uncount\"\n+partly_noncount[\"pontoon\"]=\"uncount\"\n partly_noncount[\"pool\"]=\"uncount\"\n partly_noncount[\"pop\"]=\"uncount\"\n+partly_noncount[\"poplar\"]=\"uncount\"\n+partly_noncount[\"population\"]=\"uncount\"\n+partly_noncount[\"porn\"]=\"uncount\"\n+partly_noncount[\"pornography\"]=\"uncount\"\n partly_noncount[\"port\"]=\"uncount\"\n+partly_noncount[\"portage\"]=\"uncount\"\n+partly_noncount[\"porter\"]=\"uncount\"\n+partly_noncount[\"portrayal\"]=\"uncount\"\n+partly_noncount[\"possession\"]=\"uncount\"\n+partly_noncount[\"post\"]=\"uncount\"\n+partly_noncount[\"posterity\"]=\"uncount\"\n+partly_noncount[\"postponement\"]=\"uncount\"\n partly_noncount[\"posture\"]=\"uncount\"\n+partly_noncount[\"posturing\"]=\"uncount\"\n+partly_noncount[\"potency\"]=\"uncount\"\n+partly_noncount[\"potential\"]=\"uncount\"\n+partly_noncount[\"pottage\"]=\"uncount\"\n+partly_noncount[\"pounding\"]=\"uncount\"\n+partly_noncount[\"poverty\"]=\"uncount\"\n partly_noncount[\"powder\"]=\"uncount\"\n partly_noncount[\"power\"]=\"uncount\"\n+partly_noncount[\"practice\"]=\"uncount\"\n+partly_noncount[\"practise\"]=\"uncount\"\n+partly_noncount[\"prayer\"]=\"uncount\"\n+partly_noncount[\"precept\"]=\"uncount\"\n+partly_noncount[\"preference\"]=\"uncount\"\n partly_noncount[\"prejudice\"]=\"uncount\"\n+partly_noncount[\"prep\"]=\"uncount\"\n+partly_noncount[\"present\"]=\"uncount\"\n+partly_noncount[\"president\"]=\"uncount\"\n+partly_noncount[\"press\"]=\"uncount\"\n+partly_noncount[\"pressure\"]=\"uncount\"\n+partly_noncount[\"prestige\"]=\"uncount\"\n+partly_noncount[\"pretence\"]=\"uncount\"\n+partly_noncount[\"pretension\"]=\"uncount\"\n+partly_noncount[\"prevision\"]=\"uncount\"\n partly_noncount[\"price\"]=\"uncount\"\n partly_noncount[\"pride\"]=\"uncount\"\n+partly_noncount[\"principle\"]=\"uncount\"\n partly_noncount[\"print\"]=\"uncount\"\n+partly_noncount[\"printing\"]=\"uncount\"\n+partly_noncount[\"printout\"]=\"uncount\"\n+partly_noncount[\"priority\"]=\"uncount\"\n+partly_noncount[\"prison\"]=\"uncount\"\n+partly_noncount[\"privilege\"]=\"uncount\"\n partly_noncount[\"probate\"]=\"uncount\"\n+partly_noncount[\"problem\"]=\"uncount\"\n+partly_noncount[\"procedure\"]=\"uncount\"\n+partly_noncount[\"proceeding\"]=\"uncount\"\n partly_noncount[\"process\"]=\"uncount\"\n+partly_noncount[\"processing\"]=\"uncount\"\n+partly_noncount[\"procession\"]=\"uncount\"\n+partly_noncount[\"procrastination\"]=\"uncount\"\n+partly_noncount[\"profanation\"]=\"uncount\"\n partly_noncount[\"profile\"]=\"uncount\"\n partly_noncount[\"profit\"]=\"uncount\"\n+partly_noncount[\"progression\"]=\"uncount\"\n+partly_noncount[\"project\"]=\"uncount\"\n+partly_noncount[\"prominence\"]=\"uncount\"\n partly_noncount[\"promise\"]=\"uncount\"\n+partly_noncount[\"prompting\"]=\"uncount\"\n partly_noncount[\"proof\"]=\"uncount\"\n+partly_noncount[\"propellant\"]=\"uncount\"\n+partly_noncount[\"propellent\"]=\"uncount\"\n+partly_noncount[\"property\"]=\"uncount\"\n+partly_noncount[\"proposal\"]=\"uncount\"\n+partly_noncount[\"prospect\"]=\"uncount\"\n+partly_noncount[\"protein\"]=\"uncount\"\n+partly_noncount[\"protest\"]=\"uncount\"\n+partly_noncount[\"protocol\"]=\"uncount\"\n+partly_noncount[\"protrusion\"]=\"uncount\"\n+partly_noncount[\"protuberance\"]=\"uncount\"\n partly_noncount[\"provision\"]=\"uncount\"\n+partly_noncount[\"proxy\"]=\"uncount\"\n+partly_noncount[\"pseudointellectualism\"]=\"uncount\"\n+partly_noncount[\"public\"]=\"uncount\"\n+partly_noncount[\"publicity\"]=\"uncount\"\n+partly_noncount[\"pudding\"]=\"uncount\"\n partly_noncount[\"puddle\"]=\"uncount\"\n partly_noncount[\"pull\"]=\"uncount\"\n partly_noncount[\"pulp\"]=\"uncount\"\n partly_noncount[\"pulse\"]=\"uncount\"\n partly_noncount[\"punch\"]=\"uncount\"\n+partly_noncount[\"punctilio\"]=\"uncount\"\n+partly_noncount[\"punishment\"]=\"uncount\"\n+partly_noncount[\"punk\"]=\"uncount\"\n partly_noncount[\"purchase\"]=\"uncount\"\n+partly_noncount[\"purchasing\"]=\"uncount\"\n+partly_noncount[\"purple\"]=\"uncount\"\n partly_noncount[\"purpose\"]=\"uncount\"\n+partly_noncount[\"pursuit\"]=\"uncount\"\n+partly_noncount[\"purveyance\"]=\"uncount\"\n+partly_noncount[\"pus\"]=\"uncount\"\n partly_noncount[\"push\"]=\"uncount\"\n+partly_noncount[\"quality\"]=\"uncount\"\n partly_noncount[\"quarter\"]=\"uncount\"\n+partly_noncount[\"questioning\"]=\"uncount\"\n+partly_noncount[\"quicksand\"]=\"uncount\"\n partly_noncount[\"race\"]=\"uncount\"\n partly_noncount[\"rack\"]=\"uncount\"\n partly_noncount[\"racket\"]=\"uncount\"\n+partly_noncount[\"radar\"]=\"uncount\"\n+partly_noncount[\"radio\"]=\"uncount\"\n+partly_noncount[\"radioactivity\"]=\"uncount\"\n partly_noncount[\"rage\"]=\"uncount\"\n+partly_noncount[\"ragout\"]=\"uncount\"\n partly_noncount[\"railing\"]=\"uncount\"\n+partly_noncount[\"rainfall\"]=\"uncount\"\n+partly_noncount[\"rainforest\"]=\"uncount\" \n+partly_noncount[\"ram\"]=\"uncount\"\n+partly_noncount[\"range\"]=\"uncount\" \n partly_noncount[\"rank\"]=\"uncount\"\n partly_noncount[\"ransom\"]=\"uncount\"\n partly_noncount[\"rape\"]=\"uncount\"\n+partly_noncount[\"rapport\"]=\"uncount\"\n+partly_noncount[\"rapture\"]=\"uncount\"\n+partly_noncount[\"rarebit\"]=\"uncount\"\n+partly_noncount[\"ratan\"]=\"uncount\"\n+partly_noncount[\"rate\"]=\"uncount\"\n+partly_noncount[\"ratification\"]=\"uncount\"\n+partly_noncount[\"rattan\"]=\"uncount\"\n partly_noncount[\"rattle\"]=\"uncount\"\n partly_noncount[\"ravage\"]=\"uncount\"\n+partly_noncount[\"ravioli\"]=\"uncount\"\n+partly_noncount[\"ravishment\"]=\"uncount\"\n+partly_noncount[\"re-election\"]=\"uncount\"\n partly_noncount[\"reach\"]=\"uncount\"\n+partly_noncount[\"reading\"]=\"uncount\"\n+partly_noncount[\"readmission\"]=\"uncount\"\n+partly_noncount[\"reality\"]=\"uncount\"\n+partly_noncount[\"rearmament\"]=\"uncount\"\n+partly_noncount[\"rearrangement\"]=\"uncount\"\n partly_noncount[\"reason\"]=\"uncount\"\n+partly_noncount[\"reassessment\"]=\"uncount\"\n+partly_noncount[\"reassurance\"]=\"uncount\"\n+partly_noncount[\"rebate\"]=\"uncount\"\n+partly_noncount[\"rebellion\"]=\"uncount\"\n+partly_noncount[\"rebuilding\"]=\"uncount\"\n partly_noncount[\"recall\"]=\"uncount\"\n partly_noncount[\"receipt\"]=\"uncount\"\n+partly_noncount[\"recession\"]=\"uncount\"\n+partly_noncount[\"recitative\"]=\"uncount\"\n+partly_noncount[\"reckoning\"]=\"uncount\"\n partly_noncount[\"recompense\"]=\"uncount\"\n+partly_noncount[\"reconnaissance\"]=\"uncount\"\n+partly_noncount[\"record\"]=\"uncount\"\n+partly_noncount[\"recording\"]=\"uncount\"\n+partly_noncount[\"recourse\"]=\"uncount\"\n+partly_noncount[\"recovery\"]=\"uncount\"\n+partly_noncount[\"recrimination\"]=\"uncount\"\n+partly_noncount[\"recrudescence\"]=\"uncount\"\n+partly_noncount[\"recurrence\"]=\"uncount\"\n+partly_noncount[\"red\"]=\"uncount\"\n+partly_noncount[\"redeployment\"]=\"uncount\"\n+partly_noncount[\"redevelopment\"]=\"uncount\"\n+partly_noncount[\"reed\"]=\"uncount\"\n partly_noncount[\"refashion\"]=\"uncount\"\n+partly_noncount[\"reference\"]=\"uncount\"\n+partly_noncount[\"referendum\"]=\"uncount\"\n+partly_noncount[\"referral\"]=\"uncount\"\n+partly_noncount[\"refinement\"]=\"uncount\"\n+partly_noncount[\"reflexion\"]=\"uncount\"\n partly_noncount[\"reform\"]=\"uncount\"\n+partly_noncount[\"refraction\"]=\"uncount\"\n+partly_noncount[\"refreshment\"]=\"uncount\"\n+partly_noncount[\"refuge\"]=\"uncount\"\n+partly_noncount[\"refund\"]=\"uncount\"\n+partly_noncount[\"refusal\"]=\"uncount\"\n partly_noncount[\"regard\"]=\"uncount\"\n+partly_noncount[\"regicide\"]=\"uncount\"\n+partly_noncount[\"regression\"]=\"uncount\"\n partly_noncount[\"regret\"]=\"uncount\"\n+partly_noncount[\"rehearsal\"]=\"uncount\"\n+partly_noncount[\"reimbursement\"]=\"uncount\"\n+partly_noncount[\"reincarnation\"]=\"uncount\"\n+partly_noncount[\"reinforcement\"]=\"uncount\"\n+partly_noncount[\"reinstatement\"]=\"uncount\"\n+partly_noncount[\"reinsurance\"]=\"uncount\"\n+partly_noncount[\"rejection\"]=\"uncount\"\n+partly_noncount[\"relapse\"]=\"uncount\"\n+partly_noncount[\"relationship\"]=\"uncount\"\n partly_noncount[\"release\"]=\"uncount\"\n+partly_noncount[\"relevance\"]=\"uncount\"\n+partly_noncount[\"reliance\"]=\"uncount\"\n+partly_noncount[\"relief\"]=\"uncount\"\n+partly_noncount[\"religion\"]=\"uncount\"\n partly_noncount[\"relish\"]=\"uncount\"\n partly_noncount[\"remark\"]=\"uncount\"\n+partly_noncount[\"remembrance\"]=\"uncount\"\n+partly_noncount[\"reminiscence\"]=\"uncount\"\n+partly_noncount[\"remission\"]=\"uncount\"\n+partly_noncount[\"remittance\"]=\"uncount\"\n+partly_noncount[\"remonstrance\"]=\"uncount\"\n+partly_noncount[\"remoteness\"]=\"uncount\"\n+partly_noncount[\"removal\"]=\"uncount\"\n+partly_noncount[\"rendering\"]=\"uncount\"\n+partly_noncount[\"renewal\"]=\"uncount\"\n+partly_noncount[\"renovation\"]=\"uncount\"\n partly_noncount[\"rent\"]=\"uncount\"\n+partly_noncount[\"rep\"]=\"uncount\"\n partly_noncount[\"repair\"]=\"uncount\"\n+partly_noncount[\"repartee\"]=\"uncount\"\n+partly_noncount[\"repayment\"]=\"uncount\"\n+partly_noncount[\"repercussion\"]=\"uncount\"\n+partly_noncount[\"repertoire\"]=\"uncount\"\n+partly_noncount[\"replacement\"]=\"uncount\"\n+partly_noncount[\"replenishment\"]=\"uncount\"\n partly_noncount[\"report\"]=\"uncount\"\n+partly_noncount[\"repression\"]=\"uncount\"\n+partly_noncount[\"reprisal\"]=\"uncount\"\n partly_noncount[\"reproach\"]=\"uncount\"\n+partly_noncount[\"reproof\"]=\"uncount\"\n partly_noncount[\"request\"]=\"uncount\"\n partly_noncount[\"rescue\"]=\"uncount\"\n+partly_noncount[\"resemblance\"]=\"uncount\"\n+partly_noncount[\"resentment\"]=\"uncount\"\n partly_noncount[\"reserve\"]=\"uncount\"\n+partly_noncount[\"residence\"]=\"uncount\"\n+partly_noncount[\"resignation\"]=\"uncount\"\n+partly_noncount[\"resin\"]=\"uncount\"\n+partly_noncount[\"resistance\"]=\"uncount\"\n+partly_noncount[\"resistance\"]=\"uncount\"\n partly_noncount[\"resort\"]=\"uncount\"\n+partly_noncount[\"resource\"]=\"uncount\"\n partly_noncount[\"respect\"]=\"uncount\"\n partly_noncount[\"respite\"]=\"uncount\"\n+partly_noncount[\"response\"]=\"uncount\"\n+partly_noncount[\"responsibility\"]=\"uncount\"\n partly_noncount[\"rest\"]=\"uncount\"\n+partly_noncount[\"rest\"]=\"uncount\"\n+partly_noncount[\"restoration\"]=\"uncount\"\n+partly_noncount[\"restorative\"]=\"uncount\"\n+partly_noncount[\"restraint\"]=\"uncount\"\n partly_noncount[\"result\"]=\"uncount\"\n+partly_noncount[\"reticence\"]=\"uncount\"\n+partly_noncount[\"retirement\"]=\"uncount\"\n partly_noncount[\"retort\"]=\"uncount\"\n partly_noncount[\"retreat\"]=\"uncount\"\n+partly_noncount[\"retrenchment\"]=\"uncount\"\n+partly_noncount[\"retrogression\"]=\"uncount\"\n+partly_noncount[\"retroversion\"]=\"uncount\"\n partly_noncount[\"return\"]=\"uncount\"\n+partly_noncount[\"reunion\"]=\"uncount\"\n+partly_noncount[\"revaluation\"]=\"uncount\"\n partly_noncount[\"revel\"]=\"uncount\"\n+partly_noncount[\"revenue\"]=\"uncount\"\n+partly_noncount[\"reverence\"]=\"uncount\"\n+partly_noncount[\"reverie\"]=\"uncount\"\n+partly_noncount[\"reversal\"]=\"uncount\"\n partly_noncount[\"reverse\"]=\"uncount\"\n+partly_noncount[\"reversion\"]=\"uncount\"\n partly_noncount[\"review\"]=\"uncount\"\n+partly_noncount[\"revision\"]=\"uncount\"\n+partly_noncount[\"revival\"]=\"uncount\"\n+partly_noncount[\"revocation\"]=\"uncount\"\n partly_noncount[\"revolt\"]=\"uncount\"\n+partly_noncount[\"revue\"]=\"uncount\"\n partly_noncount[\"reward\"]=\"uncount\"\n partly_noncount[\"rhyme\"]=\"uncount\"\n+partly_noncount[\"rhythm\"]=\"uncount\"\n partly_noncount[\"ricochet\"]=\"uncount\"\n+partly_noncount[\"ridicule\"]=\"uncount\"\n+partly_noncount[\"riding\"]=\"uncount\"\n partly_noncount[\"right\"]=\"uncount\"\n+partly_noncount[\"rigmarole\"]=\"uncount\"\n+partly_noncount[\"rigour\"]=\"uncount\"\n+partly_noncount[\"rind\"]=\"uncount\"\n partly_noncount[\"riot\"]=\"uncount\"\n partly_noncount[\"risk\"]=\"uncount\"\n+partly_noncount[\"risotto\"]=\"uncount\"\n+partly_noncount[\"ritual\"]=\"uncount\"\n+partly_noncount[\"rivalry\"]=\"uncount\"\n+partly_noncount[\"roan\"]=\"uncount\"\n partly_noncount[\"roast\"]=\"uncount\"\n+partly_noncount[\"roasting\"]=\"uncount\"\n partly_noncount[\"rock\"]=\"uncount\"\n partly_noncount[\"romance\"]=\"uncount\"\n+partly_noncount[\"roof\"]=\"uncount\"\n partly_noncount[\"room\"]=\"uncount\"\n partly_noncount[\"rose\"]=\"uncount\"\n+partly_noncount[\"rotogravure\"]=\"uncount\"\n partly_noncount[\"rough\"]=\"uncount\"\n partly_noncount[\"round\"]=\"uncount\"\n partly_noncount[\"route\"]=\"uncount\"\n+partly_noncount[\"routine\"]=\"uncount\"\n partly_noncount[\"row\"]=\"uncount\"\n partly_noncount[\"rubber\"]=\"uncount\"\n+partly_noncount[\"rubbing\"]=\"uncount\"\n+partly_noncount[\"rubbish\"]=\"uncount\"\n+partly_noncount[\"rudder\"]=\"uncount\"\n+partly_noncount[\"rugby\"]=\"uncount\"\n partly_noncount[\"ruin\"]=\"uncount\"\n partly_noncount[\"rule\"]=\"uncount\"\n partly_noncount[\"rumble\"]=\"uncount\"\n partly_noncount[\"rumour\"]=\"uncount\"\n+partly_noncount[\"running\"]=\"uncount\"\n partly_noncount[\"rupture\"]=\"uncount\"\n partly_noncount[\"rush\"]=\"uncount\"\n+partly_noncount[\"russet\"]=\"uncount\"\n partly_noncount[\"rustling\"]=\"uncount\"\n partly_noncount[\"rut\"]=\"uncount\"\n+partly_noncount[\"sable\"]=\"uncount\"\n partly_noncount[\"sack\"]=\"uncount\"\n partly_noncount[\"sacrifice\"]=\"uncount\"\n+partly_noncount[\"sadness\"]=\"uncount\"\n+partly_noncount[\"safari\"]=\"uncount\"\n+partly_noncount[\"saffron\"]=\"uncount\"\n+partly_noncount[\"sage\"]=\"uncount\"\n partly_noncount[\"sail\"]=\"uncount\"\n+partly_noncount[\"sailing\"]=\"uncount\"\n+partly_noncount[\"sale\"]=\"uncount\"\n+partly_noncount[\"saline\"]=\"uncount\"\n partly_noncount[\"salve\"]=\"uncount\"\n+partly_noncount[\"sanctuary\"]=\"uncount\"\n+partly_noncount[\"sanding\"]=\"uncount\"\n partly_noncount[\"sandpaper\"]=\"uncount\"\n partly_noncount[\"sap\"]=\"uncount\"\n+partly_noncount[\"sapphire\"]=\"uncount\"\n+partly_noncount[\"sarcasm\"]=\"uncount\"\n+partly_noncount[\"sardine\"]=\"uncount\"\n+partly_noncount[\"satire\"]=\"uncount\"\n+partly_noncount[\"sausage\"]=\"uncount\"\n+partly_noncount[\"saveloy\"]=\"uncount\"\n partly_noncount[\"savour\"]=\"uncount\"\n+partly_noncount[\"savoy\"]=\"uncount\"\n+partly_noncount[\"scab\"]=\"uncount\"\n partly_noncount[\"scale\"]=\"uncount\"\n+partly_noncount[\"scandal\"]=\"uncount\"\n+partly_noncount[\"scarlet\"]=\"uncount\"\n partly_noncount[\"scent\"]=\"uncount\"\n+partly_noncount[\"schnitzel\"]=\"uncount\"\n+partly_noncount[\"scholarship\"]=\"uncount\"\n partly_noncount[\"school\"]=\"uncount\"\n+partly_noncount[\"schooling\"]=\"uncount\"\n+partly_noncount[\"schooltime\"]=\"uncount\"\n+partly_noncount[\"science\"]=\"uncount\"\n+partly_noncount[\"scope\"]=\"uncount\"\n+partly_noncount[\"scorn\"]=\"uncount\"\n partly_noncount[\"scotch\"]=\"uncount\"\n partly_noncount[\"scrabble\"]=\"uncount\"\n partly_noncount[\"scrap\"]=\"uncount\"\n+partly_noncount[\"scrapping\"]=\"uncount\"\n+partly_noncount[\"scratching\"]=\"uncount\"\n+partly_noncount[\"scree\"]=\"uncount\"\n+partly_noncount[\"screening\"]=\"uncount\"\n partly_noncount[\"screw\"]=\"uncount\"\n partly_noncount[\"scribble\"]=\"uncount\"\n+partly_noncount[\"scrip\"]=\"uncount\"\n+partly_noncount[\"script\"]=\"uncount\"\n+partly_noncount[\"scripture\"]=\"uncount\"\n partly_noncount[\"scrub\"]=\"uncount\"\n partly_noncount[\"scruple\"]=\"uncount\"\n+partly_noncount[\"scrutiny\"]=\"uncount\"\n partly_noncount[\"scud\"]=\"uncount\"\n partly_noncount[\"sculpture\"]=\"uncount\"\n+partly_noncount[\"sea\"]=\"uncount\"\n+partly_noncount[\"seafood\"]=\"uncount\"\n+partly_noncount[\"sealskin\"]=\"uncount\"\n partly_noncount[\"search\"]=\"uncount\"\n+partly_noncount[\"seasoning\"]=\"uncount\"\n+partly_noncount[\"seaweed\"]=\"uncount\"\n+partly_noncount[\"secession\"]=\"uncount\"\n+partly_noncount[\"second\"]=\"uncount\"\n+partly_noncount[\"secondary\"]=\"uncount\"\n+partly_noncount[\"secret\"]=\"uncount\"\n+partly_noncount[\"security\"]=\"uncount\"\n+partly_noncount[\"sedative\"]=\"uncount\"\n+partly_noncount[\"sedge\"]=\"uncount\"\n+partly_noncount[\"sediment\"]=\"uncount\"\n+partly_noncount[\"seed\"]=\"uncount\"\n partly_noncount[\"seesaw\"]=\"uncount\"\n+partly_noncount[\"seizure\"]=\"uncount\"\n+partly_noncount[\"self\"]=\"uncount\"\n+partly_noncount[\"self-confidence\"]=\"uncount\"\n+partly_noncount[\"self-examination\"]=\"uncount\"\n+partly_noncount[\"self-interest\"]=\"uncount\"\n+partly_noncount[\"self-sacrifice\"]=\"uncount\"\n+partly_noncount[\"semblance\"]=\"uncount\"\n+partly_noncount[\"sensitivity\"]=\"uncount\"\n+partly_noncount[\"sentiment\"]=\"uncount\"\n+partly_noncount[\"sequence\"]=\"uncount\"\n+partly_noncount[\"seriousness\"]=\"uncount\"\n+partly_noncount[\"serum\"]=\"uncount\"\n partly_noncount[\"service\"]=\"uncount\"\n partly_noncount[\"set\"]=\"uncount\"\n+partly_noncount[\"settlement\"]=\"uncount\"\n+partly_noncount[\"sewerage\"]=\"uncount\"\n partly_noncount[\"sex\"]=\"uncount\"\n partly_noncount[\"shade\"]=\"uncount\"\n+partly_noncount[\"shading\"]=\"uncount\"\n partly_noncount[\"shadow\"]=\"uncount\"\n+partly_noncount[\"shaking\"]=\"uncount\"\n partly_noncount[\"shape\"]=\"uncount\"\n partly_noncount[\"share\"]=\"uncount\"\n+partly_noncount[\"sharkskin\"]=\"uncount\"\n+partly_noncount[\"shelf\"]=\"uncount\"\n+partly_noncount[\"shelling\"]=\"uncount\"\n partly_noncount[\"shelter\"]=\"uncount\"\n+partly_noncount[\"sherbet\"]=\"uncount\"\n partly_noncount[\"shingle\"]=\"uncount\"\n+partly_noncount[\"shipment\"]=\"uncount\"\n partly_noncount[\"shipwreck\"]=\"uncount\"\n+partly_noncount[\"shit\"]=\"uncount\"\n partly_noncount[\"shock\"]=\"uncount\"\n+partly_noncount[\"shooting\"]=\"uncount\"\n partly_noncount[\"shop\"]=\"uncount\"\n+partly_noncount[\"shopping\"]=\"uncount\"\n partly_noncount[\"shore\"]=\"uncount\"\n+partly_noncount[\"shortage\"]=\"uncount\"\n partly_noncount[\"shot\"]=\"uncount\"\n+partly_noncount[\"shouting\"]=\"uncount\"\n partly_noncount[\"show\"]=\"uncount\"\n partly_noncount[\"side\"]=\"uncount\"\n+partly_noncount[\"siege\"]=\"uncount\"\n partly_noncount[\"sight\"]=\"uncount\"\n+partly_noncount[\"sightseeing\"]=\"uncount\"\n+partly_noncount[\"sign\"]=\"uncount\"\n+partly_noncount[\"signal\"]=\"uncount\"\n+partly_noncount[\"signature\"]=\"uncount\"\n+partly_noncount[\"significance\"]=\"uncount\"\n partly_noncount[\"silence\"]=\"uncount\"\n+partly_noncount[\"sillabub\"]=\"uncount\"\n+partly_noncount[\"similarity\"]=\"uncount\"\n+partly_noncount[\"simile\"]=\"uncount\"\n+partly_noncount[\"similitude\"]=\"uncount\"\n+partly_noncount[\"simplicity\"]=\"uncount\"\n partly_noncount[\"sin\"]=\"uncount\"\n+partly_noncount[\"singlestick\"]=\"uncount\"\n+partly_noncount[\"sir\"]=\"uncount\"\n+partly_noncount[\"sirloin\"]=\"uncount\"\n+partly_noncount[\"sirup\"]=\"uncount\"\n partly_noncount[\"size\"]=\"uncount\"\n+partly_noncount[\"skill\"]=\"uncount\"\n partly_noncount[\"skin\"]=\"uncount\"\n+partly_noncount[\"skunk\"]=\"uncount\"\n+partly_noncount[\"sky\"]=\"uncount\"\n partly_noncount[\"slack\"]=\"uncount\"\n partly_noncount[\"slander\"]=\"uncount\"\n partly_noncount[\"slate\"]=\"uncount\"\n+partly_noncount[\"sleep\"]=\"uncount\"\n+partly_noncount[\"slimmer\"]=\"uncount\"\n partly_noncount[\"slip\"]=\"uncount\"\n partly_noncount[\"slope\"]=\"uncount\"\n+partly_noncount[\"sloth\"]=\"uncount\"\n partly_noncount[\"slur\"]=\"uncount\"\n+partly_noncount[\"smacking\"]=\"uncount\"\n partly_noncount[\"smell\"]=\"uncount\"\n+partly_noncount[\"smog\"]=\"uncount\"\n+partly_noncount[\"smoking\"]=\"uncount\"\n partly_noncount[\"smut\"]=\"uncount\"\n partly_noncount[\"snap\"]=\"uncount\"\n+partly_noncount[\"sneezing\"]=\"uncount\"\n+partly_noncount[\"snooker\"]=\"uncount\"\n partly_noncount[\"snuff\"]=\"uncount\"\n+partly_noncount[\"society\"]=\"uncount\"\n partly_noncount[\"sod\"]=\"uncount\"\n+partly_noncount[\"softening\"]=\"uncount\"\n+partly_noncount[\"software\"]=\"uncount\"\n+partly_noncount[\"softwood\"]=\"uncount\"\n partly_noncount[\"solace\"]=\"uncount\"\n+partly_noncount[\"solitaire\"]=\"uncount\"\n+partly_noncount[\"solitude\"]=\"uncount\"\n+partly_noncount[\"solo\"]=\"uncount\"\n+partly_noncount[\"solvent\"]=\"uncount\"\n+partly_noncount[\"song\"]=\"uncount\"\n+partly_noncount[\"soot\"]=\"uncount\"\n+partly_noncount[\"sorrel\"]=\"uncount\"\n partly_noncount[\"sorrow\"]=\"uncount\"\n+partly_noncount[\"sort\"]=\"uncount\"\n+partly_noncount[\"soul\"]=\"uncount\"\n+partly_noncount[\"soul-searching\"]=\"uncount\"\n partly_noncount[\"sound\"]=\"uncount\"\n+partly_noncount[\"space\"]=\"uncount\"\n+partly_noncount[\"spacing\"]=\"uncount\"\n+partly_noncount[\"speech\"]=\"uncount\"\n partly_noncount[\"speed\"]=\"uncount\"\n+partly_noncount[\"speedway\"]=\"uncount\"\n+partly_noncount[\"speedwell\"]=\"uncount\"\n+partly_noncount[\"spending\"]=\"uncount\"\n+partly_noncount[\"sperm\"]=\"uncount\"\n+partly_noncount[\"spermicide\"]=\"uncount\"\n+partly_noncount[\"sphagnum\"]=\"uncount\"\n partly_noncount[\"spice\"]=\"uncount\"\n partly_noncount[\"spin\"]=\"uncount\"\n partly_noncount[\"spirit\"]=\"uncount\"\n partly_noncount[\"spit\"]=\"uncount\"\n+partly_noncount[\"spleen\"]=\"uncount\"\n+partly_noncount[\"splendour\"]=\"uncount\"\n partly_noncount[\"spoil\"]=\"uncount\"\n+partly_noncount[\"sponsorship\"]=\"uncount\"\n partly_noncount[\"sport\"]=\"uncount\"\n partly_noncount[\"sprawl\"]=\"uncount\"\n partly_noncount[\"spray\"]=\"uncount\"\n partly_noncount[\"spring\"]=\"uncount\"\n+partly_noncount[\"springtime\"]=\"uncount\"\n partly_noncount[\"spruce\"]=\"uncount\"\n partly_noncount[\"squeeze\"]=\"uncount\"\n+partly_noncount[\"stability\"]=\"uncount\"\n+partly_noncount[\"stage\"]=\"uncount\"\n+partly_noncount[\"stagecraft\"]=\"uncount\"\n+partly_noncount[\"staging\"]=\"uncount\"\n partly_noncount[\"stain\"]=\"uncount\"\n partly_noncount[\"stalemate\"]=\"uncount\"\n+partly_noncount[\"standard\"]=\"uncount\"\n+partly_noncount[\"standby\"]=\"uncount\"\n partly_noncount[\"staple\"]=\"uncount\"\n+partly_noncount[\"starch\"]=\"uncount\"\n partly_noncount[\"start\"]=\"uncount\"\n partly_noncount[\"state\"]=\"uncount\"\n+partly_noncount[\"statement\"]=\"uncount\"\n+partly_noncount[\"status\"]=\"uncount\"\n+partly_noncount[\"statute\"]=\"uncount\"\n+partly_noncount[\"steak\"]=\"uncount\"\n+partly_noncount[\"steerage\"]=\"uncount\"\n partly_noncount[\"stereotype\"]=\"uncount\"\n+partly_noncount[\"sterling\"]=\"uncount\"\n partly_noncount[\"stew\"]=\"uncount\"\n+partly_noncount[\"stick\"]=\"uncount\"\n+partly_noncount[\"stiffening\"]=\"uncount\"\n partly_noncount[\"sting\"]=\"uncount\"\n partly_noncount[\"stock\"]=\"uncount\"\n+partly_noncount[\"stocktaking\"]=\"uncount\"\n partly_noncount[\"stomach\"]=\"uncount\"\n partly_noncount[\"stone\"]=\"uncount\"\n+partly_noncount[\"stopping\"]=\"uncount\"\n+partly_noncount[\"storage\"]=\"uncount\"\n partly_noncount[\"store\"]=\"uncount\"\n partly_noncount[\"strain\"]=\"uncount\"\n partly_noncount[\"strap\"]=\"uncount\"\n+partly_noncount[\"stratagem\"]=\"uncount\"\n+partly_noncount[\"strategy\"]=\"uncount\"\n+partly_noncount[\"stratification\"]=\"uncount\"\n partly_noncount[\"straw\"]=\"uncount\"\n partly_noncount[\"stress\"]=\"uncount\"\n partly_noncount[\"stretch\"]=\"uncount\"\n+partly_noncount[\"strife\"]=\"uncount\"\n+partly_noncount[\"structure\"]=\"uncount\"\n+partly_noncount[\"strudel\"]=\"uncount\"\n partly_noncount[\"stucco\"]=\"uncount\"\n+partly_noncount[\"study\"]=\"uncount\"\n+partly_noncount[\"stupor\"]=\"uncount\"\n+partly_noncount[\"sturgeon\"]=\"uncount\"\n partly_noncount[\"style\"]=\"uncount\"\n+partly_noncount[\"subdivision\"]=\"uncount\"\n+partly_noncount[\"subject\"]=\"uncount\"\n+partly_noncount[\"subjunctive\"]=\"uncount\"\n+partly_noncount[\"submission\"]=\"uncount\"\n+partly_noncount[\"subordination\"]=\"uncount\"\n+partly_noncount[\"subsidence\"]=\"uncount\"\n+partly_noncount[\"substance\"]=\"uncount\"\n+partly_noncount[\"subterfuge\"]=\"uncount\"\n+partly_noncount[\"subtlety\"]=\"uncount\"\n+partly_noncount[\"success\"]=\"uncount\"\n+partly_noncount[\"succession\"]=\"uncount\"\n+partly_noncount[\"suffering\"]=\"uncount\"\n+partly_noncount[\"suffrage\"]=\"uncount\"\n+partly_noncount[\"suicide\"]=\"uncount\"\n+partly_noncount[\"sulphate\"]=\"uncount\"\n+partly_noncount[\"sulphide\"]=\"uncount\"\n+partly_noncount[\"sulphur\"]=\"uncount\"\n+partly_noncount[\"sum\"]=\"uncount\"\n partly_noncount[\"summer\"]=\"uncount\"\n+partly_noncount[\"summertime\"]=\"uncount\"\n partly_noncount[\"sun\"]=\"uncount\"\n+partly_noncount[\"sunbathing\"]=\"uncount\"\n+partly_noncount[\"sunburn\"]=\"uncount\"\n+partly_noncount[\"sunlight\"]=\"uncount\"\n+partly_noncount[\"sunrise\"]=\"uncount\"\n+partly_noncount[\"sunset\"]=\"uncount\"\n+partly_noncount[\"sunshine\"]=\"uncount\"\n+partly_noncount[\"suntan\"]=\"uncount\"\n+partly_noncount[\"supervision\"]=\"uncount\"\n+partly_noncount[\"supper\"]=\"uncount\"\n+partly_noncount[\"supply\"]=\"uncount\"\n partly_noncount[\"support\"]=\"uncount\"\n+partly_noncount[\"supremacy\"]=\"uncount\"\n+partly_noncount[\"surface\"]=\"uncount\"\n+partly_noncount[\"surgery\"]=\"uncount\"\n+partly_noncount[\"surplus\"]=\"uncount\"\n partly_noncount[\"surprise\"]=\"uncount\"\n partly_noncount[\"surtax\"]=\"uncount\"\n+partly_noncount[\"surveillance\"]=\"uncount\"\n+partly_noncount[\"susceptibility\"]=\"uncount\"\n+partly_noncount[\"suspicion\"]=\"uncount\"\n+partly_noncount[\"suttee\"]=\"uncount\"\n+partly_noncount[\"swagger\"]=\"uncount\"\n partly_noncount[\"swamp\"]=\"uncount\"\n partly_noncount[\"swank\"]=\"uncount\"\n+partly_noncount[\"sway\"]=\"uncount\"\n+partly_noncount[\"swearing\"]=\"uncount\"\n partly_noncount[\"sweat\"]=\"uncount\"\n+partly_noncount[\"sweeping\"]=\"uncount\"\n+partly_noncount[\"sweet\"]=\"uncount\"\n+partly_noncount[\"sweetening\"]=\"uncount\"\n+partly_noncount[\"swelling\"]=\"uncount\"\n partly_noncount[\"swill\"]=\"uncount\"\n+partly_noncount[\"swimming\"]=\"uncount\"\n+partly_noncount[\"sycamore\"]=\"uncount\"\n+partly_noncount[\"sympathy\"]=\"uncount\"\n+partly_noncount[\"synthesis\"]=\"uncount\"\n+partly_noncount[\"syringa\"]=\"uncount\"\n+partly_noncount[\"syrup\"]=\"uncount\"\n+partly_noncount[\"system\"]=\"uncount\"\n partly_noncount[\"taboo\"]=\"uncount\"\n partly_noncount[\"tack\"]=\"uncount\"\n partly_noncount[\"tackle\"]=\"uncount\"\n partly_noncount[\"tag\"]=\"uncount\"\n partly_noncount[\"taint\"]=\"uncount\"\n+partly_noncount[\"talent\"]=\"uncount\"\n partly_noncount[\"talk\"]=\"uncount\"\n+partly_noncount[\"talking\"]=\"uncount\"\n+partly_noncount[\"tamale\"]=\"uncount\"\n+partly_noncount[\"tamarind\"]=\"uncount\"\n+partly_noncount[\"tangerine\"]=\"uncount\"\n partly_noncount[\"tangle\"]=\"uncount\"\n partly_noncount[\"tape\"]=\"uncount\"\n partly_noncount[\"tar\"]=\"uncount\"\n+partly_noncount[\"taro\"]=\"uncount\"\n+partly_noncount[\"tarpaulin\"]=\"uncount\"\n+partly_noncount[\"tartan\"]=\"uncount\"\n+partly_noncount[\"tartar\"]=\"uncount\"\n partly_noncount[\"taste\"]=\"uncount\"\n partly_noncount[\"tax\"]=\"uncount\"\n+partly_noncount[\"teacher\"]=\"uncount\"\n+partly_noncount[\"teaching\"]=\"uncount\"\n+partly_noncount[\"teasing\"]=\"uncount\"\n+partly_noncount[\"technique\"]=\"uncount\"\n partly_noncount[\"telephone\"]=\"uncount\"\n+partly_noncount[\"television\"]=\"uncount\"\n+partly_noncount[\"telly\"]=\"uncount\"\n partly_noncount[\"temper\"]=\"uncount\"\n+partly_noncount[\"temperament\"]=\"uncount\"\n+partly_noncount[\"temperature\"]=\"uncount\"\n+partly_noncount[\"tempo\"]=\"uncount\"\n+partly_noncount[\"tennis\"]=\"uncount\"\n+partly_noncount[\"tension\"]=\"uncount\"\n+partly_noncount[\"tenure\"]=\"uncount\"\n+partly_noncount[\"termination\"]=\"uncount\"\n+partly_noncount[\"territory\"]=\"uncount\" \n+partly_noncount[\"terror\"]=\"uncount\"\n+partly_noncount[\"testimony\"]=\"uncount\"\n+partly_noncount[\"testing\"]=\"uncount\"\n+partly_noncount[\"text\"]=\"uncount\"\n+partly_noncount[\"texture\"]=\"uncount\"\n+partly_noncount[\"thanksgiving\"]=\"uncount\"\n+partly_noncount[\"theatre\"]=\"uncount\"\n+partly_noncount[\"theft\"]=\"uncount\"\n+partly_noncount[\"theory\"]=\"uncount\"\n+partly_noncount[\"thinking\"]=\"uncount\"\n+partly_noncount[\"thorn\"]=\"uncount\"\n partly_noncount[\"thought\"]=\"uncount\"\n+partly_noncount[\"thrall\"]=\"uncount\"\n+partly_noncount[\"threat\"]=\"uncount\"\n partly_noncount[\"throttle\"]=\"uncount\"\n+partly_noncount[\"throughput\"]=\"uncount\"\n partly_noncount[\"thrust\"]=\"uncount\"\n partly_noncount[\"tick\"]=\"uncount\"\n partly_noncount[\"tide\"]=\"uncount\"\n+partly_noncount[\"time\"]=\"uncount\"\n+partly_noncount[\"time-out\"]=\"uncount\"\n+partly_noncount[\"timing\"]=\"uncount\"\n partly_noncount[\"tin\"]=\"uncount\"\n+partly_noncount[\"tissue\"]=\"uncount\"\n+partly_noncount[\"title\"]=\"uncount\"\n+partly_noncount[\"to-ing\"]=\"uncount\"\n+partly_noncount[\"toast\"]=\"uncount\"\n+partly_noncount[\"toffee\"]=\"uncount\"\n partly_noncount[\"toil\"]=\"uncount\"\n+partly_noncount[\"tolerance\"]=\"uncount\"\n+partly_noncount[\"tomato\"]=\"uncount\"\n+partly_noncount[\"tomorrow\"]=\"uncount\"\n partly_noncount[\"tone\"]=\"uncount\"\n+partly_noncount[\"tongue\"]=\"uncount\"\n+partly_noncount[\"top\"]=\"uncount\"\n partly_noncount[\"top-dressing\"]=\"uncount\"\n+partly_noncount[\"torment\"]=\"uncount\"\n+partly_noncount[\"torpor\"]=\"uncount\"\n+partly_noncount[\"torque\"]=\"uncount\"\n partly_noncount[\"torture\"]=\"uncount\"\n partly_noncount[\"touch\"]=\"uncount\"\n+partly_noncount[\"tourist\"]=\"uncount\"\n partly_noncount[\"tow\"]=\"uncount\"\n+partly_noncount[\"town\"]=\"uncount\"\n partly_noncount[\"trace\"]=\"uncount\"\n partly_noncount[\"trade\"]=\"uncount\"\n+partly_noncount[\"trading\"]=\"uncount\"\n+partly_noncount[\"tragedy\"]=\"uncount\"\n+partly_noncount[\"training\"]=\"uncount\"\n+partly_noncount[\"tranquillity\"]=\"uncount\"\n+partly_noncount[\"transfer\"]=\"uncount\"\n+partly_noncount[\"transference\"]=\"uncount\"\n+partly_noncount[\"transfusion\"]=\"uncount\"\n+partly_noncount[\"transgression\"]=\"uncount\"\n+partly_noncount[\"transmission\"]=\"uncount\"\n+partly_noncount[\"transplantation\"]=\"uncount\"\n+partly_noncount[\"transport\"]=\"uncount\"\n+partly_noncount[\"travail\"]=\"uncount\"\n+partly_noncount[\"travelling\"]=\"uncount\"\n+partly_noncount[\"treason\"]=\"uncount\"\n partly_noncount[\"treasure\"]=\"uncount\"\n+partly_noncount[\"treatment\"]=\"uncount\"\n+partly_noncount[\"tree\"]=\"uncount\"\n partly_noncount[\"trespass\"]=\"uncount\"\n+partly_noncount[\"trial\"]=\"uncount\"\n+partly_noncount[\"tribute\"]=\"uncount\"\n partly_noncount[\"trifle\"]=\"uncount\"\n+partly_noncount[\"trimming\"]=\"uncount\"\n partly_noncount[\"triumph\"]=\"uncount\"\n partly_noncount[\"trouble\"]=\"uncount\"\n+partly_noncount[\"truck\"]=\"uncount\"\n partly_noncount[\"trust\"]=\"uncount\"\n+partly_noncount[\"truth\"]=\"uncount\"\n+partly_noncount[\"tube\"]=\"uncount\"\n partly_noncount[\"tuck\"]=\"uncount\"\n+partly_noncount[\"tumescence\"]=\"uncount\"\n+partly_noncount[\"tumult\"]=\"uncount\"\n+partly_noncount[\"tundra\"]=\"uncount\"\n partly_noncount[\"tune\"]=\"uncount\"\n+partly_noncount[\"turbulence\"]=\"uncount\"\n partly_noncount[\"turf\"]=\"uncount\"\n+partly_noncount[\"turkey\"]=\"uncount\"\n+partly_noncount[\"turmoil\"]=\"uncount\"\n+partly_noncount[\"turnover\"]=\"uncount\"\n+partly_noncount[\"turquoise\"]=\"uncount\"\n+partly_noncount[\"tutti-frutti\"]=\"uncount\"\n+partly_noncount[\"tv\"]=\"uncount\"\n+partly_noncount[\"tweed\"]=\"uncount\"\n partly_noncount[\"twist\"]=\"uncount\"\n+partly_noncount[\"tying\"]=\"uncount\"\n partly_noncount[\"type\"]=\"uncount\"\n+partly_noncount[\"uncertainty\"]=\"uncount\"\n+partly_noncount[\"underpayment\"]=\"uncount\"\n+partly_noncount[\"understanding\"]=\"uncount\"\n+partly_noncount[\"understatement\"]=\"uncount\"\n+partly_noncount[\"undertaking\"]=\"uncount\"\n+partly_noncount[\"unemployment\"]=\"uncount\"\n+partly_noncount[\"unguent\"]=\"uncount\"\n+partly_noncount[\"unhappiness\"]=\"uncount\"\n+partly_noncount[\"uniform\"]=\"uncount\"\n+partly_noncount[\"union\"]=\"uncount\"\n+partly_noncount[\"unity\"]=\"uncount\"\n+partly_noncount[\"university\"]=\"uncount\"\n+partly_noncount[\"unpleasantness\"]=\"uncount\"\n+partly_noncount[\"unpopularity\"]=\"uncount\"\n+partly_noncount[\"unrest\"]=\"uncount\"\n+partly_noncount[\"untruth\"]=\"uncount\"\n+partly_noncount[\"upheaval\"]=\"uncount\"\n+partly_noncount[\"uproar\"]=\"uncount\"\n+partly_noncount[\"uptake\"]=\"uncount\"\n partly_noncount[\"urge\"]=\"uncount\"\n+partly_noncount[\"usage\"]=\"uncount\"\n+partly_noncount[\"use\"]=\"uncount\"\n+partly_noncount[\"user\"]=\"uncount\"\n+partly_noncount[\"utility\"]=\"uncount\"\n+partly_noncount[\"utterance\"]=\"uncount\"\n+partly_noncount[\"vaccination\"]=\"uncount\"\n+partly_noncount[\"vaccine\"]=\"uncount\"\n+partly_noncount[\"valence\"]=\"uncount\"\n+partly_noncount[\"validity\"]=\"uncount\"\n partly_noncount[\"value\"]=\"uncount\"\n+partly_noncount[\"vanilla\"]=\"uncount\"\n+partly_noncount[\"vantage\"]=\"uncount\"\n+partly_noncount[\"vapour\"]=\"uncount\"\n+partly_noncount[\"variance\"]=\"uncount\"\n+partly_noncount[\"variety\"]=\"uncount\"\n partly_noncount[\"varnish\"]=\"uncount\"\n+partly_noncount[\"vat\"]=\"uncount\"\n+partly_noncount[\"vehemence\"]=\"uncount\"\n+partly_noncount[\"velvet\"]=\"uncount\"\n partly_noncount[\"veneer\"]=\"uncount\"\n partly_noncount[\"venture\"]=\"uncount\"\n+partly_noncount[\"verbiage\"]=\"uncount\"\n+partly_noncount[\"verisimilitude\"]=\"uncount\"\n+partly_noncount[\"vermilion\"]=\"uncount\"\n+partly_noncount[\"vermouth\"]=\"uncount\"\n+partly_noncount[\"verse\"]=\"uncount\"\n+partly_noncount[\"vestige\"]=\"uncount\"\n+partly_noncount[\"vibrato\"]=\"uncount\"\n+partly_noncount[\"vice\"]=\"uncount\"\n+partly_noncount[\"victory\"]=\"uncount\"\n+partly_noncount[\"video\"]=\"uncount\"\n partly_noncount[\"view\"]=\"uncount\"\n+partly_noncount[\"vigil\"]=\"uncount\"\n+partly_noncount[\"vigour\"]=\"uncount\"\n+partly_noncount[\"vinegar\"]=\"uncount\"\n+partly_noncount[\"vintage\"]=\"uncount\"\n+partly_noncount[\"vinyl\"]=\"uncount\"\n+partly_noncount[\"violence\"]=\"uncount\"\n+partly_noncount[\"violet\"]=\"uncount\"\n+partly_noncount[\"virtue\"]=\"uncount\"\n+partly_noncount[\"virus\"]=\"uncount\"\n+partly_noncount[\"vision\"]=\"uncount\"\n+partly_noncount[\"visitation\"]=\"uncount\"\n+partly_noncount[\"vitamin\"]=\"uncount\"\n+partly_noncount[\"vivisection\"]=\"uncount\"\n+partly_noncount[\"vodka\"]=\"uncount\"\n partly_noncount[\"voice\"]=\"uncount\"\n+partly_noncount[\"volleyball\"]=\"uncount\"\n+partly_noncount[\"voltage\"]=\"uncount\"\n+partly_noncount[\"volume\"]=\"uncount\"\n partly_noncount[\"waffle\"]=\"uncount\"\n partly_noncount[\"wait\"]=\"uncount\"\n+partly_noncount[\"waiting\"]=\"uncount\"\n+partly_noncount[\"walking\"]=\"uncount\"\n+partly_noncount[\"walnut\"]=\"uncount\"\n+partly_noncount[\"wanking\"]=\"uncount\"\n partly_noncount[\"want\"]=\"uncount\"\n partly_noncount[\"war\"]=\"uncount\"\n partly_noncount[\"ward\"]=\"uncount\"\n+partly_noncount[\"warmth\"]=\"uncount\"\n+partly_noncount[\"warning\"]=\"uncount\"\n+partly_noncount[\"warping\"]=\"uncount\"\n partly_noncount[\"warrant\"]=\"uncount\"\n partly_noncount[\"wash\"]=\"uncount\"\n+partly_noncount[\"wash-leather\"]=\"uncount\"\n+partly_noncount[\"washing\"]=\"uncount\"\n+partly_noncount[\"washing-up\"]=\"uncount\"\n+partly_noncount[\"wastage\"]=\"uncount\"\n partly_noncount[\"waste\"]=\"uncount\"\n partly_noncount[\"watch\"]=\"uncount\"\n+partly_noncount[\"watercolour\"]=\"uncount\"\n+partly_noncount[\"wattage\"]=\"uncount\"\n+partly_noncount[\"wattle\"]=\"uncount\"\n partly_noncount[\"wax\"]=\"uncount\"\n+partly_noncount[\"way\"]=\"uncount\"\n+partly_noncount[\"weal\"]=\"uncount\"\n+partly_noncount[\"wealth\"]=\"uncount\"\n+partly_noncount[\"wear\"]=\"uncount\"\n partly_noncount[\"wee\"]=\"uncount\"\n+partly_noncount[\"weed\"]=\"uncount\"\n+partly_noncount[\"weedkiller\"]=\"uncount\"\n partly_noncount[\"weight\"]=\"uncount\"\n+partly_noncount[\"welcome\"]=\"uncount\"\n+partly_noncount[\"welfare\"]=\"uncount\"\n+partly_noncount[\"wheat\"]=\"uncount\"\n+partly_noncount[\"whimsey\"]=\"uncount\"\n+partly_noncount[\"whipping\"]=\"uncount\"\n+partly_noncount[\"whiskey\"]=\"uncount\"\n+partly_noncount[\"whisky\"]=\"uncount\"\n+partly_noncount[\"whistling\"]=\"uncount\"\n+partly_noncount[\"white\"]=\"uncount\"\n+partly_noncount[\"whitethorn\"]=\"uncount\"\n+partly_noncount[\"wick\"]=\"uncount\"\n+partly_noncount[\"width\"]=\"uncount\"\n+partly_noncount[\"wildlife\"]=\"uncount\"\n partly_noncount[\"will\"]=\"uncount\"\n+partly_noncount[\"will-power\"]=\"uncount\"\n+partly_noncount[\"willow\"]=\"uncount\"\n partly_noncount[\"winter\"]=\"uncount\"\n partly_noncount[\"wire\"]=\"uncount\"\n+partly_noncount[\"wisdom\"]=\"uncount\"\n partly_noncount[\"wish\"]=\"uncount\"\n+partly_noncount[\"wisteria\"]=\"uncount\"\n+partly_noncount[\"wit\"]=\"uncount\"\n+partly_noncount[\"withdrawal\"]=\"uncount\"\n partly_noncount[\"witness\"]=\"uncount\"\n+partly_noncount[\"woe\"]=\"uncount\"\n+partly_noncount[\"wold\"]=\"uncount\"\n+partly_noncount[\"woman\"]=\"uncount\"\n partly_noncount[\"wonder\"]=\"uncount\"\n+partly_noncount[\"woodbine\"]=\"uncount\"\n+partly_noncount[\"woodcraft\"]=\"uncount\"\n+partly_noncount[\"woodland\"]=\"uncount\"\n+partly_noncount[\"wool\"]=\"uncount\"\n+partly_noncount[\"word\"]=\"uncount\"\n+partly_noncount[\"work\"]=\"uncount\"\n+partly_noncount[\"world\"]=\"uncount\"\n+partly_noncount[\"worry\"]=\"uncount\"\n+partly_noncount[\"worship\"]=\"uncount\"\n+partly_noncount[\"wow\"]=\"uncount\"\n+partly_noncount[\"wrangling\"]=\"uncount\"\n+partly_noncount[\"wrapping\"]=\"uncount\"\n+partly_noncount[\"wrath\"]=\"uncount\"\n partly_noncount[\"wreck\"]=\"uncount\"\n partly_noncount[\"wrong\"]=\"uncount\"\n+partly_noncount[\"wrongdoing\"]=\"uncount\"\n+partly_noncount[\"year\"]=\"uncount\"\n partly_noncount[\"yellow\"]=\"uncount\"\n+partly_noncount[\"yesteryear\"]=\"uncount\"\n+partly_noncount[\"yew\"]=\"uncount\"\n partly_noncount[\"yield\"]=\"uncount\" \n-partly_noncount[\"courtship\"]=\"uncount\" \n-partly_noncount[\"activity\"]=\"uncount\" \n-partly_noncount[\"jungle\"]=\"uncount\" \n-partly_noncount[\"famine\"]=\"uncount\" \n-partly_noncount[\"forest\"]=\"uncount\" \n-partly_noncount[\"rainforest\"]=\"uncount\" \n-partly_noncount[\"range\"]=\"uncount\" \n-partly_noncount[\"territory\"]=\"uncount\" \n-partly_noncount[\"culture\"]=\"uncount\" \n-partly_noncount[\"length\"]=\"uncount\" \n-partly_noncount[\"diameter\"]=\"uncount\" \n-partly_noncount[\"television\"]=\"uncount\"\n-partly_noncount[\"radio\"]=\"uncount\"\n-partly_noncount[\"broadcast\"]=\"uncount\"\n-partly_noncount[\"home\"]=\"uncount\"\n-partly_noncount[\"transport\"]=\"uncount\"\n-partly_noncount[\"liberty\"]=\"uncount\"\n-partly_noncount[\"virtue\"]=\"uncount\"\n-partly_noncount[\"duty\"]=\"uncount\"\n-partly_noncount[\"strategy\"]=\"uncount\"\n-partly_noncount[\"fertilizer\"]=\"uncount\"\n-partly_noncount[\"default\"]=\"uncount\"\n+partly_noncount[\"yoghourt\"]=\"uncount\"\n+partly_noncount[\"yoghurt\"]=\"uncount\"\n+partly_noncount[\"yolk\"]=\"uncount\"\n+partly_noncount[\"youth\"]=\"uncount\"\n+partly_noncount[\"yuletide\"]=\"uncount\"\n+partly_noncount[\"zander\"]=\"uncount\"\n+partly_noncount[\"zeal\"]=\"uncount\"\n+\n #this should be a pronoun but there ain't such\n #tag in Penn Treebank\n lemma[\"anything\"]=\"uncount\"\n"}
{"commit":"d7f0c1f819f5892e124041ecbe535500e773da0d","subject":"feat: Update to output in markdown format","message":"feat: Update to output in markdown format\n","repos":"ianhenderson\/simple-git-changelog","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changelog.awk\n+++ changelog.awk\n@@ -1,29 +1,44 @@\n #!\/usr\/bin\/awk -f\n BEGIN {\n-\t# Determines whether to print 'Unreleased' banner at top\n-\tUNRELEASED_COMMITS = 1\n+\tREPO_URL = getRepoURL()\n \t# Prefixes that determine whether a commit will be printed\n \tCHANGELOG_REGEX = \"^(changelog|fix|docs|chore|feat|feature|refactor|update): \"\n \tFS=\"|\"\n-\twhile (\"git log --pretty='%D|%s|%H'\" | getline) {\n+\t# %D: tags\n+\t# %s: commit message\n+\t# %H: long hash\n+\t# %h: short hash\n+\twhile (\"git log --pretty='%D|%s|%H|%h'\" | getline) {\n \t\tIS_GIT_TAG = length($1) && match($1, \/tag:\/)\n \t\tif (IS_GIT_TAG) {\n-\t\t\tUNRELEASED_COMMITS = 0\n-\t\t\t# Cut out text up to tag\n-\t\t\tsub(\/.*tag: \/, \"\", $1)\n-\t\t\t# Cut out text after tag\n-\t\t\tsub(\/,.*\/, \"\", $1)\n-\t\t\tprint $1 \n+\t\t\tprintTag($1)\n \t\t} else {\n-\t\t\tif ( UNRELEASED_COMMITS ) {\n-\t\t\t\tprint \"Unreleased\"\n-\t\t\t\tUNRELEASED_COMMITS = 0\n-\t\t\t}\n-\t\t\tif ( match($2, CHANGELOG_REGEX) ) {\n-\t\t\t\tsub(CHANGELOG_REGEX, \"\", $2)\n-\t\t\t\tprintf(\"\\t- %s\\n\", $2)\n-\t\t\t}\n+\t\t\tprintCommit($2, $3, $4)\n \t\t}\n \n \t}\n }\n+function printTag(input) {\n+\t# Cut out text up to tag\n+\tsub(\/.*tag: \/, \"\", input)\n+\t# Cut out text after tag\n+\tsub(\/,.*\/, \"\", input)\n+\tprintf(\"## %s\\n\", input)\n+}\n+function printCommit(input, longHash, shortHash) {\n+\tif ( match(input, CHANGELOG_REGEX) ) {\n+\t\tsub(CHANGELOG_REGEX, \"\", input)\n+\t\tprintf(\"- %s (%s)\\n\", input, makeCommitLink(REPO_URL, shortHash, longHash) )\n+\t}\n+}\n+function makeCommitLink(repoUrl, shortHash, longHash) {\n+\treturn (\"[\" shortHash \"](\" repoUrl \"\/commit\/\" longHash \")\")\n+}\n+# Get Git repo URL\n+function getRepoURL() {\n+\t\"git config --get remote.upstream.url || git config --get remote.origin.url || git config --get remote.dev.url\" | getline REPO_URL\n+\tsub(\/:\/, \"\/\", REPO_URL)\n+\tsub(\/git@\/, \"https:\/\/\", REPO_URL)\n+\tsub(\/\\.git\/, \"\", REPO_URL)\n+\treturn REPO_URL\n+}\n"}
{"commit":"880cb1ba3498ca626f081915ffcd7f854f06f00d","subject":"Add feature to ignore years except for 2005-2012 with manifest status.","message":"Add feature to ignore years except for 2005-2012 with manifest status.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@26149 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -1,5 +1,5 @@\n #!\/usr\/bin\/awk -f\n-# cat *.tdb | tdbout -t publisher,plugin,publisher:info[tester],status\n+# cat *.tdb | tdbout -t publisher,plugin,publisher:info[tester],status,year\n \n BEGIN {\n   FS=\"\\t\"\n@@ -7,6 +7,21 @@\n }\n \n {\n+  # add a loop to add line only if either status is _not_ manifest or ending year is gt or eq to contract year\n+  current_year = 2012\n+  end_year = 0\n+  incontract = 0\n+  test_year = \"\"\n+  test_year = 2005\n+  if (length($5) > 3) {\n+    end_year = substr($5,length($5)-3,4)\n+  }\n+  #printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", $1,$2,$3,$4,$7,end_year,test_year\n+  if (($4 != \"manifest\") || ((end_year >= test_year) && (end_year <= current_year))) {\n+    incontract = 1\n+  }\n+\n+  if (incontract == 1) {\n     nn = split($2,na,\/\\.\/)\n     lp2 = na[nn]\n     if (!(($1,lp2) in b)) {\n@@ -14,12 +29,24 @@\n       n[pn] = lp2\n   #    n[pn] = $2\n       r[pn] = $3\n+      if (r[pn] == \"\") {\n+        if ((substr(p[pn],1,2) >= \"Aa\") && (substr(p[pn],1,2) <= \"Am\")) {\n+          r[pn] = \"7\"\n+        } else if ((substr(p[pn],1,2) >= \"An\") && (substr(p[pn],1,2) <= \"Cz\")) {\n+          r[pn] = \"4\"\n+        } else if ((substr(p[pn],1,2) >= \"Da\") && (substr(p[pn],1,2) <= \"Nz\")) {\n+          r[pn] = \"5\"\n+        } else if (substr(p[pn],1,1) >= \"O\") {\n+          r[pn] = \"8\"\n+        }\n+      }\n       pn++\n     }\n     b[$1,lp2]++\n     c[$1,lp2,$4]++\n     x[$4]++\n     tt++\n+  }\n }\n \n END {\n"}
{"commit":"f4345c3c1f1e04f01925ea661247a6dc888666ce","subject":"Fix &euml; in Acorn titles","message":"Fix &euml; in Acorn titles\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-showPages.awk\n+++ getAcornFrom-showPages.awk\n@@ -23,6 +23,7 @@\n     gsub (\/&amp;\/,\"\\\\&\",showTitle)\n     gsub (\/&quot;\/,\"\\\"\\\"\",showTitle)\n     gsub (\/&#039;\/,\"'\",showTitle)\n+    gsub (\/&euml;\/,\"\u00eb\",showTitle)\n     if (match (showTitle, \/^The \/)) {\n         showTitle = substr(showTitle, 5) \", The\"\n     }\n"}
{"commit":"97270ac47248b43bc43e203432a27392a57228b9","subject":"Main: cleanup","message":"Main: cleanup\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -9,16 +9,18 @@\n \n     split(PROCINFO[\"version\"], group, \".\")\n     if (group[1] < 4) {\n-        e(\"[ERROR] Oops! Your gawk (version \" GawkVersion \") appears to be too old.\\nYou need at least gawk 4.0.0 to run this program.\")\n+        e(\"[ERROR] Oops! Your gawk (version \" GawkVersion \") \"          \\\n+          \"appears to be too old.\\n\"                                    \\\n+          \"        You need at least gawk 4.0.0 to run this program.\")\n         exit 1\n     }\n }\n \n-# Pre-initialization (before option parsing).\n-function preInit() {\n-    initGawk()          #<< AnsiCode\n-\n-    # Languages\n+# Initialization #1. (prior to option parsing)\n+function init1() {\n+    initGawk()          #<< Commons.awk\/AnsiCode\n+\n+    # Languages.awk\n     initBiDi()\n     initLocale()\n     initLocaleDisplay() #<< Locale, BiDi\n@@ -58,23 +60,53 @@\n     Option[\"prompt-color\"] = ENVIRON[\"TRANS_PS_COLOR\"] ? ENVIRON[\"TRANS_PS_COLOR\"] : \"default\"\n \n     Option[\"input\"] = \"\"\n-    Option[\"output\"] = \"\/dev\/stdout\"\n+    Option[\"output\"] = STDOUT\n \n     Option[\"hl\"] = ENVIRON[\"HOME_LANG\"] ? ENVIRON[\"HOME_LANG\"] : UserLang\n     Option[\"sl\"] = ENVIRON[\"SOURCE_LANG\"] ? ENVIRON[\"SOURCE_LANG\"] : \"auto\"\n     Option[\"tl\"][1] = ENVIRON[\"TARGET_LANG\"] ? ENVIRON[\"TARGET_LANG\"] : UserLang\n }\n \n-# Post-initialization (after option parsing).\n-function postInit() {\n-    # Translate\n+# Initialization #2. (prior to interactive mode handling)\n+function init2() {\n+    # Disable ANSI escape codes if required\n+    if (Option[\"no-ansi\"])\n+        delete AnsiCode\n+}\n+\n+# Initialization #3.\n+function init3(    group) {\n+    # Translate.awk\n     initHttpService()\n+\n+    # Initialize browser\n+    if (!Option[\"browser\"]) {\n+        \"xdg-mime query default text\/html\" SUPERR |& getline Option[\"browser\"]\n+        match(Option[\"browser\"], \"(.*).desktop$\", group)\n+        Option[\"browser\"] = group[1]\n+    }\n+\n+    # Initialize audio player or speech synthesizer\n+    if (Option[\"play\"]) {\n+        if (!Option[\"player\"]) {\n+            initAudioPlayer()\n+            Option[\"player\"] = AudioPlayer ? AudioPlayer : Option[\"player\"]\n+            if (!Option[\"player\"])\n+                initSpeechSynthesizer()\n+        }\n+\n+        if (!Option[\"player\"] && !SpeechSynthesizer) {\n+            w(\"[WARNING] No available audio player or speech synthesizer is found.\")\n+            Option[\"play\"] = 0\n+        }\n+    }\n }\n \n # Main entry point.\n BEGIN {\n-    preInit()\n-\n+    init1() # initialization #1\n+\n+    # Option parsing\n     pos = 0\n     while (ARGV[++pos]) {\n         # -, -no-op\n@@ -105,7 +137,7 @@\n             if (ENVIRON[\"TRANS_MANPAGE\"])\n                 system(\"echo -E \\\"${TRANS_MANPAGE}\\\" | \" \\\n                        \"groff -Wall -mtty-char -mandoc -Tutf8 -rLL=${COLUMNS}n -rLT=${COLUMNS}n | \" \\\n-                       (system(\"most 2>\/dev\/null\") ?\n+                       (system(\"most\" SUPERR) ?\n                         \"less -s -P\\\"\\\\ \\\\Manual page \" Command \"(1) line %lt (press h for help or q to quit)\\\"\" :\n                         \"most -Cs\"))\n             else\n@@ -375,8 +407,7 @@\n         break # no more option from here\n     }\n \n-    # Option parsing finished\n-    postInit()\n+    init2() # initialization #2\n \n     if (Option[\"interactive\"] && !Option[\"no-rlwrap\"]) {\n         # Interactive mode\n@@ -427,41 +458,17 @@\n             Option[\"interactive\"] = 1 # skip\n     }\n \n-    if (Option[\"play\"]) {\n-        # Initialize audio player or speech synthesizer\n-        if (!Option[\"player\"]) {\n-            initAudioPlayer()\n-            Option[\"player\"] = AudioPlayer ? AudioPlayer : Option[\"player\"]\n-            if (!Option[\"player\"])\n-                initSpeechSynthesizer()\n-        }\n-\n-        if (!Option[\"player\"] && !SpeechSynthesizer) {\n-            w(\"[WARNING] No available audio player or speech synthesizer is found.\")\n-            Option[\"play\"] = 0\n-        }\n-    }\n-\n     if (Option[\"interactive\"]) {\n-        print AnsiCode[\"bold\"] AnsiCode[tolower(Option[\"prompt-color\"])] getVersion() AnsiCode[0] > \"\/dev\/stderr\"\n-        print AnsiCode[tolower(Option[\"prompt-color\"])] \"(:q to quit)\" AnsiCode[0] > \"\/dev\/stderr\"\n-    }\n-\n-    # Initialize browser\n-    if (!Option[\"browser\"]) {\n-        \"xdg-mime query default text\/html 2>\/dev\/null\" |& getline Option[\"browser\"]\n-        match(Option[\"browser\"], \"(.*).desktop$\", group)\n-        Option[\"browser\"] = group[1]\n-    }\n-\n-    # Disable ANSI SGR (Select Graphic Rendition) codes if required\n-    if (Option[\"no-ansi\"])\n-        delete AnsiCode\n+        print AnsiCode[\"bold\"] AnsiCode[tolower(Option[\"prompt-color\"])] getVersion() AnsiCode[0] > STDERR\n+        print AnsiCode[tolower(Option[\"prompt-color\"])] \"(:q to quit)\" AnsiCode[0] > STDERR\n+    }\n+\n+    init3() # initialization #3\n \n     if (pos < ARGC) {\n         # More parameters\n \n-        # Translate the remaining parameters\n+        # Translate remaining parameters\n         for (i = pos; i < ARGC; i++) {\n             # Verbose mode: separator between sources\n             if (Option[\"verbose\"] && i > pos)\n@@ -475,7 +482,7 @@\n         # No more parameter besides options\n \n         # If input not specified, use stdin\n-        if (!Option[\"input\"]) Option[\"input\"] = \"\/dev\/stdin\"\n+        if (!Option[\"input\"]) Option[\"input\"] = STDIN\n     }\n \n     # If input specified, start translating\n"}
{"commit":"993235cdf3cd9e2a4531830ee986738f15f48678","subject":"Languages: add Yucatec Maya language","message":"Languages: add Yucatec Maya language\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"unknown","license":"unlicense","lang":"Awk","diff":""}
{"commit":"4af41138cb2fd93b99cee4e6627ded6d95a1d011","subject":"Main: two-way connection is not needed for initializing browser","message":"Main: two-way connection is not needed for initializing browser\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -126,7 +126,7 @@\n \n     # Initialize browser\n     if (!Option[\"browser\"]) {\n-        \"xdg-mime query default text\/html\" SUPERR |& getline Option[\"browser\"]\n+        \"xdg-mime query default text\/html\" SUPERR | getline Option[\"browser\"]\n         match(Option[\"browser\"], \"(.*).desktop$\", group)\n         Option[\"browser\"] = group[1]\n     }\n"}
{"commit":"03aa71d135c6879fa52f4ce3baf0b1bb03254052","subject":"Work around a Linux bug on Unsafe*Pointer<va_list>","message":"Work around a Linux bug on Unsafe*Pointer<va_list>\n","repos":"rhx\/SwiftGLib,rhx\/SwiftGLib,rhx\/SwiftGLib","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- GLib-2.0.awk\n+++ GLib-2.0.awk\n@@ -29,6 +29,10 @@\n \tvaptrptr = 1\n \tprint \"#if !os(Linux)\"\n }\n+\/Pointer<va_list>\/ {\n+\tvaptrptr = 1\n+\tprint \"#if !os(Linux)\"\n+}\n \/^$\/ {\n \tif (vaptrptr) {\n \t\tprint \"#endif\"\n"}
{"commit":"b6af0ff040c1519848623959b3c8ce0060f4ce7d","subject":"replace old slidy stylesheet with current one; .oO we could just use a constant html header now","message":"replace old slidy stylesheet with current one; .oO we could just use a constant html header now","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/slidy.awk\n+++ tools\/slidy.awk\n@@ -11,15 +11,25 @@\n   next\n }\n \n-### TODO:\n-#  <link rel=\"stylesheet\" type=\"text\/css\" media=\"screen, projection, print\" href=\"http:\/\/www.w3.org\/Talks\/Tools\/Slidy2\/styles\/slidy.css\" \/> \n-\n-\n \/<script type=\"text\\\/javascript\" charset=\"utf-8\">\/ {\n   print \"  <script src='http:\/\/www.w3.org\/Talks\/Tools\/Slidy2\/scripts\/slidy.js' charset='utf-8' type='text\/javascript'><\/script>\"\n   skipScript = 1\n   next\n }\n+\n+\/<style type=\"text\\\/css\">\/ {\n+  styleEncountered++\n+}\n+\n+styleEncountered == 2 && \/<\\\/style>\/ {\n+  print \"  <link rel='stylesheet' type='text\/css' media='screen, projection, print' href='http:\/\/www.w3.org\/Talks\/Tools\/Slidy2\/styles\/slidy.css' \/>\"\n+  styleEncountered = 3\n+}\n+\n+styleEncountered == 2 {\n+  next\n+}\n+\n \n {\n     sub(\/<title>Haskell: Functional Programming, Solid Code, Big Data<\\\/title>\/, \"<title>Intro \\\\&ldquo;Functional Programming\\\\&rdquo;<\/title>\")\n"}
{"commit":"7b2df64aa1835777b4aa120341a855d2d597ce70","subject":"syscall: Remove a couple more 3-parameter match's in mksyscall.awk.","message":"syscall: Remove a couple more 3-parameter match's in mksyscall.awk.\n\nR=iant\nCC=gofrontend-dev\nhttps:\/\/golang.org\/cl\/5322062\n","repos":"anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,golang\/gofrontend,anlhord\/gofrontend","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- libgo\/go\/syscall\/mksyscall.awk\n+++ libgo\/go\/syscall\/mksyscall.awk\n@@ -170,7 +170,7 @@\n \t    printf(\"\\t}\\n\")\n \n \t    ++carg\n-\t    if (match(cargs[carg], \"^([^ ]*) ([^ ]*)$\", cparam) == 0) {\n+\t    if (split(cargs[carg], cparam) != 2) {\n \t\tprint loc, \"bad C parameter:\", cargs[carg] | \"cat 1>&2\"\n \t\tstatus = 1\n \t\tnext\n@@ -207,7 +207,7 @@\n \t}\n \tusedr = 0\n \tfor (goresult = 1; goresults[goresult] != \"\"; goresult++) {\n-\t    if (match(goresults[goresult], \"^([^ ]*) ([^ ]*)$\", goparam) == 0) {\n+\t    if (split(goresults[goresult], goparam) != 2) {\n \t\tprint loc, \"bad result:\", goresults[goresult] | \"cat 1>&2\"\n \t\tstatus = 1\n \t\tnext\n"}
{"commit":"7d93413d4e56a177cc517890af7c993440ba2a66","subject":"Delete postbanken.awk","message":"Delete postbanken.awk\n\nes funktioniert nicht wie beschrieben und wird jetzt doch nicht mehr gebraucht","repos":"FlatheadV8\/Postbank_PDF2CSV","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- postbanken.awk\n+++ postbanken.awk\n@@ -1,39 +0,0 @@\n-#\n-# Quelle (2014-12-07):\n-# http:\/\/wiki.gnucash.org\/wiki\/FAQ#Q:_How_do_I_convert_from_CSV.2C_TSV.2C_XLS_.28Excel.29.2C_or_SXC_.28OpenOffice.org_Calc.29_to_a_QIF.3F\n-# Anwendung:\n-# awk -f postbanken.awk kontoutskrift.csv > import.qif\n-#\n-# awk convert fra Postbankens CSV til QIF(Gnucash, quicken, osv)\n-# CSV fra Postbanken er ikke en kommaseparert fil, men en tekstfil med feltene p\u00e5 fast plass.\n-# Bruker derfor fieldwidths i awk. Det g\u00e5r ogs\u00e5 ant \u00e5 bruke substr().\n-# Kilder:\n-# http:\/\/wiki.gnucash.org\/wiki\/FAQ\n-# http:\/\/www.ibm.com\/developerworks\/library\/l-awk1.html\n-# http:\/\/www.ibm.com\/developerworks\/library\/l-awk2.html\n-# http:\/\/www.grymoire.com\/Unix\/Awk.html#uh-67\n-# Samt manualen til awk og egrep.\n-#\n-# Bruk filen slik:\n-# $ awk -f postbanken.awk kontoutskrift.csv > import.qif\n-#\n-#\n-# Arve Seljebu - juni 2010\n-\n-\n-# Del opp filen i felter og skriv \"!Type:Bank\" bare en gang i toppen av filen\n-BEGIN {FIELDWIDTHS=\"8 5 17 35 31 11 1 11\"; print \"!Type:Bank\";}\n-# Bare bruk linjen hvis den inneholder dato\n-{ if ($0 ~ \/[0-9][0-9].[0-9][0-9].[0-9][0-9]\/) {\n-# Dato\n-  print \"D\" $1;\n-# Avkommenter neste linje for \u00e5 bruke BETALING, BETALING UTLAND osv som konto\/kategori\n-# print \"L\" $3;\n-# Beskrivelse\/memo\n-  print \"M\" $4;\n-# Debit eller kredit\n-  if ($6 == 0) { print \"T-\" $8; }\n-  else { print \"T\" $6; }\n-  print \"^\";\n-  }\n-}\n"}
{"commit":"0c38c3af55e43ce7dcd8fbd55ff54d608fb9f216","subject":"MFp4:","message":"MFp4:\n\n- Check for duplicated symbols and suggest moving them to ObsoleteVersions.\n- Improve and unify error handling.\n- Make the regular expressions more uniform, robust, and less sensitive\n  to harmless variations in the input such as those to whitespace amount.\n\nReviewed by:\tdeischen\nTested with:\tmd5 (Version.map files in \/usr\/obj stay the same)\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- share\/mk\/version_gen.awk\n+++ share\/mk\/version_gen.awk\n@@ -34,6 +34,8 @@\n #                  version name.\n #   symbols[][] - array index by [version name, symbol index], contains\n #                 names of symbols defined for each version.\n+#   names[] - array index is symbol name and value is count,\n+#\t      used to check for duplicate symbols and warn about them.\n #\n BEGIN {\n \tbrackets = 0;\n@@ -45,10 +47,13 @@\n \t\t# Strip comments.\n \t\tsub(\"#.*$\", \"\", $0);\n \n-\t\t# Strip trailing spaces.\n-\t\tsub(\" *$\", \"\", $0);\n-\n-\t\tif (\/^[ \\t]*[a-zA-Z0-9._]+ *{\/) {\n+\t\t# Strip leading and trailing whitespace.\n+\t\tsub(\"^[ \\t]+\", \"\", $0);\n+\t\tsub(\"[ \\t]+$\", \"\", $0);\n+\n+\t\tif (\/^[a-zA-Z0-9._]+[ \\t]*{$\/) {\n+\t\t\t# Strip brace.\n+\t\t\tsub(\"{\", \"\", $1);\n \t\t\tbrackets++;\n \t\t\tsymver = $1;\n \t\t\tversions[symver] = 1;\n@@ -56,39 +61,56 @@\n \t\t\tgenerated[symver] = 0;\n \t\t\tversion_count++;\n \t\t}\n-\t\telse if (\/^[ \\t]*} *[a-zA-Z0-9._]+ *;\/) {\n+\t\telse if (\/^}[ \\t]*[a-zA-Z0-9._]+[ \\t]*;$\/) {\n+\t\t\tv = $1 != \"}\" ? $1 : $2;\n+\t\t\t# Strip brace.\n+\t\t\tsub(\"}\", \"\", v);\n \t\t\t# Strip semicolon.\n-\t\t\tgsub(\";\", \"\", $2);\n-\t\t\tif (symver == \"\")\n-\t\t\t\tprintf(\"Unmatched bracket.\\n\");\n-\t\t\telse if (versions[$2] != 1)\n-\t\t\t\tprintf(\"File %s: %s has unknown \" \\\n-\t\t\t\t    \"successor %s\\n\", vfile, symver, $2);\n+\t\t\tsub(\";\", \"\", v);\n+\t\t\tif (symver == \"\") {\n+\t\t\t\tprintf(\"File %s: Unmatched bracket.\\n\",\n+\t\t\t\tvfile) > stderr;\n+\t\t\t\terrors++;\n+\t\t\t}\n+\t\t\telse if (versions[v] != 1) {\n+\t\t\t\tprintf(\"File %s: `%s' has unknown \" \\\n+\t\t\t\t    \"successor `%s'.\\n\",\n+\t\t\t\t    vfile, symver, v) > stderr;\n+\t\t\t\terrors++;\n+\t\t\t}\n \t\t\telse\n-\t\t\t\tsuccessors[symver] = $2;\n+\t\t\t\tsuccessors[symver] = v;\n \t\t\tbrackets--;\n \t\t}\n-\t\telse if (\/^[ \\t]*};\/) {\n-\t\t\tif (symver == \"\")\n+\t\telse if (\/^}[ \\t]*;$\/) {\n+\t\t\tif (symver == \"\") {\n \t\t\t\tprintf(\"File %s: Unmatched bracket.\\n\",\n \t\t\t\t    vfile) > stderr;\n+\t\t\t\terrors++;\n+\t\t\t}\n \t\t\t# No successor\n \t\t\tbrackets--;\n \t\t}\n-\t\telse if (\/^[ \\t]*}\/) {\n-\t\t\tprintf(\"File %s: Missing ending semi-colon.\\n\",\n+\t\telse if (\/^}$\/) {\n+\t\t\tprintf(\"File %s: Missing final semicolon.\\n\",\n \t\t\t    vfile) > stderr;\n+\t\t\terrors++;\n \t\t}\n \t\telse if (\/^$\/)\n \t\t\t;  # Ignore blank lines.\n-\t\telse\n-\t\t\tprintf(\"File %s: Unknown directive: %s\\n\",\n+\t\telse {\n+\t\t\tprintf(\"File %s: Unknown directive: `%s'.\\n\",\n \t\t\t    vfile, $0) > stderr;\n+\t\t\terrors++;\n+\t\t}\n \t}\n \tbrackets = 0;\n }\n \n-\/.*\/ {\n+{\n+\t# Set meaningful filename for diagnostics.\n+\tfilename = FILENAME != \"\" ? FILENAME : \"<stdin>\";\n+\n \t# Delete comments, preceding and trailing whitespace, then\n \t# consume blank lines.\n \tsub(\"#.*$\", \"\", $0);\n@@ -98,15 +120,18 @@\n \t\tnext;\n }\n \n-\/^[a-zA-Z0-9._]+ +{$\/ {\n+\/^[a-zA-Z0-9._]+[ \\t]*{$\/ {\n \t# Strip bracket from version name.\n \tsub(\"{\", \"\", $1);\n-\tif (current_version != \"\")\n+\tif (current_version != \"\") {\n \t\tprintf(\"File %s, line %d: Illegal nesting detected.\\n\",\n-\t\t    FILENAME, FNR) > stderr;\n+\t\t    filename, FNR) > stderr;\n+\t\terrors++;\n+\t}\n \telse if (versions[$1] == 0) {\n \t\tprintf(\"File %s, line %d: Undefined \" \\\n-\t\t    \"library version %s\\n\", FILENAME, FNR, $1) > stderr;\n+\t\t    \"library version `%s'.\\n\", filename, FNR, $1) > stderr;\n+\t\terrors++;\n \t\t# Remove this entry from the versions.\n \t\tdelete versions[$1];\n \t}\n@@ -116,20 +141,34 @@\n \tnext;\n }\n \n-\/^[a-zA-Z0-9._]+ *;$\/ {\n+\/^[a-zA-Z0-9._]+[ \\t]*;$\/ {\n+\t# Strip semicolon.\n+\tsub(\";\", \"\", $1);\n \tif (current_version != \"\") {\n \t\tcount = versions[current_version];\n \t\tversions[current_version]++;\n \t\tsymbols[current_version, count] = $1;\n+\t\tif (names[$1]++) {\n+\t\t\tprintf(\"File %s, line %d: Duplicated symbol `%s'. \" \\\n+\t\t\t    \"Did you forget to move it to ObsoleteVersions?\\n\",\n+\t\t\t    filename, FNR, $1) > stderr;\n+\t\t\terrors++;\n+\t\t}\n+\t}\n+\telse {\n+\t\tprintf(\"File %s, line %d: Symbol `%s' outside version scope.\\n\",\n+\t\t    filename, FNR, $1) > stderr;\n+\t\terrors++;\n \t}\n \tnext;\n }\n \n-\/^} *;$\/ {\n+\/^}[ \\t]*;$\/ {\n \tbrackets--;\n \tif (brackets < 0) {\n \t\tprintf(\"File %s, line %d: Unmatched bracket.\\n\",\n-\t\t    FILENAME, FNR, $1) > stderr;\n+\t\t    filename, FNR, $1) > stderr;\n+\t\terrors++;\n \t\tbrackets = 0;\t# Reset\n \t}\n \tcurrent_version = \"\";\n@@ -137,9 +176,10 @@\n }\n \n \n-\/.*\/ {\n-\tprintf(\"File %s, line %d: Unknown directive: '%s'\\n\",\n-\t    FILENAME, FNR, $0) > stderr;\n+{\n+\tprintf(\"File %s, line %d: Unknown directive: `%s'.\\n\",\n+\t    filename, FNR, $0) > stderr;\n+\terrors++;\n }\n \n function print_version(v)\n@@ -162,7 +202,7 @@\n \tfor (i = 1; i < versions[v]; i++) {\n \t\tif (i == 1)\n \t\t\tprintf(\"global:\\n\");\n-\t\tprintf(\"\\t%s\\n\", symbols[v, i]);\n+\t\tprintf(\"\\t%s;\\n\", symbols[v, i]);\n \t}\n \n \tversion_count--;\n@@ -178,7 +218,13 @@\n \n \tgenerated[v] = 1;\n     }\n+\n END {\n+\tif (errors) {\n+\t\tprintf(\"%d errors total.\\n\", errors) > stderr;\n+\t\texit(1);\n+\t}\n+\t# OK, no errors.\n \tfor (v in versions) {\n \t\tprint_version(v);\n \t}\n"}
{"commit":"714a3a365ab81b58d78df826837908702b4b476a","subject":"program update","message":"program update\n","repos":"CORDEA\/extract-sequences","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- cut_files.awk\n+++ cut_files.awk\n@@ -3,7 +3,7 @@\n #\n # Author : Yoshihiro Tanaka\n # Date   : 2014-11-04\n-# Version: 0.1.2\n+# Version: 0.1.3\n \n function output(chrom, header, seq) {\n     filename = \"db\/Canis_familiaris.CanFam3.1.dna.chromosome.\" chrom \".fa\";\n@@ -13,8 +13,6 @@\n     print \"Successful output: \" filename;\n }\n BEGIN {\n-    \"wc -l \" ARGV[1] \" | xargs -n 1 | head -n 1\" | getline wc;\n-    wc = wc \".0\"\n     c  = 0\n }\n {\n@@ -31,7 +29,7 @@\n         seq = seq \"\\n\" $0\n     }\n     c++;\n-    printf(\"progress: %f%%\\r\\b\", (c \/ wc)*100)\n+    printf(\"progress: %d\\r\\b\", c)\n }\n END {\n     output(chrom, header, seq)\n"}
{"commit":"dc8b3b673fd411aa684253a26496a3db0bcaf714","subject":"Add method to generate temp bed for single end","message":"Add method to generate temp bed for single end\n","repos":"glennsb\/OPtICAL,glennsb\/OPtICAL,glennsb\/OPtICAL,glennsb\/OPtICAL","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- lib\/optical\/bam_to_insert_size_bed.awk\n+++ lib\/optical\/bam_to_insert_size_bed.awk\n@@ -29,6 +29,19 @@\n }\n \n function se_bedder(path,size) {\n+  if ($2==16) {\n+    start = ($4+length($10) - size);\n+    if (start <=0) {\n+      start = 1;\n+    }\n+    print $3,start,($4-1+length($10)),\".\",\"1\",\"-\" > path;\n+  } else if ($2==0) {\n+    start=$4;\n+    if (start<=0) {\n+      start=1;\n+    }\n+    print $3,start,($4-1+size),\".\",\"1\",\"+\" > path;\n+  }\n }\n \n {\n@@ -38,6 +51,7 @@\n     tlens[$9]++;\n     pe_bedder(base\"_tmp.bed\");\n   } else if (\"se\" == endness) {\n+    se_bedder(base\"_tmp.bed\",size);\n   }\n }\n \n"}
{"commit":"e71eb60b89124257fcbdee2c39192a29eff7bec2","subject":"Main: set default indentation to 4","message":"Main: set default indentation to 4\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -25,7 +25,7 @@\n     initUserLang()      #<< Locale\n \n     RS = \"\\n\"\n-    I  = \"  \"\n+    I  = \"    \"\n \n     ExitCode = 0\n \n"}
{"commit":"e14781f45f6a41eba426111bc4f9a2e1ed5dc84c","subject":"more edits to match2tpl script","message":"more edits to match2tpl script\n","repos":"i2i2t\/MaTCH,i2i2t\/MaTCH","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- recipes\/match2tpl\/match2tpl.awk\n+++ recipes\/match2tpl\/match2tpl.awk\n@@ -39,8 +39,8 @@\n \n   print \"Reading your names list...\" > \"\/dev\/stderr\";  \n   while ((getline < IN) > 0) {\n-    # INdata[++inputorder] = $0;\n-    INcode[++inputorder] = $IN_code ;\n+    INdata[++inputorder] = $0;\n+    INcode[inputorder] = $IN_code ;\n     INg[inputorder] = $IN_g ;\n     INgsaStr[inputorder] = $IN_xg \" \" $IN_g \" \" $IN_xs \" \" $IN_s \" \" \\\n       $IN_st \" \" $IN_ssp \" \" $IN_a ;\n@@ -65,6 +65,41 @@\n   }\n   print \"  Done.\\n\" > \"\/dev\/stderr\";\n \n+  # --------------------------------------------------------------\n+\n+  # STEP 6.\n+\n+  cmd = \"test -e names.manual.EDITED.csv ; echo $?\";\n+  cmd | getline test1;\n+  close(cmd);\n+  cmd = \"test -e names.simplematch.csv ; echo $?\";\n+  cmd | getline test2;\n+  close(cmd);\n+  if ((test1 == \"0\") && (test2 == \"0\")) {\n+\n+    while ((getline < \"names.simplematch.csv\") > 0) {\n+      resultPL[$1] = $2;\n+      status[$1] = \"gsa\";\n+    }\n+    while ((getline < \"names.manual.EDITED.csv\") > 0) {\n+      if ($5 == 1) {\n+        resultPL[$1] = $4;\n+        status[$1] = \"manual\";\n+      }\n+    }\n+\n+    for (i = 1 ; i <= inputorder ; i++) {\n+\n+      if (PLsyn[resultPL[INcode[i]]]) final[i] = PLsyn[resultPL[INcode[i]]];\n+      else final[i] = resultPL[INcode[i]];\n+\n+      print INdata[i], status[INcode[i]], PLdata[resultPL[INcode[i]]], PLdata[final[i]];\n+    }\n+    exit;\n+  }\n+\n+  # --------------------------------------------------------------\n+  \n   # STEP 2. try simple matching\n   print \"Simple matching...\" > \"\/dev\/stderr\";\n   for (i = 1 ; i <= inputorder ; i++) {\n@@ -90,7 +125,7 @@\n \n   # STEP 4. try agrep matching on species name\n   for (i = 1 ; i <= inputorder ; i++) {\n-    if (!INmatched[i]) {\n+    if (!INmatched[i] && (!INgNotPL[INg[i]])) {\n       cmd = \"agrep -k -2 '\" INgsakey[i] \"' tmp_genera\/\" INg[i] \".csv\";\n       agreps = \"\";\n       RS = \"\\x04\";\n@@ -108,10 +143,7 @@\n     }\n   }\n \n-  \n-    \n-    \n-\n+  # STEP 5. Manually edit \"names.manual.csv\"\n   \n   exit;\n }\n"}
{"commit":"bdc2f3e6d4a2455a4b9b03dc6a3e3153bc1eadf1","subject":"ahrf.awk: Delete old comments","message":"ahrf.awk: Delete old comments\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -46,8 +46,6 @@\n \t\t\tgsub(\/^ +$\/,\"\",$c)\n \t\t\tprintf(\"%s\\n\", $c)\n \t\t}\n-\t\t# Solve \"space\" bug! Less crado (gsub).\n-\t\t#gsub(\/^ +\/,\"\",$NF)\n \t\tprintf(\"%s<\/code><\/pre>\\n\", $NF)\n \t}\n \tnext\n"}
{"commit":"03e618f0c57b5cd467e3fc7f3a0f73f0e449c085","subject":"Prevent that comments are changed","message":"Prevent that comments are changed\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@115 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/marksession.awk\n+++ scripts\/marksession.awk\n@@ -5,7 +5,7 @@\n }\n \n {\n-  if ($1 ~ \"[0-9]+\") {\n+  if ($3 ~ \"[0-9]+\") {\n     # See if the current line is already in the table\n     frame_file = destDir \"\/frames\/Frame\"$3\".html\"\n     session_line = \"\"\n"}
{"commit":"90537735cb369d3ffa1ffcd0824135aa356a0a3e","subject":"Now toloka.awk can process multiple inputs","message":"Now toloka.awk can process multiple inputs\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/toloka.awk\n+++ misc\/toloka.awk\n@@ -3,10 +3,10 @@\n     FS = OFS = \"\\t\";\n     print \"INPUT:hyponym\", \"INPUT:hypernym\", \"INPUT:genitive\", \"GOLDEN:judgement\", \"HINT:text\";\n }\n-NR == 1 {\n+FNR == 1 {\n     for (i=1; i<=NF; i++) ix[$i] = i;\n     next;\n }\n-$ix[\"found\"] {\n+{\n     print $ix[\"hyponym\"], $ix[\"hypernym\"], $ix[\"genitive\"], \"\", \"\" | \"sort -t \\\"\\t\\\" -k1,1 -k2,2 -k3,3 -u\";\n }\n"}
{"commit":"bf98fc2ad60571a7951289d84b618af7aae36df1","subject":"build.awk: export TRANS_DIR when rebuilding EntryScript","message":"build.awk: export TRANS_DIR when rebuilding EntryScript\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -202,7 +202,7 @@\n \n         # Rebuild EntryScript\n         print \"#!\/bin\/sh\" > EntryScript\n-        print \"TRANS_DIR=`dirname $0`\" > EntryScript\n+        print \"export TRANS_DIR=`dirname $0`\" > EntryScript\n         print \"gawk \\\\\" > EntryScript\n         for (i = 0; i < length(Includes) - 1; i++)\n             print \"-i \\\"${TRANS_DIR}\/\" Includes[i] \"\\\" \\\\\" > EntryScript\n"}
{"commit":"60f3bcc16ce006dd000b51d5b41c0637fc346bb6","subject":"2.13.awk","message":"2.13.awk\n","repos":"kaiiak\/APUE","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"de6ee287186b01199c12acc49b87e6eeb7c68fa2","subject":"Utils: curlPost()","message":"Utils: curlPost()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -165,6 +165,32 @@\n     return content\n }\n \n+# Fetch the content of a URL. Return a null string if failed.\n+function curlPost(url, data, output,    command, content, line) {\n+    initCurl()\n+\n+    if (!Curl) {\n+        l(\">> not found: curl\")\n+        w(\"[WARNING] curl is not found.\")\n+        return NULLSTR\n+    }\n+\n+    command = Curl \" --location --silent\"\n+    if (Option[\"user-agent\"])\n+        command = command \" --user-agent \" parameterize(Option[\"user-agent\"])\n+    command = command \" --request POST --data \" data\n+    command = command \" \" parameterize(url)\n+    if (output) {\n+        command = command \" --output \" parameterize(output)\n+        system(command)\n+        return NULLSTR\n+    }\n+    content = NULLSTR\n+    while ((command |& getline line) > 0)\n+        content = (content ? content \"\\n\" : NULLSTR) line\n+    return content\n+}\n+\n # Dump a Unicode string into a byte array. Return the length of the array.\n # NOTE: can only be ran once for each text! Build a cache.\n function dump(text, group,    command, temp) {\n"}
{"commit":"51135ca1a9cdfad74f78f460829a4a53282680ca","subject":"relpath.awk shouldn't be executable. (dm)","message":"relpath.awk shouldn't be executable. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2297 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":""}
{"commit":"8f0b2ab92641e8ebef754bcb90494c231968706c","subject":"Apply regress because of errors.","message":"Apply regress because of errors.","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,7 +8,7 @@\n     #str | getline date;\n     #close str;\n }\n-$3>date\n+#$3>date\n {\n   # add a loop to add line only if either status is (wanted or testing) or ending year is gt or eq to contract year\n   # increased to 2015 July 1 2015.\n"}
{"commit":"f02c1479ee9677013c568337aad55953bc3185e0","subject":"Utils: fix newerVersion()","message":"Utils: fix newerVersion()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -57,21 +57,15 @@\n }\n \n # Return 1 if the first version is newer than the second; otherwise return 0.\n-function newerVersion(ver1, ver2,    group1, group2) {\n+function newerVersion(ver1, ver2,    i, group1, group2) {\n     split(ver1, group1, \".\")\n     split(ver2, group2, \".\")\n-    if (group1[1] + 0 > group2[1] + 0)\n-        return 1\n-    else if (group1[1] + 0 < group2[1] + 0)\n-        return 0\n-    if (group1[2] + 0 > group2[2] + 0)\n-        return 1\n-    else if (group1[2] + 0 < group2[2] + 0)\n-        return 0\n-    if (group1[3] + 0 > group2[3] + 0)\n-        return 1\n-    else if (group1[3] + 0 < group2[3] + 0)\n-        return 0\n+    for (i = 1; i <= 4; i++) {\n+        if (group1[i] + 0 > group2[i] + 0)\n+            return 1\n+        else if (group1[i] + 0 < group2[i] + 0)\n+            return 0\n+    }\n     return 0\n }\n \n"}
{"commit":"ed53db9574cd432978d03b13669bfed65e37cdf1","subject":"neaten up file generation","message":"neaten up file generation\n","repos":"geoff-codes\/libutf","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/mkrunetype.awk\n+++ bin\/mkrunetype.awk\n@@ -5,7 +5,6 @@\n \t# set up hexadecimal lookup table\n \tfor(i = 0; i < 16; i++)\n \t\thex[sprintf(\"%X\",i)] = i;\n-\tHEADER = \"\/* Automatically generated by mkrunetype.awk *\/\\n#include <stdlib.h>\\n\\n#include \\\"utf.h\\\"\\n#include \\\"runetype.h\\\"\\n\"\n }\n \n $3  ~ \/^L\/ { alphav[alphac++] = $1; }\n@@ -43,6 +42,11 @@\n \trune3c = 0;\n \trune4c = 0;\n \tmode = 1;\n+\n+\tprint \"\/* Automatically generated by mkrunetype.awk *\/\" > file\n+\tprint \"#include <stdlib.h>\" > file\n+\tprint \"#include \\\"utf.h\\\"\" > file\n+\tprint \"#include \\\"runetype.h\\\"\" > file\n \n \t#sort rune groups into singletons, ranges and laces\n \tfor(j = 0; j < runec; j++) {\n@@ -169,6 +173,7 @@\n \t\t}\n \t\tprint \"};\\n\" > file;\n \t}\n+\n \t# generate lookup function\n \tprint \"int\\nis\"name\"rune(Rune r)\\n{\" > file;\n \tif(rune4c > 0 || rune3c > 0)\n@@ -194,22 +199,22 @@\n \t\tprint \"\\nint\\nto\"casename\"rune(Rune r)\\n{\\n\\tRune *match;\\n\" > file;\n \t\tif(rune4c > 0) {\n \t\t\tprint \"\\tmatch = bsearch(&r, \"name\"4, nelem(\"name\"4), sizeof *\"name\"4, &rune2cmp);\" > file;\n-\t\t\tprint \"\\tif (match)\" > file;\n+\t\t\tprint \"\\tif(match)\" > file;\n \t\t\tprint \"\\t\\treturn ((r - match[0]) % 2) ? r : r - 1;\" > file;\n \t\t}\n \t\tif(rune3c > 0) {\n \t\t\tprint \"\\tmatch = bsearch(&r, \"name\"3, nelem(\"name\"3), sizeof *\"name\"3, &rune2cmp);\" > file;\n-\t\t\tprint \"\\tif (match)\" > file;\n+\t\t\tprint \"\\tif(match)\" > file;\n \t\t\tprint \"\\t\\treturn ((r - match[0]) % 2) ? r : r + 1;\" > file;\n \t\t}\n \t\tif(rune2c > 0) {\n \t\t\tprint \"\\tmatch = bsearch(&r, \"name\"2, nelem(\"name\"2), sizeof *\"name\"2, &rune2cmp);\" > file;\n-\t\t\tprint \"\\tif (match)\" > file;\n+\t\t\tprint \"\\tif(match)\" > file;\n \t\t\tprint \"\\t\\treturn match[2] + (r - match[0]);\" > file;\n \t\t}\n \t\tif(rune1c > 0) {\n \t\t\tprint \"\\tmatch = bsearch(&r, \"name\"1, nelem(\"name\"1), sizeof *\"name\"1, &rune1cmp);\" > file;\n-\t\t\tprint \"\\tif (match)\" > file;\n+\t\t\tprint \"\\tif(match)\" > file;\n \t\t\tprint \"\\t\\treturn match[1];\" > file;\n \t\t}\n \t\tprint \"\\treturn r;\\n}\" > file;\n"}
{"commit":"121faa0fb3a3f4abfdfa6801614d650484a2cc35","subject":"Parameter by which to tilt loops.","message":"Parameter by which to tilt loops.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -37,6 +37,8 @@\n \n \t# TODO: common stuff for multiple graphs\n \n+\tloopangle = 0; # angle by which to tilt loops. 0 is vertical\n+\n \tprint \"path e;\"\n \n \tprint \"input fsm.mp;\"\n@@ -56,7 +58,7 @@\n \tprint \"\t\tpath m; m = head -- point t of e;\"\n \tprint \"\t\tnumeric ta; (ta, whatever) = head.perim intersectiontimes m;\"\n #\tprint \"\t\tdraw point ta of head.perim withpen pencircle scaled 4bp withcolor red;\"\n-\tprint \"\t\tfsmloop(head)(ta, lab);\"\n+\tprintf \"\t\tfsmloop(head)(ta - (length fullcircle * %f \/ 360), lab);\\n\", loopangle\n \tprint \"\telse:\"\n \tprint \"\t\tpath b; b = tail .. q .. p .. head;\"\n # TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n"}
{"commit":"abf02ee5f2858558e6a64c3d56c1575ef9256207","subject":"Languages: add Bambara","message":"Languages: add Bambara\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -118,6 +118,19 @@\n     Locale[\"az\"][\"iso\"]                = \"aze\"\n     Locale[\"az\"][\"glotto\"]             = \"nort2697\"\n     Locale[\"az\"][\"script\"]             = \"Latn\"\n+\n+    # Bambara\n+    Locale[\"bm\"][\"name\"]               = \"Bambara\"\n+    Locale[\"bm\"][\"endonym\"]            = \"Bamanankan\"\n+    #Locale[\"bm\"][\"translations-of\"]\n+    #Locale[\"bm\"][\"definitions-of\"]\n+    #Locale[\"bm\"][\"synonyms\"]\n+    #Locale[\"bm\"][\"examples\"]\n+    #Locale[\"bm\"][\"see-also\"]\n+    Locale[\"bm\"][\"family\"]             = \"Mande\"\n+    Locale[\"bm\"][\"iso\"]                = \"bam\"\n+    Locale[\"bm\"][\"glotto\"]             = \"bamb1269\"\n+    Locale[\"bm\"][\"script\"]             = \"Latn\"\n \n     #7 Basque\n     Locale[\"eu\"][\"name\"]               = \"Basque\"\n"}
{"commit":"fb1fcdc9cb25b7ff55febf2daad59a0ab68b0016","subject":"Translate: fix translate()","message":"Translate: fix translate()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -166,7 +166,7 @@\n # Translate the source text (into all target languages).\n function translate(text,\n                    ####\n-                   i, j, playlist) {\n+                   i, j, playlist, saveSortedIn) {\n \n     if (!getCode(Option[\"hl\"])) {\n         # Check if home language is supported\n@@ -187,15 +187,13 @@\n             w(\"[WARNING] \" Locale[getCode(Option[\"sl\"])][\"name\"] \" is a right-to-left language, but GNU FriBidi is not found on your system.\\nText might be displayed incorrectly.\")\n     }\n \n+    saveSortedIn = PROCINFO[\"sorted_in\"]\n+    PROCINFO[\"sorted_in\"] = \"@ind_num_asc\"\n     for (i in Option[\"tl\"]) {\n-        # Non-interactive verbose mode: separator between translations\n-        if (!Option[\"interactive\"]) {\n-            # Separator for multiple targets\n-            if (i > 1) {\n-                for (j = 0; j < Option[\"width\"]; j++) printf \"\u2500\"\n-                printf \"\\n\"\n-            }\n-        }\n+        # Non-interactive verbose mode: separator between targets\n+        if (!Option[\"interactive\"])\n+            if (Option[\"verbose\"] && i > 1)\n+                print replicate(\"\u2500\", Option[\"width\"])\n \n         print getTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"], Option[\"verbose\"], Option[\"play\"], playlist) > Option[\"output\"]\n \n@@ -207,4 +205,5 @@\n                 for (j in playlist)\n                     print playlist[j][\"text\"] | SpeechSynthesizer\n     }\n+    PROCINFO[\"sorted_in\"] = saveSortedIn\n }\n"}
{"commit":"80a847ed66eb46a3fa75514f7df6b38cdb5d12f8","subject":"Correct coding error.","message":"Correct coding error.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@23969 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -10,14 +10,14 @@\n   # add a loop to add line only if ending year is gt or eq to contract year\n   end_year = 0\n   incontract = 0\n-  if ($7 > 1900) {\n+  if ($7 != \"\") {\n     test_year = $7\n   } else {\n     test_year = $3\n   }\n   if (length($4) > 3) {\n     end_year = substr($4,length($4)-3,4)\n-  } \n+  }\n   if (end_year >= test_year) {\n     incontract = 1\n   } \n"}
{"commit":"47dde70d45a7131ef07c17dbb86c4c67c94bfc2b","subject":"fix some parameter","message":"fix some parameter\n","repos":"osmfj\/lawson2osm","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- lawson2osm.awk\n+++ lawson2osm.awk\n@@ -20,9 +20,13 @@\n \n     printf(\"  <node id='-%s' lat='%f' lon='%f'>\\n\",$1,$2\/3600000,$3\/3600000);\n     printf(\"    <tag k='shop' v='convenience' \/>\\n\");\n+    printf(\"    <tag k='toilet' v='yes' \/>\\n\");\n+    printf(\"    <tag k='atm' v='yes' \/>\\n\");\n+    printf(\"    <tag k='internet_access' v='wlan' \/>\\n\");\n     printf(\"    <tag k='name' v=' %s\u0179' \/>\\n\",$9);\n     printf(\"    <tag k='name:en' v='Lawson %s' \/>\\n\",t);\n     printf(\"    <tag k='branch' v='%s\u0179' \/>\\n\",$9);\n+    printf(\"    <tag k='branch:ja_kana' v='%s\u0179' \/>\\n\",$11);\n     printf(\"    <tag k='branch:en' v='%s' \/>\\n\",t);\n     printf(\"    <tag k='operator' v='' \/>\\n\");\n     printf(\"    <tag k='operator:en' v='Lawson' \/>\\n\");\n@@ -45,12 +49,8 @@\n     if($5!=\"\"){\n \tprintf(\"    <tag k='start_date' v='%s' \/>\\n\",$5);\n     }\n-    if($6!=\"\"){\n-\tprintf(\"    <tag k='end_date' v='%s' \/>\\n\",$6);\n-    }\n     printf(\"    <tag k='addr:full' v='%s' \/>\\n\",$10);\n     printf(\"    <tag k='ref' v='%s' \/>\\n\",$1);\n-    printf(\"    <tag k='source_ref' v='http:\/\/wiki.openstreetmap.org\/wiki\/Lawson_hackathon_2013' \/>\\n\");\n     printf(\"  <\/node>\\n\");\n }\n END {\n"}
{"commit":"0431d84c1fe372258ed59b858c0c9a75b453f49b","subject":"layerman: get awk location from env","message":"layerman: get awk location from env\n\nSigned-off-by: Koen Kooi <42e3d96910f922bdd7dd1805fe3f8aff634f391d@dominion.thruhere.net>\n","repos":"wwright2\/angstrom-setup.methode,Angstrom-distribution\/setup-scripts,Ambertec\/setup-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/layers.awk\n+++ scripts\/layers.awk\n@@ -1,4 +1,4 @@\n-#!\/usr\/bin\/awk -f\n+#!\/usr\/bin\/env awk -f\n \n BEGIN { \n \tFS =\",\";\n"}
{"commit":"05c39b800821544051ed34fe3aab8a2fd968efbc","subject":"For now, comment out the broken part","message":"For now, comment out the broken part\n","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- extra\/scripts\/initfini.awk\n+++ extra\/scripts\/initfini.awk\n@@ -19,12 +19,12 @@\n     if(\/\\.align\/) {alignval=$2}\n # here comes some special stuff for the SuperH targets\n # Search for all labels\n-    if(\/_GLOBAL_OFFSET_TABLE_\/) {\n-      sub (\":\",\"\",last);\n-      glb_label[glb_idx] = last;\n-      glb_idx += 1;\n-      glb = $0;\n-    }\n+#    if(\/_GLOBAL_OFFSET_TABLE_\/) {\n+#      sub (\":\",\"\",last);\n+#      glb_label[glb_idx] = last;\n+#      glb_idx += 1;\n+#      glb = $0;\n+#    }\n     last = $1;\n   }\n   close(\"initfini.s\");\n"}
{"commit":"94b03b76473507679694b60fb2ce44ad20e351a7","subject":"Cosmetic","message":"Cosmetic\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@24007 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -10,6 +10,7 @@\n   # add a loop to add line only if ending year is gt or eq to contract year\n   end_year = 0\n   incontract = 0\n+  test_year = \"\"\n   if ($7 == \"\") {\n     test_year = $3\n   } else {\n@@ -18,11 +19,11 @@\n   if (length($4) > 3) {\n     end_year = substr($4,length($4)-3,4)\n   }\n+  #printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", $1,$2,$3,$4,$7,end_year,test_year\n   if (end_year >= test_year) {\n     incontract = 1\n   } \n \n-  #if ((substr($4,1,4) >= $3) || ((length($4) == 9) && (substr($4,6,4) >= $3))) {\n   if (incontract == 1) {\n       nn = split($2,na,\/\\.\/)\n       lp2 = na[nn]\n"}
{"commit":"7cb1b5d3a1c8c23668a48ffdd1fdccf3146d391e","subject":"Fix The_Edinburgh_Show","message":"Fix The_Edinburgh_Show\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -42,18 +42,20 @@\n     showtype = \"S\"\n \n     shortURL = URL\n+    episodeSeason = \"\"\n+    # Season 3, Episode 8\n     if (match (episodeTitle, \/^Season [[:digit:]]+|^Series [[:digit:]]+\/))\n         episodeSeason = substr(episodeTitle,8,RLENGTH-7)\n-    else\n-        episodeSeason = \"\"\n    \n     # Extract sortkey from URL\n     nflds = split (URL,fld,\"_\")\n     if (URL ~ \/_S[[:digit:]]*_E[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/35_Days_S3_E8_23851\n-        # Season 3, Episode 8\n         seasonNumber = substr(fld[nflds-2], 2)\n         episodeNumber = substr(fld[nflds-1], 2)\n+        if (baseURL ~ \/The_Edinburgh_Show_23924$\/) {\n+            episodeSeason = Years\n+        }\n         # Give precedence to season number in episodeTitle over season number in URL \n         if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n             revisedSeasons1 += 1\n@@ -68,7 +70,6 @@\n         printf (\"c1\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c1Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     } else if (URL ~ \/_E[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/35_Hours_E1_26129\n-        # 35 Hours, Episode 1\n         revisedSeasons2 += 1\n         episodeSeason = Years\n         if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n@@ -83,7 +84,6 @@\n         printf (\"c2\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c2Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     } else if (URL ~ \/Episode_[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/Episode_5_26089\n-        # Season 4, Episode 5\n         revisedSeasons3 += 1\n         seasonNumber = \"98\"\n         episodeNumber = substr(fld[nflds-1], 1)\n"}
{"commit":"0144d6c6e1c70a2a7e58edb838d2845e6e74b375","subject":"Rework the way the awk code handles BrlAPI parameter type aliases so that the OCaml bindings can be built. (dm)","message":"Rework the way the awk code handles BrlAPI parameter type aliases so that the OCaml bindings can be built. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi.awk\n+++ Programs\/brlapi.awk\n@@ -63,13 +63,16 @@\n }\n \n \/^[[:space:]]*BRLAPI_PARAM_TYPE_[^[:space:],]+,?\/ {\n+  gsub(\",\", \"\", $1)\n+  name = substr($1, 8)\n+\n   if ($2 == \"=\" ) {\n     gsub(\"^BRLAPI_\", \"\", $3)\n     gsub(\",\", \"\", $3)\n-    apiConstant(substr($1, 8), $1, $3, getComment($0))\n+    apiConstant(name, $1, apiParameterTypeValues[$3], getComment($0))\n   } else {\n-    gsub(\",\", \"\", $1)\n-    apiConstant(substr($1, 8), $1, apiParameterTypeCount++, getComment($0))\n+    apiParameterTypeValues[name] = apiParameterTypeCount\n+    apiConstant(name, $1, apiParameterTypeCount++, getComment($0))\n   }\n \n   next\n"}
{"commit":"dd6d77a10ab213ba4812cd230a76e347081d4ad9","subject":"Delete make-otagi-map.awk","message":"Delete make-otagi-map.awk","repos":"metasta\/asebi,metasta\/asebi","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- table-CFF\/bin\/make-otagi-map.awk\n+++ table-CFF\/bin\/make-otagi-map.awk\n@@ -1,43 +0,0 @@\n-#!\/bin\/awk -f\n-#\n-# usage: glyph-list.pl otagi.otf | make-otagi-map.awk > otagi.map\n-#\n-# asebi.CFF \u306e\u4f5c\u6210\u306b\u5fc5\u8981\u306a otagi.map \u306e\u4f5c\u6210\u3002\n-# \u57fa\u672c\u7684\u306b\u306f otagi \u306e\u5168\u3066\u306e\u30b0\u30ea\u30d5\u3092\u305d\u306e\u307e\u307e map \u3059\u308b\u3060\u3051\u306a\u306e\u3060\u304c\u3001\n-# \/23058(\u3084\u884c\u3048)\u3068 \/23059(\u30a2\u884c\u30a8)\u3092\u4ea4\u63db\u3057\u3066\u304a\u304f\u3002\n-# sammin \u306e cmap \u3068\u4e00\u81f4\u3055\u305b\u308b\u305f\u3081\u3002\n-#\n-# \u3061\u306a\u307f\u306b otagi 0.603 \u3068 sammin 1.001 \u306e cmap \u306f\u307b\u3068\u3093\u3069\u540c\u3058\u3067\u3042\u308a\u3001\n-# \u3048\u3068\u30a8\u306e\u4ed6\u306b\u306f\n-#\n-#   175 (U+00AF) MACRON (\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u306e\u9006\u3001\u30aa\u30fc\u30d0\u30fc\u30b9\u30b3\u30a2) \u306e\u5e45\n-#  8216 (U+2018) \u958b\u59cb\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8 \u306e\u5e45\n-#  8217 (U+2019) \u7d42\u4e86\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8 \u306e\u5e45\n-#  8220 (U+201C) \u958b\u59cb\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8 \u306e\u5e45\n-#  8221 (U+201D) \u7d42\u4e86\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8 \u306e\u5e45\n-# \u6f22\u5b57 \u4ea4\u3001\u5206\u3001\u6587\u3001\u6708\u3001\u6821\u3001\u7236 \u306e\u30c7\u30b6\u30a4\u30f3\u5dee\n-#\n-# \u4ee5\u5916\u306f\u540c\u3058\u3060\u3063\u305f(\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u308b)\u3002\n-# \u3053\u308c\u3089\u306e\u30b0\u30ea\u30d5\u306e\u305f\u3081\u306e\u4fee\u6b63\u306f\u4e0d\u8981\u3068\u5224\u65ad\u3057\u305f\u3002\n-#\n-# cmap \u5dee\u5206\u78ba\u8a8d\u7528\u30b3\u30de\u30f3\u30c9\n-# % sh cmap.sh sammin.otf | sort > sammin.cmap \n-# % sh cmap.sh otagi.otf | sort > otagi.cmap \n-# % join sammin.cmap otagi.cmap | while read cid codesam codeota\n-# do\n-# if [ \"x$codesam\" != \"x$codeota\" ] \n-# then\n-# echo \"$cid      $codesam        $codeota\"\n-# fi\n-# done\n-#\n-\n-BEGIN {\n-\tFS=\"\/\"\n-\tprint \"mergeFonts\"\n-}\n-{\n-\t     if($2 == 23058){print $2,23059}\n-\telse if($2 == 23059){print $2,23058}\n-\telse                {print $2,$2}\n-}\n"}
{"commit":"459f9aabb7a3f7486d603af6f9225923e8498dee","subject":"Use mv -f.  Otherwise if you accidently build as root, and then as a user, it keeps asking you if you want to overwrite it or not.","message":"Use mv -f.  Otherwise if you accidently build as root, and then as a user,\nit keeps asking you if you want to overwrite it or not.\n\nSubmitted by:\tpeter\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/makeobjops.awk\n+++ sys\/tools\/makeobjops.awk\n@@ -474,9 +474,9 @@\n \t}\n \telse {\n \t\tif (opt_c)\n-\t\t\tsystem_check(\"mv \" ctmpfilename \" \" cfilename);\n+\t\t\tsystem_check(\"mv -f \" ctmpfilename \" \" cfilename);\n \t\tif (opt_h)\n-\t\t\tsystem_check(\"mv \" htmpfilename \" \" hfilename);\n+\t\t\tsystem_check(\"mv -f \" htmpfilename \" \" hfilename);\n \t}\n }\n \n"}
{"commit":"db33d1259f8811afc70e059c23e555b9d3b4a8ac","subject":"asn.1 comments","message":"asn.1 comments\n","repos":"rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/remove_license_block-helper.awk\n+++ utils\/remove_license_block-helper.awk\n@@ -5,8 +5,8 @@\n \tPOST_LINE = \"[ \\t]*$\";\n \n \t# tmp variables\n-\tX = \"((\\\\*|#( *\\\\*)?) *)?\";\n-\tPRE_BLOCK = \"(\/\\\\* *|# *(\/\\\\* *)?)?\";\n+\tX = \"((\\\\*|(#|--)( *\\\\*)?) *)?\";\n+\tPRE_BLOCK = \"(\/\\\\* *|(#|--) *(\/\\\\* *)?)?\";\n \tPOST_BLOCK = \" *(\\\\*\/)?\";\n \n \tBLOCK_END = 0;\n"}
{"commit":"1200d27513d0587b31eb881d75a04ef96c3f780b","subject":"oops typo","message":"oops typo\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/cardbus\/devlist2h.awk\n+++ dev\/cardbus\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.2 2000\/05\/15 06:29:09 niklas Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.3 2000\/05\/15 06:31:37 niklas Exp $\n #\t$NetBSD: devlist2h.awk,v 1.1 1999\/10\/15 06:07:22 haya Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n@@ -48,7 +48,7 @@\n \tprintf(\" *\\t%s\\n\", VERSION) > dfile\n \tprintf(\" *\/\\n\") > dfile\n \n-\tprintf(\"\/*\\t\\OpenBSD\\$\\t*\/\\n\\n\") > hfile\n+\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > hfile\n \tprintf(\"\/*\\n\") > hfile\n \tprintf(\" * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n \t    > hfile\n"}
{"commit":"b9022476ca6dbb5fe006674a2940f4893675d468","subject":"Add support for case\/esac blocks in test cases","message":"Add support for case\/esac blocks in test cases\n","repos":"lonkamikaze\/bsda2,lonkamikaze\/bsda2","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- src\/testify.awk\n+++ src\/testify.awk\n@@ -5,13 +5,17 @@\n \n BEGIN {\n \t# Define states\n-\tST_REG = 0    # Regular state\n-\tST_SQUOT = 1  # Inside single quotes\n-\tST_DQUOT = 2  # Inside double quotes\n-\tST_DSQUOT = 3 # Inside dollar single quotes\n+\tST_REG = 0      # Regular state\n+\tST_SQUOT = 1    # Inside single quotes\n+\tST_DQUOT = 2    # Inside double quotes\n+\tST_DSQUOT = 3   # Inside dollar single quotes\n+\tST_CASE_BLK = 4 # Inside case\/esac\n+\tST_CASE_REG = 5 # Inside case match\n \n \tTOP = 0\n \tSTATE[TOP] = ST_REG\n+\tREG_STATES[ST_REG]\n+\tREG_STATES[ST_CASE_REG]\n }\n \n #\n@@ -32,6 +36,7 @@\n \tdo {\n \t\tfor (i = 1; i <= length; ++i) {\n \t\t\tch = substr($0, i, 1)\n+\t\t\tfront = substr($0, i)\n \t\t\t# Single quotes are simple\n \t\t\tif (STATE[TOP] == ST_SQUOT) {\n \t\t\t\tif (ch == \"'\") {\n@@ -69,6 +74,32 @@\n \t\t\t\t}\n \t\t\t\tcontinue\n \t\t\t}\n+\t\t\t# Inside case match\n+\t\t\tif (STATE[TOP] == ST_CASE_REG) {\n+\t\t\t\tif (front ~ \/^;;.*\/) {\n+\t\t\t\t\t++i\n+\t\t\t\t\t--TOP\n+\t\t\t\t\tcontinue\n+\t\t\t\t}\n+\t\t\t}\n+\t\t\t# Inside case block\n+\t\t\tif (STATE[TOP] == ST_CASE_BLK) {\n+\t\t\t\tif (ch == \")\") {\n+\t\t\t\t\tSTATE[++TOP] = ST_CASE_REG\n+\t\t\t\t\t# Output the parsed section so\n+\t\t\t\t\t# a check is only appended if the\n+\t\t\t\t\t# closing parentheses are followed\n+\t\t\t\t\t# by code\n+\t\t\t\t\tprintf(\"%s\", substr($0, 1, i))\n+\t\t\t\t\t$0 = substr($0, i + 1)\n+\t\t\t\t\tcontinue\n+\t\t\t\t}\n+\t\t\t\tif (front ~ \/^esac([ \\t#].*)?\/) {\n+\t\t\t\t\t--TOP\n+\t\t\t\t\ti += 3\n+\t\t\t\t\tcontinue\n+\t\t\t\t}\n+\t\t\t}\n \t\t\t# Regular state, or command substitution\n \t\t\tif (ch == \"'\") {\n \t\t\t\tSTATE[++TOP] = ST_SQUOT\n@@ -85,17 +116,19 @@\n \t\t\t\tSTATE[++TOP] = ST_REG\n \t\t\t} else if (ch == \")\") {\n \t\t\t\t--TOP\n+\t\t\t} else if (front ~ \/^case[ \\t].+[ \\t]in([ \\t#].*)?\/) {\n+\t\t\t\tSTATE[++TOP] = ST_CASE_BLK\n \t\t\t}\n \t\t}\n \t\t# About to get the next line, print this one\n-\t\tif (STATE[TOP] != ST_REG) {\n+\t\tif (!(STATE[TOP] in REG_STATES)) {\n \t\t\tprint\n \t\t}\n-\t} while (STATE[TOP] != ST_REG && getline > 0)\n+\t} while (!(STATE[TOP] in REG_STATES) && getline > 0)\n }\n \n # Do not append error checks to lines not ending in a command.\n-\/((^|then|else|do|in|[({&;])|[ \\t]*\\\\)$\/ {\n+\/((^|then|else|do|[({&;])|[ \\t]*\\\\)[ \\t]*$\/ {\n \tprint\n \tnext\n }\n"}
{"commit":"8ca64a0fb86d3cd6c66523ed856ac390e6d2df1a","subject":"TestUtils: add test cases for dump()","message":"TestUtils: add test cases for dump()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestUtils.awk\n+++ test\/TestUtils.awk\n@@ -30,5 +30,17 @@\n         assertTrue(newerVersion(\"2\", \"1.9.9999\"))\n     }\n \n+    T(\"dump()\", 3)\n+    {\n+        delete group\n+        assertEqual(dump(\"a\", group), 1)\n+\n+        delete group\n+        assertEqual(dump(\"\u00c5rhus\", group), 6)\n+\n+        delete group\n+        assertEqual(dump(\"\uc548\ub155\ud558\uc138\uc694 \uc138\uacc4\", group), 22)\n+    }\n+\n     END_TEST()\n }\n"}
{"commit":"50080bed5defee0528028996fddec58787c8f61d","subject":"Correct field numbers used in verification","message":"Correct field numbers used in verification\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- verifyBBoxDownloadsFrom-webscraper.awk\n+++ verifyBBoxDownloadsFrom-webscraper.awk\n@@ -41,11 +41,14 @@\n     cmd = \"grep \" target \" \" SEASONS_FILE\n     while ((cmd | getline seasonLine) > 0) {\n         split (seasonLine, fields, \"\\\"\")\n-        seasonField = fields[20]\n-        episodeField = fields[24]\n+        seasonField = fields[16]\n+        # print \"seasonField = \" seasonField\n+        episodeField = fields[20]\n+        # print \"episodeField = \" episodeField\n         if (seasonField == \"\")\n             continue\n         print \"          \" target seasonField \" has \"episodeField >> EPISODE_INFO_FILE\n+        # print \"          \" target seasonField \" has \"episodeField\n     }\n     close (cmd)\n }\n"}
{"commit":"a3a686b1897e5cbf8b46f71e285811bfa67ab809","subject":"improve readability of script","message":"improve readability of script\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateIMDbScriptsFrom-titles.awk\n+++ generateIMDbScriptsFrom-titles.awk\n@@ -4,11 +4,11 @@\n         sub (\/^\"\/,\"\\\"The \", title)\n         sub (\/, The\"$\/,\"\\\"\", title)\n     }\n-    printf (\"echo ==\\\\> %3d: %s\\n\",NR,title) >> TITLES_SCRIPT\n+    printf (\"echo '==> %3d: %s'\\n\",NR,title) >> TITLES_SCRIPT\n     printf (\".\/getIMDbInfoFrom-titles.py %s\\n\",title) >> TITLES_SCRIPT\n     printf (\"echo \\n\\n\") >> TITLES_SCRIPT\n \n-    printf (\"echo ==\\\\> %3d: %s\\n\",NR,title) >> ID_SCRIPT\n+    printf (\"echo '==> %3d: %s'\\n\",NR,title) >> ID_SCRIPT\n     printf (\".\/getIMDb_IDsFrom-titles.py %s | head -7\\n\",title) >> ID_SCRIPT\n     printf (\"echo \\n\\n\") >> ID_SCRIPT\n }\n"}
{"commit":"ea7a9abcd820e8f27545604eb14be56c11f3c13c","subject":"remove check_miss.awk","message":"remove check_miss.awk\n","repos":"aijunbai\/autotest2d,aijunbai\/autotest2d","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- check_miss.awk\n+++ check_miss.awk\n@@ -1,57 +0,0 @@\n-BEGIN{\n-\t#file = $0\n-\tcurrent = \"\"\n-\twhile (getline)\t\n-\t{\n-\t\tif ($1 ~ \/^0,\/)\n-\t\t{\n-\t\t\tif ($2 != \"(referee\")\n-\t\t\t{\n-\t\t\t\tplayer[$3]\n-\t\t\t}\n-\t\t\telse\n-\t\t\t{\n-\t\t\t\tcurrent = $1\t\n-\t\t\t\tfor (p in player)\n-\t\t\t\t{\n-\t\t\t\t\tplayer[p] = 1\n-\t\t\t\t}\n-\t\t\t}\n-\t\t}\n-\t\telse if (($1 !~ \/^3000,\/) && ($1 !~ \/^6000,\/))\n-\t\t{\n-\t\t\tnew = $1 \n-\t\t\t#print current\n-\t\t\tif (current == new)\n-\t\t\t{\t\t\n-\t\t\t\tif ($2 != \"(referee\")\n-\t\t\t\t{\n-\t\t\t\t\t player[$3] = 1\n-\t\t\t\t}\n-\t\t\t}\n-\t\t\telse\n-\t\t\t{\n-\t\t\t\tfor (p in player)\n-\t\t\t\t{\n-\t\t\t\t\tif (player[p] == 0 && p !~ \/Coach\/)\n-\t\t\t\t\t{\n-\t\t\t\t\t\tprint current \" \" p \" missed!\"\n-\t\t\t\t\t}\n-\t\t\t\t\telse \n-\t\t\t\t\t{\n-\t\t\t\t\t\tplayer[p] = 0\n-\t\t\t\t\t}\n-\t\t\t\t}\n-\t\t\t\tcurrent = new\n-\t\t\t\tif ($2 != \"(referee\")\n-\t\t\t\t{\n-\t\t\t\t\t player[$3] = 1\n-\t\t\t\t}\n-\t\t\t}\n-\t\t}\n-\t}\t\n-}\n-END{\n-\tprint \"end\"\n-}\n-\n"}
{"commit":"8a11f2a0217214976355417f671396e2761fb6c3","subject":"show dictionary","message":"show dictionary\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -79,10 +79,11 @@\n function getTranslation(text, sl, tl, hl,\n                         isVerbose, toSpeech, returnPlaylist,\n                         ####\n-                        altTranslations, article, ast, content,\n-                        explanation, group, i, il, ils,\n-                        isPhonetic, j, original, phonetics,\n-                        r, rtl, saveSortedIn, segments,\n+                        altTranslations, article, ast, content, example,\n+                        explanation, group, i, il, ils, isPhonetic, j, k,\n+                        oExamples, oPhonetics, oRefs, oSeeAlso, oSynonyms,\n+                        oWords, oWordClasses, original, phonetics,\n+                        r, ref, rtl, saveSortedIn, segments,\n                         temp, tokens, translation, translations,\n                         word, words, wordClasses) {\n     isPhonetic = match(tl, \/^@\/)\n@@ -123,27 +124,58 @@\n             append(original, literal(ast[i]))\n         if (i ~ \"^0\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+\" SUBSEP \"2$\")\n             append(phonetics, literal(ast[i]))\n-\n+        if (i ~ \"^0\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+\" SUBSEP \"3$\")\n+            append(oPhonetics, literal(ast[i]))\n+\n+        # 1 - word classes and explanations\n         if (match(i, \"^0\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n             wordClasses[group[1]] = literal(ast[i])\n-\n         if (match(i, \"^0\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"([[:digit:]]+)$\", group))\n             words[group[1]][group[2]][group[3]] = literal(ast[i])\n         if (match(i, \"^0\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)$\", group))\n             words[group[1]][group[2]][\"1\"][group[3]] = literal(ast[i])\n \n+        # 5 - alternative translations\n         if (match(i, \"^0\" SUBSEP \"5\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group)) {\n             segments[group[1]] = literal(ast[i])\n             altTranslations[group[1]][0] = \"\"\n         }\n-\n         if (match(i, \"^0\" SUBSEP \"5\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n             altTranslations[group[1]][group[2]] = postprocess(literal(ast[i]))\n \n-        # Identified source languages\n+        # 8 - identified source languages\n         if (i ~ \"^0\" SUBSEP \"8\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+$\" ||\n             i ~ \"^0\" SUBSEP \"2$\")\n             append(ils, literal(ast[i]))\n+\n+        # 11 - (original) word classes and synonyms\n+        if (match(i, \"^0\" SUBSEP \"11\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n+            oWordClasses[group[1]] = literal(ast[i])\n+        if (match(i, \"^0\" SUBSEP \"11\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1$\", group))\n+            if (ast[i]) {\n+                oRefs[literal(ast[i])][1] = group[1]\n+                oRefs[literal(ast[i])][2] = group[2]\n+            }\n+        if (match(i, \"^0\" SUBSEP \"11\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0\" SUBSEP \"([[:digit:]]+)$\", group))\n+            oSynonyms[group[1]][group[2]][group[3]] = literal(ast[i])\n+\n+        # 12 - (original) word classes and explanations\n+        if (match(i, \"^0\" SUBSEP \"12\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n+            oWordClasses[group[1]] = literal(ast[i])\n+        if (match(i, \"^0\" SUBSEP \"12\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n+            oWords[group[1]][group[2]][0] = literal(ast[i])\n+        if (match(i, \"^0\" SUBSEP \"12\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1$\", group))\n+            oWords[group[1]][group[2]][1] = literal(ast[i])\n+        if (match(i, \"^0\" SUBSEP \"12\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2$\", group))\n+            oWords[group[1]][group[2]][2] = postprocess(literal(ast[i]))\n+\n+        # 13 - (original) examples\n+        if (match(i, \"^0\" SUBSEP \"13\" SUBSEP \"0\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n+            oExamples[group[1]] = postprocess(literal(ast[i]))\n+\n+        # 14 - (original) see also\n+        if (match(i, \"^0\" SUBSEP \"14\" SUBSEP \"0\" SUBSEP \"([[:digit:]]+)$\", group))\n+            oSeeAlso[group[1]] = literal(ast[i])\n     }\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n \n@@ -167,7 +199,68 @@\n     } else {\n         # Verbose mode\n \n-        r = AnsiCode[\"bold\"] s(translation, tl) AnsiCode[\"no bold\"] # target language\n+        r = AnsiCode[\"bold\"] show(join(original), il) AnsiCode[\"no bold\"]\n+        if (anything(oPhonetics))\n+            r = r \"\\n\" AnsiCode[\"bold\"] \"\/\" join(oPhonetics) \"\/\" AnsiCode[\"no bold\"]\n+        r = r \"\\n\"\n+        # Dictionary mode\n+        if (isarray(oWordClasses) && anything(oWordClasses)) {\n+            for (i = 0; i < length(oWordClasses); i++) {\n+                r = r \"\\n\" AnsiCode[\"negative\"] AnsiCode[\"bold\"]        \\\n+                    show(oWordClasses[i], hl) AnsiCode[\"no bold\"] AnsiCode[\"positive\"]\n+                if (isarray(oWords[i])) {\n+                    # Detailed explanation\n+                    for (j = 0; j < length(oWords[i]); j++) {\n+                        explanation = oWords[i][j][0]\n+                        ref = oWords[i][j][1]\n+                        example = oWords[i][j][2]\n+\n+                        r = r \"\\n    \" AnsiCode[\"bold\"] show(explanation, il) AnsiCode[\"no bold\"]\n+                        if (example)\n+                            r = r \"\\n    - \\\"\" show(example, il) \"\\\"\"\n+                        if (ref && isarray(oRefs[ref])) {\n+                            r = r \"\\n    * synonyms: \" AnsiCode[\"underline\"] \\\n+                                show(oSynonyms[oRefs[ref][1]][oRefs[ref][2]][0], il) AnsiCode[\"no underline\"]\n+                            for (k = 1; k < length(oSynonyms[oRefs[ref][1]][oRefs[ref][2]]); k++)\n+                                r = r \", \" AnsiCode[\"underline\"]        \\\n+                                    show(oSynonyms[oRefs[ref][1]][oRefs[ref][2]][k], il) AnsiCode[\"no underline\"]\n+                        }\n+                        r = r \"\\n\"\n+                    }\n+                } else {\n+                    # Synonyms only\n+                    for (j = 0; j < length(oSynonyms[i]); j++) {\n+                        r = r \"\\n  * \" show(oSynonyms[i][j][0], il)\n+                        for (k = 1; k < length(oSynonyms[i][j]); k++)\n+                            r = r \", \" show(oSynonyms[i][j][k], il)\n+                    }\n+                    r = r \"\\n\"\n+                }\n+            }\n+        }\n+        # Examples\n+        if (isarray(oExamples) && anything(oExamples)) {\n+            r = r \"\\n\" \"Examples:\"\n+            for (i = 0; i < length(oExamples); i++) {\n+                example = oExamples[i]\n+                sub(\/\\u003cb\\u003e\/, AnsiCode[\"negative\"], example)\n+                sub(\/\\u003c\\\/b\\u003e\/, AnsiCode[\"positive\"], example)\n+                r = r \"\\n  - \" show(example, il)\n+                r = r \"\\n\"\n+            }\n+        }\n+        # See also\n+        if (isarray(oSeeAlso) && anything(oSeeAlso)) {\n+            r = r \"\\n\" \"See also:\"\n+            r = r \"\\n\" AnsiCode[\"underline\"] show(oSeeAlso[0], il) AnsiCode[\"no underline\"]\n+            for (k = 1; k < length(oSeeAlso); k++)\n+                r = r \", \" AnsiCode[\"underline\"] show(oSeeAlso[k], il) AnsiCode[\"no underline\"]\n+            r = r \"\\n\"\n+        }\n+\n+\n+\n+        r = r \"\\n\" AnsiCode[\"bold\"] s(translation, tl) AnsiCode[\"no bold\"] # target language\n         if (anything(phonetics))\n             r = r \"\\n\" AnsiCode[\"bold\"] join(phonetics) AnsiCode[\"no bold\"] # phonetic transcription\n \n"}
{"commit":"c08c7d6eb606241b9404981b48c77f1d47030728","subject":"Move down the functions.","message":"Move down the functions.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -1,43 +1,4 @@\n #!\/usr\/bin\/awk -f\n-\n-# Extract domain name from non-regex line\n-function extract(line, original_line) {\n-\tsub(\/.*:\\\/\\\/\/, \"\", line) # remove everything till :\/\/, such as http:\/\/ https:\/\/\n-\tsub(\/\\\/.*\/, \"\", line)    # remove everything from \/\n-\tsub(\/:.*\/, \"\", line)     # remove everything from :\n-\tsub(\/\\*\/, \"\", line)      # remove *\n-\tsub(\/^\\.\/, \"\", line)     # remove leading dot\n-\n-\tif (match(line, \/([A-Za-z0-9\\-]+\\.)+[A-Za-z0-9\\-]+\/)) {\n-\t\tdomains[++domain_count] = line\n-\t} else {\n-\t\tprint \"[WARN] <NR>\" NR \"<\/NR><original>\" original_line \"<\/original><extracted>\" line \"<\/extracted>\" | \"cat >&2\"\n-\t\tclose(\"cat >&2\")\n-\t}\n-}\n-\n-# Extract domain name from regex line\n-function extract_regex(line, original_line) {\n-\n-\t# Expand the lines like (aa|bb|cc) into multiple records\n-\tpos = match(line, \/\\([A-Za-z0-9\\.\\|]+\\)\/)\n-\tif (pos != 0) {\n-\t\tin_bracket = substr(line, RSTART + 1, RLENGTH - 2)\n-\t\tn = split(in_bracket, arr, \"|\")\n-\t\tfor (i = 1; i <= n; i++) {\n-\t\t\texpanded_line = line\n-\t\t\tsub(\/\\([A-Za-z0-9\\.\\|]+\\)\/, arr[i], expanded_line)\n-\t\t\textract_regex(expanded_line, original_line)\n-\t\t}\n-\t} else {\n-\t\tsub(\/.*:\\\\\\\/\\\\\\\/\/, \"\", line)    # remove everything till :\\\/\\\/ in regex, :\/\/ in plain text, such as http:\/\/ https:\/\/\n-\t\tgsub(\/\\([^\\)]+\\)\\*?\/, \"\", line) # remove (...)*? such as ([^\\\/]+\\.)\n-\t\tgsub(\/\\[.*\\]\\+\/, \"\", line)      # remove [...]\n-\t\tsub(\/\\\\\\\/.*\/, \"\", line)         # remove everything from \\\/ in regex, \/ in plaint text\n-\t\tgsub(\/\\\\\\.\/, \".\", line)         # replace \\. to .\n-\t\textract(line, original_line)\n-\t}\n-}\n \n BEGIN {\n \t\"date \\\"+%Y-%m-%d %H:%M:%S\\\"\" | getline now\n@@ -48,6 +9,7 @@\n \thost = host != \"\" ? host : \"127.0.0.1\"\n \tport = port != \"\" ? port : 5353\n }\n+\n {\n \toriginal_line = $0\n \n@@ -90,9 +52,49 @@\n \t\textract($0, original_line)\n \t}\n }\n+\n END {\n \tfor (i = 1; i <= domain_count; i++) {\n \t\tprintf \"server=\/.%s\/%s#%d\\n\", domains[i], host, port | \"sort | uniq\"\n \t}\n \tclose(\"sort | uniq\")\n }\n+\n+# Extract domain name from non-regex line\n+function extract(line, original_line) {\n+\tsub(\/.*:\\\/\\\/\/, \"\", line) # remove everything till :\/\/, such as http:\/\/ https:\/\/\n+\tsub(\/\\\/.*\/, \"\", line)    # remove everything from \/\n+\tsub(\/:.*\/, \"\", line)     # remove everything from :\n+\tsub(\/\\*\/, \"\", line)      # remove *\n+\tsub(\/^\\.\/, \"\", line)     # remove leading dot\n+\n+\tif (match(line, \/([A-Za-z0-9\\-]+\\.)+[A-Za-z0-9\\-]+\/)) {\n+\t\tdomains[++domain_count] = line\n+\t} else {\n+\t\tprint \"[WARN] <NR>\" NR \"<\/NR><original>\" original_line \"<\/original><extracted>\" line \"<\/extracted>\" | \"cat >&2\"\n+\t\tclose(\"cat >&2\")\n+\t}\n+}\n+\n+# Extract domain name from regex line\n+function extract_regex(line, original_line) {\n+\n+\t# Expand the lines like (aa|bb|cc) into multiple records\n+\tpos = match(line, \/\\([A-Za-z0-9\\.\\|]+\\)\/)\n+\tif (pos != 0) {\n+\t\tin_bracket = substr(line, RSTART + 1, RLENGTH - 2)\n+\t\tn = split(in_bracket, arr, \"|\")\n+\t\tfor (i = 1; i <= n; i++) {\n+\t\t\texpanded_line = line\n+\t\t\tsub(\/\\([A-Za-z0-9\\.\\|]+\\)\/, arr[i], expanded_line)\n+\t\t\textract_regex(expanded_line, original_line)\n+\t\t}\n+\t} else {\n+\t\tsub(\/.*:\\\\\\\/\\\\\\\/\/, \"\", line)    # remove everything till :\\\/\\\/ in regex, :\/\/ in plain text, such as http:\/\/ https:\/\/\n+\t\tgsub(\/\\([^\\)]+\\)\\*?\/, \"\", line) # remove (...)*? such as ([^\\\/]+\\.)\n+\t\tgsub(\/\\[.*\\]\\+\/, \"\", line)      # remove [...]\n+\t\tsub(\/\\\\\\\/.*\/, \"\", line)         # remove everything from \\\/ in regex, \/ in plaint text\n+\t\tgsub(\/\\\\\\.\/, \".\", line)         # replace \\. to .\n+\t\textract(line, original_line)\n+\t}\n+}\n"}
{"commit":"2f24e3331197842b07ef4bb425fb4d8ca6751d9f","subject":"[rnc2rng.awk] Support namespaced element and attribute names","message":"[rnc2rng.awk] Support namespaced element and attribute names\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"4beb3d6d144c41525541cce2b611858b2645c725","subject":"x86: Don't use POSIX character classes in gen-insn-attr-x86.awk","message":"x86: Don't use POSIX character classes in gen-insn-attr-x86.awk\n\nNot all awk implementations (including the default awk in Ubuntu 9.10)\nsupport POSIX character classes.  Since x86-opcode-map.txt is plain\nASCII, we can just use explicit ranges for lower case, alphabetic, and\nalphanumeric characters instead.\n\nSigned-off-by: Roland Dreier <91e9b5f7ca0bb6300133ed378670d64af90dde66@cisco.com>\nAcked-by: Masami Hiramatsu <308c3db2ad395e67f502db11a9ceb1603d4442e0@redhat.com>\nLKML-Reference: <114d9d49de02dde04eecef799da927cfb6fa13bf@roland-alpha.cisco.com>\nSigned-off-by: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@zytor.com>\n","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- arch\/x86\/tools\/gen-insn-attr-x86.awk\n+++ arch\/x86\/tools\/gen-insn-attr-x86.awk\n@@ -6,8 +6,6 @@\n \n # Awk implementation sanity check\n function check_awk_implement() {\n-\tif (!match(\"abc\", \"[[:lower:]]+\"))\n-\t\treturn \"Your awk doesn't support charactor-class.\"\n \tif (sprintf(\"%x\", 0) != \"0\")\n \t\treturn \"Your awk has a printf-format problem.\"\n \treturn \"\"\n@@ -44,12 +42,12 @@\n \tdelete gtable\n \tdelete atable\n \n-\topnd_expr = \"^[[:alpha:]\/]\"\n+\topnd_expr = \"^[A-Za-z\/]\"\n \text_expr = \"^\\\\(\"\n \tsep_expr = \"^\\\\|$\"\n-\tgroup_expr = \"^Grp[[:alnum:]]+\"\n-\n-\timm_expr = \"^[IJAO][[:lower:]]\"\n+\tgroup_expr = \"^Grp[0-9A-Za-z]+\"\n+\n+\timm_expr = \"^[IJAO][a-z]\"\n \timm_flag[\"Ib\"] = \"INAT_MAKE_IMM(INAT_IMM_BYTE)\"\n \timm_flag[\"Jb\"] = \"INAT_MAKE_IMM(INAT_IMM_BYTE)\"\n \timm_flag[\"Iw\"] = \"INAT_MAKE_IMM(INAT_IMM_WORD)\"\n@@ -62,7 +60,7 @@\n \timm_flag[\"Ob\"] = \"INAT_MOFFSET\"\n \timm_flag[\"Ov\"] = \"INAT_MOFFSET\"\n \n-\tmodrm_expr = \"^([CDEGMNPQRSUVW\/][[:lower:]]+|NTA|T[012])\"\n+\tmodrm_expr = \"^([CDEGMNPQRSUVW\/][a-z]+|NTA|T[012])\"\n \tforce64_expr = \"\\\\([df]64\\\\)\"\n \trex_expr = \"^REX(\\\\.[XRWB]+)*\"\n \tfpu_expr = \"^ESC\" # TODO\n"}
{"commit":"645e815853951e73a88706c82378c8cca2748d73","subject":"Adding color to loop flow","message":"Adding color to loop flow\n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@81 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/callflow.awk\n+++ scripts\/callflow.awk\n@@ -73,7 +73,7 @@\n func line(x1,x2,y,output, c) {\n \n   if (x1 == x2) {\n-    printf \"<polyline points=\\\"%d,%d %d,%d %d,%d %d,%d %d,%d %d,%d %d,%d %d,%d\\\" fill=\\\"none\\\" class=\\\"traceline\\\"\/>\\n\",\n+    printf \"<polyline points=\\\"%d,%d %d,%d %d,%d %d,%d %d,%d %d,%d %d,%d %d,%d\\\" fill=\\\"none\\\" class=\\\"traceline\\\" style=\\\"stroke: %s;\\\"\/>\\n\",\n       x1,y-18+7,\n       x1+5,y-18+7,\n       x1+12,y-15+7,\n@@ -81,8 +81,9 @@\n       x1+15,y-5+7,\n       x1+12,y-2+7,\n       x1+5,y+7,\n-      x1,y+7;\n-    arrow(x1,y+7,1);\n+      x1,y+7,\n+      color[c];\n+    arrow(x1,y+7,1,c);\n \n     xtext = x1 + 18;\n     \n"}
{"commit":"a3d83a31a7e806a655492c90663c620607140cfa","subject":"Move GLN testing to 2015.","message":"Move GLN testing to 2015.","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if either [status is _not_ manifest] OR [journal_year (or journal end year) is gt or eq to 2005 && journal year (or journal end year) is lt or eq to the current year we are testing]\n-  current_year = 2014\n+  current_year = 2015\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"7a83bb3e836f07d2a69e44390a2871897a1c0422","subject":"aux\/sys\/cmd\/mapr.awk: add pseudo-hashbang for syntax colouring","message":"aux\/sys\/cmd\/mapr.awk: add pseudo-hashbang for syntax colouring\n","repos":"modernish\/modernish","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- lib\/modernish\/aux\/sys\/cmd\/mapr.awk\n+++ lib\/modernish\/aux\/sys\/cmd\/mapr.awk\n@@ -1,3 +1,5 @@\n+#! \/modernish\/helper\/script\/for\/awk -f\n+#\n # awk script belonging to modernish sys\/cmd\/mapr.mm\n #\n # This converts the input to commands for the shell to 'eval', based\n"}
{"commit":"fb7cc9686be9cad9c0cdc01adecb53e4723cc16f","subject":"Parser: fix parseJson() for empty objects","message":"Parser: fix parseJson() for empty objects\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Parser.awk\n+++ include\/Parser.awk\n@@ -275,6 +275,8 @@\n         else if (belongsTo(token, commas)) {\n             if (isnum(stack[p])) # array\n                 stack[p]++ # increase index\n+            else # anyway\n+                flag = 0 # ready to read key\n         } else if (belongsTo(token, colons)) {\n             flag = 1 # ready to read value\n         } else if (isnum(stack[p]) || flag) {\n"}
{"commit":"cb2587644ee65c0956a66529644a5d001d920824","subject":"devtools: fix directory filter in forbidden token check","message":"devtools: fix directory filter in forbidden token check\n\ncheckpatches.sh current complains on a patch [1] adding\nALLOW_EXPERIMENTAL_API in an example while this check is for app, lib\nand drivers directories:\n\nWarning in examples\/ethtool\/ethtool-app\/Makefile:\nUsing experimental build flag for in-tree compilation\n\nThe regexp on entering files concerned by this filter is incorrect.\nIn the [1] case, the file full name is matched against \"app\" rather than\n\"+++ b\/app\".\n\n1: https:\/\/patchwork.dpdk.org\/patch\/83902\/\n\nFixes: 7413e7f2aeb3 (\"devtools: alert on new calls to exit from libs\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <f28529695cfa9e3e1eb84e7072aa626af4abb18e@redhat.com>\n","repos":"john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- devtools\/check-forbidden-tokens.awk\n+++ devtools\/check-forbidden-tokens.awk\n@@ -54,7 +54,7 @@\n \t}\n \tfor (i in deny_folders) {\n \t\tre = \"^\\\\+\\\\+\\\\+ b\/\" deny_folders[i];\n-\t\tif ($0 ~ deny_folders[i]) {\n+\t\tif ($0 ~ re) {\n \t\t\tin_file = 1\n \t\t\tlast_file = $0\n \t\t}\n"}
{"commit":"35d9e19cbba25c1f00a37fb9753deffa3e638c96","subject":"Remove unnecessary global data variables","message":"Remove unnecessary global data variables\n","repos":"ellson\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- awk\/colortbl.awk\n+++ awk\/colortbl.awk\n@@ -38,7 +38,7 @@\n \tv = v * 255.0;\n }\n \n-BEGIN\t{ s = ARGV[1]; gsub(\"\\\\.\",\"_\",s); printf(\"hsvrgbacolor_t %s[] = {\\n\",s); }\n+BEGIN\t{ s = ARGV[1]; gsub(\"\\\\.\",\"_\",s); printf(\"static hsvrgbacolor_t %s[] = {\\n\",s); }\n \/^$\/\t{ next; }\n \/^#\/\t{ next; }\n \t\t{\n"}
{"commit":"e6b7463d932d8a4526ab4920a34ae1b410de303c","subject":"Simplify toloka.awk","message":"Simplify toloka.awk\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/toloka.awk\n+++ misc\/toloka.awk\n@@ -5,11 +5,15 @@\n }\n NR == 1 {\n     for (i=1; i<=NF; i++) ix[$i] = i;\n+    next;\n }\n-NR > 1 && $ix[\"found\"] {\n+!$ix[\"found\"] {\n+    next;\n+}\n+{\n     hypernyms[$ix[\"hypernym\"] OFS $ix[\"genitive\"]];\n }\n-NR > 1 && $ix[\"found\"] && $ix[\"hyponym\"] != hyponym {\n+$ix[\"hyponym\"] != hyponym {\n     for (hypernym_genitive in hypernyms) {\n         print $ix[\"hyponym\"], hypernym_genitive, \"\", \"\";\n     }\n"}
{"commit":"4ce2f6cb648d4bf280cc85e256fcc6d0431df4a7","subject":"Removed unused code","message":"Removed unused code\n","repos":"asukakenji\/go,asukakenji\/go,asukakenji\/go,asukakenji\/go","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- jni\/scripts\/gen_jvalue_go.awk\n+++ jni\/scripts\/gen_jvalue_go.awk\n@@ -14,11 +14,6 @@\n \tj_to_g_map[\"jfloat\"] = \"float32\"\n \tj_to_g_map[\"jdouble\"] = \"float64\"\n \tj_to_g_map[\"jobject\"] = \"JObject\"\n-\n-\t# Go to Java Map\n-\tfor (k in j_to_g_map) {\n-\t\tg_to_k_map[j_to_g_map[k]] = k\n-\t}\n }\n \n function capitalize(s, count) {\n"}
{"commit":"818bdb78b7daf1de13fc29016091a07d47d69357","subject":"Add a layout for the french Apple black usb keyboard (fr.apple). With help from Jean-Marc Harang, thanks!","message":"Add a layout for the french Apple black usb keyboard (fr.apple).\nWith help from Jean-Marc Harang, thanks!\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/makemap.awk\n+++ dev\/usb\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.3 2005\/05\/12 16:21:24 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.4 2005\/05\/19 10:40:48 miod Exp $\n #\n # Copyright (c) 2005, Miodrag Vallat\n #\n@@ -31,11 +31,12 @@\n #\n \n BEGIN {\n-\trcsid = \"$OpenBSD: makemap.awk,v 1.3 2005\/05\/12 16:21:24 miod Exp $\"\n+\trcsid = \"$OpenBSD: makemap.awk,v 1.4 2005\/05\/19 10:40:48 miod Exp $\"\n \tifdepth = 0\n \tignore = 0\n \tdeclk = 0\n \thaskeys = 0\n+\tkbfr = 0\n \n \t# PS\/2 id -> UKBD conversion table, or \"sanity lossage 102\"\n \t# (101 is for GSC keyboards!)\n@@ -312,9 +313,21 @@\n \t\thaskeys = 0\n \n \t\t#\n-\t\t# Apple portuguese USB keyboards use a slightly different\n-\t\t# layout. We define it here.\n+\t\t# Apple black USB keyboards use a slightly different\n+\t\t# layout. We define them here.\n \t\t#\n+\t\tif (mapname == \"ukbd_keydesc_fr[]\") {\n+\t\t\tprint $0\n+\t\t\tprint \"\\nstatic const keysym_t ukbd_keydesc_fr_apple[] = {\"\n+\t\t\tprint \"    KC(35),\\tKS_section,\\tKS_6,\"\n+\t\t\tprint \"    KC(37),\\tKS_exclam,\\tKS_8,\"\n+\t\t\tprint \"    KC(46),\\tKS_minus,\\tKS_underscore,\"\n+\t\t\tprint \"    KC(48),\\tKS_dollar,\\tKS_asterisk,\"\n+\t\t\tprint \"    KC(50),\\tKS_backslash,\\tKS_sterling,\"\n+\t\t\tprint \"    KC(53),\\tKS_at,\\tKS_numbersign,\"\n+\t\t\tprint \"    KC(56),\\tKS_equal,\\tKS_plus,\"\n+\t\t\tprint \"    KC(103),\\tKS_KP_Equal,\"\n+\t\t} else\n \t\tif (mapname == \"ukbd_keydesc_pt[]\") {\n \t\t\tprint $0\n \t\t\tprint \"\\nstatic const keysym_t ukbd_keydesc_pt_apple[] = {\"\n@@ -324,8 +337,17 @@\n \t\t\tprint \"    KC(50),\\tKS_backslash,\\tKS_bar,\"\n \t\t\tprint \"    KC(52),\\tKS_dead_tilde,\\tKS_dead_circumflex\"\n \t\t}\n-\n \t}\n+}\n+\/KB_FR\/ {\n+\tprint $0\n+\tif (kbfr++ == 0) {\n+\t\tprint \"\\tKBD_MAP(KB_FR | KB_APPLE,\\tKB_FR,\\tukbd_keydesc_fr_apple),\"\n+\t} else {\n+\t\tprint \"\\tKBD_MAP(KB_FR | KB_APPLE | KB_SWAPCTRLCAPS,\\tKB_FR | KB_APPLE,\"\n+\t\tprint \"\\t\\tukbd_keydesc_swapctrlcaps),\"\n+\t}\n+\tnext\n }\n \/KB_PT\/ {\n \tprint $0\n"}
{"commit":"af95ed1eeb9f16e1255d88a392b5473340035b62","subject":"seems to function...","message":"seems to function...\n","repos":"TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/distill_dot.awk\n+++ scripts\/distill_dot.awk\n@@ -1,21 +1,68 @@\n-#! \/usr\/bin\/awk -f\n+#! \/usr\/bin\/gawk -f\n # distill_dot.awk <numbered.gv>  > <filtered_weighted.gv>\n # \n \n # I have dot files with edge lables that terminate with a number in parens `(nnn)`.\n-# the numbers may be simple counts (n > 0) or may be differences [nil neg zero pos ] \n-# \n+# the numbers may be simple counts (n > 0) or may be differences [nil neg zero pos ]\n+#\n # I'm initally intrested in the case where the numbers are a difference \n-# and will filter out small differences and colorize\/weight larger changes.    \n+# and will filter out small differences and colorize\/weight larger changes.\n+#\n+# To normalize, will need to read through first then output\n+\n+BEGIN {hi = -2^PREC; lo = 2^PREC; THRESHOLD = 10}\n+\n+# there is an unfortunate case where the label contains parens e.g.\n+# ZFIN -> LITERAL [label=<dc:title ! title (dce) (30783)>];\n+\n+# AspGD -> GO [label=<RO:0002331 ! involved in (-12)>, color=\"pink\"];\n \n \n-BEGIN: {hi=-1000000; lo=1000000}\n+\/.*label=<.*\\(-?[0-9]+\\).*;$\/{\n \n-# there is an unfortunate case where the label cantains parens e.g. \n-# ZFIN -> LITERAL [label=<dc:title ! title (dce) (30783)>];\n-# will need to \n+    n = split($0, a, \/[()]\/)\n+    # for(i in  a) print a[i]\n+    val = a[length(a)-1]\n+    sfx = a[length(a)]\n+    # print \"Val=\" val\n+    if(val > hi) hi = val\n+    if(val < lo) lo = val\n+    aval = (val < 0.0) ? -val : val\n+    if(aval > THRESHOLD){\n+        a[length(a)] = \"\"\n+        a[length(a)-1] = \"\"\n+        key=\"\"\n+        for(x in a) key = key a[x]\n+        value[key] = val\n+        sufix[key] = substr(sfx,2)\n+    }\n+}\n \n-\/^[^ ]+ -> [^ ]+ \\[label=<.*([^)]+>.*];$\/ {\n+# not processed\n+!\/.*label=<.*\\(-?[0-9]+\\).*;$\/ {\n+    pass_on[pss++] = $0\n+}\n \n-    # \n+END {\n+    SCALE =  (hi > -lo)? hi: -lo\n+    # Threshold could extended as a fraction of scale ...\n+    THRESHOLD =  SCALE \/ 200\n+\n+#    if (SCALE < 1){\n+#       print \"ERROR not to scale: \" SCALE\n+#        SCALE = 1\n+#    }\n+\n+\n+    for(i = 0; i < pss; i++)  # not the last line\n+        if( (pass_on[i]!=\"\") && (pass_on[i]!=\"}\")) print pass_on[i]\n+\n+    for(key in value)   {\n+        val = value[key]\n+        aval = (val < 0.0) ? -val : val\n+        if(aval >= THRESHOLD)\n+            print key \">, penwidth = \\\"\"(aval\/SCALE*5)\"\\\", weight = \\\"\" aval \"\\\"\" sufix[key]\n+    }\n+\n+    print \"}\"\n }\n"}
{"commit":"a842cc8a5f11ea9c2d7ad113a7ea826e169b1f40","subject":"Output whitespace cleanup.","message":"Output whitespace cleanup.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -6,7 +6,11 @@\n         split(pairs[j], keyValue, \"=\")\n         k = keyValue[1]\n         v = keyValue[2]\n-        printf \"\\t\\t\\\"%s\\\": \\\"%s\\\",\\n\", k, urlDecode(urlDecode(v))\n+        printf \"\\t\\t\\t\\t\\\"%s\\\": \\\"%s\\\"\", k, urlDecode(urlDecode(v))\n+        if (j + 1 < len) {\n+            printf \",\"\n+        }\n+        printf \"\\n\"\n     }\n }\n \n@@ -34,6 +38,7 @@\n }\n \n END {\n+    printf \"\\n\\t]\\n\"\n     print \"}\"\n }\n \n@@ -45,6 +50,7 @@\n     rest = substr($0, length(\"#Fields: \") + 1)\n     split(rest, fields, \" \")\n     numFields = length(fields)\n+    printf \"\\t\\\"records\\\": [\\n\"\n }\n \n \/^#\/ {\n@@ -58,7 +64,7 @@\n     split($0, fieldsThisLine, \" \")\n     urlIndex = 0\n     if (NF == numFields) {\n-        print \"\\t{\"\n+        print \"\\t\\t{\"\n         for(i = 1; i < NF; i++)\n         {\n             fieldName = fields[i]\n@@ -68,18 +74,18 @@\n             }\n             fieldValue = fieldsThisLine[i]\n             maybeDecoded = (fieldName == \"cs-uri-query\" ? urlDecode(fieldValue) : fieldValue)\n-            printf \"\\t\\t\\\"%s\\\": \\\"%s\\\"\", fieldName, fieldValue\n+            printf \"\\t\\t\\t\\\"%s\\\": \\\"%s\\\"\", fieldName, fieldValue\n             if (i + 1 < NF && urlIndex > 0) {\n                 printf \",\"\n             }\n             printf \"\\n\"\n         }\n         if (urlIndex > 0) {\n-            printf \"\\t\\t\\\"cs-url-query\\\": {\\n\"\n+            printf \"\\t\\t\\t\\\"cs-url-query\\\": {\\n\"\n             printUrlQueryString(fieldsThisLine[urlIndex])\n-            printf \"}\\n\"\n+            printf \"\\t\\t\\t}\\n\"\n         }\n-        printf \"\\t}\"\n+        printf \"\\t\\t}\"\n     }\n     logLineSeen = 1;\n }\n"}
{"commit":"f234a9d9106e4a52f685d0507462a092fc8a48b6","subject":"ahrf.awk: Allow _ for paragraphs","message":"ahrf.awk: Allow _ for paragraphs\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -23,7 +23,7 @@\n }\n \n # Paragraph\n-\/^[A-Za-z0-9]+\/ {\n+\/^[A-Za-z0-9_]+\/ {\n \tprintf(\"<p>%s<\/p>\\n\\n\", $0)\n \tnext\n }\n"}
{"commit":"d3c15a8b3bbc1c70e2ce0c4709a774a04b820b5e","subject":"ahrf.awk: Comment a dirty I wrote (don't remember why...)","message":"ahrf.awk: Comment a dirty I wrote (don't remember why...)\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -38,7 +38,7 @@\n \t\t\tprintf(\"%s\\n\", $c)\n \t\t}\n \t\t# Solve \"space\" bug! Less crado (gsub).\n-\t\tgsub(\/^ +\/,\"\",$NF)\n+\t\t#gsub(\/^ +\/,\"\",$NF)\n \t\tprintf(\"%s<\/code><\/pre>\\n\", $NF)\n \t}\n \tnext\n"}
{"commit":"bd417c5d5e672ed64ca265a532a47b833aaa8a6d","subject":"optimization ;-)","message":"optimization ;-)\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"unknown","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"ee5c03d9ab59ed2f8636d3b14a81a24dd474d533","subject":"Move out edge and node guts into macros.","message":"Move out edge and node guts into macros.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -65,6 +65,110 @@\n #\tprint \"\tfi\";\n #\tprint \"enddef;\";\n \n+\t# TODO: centralise to my equivalent of automata.mp, and include that\n+\n+\tprint \"vardef fsmnode(expr node, diam, final, lab) =\";\n+\tprint \"\tdraw fullcircle scaled diam shifted node withpen pencircle scaled 1bp;\"\n+\tprint \"\tif final:\"\n+\tprint \"\t\tdraw fullcircle scaled (diam - 8bp) shifted node withpen pencircle scaled 1bp;\"\n+\tprint \"\tfi;\"\n+\tprint \"\tif lab <> \\\"\\\":\"\n+\tprint \"\t\tlabel(lab, node);\"\n+\tprint \"\tfi;\"\n+\tprint \"enddef;\";\n+\n+\n+\tprint \"vardef fsmloop(expr node, diam, p, q, lab, loops) =\"\n+\tprint \"\tpath pp; pp = node -- 0.5[p, q];\"\n+\tprint \"\tdraw p -- q withpen pencircle scaled 0.5bp withcolor green;\"\n+\tprint \"\tdraw 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\"\n+\tprint \"\tdraw node -- 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\"\n+\n+\t# extend loop 1.25 * diameter\n+\t# count number of self-loops for this node, and increment extension\n+\tprint \"\tl := length pp;\"\n+\tprint \"\tpair m; m := (0.5 + 2 * mlog(loops + 1) \/ 256) * diam * unitvector(direction l of pp) shifted node;\"\n+\t# u3 = u1 projectedalong u2;\n+\tprint \"\tdraw node -- m withpen pencircle scaled 0.5bp withcolor green;\"\n+\n+\tprint \"\tif lab <> \\\"\\\":\"\n+\t# TODO: top or bottom, depending on green line direction\n+\tprint \"\t\tlabel.top(lab, m);\"\n+\tprint \"\tfi;\"\n+\n+\tprint \"\tpath b; b := node .. q .. m .. p .. node;\"\n+\tprint \"\tdrawarrow b cutbefore q cutafter p withpen pencircle scaled 1bp;\";\n+\n+\tprint \"enddef;\";\n+\n+\tprint \"vardef fsmgvedge(expr tail, taildiam, head, headdiam, e, lab, lxy, loops) =\";\n+\tprint \"\tdraw e withpen pencircle scaled 0.25bp withcolor red;\";\n+\n+\t# TODO: better explain this\n+\t# TODO: explain reversed for q, else we'd find p again, where head == tail\n+\tprint \"\tpath sn; sn := fullcircle scaled headdiam shifted head;\" # outline\n+\tprint \"\tpath st; st := fullcircle scaled taildiam shifted tail;\" # outline\n+\tprint \"\tpair p; p = e intersectionpoint sn;\\n\";\n+\tprint \"\tpair q; q = (reverse e) intersectionpoint st;\\n\";\n+\n+\tprint \"\tif head = tail:\"\n+\tprint \"\t\tfsmloop(head, headdiam, p, q, lab, loops);\"\n+\tprint \"\telse:\"\n+\n+\tprint \"\t\tpath b; b = tail .. q .. p .. head;\"\n+\n+\t# TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n+\t# this affects NFA especially\n+\tprint \"\t\tr := arclength b \/ arclength e;\";\n+\tprint \"\t\tboolean g; g := (r > 1.02) or (r < 0.93);\"; # XXX: or (arclength b > 6in);\"; - no, wigglyness instead\n+\n+\tprint \"\t\tif g:\"\n+\tprint \"\t\t\tb := e;\"\n+\tprint \"\t\tfi;\"\n+\n+\tprint \"\t\tif lab <> \\\"\\\":\"\n+\tprint \"\t\t\tpair bl;\";\n+\tprint \"\t\t\tpair ml; ml := .5[tail, head];\"\n+\n+\t# TODO: new idea; draw right angle from midpoint, and use that to find intersection with b\n+\t# this way it should always align for multiple edges, even if on a slant\n+\n+\tprint \"\t\t\tdraw lxy withpen pencircle scaled 5bp withcolor red;\"\n+\tprint \"\t\t\tdraw point (length b \/ 2) of b withpen pencircle scaled 4bp withcolor blue;\"\n+#\tprint \"\t\t\tdraw tail -- head withpen pencircle scaled 1bp withcolor green;\"\n+#\tprint \"\t\t\tdraw ml withpen pencircle scaled 5bp withcolor green;\"\n+\n+\tprint \"\t\t\tif g:\"\n+\tprint \"\t\t\t\tbl := lxy;\"\n+\tprint \"\t\t\telse:\"\n+\tprint \"\t\t\t\tbl := point (length b \/ 2) of b;\"\n+\tprint \"\t\t\tfi;\"\n+\n+\t# TODO: plus label delta, distancing it from point. make a label function\n+\t# TODO: maybe an \"extend\" function, to extend a path in its direction. use dotprod for that?\n+\n+\t# lft | rt | top | bot | ulft | urt | llft | lrt\n+\t# labels ought to be below, if they're below the straight line from head-tail, or above otherwise\n+\t# TODO: round label coordinates to grid? quantize rather\n+\n+\t# XXX: if using graphviz's point, label exactly on the spot\n+\tprint \"\t\t\tif g:\";\n+\t# TODO: still want to distance by +\/- 4bp or so\n+\tprint \"\t\t\t\tlabel(lab, bl);\"\n+\tprint \"\t\t\telse:\"\n+\tprint \"\t\t\t\tif ypart bl < ypart ml:\" # TODO: threshold for considering \"below\"\n+\tprint \"\t\t\t\t\tlabel.bot(lab, bl shifted (0, -3bp));\"\n+\tprint \"\t\t\t\telse:\"\n+\tprint \"\t\t\t\t\tlabel.top(lab, bl shifted (0, +3bp));\"\n+\tprint \"\t\t\t\tfi;\"\n+\tprint \"\t\t\tfi;\"\n+\tprint \"\t\tfi;\"\n+\n+\tprint \"\tdrawarrow b cutbefore q cutafter p withpen pencircle scaled 1bp;\";\n+\n+\tprint \"\tfi;\"\n+\n+\tprint \"enddef;\";\n }\n \n \/^graph \/ {\n@@ -84,9 +188,9 @@\n \tshape  = $9;\n \t# TODO: label delimited by <>, may contain spaces\n \n+\t# TODO: quantise node positions\n+\tprintf \"\\t%s := (%fin, %fin);\\n\", name, x, y\n \tprintf \"\\t%s.loops := 0;\\n\", name\n-\n-\tprintf \"\\t%s := (%fin, %fin);\\n\", name, x, y\n \n # TODO: when plotting in graphviz, assume all nodes have the same width (not zero!). enough for \"SXX\" perhaps\n # that should align them all on the same centre line. and pass fixedsize=true\n@@ -97,25 +201,16 @@\n # ignore graphviz height and width, because it scales with label width and that looks bad for S1 vs S5\n \tdiam = 0.3 + length(label) * 0.05;\n \n-\tif (shape == \"doublecircle\") {\n+\tfinal = shape == \"doublecircle\";\n+\n+\tif (final) {\n \t\tprintf \"\\t%s.diam = %fin + 8bp;\\n\", name, diam;\n \t} else {\n \t\tprintf \"\\t%s.diam = %fin;\\n\", name, diam;\n \t}\n \n-\tif (shape == \"doublecircle\") {\n-# TODO: would rather && together paths to %s.n or somesuch\n-\t\tprintf \"\\tdraw fullcircle scaled (%s.diam - 8bp) shifted %s withpen pencircle scaled 1bp;\\n\", name, name\n-\t}\n-\n-\tprintf \"\\t%s.n := fullcircle scaled %s.diam shifted %s;\\n\", name, name, name\n-\n \tif ($2 != \"start\") {\n-\t\tprintf \"\\tdraw %s.n withpen pencircle scaled 1bp;\\n\", name\n-\n-\t\tif (label != \"\") {\n-\t\t\tprintf \"\\tlabel(\\\"%s\\\", %s);\\n\", label, name\n-\t\t}\n+\t\tprintf \"\\tfsmnode(%s, %s.diam, %s, \\\"%s\\\");\\n\", name, name, final ? \"true\" : \"false\", label\n \t}\n }\n \n@@ -167,13 +262,6 @@\n \t\tprintf \"\\t(%fin, %fin);\\n\", ox, oy;\n \t}\n \n-\tprintf \"\\tdraw e withpen pencircle scaled 0.25bp withcolor red;\\n\";\n-\n-\t# TODO: better explain this\n-\t# TODO: explain reversed for q, else we'd find p again, where head == tail\n-\tprintf \"pair p; p = e intersectionpoint %s.n;\\n\", head;\n-\tprintf \"pair q; q = (reverse e) intersectionpoint %s.n;\\n\", tail;\n-\n \t# XXX: assuming no space in label\n label = slabel(a[n * 2 + 5]);\n lx    = (a[n * 2 + 6]);\n@@ -183,81 +271,11 @@\n \t\tlabel = \"\";\n \t}\n \n+\tprintf \"fsmgvedge(%s, %s.diam, %s, %s.diam, e, \\\"%s\\\", (%fin, %fin), %s.loops);\", tail, tail, head, head, label, lx, ly, head;\n+\n \tif (head == tail) {\n-\t\tprintf \"path pp; pp = %s -- 0.5[p, q];\\n\", head;\n-printf \"draw p -- q withpen pencircle scaled 0.5bp withcolor green;\\n\";\n-printf \"draw 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\\n\";\n-printf \"draw %s -- 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\\n\", head;\n-\n-\t\t# extend loop 1.25 * diameter\n-\t\t# count number of self-loops for this node, and increment extension\n-\t\tprintf \"\\t%s.loops := %s.loops + 1;\", head, head\n-\t\tprint \"l := length pp;\"\n-\t\tprintf \"\\tpair m; m := (0.5 + 2 * mlog(%s.loops + 1) \/ 256) * %s.diam * unitvector(direction l of pp) shifted %s;\\n\", head, head, head\n-# u3 = u1 projectedalong u2;\n-\t\tprintf \"\\tdraw %s -- m withpen pencircle scaled 0.5bp withcolor green;\\n\", head\n-\n-\t\tprintf \"\\tpath b; b = %s .. q .. m .. p .. %s;\\n\", tail, head;\n-\n-\t\tif (label != \"\") {\n-\t\t\t# TODO: top or bottom, depending on green line direction\n-\t\t\tprintf \"\\tlabel.top(\\\"%s\\\", m);\\n\", slabel(label)\n-\t\t}\n-\t} else {\n-\t\tprintf \"\\tpath b; b = %s .. q .. p .. %s;\\n\", tail, head;\n-\n-\t\t# TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n-\t\t# this affects NFA especially\n-\t\tprint \"\\tr := arclength b \/ arclength e;\\n\";\n-\t\tprint \"\\tboolean g; g := (r > 1.02) or (r < 0.93);\"; # XXX: or (arclength b > 6in);\"; - no, wigglyness instead\n-\n-\t\tprint \"\\tif g:\";\n-\t\tprint \"\\t\\tb := e;\";\n-\t\tprint \"\\tfi;\";\n-\n-# if it wouldn't have been a straight line, go via the label point instead:\n-# XXX: this idea doesn't work, because i don't know which side of the line the label point would be on\n-#printf \"\\t\\tb := %s .. q .. (%fin, %fin) .. p .. %s;\\n\", tail, lx, ly, head;\n-\n-\t\tif (label != \"\") {\n-\t\t\tprintf \"\\tpair bl;\\n\";\n-\t\t\tprintf \"\\tpair ml; ml := .5[%s, %s];\\n\", tail, head;\n-\n-# TODO: new idea; draw right angle from midpoint, and use that to find intersection with b\n-# this way it should always align for multiple edges, even if on a slant\n-\n-printf \"draw (%fin, %fin) withpen pencircle scaled 5bp withcolor red;\\n\", lx, ly\n-printf \"draw point (length b \/ 2) of b withpen pencircle scaled 4bp withcolor blue;\\n\"\n-#printf \"draw %s -- %s withpen pencircle scaled 1bp withcolor green;\\n\", tail, head\n-#printf \"draw ml withpen pencircle scaled 5bp withcolor green;\\n\"\n-\n-\t\t\tprint \"\\tif g:\";\n-\t\t\t\tprintf \"\\t\\tbl := (%fin, %fin);\", lx, ly;\n-\t\t\tprint \"\\telse:\";\n-\t\t\t\tprintf \"\\t\\tbl := point (length b \/ 2) of b;\\n\";\n-\t\t\tprint \"\\tfi;\";\n-\n-# TODO: plus label delta, distancing it from point. make a label function\n-# TODO: maybe an \"extend\" function, to extend a path in its direction. use dotprod for that?\n-\n-\t\t\t# lft | rt | top | bot | ulft | urt | llft | lrt\n-\t\t\t# labels ought to be below, if they're below the straight line from head-tail, or above otherwise\n-\t\t\t# TODO: round label coordinates to grid? quantize rather\n-# XXX: if using graphviz's point, label exactly on the spot\n-print \"\\tif g:\";\n-# TODO: still want to distance by +\/- 4bp or so\n-\t\t\tprintf \"\\t\\tlabel(\\\"%s\\\", bl);\\n\", label\n-print \"\\telse:\";\n-\t\t\tprintf \"\\tif ypart bl < ypart ml:\\n\" # TODO: threshold for considering \"below\"\n-\t\t\tprintf \"\\t\\tlabel.bot(\\\"%s\\\", bl shifted (0, -3bp));\\n\", label\n-\t\t\tprintf \"\\telse:\\n\"\n-\t\t\tprintf \"\\t\\tlabel.top(\\\"%s\\\", bl shifted (0, +3bp));\\n\", label\n-\t\t\tprintf \"\\tfi;\\n\"\n-print \"\\tfi;\";\n-\t\t}\n-\t}\n-\n-\tprintf \"drawarrow b cutbefore q cutafter p withpen pencircle scaled 1bp;\\n\";\n+\t\tprint \"\t%s.loops := %s.loops + 1;\", head, head\n+\t}\n }\n \n \/^stop$\/ {\n"}
{"commit":"85419b4e53c8e9185db12f5d17ea6ef534707834","subject":"(minor) fix symbol table gen script","message":"(minor) fix symbol table gen script","repos":"gzoom13\/embox,mike2390\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kakadu\/embox,embox\/embox,Kakadu\/embox,Kakadu\/embox,Kakadu\/embox,abusalimov\/embox,mike2390\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kefir0192\/embox,gzoom13\/embox,gzoom13\/embox,embox\/embox,Kakadu\/embox,mike2390\/embox,gzoom13\/embox,abusalimov\/embox,vrxfile\/embox-trik,mike2390\/embox,abusalimov\/embox,Kefir0192\/embox,abusalimov\/embox,Kakadu\/embox,abusalimov\/embox,Kefir0192\/embox,gzoom13\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,mike2390\/embox,gzoom13\/embox,Kefir0192\/embox,Kefir0192\/embox,embox\/embox,embox\/embox,gzoom13\/embox,Kefir0192\/embox,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,embox\/embox,vrxfile\/embox-trik,mike2390\/embox,mike2390\/embox","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- mk\/script\/nm2c.awk\n+++ mk\/script\/nm2c.awk\n@@ -24,7 +24,7 @@\n \tif (a[1])\n \t\tloc = sprintf(\"{ \\\"%s\\\", %d }\", a[1], a[2])\n \telse\n-\t\tloc = sprintf(\"{ }\", a[1], a[2])\n+\t\tloc = \"{ 0 }\"\n \tprintf \"\\t{ (void *) 0x%s, \\\"%s\\\", %s },\\n\", $1, $3, loc;\n }\n \n"}
{"commit":"b44ab001b7133f325a446c25603c23e623e316f9","subject":"Fix from Aero.  Note that this file is depercated, but for the record...","message":"Fix from Aero.  Note that this file is depercated, but for the record...\n","repos":"nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- tmcd\/linux\/chipset.awk\n+++ tmcd\/linux\/chipset.awk\n@@ -31,6 +31,11 @@\n     found = 1;\n     exit\n }\n+\/^[ ]+PCI bridge: Intel Corp.*HI_C Virtual PCI-to-PCI Bridge\/ {\n+    print \"HI_C\";\n+    found = 1;\n+    exit\n+}\n \/^[ ]+PCI bridge: Intel Corp.*HI_B Virtual PCI-to-PCI Bridge\/ {\n     print \"HI_B\";\n     found = 1;\n"}
{"commit":"4f6480accb06584bcb75049e49f61678ee6cbdbc","subject":"updated makemega addstats to go with latest stats;","message":"updated makemega addstats to go with latest stats;\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- CPU\/common\/makemega_addstats.awk\n+++ CPU\/common\/makemega_addstats.awk\n@@ -26,24 +26,30 @@\n # Juicer version 1.5\n $1==\"Sequenced\"{\n gsub(\/,\/,\"\",$4);\n- total=total+$4;\n+ tot=tot+$4;\n }\n $1==\"Unmapped:\"{\n gsub(\/,\/,\"\",$2);\n- unmapped=unmapped+$2\n+ unm=unm+$2\n }\n $1==\"Normal\"{\n gsub(\/,\/,\"\",$3);\n- regular=regular+$3}\n+ norm=norm+$3}\n $1==\"Chimeric\" && $2==\"Paired:\"{\n gsub(\/,\/,\"\",$3);\n- normal=normal+$3}\n-$2==\"Ambiguous:\"{\n+ chim=chim+$3}\n+$1==\"MAPQ\" && $2==\"0:\"{\n gsub(\/,\/,\"\",$3);\n- abnorm=abnorm+$3}\n-$1==\"Alignable\"{\n+ mapq0=mapq0+$3}\n+$1==\"Collisions:\"{\n+gsub(\/,\/,\"\",$2);\n+ coll=coll+$2}\n+$3==\"Collisions:\"{\n gsub(\/,\/,\"\",$4);\n- alignable=alignable+$4}\n+ lowc=lowc+$4}\n+$1==\"Ligation\" {\n+gsub(\/,\/,\"\",$4);\n+ lig=lig+$4}\n $1==\"Unique\" {\n gsub(\/,\/,\"\",$3);\n  dedup=dedup+$3}\n@@ -54,13 +60,5 @@\n gsub(\/,\/,\"\",$3);\n  optdups=optdups+$3}\n END{\n- printf(\"%s %'d\\n\", \"Sequenced Read Pairs:\", total);\n- printf(\" %s %'d (%0.2f%)\\n\", \"Normal Paired:\", regular, regular*100\/total);\n- printf(\" %s %'d (%0.2f%)\\n\", \"Chimeric Paired:\", normal, normal*100\/total);\n- printf(\" %s %'d (%0.2f%)\\n\", \"Chimeric Ambiguous:\", abnorm, abnorm*100\/total);\n- printf(\" %s %'d (%0.2f%)\\n\", \"Unmapped:\", unmapped, unmapped*100\/total);\n- printf(\" %s %'d (%0.2f%)\\n\", \"Alignable (Normal+Chimeric Paired):\", alignable, alignable*100\/total);\n- printf(\"%s %'d\\n\", \"Unique Reads:\", dedup);\n- printf(\"%s %'d\\n\", \"PCR Duplicates:\", dups);\n-  printf(\"%s %'d\\n\", \"Optical Duplicates:\", optdups);\n+  printf(\"Sequenced Read Pairs:  %'d\\n Normal Paired: %'d (%0.2f%)\\n Chimeric Paired: %'d (%0.2f%)\\n Collisions: %'d (%0.2f%)\\n Low MAPQ Collisions: %'d (%0.2f%)\\n Unmapped: %'d (%0.2f%)\\n MAPQ 0: %'d (%0.2f%)\\n Ligation Motif Present: %'d (%0.2f%)\\nAlignable (Normal+Chimeric Paired): %'d (%0.2f%)\\n Unique Reads: %'d\\n PCR Duplicates: %'d\\n Optical Duplicates: %'d\\n\", tot, norm, norm*100\/tot, chim, chim*100\/tot, coll, coll*100\/tot, lowc, lowc*100\/tot, unm, unm*100\/tot, mapq0, mapq0*100\/tot, lig, lig*100\/tot, norm+chim, (norm+chim)*100\/tot, dedup, dups, optdups );\n }\n"}
{"commit":"4166ed1c413f67116113f045dec24b394ebdf23b","subject":"remove todo","message":"remove todo\n","repos":"nuex\/zodiac","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/render.awk\n+++ lib\/render.awk\n@@ -108,7 +108,6 @@\n }\n \n function run_filter(cmd, txt,   rand_date, tmpfile, rendered_txt, date_cmd, markdown_cmd, line) {\n-  # TODO use mktemp instead\n   date_cmd = \"date +%Y%m%d%H%M%S\"\n   date_cmd | getline rand_date\n   close(date_cmd)\n"}
{"commit":"c2aad25b36a875cf3e04e5db93945a4e30c8f85e","subject":"Clarify that input must be sorted","message":"Clarify that input must be sorted\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/median.awk\n+++ tools\/awk\/median.awk\n@@ -5,7 +5,7 @@\n # Usage: median\n #\n # Input:\n-#   - a column of numbers\n+#   - a sorted column of numbers\n #\n # Output:\n #   - median value\n"}
{"commit":"23c42cfb971b38003764f798efa3ff3232a692cf","subject":"multiline whitespace fix: do not offer \"PICK LINE\" again after it has been run","message":"multiline whitespace fix: do not offer \"PICK LINE\" again after it has been run\n","repos":"robert-figura\/req,robert-figura\/req","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/port.default.awk\n+++ src\/port.default.awk\n@@ -20,7 +20,7 @@\n func pick_line(s) {\n     s = collapse(s)\n     c = btick(nest(s, \"menu\"))\n-    runHook(nest(c))\n+    runHook(nest(trim(c)))\n }\n # this is a hack to reclassify full line, see main.head.awk:\n func merge_lines(s) {\n"}
{"commit":"2e95b9a5963577e4b4625c36ee63aeef02159cea","subject":"build -target=awk: use a different shebang for OS X","message":"build -target=awk: use a different shebang for OS X\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -28,7 +28,7 @@\n }\n \n # Task: build\n-function build(target,    group, inline, line) {\n+function build(target,    group, inline, line, temp) {\n     # Default target: bash\n     if (!target) target = \"bash\"\n \n@@ -77,6 +77,8 @@\n \n     } else if (target == \"awk\" || target == \"gawk\") {\n \n+        \"uname -s\" | getline temp\n+\n         if (fileExists(EntryPoint))\n             while (getline line < EntryPoint) {\n                 match(line, \/^[[:space:]]*@include[[:space:]]*\"(.*)\"$\/, group)\n@@ -86,7 +88,11 @@\n                         while (getline inline < (group[1] \".awk\"))\n                             print inline > Trans\".awk\"\n                 } else {\n-                    print line > Trans\".awk\"\n+                    if (temp == \"Darwin\" && line == \"#!\/usr\/bin\/gawk -f\")\n+                        # OS X: gawk not in \/usr\/bin, use a better shebang\n+                        print \"#!\/usr\/bin\/env gawk -f\" > Trans\".awk\"\n+                    else\n+                        print line > Trans\".awk\"\n                 }\n             }\n \n"}
{"commit":"61ccf083e9072c0a5913f59a975bb4584c80a753","subject":"Languages: mark as stable: Kyrgyz","message":"Languages: mark as stable: Kyrgyz\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -166,15 +166,14 @@\n     Locale[\"rw\"][\"glotto\"]             = \"kiny1244\"\n     Locale[\"rw\"][\"script\"]             = \"Latn\"\n \n-    #? Kyrgyz\n-    Locale[\"ky\"][\"support\"]            = \"unstable\"\n+    # Kyrgyz\n     Locale[\"ky\"][\"name\"]               = \"Kyrgyz\"\n     Locale[\"ky\"][\"endonym\"]            = \"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430\"\n-    #Locale[\"ky\"][\"translations-of\"]\n-    #Locale[\"ky\"][\"definitions-of\"]\n-    #Locale[\"ky\"][\"synonyms\"]\n-    #Locale[\"ky\"][\"examples\"]\n-    #Locale[\"ky\"][\"see-also\"]\n+    Locale[\"ky\"][\"translations-of\"]    = \"%s \u043a\u043e\u0442\u043e\u0440\u043c\u043e\u0441\u0443\"\n+    Locale[\"ky\"][\"definitions-of\"]     = \"%s \u0430\u043d\u044b\u043a\u0442\u0430\u043c\u0430\u0441\u044b\"\n+    Locale[\"ky\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0434\u0435\u0440\"\n+    Locale[\"ky\"][\"examples\"]           = \"\u041c\u0438\u0441\u0430\u043b\u0434\u0430\u0440\"\n+    Locale[\"ky\"][\"see-also\"]           = \"\u0414\u0430\u0433\u044b \u043a\u0430\u0440\u0430\u04a3\u044b\u0437\"\n     Locale[\"ky\"][\"family\"]             = \"Turkic\"\n     Locale[\"ky\"][\"iso\"]                = \"kir\"\n     Locale[\"ky\"][\"glotto\"]             = \"kirg1245\"\n"}
{"commit":"f771409be5b14e5b0903133dced706076732b6c6","subject":"Languages: mark as stable: Hawaiian","message":"Languages: mark as stable: Hawaiian\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -475,8 +475,7 @@\n     Locale[\"chr\"][\"glotto\"]            = \"cher1273\"\n     Locale[\"chr\"][\"script\"]            = \"Cher\"\n \n-    #? Hawaiian\n-    Locale[\"haw\"][\"support\"]           = \"unstable\"\n+    # Hawaiian\n     Locale[\"haw\"][\"name\"]              = \"Hawaiian\"\n     Locale[\"haw\"][\"endonym\"]           = \"\u02bb\u014clelo Hawai\u02bbi\"\n     #Locale[\"haw\"][\"translations-of\"]\n"}
{"commit":"ac11d23140e90bebe038e5057cc997e0a5b214bd","subject":"Translate: fix play() with placeholder parameter \"&tk\"","message":"Translate: fix play() with placeholder parameter \"&tk\"\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -93,7 +93,7 @@\n # Play using Google Text-to-Speech engine.\n function play(text, tl,    url) {\n     url = HttpProtocol HttpHost \"\/translate_tts?ie=UTF-8&client=t\"\t\\\n-        \"&tl=\" tl \"&q=\" preprocess(text)\n+        \"&tl=\" tl \"&tk\" \"&q=\" preprocess(text)\n \n     # Don't use getline from pipe here - the same pipe will be run only once for each AWK script!\n     system(Option[\"player\"] \" \" parameterize(url) SUPOUT SUPERR)\n"}
{"commit":"7b1d3d12d2251d3b271f2a1543c79ad2f981ba12","subject":"added comment","message":"added comment\n","repos":"rpavlik\/chromium,rpavlik\/chromium,rpavlik\/chromium,rpavlik\/chromium,rpavlik\/chromium","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/exports.awk\n+++ scripts\/exports.awk\n@@ -1,3 +1,4 @@\n+# Used for making AIX shared libs\n {\n         if ((($2 == \"T\") || ($2 == \"D\") || ($2 == \"B\")) \\\n                 && ( substr($1,1,1) != \".\")) {\n"}
{"commit":"8ed9b20d9cbf8ff1e1c053683b1c384a3f2d1e01","subject":"Fix test output formatter","message":"Fix test output formatter\n\nThe test output script was not handling the reformat correctly. As a\nresult, some tests fail with Lua51 due to some stack message not\ncorrectly processed by this script.\n","repos":"nabilbendafi\/haka,LubyRuffy\/haka,haka-security\/haka,haka-security\/haka,LubyRuffy\/haka,lcheylus\/haka,Wingless-Archangel\/haka,nabilbendafi\/haka,lcheylus\/haka,Wingless-Archangel\/haka,nabilbendafi\/haka,haka-security\/haka,lcheylus\/haka","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- build\/CompareOutput.awk\n+++ build\/CompareOutput.awk\n@@ -4,7 +4,7 @@\n \ttrace = 0\n }\n \n-$0 ~ \/^[^ ]+[ ]+[^:]+:[ ]+.*$\/ {\n+$0 ~ \/^[^ \\t]+[ \\t]+[^:]+:[ ]+.*$\/ {\n \t\/* Reformat log output to avoid extra spaces *\/\n \t$0 = $1 \" \" $2 \" \" substr($0, index($0,$3));\n }\n"}
{"commit":"f2085d19f4c08203740b4241d493fc31d02506f6","subject":"Simplify prefix injection code","message":"Simplify prefix injection code\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doxy\/githublabels.awk\n+++ doxy\/githublabels.awk\n@@ -35,9 +35,7 @@\n # Substitute github references with doxygen references.\n #\n \/\\(#[_a-z0-9-]*\\)\/ {\n-\tgsub(\/\\(#[_a-z0-9-]*\\)\/, \"<__REF__&__REF__>\")\n-\tgsub(\/<__REF__\\(#\/, \"(@ref \" prefix)\n-\tgsub(\/\\)__REF__>\/, \")\")\n+\tgsub(\/\\[[^]]*\\]\\(#\/, \"&\" prefix)\n }\n \n #\n"}
{"commit":"6019928aa8258d825101ddbbc836736a6f2ce479","subject":"Arbitrary fields are now handled by the line 1 edit! v1.0 released!","message":"Arbitrary fields are now handled by the line 1 edit! v1.0 released!\n","repos":"ddcunningham\/crude-shellhunter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- deshellswebshellsbytheseashore.awk\n+++ deshellswebshellsbytheseashore.awk\n@@ -1,15 +1,15 @@\n #!\/bin\/awk\n+#v1.0, Authored by David Cunningham\n \n BEGIN { FS = \"\\\\?><\"; bound = 3}\n {\n   #If line matches shell pattern, and is on the first line, and contains only webshell fields (as seen in every example), clear the line..\n   if($0 ~ \/<\\?php if\\(!isset\\(\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]\\)\\).*\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]=1\\; \\} \\?><\\?php.*?>\/ && NR == 1 && NF < 3) \n     {print \"======\\n\"\"Removed line 1, as it was all shellcode:\",FILENAME,\". See diff for changes.\\n======\" >> \"\/root\/audit\/run.log\"}\n-# print \"bliggablau\" > FILENAME\".tmp\"}\n   #If line matches shell pattern, and is on the first line, modify the file in place, and log what was changed.\n   else if($0 ~ \/<\\?php if\\(!isset\\(\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]\\)\\).*\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]=1\\; \\} \\?><\\?php.*?>\/ && NR == 1 && NF >= 3) \n     {print \"======\\n\"\"Removed shellcode from line 1:\",FILENAME,\". See diff for changes.\\n======\" >> \"\/root\/audit\/run.log\"; \n-      for(i=bound; i<=NF; i++) printf(\"%s%s%s\",\"<\", $(i), i<NF ? OFS : \"\\n\") > FILENAME\".tmp\" }\n+      for(i=bound; i<=NF; i++) printf(\"%s%s%s%s\",\"<\", $(i), i<NF ? OFS : \"\\n\", i<NF ? i>bound ? \"?>\": \"\" : \"\") > FILENAME\".tmp\" }\n   #If line matches shell pattern, but is not on the first line, just log it.\n   else if($0 ~ \/<\\?php if\\(!isset\\(\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]\\)\\).*\\$GLOBALS\\[\\\"\\\\x61\\\\156\\\\x75\\\\156\\\\x61\\\"\\]=1\\; \\} \\?><\\?php.*?>\/) \n     { print \"======\\n\"\"Found additional shellcode, logging only:\",FILENAME,\", line\",NR\".\\n\\nShellcode is:\", $0\"\\n======\" >> \"\/root\/audit\/run.log\"; print $0> FILENAME\".tmp\"}\n"}
{"commit":"50965470a83839af6b4a32706982c9e4aa232c44","subject":"Translators\/SpellChecker: allow to specify aspell or hunspell","message":"Translators\/SpellChecker: allow to specify aspell or hunspell\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/SpellChecker.awk\n+++ include\/Translators\/SpellChecker.awk\n@@ -1,15 +1,33 @@\n ####################################################################\n # SpellChecker.awk                                                 #\n ####################################################################\n-BEGIN { provides(\"spell\") }\n+BEGIN {\n+    provides(\"spell\")\n+    provides(\"aspell\")\n+    provides(\"hunspell\")\n+}\n \n-# Detect external spell checker.\n+# Detect external (ispell -a compatible) spell checker.\n function spellInit() {\n     Ispell = detectProgram(\"aspell\", \"--version\") ? \"aspell\" :\n         (detectProgram(\"hunspell\", \"--version\") ? \"hunspell\" : \"\")\n \n     if (!Ispell) {\n         e(\"[ERROR] Spell checker (aspell or hunspell) not found.\")\n+        exit 1\n+    }\n+}\n+\n+function aspellInit() {\n+    if (!(Ispell = detectProgram(\"aspell\", \"--version\") ? \"aspell\" : \"\")) {\n+        e(\"[ERROR] Spell checker (aspell) not found.\")\n+        exit 1\n+    }\n+}\n+\n+function hunspellInit() {\n+    if (!(Ispell = detectProgram(\"hunspell\", \"--version\") ? \"hunspell\" : \"\")) {\n+        e(\"[ERROR] Spell checker (hunspell) not found.\")\n         exit 1\n     }\n }\n@@ -49,3 +67,13 @@\n     r = r substr(text, i)\n     return r\n }\n+\n+function aspellTranslate(text, sl, tl, hl,\n+                         isVerbose, toSpeech, returnPlaylist, returnIl) {\n+    return spellTranslate(text, sl, tl, hl)\n+}\n+\n+function hunspellTranslate(text, sl, tl, hl,\n+                           isVerbose, toSpeech, returnPlaylist, returnIl) {\n+    return spellTranslate(text, sl, tl, hl)\n+}\n"}
{"commit":"c2f63cad10b343d0304e8d419be7d555a19116aa","subject":"LanguageData: update section P","message":"LanguageData: update section P\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1775,9 +1775,23 @@\n     Locale[\"om\"][\"spoken-in\"]          = \"the Ethiopian state of Oromia; northeastern Kenya\"\n     Locale[\"om\"][\"supported-by\"]       = \"google\"\n \n-\n-\n-    #70 Pashto \/ Pushto\n+    # Papiamento\n+    Locale[\"pap\"][\"name\"]              = \"Papiamento\"\n+    Locale[\"pap\"][\"endonym\"]           = \"Papiamentu\"\n+    #Locale[\"pap\"][\"translations-of\"]\n+    #Locale[\"pap\"][\"definitions-of\"]\n+    #Locale[\"pap\"][\"synonyms\"]\n+    #Locale[\"pap\"][\"examples\"]\n+    #Locale[\"pap\"][\"see-also\"]\n+    Locale[\"pap\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"pap\"][\"branch\"]            = \"Portuguese Creole\"\n+    Locale[\"pap\"][\"iso\"]               = \"pap\"\n+    Locale[\"pap\"][\"glotto\"]            = \"papi1253\"\n+    Locale[\"pap\"][\"script\"]            = \"Latn\"\n+    Locale[\"pap\"][\"spoken-in\"]         = \"the Dutch Caribbean\"\n+    Locale[\"pap\"][\"supported-by\"]      = \"yandex\"\n+\n+    # Pashto \/ Pushto\n     Locale[\"ps\"][\"name\"]               = \"Pashto\"\n     Locale[\"ps\"][\"name2\"]              = \"Pushto\"\n     Locale[\"ps\"][\"endonym\"]            = \"\u067e\u069a\u062a\u0648\"\n@@ -1787,12 +1801,15 @@\n     Locale[\"ps\"][\"examples\"]           = \"\u0628\u06d0\u0644\u06ab\u06d0\"\n     Locale[\"ps\"][\"see-also\"]           = \"\u062f\u0627 \u0647\u0645 \u0648\u0648\u06cc\u0646\u0626\"\n     Locale[\"ps\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ps\"][\"branch\"]             = \"Iranian\"\n     Locale[\"ps\"][\"iso\"]                = \"pus\"\n     Locale[\"ps\"][\"glotto\"]             = \"pash1269\"\n     Locale[\"ps\"][\"script\"]             = \"Arab\"\n     Locale[\"ps\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #71 Persian \/ Farsi (Western Farsi \/ Iranian Persian)\n+    Locale[\"ps\"][\"spoken-in\"]          = \"Afghanistan; Pakistan\"\n+    Locale[\"ps\"][\"supported-by\"]       = \"google; bing\"\n+\n+    # Persian \/ Farsi (Western Farsi \/ Iranian Persian)\n     Locale[\"fa\"][\"name\"]               = \"Persian\"\n     Locale[\"fa\"][\"name2\"]              = \"Farsi\"\n     Locale[\"fa\"][\"endonym\"]            = \"\u0641\u0627\u0631\u0633\u06cc\"\n@@ -1802,12 +1819,15 @@\n     Locale[\"fa\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u200c\u0647\u0627\"\n     Locale[\"fa\"][\"see-also\"]           = \"\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647\"\n     Locale[\"fa\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fa\"][\"branch\"]             = \"Iranian\"\n     Locale[\"fa\"][\"iso\"]                = \"fas\"\n     Locale[\"fa\"][\"glotto\"]             = \"west2369\"\n     Locale[\"fa\"][\"script\"]             = \"Arab\"\n     Locale[\"fa\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #72 Polish\n+    Locale[\"fa\"][\"spoken-in\"]          = \"Iran\"\n+    Locale[\"fa\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Polish\n     Locale[\"pl\"][\"name\"]               = \"Polish\"\n     Locale[\"pl\"][\"endonym\"]            = \"Polski\"\n     Locale[\"pl\"][\"translations-of\"]    = \"T\u0142umaczenia %s\"\n@@ -1816,11 +1836,14 @@\n     Locale[\"pl\"][\"examples\"]           = \"Przyk\u0142ady\"\n     Locale[\"pl\"][\"see-also\"]           = \"Zobacz te\u017c\"\n     Locale[\"pl\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"pl\"][\"branch\"]             = \"West Slavic\"\n     Locale[\"pl\"][\"iso\"]                = \"pol\"\n     Locale[\"pl\"][\"glotto\"]             = \"poli1260\"\n     Locale[\"pl\"][\"script\"]             = \"Latn\"\n-\n-    #73 Portuguese (Brazilian)\n+    Locale[\"pl\"][\"spoken-in\"]          = \"Poland\"\n+    Locale[\"pl\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Portuguese (Brazilian)\n     Locale[\"pt-BR\"][\"name\"]            = \"Portuguese (Brazilian)\"\n     Locale[\"pt-BR\"][\"endonym\"]         = \"Portugu\u00eas Brasileiro\"\n     Locale[\"pt-BR\"][\"translations-of\"] = \"Tradu\u00e7\u00f5es de %s\"\n@@ -1829,12 +1852,31 @@\n     Locale[\"pt-BR\"][\"examples\"]        = \"Exemplos\"\n     Locale[\"pt-BR\"][\"see-also\"]        = \"Veja tamb\u00e9m\"\n     Locale[\"pt-BR\"][\"family\"]          = \"Indo-European\"\n+    Locale[\"pt-BR\"][\"branch\"]          = \"Western Romance\"\n     Locale[\"pt-BR\"][\"iso\"]             = \"por\"\n     Locale[\"pt-BR\"][\"glotto\"]          = \"braz1246\"\n     Locale[\"pt-BR\"][\"script\"]          = \"Latn\"\n     Locale[\"pt-BR\"][\"dictionary\"]      = \"true\" # has dictionary\n-\n-    #74 Punjabi, Gurmukh\u012b alphabet\n+    Locale[\"pt-BR\"][\"spoken-in\"]       = \"Portugal; Brazil; Cape Verde; Angola; Mozambique; Guinea-Bissau; Equatorial Guinea; S\u00e3o Tom\u00e9 and Pr\u00edncipe; East Timor; Macau\"\n+    Locale[\"pt-BR\"][\"supported-by\"]    = \"google; bing; yandex\"\n+\n+    # Portuguese (European)\n+    Locale[\"pt-PT\"][\"name\"]            = \"Portuguese (European)\"\n+    Locale[\"pt-PT\"][\"endonym\"]         = \"Portugu\u00eas Europeu\"\n+    Locale[\"pt-PT\"][\"translations-of\"] = \"Tradu\u00e7\u00f5es de %s\"\n+    Locale[\"pt-PT\"][\"definitions-of\"]  = \"Defini\u00e7\u00f5es de %s\"\n+    Locale[\"pt-PT\"][\"synonyms\"]        = \"Sin\u00f4nimos\"\n+    Locale[\"pt-PT\"][\"examples\"]        = \"Exemplos\"\n+    Locale[\"pt-PT\"][\"see-also\"]        = \"Veja tamb\u00e9m\"\n+    Locale[\"pt-PT\"][\"family\"]          = \"Indo-European\"\n+    Locale[\"pt-PT\"][\"branch\"]          = \"Western Romance\"\n+    Locale[\"pt-PT\"][\"iso\"]             = \"por\"\n+    Locale[\"pt-PT\"][\"glotto\"]          = \"port1283\"\n+    Locale[\"pt-PT\"][\"script\"]          = \"Latn\"\n+    Locale[\"pt-PT\"][\"spoken-in\"]       = \"Portugal; Brazil; Cape Verde; Angola; Mozambique; Guinea-Bissau; Equatorial Guinea; S\u00e3o Tom\u00e9 and Pr\u00edncipe; East Timor; Macau\"\n+    Locale[\"pt-PT\"][\"supported-by\"]    = \"bing\"\n+\n+    # Punjabi, Gurmukh\u012b alphabet\n     Locale[\"pa\"][\"name\"]               = \"Punjabi\"\n     Locale[\"pa\"][\"endonym\"]            = \"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40\"\n     Locale[\"pa\"][\"translations-of\"]    = \"\u0a26\u0a47 \u0a05\u0a28\u0a41\u0a35\u0a3e\u0a26%s\"\n@@ -1843,9 +1885,14 @@\n     Locale[\"pa\"][\"examples\"]           = \"\u0a09\u0a26\u0a3e\u0a39\u0a30\u0a23\u0a3e\u0a02\"\n     Locale[\"pa\"][\"see-also\"]           = \"\u0a07\u0a39 \u0a35\u0a40 \u0a35\u0a47\u0a16\u0a4b\"\n     Locale[\"pa\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"pa\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"pa\"][\"iso\"]                = \"pan\"\n     Locale[\"pa\"][\"glotto\"]             = \"panj1256\"\n     Locale[\"pa\"][\"script\"]             = \"Guru\"\n+    Locale[\"pa\"][\"spoken-in\"]          = \"the Punjab region of India and Pakistan\"\n+    Locale[\"pa\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     # Quechua\n     Locale[\"qu\"][\"name\"]               = \"Quechua\"\n@@ -2395,20 +2442,6 @@\n     Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n     Locale[\"zu\"][\"script\"]             = \"Latn\"\n \n-    #* Portuguese (European)\n-    Locale[\"pt-PT\"][\"support\"]         = \"bing-only\"\n-    Locale[\"pt-PT\"][\"name\"]            = \"Portuguese (European)\"\n-    Locale[\"pt-PT\"][\"endonym\"]         = \"Portugu\u00eas Europeu\"\n-    Locale[\"pt-PT\"][\"translations-of\"] = \"Tradu\u00e7\u00f5es de %s\"\n-    Locale[\"pt-PT\"][\"definitions-of\"]  = \"Defini\u00e7\u00f5es de %s\"\n-    Locale[\"pt-PT\"][\"synonyms\"]        = \"Sin\u00f4nimos\"\n-    Locale[\"pt-PT\"][\"examples\"]        = \"Exemplos\"\n-    Locale[\"pt-PT\"][\"see-also\"]        = \"Veja tamb\u00e9m\"\n-    Locale[\"pt-PT\"][\"family\"]          = \"Indo-European\"\n-    Locale[\"pt-PT\"][\"iso\"]             = \"por\"\n-    Locale[\"pt-PT\"][\"glotto\"]          = \"port1283\"\n-    Locale[\"pt-PT\"][\"script\"]          = \"Latn\"\n-\n     #* Quer\u00e9taro Otomi\n     Locale[\"otq\"][\"support\"]           = \"bing-only\"\n     Locale[\"otq\"][\"name\"]              = \"Quer\u00e9taro Otomi\"\n@@ -2472,20 +2505,6 @@\n     Locale[\"oc\"][\"iso\"]                = \"oci\"\n     Locale[\"oc\"][\"glotto\"]             = \"occi1239\"\n     Locale[\"oc\"][\"script\"]             = \"Latn\"\n-\n-    #? Papiamento\n-    Locale[\"pap\"][\"support\"]           = \"yandex-only\"\n-    Locale[\"pap\"][\"name\"]              = \"Papiamento\"\n-    Locale[\"pap\"][\"endonym\"]           = \"Papiamentu\"\n-    #Locale[\"pap\"][\"translations-of\"]\n-    #Locale[\"pap\"][\"definitions-of\"]\n-    #Locale[\"pap\"][\"synonyms\"]\n-    #Locale[\"pap\"][\"examples\"]\n-    #Locale[\"pap\"][\"see-also\"]\n-    Locale[\"pap\"][\"family\"]            = \"Indo-European\"\n-    Locale[\"pap\"][\"iso\"]               = \"pap\"\n-    Locale[\"pap\"][\"glotto\"]            = \"papi1253\"\n-    Locale[\"pap\"][\"script\"]            = \"Latn\"\n \n     #? Romansh\n     Locale[\"rm\"][\"support\"]            = \"unstable\"\n"}
{"commit":"0e57f1018bd0f063d492db076c1917f9183bbc9e","subject":"update slice.awk","message":"update slice.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tool.hgas\/slice.awk\n+++ tool.hgas\/slice.awk\n@@ -1,5 +1,8 @@\n-#argv: mode (x:0 y:1 z:2), dx\n+#argv: px, py, pz, dx, dy, dz\n BEGIN{\n+    px = 0.;\n+    py = 0.;\n+    pz = 0.;\n     dx = 1e30;\n     dy = 1e30;\n     dz = 1e30;\n@@ -10,7 +13,7 @@\n         exit;\n     }\n \n-    if(- dx < $4 && $4 < dx && - dy < $5 && $5 < dy && - dz < $6 && $6 < dz) {\n+    if(px - dx < $4 && $4 < px + dx && py - dy < $5 && $5 < py + dy && pz - dz < $6 && $6 < pz + dz) {\n         print $0;\n     }\n }"}
{"commit":"ec3533d4aeccc9dd98a2edd177a0348e106d56b3","subject":"Languages: add Cherokee script","message":"Languages: add Cherokee script\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1774,6 +1774,7 @@\n     case \"Arab\": return \"Arabic\"\n     case \"Armn\": return \"Armenian\"\n     case \"Beng\": return \"Bengali\"\n+    case \"Cher\": return \"Cherokee\"\n     case \"Cyrl\": return \"Cyrillic\"\n     case \"Deva\": return \"Devanagari\"\n     case \"Ethi\": return \"Ethiopic (Ge\u02bbez)\"\n"}
{"commit":"5ada8df6ded6990faf138f63a989ba61e2ed7612","subject":"Translators\/GoogleTranslate: strip whitespace before punctuation mark","message":"Translators\/GoogleTranslate: strip whitespace before punctuation mark\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -373,6 +373,8 @@\n \n                     temp = prettify(\"original-dictionary-examples-example\", ins(1, \"- \"))\n                     split(example, group, \/(<b>|<\\\/b>)\/)\n+                    if (group[3] ~ \/ [[:punct:].]\/)\n+                        group[3] = substr(group[3], 2)\n                     if (isRTL(il)) # target language is R-to-L\n                         temp = temp show(group[1] group[2] group[3], il)\n                     else # target language is L-to-R\n"}
{"commit":"ecf1b1f2f9f46e5427b5abb327b215ebcfe3ec47","subject":"PP-648: sgigenvnodelist.awk fails on SLES 12 and RHEL 7","message":"PP-648: sgigenvnodelist.awk fails on SLES 12 and RHEL 7\n","repos":"vinodchitrali\/pbspro,vinodchitrali\/pbspro,vinodchitrali\/pbspro,vinodchitrali\/pbspro,vinodchitrali\/pbspro","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- src\/cmds\/scripts\/sgigenvnodelist.awk\n+++ src\/cmds\/scripts\/sgigenvnodelist.awk\n@@ -93,6 +93,9 @@\n #\tthat belong to CPU sets not claimed by PBS.\n \n BEGIN {\n+\t# Sort cpus, mems, and vnodes numerically\n+\tPROCINFO[\"sorted_in\"] = \"@ind_num_asc\";\n+\n \tnas_mode = 0;\t\t\t#\tenable NAS mod 80\n \tdeftype = \"m\";\t\t\t#\tby default, output for pbs_mom\n \texitval = 0;\t\t\t#\tused to elide END actions\n@@ -111,8 +114,11 @@\n \t#\tcommand to find \"cpus\" and \"mems\" files that do not belong to\n \t#\tPBS (CPU sets that are not the root, and not under \/PBSPro)\n \t#\tin the \"cpuset\" file system\n-\tfindcmd = \"find \/dev\/cpuset -name cpus -print -o -name mems -print | \\\n-\t\tegrep -v '\/dev\/cpuset\/cpus|\/dev\/cpuset\/mems|\/PBSPro\/'\";\n+\tfindcmd = \"find \/dev\/cpuset -name cpus -o -name cpuset.cpus \\\n+\t\t-o -name mems -o -name cpuset.mems | \\\n+\t\tegrep -v -e '\/dev\/cpuset\/cpus$' -e '\/dev\/cpuset\/cpuset.cpus$' \\\n+\t\t-e '\/dev\/cpuset\/mems$' -e '\/dev\/cpuset\/cpuset.mems$' \\\n+\t\t-e '\/PBSPro\/'\";\n \n \ttopology_version_min = 1;\t#\tthe versions we understand\n \ttopology_version_max = 2;\t#\tthe versions we understand\n@@ -299,11 +305,11 @@\n {\n \tif (debug)\n \t\tprintf(\"read_excludelist:  listfile %s\\n\", listfile);\n-\tif (listfile ~ \"\/cpus$\") {\n+\tif (listfile ~ \"\/cpus$\" || listfile ~ \"\/cpuset.cpus$\") {\n \t\twhile ((getline cpumemlist < listfile) > 0)\n \t\t\tparse_CPUs(cpumemlist);\n \t\tclose(listfile);\n-\t} else if (listfile ~ \"\/mems$\") {\n+\t} else if (listfile ~ \"\/mems$\" || listfile ~ \"\/cpuset.mems$\") {\n \t\twhile ((getline cpumemlist < listfile) > 0)\n \t\t\tparse_mems(cpumemlist);\n \t\tclose(listfile);\n"}
{"commit":"8878b78420a9e14ff9e969896918205e1414ecbe","subject":"Add Diversion as valid SIP header","message":"Add Diversion as valid SIP header\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@182 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/long2html.awk\n+++ scripts\/long2html.awk\n@@ -168,6 +168,7 @@\n       if ($1 ~ \"Content-Type:\" ) MARK = \"sip\"\n       if ($1 ~ \"CSeq:\" ) MARK = \"sip\"\n       if ($1 ~ \"Date:\" ) MARK = \"sip\"\n+      if ($1 ~ \"Diversion:\" ) MARK = \"sip\"\n       if ($1 ~ \"Expires:\" ) MARK = \"sip\"\n       if ($1 ~ \"From:\" ) MARK = \"sip\"\n       if ($1 ~ \"Max-Forwards:\" ) MARK = \"sip\"\n"}
{"commit":"f1071294c7bf2aba171367458cc217c50ecc3503","subject":"print raw strings in hinter ( avoids interpreting %s within matches )","message":"print raw strings in hinter ( avoids interpreting %s within matches )\n","repos":"Morantron\/tmux-fingers,Morantron\/tmux-fingers","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/hinter.awk\n+++ scripts\/hinter.awk\n@@ -111,7 +111,7 @@\n           token = sprintf(compound_format, token, hint);\n       }\n \n-      printf token\n+      printf \"%s\", token\n     }\n \n     if (line_index < n_lines - 1) {\n"}
{"commit":"46249ca22ad9a6ac0c5e040b90772a477bf6efac","subject":"Languages: fix Wikipedia link for Serbian","message":"Languages: fix Wikipedia link for Serbian\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1885,7 +1885,8 @@\n     split(getISO(code), group, \"-\")\n     iso = group[1]\n     split(getName(code), group, \" \")\n-    language = length(group) == 1 ? group[1] \"_language\" : join(group, \"_\")\n+    language = length(group) == 1 ? group[1] \"_language\" :\n+        group[2] ~ \/^\\(.*\\)$\/ ? group[1] \"_language\" : join(group, \"_\")\n     return ansi(\"bold\", sprintf(\"%s\\n\", getDisplay(code)))              \\\n         sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getName(code)))       \\\n         sprintf(\"%-22s%s\\n\", \"Family\", ansi(\"bold\", getFamily(code)))   \\\n"}
{"commit":"a06fb3293f0e9f662a65e4c8e0f9e380d8514c0c","subject":"Translate: correct the behavior of download-audio","message":"Translate: correct the behavior of download-audio\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -227,26 +227,31 @@\n             webTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"])\n         } else {\n             if (!Option[\"no-translate\"])\n-                p(getTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"], Option[\"verbose\"], Option[\"play\"], playlist, il))\n+                p(getTranslation(text, Option[\"sl\"], Option[\"tl\"][i], Option[\"hl\"], Option[\"verbose\"], Option[\"play\"] || Option[\"download-audio\"], playlist, il))\n             else\n                 il[0] = Option[\"sl\"] == \"auto\" ? \"en\" : Option[\"sl\"]\n \n             if (Option[\"play\"] == 1) {\n-                if (Option[\"player\"]) {\n+                if (Option[\"player\"])\n                     for (j in playlist)\n                         play(playlist[j][\"text\"], playlist[j][\"tl\"])\n-                    if (Option[\"download-audio\"])\n-                        download_audio(playlist[length(playlist) - 1][\"text\"], playlist[length(playlist) - 1][\"tl\"])\n-                } else if (SpeechSynthesizer)\n+                else if (SpeechSynthesizer)\n                     for (j in playlist)\n                         print playlist[j][\"text\"] | SpeechSynthesizer\n             } else if (Option[\"play\"] == 2) {\n-                if (Option[\"player\"]) {\n+                if (Option[\"player\"])\n                     play(text, il[0])\n-                    if (Option[\"download-audio\"])\n-                        download_audio(text, il[0])\n-                } else if (SpeechSynthesizer)\n+                else if (SpeechSynthesizer)\n                     print text | SpeechSynthesizer\n+            }\n+\n+            if (Option[\"download-audio\"] == 1) {\n+                # Download the translation unless used with -sp or -no-trans\n+                if (Option[\"play\"] != 2 && !Option[\"no-translate\"])\n+                    download_audio(playlist[length(playlist) - 1][\"text\"], \\\n+                                   playlist[length(playlist) - 1][\"tl\"])\n+                else\n+                    download_audio(text, il[0])\n             }\n         }\n     }\n"}
{"commit":"0ff3a141748d96ba8407b0806e96c197a7847814","subject":"Fix translation table for JIS keys; reported by Nakano Takaharu.","message":"Fix translation table for JIS keys; reported by Nakano Takaharu.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/makemap.awk\n+++ dev\/usb\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.13 2013\/04\/14 19:33:46 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.14 2013\/11\/20 17:27:32 miod Exp $\n #\n # Copyright (c) 2005, Miodrag Vallat\n #\n@@ -31,7 +31,7 @@\n #\n \n BEGIN {\n-\trcsid = \"$OpenBSD: makemap.awk,v 1.13 2013\/04\/14 19:33:46 miod Exp $\"\n+\trcsid = \"$OpenBSD: makemap.awk,v 1.14 2013\/11\/20 17:27:32 miod Exp $\"\n \tifdepth = 0\n \tignore = 0\n \tdeclk = 0\n@@ -141,11 +141,11 @@\n \tconv[105] = 113\n \tconv[106] = 114\n \tconv[107] = 115\n-\tconv[112] = 135\n-\tconv[115] = 136\n-\tconv[121] = 137\n-\tconv[123] = 138\n-\tconv[125] = 139\n+\tconv[112] = 136\n+\tconv[115] = 135\n+\tconv[121] = 138\n+\tconv[123] = 139\n+\tconv[125] = 137\n \tconv[127] = 72\n \tconv[156] = 88\n \tconv[157] = 228\n"}
{"commit":"4a8b6414b998bd83ed14aac41ffb4193d07eedd3","subject":"Languages: add Papiamento language (yandex only)","message":"Languages: add Papiamento language (yandex only)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1646,6 +1646,20 @@\n     Locale[\"or\"][\"iso\"]                = \"ori\"\n     Locale[\"or\"][\"glotto\"]             = \"macr1269\"\n     Locale[\"or\"][\"script\"]             = \"Orya\"\n+\n+    #? Papiamento\n+    Locale[\"pap\"][\"support\"]           = \"yandex-only\"\n+    Locale[\"pap\"][\"name\"]              = \"Papiamento\"\n+    Locale[\"pap\"][\"endonym\"]           = \"Papiamentu\"\n+    #Locale[\"pap\"][\"translations-of\"]\n+    #Locale[\"pap\"][\"definitions-of\"]\n+    #Locale[\"pap\"][\"synonyms\"]\n+    #Locale[\"pap\"][\"examples\"]\n+    #Locale[\"pap\"][\"see-also\"]\n+    Locale[\"pap\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"pap\"][\"iso\"]               = \"pap\"\n+    Locale[\"pap\"][\"glotto\"]            = \"papi1253\"\n+    Locale[\"pap\"][\"script\"]            = \"Latn\"\n \n     #? Romansh\n     Locale[\"rm\"][\"support\"]            = \"unstable\"\n"}
{"commit":"045630c46f8d0a87da7a3fe27cdc824a2d9e5e6f","subject":"code cleanup","message":"code cleanup\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -220,8 +220,8 @@\n         if (!anything(oPhonetics)) wShowOriginalPhonetics = 0\n         if (!anything(phonetics)) wShowTranslationPhonetics = 0\n         if (il == tl && isarray(oWordClasses)) {\n-            wShowOriginalDictionary = 1 ###FIXME\n-            wShowTranslation = 0        ###FIXME\n+            wShowOriginalDictionary = 1\n+            wShowTranslation = 0\n         }\n         hasWordClasses = isarray(wordClasses) && anything(wordClasses)\n         hasAltTranslations = isarray(altTranslations[0]) && anything(altTranslations[0])\n@@ -483,7 +483,7 @@\n                 translate(line)\n \n                 # Interactive verbose mode: newline after each translation\n-                if (Option[\"verbose\"]) printf \"\\n\"\n+                if (Option[\"verbose\"]) printf RS\n             }\n \n             prompt()\n"}
{"commit":"1c9ebbe2e4353d057d4e6ed8a88597e46329701c","subject":"refactored","message":"refactored\n","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/hierarchy.awk\n+++ tools\/hierarchy.awk\n@@ -2,11 +2,22 @@\n     heading = 0\n }\n \n-hunt && \/class=\"section_anchor\">\/ {\n+## this is for google wiki conventions\n+!insertslide && hunt && \/class=\"section_anchor\">\/ {\n     hier[heading] = $0\n     sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n     sub(\/<a href=\".*\" class=\"section_anchor\"><\\\/a>\/, \"\", hier[heading])\n+    insertslide = 1\n+}\n \n+## this is for twiki conventions\n+!insertslide && hunt && \/^<a\\ name=\"\/ {\n+    hier[heading] = $0\n+    sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n+    insertslide = 1\n+}\n+\n+insertslide {\n     if (heading == 2)\n     {\n       here = \"&sdot;&nbsp;\" hier[heading]\n@@ -35,42 +46,7 @@\n     }\n     print \"<h\" heading \">\" hier[heading]\n     hunt = 0\n-    next\n-}\n-\n-## this is for twiki conventions\n-hunt && heading && \/^<a\\ name=\"\/ {\n-    hier[heading] = $0\n-    sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n-\n-    if (heading == 2)\n-    {\n-      here = \"&sdot;&nbsp;\" hier[heading]\n-    }\n-    else if (heading == 3)\n-    {\n-      here = \"&ndash;&nbsp;\" hier[heading]\n-    }\n-    else if (heading >= 4)\n-    {\n-      here = \"&mdash;&nbsp;\" hier[heading]\n-    }\n-    else\n-    {\n-      here = hier[heading]\n-    }\n-\n-    if (slide) print \"<\/div>\" \n-    print \"<div class='slide'>\"\n-    slide = 1\n-    if (heading > 1) {\n-      print \"<h1 style='display: none;'>\" here \"<\/h1>\"\n-    }\n-    for (i=1; i < heading; ++i) {\n-      print \"<h\" i \" style='color: #C0C0C0;'>\" hier[i] \"<\/h\" i \">\"\n-    }\n-    print \"<h\" heading \">\" hier[heading]\n-    hunt = 0\n+    insertslide = 0\n     next\n }\n \n"}
{"commit":"c940546888d9dac7c9c703f1c9b234928459b992","subject":"Languages: add Amharic language","message":"Languages: add Amharic language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -13,6 +13,19 @@\n #      <https:\/\/en.wikipedia.org\/wiki\/ISO_15924#List_of_codes>\n #      <http:\/\/glottolog.org\/>\n function initLocale(    i) {\n+\n+    #? Amharic\n+    Locale[\"am\"][\"name\"]               = \"Amharic\"\n+    Locale[\"am\"][\"endonym\"]            = \"\u12a0\u121b\u122d\u129b\"\n+    #Locale[\"am\"][\"translations-of\"]\n+    #Locale[\"am\"][\"definitions-of\"]\n+    #Locale[\"am\"][\"synonyms\"]\n+    #Locale[\"am\"][\"examples\"]\n+    #Locale[\"am\"][\"see-also\"]\n+    Locale[\"am\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"am\"][\"iso\"]                = \"amh\"\n+    Locale[\"am\"][\"glotto\"]             = \"amha1245\"\n+    Locale[\"am\"][\"script\"]             = \"Ethi\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"8a3137d1a9c46814bae00df23d3ceb6538a12ddd","subject":"Translate: improve getResponse() and print detailed debug message (for issue #64)","message":"Translate: improve getResponse() and print detailed debug message (for issue #64)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -73,8 +73,10 @@\n         header = header \"User-Agent: \" Option[\"user-agent\"] \"\\n\"\n \n     print header |& HttpService\n-    while ((HttpService |& getline) > 0)\n-        content = $0\n+    while ((HttpService |& getline) > 0) {\n+        if (length($0) > 1) content = $0\n+        l(sprintf(\"%4s bytes > %s\", length($0), $0))\n+    }\n     close(HttpService)\n \n     return assert(content, \"[ERROR] Null response.\")\n"}
{"commit":"a006de81faeafd3f9021bf75fecb06e1edb1c6c9","subject":"Generate `include_directories` for `CMakeLists.txt` etc.","message":"Generate `include_directories` for `CMakeLists.txt` etc.\n\n\tmodified:   code\/awk\/generate_source_list_from_make_output.awk\n","repos":"nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- code\/awk\/generate_source_list_from_make_output.awk\n+++ code\/awk\/generate_source_list_from_make_output.awk\n@@ -3,6 +3,8 @@\n     # This program generates source list to be used in `CMakeLists.txt`\n     # or elsewhere using `foo.txt` produced by `make >foo.txt 2>&1` as input.\n \n+    array_index = 0;\n+    split(\"\", dir_array);\n     current_dir = \"\";\n     new_filename = \"\";\n     current_filename = \"\";\n@@ -50,6 +52,9 @@\n \n         # read current dir.\n         current_dir = substr($0, junk_part_length, length($0) - junk_part_length);\n+\n+        # store current dir into array.\n+        dir_array[array_index++] = current_dir \"\/\";\n     }\n     else if (cpp_match_index > 0)\n     {\n@@ -62,3 +67,15 @@\n         get_filename();\n     }\n }\n+END{\n+    n_dirs = array_index;\n+    asort(dir_array);\n+\n+    print \"\";\n+    print \"include_directories(\";\n+\n+    for (i = 0; i < n_dirs; i++)\n+    {\n+        print dir_array[i];\n+    }\n+} # END\n"}
{"commit":"02cc0c216002fe579192130fdd280371b7c4997c","subject":"Added exactCells parameter to the soloBasicCellFilter.awk script tp specify exact number of cells. Parameters can now be specified as variables with awk -v ...","message":"Added exactCells parameter to the soloBasicCellFilter.awk script tp specify exact number of cells. Parameters can now be specified as variables with awk -v ...\n","repos":"alexdobin\/STAR,alexdobin\/STAR,alexdobin\/STAR,alexdobin\/STAR","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- extras\/scripts\/soloBasicCellFilter.awk\n+++ extras\/scripts\/soloBasicCellFilter.awk\n@@ -1,7 +1,17 @@\n+# usage awk -v exactCells=... -v maxCells=... -v maxPercentile=... -v maxMinRatio=... -f soloBasicCellFilter.awk \n BEGIN {\n-    maxCells=3000;\n-    maxPercentile=0.99;\n-    maxMinRatio=10;\n+    # default values - if variables were not defined by the user\n+    if (exactCells==0)\n+        exactCells=0;\n+    if (maxCells==0)\n+        maxCells=3000;\n+    if (maxPercentile==0)\n+        maxPercentile=0.99;\n+    if (maxMinRatio==0)\n+        maxMinRatio=10;\n+\n+    print \"Parameters: \" \"exactCells=\" exactCells, \"maxCells=\" maxCells, \"maxPercentile=\", maxPercentile, \"maxMinRatio=\", maxMinRatio;\n+\n     nHeaderLines=3;\n     fOutCB=ARGV[1] \".filtered\";\n     fOutMat=ARGV[2] \".filtered\";\n@@ -28,6 +38,9 @@\n     nMax=cellTotSort[-int((1-maxPercentile)*maxCells)+length(cellTot)];\n     nMin=nMax\/maxMinRatio;\n \n+    if (exactCells>0)\n+        nMin=length(cellTot)<exactCells ? cellTotSort[1] : cellTotSort[length(cellTot)-exactCells];\n+\n     nCell=0;\n     for (ii=1; ii<=length(CB); ii++) {\n         if (cellTot[ii]>=nMin) {\n@@ -38,7 +51,11 @@\n         };\n     };\n \n-    print cellTotSort[length(cellTotSort)]+0,nMax,nMin,nCell;\n+    if (exactCells==0) {\n+        print \"maxUMIperCell=\" cellTotSort[length(cellTotSort)]+0,\"Robust maxUMIperCel=\" nMax,\"minUMIperCell=\" nMin, \"Filtered N cells=\", nCell;\n+    } else {\n+        print \"total N cells=\" length(cellTot), \"exactCells=\" exactCells, \"minUMIperCell=\" nMin;\n+    };\n \n     nMat=0;\n     for (ii=nHeaderLines+1; ii<=nLines; ii++) {\n"}
{"commit":"dbb9930d2a92f068d20cb647d64b0e52de08ba98","subject":"AWK converstion script for CMIP5-table to Bash case list","message":"AWK converstion script for CMIP5-table to Bash case list\n","repos":"marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rewrite-cmor-table-to-bash-case.awk\n+++ rewrite-cmor-table-to-bash-case.awk\n@@ -41,7 +41,7 @@\n   newvar=\"none\"\n   no_ws=20\n   ws=repeat(\" \", no_ws, rep, i)\n-  print \"case\"\n+  print \"case ${var_in[$var]} in\"\n }\n \n {\n"}
{"commit":"c757272443e967ed7fe8e40cd9cae3986be0dd4c","subject":"dtx_check.gawk: add check for repetitive SID FIRST","message":"dtx_check.gawk: add check for repetitive SID FIRST\n\nChange-Id: Id7acdfae7880fb488b65435ab8d33f2874499967\n","repos":"osmocom\/osmo-bts,osmocom\/osmo-bts,osmocom\/osmo-bts","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- contrib\/dtx_check.gawk\n+++ contrib\/dtx_check.gawk\n@@ -38,6 +38,10 @@\n \t\t}\n \t\tif (\"FIRST_P2\" != $2 && \"FIRST_P1\" == TYPE) {\n \t\t\tCHK = \"FAIL: \" TYPE \" followed by \" $2 \" instead of P2.\"\n+\t\t\tERR++\n+\t\t}\n+\t\tif (\"FIRST\" == $2 && \"FIRST\" == TYPE) {\n+\t\t\tCHK = \"FAIL: multiple SID FIRST in a row.\"\n \t\t\tERR++\n \t\t}\n \t\tif (\"OK\" == CHK && \"ONSET\" != $2) { # check inter-SID distances:\n"}
{"commit":"dc3bc6a61536d3fa46c93f237abb2dbac1040284","subject":"Make the media and session attribute marker, a little bit more specific","message":"Make the media and session attribute marker, a little bit more specific\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@128 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/long2html.awk\n+++ scripts\/long2html.awk\n@@ -119,10 +119,10 @@\n       if ($0 ~ \"Connection Information\") MARK = \"media\"\n       # Use ... here.  Actually \"(a)\" should be used, but awk does not like the\n       # parenthesis (), workaround it with the dots.\n-      if ($0 ~ \"Media Attribute ...:\") MARK = \"media\"\n+      if ($0 ~ \"Media Attribute .a.:\") MARK = \"media\"\n       if ($0 ~ \"Media Description, name and address\") MARK = \"media\"\n       if ($0 ~ \"Owner\/Creator, Session Id\") MARK = \"media\"\n-      if ($0 ~ \"Session Attribute ...:\") MARK = \"media\"\n+      if ($0 ~ \"Session Attribute .a.:\") MARK = \"media\"\n       if ($0 ~ \"Session Description Protocol Version\") MARK = \"media\"\n       if ($0 ~ \"Session Name\") MARK = \"media\"\n       if ($0 ~ \"Time Description, active time\") MARK = \"media\"\n"}
{"commit":"6855ba2169545fd15a32d1351f10109bd75a3da3","subject":"Changed some formatting of for and if, then, else statements","message":"Changed some formatting of for and if, then, else statements\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@79 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/callflow.awk\n+++ scripts\/callflow.awk\n@@ -114,40 +114,38 @@\n   y = NR;\n   y = y * yLineSpace + ystart;\n \n-  if($0 ~ \"^#\")\n-  {\n+  if($0 ~ \"^#\") {\n     output = \"\";\n     split($0, A, \" \")\n \n-    for (i=2; i <= length(A); i++)\n-    {\n+    for (i=2; i <= length(A); i++) {\n+\n       if (A[i] == \"!\")\n         break;\n       output = output \" \" A[i];\n     }\n \n     link = \"\";\n-    if (A[i] == \"!\")\n-    {\n+    if (A[i] == \"!\") {\n+\n       i++;\n-      for(;i <= length(A); i++)\n-      {\n+      for(;i <= length(A); i++) {\n         link = link \" \" A[i];\n       }\n     }\n \n-    if (link != \"\")\n-    {\n+    if (link != \"\") {\n+\n       printf(\"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"link\\\">%s<\/text>\\n\", 50, y, output);\n       printf(\"    <area href=\\\"%s\\\" coords=\\\"%d,%d,%d,%d\\\"\/>\\n\", link, 50, y-yLineSpace+2, w, y+1) >> \"imagemap\";\n-    }\n-    else\n-    {\n+\n+    } else {\n+\n       printf(\"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"comment-text\\\">%s<\/text>\\n\", 50, y, output);\n     }\n-  }\n-  else\n-  {\n+\n+  } else {\n+\n     if ($6 ~ \"{([0-9]+)}\") {\n       str = $6\n       gsub(\"{\", \"\", str)\n@@ -167,24 +165,22 @@\n \n     l1 = sprintf(\"%s:%s\", $4,$5);\n     l2 = sprintf(\"%s:%s\", $7,$8);\n-    for (i=0; i<numHosts; i++)\n-    {\n-      if(l1 ~ hosts[i])\n-      {\n+    for (i=0; i<numHosts; i++) {\n+\n+      if(l1 ~ hosts[i]) {\n         x1 = strtonum(lookup[hosts[i]]);\n       }\n-      if(l2 ~ hosts[i])\n-      {\n+\n+      if(l2 ~ hosts[i]) {\n         x2 = strtonum(lookup[hosts[i]]);\n       }\n     }\n \n     x1 = x1 * xHostSpace + leftMargin;\n     x2 = x2 * xHostSpace + leftMargin;\n-    if ((x1==x2) && (noLocalLoop==1)){\n+    if ((x1==x2) && (noLocalLoop==1)) {\n       # Do nothing\n-      }\n-    else{\n+    } else {\n       # Print the line\n       ORS = \"\";\n       printf \"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"pkt-text\\\">%d<\/text>\\n\", leftMargin\/2, y, $3;\n"}
{"commit":"310e7caadaf4ba6b88e62dbcc06ed3fc202f707e","subject":"Translate: add getResponse() and play()","message":"Translate: add getResponse() and play()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -3,6 +3,29 @@\n @include \"lib\/Commons\"\n @include \"lib\/PLTokenizer\"\n @include \"lib\/PLParser\"\n+\n+# Send an HTTP request and get response from Google Translate.\n+function getResponse(text, sl, tl, hl,    content, url) {\n+    url = HttpProtocol HttpHost \"\/translate_a\/t?client=t\"       \\\n+        \"&ie=UTF-8&oe=UTF-8\"                                    \\\n+        \"&text=\" preprocess(text) \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl\n+\n+    print \"GET \" url |& HttpService\n+    while ((HttpService |& getline) > 0)\n+        content = $0\n+    close(HttpService)\n+\n+    return assert(content, \"[ERROR] Null response.\")\n+}\n+\n+# Play using Google Text-to-Speech engine.\n+function play(text, tl,    url) {\n+    url = HttpProtocol HttpHost \"\/translate_tts?ie=UTF-8\"       \\\n+        \"&tl=\" tl \"&q=\" preprocess(text)\n+\n+    # Don't use getline from pipe here - the same pipe will be run only once for each AWK script!\n+    system(Option[\"player\"] \" '\" url \"' >\/dev\/null 2>\/dev\/null\")\n+}\n \n # Get the translation of a string.\n function getTranslation(text, sl, tl, hl,\n"}
{"commit":"d8f41408e89dc0b7a810b344e29de7f9056dd535","subject":"Make executable.","message":"Make executable.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"de178c92734d136fbb683e6526d6015fd5ef00bf","subject":"Update pp.awk","message":"Update pp.awk\n\nadd copyright","repos":"robertamarton\/incubator-trafodion,rlugojr\/incubator-trafodion,robertamarton\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion,rlugojr\/incubator-trafodion,rlugojr\/incubator-trafodion,rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion,rlugojr\/incubator-trafodion,rlugojr\/incubator-trafodion,robertamarton\/incubator-trafodion,rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion,robertamarton\/incubator-trafodion,rlugojr\/incubator-trafodion,rlugojr\/incubator-trafodion,robertamarton\/incubator-trafodion,robertamarton\/incubator-trafodion,robertamarton\/incubator-trafodion,robertamarton\/incubator-trafodion,rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion,robertamarton\/incubator-trafodion,robertamarton\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- core\/sqf\/src\/seatrans\/hbase-trx\/pp.awk\n+++ core\/sqf\/src\/seatrans\/hbase-trx\/pp.awk\n@@ -1,4 +1,25 @@\n-#  The following example has been tested to work.\n+#\n+# @@@ START COPYRIGHT @@@\n+#\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements.  See the NOTICE file\n+# distributed with this work for additional information\n+# regarding copyright ownership.  The ASF licenses this file\n+# to you under the Apache License, Version 2.0 (the\n+# \"License\"); you may not use this file except in compliance\n+# with the License.  You may obtain a copy of the License at\n+#\n+#   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing,\n+# software distributed under the License is distributed on an\n+# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+# KIND, either express or implied.  See the License for the\n+# specific language governing permissions and limitations\n+# under the License.\n+#\n+# @@@ END COPYRIGHT @@@\n+##  The following example has been tested to work.\n #  If the file f1 contains the following, run this script\n #  as follows:    \n #   awk -f pp.awk -v distro=HDP2.3 f1 > f2\n"}
{"commit":"73b4d834830ba8c4564187971ead5a972192248a","subject":"avoid gnu extension, for installing","message":"avoid gnu extension, for installing\n\n\ngit-svn-id: 88e1a00e4eab3b0bb0c09889526309a3e2f5bd8a@42 c26eb9a1-5813-0410-bd6c-c2e55f420ca7\n","repos":"lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -13,15 +13,15 @@\n \t\tif (instruct in typedefs) {\n \t\t\tinstruct = typedefs[instruct];\n \t\t}\n-\t\telm = \"\";\n+\t\tsizeinfo = \"\";\n \t\telms = \"\";\n \t\tfor (i = 0; i in buffer; i ++) {\n-\t\t\tif (i) elm = elm \" + \";\n-\t\t\t# elm = elm \"sizeof(((`\" instruct \"'*)NULL)->`\" buffer[i] \"')\";\n-\t\t\t# elms = elms \" `\" buffer[i] \"'\";\n-\t\t\telm = elm \"sizeof(((\" instruct \"*)NULL)->\" buffer[i] \")\";\n+\t\t\tif (i) {\n+\t\t\t\tsizeinfo = sizeinfo \" + \";\n+\t\t\t}\n+\t\t\tsizeinfo = sizeinfo \"sizeof(((\" instruct \"*)NULL)->\" buffer[i] \")\";\n \n-\t\t\tif (elms == \"\") {\n+\t\t\tif (i == 0) {\n \t\t\t\telms = buffer[i];\n \t\t\t}\n \t\t\telse {\n@@ -30,7 +30,7 @@\n \t\t}\n \t\tprintf \"define(`ELEMENTSOF_%s', `%s')\\n\", instruct, elms;\n \t\tprintf \"define(`COUNTOF_%s', `%s')\\n\", instruct, i;\n-\t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, elm;\n+\t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, sizeinfo;\n \t\tprint \"\\n\";\n \t\tfor (i in buffer) {\n \t\t\tdelete buffer[i];\n@@ -51,20 +51,48 @@\n {\n \tif (brace == 1 && instruct) {\n \t\tsub(\/.*[{}]\/, \"\");\n-\t\tgsub(\/\\[[^\\]]+\\]\/, \"\");\n-\t\tgsub(\/:[0-9]+\/, \"\");\n-\t\tstr = $0;\n-\t\tif (match(str, \/\\([ ]*\\*([^)]+)\\)\/, a)) {\n-\t\t\tbuffer[buffer_len] = a[1];\n+\t\tgsub(\/\\[[^\\]]+\\]\/, \"\"); # ignore [...]\n+\t\tgsub(\/:[0-9]+\/, \"\"); # ignore struct bit\n+\t\tif (match($0, \/^[^(]*\\([ ]*\\*([^)]+)\\)\/)) {\n+\t\t\tsub(\/ +\/, \"\")\n+\t\t\tsub(\/^[^(]*\\(\\*\/, \"\");\n+\t\t\tsub(\/\\).*\/, \"\");\n+\t\t\t# function pointer\n+\t\t\tbuffer[buffer_len] = $0;\n \t\t\tbuffer_len ++;\n \t\t}\n \t\telse {\n-\t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\", str)) {\n+\t\t\t# ignore any ()s\n+\t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\")) {\n \t\t\t}\n-\t\t\twhile (match(str, \/([^*() ]+)[ ]*[,;](.*)\/, a)) {\n-\t\t\t\tbuffer[buffer_len] = a[1];\n+\t\t\tif (match($0, \/[()]\/)) {\n+\t\t\t\tnext;\n+\t\t\t}\n+\t\t\tgsub(\/[*]\/, \" \");\n+\t\t\tgsub(\/ +\/, \" \");\n+\t\t\tgsub(\/ *[,;]\/, \";\");\n+\t\t\tif (!match($0, \/;\/)) {\n+\t\t\t\tnext;\n+\t\t\t}\n+\t\t\tsplit($0, chunks, \";\");\n+\t\t\t# get var of \"int *var, var;\" etc\n+\t\t\tfor (i in chunks) {\n+\t\t\t\tif (chunks[i] == \"\") {\n+\t\t\t\t\tdelete chunks[i];\n+\t\t\t\t\tcontinue;\n+\t\t\t\t}\n+\t\t\t\tsplit(chunks[i], pieces, \" \");\n+\n+\t\t\t\tfor (j in pieces) {\n+\t\t\t\t\tlast_piece = pieces[j];\n+\t\t\t\t\tdelete pieces[i];\n+\t\t\t\t}\n+\t\t\t\tif (last_piece == \"\") {\n+\t\t\t\t\tprint \"=====\" chunks[i];\n+\t\t\t\t}\n+\t\t\t\tbuffer[buffer_len] = last_piece;\n \t\t\t\tbuffer_len ++;\n-\t\t\t\tstr = a[2];\n+\t\t\t\tdelete chunks[i];\n \t\t\t}\n \t\t}\n \t\tnext;\n"}
{"commit":"58733c4eb133718d73c7c1717f8ecb8730472468","subject":"#152 Ensure terraform-docs 0.12 multi-line default statement is parsed correctly (#155)","message":"#152 Ensure terraform-docs 0.12 multi-line default statement is parsed correctly (#155)\n\n* #152 Ensure terraform-docs 0.12 multi-line default statement is parsed correctly\r\n\r\n* Fix indentation\r\n","repos":"cloudposse\/build-harness,cloudposse\/build-harness","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/terraform-docs.awk\n+++ bin\/terraform-docs.awk\n@@ -4,42 +4,76 @@\n # https:\/\/github.com\/segmentio\/terraform-docs\/issues\/62\n \n {\n-  if ( \/\\{\/ ) { \n-    braceCnt++ \n+  if ( \/\\{\/ ) {\n+    braceCnt++\n   }\n \n-  if ( \/\\}\/ ) { \n-    braceCnt-- \n+  if ( \/\\}\/ ) {\n+    braceCnt--\n   }\n \n+  # [START] variable or output block started\n   if ($0 ~ \/(variable|output) \"(.*?)\"\/) {\n+    # [CLOSE] \"default\" block\n+    if (blockDefCnt > 0) {\n+      blockDefCnt = 0\n+    }\n     blockCnt++\n     print $0\n   }\n \n-  if ($1 == \"description\") {\n-    print $0\n+  # [START] multiline default statement started\n+  if (blockCnt > 0) {\n+    if ($1 == \"default\") {\n+      print $0\n+      if ($NF ~ \/[\\[\\(\\{]\/) {\n+        blockDefCnt++\n+        blockDefStart=1\n+      }\n+    }\n   }\n \n-  if ($1 == \"default\") {\n-    if (braceCnt > 1) {\n-      print \"  default = {}\"\n+  # [PRINT] single line \"description\"\n+  if (blockDefCnt == 0) {\n+    if ($1 == \"description\") {\n+      # [CLOSE] \"default\" block\n+      if (blockDefCnt > 0) {\n+        blockDefCnt = 0\n+      }\n+      print $0\n+    }\n+  }\n+\n+  # [PRINT] single line \"type\"\n+  if (blockCnt > 0) {\n+    if ($1 == \"type\" ) {\n+      # [CLOSE] \"default\" block\n+      if (blockDefCnt > 0) {\n+        blockDefCnt = 0\n+      }\n+      type=$3\n+      if (type ~ \"object\") {\n+        print \"  type = \\\"object\\\"\"\n+      } else {\n+        print \"  type = \\\"\" $3 \"\\\"\"\n+      }\n+    }\n+  }\n+\n+  # [CLOSE] variable\/output block\n+  if (blockCnt > 0) {\n+    if (braceCnt == 0 && blockCnt > 0) {\n+      blockCnt--\n+      print $0\n+    }\n+  }\n+\n+  # [PRINT] Multiline \"default\" statement\n+  if (blockCnt > 0 && blockDefCnt > 0) {\n+    if (blockDefStart == 1) {\n+      blockDefStart = 0\n     } else {\n       print $0\n     }\n   }\n-\n-  if ($1 == \"type\" ) {\n-    type=$3\n-    if (type ~ \"object\") {\n-      print \"  type = \\\"object\\\"\"\n-    } else {\n-      print \"  type = \\\"\" $3 \"\\\"\" \n-    }\n-  }\n-\n-  if (braceCnt == 0 && blockCnt > 0) {\n-    blockCnt--\n-    print $0\n-  }\n }\n"}
{"commit":"5ad6d44a1eb343db472f48fd7b59e3eb1b98c071","subject":"Main: initialize screen width if not set","message":"Main: initialize screen width if not set\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -28,7 +28,7 @@\n     Option[\"show-original-dictionary\"] = 0\n     Option[\"show-dictionary\"] = 1\n     Option[\"show-alternatives\"] = 1\n-    Option[\"width\"] = ENVIRON[\"COLUMNS\"] ? ENVIRON[\"COLUMNS\"] - 2 : 64\n+    Option[\"width\"] = ENVIRON[\"COLUMNS\"] ? ENVIRON[\"COLUMNS\"] - 2 : 0\n     Option[\"indent\"] = 4\n     Option[\"no-ansi\"] = 0\n     Option[\"theme\"] = \"default\"\n@@ -91,9 +91,15 @@\n }\n \n # Miscellany initialization.\n-function initMisc(    group) {\n+function initMisc(    group, temp) {\n     # (Translate.awk)\n     initHttpService()\n+\n+    # Initialize screen width if not set\n+    if (!Option[\"width\"] && detectProgram(\"tput\", \"-V\")) {\n+        \"tput cols\" | getline temp\n+        Option[\"width\"] = temp ? temp - 2 : 64\n+    }\n \n     # Disable ANSI escape codes if required\n     if (Option[\"no-ansi\"])\n"}
{"commit":"ebb28d21325cfe50ec5161d3ab553d7ae3eeaecc","subject":"TINKERPOP-1612 Reference GroovyTranslator with full package name","message":"TINKERPOP-1612 Reference GroovyTranslator with full package name\n\nIt is no longer part of wildcard imports.\n","repos":"apache\/tinkerpop,apache\/incubator-tinkerpop,artem-aliev\/tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,jorgebay\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,apache\/incubator-tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,jorgebay\/tinkerpop,robertdale\/tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,jorgebay\/tinkerpop,artem-aliev\/tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop,pluradj\/incubator-tinkerpop,robertdale\/tinkerpop,apache\/incubator-tinkerpop,krlohnes\/tinkerpop,jorgebay\/tinkerpop,artem-aliev\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,artem-aliev\/tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/preprocessor\/awk\/init-code-blocks.awk\n+++ docs\/preprocessor\/awk\/init-code-blocks.awk\n@@ -83,7 +83,7 @@\n       print \"    mapper = GraphSONMapper.build().version(GraphSONVersion.V2_0).create().createMapper()\"\n       print \"    bytecode = mapper.readValue(jython.eval('GraphSONWriter().writeObject(j)').toString(), Bytecode.class)\"\n       print \"    language = BytecodeHelper.getLambdaLanguage(bytecode).orElse('gremlin-groovy')\"\n-      print \"    result = language.equals('gremlin-groovy') ? groovy.eval(GroovyTranslator.of(\\\"g\\\").translate(bytecode) + '.toList()').toString() : jython.eval(JythonTranslator.of(\\\"h\\\").translate(bytecode) + '.toList()').toString()\"\n+      print \"    result = language.equals('gremlin-groovy') ? groovy.eval(org.apache.tinkerpop.gremlin.groovy.jsr223.GroovyTranslator.of(\\\"g\\\").translate(bytecode) + '.toList()').toString() : jython.eval(JythonTranslator.of(\\\"h\\\").translate(bytecode) + '.toList()').toString()\"\n       print \"    jython.getContext().getBindings(GLOBAL_SCOPE).put('json', mapper.writeValueAsString(result))\"\n       print \"    return jython.eval('GraphSONReader().readObject(json)').toString()\"\n       print \"  } else {\"\n"}
{"commit":"bae69d2d9db6a63ece650c87bba99e7a49d40f9d","subject":"interp_utils.awk\t-- return \"\" if scale_type == log and v <= 0","message":"interp_utils.awk\t-- return \"\" if scale_type == log and v <= 0\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/interp_utils.awk\n+++ lib\/interp_utils.awk\n@@ -235,6 +235,9 @@\n \t\tev = IU_handle_exceptions(interp, v)\n \t\tif(ev != \"\")\n \t\t\treturn ev\n+\t}else if(interp[\"scale_type\"] == \"log\"){\n+\t\tif(v <= 0)\n+\t\t\treturn \"\"\n \t}\n \n \tidx = IU_search(interp, v)\n"}
{"commit":"43cbbfe34dd4c648d9cd8bddb2a801328f39b429","subject":"Do not use double underscores to escape underscores.","message":"Do not use double underscores to escape underscores.\n\nC and C++ reserve macro names containing adjacent underscores.\n\n\"Each name that contains a double underscore (__) or begins with an\n underscore followed by an uppercase letter (2.11) is reserved to\n the implementation for any use.\"\n-- C++ 2003, 17.4.3.1.2 Global names [lib.global.names] (via StackOverflow)\n","repos":"michpolicht\/CuteHMI,michpolicht\/CuteHMI,michpolicht\/CuteHMI,michpolicht\/CuteHMI,michpolicht\/CuteHMI","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- awkgward\/awkgward.awk\n+++ awkgward\/awkgward.awk\n@@ -40,12 +40,12 @@\n \n function create_guard_macro(prefix, filename)\n {\n-    double_underscore = toupper(filename);\n-    # just in case, double single underscores\n-    gsub(\/_\/, \"__\", double_underscore);\n+    escaped_underscores = toupper(filename);\n+    # Just in case, escape single underscores.\n+    gsub(\/_\/, \"_u_\", escaped_underscores);\n     # \\\/ = slash (\/), \\. = dot (.), \\\\ = backslash (\\) - replace them with underscore.\n-    gsub(\/[\\\/\\.\\\\]\/, \"_\", double_underscore);\n-    return prefix double_underscore;\n+    gsub(\/[\\\/\\.\\\\]\/, \"_\", escaped_underscores);\n+    return prefix escaped_underscores;\n }\n \n function create_guard(prefix, filename)\n"}
{"commit":"c46e3c7171f75e3198e1efe1718d378be9347d6f","subject":"fixed search_tests.awk identify the name of a test case between the first pair of parenthesis ( ... ) after the keyword BOOST_AUTO_TEST_CASE","message":"fixed search_tests.awk\nidentify the name of a test case between the first pair of parenthesis ( ... ) after the keyword BOOST_AUTO_TEST_CASE\n","repos":"nbruns1\/metaSMT,finnhaedicke\/metaSMT,agra-uni-bremen\/metaSMT,hoangmle\/metaSMT,agra-uni-bremen\/metaSMT,agra-uni-bremen\/metaSMT,nbruns1\/metaSMT,hoangmle\/metaSMT,hoangmle\/metaSMT,finnhaedicke\/metaSMT,nbruns1\/metaSMT,finnhaedicke\/metaSMT","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tests\/search_tests.awk\n+++ tests\/search_tests.awk\n@@ -13,8 +13,8 @@\n }\n \n $0 ~ \"^ *BOOST_AUTO_TEST_CASE *\\\\(\" { \n-  sub(\"^.*\\\\( *\", \"\");\n-  sub(\" *\\\\).*$\", \"\");\n+  sub(\"^ *BOOST_AUTO_TEST_CASE *\\\\( *\", \"\")\n+  sub(\" *\\\\).*$\", \"\")\n   if ( PREFIX ) {\n     printf \"%s\/%s\\n\", PREFIX, $0\n   } else {\n"}
{"commit":"a081def0c8b2b8f2ad23f7dd1eed06c8489be078","subject":"Shell: rewrite initRlwrap()","message":"Shell: rewrite initRlwrap()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Shell.awk\n+++ include\/Shell.awk\n@@ -4,7 +4,7 @@\n \n # Detect external readline wrapper (rlwrap).\n function initRlwrap() {\n-    Rlwrap = !system(\"rlwrap --version >\/dev\/null 2>\/dev\/null\") ? \"rlwrap\" : \"\"\n+    Rlwrap = (\"rlwrap --version 2>\/dev\/null\" | getline) ? \"rlwrap\" : \"\"\n }\n \n # Prompt for interactive session.\n"}
{"commit":"1261738e07cc8f3f451bb9969f4e9199f18744d1","subject":"Wrap brlapi_brldefs.h with the correct #define. (dm)","message":"Wrap brlapi_brldefs.h with the correct #define. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi_brldefs.awk\n+++ Programs\/brlapi_brldefs.awk\n@@ -17,7 +17,7 @@\n ###############################################################################\n \n BEGIN {\n-  writeHeaderPrologue(\"BRLAPI_INCLUDED_BRLDEFS\", \"api.h\")\n+  writeHeaderPrologue(\"BRLAPI_INCLUDED_BRLAPI_BRLDEFS\", \"api.h\")\n }\n \n END {\n"}
{"commit":"2f11fa03269401bac150d87752aba153a3620191","subject":"query_json: handle string values correctly","message":"query_json: handle string values correctly\n\nIt seems like a small oversight oversight did not populate variables\nof type string into the returned array.\n","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -753,6 +753,8 @@\n             X[B[k]] = 1\n         } else if (j == \"false\") {\n             X[B[k]] = 0\n+        } else if (j == \"string\") {\n+            X[B[k]] = V[k]\n         } else {\n             # null will satisfy ismissing()\n             X[B[k]]\n"}
{"commit":"5477b029c3efe524725bae3df2aae4f2e6be32e7","subject":"Languages: add Dari language","message":"Languages: add Dari language\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -953,8 +953,9 @@\n     Locale[\"ps\"][\"script\"]             = \"Arab\"\n     Locale[\"ps\"][\"rtl\"]                = \"true\" # RTL language\n \n-    #71 Persian (Western Farsi)\n+    #71 Persian \/ Farsi (Western Farsi \/ Iranian Persian)\n     Locale[\"fa\"][\"name\"]               = \"Persian\"\n+    Locale[\"fa\"][\"name2\"]              = \"Farsi\"\n     Locale[\"fa\"][\"endonym\"]            = \"\u0641\u0627\u0631\u0633\u06cc\"\n     Locale[\"fa\"][\"translations-of\"]    = \"\u062a\u0631\u062c\u0645\u0647\u200c\u0647\u0627\u06cc %s\"\n     Locale[\"fa\"][\"definitions-of\"]     = \"\u062a\u0639\u0631\u06cc\u0641\u200c\u0647\u0627\u06cc %s\"\n@@ -1233,7 +1234,7 @@\n     Locale[\"sv\"][\"glotto\"]             = \"swed1254\"\n     Locale[\"sv\"][\"script\"]             = \"Latn\"\n \n-    #91 Tajik \/ Tajiki, Cyrillic alphabet\n+    #91 Tajik \/ Tajiki (Tajiki Persian), Cyrillic alphabet\n     Locale[\"tg\"][\"name\"]               = \"Tajik\"\n     Locale[\"tg\"][\"name2\"]              = \"Tajiki\"\n     Locale[\"tg\"][\"endonym\"]            = \"\u0422\u043e\u04b7\u0438\u043a\u04e3\"\n@@ -1480,6 +1481,16 @@\n     Locale[\"yue\"][\"glotto\"]            = \"cant1236\"\n     Locale[\"yue\"][\"script\"]            = \"Hant\"\n \n+    #* Dari (Dari Persian)\n+    Locale[\"prs\"][\"support\"]           = \"bing-only\"\n+    Locale[\"prs\"][\"name\"]              = \"Dari\"\n+    Locale[\"prs\"][\"endonym\"]           = \"\u062f\u0631\u06cc\"\n+    Locale[\"prs\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"prs\"][\"iso\"]               = \"prs\"\n+    Locale[\"prs\"][\"glotto\"]            = \"dari1249\"\n+    Locale[\"prs\"][\"script\"]            = \"Arab\"\n+    Locale[\"prs\"][\"rtl\"]               = \"true\" # RTL language\n+\n     #* Fijian\n     Locale[\"fj\"][\"support\"]           = \"bing-only\"\n     Locale[\"fj\"][\"name\"]              = \"Fijian\"\n@@ -1489,7 +1500,7 @@\n     Locale[\"fj\"][\"glotto\"]            = \"fiji1243\"\n     Locale[\"fj\"][\"script\"]            = \"Latn\"\n \n-    #* Hmong Daw\n+    #* Hmong Daw (White Hmong)\n     Locale[\"mww\"][\"support\"]           = \"bing-only\"\n     Locale[\"mww\"][\"name\"]              = \"Hmong Daw\"\n     Locale[\"mww\"][\"endonym\"]           = \"Hmoob Daw\"\n"}
{"commit":"a19ad9c9f013ef73b93d1dff61685c7563948ab1","subject":"- Add two checks for syntax errors - Improve error reporting - Remove redundant conditionals","message":"- Add two checks for syntax errors\n- Improve error reporting\n- Remove redundant conditionals\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -47,6 +47,7 @@\n \n function die(msg, what)\n {\n+\tprintf srcfile \"(\" fnr \"): \" > \"\/dev\/stderr\";\n \tprintf msg \"\\n\", what > \"\/dev\/stderr\";\n \texit 1;\n }\n@@ -189,13 +190,16 @@\n }\n \n while ((getline < srcfile) > 0) {\n+\tfnr++;\n \tif (NF == 0)\n \t\tcontinue;\n \tif ($1 ~ \/^%%\/) {\n-\t\tif (NF != 6  ||  $1 != \"%%\"  || \\\n-\t\t    $2 !~ \/^[a-z]+$\/  ||  $3 !~ \/^[a-z]+$\/  || \\\n-\t\t    $4 !~ \/^.$\/  ||  $5 !~ \/^.$\/  ||  $6 !~ \/^.$\/)\n+\t\tif (NF != 6 ||\n+\t\t    $2 !~ \/^[a-z]+$\/  ||  $3 !~ \/^[a-z]+$\/  ||\n+\t\t    $4 !~ \/^.$\/  ||  $5 !~ \/^.$\/  ||  $6 !~ \/^.$\/) {\n+\t\t\tdie(\"Invalid %s construction\", \"%%\");\n \t\t\tcontinue;\n+\t\t}\n \t\tlockdata[\"vop_\" $2, $3, \"Entry\"] = $4;\n \t\tlockdata[\"vop_\" $2, $3, \"OK\"]    = $5;\n \t\tlockdata[\"vop_\" $2, $3, \"Error\"] = $6;\t\t\t\n@@ -203,14 +207,15 @@\n \t}\n \n \tif ($1 ~ \/^%!\/) {\n-\t\tif (NF != 4 || $1 != \"%!\")\n+\t\tif (NF != 4 ||\n+\t\t    ($3 != \"pre\" && $3 != \"post\")) {\n+\t\t\tdie(\"Invalid %s construction\", \"%!\");\n \t\t\tcontinue;\n-\t\tif ($3 != \"pre\" && $3 != \"post\")\n-\t\t\tcontinue;\n+\t\t}\n \t\tlockdata[\"vop_\" $2, $3] = $4;\n \t\tcontinue;\n \t}\n-\tif ($1 ~ \/^#\/ || $0 ~ \/^$\/)\n+\tif ($1 ~ \/^#\/)\n \t\tcontinue;\n \n \t# Get the function name.\n@@ -225,6 +230,7 @@\n \t\t\tdie(\"Unable to read through the arguments for \\\"%s\\\"\",\n \t\t\t    name);\n \t\t}\n+\t\tfnr++;\n \t\tif ($1 ~ \/^\\};\/)\n \t\t\tbreak;\n \n"}
{"commit":"b5b933867033e777da01917d9326a2bf43a2f22b","subject":"checkFile now checks for Mondrian headers, bans \/* ... *\/ comments (only checks in strict mode, and allows those comments if they start at column 0), and gives better messages if imports are in the wrong order.","message":"checkFile now checks for Mondrian headers, bans \/* ... *\/ comments (only checks in strict mode, and allows those comments if they start at column 0), and gives better messages if imports are in the wrong order.\n","repos":"truvenganong\/mondrian,cesarmarinhorj\/mondrian,pedrofvteixeira\/mondrian,lgrill-pentaho\/mondrian,cocosli\/mondrian,sayanh\/mondrian,mdamour1976\/mondrian,lgrill-pentaho\/mondrian,OSBI\/mondrian,nextelBIS\/mondrian,ivanpogodin\/mondrian,OSBI\/mondrian,mustangore\/mondrian,julianhyde\/mondrian,preisanalytics\/mondrian,nextelBIS\/mondrian,Seiferxx\/mondrian,mustangore\/mondrian,stiberger\/mondrian,openedbox\/mondrian,cesarmarinhorj\/mondrian,syncron\/mondrian,dkincade\/mondrian,stiberger\/mondrian,dkincade\/mondrian,wetet2\/mondrian,julianhyde\/mondrian,sayanh\/mondrian,wetet2\/mondrian,pentaho\/mondrian,lgrill-pentaho\/mondrian,cesarmarinhorj\/mondrian,pedrofvteixeira\/mondrian,bmorrise\/mondrian,mdamour1976\/mondrian,AvinashPD\/mondrian,truvenganong\/mondrian,syncron\/mondrian,wetet2\/mondrian,preisanalytics\/mondrian,OSBI\/mondrian,Seiferxx\/mondrian,pedrofvteixeira\/mondrian,stiberger\/mondrian,nextelBIS\/mondrian,mdamour1976\/mondrian,ivanpogodin\/mondrian,ivanpogodin\/mondrian,openedbox\/mondrian,openedbox\/mondrian,cocosli\/mondrian,Seiferxx\/mondrian,dkincade\/mondrian,truvenganong\/mondrian,AvinashPD\/mondrian,pentaho\/mondrian,bmorrise\/mondrian,bmorrise\/mondrian,sayanh\/mondrian,cocosli\/mondrian,mustangore\/mondrian,preisanalytics\/mondrian,pentaho\/mondrian,syncron\/mondrian,AvinashPD\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -13,6 +13,8 @@\n        || fname ~ \"\/fennel\/\" \\\n        || fname ~ \"\/extensions\/\" \\\n        || fname ~ \"\/com\/sqlstream\/\" \\\n+       || fname ~ \"\/linq4j\/\" \\\n+       || fname ~ \"\/optiq\/\" \\\n        || strict > 0;\n }\n function _isCpp(fname) {\n@@ -23,6 +25,9 @@\n }\n function _isMondrian(fname) {\n     return fname ~ \/mondrian\/;\n+}\n+function _isOlap4j(fname) {\n+    return fname ~ \"\/org\/olap4j\/\";\n }\n function push(val) {\n     switchStack[switchStackLen++] = val;\n@@ -50,7 +55,6 @@\n function unmatchedOpenParens(s) {\n     i = index(s, \"(\");\n     if (i == 0) {\n-    if (0)         print FNR, \"unmatchedOpenParens=0\";\n         return 0;\n     }\n     openCount = 1;\n@@ -61,12 +65,10 @@\n         }\n         if (c == \")\") {\n             if (--openCount == 0) {\n-    if (0)         print FNR, \"unmatchedOpenParens=0 (b)\";\n                 return 0;\n             }\n         }\n     }\n-    if (0) print FNR, \"unmatchedOpenParens=1\";\n     return 1;\n }\n \n@@ -102,6 +104,56 @@\n     mondrian = _isMondrian(fname);\n     prevImport = \"\";\n     prevImportGroup = \"\";\n+\n+    delete headers;\n+    headerCount = 0;\n+    if ($0 ~ \/Generated By:JavaCC\/ \\\n+        || $0 ~ \/This class is generated\/) {\n+        # generated; skip whole file\n+        nextfile\n+    } else if (fname ~ \/XmlaOlap4jDriverVersion.java\/ \\\n+        || fname ~ \/package-info.java\/ \\\n+        || fname ~ \/MondrianOlap4jDriverVersion.java\/ \\\n+        || fname ~ \/MondrianTestRunner.java\/ \\\n+        || fname ~ \/MondrianResultPrinter.java\/) {\n+        # generated; does not contain standard header\n+    } else if (mondrian) {\n+        headers[headerCount++] = \"\/\\\\*$\";\n+        headers[headerCount++] = \"\/\/ This software is subject to the terms of the Eclipse Public License v1.0$\";\n+        headers[headerCount++] = \"\/\/ Agreement, available at the following URL:$\";\n+        headers[headerCount++] = \"\/\/ http:\/\/www.eclipse.org\/legal\/epl-v10.html.$\";\n+        headers[headerCount++] = \"\/\/ You must accept the terms of that agreement to use this software.$\";\n+        headers[headerCount++] = \"\/\/$\";\n+        headers[headerCount++] = \"\/\/ Copyright (C) [0-9]*-[0-9]* Pentaho$\";\n+    } else if (1) {\n+        headers[headerCount++] = \"\/\\\\*$\";\n+        if (_isOlap4j(fname)) {\n+            headers[headerCount++] = \/^\\\/\\\/ \\$Id: \/;\n+            headers[headerCount++] = \"\/\/\";\n+        }\n+        headers[headerCount++] = \"\/\/ Licensed to Julian Hyde under one or more contributor license$\";\n+        headers[headerCount++] = \"\/\/ agreements. See the NOTICE file distributed with this work for$\";\n+        headers[headerCount++] = \"\/\/ additional information regarding copyright ownership.$\";\n+        headers[headerCount++] = \"\/\/$\";\n+        headers[headerCount++] = \"\/\/ Julian Hyde licenses this file to you under the Apache License,$\";\n+        headers[headerCount++] = \"\/\/ Version 2.0 \\\\(the \\\"License\\\"\\\\); you may not use this file except in$\";\n+        headers[headerCount++] = \"\/\/ compliance with the License. You may obtain a copy of the License at:$\";\n+        headers[headerCount++] = \"\/\/$\";\n+        headers[headerCount++] = \"\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0$\";\n+        headers[headerCount++] = \"\/\/$\";\n+        headers[headerCount++] = \"\/\/ Unless required by applicable law or agreed to in writing, software$\";\n+        headers[headerCount++] = \"\/\/ distributed under the License is distributed on an \\\"AS IS\\\" BASIS,$\";\n+        headers[headerCount++] = \"\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.$\";\n+        headers[headerCount++] = \"\/\/ See the License for the specific language governing permissions and$\";\n+        headers[headerCount++] = \"\/\/ limitations under the License.$\";\n+        headers[headerCount++] = \"*\/$\";\n+    }\n+}\n+FNR < headerCount {\n+    if ($0 !~ headers[FNR - 1]) {\n+        error(fname, FNR, \"Does not match expected header line: \" headers[FNR - 1] \"\\n\");\n+        headerCount = 0; # prevent further errors from this file\n+    }\n }\n {\n     if (previousLineEndedInCloseBrace > 0) {\n@@ -136,6 +188,9 @@\n         # beginning of multiline comment \"\/*\"\n         inComment = 1;\n         gsub(\/\\\/\\*.*$\/, \"\/* comment *\/\", s);\n+        if (strict > 1 && FNR > 1 && $0 !~ \/\\\/\\*\\*\/ && $0 !~ \/^\\\/\\*\/) {\n+            error(fname, FNR, \"Multi-line c-style comment not allowed\");\n+        }\n     } else {\n         # mask out \/* *\/ comments\n         gsub(\/\\\/\\*.*\\*\\\/\/, \"\/* comment *\/\", s);\n@@ -209,26 +264,36 @@\n     thisImport = $2;\n     gsub(\/;\/, \"\", thisImport);\n     gsub(\/\\*\/, \"\", thisImport);\n-    if (thisPackage ~ \/^mondrian.*\/ && thisImport ~ \/^mondrian.*\/ \\\n-        || thisPackage ~ \/^org.olap4j.*\/ && thisImport ~ \/^org.olap4j.*\/)\n-    {\n-        importGroup = \"a\";\n+    if (thisPackage ~ \/^mondrian.*\/ && thisImport ~ \/^mondrian.*\/) {\n+        importGroup = \"a:mondrian\";\n+    } else if (thisPackage ~ \/^net.hydromatic.*\/ && thisImport ~ \/^net.hydromatic.*\/) {\n+        importGroup = \"a:net.hydromatic\";\n+    } else if (thisPackage ~ \/^org.olap4j.*\/ && thisImport ~ \/^org.olap4j.*\/) {\n+        importGroup = \"a:org.olap4j\";\n     } else if (thisImport ~ \/^static\/) {\n-        importGroup = \"z\";\n+        importGroup = \"z:static\";\n     } else if (thisImport ~ \/^java.*\/) {\n-        importGroup = \"y\";\n+        if (thisPackage ~ \/^org.eigenbase.*\/) {\n+            importGroup = \"aa:java\";\n+        } else {\n+            importGroup = \"y:java\";\n+        }\n     } else if (thisImport ~ \/^junit.*\/) {\n-        importGroup = \"b\";\n+        importGroup = \"b:junit\";\n     } else if (thisImport ~ \/^mondrian.*\/) {\n-        importGroup = \"bb\";\n+        importGroup = \"bb:mondrian\";\n+    } else if (thisImport ~ \/^org.olap4j.xmla.server.*\/) {\n+        importGroup = \"bc:org.olap4j.xmla.server\";\n+    } else if (thisImport ~ \/^openjava.*\/) {\n+        importGroup = \"cc:openjava\";\n     } else if (thisImport ~ \/^org.apache.*\/) {\n-        importGroup = \"c\";\n+        importGroup = \"c:org.apache\";\n     } else if (thisImport ~ \/^org.eigenbase.*\/) {\n-        importGroup = \"d\";\n+        importGroup = \"d:org.eigenbase\";\n     } else if (thisImport ~ \/^org.olap4j.*\/) {\n-        importGroup = \"e\";\n-    } else {\n-        importGroup = \"f\";\n+        importGroup = \"e:org.olap4j\";\n+    } else {\n+        importGroup = \"f:other\";\n     }\n     if (importGroup != prevImportGroup \\\n         && prevImportGroup)\n@@ -236,7 +301,8 @@\n         if (!previousLineWasEmpty) {\n             error(fname, FNR, \"Expected blank line between import groups\");\n         } else if (prevImportGroup > importGroup) {\n-            error(fname, FNR, \"Import group out of sequence (should precede \" prevImportGroup \")\");\n+            error(fname, FNR, \"Import group out of sequence (should precede \" \\\n+                substr(prevImportGroup, index(prevImportGroup, \":\") + 1) \")\");\n         }\n     } else if (prevImport \\\n         && prevImport > thisImport \\\n"}
{"commit":"66637402d9212c8ac5c6e5bc972760948d4a4d90","subject":"Translate: add m(string) and a few debugging messages","message":"Translate: add m(string) and a few debugging messages\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -46,6 +46,12 @@\n         HttpService = \"\/inet\/tcp\/0\/\" HttpHost \"\/\" HttpPort\n         HttpPathPrefix = \"\"\n     }\n+}\n+\n+# Return a message for debugging.\n+function m(string) {\n+    if (Option[\"debug\"])\n+        return ansi(\"blue\", string) RS\n }\n \n # Pre-process string (URL-encode before send).\n@@ -250,6 +256,7 @@\n         if (wShowOriginal) {\n             # Display: original text\n             if (r) r = r RS RS\n+            r = r m(\"-- display original text\")\n             r = r ansi(\"negative\", ansi(\"bold\", s(join(original), il)))\n             if (wShowOriginalPhonetics)\n                 r = r RS showPhonetics(join(oPhonetics), il)\n@@ -258,6 +265,7 @@\n         if (wShowTranslation) {\n             # Display: major translation & phonetics\n             if (r) r = r RS RS\n+            r = r m(\"-- display major translation & phonetics\")\n             r = r ansi(\"bold\", s(translation, tl))\n             if (wShowTranslationPhonetics)\n                 r = r RS showPhonetics(join(phonetics), tl)\n@@ -270,6 +278,7 @@\n             if (hasWordClasses) {\n                 # Definitions of\n                 if (r) r = r RS\n+                r = r m(\"-- display prompt message (Definitions of ...)\")\n                 if (isRTL(hl)) # home language is R-to-L\n                     r = r s(showDefinitionsOf(hl, join(original)))\n                 else # home language is L-to-R\n@@ -277,6 +286,7 @@\n             } else if (hasAltTranslations) {\n                 # Translations of\n                 if (r) r = r RS\n+                r = r m(\"-- display prompt message (Translations of ...)\")\n                 if (isRTL(hl)) # home language is R-to-L\n                     r = r s(showTranslationsOf(hl, join(original)))\n                 else # home language is L-to-R\n@@ -287,6 +297,7 @@\n             # Display: source language -> target language\n             if (hasWordClasses || hasAltTranslations) {\n                 if (r) r = r RS\n+                r = r m(\"-- display source language -> target language\")\n                 r = r s(sprintf(\"[ %s -> %s ]\", getEndonym(il), getEndonym(tl)))\n             }\n         }\n@@ -294,6 +305,7 @@\n         if (wShowOriginalDictionary) {\n             # Display: original dictionary\n             if (r) r = r RS\n+            r = r m(\"-- display original dictionary\")\n             if (isarray(oWordClasses) && anything(oWordClasses)) {\n                 for (i = 0; i < length(oWordClasses); i++) {\n                     r = (i > 0 ? r RS : r) RS s(oWordClasses[i], hl)\n@@ -354,6 +366,7 @@\n         if (wShowDictionary) {\n             # Display: dictionary entries\n             if (r) r = r RS\n+            r = r m(\"-- display dictionary entries\")\n             for (i = 0; i < length(wordClasses); i++) {\n                 r = (i > 0 ? r RS : r) RS s(wordClasses[i], hl)\n                 for (j = 0; j < length(words[i]); j++) {\n@@ -370,6 +383,7 @@\n         if (wShowAlternatives) {\n             # Display: alternative translations\n             if (r) r = r RS RS\n+            r = r m(\"-- display alternative translations\")\n             for (i = 0; i < length(altTranslations); i++) {\n                 r = (i > 0 ? r RS : r) ansi(\"underline\", show(segments[i]))\n                 temp = isRTL(tl) ? altTranslations[i][0] : ansi(\"bold\", altTranslations[i][0])\n"}
{"commit":"dd00da535aefea65df92954b53c9a22532495c06","subject":"Translate: preprocessByDump()","message":"Translate: preprocessByDump()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -86,6 +86,15 @@\n     return quote(text)\n }\n \n+# Pre-process string (using hexdump to URL-encode everything).\n+function preprocessByDump(text,    arr, len, temp) {\n+    len = dumpX(text, arr)\n+    temp = \"\"\n+    for (i = 1; i <= len; i++)\n+        temp = temp \"%\" arr[i]\n+    return temp\n+}\n+\n # [OBSOLETE] Is this function still relevant?\n # Post-process string (remove any redundant whitespace).\n function postprocess(text) {\n"}
{"commit":"333e998f62a12e1a511056b484309e6f379fafa6","subject":"Added sortkey field","message":"Added sortkey field\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -2,7 +2,7 @@\n \n BEGIN {\n     # Print header\n-    printf (\"Content Type\\tContent ID\\tTitle\\tEntity ID\\tGenre\\tRating\\t\")\n+    printf (\"Sortkey\\tContent Type\\tContent ID\\tTitle\\tEntity ID\\tGenre\\tRating\\t\")\n     printf (\"Show Type\\tDuration\\tDate Type\\tOriginal Date\\tShow ID\\tSeason ID\\t\")\n     printf (\"Sn #\\tEp #\\tDescription\\n\")\n }\n@@ -38,6 +38,7 @@\n     # print \"contentType = \" contentType\n     # print \"contentId = \" contentId\n     # Make sure no fields will be carried over due to missing keys\n+    sortkey = \"\"\n     title = \"\"\n     EntityId = \"\"\n     genre = \"\"\n@@ -166,8 +167,26 @@\n         EntityId = \"_23842\"\n         # print \"EntityId = \" EntityId\n     }\n-    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", contentType, contentId, \\\n-            title, EntityId, genre, rating, showType, duration, dateType, originalDate, \\\n+\n+    if (contentType == \"movie\") {\n+        sortkey = sprintf (\"%s (1) %s M%s\", title, originalDate, EntityId)\n+    }\n+\n+    if (contentType == \"tv_show\") {\n+        showTitle = title\n+        sortkey = sprintf (\"%s (1) %s S%s\", title, originalDate, EntityId)\n+    }\n+\n+    if (contentType == \"tv_season\") {\n+        sortkey = sprintf (\"%s (2) %s S%02d\", showTitle, originalDate, seasonNumber)\n+    }\n+\n+    if (contentType == \"tv_episode\") {\n+        sortkey = sprintf (\"%s (2) %s S%02dE%03d\", showTitle, originalDate, seasonNumber, episodeNumber)\n+    }\n+\n+    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", sortkey, contentType, \\\n+            contentId, title, EntityId, genre, rating, showType, duration, dateType, originalDate, \\\n             showContentId, seasonContentId, seasonNumber, episodeNumber, description)\n }\n \n"}
{"commit":"2de788d88375aa7e19ddf7d423773d540ef6820e","subject":"Changed RENDERER to _Renderer","message":"Changed RENDERER to _Renderer\n","repos":"apgoetz\/puffin","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/config.awk\n+++ lib\/config.awk\n@@ -10,7 +10,7 @@\n   section = substr($0, (RSTART + 1), (RLENGTH - 2))\n \n   # if we have encountered a new rule\n-  if (section != \"RENDERERS\") {\n+  if (section != \"_Renderers\") {\n \t  if (section in rules) {\n \t\t  print \"Error Parsing config @ line\", FNR \": encountered section\", section, \"multiple times\"\n \t\texit -1\n@@ -25,7 +25,7 @@\n \/.*=.*\/ {\n \t\n \t# special exception for renderer: we use this to store converters\n-\tif (section == \"RENDERERS\") {\n+\tif (section == \"_Renderers\") {\n \t\trenderers = renderers $0 \"\\n\"\n \t} else { \t\t# we are parsing a rule\n \t\trules[section] = rules[section] $0 \"\\n\"\n"}
{"commit":"6a20e40655814dc20449ef1ae90a4e4ee9c42689","subject":"Exclude any target with \"Test\" in the name","message":"Exclude any target with \"Test\" in the name\n","repos":"hsavit1\/objc-build-scripts,jspahrsummers\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- targets.awk\n+++ targets.awk\n@@ -4,7 +4,7 @@\n \n \/Targets:\/ {\n     while (getline && $0 != \"\") {\n-        if ($0 ~ \/Tests\/) continue;\n+        if ($0 ~ \/Test\/) continue;\n \n         sub(\/^ +\/, \"\");\n         print;\n"}
{"commit":"a7cc3487461ca604fc038bb3c23efb9324b73835","subject":"change compare and title heads","message":"change compare and title heads\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@22094 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -14,8 +14,11 @@\n } else if ((length($4) == 4 {\n   end = substr($4,1,4)\n }\n-if (end >= $3) incontract = 1\n-else incontract = 0\n+if (end >= $3) {\n+  incontract = 1\n+} else {\n+  incontract = 0\n+}\n \n if (incontract == 1) {\n     nn = split($2,na,\/\\.\/)\n"}
{"commit":"2a633566ef499cdcf3fe5e21c5b14bbe07d1b84b","subject":"Fix &#x27; in Character names","message":"Fix &#x27; in Character names\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getCast.awk\n+++ getCast.awk\n@@ -45,6 +45,7 @@\n     if ($0 ~ \/<span class=\"small-8 capitalize\/) {\n         split ($0,fld,\"[<>]\")\n         char_name = fld[3]\n+        gsub (\/&#x27;\/,\"'\",char_name)\n         if (match (person_name, \" and \") || match (person_name, \" & \")) {\n             pname = substr(person_name,1,RSTART-1)\n             sub (\/\\.$\/,\"\",pname)\n"}
{"commit":"564570baa6bde01895b582d016d2d5a60d78fa1d","subject":"class: recognize \"2012, Mar 17\" as a date","message":"class: recognize \"2012, Mar 17\" as a date\n","repos":"robert-figura\/req,robert-figura\/req","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/class.awk\n+++ src\/class.awk\n@@ -37,6 +37,14 @@\n match($0, \/([0-9][0-9][0-9][0-9])[-.,:; ]+(1[012]|0?[1-9])[-.,:; ]+(3[01]|[12][0-9]|0?[1-9])\/, m) {\n     set(\"year\", m[1])\n     set(\"mon\", m[2])\n+    set(\"mday\", m[3])\n+}\n+# 2012, Mar 17 \n+match($0, \/([0-9][0-9][0-9][0-9])[-.,:; ]+([a-zA-Z][a-zA-Z][a-zA-Z])[-.,:; ]+(3[01]|[12][0-9]|0?[1-9])\/, m) &&\n+match(\"janfebmaraprmayjunjulaugsepoctnovdec\", tolower(m[2])) &&\n+RSTART % 3 == 1 {\n+    set(\"year\", m[1])\n+    set(\"mon\", (RSTART+2)\/3) # <- thanks for this trick to Ed Morton in comp.lang.awk\n     set(\"mday\", m[3])\n }\n # 17.3.2012\n"}
{"commit":"064f6240ff97ecefed0fb4de2614f8de067aa01e","subject":"#1 Debian jessie, mawk v 1.3.3-17; Syntax error in awk file","message":"#1 Debian jessie, mawk v 1.3.3-17; Syntax error in awk file\n","repos":"sobi3ch\/drupal-bootstrap-sass,sobi3ch\/drupal-bootstrap-sass,sobi3ch\/drupal-bootstrap-sass","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- get-tag.awk\n+++ get-tag.awk\n@@ -1,12 +1,12 @@\n #!\/usr\/bin\/awk -f\n BEGIN {\n   FS = \"[ \/^]+\"\n-  while (\"git ls-remote \" ARGV[1] \"| sort -Vk2\" | getline) {\n+  while ((\"git ls-remote \" ARGV[1] \"| sort -Vk2\") | getline) {\n     if (!sha)\n       sha = substr($0, 1, 7)\n     tag = $3\n   }\n-  while (\"curl -s \" ARGV[1] \"\/releases\/tag\/\" tag | getline)\n+  while ((\"curl -s \" ARGV[1] \"\/releases\/tag\/\" tag) | getline)\n     if ($3 ~ \"commits\")\n       com = $2\n   printf com ? \"%s-%s-g%s\\n\" : \"%s\\n\", tag, com, sha\n"}
{"commit":"050f1480be96761a6bc1ed08e964c8660c32db3b","subject":"Whoops tabs","message":"Whoops tabs\n","repos":"damiancarrillo\/objc-formatter","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- src\/synthesize.template.awk\n+++ src\/synthesize.template.awk\n@@ -8,79 +8,79 @@\n     \n     # @include-fragment util.awk config\n \n-\t# @start-fragment body\n-\twhile (getline line) {\n-\t\tparseLine(line)\n-\t}\n-\t# @end-fragment body\n+    # @start-fragment body\n+    while (getline line) {\n+        parseLine(line)\n+    }\n+    # @end-fragment body\n }\n \n # @start-fragment functions\n \n function parseLine(line) {\n-\tif (line ~ \/@synthesize\/) {\n-\t\treadSynthesizers(line, properties, aliases)\n-\t}\n+    if (line ~ \/@synthesize\/) {\n+        readSynthesizers(line, properties, aliases)\n+    }\n }\n \n function readSynthesizers(line, properties, aliases) {\n-\twhile (line ~ \/@synthesize\/ && !index(line, \";\")) {\n-\t\tgetline anotherLine\n-\t\tline = line anotherLine\n-\t}\n+    while (line ~ \/@synthesize\/ && !index(line, \";\")) {\n+        getline anotherLine\n+        line = line anotherLine\n+    }\n \n-\textractSynthesizers(line, properties, aliases)\n-\tgetline line\n-\t\n-\tif (line ~ \/@synthesize\/ || line ~ \/^[ \\t]*$\/) {\n-\t\treadSynthesizers(line, properties, aliases)\n-\t} else {\n-\t\tformatSynthesizers(properties, aliases)\n-\t\tparseLine(line)\n-\t}\n+    extractSynthesizers(line, properties, aliases)\n+    getline line\n+    \n+    if (line ~ \/@synthesize\/ || line ~ \/^[ \\t]*$\/) {\n+        readSynthesizers(line, properties, aliases)\n+    } else {\n+        formatSynthesizers(properties, aliases)\n+        parseLine(line)\n+    }\n }\n \n function extractSynthesizers(line, properties, aliases) {\n-\tgsub(\"@synthesize\", \"\", line)\n-\tgsub(\";\", \"\", line)\n-\tgsub(\/[ \\t]*\/, \"\", line)\n-\t\n-\tsplit(line, individualProperties, \",\")\n-\t\n-\tfor (i = 1; i <= length(individualProperties); i++) {\n-\t\tsplit(individualProperties[i], components, \"=\")\n-\t\t\n-\t\tif (length(components[1]) > 0) { # avoid lines with only whitespace\n-\t\t\tj = length(properties) + 1\n-\t\t\tproperties[j] = components[1]\n+    gsub(\"@synthesize\", \"\", line)\n+    gsub(\";\", \"\", line)\n+    gsub(\/[ \\t]*\/, \"\", line)\n+    \n+    split(line, individualProperties, \",\")\n+    \n+    for (i = 1; i <= length(individualProperties); i++) {\n+        split(individualProperties[i], components, \"=\")\n+        \n+        if (length(components[1]) > 0) { # avoid lines with only whitespace\n+            j = length(properties) + 1\n+            properties[j] = components[1]\n \n-\t\t\tif (length(components) > 1) {\n-\t\t\t\taliases[j] = components[2]\n-\t\t\t} else {\n-\t\t\t\taliases[j] = components[1]\n-\t\t\t}\n-\t\t}\n-\t}\n+            if (length(components) > 1) {\n+                aliases[j] = components[2]\n+            } else {\n+                aliases[j] = components[1]\n+            }\n+        }\n+    }\n }\n \n function formatSynthesizers(properties, aliases) {\n-\tmaxLength = 0\n+    maxLength = 0\n \n-\tfor (i = 1; i <= length(properties); i++) {\n-\t\tmaxLength = max(maxLength, length(properties[i]));\n-\t}\n-\t\n-\tfor (i = 1; i <= length(properties); i++) {\n-\t\tformat = \"\"\n+    for (i = 1; i <= length(properties); i++) {\n+        maxLength = max(maxLength, length(properties[i]));\n+    }\n+    \n+    for (i = 1; i <= length(properties); i++) {\n+        format = \"\"\n \n-\t\tif (config[\"SYNTHESIZERS_SHOULD_HAVE_N_COLUMNS\"] == 1) {\n-\t\t\tformat = \"@synthesize %s = %s;\\n\"\n-\t\t} else {\n-\t\t\tformat = \"@synthesize %-\" maxLength \"s = %s;\\n\"\n-\t\t}\n+        if (config[\"SYNTHESIZERS_SHOULD_HAVE_N_COLUMNS\"] == 1) {\n+            format = \"@synthesize %s = %s;\\n\"\n+        } else {\n+            format = \"@synthesize %-\" maxLength \"s = %s;\\n\"\n+        }\n \n-\t\tprintf(format, properties[i], aliases[i])\n-\t}\n+        printf(format, properties[i], aliases[i])\n+    }\n }\n \n # @end-fragment functions\n"}
{"commit":"85d054df45c220f6a343f7513ca8734638541eed","subject":"One additional must be commented out","message":"One additional must be commented out\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@26 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- awk-scripts\/callflow.awk\n+++ awk-scripts\/callflow.awk\n@@ -74,8 +74,8 @@\n   printf \" .element-line { stroke-width: 0.25pt; stroke: black; }\\n\";\n   printf \" .link { color: blue; font-family: Trebuchet MS,Helvetica, sans-serif;\\n\";\n   printf \"\t\tfont-size: 9pt; text-decoration: underline; fill: blue;}\\n\";\n-  #printf \" .session-text { color: red; font-family: Trebuchet MS,Helvetica, sans-serif;\\n\";\n-  printf \"\t\tfont-size: 9pt; font-weight: bold; fill: red;}\\n\";\n+  # printf \" .session-text { color: red; font-family: Trebuchet MS,Helvetica, sans-serif;\\n\";\n+  # printf \"\t\tfont-size: 9pt; font-weight: bold; fill: red;}\\n\";\n   printf \" ]]><\/style>\\n<\/defs>\\n\";\n }\n \n"}
{"commit":"14e8fee7e3061900e7431cbdc5f575075fc3079a","subject":"parsegaspriceshtml.awk: Show name for \"top tier\" advertisers.","message":"parsegaspriceshtml.awk: Show name for \"top tier\" advertisers.\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -36,7 +36,7 @@\n    expectName=True\n }\n \n-inGasPriceRecord && expectName && \/<a href=\"\/ {\n+inGasPriceRecord && expectName && \/ <a href=\"\/ {\n    gsub(\"<img src=\\\"http:\/\/mymarathonstation.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Marathon\")\n    gsub(\"<img src=\\\"http:\/\/duchessshoppe.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Duchess (BP)\")\n    gsub(\"<img src=\\\"http:\/\/thorntons.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n"}
{"commit":"a83255aca24646c22553ed510aa9224c95af1592","subject":"Work around va_list and CLongDouble issues on Linux and arm64","message":"Work around va_list and CLongDouble issues on Linux and arm64\n","repos":"rhx\/SwiftGLib,rhx\/SwiftGLib,rhx\/SwiftGLib","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- GLib-2.0.awk\n+++ GLib-2.0.awk\n@@ -2,7 +2,7 @@\n #\n # Patch the generated wrapper Swift code to handle special cases\n #\n-BEGIN { etpInit = 0 ; vaptrptr = 0 }\n+BEGIN { etpInit = 0 ; vaptrptr = 0 ; longdouble = 0 }\n \/public convenience init.T: ErrorTypeProtocol.\/ {\n \tetpInit = 1\n \tprint \"    \/\/\/ Convenience copy constructor, creating a unique copy\"\n@@ -31,17 +31,23 @@\n }\n \/Pointer<va_list>\/ {\n \tvaptrptr = 1\n-\tprint \"#if !os(Linux)\"\n+\tprint \"#if !os(Linux) && !arch(arm64)\"\n+}\n+\/CLongDouble\/ {\n+\tlongdouble = 1\n+\tprint \"#if !(os(Linux) && arch(arm64))\"\n }\n \/^$\/ {\n-\tif (vaptrptr) {\n+\tif (vaptrptr || longdouble) {\n \t\tprint \"#endif\"\n+\t\tlongdouble = 0\n \t\tvaptrptr = 0\n \t}\n }\n \/\\\/\\\/\\\/\/ {\n-\tif (vaptrptr) {\n+\tif (vaptrptr || longdouble) {\n \t\tprint \"#endif\"\n+\t\tlongdouble = 0\n \t\tvaptrptr = 0\n \t}\n }\n"}
{"commit":"ae24e363f0f01a750101442a74288f85511028cb","subject":"handle driver\/driver tags","message":"handle driver\/driver tags\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/isa\/devlist2h.awk\n+++ dev\/isa\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.3 1997\/12\/21 14:41:21 downsj Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.4 1998\/12\/28 09:15:16 hugh Exp $\n #\t$NetBSD: devlist2h.awk,v 1.2 1996\/01\/22 21:08:09 cgd Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n@@ -55,12 +55,17 @@\n \t\tnext\n \tif (substr($2,0,1) == \"#\")\n \t\tnext\n-\tnproducts++\n-\tproducts[nproducts, 1] = $1;\t\t# driver name\n-\tproducts[nproducts, 2] = $2;\t\t# pnp id\n-#\tif ($3 && substr($3,0,1) == \"#\")\n-#\t\tproducts[nproducts, 3] = substr($3, 1);\n-#\tprintf(\"%s %s %s\\n\", $1, $2, products[nproducts, 3]);\n+\tdo {\n+\t\tnproducts++\n+\t\tif ((x = index($1, \"\/\")))\n+\t\t\tproducts[nproducts, 1] = substr($1, 1, x - 1);\n+\t\telse\n+\t\t\tproducts[nproducts, 1] = $1;\t\t# driver name\n+\t\tproducts[nproducts, 2] = $2;\t\t# pnp id\n+#\t\tif ($3 && substr($3,0,1) == \"#\")\n+#\t\t\tproducts[nproducts, 3] = substr($3, 1);\n+#\t\tprintf(\"%s %s %s\\n\", $1, $2, products[nproducts, 3]);\n+\t} while (x && ($1 = substr($1, x + 1, length($1) - x)));\n \n \tnext\n }\n"}
{"commit":"25013c6f135ef315af10a5b836ac934720c26d79","subject":"Main: allow non-option arguments to appear before options (fix #90)","message":"Main: allow non-option arguments to appear before options (fix #90)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -150,6 +150,7 @@\n \n     # Command-line options override initialization script\n     pos = 0\n+    noargc = 0\n     while (ARGV[++pos]) {\n         ## Information options\n \n@@ -569,7 +570,8 @@\n             break # no more option from here\n         }\n \n-        break # no more option from here\n+        # non-option argument\n+        noargv[noargc++] = ARGV[pos]\n     }\n \n     # Handle interactive shell\n@@ -616,22 +618,23 @@\n     if (Option[\"interactive\"])\n         welcome()\n \n-    if (pos < ARGC) {\n-        # More parameters\n-\n-        # Translate remaining parameters\n-        for (i = pos; i < ARGC; i++) {\n+    # More remaining non-option arguments\n+    if (pos < ARGC)\n+        for (i = pos; i < ARGC; i++)\n+            noargv[noargc++] = ARGV[i]\n+\n+    if (noargc) {\n+        # Translate all non-option arguments\n+        for (i = 0; i < noargc; i++) {\n             # Verbose mode: separator between sources\n             if (Option[\"verbose\"] && i > pos)\n                 p(prettify(\"source-seperator\", replicate(Option[\"chr-source-seperator\"], Option[\"width\"])))\n \n-            translate(ARGV[i], 1) # inline mode\n+            translate(noargv[i], 1) # inline mode\n         }\n \n         # If input not specified, we're done\n     } else {\n-        # No more parameter besides options\n-\n         # If input not specified, use stdin\n         if (!Option[\"input\"]) Option[\"input\"] = STDIN\n     }\n"}
{"commit":"36cff15ba22128dae2765c57bc6e54d34f11ffd2","subject":"Commons: add anything()","message":"Commons: add anything()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -3,6 +3,15 @@\n # Append an element into an array (zero-based).\n function append(array, element) {\n     array[length(array)] = element\n+}\n+\n+# Return 1 if the array contains anything; otherwise return 0.\n+function anything(array,\n+                  ####\n+                  i) {\n+    for (i in array)\n+        if (array[i]) return 1\n+    return 0\n }\n \n # Return an element if it belongs to the array;\n"}
{"commit":"8ffa91c974d7846626699ec04f99c17c6cec1bc2","subject":"Languages: mark Tatar as yandex-only","message":"Languages: mark Tatar as yandex-only\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -381,7 +381,7 @@\n     Locale[\"tk\"][\"script\"]             = \"Latn\"\n \n     #? Tatar\n-    Locale[\"tt\"][\"support\"]            = \"unstable\"\n+    Locale[\"tt\"][\"support\"]            = \"yandex-only\"\n     Locale[\"tt\"][\"name\"]               = \"Tatar\"\n     Locale[\"tt\"][\"endonym\"]            = \"\u0442\u0430\u0442\u0430\u0440\u0447\u0430\"\n     #Locale[\"tt\"][\"translations-of\"]\n"}
{"commit":"60c40c5da66ea7482ba422e3ce18313993c15347","subject":"Languages: add Wolof language","message":"Languages: add Wolof language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -393,6 +393,19 @@\n     Locale[\"vo\"][\"iso\"]                = \"vol\"\n     #Locale[\"vo\"][\"glotto\"]\n     Locale[\"vo\"][\"script\"]             = \"Latn\"\n+\n+    #? Wolof\n+    Locale[\"wo\"][\"name\"]               = \"Wolof\"\n+    Locale[\"wo\"][\"endonym\"]            = \"Wollof\"\n+    #Locale[\"wo\"][\"translations-of\"]\n+    #Locale[\"wo\"][\"definitions-of\"]\n+    #Locale[\"wo\"][\"synonyms\"]\n+    #Locale[\"wo\"][\"examples\"]\n+    #Locale[\"wo\"][\"see-also\"]\n+    Locale[\"wo\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"wo\"][\"iso\"]                = \"wol\"\n+    Locale[\"wo\"][\"glotto\"]             = \"wolo1247\"\n+    Locale[\"wo\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"01da790999f6e45aef0a3c53cbf1b030acca4371","subject":"Don't check the state of the vnode interlock if the specification says that the lock should not be checked.","message":"Don't check the state of the vnode interlock if the specification says\nthat the lock should not be checked.\n\nSkip the lock assertion checks for *vpp or any other pointer to a vnode\npointer if vpp (or equivalent) is NULL.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -67,7 +67,10 @@\n {\n \tif (arg == \"vpp\")\n \t\targ = \"*vpp\";\n-\tif (lockdata[name, arg, pos]) {\n+\tif (lockdata[name, arg, pos] && (lockdata[name, arg, pos] != \"-\")) {\n+\t\tif (arg ~ \/^\\*\/) {\n+\t\t\tprinth(\"\\tif (\"substr(arg, 2)\" != NULL) {\");\n+\t\t}\n \t\tprinth(\"\\tASSERT_VI_UNLOCKED(\"arg\", \\\"\"uname\"\\\");\");\n \t\t# Add assertions for locking\n \t\tif (lockdata[name, arg, pos] == \"L\")\n@@ -76,6 +79,9 @@\n \t\t\tprinth(\"\\tASSERT_VOP_UNLOCKED(\"arg\", \\\"\"uname\"\\\");\");\n \t\telse if (0) {\n \t\t\t# XXX More checks!\n+\t\t}\n+\t\tif (arg ~ \/^\\*\/) {\n+\t\t\tprinth(\"\\t}\");\n \t\t}\n \t}\n }\n"}
{"commit":"067cc6fa491ed0b1c8b07808355d705eaa10fdb2","subject":"Output a comment on top of each generated file explaining where it came from.","message":"Output a comment on top of each generated file explaining where it came\nfrom.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"e7a7561c9db11900ae137deac130df2b03c9adb5","subject":"Regenerate tool\/configure.awk","message":"Regenerate tool\/configure.awk\n","repos":"colstrom\/unpkg","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tool\/configure.awk\n+++ tool\/configure.awk\n@@ -23,3 +23,4 @@\n $1 == \"--srcdir\" { print $0,SRCDIR }\n $1 == \"--sysconfdir\" { print $0,SYSCONFDIR }\n $1 == \"--sysdepdir\" { print $0,SYSDEPDIR }\n+$1 == \"--xdgdatadir\" { print $0,XDGDATADIR }\n"}
{"commit":"90b6fc3471a5675100a1a803da540a2e0925812e","subject":"Sort the output tables, and mention the rcsid of the converter script in the output as well.","message":"Sort the output tables, and mention the rcsid of the converter script in\nthe output as well.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- arch\/hppa\/gsc\/makemap.awk\n+++ arch\/hppa\/gsc\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.4 2005\/05\/06 18:04:37 mickey Exp $\n+#\t$OpenBSD: makemap.awk,v 1.5 2005\/05\/09 05:07:25 miod Exp $\n #\n # Copyright (c) 2003, Miodrag Vallat.\n # All rights reserved.\n@@ -33,6 +33,9 @@\n #\n \n BEGIN {\n+\trcsid = \"$OpenBSD: makemap.awk,v 1.5 2005\/05\/09 05:07:25 miod Exp $\"\n+\tifdepth = 0\n+\tignore = 0\n \tmapnum = 0\n \tdeclk = 0\n \n@@ -154,18 +157,52 @@\n NR == 1 {\n \tVERSION = $0\n \tgsub(\"\\\\$\", \"\", VERSION)\n+\tgsub(\"\\\\$\", \"\", rcsid)\n \n \tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\")\n \tprintf(\"\/*\\n\")\n-\tprintf(\" * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\")\n+\tprintf(\" * THIS FILE IS AUTOMAGICALLY GENERATED.  DO NOT EDIT.\\n\")\n \tprintf(\" *\\n\")\n+\tprintf(\" * generated by:\\n\")\n+\tprintf(\" *\\t%s\\n\", rcsid)\n \tprintf(\" * generated from:\\n\")\n \tprintf(\" *\/\\n\")\n \tprint VERSION\n \n \tnext\n }\n+\n+#\n+# A very limited #if ... #endif parser. We only want to correctly detect\n+# ``#if 0'' constructs, so as not to process their contents. This is necessary\n+# since our output is out-of-order from our input.\n+#\n+# Note that this does NOT handle ``#ifdef notyet'' correctly - please only use\n+# ``#if 0'' constructs in the input.\n+#\n+\n+\/^#if\/ {\n+\tignores[ifdepth] = ignore\n+\tif ($2 == \"0\")\n+\t\tignore = 1\n+\telse\n+\t\tignore = 0\n+\tifdepth++\n+\tif (ignore)\n+\t\tnext\n+}\n+\/^#endif\/ {\n+\toldignore = ignore\n+\tifdepth--\n+\tignore = ignores[ifdepth]\n+\tignores[ifdepth] = 0\n+\tif (oldignore)\n+\t\tnext\n+}\n+\n $1 == \"#include\" {\n+\tif (ignore)\n+\t\tnext\n \tif ($2 == \"<dev\/pckbc\/wskbdmap_mfii.h>\")\n \t\tprint \"#include <hppa\/gsc\/gsckbdmap.h>\"\n \telse\n@@ -174,9 +211,12 @@\n \tnext\n }\n $1 == \"#define\" || $1 == \"#undef\" {\n+\tif (ignore)\n+\t\tnext\n \tprint $0\n \tnext\n }\n+\n # Don't bother converting the DEC LK layout.\n \/declk\\[\/ {\n \tdeclk = 1\n@@ -185,12 +225,19 @@\n \/declk\/ {\n \tnext\n }\n+\n \/pckbd\/ {\n+\tif (ignore)\n+\t\tnext\n \tgsub(\"pckbd\", \"gsckbd\", $0)\n \tprint $0\n \tnext\n }\n+\n \/KC\/ {\n+\tif (ignore)\n+\t\tnext\n+\n \tif (declk)\n \t\tnext\n \n@@ -210,20 +257,46 @@\n \t\t}\n \t\tprintf(\"\\t*\/\\n\")\n \t} else {\n-\t\tprintf(\"    KC(%d),\", id)\n+\t\tlines[id] = sprintf(\"    KC(%d),\", id)\n+\t\t#\n+\t\t# This makes sure that the non-comment part of the output\n+\t\t# ends up with a trailing comma. This is necessary since\n+\t\t# the last line of an input block might not have a trailing\n+\t\t# comma, but might not be the last line of an output block\n+\t\t# due to sorting.\n+\t\t#\n+\t\tcomma = 0\n \t\tfor (f = 2; f <= NF; f++) {\n-\t\t\tprintf(\"\\t%s\", $f)\n+\t\t\tif ($f == \"\/*\")\n+\t\t\t\tcomma++\n+\t\t\tif (comma == 0 &&\n+\t\t\t    substr($f, length($f)) != \",\") {\n+\t\t\t\tlines[id] = sprintf(\"%s\\t%s,\", lines[id], $f)\n+\t\t\t} else {\n+\t\t\t\tlines[id] = sprintf(\"%s\\t%s\", lines[id], $f)\n+\t\t\t}\n+\t\t\tif ($f == \"*\/\")\n+\t\t\t\tcomma--\n \t\t}\n-\t\tprintf(\"\\n\")\n \t}\n \n \tnext\n }\n \/};\/ {\n+\tif (ignore)\n+\t\tnext\n+\n \tif (declk) {\n \t\tdeclk = 0\n \t\tnext\n \t}\n+\n+\tfor (i = 0; i < 256; i++)\n+\t\tif (lines[i]) {\n+\t\t\tprint lines[i]\n+\t\t\tlines[i] = \"\"\n+\t\t}\n+\n \tif (mapnum == 0) {\n \t\t# Add 241 to the US map...\n \t\tprint \"    KC(241),\\tKS_Delete\"\n@@ -271,6 +344,8 @@\n \tprintf(\"\\tKBD_MAP(KB_US | KB_MACHDEP,\\tKB_US,\\tgsckbd_keydesc_precisionbook),\\n\");\n }\n {\n+\tif (ignore)\n+\t\tnext\n \tif (declk)\n \t\tnext\n \tprint $0\n"}
{"commit":"68ab148123bb082abf6176fc210c859600143b1e","subject":"LanguageHelper: improve getDetails() for language isolates","message":"LanguageHelper: improve getDetails() for language isolates\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"unknown","license":"unlicense","lang":"Awk","diff":""}
{"commit":"762b4a49b85ccac8a790a0a60c69b794dbbc0277","subject":"Fix indentation.  Delete spaces between a functiuon name and '('.","message":"Fix indentation.  Delete spaces between a functiuon\nname and '('.\n","repos":"sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- CASED.awk\n+++ CASED.awk\n@@ -63,42 +63,48 @@\n }\n \n function single (str, bit) {\n-i = decode_hex (str, 1);\n-if (cased[i] != bit)\n-     cased[i] += bit;\n-     }\n+  i = decode_hex(str, 1);\n+  if (cased[i] != bit)\n+    cased[i] += bit;\n+}\n \n function range (str, bit) {\n-end = decode_hex (str, index (str, \"..\") + 2);\n-for (i = decode_hex (str, 1); i <= end; i++)\n-     if (cased[i] != bit)\n-     cased[i] += bit;\n-     }\n+  end = decode_hex(str, index (str, \"..\") + 2);\n+  for (i = decode_hex(str, 1); i <= end; i++)\n+    if (cased[i] != bit)\n+      cased[i] += bit;\n+}\n \n FILE == 1 && \/^[^#]\/ {\n-\t\tif ($3 ~ \/L[ltu]\/) single ($1, 1);\n-\t\telse if ($3 ~ \/Mn|Me|Cf|Lm|Sk\/) range ($1, 2);\n-\t\t}\n+  if ($3 ~ \/L[ltu]\/)\n+    single($1, 1);\n+  else if ($3 ~ \/Mn|Me|Cf|Lm|Sk\/)\n+    range($1, 2);\n+}\n \n \/^# PropList-.+\\.txt\/ {\n-FILE = 2;\n+  FILE = 2;\n }\n \n FILE == 2 && \/^[^#;]+; *Other_(Upp|Low)ercase\/ {\n-if (index ($1, \".\")) range ($1, 1);\n-else single ($1, 1);\n+  if (index ($1, \".\"))\n+    range($1, 1);\n+  else\n+    single($1, 1);\n }\n \n \/^# WordBreakProperty-.+\\.txt\/ {\n-FILE = 3;\n+  FILE = 3;\n }\n \n FILE == 3 && \/^[^#;]+; *MidLetter\/ {\n-if (index ($1, \".\")) range ($1, 2);\n-else single ($1, 2);\n+  if (index ($1, \".\"))\n+    range($1, 2);\n+  else\n+    single($1, 2);\n }\n \n END {\n-for (i in cased)\n-     printf (\"0x%X %d\\n\", i, cased[i]);\n-     }\n+  for (i in cased)\n+    printf (\"0x%X %d\\n\", i, cased[i]);\n+}\n"}
{"commit":"08a780fd496e1ef93d1b8ba9d2cd8a500cc201a1","subject":"Simplified the pre-processor's prettify script.","message":"Simplified the pre-processor's prettify script.\n","repos":"artem-aliev\/tinkerpop,BrynCooke\/incubator-tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop,newkek\/incubator-tinkerpop,apache\/incubator-tinkerpop,jorgebay\/tinkerpop,robertdale\/tinkerpop,artem-aliev\/tinkerpop,pluradj\/incubator-tinkerpop,jorgebay\/tinkerpop,krlohnes\/tinkerpop,pluradj\/incubator-tinkerpop,newkek\/incubator-tinkerpop,artem-aliev\/tinkerpop,samiunn\/incubator-tinkerpop,newkek\/incubator-tinkerpop,apache\/tinkerpop,BrynCooke\/incubator-tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,jorgebay\/tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,robertdale\/tinkerpop,samiunn\/incubator-tinkerpop,krlohnes\/tinkerpop,BrynCooke\/incubator-tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,artem-aliev\/tinkerpop,jorgebay\/tinkerpop,apache\/incubator-tinkerpop,artem-aliev\/tinkerpop,krlohnes\/tinkerpop,samiunn\/incubator-tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/preprocessor\/awk\/prettify.awk\n+++ docs\/preprocessor\/awk\/prettify.awk\n@@ -21,14 +21,8 @@\n \/^==>\\\/\\\/\\\/\\\/$\/ { doPrint = 1 }\n \n {\n-  lastLineStartedWithGremlin = lastLineStartedWithGremlin && inCodeSection\n-  if (inCodeSection) {\n-    if ($0 ~ \/^gremlin> \/ && ($0 ~ \/([.,({]|\"\"\")(\\s*\\\/\\\/.*)?$\/ || $0 ~ \/^gremlin>  \/)) {\n-      if (lastLineStartedWithGremlin) gsub(\/^gremlin> \/, \"         \")\n-      lastLineStartedWithGremlin = 1\n-    } else {\n-      lastLineStartedWithGremlin = 0\n-    }\n+  if (inCodeSection && $0 ~ \/^\\.*[0-9]+> \/) {\n+    gsub(\/^.{8}\/, \"        \")\n   }\n   if (doPrint) print\n }\n"}
{"commit":"950aea4c0acdcfd08fd6525479d6fb526d3d788e","subject":"sio nfo prefixes default","message":"sio nfo prefixes default\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -66,6 +66,8 @@\n       print \"@prefix bibo:          <http:\/\/purl.org\/ontology\/bibo\/> .\"\n       print \"@prefix prov:          <http:\/\/www.w3.org\/ns\/prov#> .\"\n       print \"@prefix doap:          <http:\/\/usefulinc.com\/ns\/doap#> .\"\n+      print \"@prefix nfo:           <http:\/\/www.semanticdesktop.org\/ontologies\/2007\/03\/22\/nfo#> .\"\n+      print \"@prefix sio:           <http:\/\/semanticscience.org\/resource\/> .\"\n       print \"@prefix qb:            <http:\/\/purl.org\/linked-data\/cube#> .\"\n       print \"@prefix dgtwc:         <http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#> .\"\n    }\n"}
{"commit":"3056c113f8a5f17e689e0d6f64e78d62d9d6a485","subject":"Main: manual RTL padding for konsole (#288)","message":"Main: manual RTL padding for konsole (#288)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -128,8 +128,14 @@\n         delete AnsiCode\n \n     # Disable conversion of bidirectional texts if required or supported by emulator\n-    if (Option[\"no-bidi\"] || BiDiTerm)\n+    if (Option[\"no-bidi\"] || BiDiTerm == \"mlterm\")\n+        # mlterm implements its own padding\n         BiDi = BiDiNoPad = NULLSTR\n+    else if (BiDiTerm == \"konsole\") {\n+        # konsole implements no padding; we should handle this\n+        BiDiNoPad = NULLSTR\n+        BiDi = \"sed \\\"s\/'\/\\\\\\\\\\\\'\/\\\" | xargs -0 printf '%%%ss'\"\n+    }\n \n     # (Languages.awk)\n     initLocaleDisplay()\n"}
{"commit":"20c2ce8f576ff0cda50300ba8fc5317c1f12e433","subject":"Oups! Fix mistake in loop to read the next word","message":"Oups! Fix mistake in loop to read the next word\n","repos":"dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- praxis\/ordered-words.awk\n+++ praxis\/ordered-words.awk\n@@ -10,8 +10,9 @@\n         len = length(word)\n         if (len < maxlen) next\n         for (i = 1; i <= len - 1; ++i)\n-                if (substr(word, i, 1) < substr(word, i + 1, 1))\n-                        maxlen = length(max = word)\n+                if (substr(word, i, 1) > substr(word, i + 1, 1))\n+                        next\n+        maxlen = length(max = word)\n }\n END {\n         printf(\"Largest word '%s' is %d characters long\\n\", max, maxlen)\n"}
{"commit":"9e1cd6cb85c2603eb64f682254bc37c961696288","subject":"Our awk does not implement the ARGIND variable, so we were attempting to parse the binary .kld file as a list of symbols. Fix this by simply deleting the unwanted argument from the ARGV[] array instead of trying to skip over it.","message":"Our awk does not implement the ARGIND variable, so we were attempting\nto parse the binary .kld file as a list of symbols. Fix this by\nsimply deleting the unwanted argument from the ARGV[] array instead\nof trying to skip over it.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/conf\/kmod_syms.awk\n+++ sys\/conf\/kmod_syms.awk\n@@ -7,12 +7,11 @@\n                         syms[$3] = $2\n                 }\n         }\n+        delete ARGV[1]\n }\n \n # De-list symbols from the export list.\n {\n-        if (ARGIND == 1)\n-                nextfile\n         delete syms[$0]\n }\n \n"}
{"commit":"78cd8acb53f0bf830612765f7c9a2a5e3b34fbb5","subject":"Minor tweak","message":"Minor tweak\n","repos":"oneminot\/libcvd,oneminot\/libcvd,oneminot\/libcvd","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- make\/log_to_changelog.awk\n+++ make\/log_to_changelog.awk\n@@ -134,7 +134,7 @@\n \t\t\tfor(j=i-1; j>0 && \n \t\t\t\t\t   author==line_to_author[date_to_line[sorted_dates[j]]] &&\n \t\t\t\t\t   message==line_to_message[date_to_line[sorted_dates[j]]] &&\n-\t\t\t\t\t   date - sorted_dates[j] < 100; j--)\n+\t\t\t\t\t   date - sorted_dates[j] < 1000; j--)\n \t\t\t{\n \t\t\t\t#Reset i, so that the fragment appears once only.\n \t\t\t\ti=j\n"}
{"commit":"3f0385e593d532b13b51e7989389905cf8c6cf27","subject":"add copyright","message":"add copyright","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/slidy.awk\n+++ tools\/slidy.awk\n@@ -34,7 +34,7 @@\n {\n     sub(\/<title>Haskell: Functional Programming, Solid Code, Big Data<\\\/title>\/, \"<title>Intro \\\\&ldquo;Functional Programming\\\\&rdquo;<\/title>\")\n     sub(\/<meta name=\"date\" content=\"2011-09-18\" \\\/>\/, \"<meta name='date' content='2011-10-19' \/>\")\n-    sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name='author' content='Gabor Greif' \/>\\n  <meta name='duration' content='45' \/>\\n  <link type='text\/css' rel='stylesheet' href='http:\/\/www.gstatic.com\/codesite\/ph\/13841197563397998716\/css\/ph_detail.css' \/>\")\n+    sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name='author' content='Gabor Greif' \/>\\n  <meta name='duration' content='45' \/>\\n  <link type='text\/css' rel='stylesheet' href='http:\/\/www.gstatic.com\/codesite\/ph\/13841197563397998716\/css\/ph_detail.css' \/>\\n  <meta name='copyright' content='Copyright \\\\&#169; 2011 Gabor Greif' \/>\")\n }\n \n \/^<body>\/ {\n"}
{"commit":"00fd84f1a12d7902c74f806a6e2c8ec31d77dfd7","subject":"build.awk: use sha256sum in Homebrew formula","message":"build.awk: use sha256sum in Homebrew formula\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -251,11 +251,12 @@\n \n     d(\"Updating gh-pages\/translate-shell.rb ...\")\n     # Update gh-pages\/translate-shell.rb\n-    (\"sha1sum \" PagesPath \"translate-shell.tar.gz\") | getline temp\n+    system(\"git archive --format=tar.gz --prefix=translate-shell-\"Version\"\/ v\"Version\" >\"PagesPath\"\/v\"Version\".tar.gz\")\n+    (\"sha256sum \" PagesPath\"\/v\"Version\".tar.gz\") | getline temp\n     split(temp, group)\n-    sha1 = group[1]\n+    sha256 = group[1]\n     text = readFrom(HomebrewFormula \".temp\")\n-    gsub(\/\\$sha1\\$\/, sha1, text)\n+    gsub(\/\\$sha256\\$\/, sha256, text)\n     gsub(\/\\$Version\\$\/, Version, text)\n     writeTo(text, HomebrewFormula)\n \n"}
{"commit":"70936f5be9d1db1a0116b6eda22535a78ecea0f2","subject":"Accept variable 'format' from -v parameter.","message":"Accept variable 'format' from -v parameter.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -3,6 +3,7 @@\n BEGIN {\n \thost = host != \"\" ? host : \"127.0.0.1\"\n \tport = port != \"\" ? port : 5353\n+\tformat = format != \"\" ? format : \"server=\/.%s\/%s#%d\\n\"\n \n \t\"date \\\"+%Y-%m-%d %H:%M:%S\\\"\" | getline now\n \tprint \"# gfw list ipset rules for dnsmasq\"\n@@ -32,7 +33,7 @@\n \n END {\n \tfor (i = 1; i <= domain_count; i++) {\n-\t\tprintf \"server=\/.%s\/%s#%d\\n\", domains[i], host, port | \"sort | uniq\"\n+\t\tprintf format, domains[i], host, port | \"sort | uniq\"\n \t}\n \tclose(\"sort | uniq\")\n }\n"}
{"commit":"042ce7bec1604133bccfe359fdf94f4782a78066","subject":"sanitize.awk: slightly better regex","message":"sanitize.awk: slightly better regex\n","repos":"snscltt\/jrorg,snscltt\/jrorg,snscltt\/jrorg","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- sanitize.awk\n+++ sanitize.awk\n@@ -1,5 +1,5 @@\n #!\/usr\/bin\/awk -f\n \n-!\/^'$|[a-zA-Z]='$\/ {\n+!\/(.*='|^')$\/ {\n   gsub(\/'\/,\"'\\\\''\")\n }1"}
{"commit":"8e214a34ed7f437ff833d64c71066ad2b05eaf8a","subject":"Commons: squeeze more","message":"Commons: squeeze more\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -136,7 +136,7 @@\n     if (!preserveIndent)\n         gsub(\/^[[:space:]]+\/, \"\", line)\n     # Remove comment\n-    gsub(\/^#.*$\/, \"\", line)\n+    gsub(\/^[[:space:]]*#.*$\/, \"\", line)\n     # Remove in-line comment\n     gsub(\/#[^\"]*$\/, \"\", line)\n     # Remove trailing spaces\n"}
{"commit":"ffb819cddb49c75793c1f04907ac75b103db4c40","subject":"It seems SCO puts touch in a wierd place","message":"It seems SCO puts touch in a wierd place\n","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- extra\/scripts\/initfini.awk\n+++ extra\/scripts\/initfini.awk\n@@ -8,7 +8,7 @@\n { alignval=\"\";\n   endp=0;\n   end=0;\n-  system(\"\/bin\/touch crt[in].S\");\n+  system(\"touch crt[in].S\");\n   system(\"\/bin\/rm -f crt[in].S\");\n   omitcrti=0;\n   omitcrtn=0;\n"}
{"commit":"12e616f51d88ac0857d0f6d303ed29a4d95b8d2e","subject":"force to use UTF-8 locale","message":"force to use UTF-8 locale\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -132,6 +132,8 @@\n \n         print \"#!\/usr\/bin\/env \" target > Trans\n         print > Trans\n+\n+        print \"if ! [[ $LANG =~ '[UTF|utf]-?8$' ]]; then export LANG=en_US.UTF-8; fi\" > Trans\n \n         print \"read -r -d '' TRANS_PROGRAM << 'EOF'\" > Trans\n         if (fileExists(EntryPoint))\n"}
{"commit":"213cfedf649a323074d5b4f0fc813fee86541dcc","subject":"pushing","message":"pushing\n","repos":"timm\/sandbox,timm\/sandbox,timm\/sandbox,timm\/sandbox,timm\/sandbox","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- auk\/sdtree.auk\n+++ auk\/sdtree.auk\n@@ -43,6 +43,7 @@\n   n = musort(ranges,sorted)\n   return sorted[n].column\n }\n+\n function report(rows,   w,n,r,txt) {\n   for(w in W) {\n     num(n)\n"}
{"commit":"2f8644b462ab0a5e4c8f0400a5187c78c4df7d89","subject":"add step in awk script to convert config to win32 to remote remove standard universe starter from the windows config file.","message":"add step in awk script to convert config to win32 to remote\nremove standard universe starter from the windows config file.\n","repos":"clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,htcondor\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,htcondor\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,neurodebian\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/htcondor,djw8605\/condor,neurodebian\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -81,6 +81,16 @@\n     next\n }\n \n+# Remove STARTER_STANDARD (the standard universe starter)\n+#\n+\/^STARTER_STANDARD\/ {\n+    next\n+}\n+\/^STARTER_LIST\/ {\n+    printf \"STARTER_LIST = STARTER\\n\"\n+    next\n+}\n+\n # Choose a Windows-reasonable value for RELEASE_DIR and LOCAL_DIR\n #\n \/^RELEASE_DIR[ \\t]*=\/ {\n@@ -94,10 +104,10 @@\n \n # Don't require a local config file.\n #\n-\/^\\#REQUIRE_LOCAL_CONFIG_FILE \\=\/ {\r\n-   printf \"REQUIRE_LOCAL_CONFIG_FILE = FALSE\\n\"\r\n-   next\r\n-}\r\n+\/^\\#REQUIRE_LOCAL_CONFIG_FILE \\=\/ {\n+   printf \"REQUIRE_LOCAL_CONFIG_FILE = FALSE\\n\"\n+   next\n+}\n \n \n # Specify $(FULL_HOSTNAME) as the sample commented-out entry for\n@@ -213,4 +223,3 @@\n \n # If we made it here, print out the line unchanged\n {print $0}\n-\n"}
{"commit":"47ed7468ad50da972f779e149497c7ea2f096810","subject":"Try to optimize for grabbing header file, incompleted","message":"Try to optimize for grabbing header file, incompleted\n","repos":"lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- linkparser\/linkparser.awk\n+++ linkparser\/linkparser.awk\n@@ -53,10 +53,6 @@\n \t\tinst_root = g_sroot\"-\"date\n \t}\n \n-\t# ---------\n-\t# Sources\n-\t# ---------\n-\n \tcmd_file = link\".cmd\"\n \twhile ((getline line < cmd_file) > 0) {\n \t\t# abosolute path\n@@ -65,42 +61,71 @@\n \t\telse # relative path\n \t\t\tsource = gensub(\/^cd (.+);.+-c (.+)\/, \"\\\\1\/\\\\2\", \"g\", line)\n \n-\t\trel_install(source, g_sroot, inst_root)\n-\t}\n+\t\tgsub(\/esam\\\/objects\\\/([^\\\/]+\\\/){2,}sources\\\/src\/, \"dsl\/sw\/flat\", source)\n+\t\tsources[source]++\n+\t\t#rel_install(source, g_sroot, inst_root)\n+\n+\t\tsplit(line, a, \" \")\n+\t\tprefix = gensub(\/^cd (.+);.+\/, \"\\\\1\", \"g\", line)\n+\t\tfor (i in a) {\n+\t\t\tif (a[i] ~ \/^-I\/) {\n+\t\t\t\tgsub(\/^-I\/, \"\", a[i])\n+\t\t\t\tgsub(\/esam\\\/objects\\\/([^\\\/]+\\\/)\\{2,}sources\\\/src\/, \"dsl\/sw\/flat\", a[i])\n+\t\t\t\tif (a[i] ~ \/^\\\/\/)\n+\t\t\t\t\tincludes[a[i]]++\n+\t\t\t\telse\n+\t\t\t\t\tincludes[prefix \"\/\" a[i]]++\n+\t\t\t}\n+\t\t}\n+\t}\n+\n \tclose(cmd_file)\n \n \t# ---------\n \t# Headers\n \t# ---------\n \n-\tgsub(\/\\.(obj|o|lib)$\/, \"\", link)\n-\tdep_file = link \".D\"\n-\n-\tif ((getline < dep_file) < 0)\n-\t\tnext\n-\n-\t# Get path prefix\n-\tcur_path = $1\n-\tgsub(\/^#\/, \"\", cur_path)\n-\n-\twhile ((getline < dep_file) > 0) {\n-\t\tgsub(\/:\/, \" \")\n-\t\tfor (i = 1; i <= NF; i++) {\n-\t\t\tif ($i !~ \/\\.(h|hpp)$\/)\n-\t\t\t\tcontinue\n-\t\t\theader = cur_path \"\/\" $i\n-\t\t\trel_install(header, g_sroot, inst_root)\n-\t\t}\n-\t}\n-\tclose(dep_file)\n+#\tgsub(\/\\.(obj|o|lib)$\/, \"\", link)\n+#\tdep_file = link \".D\"\n+#\n+#\tif ((getline < dep_file) < 0)\n+#\t\tnext\n+#\n+#\t# Get path prefix\n+#\tcur_path = $1\n+#\tgsub(\/^#\/, \"\", cur_path)\n+#\n+#\twhile ((getline < dep_file) > 0) {\n+#\t\tgsub(\/:\/, \" \")\n+#\t\tfor (i = 1; i <= NF; i++) {\n+#\t\t\tif ($i !~ \/\\.(h|hpp)$\/)\n+#\t\t\t\tcontinue\n+#\t\t\theader = cur_path \"\/\" $i\n+#\t\t\trel_install(header, g_sroot, inst_root)\n+#\t\t}\n+#\t}\n+#\tclose(dep_file)\n }\n \n END {\n \tif (SKIP_END)\n \t\texit 0\n \tprint \"Total dumped files: \" count\n+\t\n+\tfor (i in sources)\n+\t\trel_install(i, g_sroot, inst_root)\n+\n+\tfor (i in includes) {\n+\n+\t\t#rel_install(i, g_sroot, inst_root)\n+\t}\n+\n \tif (arg ~ \/tar\/)\n \t\tmake_tarball(arg)\n+}\n+\n+function get_include(line) {\n+\tinc = gensub(\/^(-[^I]+|[^-]+) -I(.+)\/, \"\\\\2\", \"g\")\n }\n \n function rel_install(source, rel_root, new_root) {\n@@ -121,7 +146,7 @@\n \t}\n \n \tsystem(\"mkdir -p \" new_root \"\/\" rel_path)\n-\tsystem(\"cp -L \" source \" \" new_root \"\/\" rel_path)\n+\tsystem(\"cp -Lr \" source \" \" new_root \"\/\" rel_path)\n }\n \n function make_tarball(flag) {\n"}
{"commit":"674afe938f8d5cb2ab9ad8971d770bb54c2caad7","subject":"Add license","message":"Add license\n","repos":"dennishedback\/descartify,dennishedback\/descartify","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- script\/key_elems.awk\n+++ script\/key_elems.awk\n@@ -1,4 +1,28 @@\n #! \/bin\/awk -f\n+ \n+# Copyright (c) 2012, Dennis Hedback \n+# All rights reserved.\n+# \n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions are met:\n+#\n+#   * Redistributions of source code must retain the above copyright notice,\n+#     this list of conditions and the following disclaimer.\n+#   * Redistributions in binary form must reproduce the above copyright\n+#     notice, this list of conditions and the following disclaimer in the\n+#     documentation and\/or other materials provided with the distribution.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+# POSSIBILITY OF SUCH DAMAGE.\n \n BEGIN {\n     key_elems_len = 0;\n"}
{"commit":"cbdefd1de57b0b001716a600e477aa35ab3423eb","subject":"msg\/msg_parser.awk: fixed whitespace","message":"msg\/msg_parser.awk: fixed whitespace\n\ndarcs-hash:20081127232458-db55f-76adf5524d9c263fa37a9f8b2ecdc4a9284afb2f.gz\n","repos":"erdincay\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -49,7 +49,7 @@\n   # Initialize these as arrays\n   split(\"\", symbols);\n   split(\"\", names);\n-  split(\"\", comments); \n+  split(\"\", comments);\n   split(\"\", hashes);\n   split(\"\", NAMES);\n   split(\"\", Comments);\n@@ -81,7 +81,7 @@\n {\n   hash = 0;\n \n-  len = length(name); \n+  len = length(name);\n \n   for (i = 1; i <= len; i++) {\n     c = tolower(substr(name, i, 1));\n@@ -112,7 +112,7 @@\n function protos (name, comment, hash, since)\n {\n   NAME=toupper(name);\n-  sub(\/.*[\\\/][*][*][<][ \t]*\/, \"\", comment); \n+  sub(\/.*[\\\/][*][*][<][ \t]*\/, \"\", comment);\n   sub(\/[ \t]*[*][\\\/].*\/, \"\", comment);\n   sub(\/[ \t]+\/, \" \", comment);\n \n@@ -132,12 +132,12 @@\n     if (name2 != name && name2 != tprefix \"_\" name) {\n       print name \" mismatch with \" comment \" (\" real \")\" > \"\/dev\/stderr\";\n     }\n-    \n+\n     hash = name_hash(parts[1]);\n \n     hashed[name] = hash;\n \n-    if (comment !~ \/header\/) { \n+    if (comment !~ \/header\/) {\n       comment = comment \" header\";\n     }\n   }\n@@ -149,13 +149,13 @@\n   COMMENT = toupper(comment);\n \n   # Store the various forms into an array for the footer processing\n-  N++; \n-  hashes[N] = hash; \n+  N++;\n+  hashes[N] = hash;\n   names[N] = name;\n-  NAMES[N] = NAME; \n-  comments[N] = comment; \n-  Comments[N] = comment; \n-  COMMENTS[N] = COMMENT; \n+  NAMES[N] = NAME;\n+  comments[N] = comment;\n+  Comments[N] = comment;\n+  COMMENTS[N] = COMMENT;\n \n   symbols[name] = comment;\n   if (since) {\n@@ -165,8 +165,8 @@\n   expr = (without_experimental > 0 && do_hash);\n   if (expr) {\n     printf \"%s is experimental\\n\", Comment;\n-  }    \n-  \n+  }\n+\n   experimental[N] = expr;\n \n   if (PR) {\n@@ -190,7 +190,7 @@\n   #\n   if (p) {\n     gsub(\/#hash#\/, hash, p);\n-    gsub(\/#xxxxxx#\/, name, p); \n+    gsub(\/#xxxxxx#\/, name, p);\n     gsub(\/#XXXXXX#\/, NAME, p);\n     gsub(\/#xxxxxxx_xxxxxxx#\/, comment, p);\n     gsub(\/#Xxxxxxx_Xxxxxxx#\/, Comment, p);\n@@ -203,17 +203,17 @@\n       # Remove line with #version#\n       gsub(\/\\n[^#\\n]*#version#[^\\n]*\/, \"\", p);\n     }\n-    \t    \n+\n     print p > PR;\n   }\n }\n \n-# \n+#\n # Repeat each line in the footer containing the magic replacement\n # pattern with an instance of all headers\n #\n function process_footer (text)\n-{ \n+{\n   if (!match(tolower(text), \/#(xxxxxx(x_xxxxxxx)?|hash)#\/)) {\n     n = length(text);\n     while (substr(text, n) == \"\\n\") {\n@@ -224,7 +224,7 @@\n       print text > PR;\n     return;\n   }\n-  \n+\n   n = split(text, lines, RS);\n \n   for (i = 1; i <= n; i++) {\n@@ -247,7 +247,7 @@\n \tgsub(\/#xxxxxxx_xxxxxxx#\/, comments[j], l);\n \tgsub(\/#Xxxxxxx_Xxxxxxx#\/, Comments[j], l);\n \tgsub(\/#XXXXXXX_XXXXXXX#\/, COMMENTS[j], l);\n-\tgsub(\/#xxxxxx#\/, names[j], l); \n+\tgsub(\/#xxxxxx#\/, names[j], l);\n \tgsub(\/#XXXXXX#\/, NAMES[j], l);\n \tprint l > PR;\n       }\n@@ -272,7 +272,7 @@\n     if (line ~ \/^#\/ || line ~ \/^$\/)\n       continue;\n \n-    split(line, tokens,  \/[ \\t]*=[ \\t]*\/); \n+    split(line, tokens,  \/[ \\t]*=[ \\t]*\/);\n     name = tolower(tokens[1]);\n     gsub(\/-\/, \"_\", name);\n     gsub(\/,\/, \" \", name);\n@@ -297,7 +297,7 @@\n function templates ()\n {\n   if (!auto) {\n-    auto = FILENAME; \n+    auto = FILENAME;\n \n     if (!prefix) { prefix = module; }\n     if (!tprefix) { tprefix = prefix; }\n@@ -369,11 +369,11 @@\n \n \/^#### EXTRA HEADER LIST STARTS HERE ####$\/ { HLIST=1; templates(); }\n HLIST && \/^#### DEFAULT HEADER LIST ENDS HERE ####$\/ { basic=total; }\n-HLIST && \/^#### EXPERIMENTAL HEADER LIST STARTS HERE ####$\/ { \n+HLIST && \/^#### EXPERIMENTAL HEADER LIST STARTS HERE ####$\/ {\n   without_experimental = total; }\n \n-HLIST && \/^[a-z]\/ { protos($1, $0, 0, $2); \n-  headers[total++] = $1; \n+HLIST && \/^[a-z]\/ { protos($1, $0, 0, $2);\n+  headers[total++] = $1;\n   Extra[$1] = extra++;\n }\n \/^#### EXTRA HEADER LIST ENDS HERE ####$\/ { HLIST=0;  }\n@@ -383,14 +383,14 @@\n \n PT && \/^ *\\\/\\* === Hash headers end here \\*\\\/\/ { in_header_list=0;}\n \n-in_header_list && \/^  (sip|rtsp|http|msg|mp)_[a-z_0-9]+_t\/ { \n+in_header_list && \/^  (sip|rtsp|http|msg|mp)_[a-z_0-9]+_t\/ {\n   n=$0\n-  sub(\/;.*$\/, \"\", n);   \n+  sub(\/;.*$\/, \"\", n);\n   sub(\/^ *(sip|rtsp|http|msg|mp)_[a-z0-9_]*_t[ \t]*\/, \"\", n);\n   sub(\/^[*](sip|rtsp|http|msg|mp)_\/, \"\", n);\n \n   if ($0 !~ \/[\\\/][*][*][<]\/) {\n-    getline; \n+    getline;\n   }\n   if ($0 !~ \/[\\\/][*][*][<]\/) {\n     printf \"msg_protos.awk: header %s is malformed\\n\", n;\n@@ -446,7 +446,7 @@\n     len = split(\"request status separator payload unknown error\", unnamed, \" \");\n \n     for (i = 1; i <= len; i++) {\n-      printf(\"  {{ %s_%s_class, msg_offsetof(%s_t, %s_%s) }},\\n\", \n+      printf(\"  {{ %s_%s_class, msg_offsetof(%s_t, %s_%s) }},\\n\",\n \t     tprefix, unnamed[i], module, prefix, unnamed[i]) > PT;\n     }\n     if (multipart) {\n@@ -456,7 +456,7 @@\n       printf(\"  {{ NULL, 0 }},\\n\") > PT;\n     }\n     if (MC_SHORT_SIZE) {\n-      printf(\"  %s_short_forms, \\n\", module) > PT;      \n+      printf(\"  %s_short_forms, \\n\", module) > PT;\n     }\n     else {\n       printf(\"  NULL, \\n\") > PT;\n@@ -488,11 +488,11 @@\n \n \tif (i >= ordinary) {\n \t  printf(\"    { %s_%s_class,\\n\" \\\n-\t\t \"      msg_offsetof(struct %s, extra[%u])%s }%s\\n\", \n+\t\t \"      msg_offsetof(struct %s, extra[%u])%s }%s\\n\",\n \t\t tprefix, n, struct, Extra[n], flags, c) > PT;\n \t}\n \telse {\n-\t  printf(\"    { %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\", \n+\t  printf(\"    { %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\",\n \t\t tprefix, n, module, prefix, n, flags, c) > PT;\n \t}\n \n@@ -520,7 +520,7 @@\n     if (multipart)\n       protos(\"multipart\", \"\/**< Multipart payload *\/\", -7);\n   }\n-    \n+\n   if (PR) {\n     process_footer(footer);\n   }\n@@ -548,17 +548,17 @@\n \n     if (MC_SHORT_SIZE) {\n       printf(\"static msg_href_t const \" \\\n-\t     \"%s_short_forms[MC_SHORT_SIZE] = \\n{\\n\", \n-\t     module) > PT;      \n+\t     \"%s_short_forms[MC_SHORT_SIZE] = \\n{\\n\",\n+\t     module) > PT;\n \n       for (i = 1; i <= MC_SHORT_SIZE; i = i + 1) {\n \tc = (i == MC_SHORT_SIZE) ? \"\" : \",\";\n \tif (i in shorts) {\n \t  n = shorts[i];\n         flags = header_flags[n]; if (flags) flags = \",\\n      \" flags;\n-\t  \n-\tprintf(\"  { \/* %s *\/ %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\", \n-\t       substr(lower_case, i, 1), \n+\n+\tprintf(\"  { \/* %s *\/ %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\",\n+\t       substr(lower_case, i, 1),\n \t       tprefix, n, module, prefix, n, flags, c)\t\\\n \t    > PT;\n \t}\n@@ -567,7 +567,7 @@\n \t    > PT;\n \t}\n       }\n-      printf(\"};\\n\\n\") > PT;      \n+      printf(\"};\\n\\n\") > PT;\n     }\n \n     # printf(\"extern msg_hclass_t msg_multipart_class[];\\n\\n\") > PT;\n"}
{"commit":"0a0a56a7f440651d23979398526e40d897c8dd15","subject":"Function-local variable.","message":"Function-local variable.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -16,7 +16,7 @@\n   return x\n }\n \n-function urlDecode(url) {\n+function urlDecode(url, i) {\n     for (i = 0x20; i < 0x40; ++i) {\n         repl = sprintf(\"%c\", i);\n         if ((repl == \"&\") || (repl == \"\\\\\")) {\n"}
{"commit":"57223b623b7c8f9824d69e82227484ca179674cf","subject":"-Packet text back to black color (not colored with session color)","message":"-Packet text back to black color (not colored with session color)\n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@25 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- awk-scripts\/callflow.awk\n+++ awk-scripts\/callflow.awk\n@@ -192,7 +192,7 @@\n     x2 = x2 * xHostSpace + leftMargin;\n \n     ORS = \"\";\n-    printf \"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"pkt-text\\\" style=\\\"fill: %s;\\\">%d<\/text>\\n\", leftMargin\/2, y, color[c], $1;\n+    printf \"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"pkt-text\\\">%d<\/text>\\n\", leftMargin\/2, y, $1;\n \n     output = \"\";\n     for(i=7;i<=NF;i++) output = output \" \" $i;\n"}
{"commit":"b789b4d359c2e0e7b7de8bbb83b41c2310769c2d","subject":"added name_template to bundle template","message":"added name_template to bundle template\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -119,6 +119,7 @@\n                                     printf(\"#:a_bundle\\n\");\n                                     printf(\"#   a conversion:ImplicitBundle;\\n\");\n                                     printf(\"#   conversion:property_name \\\"a_property\\\"; # Can also be a URI, e.g. dcterms:title.\\n\");\n+                                    printf(\"#   conversion:name_template \\\"[\/sd]company\/[#2]\/[r]\\\";\\n\");\n                                     printf(\"#   #conversion:type_name     \\\"My Class\\\";   # Can also be a URI, e.g. foaf:Person.\\n\");\n                                     printf(\"#.\\n\");\n    }\n"}
{"commit":"fd1f2ba67b2cb3b0224e21dc87cbbf16d658630c","subject":"Fix extra header line inserted by MHz","message":"Fix extra header line inserted by MHz\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-seriesPages.awk\n+++ getMHzFrom-seriesPages.awk\n@@ -65,35 +65,37 @@\n             # uppercase the first character of any second word\n             if (match (fld[i],\/ \/) > 0)\n                 fld[i] = substr(fld[i],1,RSTART) toupper(substr(fld[i],RSTART+1,1)) \\\n-                   (substr(fld[i],RSTART+2))\n+                (substr(fld[i],RSTART+2))\n         }\n         # print the finalized header\n-        print fld[1] \"\\t\" fld[2] \"\\t\" fld[(numFields-1)] \"\\t\" fld[(numFields)] >> HEADER_FILE\n-        headerPrinted = \"yes\"\n+        if (numFields > 3 ) {\n+            print fld[1] \"\\t\" fld[2] \"\\t\" fld[(numFields-1)] \"\\t\" fld[(numFields)] >> HEADER_FILE\n+            headerPrinted = \"yes\"\n+        }\n     } else {\n-        # We found a description, clean it up and print it\n-        gsub (\/  *\/,\" \")\n-        gsub (\/&#x27;\/,\"'\")\n-        gsub (\/&quot;\/,\"\\\"\")\n-        gsub (\/&amp;\/,\"\\\\&\")\n-        gsub (\/&lsquo;\/,\"\u2019\")\n-        gsub (\/&rsquo;\/,\"\u2019\")\n-        gsub (\/&ldquo;\/,\"\u201c\")\n-        gsub (\/&rdquo;\/,\"\u201d\")\n-        gsub (\/\\r\/,\" \")\n-        # if it's not the last line of the description, print it without a newline\n-        if ($0 !~ \/\"\\>\/) {\n-            printf (\"%s\", $0) >> DESCRIPTION_FILE\n-        } else {\n-            # if it's the last line of the description, print it with a newline\n-            sub (\/\"\\>\/,\"\")\n-            print $0 >> DESCRIPTION_FILE\n-            # if we didn't find a header in this block, print a blank one\n-            if (headerPrinted == \"no\") {\n-                print \"==> No genre\/country line: \" seriesTitle >> ERROR_FILE\n-                print \"\\t\\t\\t\" >> HEADER_FILE\n-            }\n-        }\n+    # We found a description, clean it up and print it\n+    gsub (\/  *\/,\" \")\n+    gsub (\/&#x27;\/,\"'\")\n+    gsub (\/&quot;\/,\"\\\"\")\n+    gsub (\/&amp;\/,\"\\\\&\")\n+    gsub (\/&lsquo;\/,\"\u2019\")\n+    gsub (\/&rsquo;\/,\"\u2019\")\n+    gsub (\/&ldquo;\/,\"\u201c\")\n+    gsub (\/&rdquo;\/,\"\u201d\")\n+    gsub (\/\\r\/,\" \")\n+    # if it's not the last line of the description, print it without a newline\n+    if ($0 !~ \/\"\\>\/) {\n+        printf (\"%s\", $0) >> DESCRIPTION_FILE\n+    } else {\n+    # if it's the last line of the description, print it with a newline\n+    sub (\/\"\\>\/,\"\")\n+    print $0 >> DESCRIPTION_FILE\n+    # if we didn't find a header in this block, print a blank one\n+    if (headerPrinted == \"no\") {\n+        print \"==> No genre\/country line: \" seriesTitle >> ERROR_FILE\n+        print \"\\t\\t\\t\" >> HEADER_FILE\n+    }\n+}\n     }\n }\n \n"}
{"commit":"5a521aca6e74a8db4078e43b77de702ec1d0925f","subject":"-discontinuity mode","message":"-discontinuity mode\n","repos":"kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- packager\/bin\/anal_nginx_log_packager.awk\n+++ packager\/bin\/anal_nginx_log_packager.awk\n@@ -39,11 +39,17 @@\n     if(verbose){\n         print $2 \" \"lastChunkPath;\n     }\n-    if(lastChunk && lastChunk+1 != b[2]){\n-        print $2\" \"lastChunkPath\" error: expected chunk \"lastChunk+1\" got: \"b[2]\n+\n+    if(length(b) == 6){\n+        lastChunkId = b[4]\n+    } else {\n+        lastChunkId =  b[2]\n+    }\n+    if(lastChunk && lastChunk+1 != lastChunkId){\n+        print $2\" \"lastChunkPath\" error: expected chunk \"lastChunk+1\" got: \"lastChunkId\n         delete __lastDTS[0]\n     }\n-    lastChunk=b[2];\n+    lastChunk=lastChunkId;\n     split($2,a,\":\");\n     time=a[3]+a[2]*60+a[1]*3600;\n     if(lastTime){\n@@ -76,6 +82,29 @@\n      __lastDTS[0] = $11\n }\n \n+$0 ~ \/media_set_parse_json: produced segment\/ {\n+    tmp1 = $9\n+    tmp2=$11\n+    tmp3=$13\n+    if(segment_index){\n+        if(segment_index == tmp1 - 1){\n+            if(segment_start_time+segment_duration != tmp2){\n+                printf (\" chunk %d adjucent chunks  differ: diff: %d prev={ %d  %d}  cur={%d %d}\",tmp1,\n+                (tmp2-segment_start_time+segment_duration),\n+                segment_start_time,\n+                segment_duration,\n+                tmp2,\n+                tmp3)\n+            }\n+        } else {\n+            print \"segment discontinuity: cur: \"tmp1\" prev: \"segment_index\n+        }\n+    }\n+    segment_index = tmp1\n+    segment_start_time=tmp2\n+    segment_duration=tmp3\n+}\n+\n END {\n     printStats(\"chunkInterval\")\n     printStats(\"chunkDuration\")\n"}
{"commit":"4739f8a0ed73216a9e6a2e51c202e50d2b49a919","subject":"LanguageData: remove Emoji","message":"LanguageData: remove Emoji\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -2276,11 +2276,6 @@\n     Locale[\"chr\"][\"glotto\"]            = \"cher1273\"\n     Locale[\"chr\"][\"script\"]            = \"Cher\"\n \n-    #? Emoji\n-    Locale[\"emj\"][\"status\"]            = \"non-language\"\n-    Locale[\"emj\"][\"support\"]           = \"yandex-only\"\n-    Locale[\"emj\"][\"name\"]              = \"Emoji\"\n-    Locale[\"emj\"][\"endonym\"]           = \"Emoji\"\n }\n \n # Initialize aliases of all locales supported.\n"}
{"commit":"496475771d38d36b3f0c5e9c2c442fc6eb7ea8e5","subject":"generalized date generation. Untested","message":"generalized date generation. Untested\n","repos":"anaraven\/IU-MBG-calendar,anaraven\/IU-MBG-calendar","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- tsv2vcal.awk\n+++ tsv2vcal.awk\n@@ -1,6 +1,15 @@\n #!\/usr\/bin\/awk -f\n \n+\n+\n BEGIN {\n+if(!TODAY) {\n+   TODAY=\"2015-02-26-11:30:10\"\n+}\n+split(TODAY, t, \/[-:]\/)\n+if(!YEAR) {\n+   YEAR=t[1]\n+}\n FS=\"\\t\"\n print \"BEGIN:VCALENDAR\\nVERSION:2.0\\nMETHOD:PUBLISH\"\n }\n@@ -12,9 +21,9 @@\n {\n split($1,a,\/[-.]\/)\n print \"BEGIN:VEVENT\"\n-print \"DTSTAMP:\" datestamp(2015,02,26,11,30,10) \"Z\"\n-print \"DTSTART:\" datestamp(2015,m,d,a[1],a[2],0)\n-print \"DTEND:\" datestamp(2015,m,d,a[3],a[4],0)\n+print \"DTSTAMP:\" datestamp(t[1],t[2],t[3],t[4],t[5],t[6]) \"Z\"\n+print \"DTSTART:\" datestamp(YEAR,m,d,a[1],a[2],0)\n+print \"DTEND:\" datestamp(YEAR,m,d,a[3],a[4],0)\n print \"SUMMARY:\" $2\n print \"LOCATION:\" $3\n print \"UID:-417s61147-mbg@istanbul.edu.tr\"\n"}
{"commit":"ad62966edee43479b0ccece5f28159654b77cfcc","subject":"The awk scripts need to handle BrlAPI type aliases. (dm)","message":"The awk scripts need to handle BrlAPI type aliases. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi.awk\n+++ Programs\/brlapi.awk\n@@ -63,8 +63,15 @@\n }\n \n \/^[[:space:]]*BRLAPI_PARAM_TYPE_[^[:space:],]+,?\/ {\n-  gsub(\",\", \"\", $1)\n-  apiConstant(substr($1, 8), $1, apiParameterTypeCount++, getComment($0))\n+  if ($2 == \"=\" ) {\n+    gsub(\"^BRLAPI_\", \"\", $3)\n+    gsub(\",\", \"\", $3)\n+    apiConstant(substr($1, 8), $1, $3, getComment($0))\n+  } else {\n+    gsub(\",\", \"\", $1)\n+    apiConstant(substr($1, 8), $1, apiParameterTypeCount++, getComment($0))\n+  }\n+\n   next\n }\n \n"}
{"commit":"9c1ea1b4e191417c1b2f4ce055dc6c8648b1a31b","subject":"[TRAFODION 2381] Enhance awk script to support many variations of distros.","message":"[TRAFODION 2381] Enhance awk script to support many variations of distros.\n","repos":"rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion,rlugojr\/incubator-trafodion,rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion,rlugojr\/incubator-trafodion,rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion,rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion,mashengchen\/incubator-trafodion,rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion,rlugojr\/incubator-trafodion,rlugojr\/incubator-trafodion,rlugojr\/incubator-trafodion,mashengchen\/incubator-trafodion","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- core\/sqf\/src\/seatrans\/hbase-trx\/pp.awk\n+++ core\/sqf\/src\/seatrans\/hbase-trx\/pp.awk\n@@ -19,93 +19,151 @@\n # under the License.\n #\n # @@@ END COPYRIGHT @@@\n-#  The following example has been tested to work.\n+#  The following example has been tested to work. Any other\n+#  combination is not guranteed to work. \n #  If the file f1 contains the following, run this script\n #  as follows:    \n #   awk -f pp.awk -v distro=HDP2.3 f1 > f2\n+#   awk -f pp.awk -v distro=APACHE1.1 f1 > f2\n #\n #  contents of  file f1:\n-#   #ifdef HDP2.3\n-#   this is HDP2.3 specific code\n-#   #else\n-#   this is anything other than  HDP2.3 code\n-#   #endif\n-#\n-#   #ifndef HDP2.3\n-#   this is anything other than HDP2.3 code partof ifndef construct\n-#   #else\n-#   this is HDP2.3 code part of ifndef else construct\n-#   #endif\n-#\n-#   this is common code for all cases\n-#\n-#   #ifdef CDH5.4\n-#   this is CDH5.4 specific code\n-#   #endif\n-#\n-#   #ifdef CDH5.5 HDP2.3 APACHE1.1 CDH5.7\n-#   this is common CDH5.5 or HDP2.3 or APACHE1.1 or CDH5.7\n-#   #else\n-#   this is anything other than CDH5.5 or HDP2.3 or APACHE1.1 or CDH5.7 code\n-#   #endif\n+# #ifdef HDP2.3\n+# this is HDP2.3 specific code\n+# #else\n+# this is anything other than  [HDP2.3] code\n+# #endif\n+#\n+# common code 1\n+#\n+# #ifndef HDP2.3\n+# this is anything other than [HDP2.3] code partof ifndef construct\n+# #else\n+# this is HDP2.3 code part of ifndef else construct\n+# #endif\n+#\n+# common code 2\n+#\n+# #ifdef CDH5.4\n+# this is CDH5.4 specific code\n+# #endif\n+#\n+# common code 3\n+#\n+# #ifdef CDH5.5 HDP2.3 APACHE1.1 CDH5.7\n+# this is common CDH5.5 or HDP2.3 or APACHE1.1 or CDH5.7\n+# #else\n+# this is anything other than [CDH5.5] or [HDP2.3] or [APACHE1.1] or [CDH5.7] code\n+# #endif\n+#\n+# common code 4\n+#\n+# #ifdef CDH5.5 HDP2.3\n+# this is common CDH5.5 or HDP2.3\n+# #elseif APACHE1.1\n+# this is specific to APACHE1.1 part of elseif construct\n+# #elseif CDH5.7\n+# this is specific to CDH5.7 part of elseif construct\n+# #else\n+# this is anything other than [CDH5.5] or [HDP2.3] or [APACHE1.1] or [CDH5.7] code\n+# #endif\n+#\n+# common code 5\n+#\n+# #ifdef CDH5.5 HDP2.3\n+# this is common CDH5.5 or HDP2.3\n+# #elseif APACHE1.1\n+# this is specific to APACHE1.1 part of elseif construct\n+# #elseif CDH5.7\n+# this is specific to CDH5.7 part of elseif construct\n+# #endif\n+# \n+# common code 6\n+\n \n BEGIN{\n printline=1      #print current line or not.\n matchBegun=0     #match succeeded, keep printing\n unmatchBegun=0   #opposite of  match, keep non-printing\n+unmatchTillEndif=0 #specific to #elseif case.\n ifdefpattern = \"#ifdef\"\n endifpattern = \"#endif\"\n elsepattern = \"#else\"\n ifndefpattern = \"#ifndef\"\n-#distro passed in as argument\n+elseifpattern = \"#elseif\"\n+#distro passed in as argument, can only be one tag set by makefile at a time.\n }\n {\n   #By default print everything\n   printline =1\n \n #########################\n-#  This section deals with resetting flags\n+#  This section deals with #else #elseif #endif tags\n ########################\n   #reset when #endif is encountered\n-  if(($0 ~ endifpattern) && (matchBegun == 1))\n-    {\n-      printline = 0\n-     matchBegun = 0\n-    }\n-\n-  #reset when #endif is encountered\n-  if(($0 ~ endifpattern) && (unmatchBegun == 1))\n-    {\n-      printline = 0\n-     unmatchBegun = 0\n-    }\n- \n+  if($1 == endifpattern)\n+    {\n+      printline = 0\n+      matchBegun = 0\n+      unmatchBegun = 0\n+      unmatchTillEndif = 0\n+    }\n+\n+  # Handle #else in this section.\n   #when #else is encountered and unmatchBegun, reset unmatchBegun\n   #start print subsequent lines. \n-  if(($0 ~ elsepattern) && (unmatchBegun == 1))\n+  if(($1 == elsepattern) && (unmatchBegun == 1))\n     {\n       printline = 0\n       unmatchBegun = 0\n-      matchBegun = 1\n+      matchBegun = 0\n     }\n   else\n   {\n     #when #else is encountered and matchBegun, reset matchBegun\n     #start unprint subsequent lines by setting unmatchBegun \n-    if(($0 ~ elsepattern) && (matchBegun == 1))\n+    if(($1 == elsepattern) && (matchBegun == 1))\n     {\n       printline = 0\n       unmatchBegun = 1\n+      matchBegun = 0\n     }  \n   }\n-\n+  \n+  # Handle #elseif  in this section.\n+  #when #elseif is encountered and unmatchBegun, reset unmatchBegun\n+  #start print subsequent lines.\n+  if(($1 == elseifpattern) && ($0 ~ distro) && (unmatchBegun == 1))\n+    {\n+      printline = 0\n+      unmatchBegun = 0\n+      matchBegun = 1\n+    }\n+  else\n+  {\n+    #when #elseif is encountered and matchBegun, reset matchBegun\n+    #start unprint subsequent lines by setting unmatchBegun \n+    if(($1 == elseifpattern) && (matchBegun == 1))\n+    {\n+      printline = 0\n+      unmatchBegun = 0   #setting to 1 or 0 does not matter. \n+      matchBegun = 0\n+      unmatchTillEndif = 1 #setting to 1 handles subsequent #else\n+    }  \n+  }\n+  \n ##########################\n-# This section matches distro string and sets flags\n+# This section matches distro string and sets flags.\n+# This section deals with #ifdef and #ifndef tags only.\n+#\n+# printline is set 0 in all cases below to indicate not to print \n+# current line. matchBegun and unmatchBegun toggles appropriately.\n+# matchBegun used for all lines that must be included.\n+# unmatchBegun used for all lines that must be excluded.\n ##########################\n \n-  if($0 ~ ifdefpattern)\n+  if($1 == ifdefpattern)\n    {\n-     if( $2 ~ distro || $3 ~ distro || $4 ~ distro || $5 ~ distro || $6 ~ distro)\n+     if($0 ~ distro)\n      {\n        printline = 0\n        matchBegun = 1\n@@ -116,9 +174,9 @@\n       unmatchBegun = 1\n      }\n    }\n- if($0 ~ ifndefpattern)\n+ if($1 == ifndefpattern)\n   {\n-    if($2 ~ distro || $3 ~ distro || $4 ~ distro || $5 ~ distro || $6 ~ distro)\n+    if($0 ~ distro)\n     {\n       printline = 0\n       unmatchBegun = 1\n@@ -136,7 +194,11 @@\n   #if unmatchBegun discard those lines \n   if(unmatchBegun == 1)\n      printline = 0\n- \n+     \n+  #if unmatchTillEndif discard those lines\n+  if(unmatchTillEndif == 1)\n+     printline = 0\n+     \n   if(printline == 1)\n \tprint $0;\n }\n"}
{"commit":"ff5ad7ffc3e1cbed1f8c2b0ecbef64dd32ee9921","subject":"Make this link against gtk+-3.24.4","message":"Make this link against gtk+-3.24.4\n","repos":"rhx\/SwiftGtk,rhx\/SwiftGtk,rhx\/SwiftGtk","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- Gtk-3.0.awk\n+++ Gtk-3.0.awk\n@@ -2,11 +2,14 @@\n #\n # Patch the generated wrapper Swift code to handle special cases\n #\n-BEGIN { depr_init = 0 }\n+BEGIN { depr_init = 0 ; comment = 0 }\n \/open .* ColorSelection\/ { depr_init = 1 }\n \/public .* ColorSelection\/ { depr_init = 1 }\n \/public .* HSV\/ { depr_init = 1 }\n \/open .* HSV\/ { depr_init = 1 }\n+\/open .* HSV\/ { depr_init = 1 }\n+\/func getColumnHeaderCells\/ { comment = 1 }\n+\/func getRowHeaderCells\/ { comment = 1 }\n \/ init.. {\/ {\n \tif (depr_init) {\n \t\tprintf(\"@available(*, deprecated) \")\n@@ -19,4 +22,10 @@\n \t\tdepr_init = 0\n \t}\n }\n-\/\/ { print }\n+\/\/ {\n+\tif (comment) {\n+\t\tprintf(\"\/\/ \")\n+\t}\n+\tprint\n+}\n+\/^    }$\/ { comment = 0 }\n"}
{"commit":"5b9f10ac91e94fcca179d17cb03270712a62f9ff","subject":"comment","message":"comment\n","repos":"kravietz\/passphrase.today,kravietz\/passphrase.today,kravietz\/passphrase.today,kravietz\/passphrase.today","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- script.awk\n+++ script.awk\n@@ -1,4 +1,5 @@\n-BEGIN { \n+# this script replaces development scripts by a minified ones\n+BEGIN {\n     script=0;\n     output=1;\n     endscript=0;\n"}
{"commit":"aa2f06cb78ed3d41b4c05a3ee73a031545e5b73a","subject":"refactor URI path representation for efficency finding curie-prefix; & formating","message":"refactor URI path representation for efficency finding curie-prefix; & formating\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -3,7 +3,7 @@\n #  Reduce the subject and object of RDF triples (ntriples format)\n #  down to their curie prefix (or literal object)\n #  Reduce predicates to the specific term identifier\n-#  and the ontology they are from. (curi form)\n+#  and the ontology namespace they are from. (curi prefix )\n #  Express the subject and object as nodes with a directed edge\n #  labeled with the predicate in the graphviz dot format\n #  Include a tally of each combination of nodes and edge\n@@ -16,142 +16,151 @@\n #  Post processing to augment predicate identifiers\n #  with their labels seems to improve usefulness.\n \n-\n function usage(){\n-\tprint \"usage: ntriple2dot.awk prefix_baseurl.yaml rdf.nt > dot.gv\"\n+    print \"usage: ntriple2dot.awk prefix_baseurl.yaml rdf.nt > dot.gv\"\n }\n \n ##########################################################\n # remove first and last chars from input string\n function trim(str){\n-\treturn substr(str,2,length(str)-2)\n-}\n-\n-########################################################\n-# remove final(ish) element in paths with various delimiters\n-# this leaves the namespace of a removed local identifier\n-\n-# this may need to be called more than once since\n-# some identifiers may have embedded delimiters other uri use differently\n-function stripid(uri,  delim, char, max, c, l){\n-\t# <_:blanknode> are not allowed in ntriples (but may happen anyway)\n-\tif(0 < match(uri, \/^_:|^https:\\\/\\\/monarchinitiative.org\\\/.well-known\\\/genid\\\/\/))\n-\t\treturn \"BNODE\"\n-\t# perspective endpoints, choose the longest\n-\tdelim[\"_\"]=0; delim[\"\/\"]=0;\n-\tdelim[\"=\"]=0; delim[\":\"]=0; delim[\"#\"]=0;\n-\tchar=\"\"; max=-1;\n-\tfor(c in delim){\n-\t\tl = match(uri, char)  # side effect is RLENGTH\n-\t\tif(l > max){\n-\t\t\tchar = c;\n-\t\t\tdelim[char] = RLENGTH\n-\t\t}\n-\t}\n-\tif(max<=0 || char==\"\")\n-\t\t# we don't know what it is, a literal perhaps or uri fragment\n-\t\treturn uri\n-\telse\n-\t\treturn substr(uri,1,delim[char])  # the probably truncated uri\n-}\n-\n-# keep underscore, letters & numbers\n+    return substr(str,2,length(str)-2)\n+}\n+\n+# break URI into tokens to use a a path in\n+# multi-dim array pointing to a curie-prefix\n+function tokenize (str){\n+    # b\/c found in local IDs leave .:\n+    gsub(\/[?&:#=\/_-]+\/, SUBSEP, str)\n+    # discard the first token it is only low info content  http|https|ftp\n+    # discard any empty trailing tokens\n+    tail = match(str, \".*\" SUBSEP \"$\")  # side effects RSTART & RLENGTH\n+    # print \"tail = \" tail \" tail length = \" RLENGTH\n+    finish = 0\n+    start = index(str, SUBSEP) + 1\n+    if (tail>0){\n+        finish = RLENGTH - start\n+    }\n+    else { # if(tail==0) {\n+        # print str\n+        finish = length(str) - start + 1\n+    }\n+\n+    return substr(str, start, finish)\n+}\n+\n+# remove final token from token path delimited with SUBSEP\n+function detail(key) {\n+    return substr(key, 1, match(key, SUBSEP \"[[:alnum:].]+$\")-1)\n+}\n+\n+# for output, keep underscore, letters & numbers\n # change the rest to (a single) underscore sans leading & trailing\n # this passes valid node labels from dot's perspective (C-lang identifier rules)\n function simplify(str){\n-\tgsub(\/[^[:alpha:][:digit:]_]+\/,\"_\",str)\n-\tgsub(\/^_*|_*$\/, \"\",str)\n-\tgsub(\/__*\/,\"_\",str)\n-\treturn str\n-}\n-\n-# if possible, find a shorter form for the input\n+    gsub(\/[^[:alpha:][:digit:]_]+\/,\"_\",str)\n+    gsub(\/^_*|_*$\/, \"\",str)\n+    gsub(\/__*\/,\"_\",str)\n+    return str\n+}\n+\n+# Replace IRI with CuriePrefix when possible\n+# Otherwise whinge and return a gv printable version of the original\n function contract(uri,  u){\n-\tu = uri\n-\t# shorten till longest uri in curi map is found (or not)\n-\n-\twhile(!(u in prefix) &&  length(u))\n-\t\tu = stripid(substr(u,1,length(u)-1))\n-\tif(u in prefix)\n-\t\treturn prefix[u]\n-\telse{\n-\t\t# printf(\"WARN  %s\\n\", uri) > \"\/dev\/stderr\"\n-\t\treturn simplify(uri)\n-\t}\n+    u = tokenize(uri)\n+    if(index(u, SUBSEP)>0)\n+        u = detail(u)\n+\n+    if(u == \"\") {\n+        printf(\"ERROR contracting %s\\n\", uri) > \"\/dev\/stderr\"\n+        printf(\"ERROR tokenizeing %s\\n\", tokenize(uri)) > \"\/dev\/stderr\"\n+        printf(\"ERROR detailing   %s\\n\", detail(tokenize(uri))) > \"\/dev\/stderr\"\n+        # exit(1)  # while testing\n+    }\n+    # shorten till longest uri in curi map is found (or not)\n+    while(!(u in prefix) &&  index(u, SUBSEP)>0)\n+        u = detail(u)\n+\n+    if(u in prefix)\n+        return prefix[u]\n+    else{\n+        printf(\"WARN  %s\\n\", uri) > \"\/dev\/stderr\"\n+        printf(\"BASE  %s\\n\", detail(tokenize(uri))) > \"\/dev\/stderr\"\n+        return simplify(uri)\n+    }\n }\n \n # get the final (incl fragment identifier) portion of a slashed path\n function final(uri,  b, p, anchor){\n-\tsplit(uri, b, \"\/\")\n-\tp = b[length(b)]\n-\tanchor = match(p, \"#\")\n-\tif(anchor > 0)\n-\t\tp = substr(p, anchor+1)\n-\treturn p\n+    split(uri, b, \"\/\")\n+    p = b[length(b)]\n+    anchor = match(p, \"#\")\n+    if(anchor > 0)\n+        p = substr(p, anchor+1)\n+    return p\n }\n \n # fix curie namespace when redundant due to OBO  i.e RO:RO_123\n-\n+# is this still needed circa 2020?\n function deoboify(curie,  a){\n-\tsplit(curie, a , \":\")\n-\tif(match(a[2], a[1]\"_\") > 0){\n-\t\tsub(\"_\", \":\", a[2]);\n-\t\tcurie=a[2]\n-\t}\n-\treturn curie\n+    split(curie, a , \":\")\n+    if(match(a[2], a[1]\"_\") > 0){\n+        sub(\"_\", \":\", a[2]);\n+        curie=a[2]\n+    }\n+    return curie\n }\n \n BEGIN{\n-\t# exceptions\n-\tprefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n-\tprefix[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n-\tprefix[\"https:\/\/archive.monarchinitiative.org\/\"]=\"MonarchArchive\"\n-\t############################################################\n-\t# not expected to be added to curie map\n-\t# in HPOA\n-\tprefix[\"http:\/\/www.ncbi.nlm.nih.gov\/bookshelf\/br.fcgi?book=gene&part=\"]=\"NCBIBook\"\n-\tprefix[\"http:\/\/www.ncbi.nlm.nih.gov\/books\/NBK\"]=\"NCBINBK\"\n-\n-\t############################################################\n-\t# Often re-visit whether these exceptions are still necessary\n-\t# they may have been moved into the curie prefix mapping file\n-\t# or addressed in a local translation table\n+    # exceptions\n+    prefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n+    prefix[tokenize(\"https:\/\/monarchinitiative.org\/.well-known\/genid\")]=\"BNODE\"\n+    prefix[tokenize(\"https:\/\/archive.monarchinitiative.org\/\")]=\"MonarchArchive\"\n+    ############################################################\n+    # not expected to be added to curie map\n+    # in HPOA\n+    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/bookshelf\/br.fcgi?book=gene&part=\")]=\"NCBIBook\"\n+    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/books\/NBK\")]=\"NCBINBK\"\n+\n+    ############################################################\n+    # Often re-visit whether these exceptions are still necessary\n+    # they may have been moved into the curie prefix mapping file\n+    # or addressed in a local translation table\n     # https:\/\/raw.githubusercontent.com\/monarch-initiative\/dipper\/master\/dipper\/curie_map.yaml\n \n-\t# in mgi\n-\tprefix[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n-\t# in IMPC (not httpS  --- hmm all three IRI exist)\n-\tprefix[\"http:\/\/www.mousephenotype.org\"]=\"IMPC\"\n-\t# note in curie_map IMPC is:\n-\t# http:\/\/www.mousephenotype.org\/data\/genes\/\n-\n-\t# in panther\n-\t# prefix[\"http:\/\/identifiers.org\/wormbase\/\"]=\"WormBase\"\n-\t# note in curie_map WormBase is\n-\t# 'https:\/\/www.wormbase.org\/get?name='\n-\n-\t# various, transient?\n-    prefix[\"http:\/\/www.ncbi.nlm.nih.gov\/gene\/\"]=\"NCBIGene\"\n-    prefix[\"http:\/\/www.ncbi.nlm.nih.gov\/genome\/\"]=\"NCBIGenome\"\n-    prefix[\"http:\/\/www.ncbi.nlm.nih.gov\/assembly?term=\"]=\"NCBIAssembly\"\n-\t# kegg\n-\tprefix[\"http:\/\/www.genome.jp\/kegg\/pathway\/map\/map\"]=\"KEGG-img\"\n-\t# in EOM\n-\tprefix[\"https:\/\/elementsofmorphology.nih.gov\/images\/terms\/\"]=\"EOM_IMG\"\n-\tprefix[\"http:\/\/elementsofmorphology.nih.gov\/index.cgi?tid=\"]=\"EOM\"  # w\/o httpS\n-\n-\t# playing with the idea of a LOCAL identifier\n+    # in mgi\n+    prefix[tokenize(\"https:\/\/www.mousephenotype.org\")]=\"IMPC\"\n+    # in IMPC (not httpS  --- hmm all three IRI exist)\n+    prefix[tokenize(\"http:\/\/www.mousephenotype.org\")]=\"IMPC\"\n+    # note in curie_map IMPC is:\n+    # http:\/\/www.mousephenotype.org\/data\/genes\/\n+\n+    # in panther\n+    # prefix[\"http:\/\/identifiers.org\/wormbase\/\"]=\"WormBase\"\n+    # note in curie_map WormBase is\n+    # 'https:\/\/www.wormbase.org\/get?name='\n+\n+    # various, transient?\n+    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/gene\/\")]=\"NCBIGene\"\n+    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/genome\/\")]=\"NCBIGenome\"\n+    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/assembly?term=\")]=\"NCBIAssembly\"\n+    # kegg\n+    prefix[tokenize(\"http:\/\/www.genome.jp\/kegg\/pathway\/map\/map\")]=\"KEGG-img\"\n+    # in EOM\n+    prefix[tokenize(\"https:\/\/elementsofmorphology.nih.gov\/images\/terms\/\")]=\"EOM_IMG\"\n+    prefix[tokenize(\"http:\/\/elementsofmorphology.nih.gov\/index.cgi?tid=\")]=\"EOM\"  # w\/o httpS\n+\n+    # playing with the idea of a LOCAL identifier\n     # not the same as a bnode in that tools won't rewrite identifier\n-\t# and their IRI are unroutable, i.e in same machine (or local net)\n-\t# this is motivated in part by not wanting to publish\n-\t# urls to our own servers which go nowhere.\n-\tprefix[\"https:\/\/127.0.0.1\/.well-known\/genid\"]=\"BNODE\"  # exists, phase out\n-\tprefix[\"http:\/\/0.0.0.0\/.well-known\/genid\"]=\"BNODE\"     # prefer\n-\tprefix[\"http:\/\/0.0.0.0\/\"]=\"LCL\"\t                       # ID halfway house\n-\n-\t# LCL's obvious down side is zero options for global collisions\n-\t# best you can do is go the uuid which is ugly, or\n-\t# belive your obscure but readable string _is_ a special snowflake\n+    # and their IRI are unroutable, i.e in same machine (or local net)\n+    # this is motivated in part by not wanting to publish\n+    # urls to our own servers which go nowhere.\n+    # prefix[\"https:\/\/127.0.0.1\/.well-known\/genid\"]=\"BNODE\"  # exists, phase out\n+    # prefix[\"http:\/\/0.0.0.0\/.well-known\/genid\"]=\"BNODE\"     # prefer\n+    # prefix[\"http:\/\/0.0.0.0\/\"]=\"LCL\"                              # ID halfway house\n+\n+    # LCL's obvious down side is zero options for global collisions\n+    # best you can do is go the uuid which is ugly, or\n+    # belive your obscure but readable string _is_ a special snowflake\n }\n \n # main loop\n@@ -159,93 +168,94 @@\n # YAML format is tic delimited word (the curi prefix)\n # a colon, whitespace\n # then a tic delimited url\n-# (FNR == NR) && \/^'[^']*': 'http[^']*'.*\/ { # loosing some?\n+# convert the base url to a path in a multi-dimensional array\n+# (FNR == NR) && \/^'[fht]\\+tp[^']*'.*\/ { # loosing some?\n (FNR == NR) && \/^'.*\/ {\n-\tsplit($0, arr, \"'\")\n-\tif(arr[2]==\"\")\n-\t\tarr[2]=\"BASE\"\n-\tprefix[arr[4]]=arr[2]\n+    split($0, arr, \"'\")\n+    if(arr[2]==\"\")\n+        arr[2]=\"BASE\"\n+    prefix[tokenize(arr[4])]=arr[2]\n }\n \n # process the ntriple file(s)  which are not the first file\n \n ### subject predicate and object are all uri\n (FNR != NR) && \/^<[^>]*> <[^>]+> <[^>]+> \\.$\/ {\n-\ts = contract(stripid(trim($1)))\n-\tp =  final(trim($2))\n-\tns = contract(stripid(trim($2)))\n-\to = contract(stripid(trim($3)))\n-\tedgelist[s,ns \":\" p,o]++\n-\tdone[NR]=1\n+    s = contract(trim($1))\n+    p =  final(trim($2))\n+    ns = contract(trim($2))\n+    o = contract(trim($3))\n+    edgelist[s,ns \":\" p,o]++\n+    done[NR]=1\n }\n ### subject & predicate are uri but the object is a literal\n (FNR != NR) && \/^<[^>]*> <[^>]*> \"[^\"]*\".*\\.$\/ {\n-\ts = contract(stripid(trim($1)))\n-\tp = final(trim($2))\n-\tns = contract(stripid(trim($2)))\n-\tedgelist[s, ns \":\" p, \"LITERAL\"]++\n-\tdone[NR]=1\n+    s = contract(trim($1))\n+    p = final(trim($2))\n+    ns = contract(trim($2))\n+    edgelist[s, ns \":\" p, \"LITERAL\"]++\n+    done[NR]=1\n }\n ### subject is a bare blank node, predicate and object are uri\n (FNR != NR) && \/^_:[^ ]* <[^>]*> <[^>]*> \\.$\/ {\n-\t# once our bnode syntax is uniform we may want more info out of it\n-\t# s = contract(stripid($1))\n-\tp =  final(trim($2))\n-\tns = contract(stripid(trim($2)))\n-\t### Object (like subject)\n-\to = contract(stripid(trim($3)))\n-\tedgelist[\"BNODE\",ns \":\" p,o]++\n-\tdone[NR]=1\n+    # once our bnode syntax is uniform we may want more info out of it\n+    # s = contract(($1)\n+    p =  final(trim($2))\n+    ns = contract(trim($2))\n+    ### Object (like subject)\n+    o = contract(trim($3))\n+    edgelist[\"BNODE\",ns \":\" p,o]++\n+    done[NR]=1\n }\n ### subject & predicate are uri & object is a bare blank node\n (FNR != NR) && \/^<[^>]*> <[^>]*> _:[^ ]* \\.$\/ {\n-\ts = contract(stripid(trim($1)))\n-\tp =  final(trim($2))\n-\tns = contract(stripid(trim($2)))\n-\t#o = contract(stripid($3))\n-\tedgelist[s,ns \":\" p,\"BNODE\"]++\n-\tdone[NR]=1\n+    s = contract(trim($1))\n+    p =  final(trim($2))\n+    ns = contract(trim($2))\n+    #o = contract($3))\n+    edgelist[s,ns \":\" p,\"BNODE\"]++\n+    done[NR]=1\n }\n ### subject and object are a bare blank nodes, predicate is a uri\n (FNR != NR) && \/^_:[^ ]* <[^>]*> _:[^ ]* \\.$\/ {\n-\t# s = contract(stripid($1))\n-\tp =  final(trim($2))\n-\tns = contract(stripid(trim($2)))\n-\t# o = contract(stripid($3))\n-\tedgelist[\"BNODE\",ns \":\" p,\"BNODE\"]++\n-\tdone[NR]=1\n+    # s = contract($1)\n+    p =  final(trim($2))\n+    ns = contract(trim($2))\n+    # o = contract($3)\n+    edgelist[\"BNODE\",ns \":\" p,\"BNODE\"]++\n+    done[NR]=1\n }\n ### subject is a bare blank node, predicate is a uri & the object is a literal\n (FNR != NR) && \/^_:[^ ]* <[^>]*> \"[^\"]*\".*\\.$\/ {\n-\t# s = contract(stripid($1))\n-\tp = final(trim($2))\n-\tns = contract(stripid(trim($2)))\n-\tedgelist[\"BNODE\", ns \":\" p, \"LITERAL\"]++\n-\tdone[NR]=1\n+    # s = contract($1)\n+    p = final(trim($2))\n+    ns = contract(trim($2))\n+    edgelist[\"BNODE\", ns \":\" p, \"LITERAL\"]++\n+    done[NR]=1\n }\n \n # print anything else so it makes itself known\n (FNR != NR) && (done[NR]<1) && (NF>1){\n-\tprintf(\"ERROR? in %s at line %i:  %s\\n\",FILENAME,FNR,$0) > \"\/dev\/stderr\"\n+    printf(\"ERROR? in %s at line %i:  %s\\n\",FILENAME,FNR,$0) > \"\/dev\/stderr\"\n }\n \n # output graphviz dot file, include edge counts\n END{\n-\tprint \"digraph {\"\n-\tprint \"rankdir=LR;\"\n-\tprint \"charset=\\\"utf-8\\\";\"\n-\t# sort the edges to facilitate future inter dot comparisons\n-\tn=asorti(edgelist, sortlist)\n-\tfor (i=1; i<=n; i++) {\n-\t\tedge=sortlist[i]\n-\t\tsplit(edge ,spo, SUBSEP);\n-\t\tprint simplify(spo[1]) \" -> \" simplify(spo[3]) \\\n-\t\t\" [label=\\\"\" deoboify(spo[2]) \" (\" edgelist[edge] \")\\\"];\"\n-\t}\n-\tprint \"LITERAL [shape=record];\"\n-\tprint \"labelloc=\\\"t\\\";\"\n-\ttitle = final(FILENAME)\n-\tdatestamp = strftime(\"%Y%m%d\", systime())\n-\tprint \"label=\\\"\" substr(title,1,length(title)-3) \" (\" datestamp \")\\\";\"\n-\tprint \"}\"\n-}\n+    print \"digraph {\"\n+    print \"rankdir=LR;\"\n+    print \"charset=\\\"utf-8\\\";\"\n+    # sort the edges to facilitate future inter dot comparisons\n+    n=asorti(edgelist, sortlist)\n+    for (i=1; i<=n; i++) {\n+        edge=sortlist[i]\n+        split(edge ,spo, SUBSEP);\n+        print simplify(spo[1]) \" -> \" simplify(spo[3]) \\\n+        \" [label=\\\"\" deoboify(spo[2]) \" (\" edgelist[edge] \")\\\"];\"\n+    }\n+    print \"LITERAL [shape=record];\"\n+    print \"labelloc=\\\"t\\\";\"\n+    title = final(FILENAME)\n+    datestamp = strftime(\"%Y%m%d\", systime())\n+    print \"label=\\\"\" substr(title,1,length(title)-3) \" (\" datestamp \")\\\";\"\n+    print \"}\"\n+}\n"}
{"commit":"b4174a470f4b328ea561466e8ef2c6aa5e3cd2ee","subject":"Deprecated functions shouldn't be in the command table. (dm)","message":"Deprecated functions shouldn't be in the command table. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@6550 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/cmds.awk\n+++ Programs\/cmds.awk\n@@ -17,6 +17,8 @@\n ###############################################################################\n \n function writeCommandEntry(name, symbol, help) {\n+  if (help ~ \/^deprecated \/) return\n+\n   print \"{\"\n   print \"  .name = \\\"\" name \"\\\",\"\n   print \"  .code = \" symbol \",\"\n"}
{"commit":"cf733dfd51e1fbae89cad32f2636ea922ab4cbb3","subject":"Improved bad SnEp detection","message":"Improved bad SnEp detection\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -246,7 +246,7 @@\n     # Handle normal (Sn 1 Ep 1) with variations in spacing and capitalization\n     # and ones missing the second letter (Sn 1 E 1), (S1 E1), or wrong second letter (Sm 1 Ep 1)\n     if (match (episodeTitle,\\\n-        \/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]+[ ]+[Ee][Pp]*[ ]*[[:digit:]]+[[:space:]]*\\)\/))  {\n+        \/[Ss][Nnm]*[ ]*[[:digit:]]+[ ]+[Ee][Pp]*[ ]*[[:digit:]]+[[:space:]]*\\)\/))  {\n             if (episodeTitle !~ \/ \\(Sn [[:digit:]]+ Ep [[:digit:]]+\\)\/)\n                 printf (\"==> Malformed Sn\/Ep in \\\"%s: %s\\\"\\n\", showTitle, episodeTitle) >> ERRORS\n             sub (\/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]+[ ]+[Ee][Pp]*[ ]*[[:digit:]]+[[:space:]]*\\)\/,\\\n"}
{"commit":"0309fd428d4fc4b7183be79950ff2c8e01323e11","subject":"Fixed a bug where lines that didn't start with * weren't ignored.","message":"Fixed a bug where lines that didn't start with * weren't ignored.\n","repos":"wernsey\/d.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xtract.awk\n+++ xtract.awk\n@@ -16,5 +16,5 @@\n in_comment && \/\\*\\\/\/ { in_comment = 0; }\n in_comment && \/^[[:space:]]*\\*\/ {\t\n \tsub(\/^[[:space:]]*\\*\/,\"\");\n+\tprint;\n }\n-in_comment { print; }"}
{"commit":"f2a9643299542a8a958b25f646b094796ea93dec","subject":"bin\/util\/header2params2.awk now produces descriptions for all columns -even for raw (need metrics).","message":"bin\/util\/header2params2.awk now produces descriptions for all columns -even for raw (need metrics).\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -25,11 +25,12 @@\n # -v person_uri\n \n BEGIN { \n-   showConversionProcess = length(conversionID) + length(subjectDiscriminator) + length(header) + length(dataStart) + length(interpretAsNull) + length(dataEnd);\n-   FS=\",\"\n+   ALWAYS_SHOW_CONVERSION_PROCESS = 1; # Added back in to gather empirical results quantifying \"effort\" to create e1 params. \n+   showConversionProcess = ALWAYS_SHOW_CONVERSION_PROCESS + length(conversionID) + length(subjectDiscriminator) + length(header) + length(dataStart) + length(interpretAsNull) + length(dataEnd);\n+   #FS=\",\"\n    STEP = length(conversionID) ? sprintf(\"enhancement\/%s\",conversionID) : \"raw\";\n    TYPE = length(conversionID) ? \"Enhancement\" : \"Raw\";\n-   if(length(conversionID)) {\n+   if(length(showConversionProcess)) {\n       print \"@prefix rdf:        <http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#> .\"\n       print \"@prefix rdfs:       <http:\/\/www.w3.org\/2000\/01\/rdf-schema#> .\"\n    }\n@@ -55,9 +56,7 @@\n    print \"@prefix scovo:      <http:\/\/purl.org\/NET\/scovo#> .\"\n    print \"@prefix sioc:       <http:\/\/rdfs.org\/sioc\/ns#> .\"\n    print \"@prefix foaf:       <http:\/\/xmlns.com\/foaf\/0.1\/> .\"\n-   #if(showConversionProcess>0) {\n-      print \"@prefix ov:         <http:\/\/open.vocab.org\/terms\/> .\"\n-   #}\n+   print \"@prefix ov:         <http:\/\/open.vocab.org\/terms\/> .\"\n    print \"@prefix conversion: <http:\/\/purl.org\/twc\/vocab\/conversion\/> .\"\n \n    # Converter produces URIs for the LayerDatasets:\n@@ -72,8 +71,12 @@\n    # Still not right; moved down to subject:\n    #printf(\"@prefix :           <%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/%s> .\\n\",surrogate,sourceID,datasetID,datasetVersion,STEP);\n \n+\n+   #\n+   # Describe the creator.\n+   #\n+   # NOTE: user account and person implemented in bin\/util\/user-account.sh, too.\n                                      print\n-   # NOTE: user account and person implemented in bin\/util\/user-account.sh, too.\n    if( length(machine_uri) && length(whoami) ) {\n       if(length(person_uri)) {\n                                     printf(\"<%s> foaf:holdsAccount <%s%s> .\\n\",person_uri,   machine_uri,whoami);\n@@ -87,35 +90,46 @@\n    }else if(length(person_uri)&&length(whoami)) {\n                                     printf(\"<%s> dcterms:identifier \\\"%s\\\" .\\n\",person_uri,whoami);\n    }\n+\n+   #\n+   # Describe the dataset.\n+   #\n                                      print\n                                     printf(\"<%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/%s>\\n\",surrogate,sourceID,datasetID,datasetVersion,STEP);\n-                                     print \"   a conversion:LayerDataset, void:Dataset;\"\n+                                     print \"   a conversion:LayerDataset, void:Dataset;\\n\"\n                                     printf(\"   conversion:base_uri           \\\"%s\\\"^^xsd:anyURI;\\n\",surrogate);\n                                     printf(\"   conversion:source_identifier  \\\"%s\\\";\\n\",sourceID);\n                                     printf(\"   conversion:dataset_identifier \\\"%s\\\";\\n\",datasetID);\n                                     printf(\"   conversion:version_identifier \\\"%s\\\";\\n\",datasetVersion);\n                                     #printf(\"   conversion:dataset_version    \\\"%s\\\"; # DEPRECATED in favor of version_identifier\\n\",datasetVersion);\n-   if(showConversionProcess > 0) {\n+                                     print \"\"\n                                      print \"   conversion:conversion_process [\"\n                                     printf(\"      a conversion:%sConversionProcess;\\n\",TYPE);\n-   if(length(conversionID))         printf(\"      conversion:enhancement_identifier \\\"%s\\\";\\n\",conversionID);\n+   if(!length(conversionID))        printf(\"      conversion:conversion_identifier \\\"raw\\\";\\n\");\n+   if( length(conversionID))        printf(\"      conversion:enhancement_identifier \\\"%s\\\";\\n\",conversionID);\n    if(length(subjectDiscriminator)) printf(\"      conversion:subject_discriminator  \\\"%s\\\";\\n\",subjectDiscriminator);\n+\n+   #\n+   # Authorship description.\n+   #\n                                      print\n-   if(length(person_uri)&&length(machine_uri)&&length(whoami)) { # NOTE: implemented in bin\/util\/user-account.sh, too.\n-                                    printf(\"      dcterms:creator <%s%s>;\\n\",machine_uri,whoami);\n-   }else if(length(machine_uri) && length(whoami)) {\n-                                    printf(\"      dcterms:creator <%s%s>;\\n\",machine_uri,whoami); # TODO: same as above.\n-   }else if(length(person_uri)  && length(whoami)) {\n+   if(length(machine_uri) && length(whoami)) {\n+                                    printf(\"      dcterms:creator <%s%s>;\\n\",machine_uri,whoami); # NOTE: implemented in bin\/util\/user-account.sh, too.\n+   }else if(length(person_uri) && length(whoami)) {\n                                     printf(\"      dcterms:creator [ a foaf:OnlineAccount; foaf:accountName \\\"%s\\\";\\n\",whoami);\n                                     printf(\"                        sioc:account_of <%s> ];\\n\",person_uri);\n    }else if(length(whoami)) {\n                                     printf(\"      dcterms:creator [ a foaf:OnlineAccount; foaf:accountName \\\"%s\\\" ];\\n\",whoami);\n    }\n    if(length(nowXSD)) {\n-                                    printf(\"      dcterms:created \\\"%s\\\"^^xsd:dateTime;\\n\",nowXSD);\n+                                    printf(\"      dcterms:created \\\"%s\\\"^^xsd:dateTime;\\n\\n\",nowXSD);\n    }\n+\n+   #\n+   # Structural enhancement parameters.\n+   #\n    if(length(header)) {               \n-   # TODO: include header info even if just raw.\n+                                    # Include header info even if just raw.\n                                     printf(\"      conversion:enhance [      \\n\");\n                                     printf(\"         ov:csvRow %s;\\n\",header);\n                                     printf(\"         a conversion:HeaderRow;\\n\");\n@@ -127,7 +141,7 @@\n                                     printf(\"         a conversion:DataStartRow; \\n\");\n                                     printf(\"      ];                            \\n\");\n    }\n-   if(length(interpretAsNull)) {\n+   if(length(interpretAsNull) && length(conversionID)) {\n                                     printf(\"      conversion:interpret [          \\n\");\n                                     printf(\"         conversion:symbol \\\"%s\\\";\\n\",interpretAsNull);\n                                     printf(\"         conversion:intepretation conversion:null; \\n\");\n@@ -139,31 +153,36 @@\n                                     printf(\"         a conversion:DataEndRow; \\n\");\n                                     printf(\"      ];                          \\n\");\n    }\n-   } # END if(showConversionProcess > 0)\n }\n \n-length(conversionID) { #NR == 1 && length(conversionID) {\n-      label=$0;\n-      (length(label)>0) ? sprintf(\"\\n         ov:csvHeader      \\\"%s\\\";\",label) : \"\";\n-      print \"      conversion:enhance [\"\n-      printf(\"         ov:csvCol         %s;\\n\",NR)\n-      printf(\"         ov:csvHeader     \\\"%s\\\";\\n\",label) # TODO: if HeaderRow == 0, s\/csvHeader\/eg\/\n-      if(length(conversionID)) {\n-         printf(\"         conversion:label \\\"%s\\\";\\n\",label);\n-         printf(\"         conversion:comment \\\"\\\";\\n\");\n-      }\n-      printf(\"         conversion:range  %s:Literal;\\n\",RDFS); # this is either 'rdfs' or 'todo' (raw and e1, respectively)\n+{ # length(conversionID) {\n+   cellValue=$0;\n+\n+   # If we know there is no header, we can give an example value.\n+   headerOrExample = (length(header) && header <= 0) ? \"conversion:eg \" : \"ov:csvHeader  \"; \n+\n+   print \"      conversion:enhance [\"\n+   printf(\"         ov:csvCol          %s;\\n\",NR);\n+   printf(\"         %s     \\\"%s\\\";\\n\",headerOrExample,cellValue);\n+   if(length(conversionID)) { \n+      # NOTE: This MUST NOT be added to the raw interpretation parameters,\n+      #       otherwise columns will collapse together prematurely (with human approval).\n+      printf(\"         #conversion:label   \\\"%s\\\";\\n\",cellValue);\n+   }\n+   printf(\"         conversion:comment \\\"\\\";\\n\");\n+   printf(\"         conversion:range   %s:Literal;\\n\",RDFS); # Either 'rdfs' or 'todo' (for raw and e*, respectively)\n+   if(length(conversionID)) { \n       if( length(onlyIfCol) && onlyIfCol == i ) {\n          print \"         a conversion:Only_if_column;\"\n       }\n       if( length(repeatAboveIfEmptyCol) && repeatAboveIfEmptyCol == NR ) {\n          print \"         a conversion:Repeat_previous_if_empty_column;\"\n       }\n-      print \"      ];\"\n-   #}\n+   }\n+   print \"      ];\"\n }\n \n END {\n-   if (showConversionProcess > 0) print \"   ];\"\n+   print \"   ];\"\n    printf(\".\");\n }\n"}
{"commit":"fb5e7b91516d99ed214626a7ac26da257b79153f","subject":"added commented-out enhancement for example resources in template creation.","message":"added commented-out enhancement for example resources in template creation.\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -210,6 +210,11 @@\n }\n \n END {\n+   print \"      #conversion:enhance [            \"\n+   print \"      #   ov:csvRow 3,4,5;             \"\n+   print \"      #   a conversion:ExampleResource;\"\n+   print \"      #];                              \"\n+\n    print \"   ];\"\n    printf(\".\");\n }\n"}
{"commit":"e65dcb5321a86f0d4e1cee92e2f36f8c84013904","subject":"Revert \"Fix bracket expression matches a character at gawk\"","message":"Revert \"Fix bracket expression matches a character at gawk\"\n","repos":"bartdesmet\/coreclr,cmckinsey\/coreclr,poizan42\/coreclr,JosephTremoulet\/coreclr,mskvortsov\/coreclr,ragmani\/coreclr,dpodder\/coreclr,hseok-oh\/coreclr,JosephTremoulet\/coreclr,botaberg\/coreclr,andschwa\/coreclr,mmitche\/coreclr,rartemev\/coreclr,qiudesong\/coreclr,yeaicc\/coreclr,pgavlin\/coreclr,wtgodbe\/coreclr,pgavlin\/coreclr,ruben-ayrapetyan\/coreclr,jamesqo\/coreclr,shahid-pk\/coreclr,tijoytom\/coreclr,ZhichengZhu\/coreclr,bartonjs\/coreclr,dasMulli\/coreclr,James-Ko\/coreclr,gkhanna79\/coreclr,James-Ko\/coreclr,shahid-pk\/coreclr,ramarag\/coreclr,kyulee1\/coreclr,JonHanna\/coreclr,russellhadley\/coreclr,shahid-pk\/coreclr,kyulee1\/coreclr,dasMulli\/coreclr,sejongoh\/coreclr,russellhadley\/coreclr,JonHanna\/coreclr,ZhichengZhu\/coreclr,JosephTremoulet\/coreclr,manu-silicon\/coreclr,alexperovich\/coreclr,SlavaRa\/coreclr,James-Ko\/coreclr,dpodder\/coreclr,krytarowski\/coreclr,JonHanna\/coreclr,neurospeech\/coreclr,sjsinju\/coreclr,sagood\/coreclr,chuck-mitchell\/coreclr,parjong\/coreclr,KrzysztofCwalina\/coreclr,yizhang82\/coreclr,jhendrixMSFT\/coreclr,dpodder\/coreclr,gkhanna79\/coreclr,pgavlin\/coreclr,dasMulli\/coreclr,dasMulli\/coreclr,alexperovich\/coreclr,martinwoodward\/coreclr,sagood\/coreclr,poizan42\/coreclr,YongseopKim\/coreclr,wateret\/coreclr,sjsinju\/coreclr,mmitche\/coreclr,chuck-mitchell\/coreclr,KrzysztofCwalina\/coreclr,mskvortsov\/coreclr,yizhang82\/coreclr,mmitche\/coreclr,roncain\/coreclr,andschwa\/coreclr,sjsinju\/coreclr,jhendrixMSFT\/coreclr,schellap\/coreclr,parjong\/coreclr,cydhaselton\/coreclr,josteink\/coreclr,krytarowski\/coreclr,qiudesong\/coreclr,sejongoh\/coreclr,sjsinju\/coreclr,sagood\/coreclr,yizhang82\/coreclr,botaberg\/coreclr,bartonjs\/coreclr,schellap\/coreclr,JosephTremoulet\/coreclr,jamesqo\/coreclr,jamesqo\/coreclr,ZhichengZhu\/coreclr,dasMulli\/coreclr,KrzysztofCwalina\/coreclr,bartdesmet\/coreclr,pgavlin\/coreclr,jamesqo\/coreclr,tijoytom\/coreclr,alexperovich\/coreclr,cmckinsey\/coreclr,yeaicc\/coreclr,andschwa\/coreclr,LLITCHEV\/coreclr,wtgodbe\/coreclr,manu-silicon\/coreclr,jhendrixMSFT\/coreclr,AlexGhiondea\/coreclr,yeaicc\/coreclr,JonHanna\/coreclr,Dmitry-Me\/coreclr,vinnyrom\/coreclr,manu-silicon\/coreclr,wateret\/coreclr,jhendrixMSFT\/coreclr,cmckinsey\/coreclr,bartdesmet\/coreclr,ZhichengZhu\/coreclr,naamunds\/coreclr,shahid-pk\/coreclr,shahid-pk\/coreclr,dpodder\/coreclr,parjong\/coreclr,josteink\/coreclr,James-Ko\/coreclr,jhendrixMSFT\/coreclr,alexperovich\/coreclr,ruben-ayrapetyan\/coreclr,James-Ko\/coreclr,naamunds\/coreclr,sejongoh\/coreclr,YongseopKim\/coreclr,cydhaselton\/coreclr,krk\/coreclr,schellap\/coreclr,hseok-oh\/coreclr,bartonjs\/coreclr,andschwa\/coreclr,wateret\/coreclr,ruben-ayrapetyan\/coreclr,parjong\/coreclr,martinwoodward\/coreclr,ZhichengZhu\/coreclr,schellap\/coreclr,kyulee1\/coreclr,vinnyrom\/coreclr,wateret\/coreclr,Dmitry-Me\/coreclr,sejongoh\/coreclr,martinwoodward\/coreclr,shahid-pk\/coreclr,bartonjs\/coreclr,yeaicc\/coreclr,botaberg\/coreclr,ramarag\/coreclr,ramarag\/coreclr,sejongoh\/coreclr,sejongoh\/coreclr,SlavaRa\/coreclr,Dmitry-Me\/coreclr,ragmani\/coreclr,krytarowski\/coreclr,krk\/coreclr,ruben-ayrapetyan\/coreclr,JonHanna\/coreclr,krytarowski\/coreclr,alexperovich\/coreclr,russellhadley\/coreclr,LLITCHEV\/coreclr,AlexGhiondea\/coreclr,bartdesmet\/coreclr,shahid-pk\/coreclr,LLITCHEV\/coreclr,qiudesong\/coreclr,ruben-ayrapetyan\/coreclr,Dmitry-Me\/coreclr,ragmani\/coreclr,roncain\/coreclr,mskvortsov\/coreclr,martinwoodward\/coreclr,mskvortsov\/coreclr,James-Ko\/coreclr,josteink\/coreclr,hseok-oh\/coreclr,ramarag\/coreclr,SlavaRa\/coreclr,martinwoodward\/coreclr,andschwa\/coreclr,KrzysztofCwalina\/coreclr,cshung\/coreclr,YongseopKim\/coreclr,manu-silicon\/coreclr,cydhaselton\/coreclr,russellhadley\/coreclr,roncain\/coreclr,martinwoodward\/coreclr,YongseopKim\/coreclr,chuck-mitchell\/coreclr,bartdesmet\/coreclr,chuck-mitchell\/coreclr,mskvortsov\/coreclr,tijoytom\/coreclr,cmckinsey\/coreclr,KrzysztofCwalina\/coreclr,parjong\/coreclr,cydhaselton\/coreclr,cmckinsey\/coreclr,dpodder\/coreclr,sagood\/coreclr,pgavlin\/coreclr,krytarowski\/coreclr,naamunds\/coreclr,ragmani\/coreclr,bartonjs\/coreclr,ruben-ayrapetyan\/coreclr,YongseopKim\/coreclr,AlexGhiondea\/coreclr,wtgodbe\/coreclr,Dmitry-Me\/coreclr,cydhaselton\/coreclr,dasMulli\/coreclr,yeaicc\/coreclr,roncain\/coreclr,KrzysztofCwalina\/coreclr,kyulee1\/coreclr,josteink\/coreclr,chuck-mitchell\/coreclr,qiudesong\/coreclr,qiudesong\/coreclr,sagood\/coreclr,naamunds\/coreclr,JonHanna\/coreclr,chuck-mitchell\/coreclr,gkhanna79\/coreclr,josteink\/coreclr,jamesqo\/coreclr,naamunds\/coreclr,botaberg\/coreclr,rartemev\/coreclr,yizhang82\/coreclr,JosephTremoulet\/coreclr,yeaicc\/coreclr,JosephTremoulet\/coreclr,roncain\/coreclr,alexperovich\/coreclr,pgavlin\/coreclr,bartdesmet\/coreclr,chuck-mitchell\/coreclr,cshung\/coreclr,sagood\/coreclr,AlexGhiondea\/coreclr,krytarowski\/coreclr,AlexGhiondea\/coreclr,wateret\/coreclr,YongseopKim\/coreclr,vinnyrom\/coreclr,cshung\/coreclr,KrzysztofCwalina\/coreclr,cmckinsey\/coreclr,rartemev\/coreclr,manu-silicon\/coreclr,russellhadley\/coreclr,roncain\/coreclr,neurospeech\/coreclr,botaberg\/coreclr,krk\/coreclr,neurospeech\/coreclr,neurospeech\/coreclr,wtgodbe\/coreclr,bartonjs\/coreclr,jhendrixMSFT\/coreclr,schellap\/coreclr,ZhichengZhu\/coreclr,kyulee1\/coreclr,neurospeech\/coreclr,hseok-oh\/coreclr,hseok-oh\/coreclr,wtgodbe\/coreclr,kyulee1\/coreclr,cydhaselton\/coreclr,bartdesmet\/coreclr,hseok-oh\/coreclr,ragmani\/coreclr,krk\/coreclr,naamunds\/coreclr,vinnyrom\/coreclr,mskvortsov\/coreclr,parjong\/coreclr,sejongoh\/coreclr,martinwoodward\/coreclr,LLITCHEV\/coreclr,rartemev\/coreclr,poizan42\/coreclr,mmitche\/coreclr,cshung\/coreclr,vinnyrom\/coreclr,manu-silicon\/coreclr,tijoytom\/coreclr,LLITCHEV\/coreclr,mmitche\/coreclr,jamesqo\/coreclr,bartonjs\/coreclr,rartemev\/coreclr,neurospeech\/coreclr,rartemev\/coreclr,SlavaRa\/coreclr,yeaicc\/coreclr,SlavaRa\/coreclr,yizhang82\/coreclr,dasMulli\/coreclr,schellap\/coreclr,vinnyrom\/coreclr,andschwa\/coreclr,mmitche\/coreclr,wtgodbe\/coreclr,poizan42\/coreclr,wateret\/coreclr,qiudesong\/coreclr,gkhanna79\/coreclr,Dmitry-Me\/coreclr,yizhang82\/coreclr,LLITCHEV\/coreclr,botaberg\/coreclr,russellhadley\/coreclr,dpodder\/coreclr,ZhichengZhu\/coreclr,AlexGhiondea\/coreclr,gkhanna79\/coreclr,vinnyrom\/coreclr,schellap\/coreclr,poizan42\/coreclr,tijoytom\/coreclr,cmckinsey\/coreclr,cshung\/coreclr,manu-silicon\/coreclr,naamunds\/coreclr,gkhanna79\/coreclr,ragmani\/coreclr,Dmitry-Me\/coreclr,ramarag\/coreclr,sjsinju\/coreclr,roncain\/coreclr,poizan42\/coreclr,cshung\/coreclr,andschwa\/coreclr,LLITCHEV\/coreclr,josteink\/coreclr,krk\/coreclr,tijoytom\/coreclr,krk\/coreclr,ramarag\/coreclr,sjsinju\/coreclr,ramarag\/coreclr,josteink\/coreclr,SlavaRa\/coreclr,jhendrixMSFT\/coreclr","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateversionscript.awk\n+++ generateversionscript.awk\n@@ -8,7 +8,7 @@\n \tgsub(\/\\r\/,\"\", $0);\n \t\n \t# Skip empty lines and comment lines starting with semicolon\n-\tif (NF && !match($0, \/^[[:space:]]*;\/))\n+\tif (NF && !match($0, \/^[:space:]*;\/))\n \t{\n \t\tprint \"        \"  $0 \";\";\n \t}\n"}
{"commit":"8772387cdb2270bf765ad934d4d8828069d4cbb7","subject":"Languages: add Lingala","message":"Languages: add Lingala\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -917,6 +917,19 @@\n     Locale[\"lv\"][\"iso\"]                = \"lav\"\n     Locale[\"lv\"][\"glotto\"]             = \"latv1249\"\n     Locale[\"lv\"][\"script\"]             = \"Latn\"\n+\n+    # Lingala\n+    Locale[\"ln\"][\"name\"]               = \"Lingala\"\n+    Locale[\"ln\"][\"endonym\"]            = \"Ling\u00e1la\"\n+    #Locale[\"ln\"][\"translations-of\"]\n+    #Locale[\"ln\"][\"definitions-of\"]\n+    #Locale[\"ln\"][\"synonyms\"]\n+    #Locale[\"ln\"][\"examples\"]\n+    #Locale[\"ln\"][\"see-also\"]\n+    Locale[\"ln\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"ln\"][\"iso\"]                = \"lin\"\n+    Locale[\"ln\"][\"glotto\"]             = \"ling1269\"\n+    Locale[\"ln\"][\"script\"]             = \"Latn\"\n \n     #56 Lithuanian\n     Locale[\"lt\"][\"name\"]               = \"Lithuanian\"\n"}
{"commit":"2f02c51cebb3f59bbbee50c4348aedc4d32f9c5e","subject":"implement wordMode and dictMode","message":"implement wordMode and dictMode\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -199,97 +199,114 @@\n     } else {\n         # Verbose mode\n \n-        r = AnsiCode[\"bold\"] show(join(original), il) AnsiCode[\"no bold\"]\n-        if (anything(oPhonetics))\n-            r = r \"\\n\" AnsiCode[\"bold\"] \"\/\" join(oPhonetics) \"\/\" AnsiCode[\"no bold\"]\n-        r = r \"\\n\"\n-        # Dictionary mode\n-        if (isarray(oWordClasses) && anything(oWordClasses)) {\n-            for (i = 0; i < length(oWordClasses); i++) {\n-                r = r \"\\n\" AnsiCode[\"negative\"] AnsiCode[\"bold\"]        \\\n-                    show(oWordClasses[i], hl) AnsiCode[\"no bold\"] AnsiCode[\"positive\"]\n-                if (isarray(oWords[i])) {\n-                    # Detailed explanation\n-                    for (j = 0; j < length(oWords[i]); j++) {\n-                        explanation = oWords[i][j][0]\n-                        ref = oWords[i][j][1]\n-                        example = oWords[i][j][2]\n-\n-                        r = r \"\\n    \" AnsiCode[\"bold\"] show(explanation, il) AnsiCode[\"no bold\"]\n-                        if (example)\n-                            r = r \"\\n    - \\\"\" show(example, il) \"\\\"\"\n-                        if (ref && isarray(oRefs[ref])) {\n-                            r = r \"\\n    * synonyms: \" AnsiCode[\"underline\"] \\\n-                                show(oSynonyms[oRefs[ref][1]][oRefs[ref][2]][0], il) AnsiCode[\"no underline\"]\n-                            for (k = 1; k < length(oSynonyms[oRefs[ref][1]][oRefs[ref][2]]); k++)\n-                                r = r \", \" AnsiCode[\"underline\"]        \\\n-                                    show(oSynonyms[oRefs[ref][1]][oRefs[ref][2]][k], il) AnsiCode[\"no underline\"]\n+        if (isarray(wordClasses) && anything(wordClasses))\n+            wordMode = 1\n+        if (il == tl)\n+            wordMode = dictMode = 1\n+\n+        if (wordMode) {\n+            r = AnsiCode[\"bold\"] show(join(original), il) AnsiCode[\"no bold\"]\n+            if (anything(oPhonetics))\n+                r = r \"\\n\" AnsiCode[\"bold\"] \"\/\" join(oPhonetics) \"\/\" AnsiCode[\"no bold\"]\n+            r = r \"\\n\"\n+        }\n+        if (dictMode) {\n+            # Dictionary mode\n+            if (isarray(oWordClasses) && anything(oWordClasses)) {\n+                for (i = 0; i < length(oWordClasses); i++) {\n+                    r = r \"\\n\" AnsiCode[\"negative\"] AnsiCode[\"bold\"]    \\\n+                        show(oWordClasses[i], hl) AnsiCode[\"no bold\"] AnsiCode[\"positive\"]\n+                    if (isarray(oWords[i])) {\n+                        # Detailed explanation\n+                        for (j = 0; j < length(oWords[i]); j++) {\n+                            explanation = oWords[i][j][0]\n+                            ref = oWords[i][j][1]\n+                            example = oWords[i][j][2]\n+\n+                            r = r \"\\n    \" AnsiCode[\"bold\"] show(explanation, il) AnsiCode[\"no bold\"]\n+                            if (example)\n+                                r = r \"\\n    - \\\"\" show(example, il) \"\\\"\"\n+                            if (ref && isarray(oRefs[ref])) {\n+                                r = r \"\\n    * synonyms: \" AnsiCode[\"underline\"] \\\n+                                    show(oSynonyms[oRefs[ref][1]][oRefs[ref][2]][0], il) AnsiCode[\"no underline\"]\n+                                for (k = 1; k < length(oSynonyms[oRefs[ref][1]][oRefs[ref][2]]); k++)\n+                                    r = r \", \" AnsiCode[\"underline\"]    \\\n+                                        show(oSynonyms[oRefs[ref][1]][oRefs[ref][2]][k], il) AnsiCode[\"no underline\"]\n+                            }\n+                            r = r \"\\n\"\n+                        }\n+                    } else {\n+                        # Synonyms only\n+                        for (j = 0; j < length(oSynonyms[i]); j++) {\n+                            r = r \"\\n  * \" show(oSynonyms[i][j][0], il)\n+                            for (k = 1; k < length(oSynonyms[i][j]); k++)\n+                                r = r \", \" show(oSynonyms[i][j][k], il)\n                         }\n                         r = r \"\\n\"\n                     }\n-                } else {\n-                    # Synonyms only\n-                    for (j = 0; j < length(oSynonyms[i]); j++) {\n-                        r = r \"\\n  * \" show(oSynonyms[i][j][0], il)\n-                        for (k = 1; k < length(oSynonyms[i][j]); k++)\n-                            r = r \", \" show(oSynonyms[i][j][k], il)\n-                    }\n+                }\n+            }\n+            # Examples\n+            if (isarray(oExamples) && anything(oExamples)) {\n+                r = r \"\\n\" \"Examples:\"\n+                for (i = 0; i < length(oExamples); i++) {\n+                    example = oExamples[i]\n+                    sub(\/\\u003cb\\u003e\/, AnsiCode[\"negative\"], example)\n+                    sub(\/\\u003c\\\/b\\u003e\/, AnsiCode[\"positive\"], example)\n+                    r = r \"\\n  - \" show(example, il)\n                     r = r \"\\n\"\n                 }\n             }\n-        }\n-        # Examples\n-        if (isarray(oExamples) && anything(oExamples)) {\n-            r = r \"\\n\" \"Examples:\"\n-            for (i = 0; i < length(oExamples); i++) {\n-                example = oExamples[i]\n-                sub(\/\\u003cb\\u003e\/, AnsiCode[\"negative\"], example)\n-                sub(\/\\u003c\\\/b\\u003e\/, AnsiCode[\"positive\"], example)\n-                r = r \"\\n  - \" show(example, il)\n+            # See also\n+            if (isarray(oSeeAlso) && anything(oSeeAlso)) {\n+                r = r \"\\n\" \"See also:\"\n+                r = r \"\\n\" AnsiCode[\"underline\"] show(oSeeAlso[0], il) AnsiCode[\"no underline\"]\n+                for (k = 1; k < length(oSeeAlso); k++)\n+                    r = r \", \" AnsiCode[\"underline\"] show(oSeeAlso[k], il) AnsiCode[\"no underline\"]\n                 r = r \"\\n\"\n             }\n         }\n-        # See also\n-        if (isarray(oSeeAlso) && anything(oSeeAlso)) {\n-            r = r \"\\n\" \"See also:\"\n-            r = r \"\\n\" AnsiCode[\"underline\"] show(oSeeAlso[0], il) AnsiCode[\"no underline\"]\n-            for (k = 1; k < length(oSeeAlso); k++)\n-                r = r \", \" AnsiCode[\"underline\"] show(oSeeAlso[k], il) AnsiCode[\"no underline\"]\n+\n+        if (!wordMode) {\n+            r = r AnsiCode[\"bold\"] s(translation, tl) AnsiCode[\"no bold\"] # target language\n+            if (anything(phonetics))\n+                r = r \"\\n\" AnsiCode[\"bold\"] \"\/\" join(phonetics) \"\/\" AnsiCode[\"no bold\"] # phonetic transcription\n             r = r \"\\n\"\n         }\n-\n-\n-\n-        r = r \"\\n\" AnsiCode[\"bold\"] s(translation, tl) AnsiCode[\"no bold\"] # target language\n-        if (anything(phonetics))\n-            r = r \"\\n\" AnsiCode[\"bold\"] join(phonetics) AnsiCode[\"no bold\"] # phonetic transcription\n \n         if (isarray(altTranslations[0]) && anything(altTranslations[0])) {\n             # List alternative translations\n \n             if (Locale[getCode(hl)][\"rtl\"] || Locale[getCode(il)][\"rtl\"])\n-                r = r \"\\n\\n\" s(sprintf(Locale[getCode(hl)][\"message\"], join(original))) # caution: mixed languages, BiDi invoked must be implemented correctly (i.e. FriBidi is required)\n+                r = r \"\\n\" s(sprintf(Locale[getCode(hl)][\"message\"], \"\\\"\" join(original) \"\\\"\")) \":\" # caution: mixed languages, BiDi invoked must be implemented correctly (i.e. FriBidi is required)\n             else\n-                r = r \"\\n\\n\" sprintf(Locale[getCode(hl)][\"message\"], join(original))\n+                r = r \"\\n\" sprintf(Locale[getCode(hl)][\"message\"], \"\\\"\" join(original) \"\\\"\") \":\"\n+\n             if (Locale[getCode(il)][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n-                r = r \"\\n\" s(\"(\" Locale[getCode(il)][\"endonym\"] \" \u2794 \" Locale[getCode(tl)][\"endonym\"] \")\") # caution: mixed languages\n+                r = r \"\\n\" s(\"(\" Locale[getCode(il)][\"endonym\"] \" -> \" Locale[getCode(tl)][\"endonym\"] \")\") # caution: mixed languages\n             else\n-                r = r \"\\n\" \"(\" Locale[getCode(il)][\"endonym\"] \" \u2794 \" Locale[getCode(tl)][\"endonym\"] \")\"\n-\n-            temp = segments[0] \"(\" join(altTranslations[0], \"\/\") \")\"\n-            for (i = 1; i < length(altTranslations); i++)\n-                temp = temp \" \" segments[i] \"(\" join(altTranslations[i], \"\/\") \")\"\n-            if (Locale[getCode(il)][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n-                r = r \"\\n\" AnsiCode[\"bold\"] s(temp) AnsiCode[\"no bold\"] # caution: mixed languages\n-            else\n-                r = r \"\\n\" AnsiCode[\"bold\"] temp AnsiCode[\"no bold\"]\n+                r = r \"\\n\" \"(\" Locale[getCode(il)][\"endonym\"] \" -> \" Locale[getCode(tl)][\"endonym\"] \")\"\n+\n+            if (wordMode) {\n+                r = r \"\\n\" AnsiCode[\"bold\"] s(translation, tl) AnsiCode[\"no bold\"] # target language\n+                if (anything(phonetics))\n+                    r = r \"\\n\" AnsiCode[\"bold\"] \"\/\" join(phonetics) \"\/\" AnsiCode[\"no bold\"] # phonetic transcription\n+            } else {\n+                temp = segments[0] \"(\" join(altTranslations[0], \"\/\") \")\"\n+                for (i = 1; i < length(altTranslations); i++)\n+                    temp = temp \" \" segments[i] \"(\" join(altTranslations[i], \"\/\") \")\"\n+                if (Locale[getCode(il)][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n+                    r = r \"\\n\" AnsiCode[\"bold\"] s(temp) AnsiCode[\"no bold\"] # caution: mixed languages\n+                else\n+                    r = r \"\\n\" AnsiCode[\"bold\"] temp AnsiCode[\"no bold\"]\n+            }\n         }\n \n         if (isarray(wordClasses) && anything(wordClasses)) {\n             # List dictionary entries\n \n-            for (i = 0; i < length(words); i++) {\n-                r = r \"\\n\\n\" s(\"[\" wordClasses[i] \"]\", hl) # home language\n+            for (i = 0; i < length(wordClasses); i++) {\n+                r = r \"\\n\\n\" s(AnsiCode[\"negative\"] wordClasses[i] AnsiCode[\"positive\"], hl) # home language\n                 for (j = 0; j < length(words[i]); j++) {\n                     word = words[i][j][0]\n                     explanation = join(words[i][j][1], \", \")\n"}
{"commit":"b1fc66643073c2d5904206ac12dcef7fe7871f63","subject":"Fix for some variable names not being returned by get_model in fzn2py.awk","message":"Fix for some variable names not being returned by get_model in fzn2py.awk\n","repos":"eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -251,11 +251,9 @@\n \tn = asorti(output,varnames);\n \tfor (i=1; i<=n; i++) {\n \t\te = varnames[i];\n-\t\tif (output[e]!=1 || e == \"objective\") {\n-\t\t\tif(e != objective) {\n-\t\t\t\tif(length(output_vars) > 0) output_vars = output_vars \", \";\n-\t\t\t\toutput_vars = output_vars e;\n-\t\t\t}\n+\t\tif(e != objective) {\n+\t\t\tif(length(output_vars) > 0) output_vars = output_vars \", \";\n+\t\t\toutput_vars = output_vars e;\n \t\t}\n \t}\n \tprint \"    output_vars = (\" output_vars \",)\";\n"}
{"commit":"5c507c58032f49fa0b82b9fa150c1f4b86280f93","subject":"+ Make condor_config more VM Universe aware","message":"+ Make condor_config more VM Universe aware\n","repos":"zhangzhehust\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,clalancette\/condor-dcloud,djw8605\/htcondor,htcondor\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/condor,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -31,6 +31,15 @@\n \n BEGIN {\n \tFS = \"=\"\n+}\n+\n+# Make it so we can fill in the VM_GAHP_SERVER option if we choose to in the\n+# installer. This is done before the .exe append bellow, because that match \n+# seems to block any other matches for that line.\n+\/^#VM_GAHP_SERVER\/ {\n+\tprint \"#VM_GAHP_SERVER = $(BIN)\/condor_vm-gahp.exe\"\n+\tprint \"VM_GAHP_SERVER = \"\n+\tnext\n }\n \n # Add a .exe to the end of all condor daemon names\n@@ -105,6 +114,19 @@\n \tnext\n }\n \n+# Make it so we can fill in the VM GAHP options if we choose to in the\n+# installer. \n+\/^#VM_GAHP_CONFIG\/ {\n+\tprint \"#VM_GAHP_CONFIG = $(RELEASE_DIR)\/condor_vmgahp_config.vmware\"\n+\tprint \"VM_GAHP_CONFIG =\"\n+\tnext\n+}\n+\/^#VM_TYPE\/ {\n+\tprint \"#VM_TYPE = vmware\"\n+\tprint \"VM_TYPE =\"\n+\tnext\n+}\n+\n # If we made it here, print out the line unchanged\n {print $0}\n \n"}
{"commit":"ad5150b8a74db15dda917a3a35039e1de0e1ee5b","subject":"rnc2rng.awk: Handle RELAX include directive","message":"rnc2rng.awk: Handle RELAX include directive\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rnc2rng.awk\n+++ rnc2rng.awk\n@@ -201,6 +201,11 @@\n     error = 1;\n     exit 1\n   }\n+  else if (match(line, \"^include \")) {\n+    print \"include appeared out of context on line \" FNR | \"cat 1>&2\";\n+    error = 1;\n+    exit 1\n+  }\n   else if (match(line, \/^xsd:[A-Za-z_]\/)) {\n     name = substr(line, 1);\n     sub(\/^xsd:\/, \"\", name);\n@@ -397,6 +402,7 @@\n   stack_i = 0;\n   paren_i = 0;\n   namespaces_i = 0;\n+  include_i = 0;\n   error = 0;\n }\n \n@@ -458,7 +464,8 @@\n     else {\n       name = substr($0, 1, nameix - 1);\n     }\n-    sub(\/ \/, \"\", name);\n+    sub(\/^ *\/, \"\", name);\n+    sub(\/ *$\/, \"\", name);\n     if (name == \"start\")\n       stack[++stack_i] = \"<start>\"\n     else {\n@@ -474,6 +481,33 @@\n   }\n   next;\n }\n+mode == \"grammar\" && \/^include \/ {\n+  href = substr($0, index($0, \"\\\"\") + 1);\n+  brace = substr(href, index(href, \"\\\"\") + 1);\n+  href = substr(href, 1, index(href, \"\\\"\") - 1);\n+  sub(\/^ *\/, \"\", brace);\n+  sub(\/ *$\/, \"\", brace);\n+  if (brace == \"{\") {\n+    stack[++stack_i] = \"<include href=\\\"\" href \"\\\">\";\n+    include_i = stack_i;\n+  }\n+  else {\n+    stack[++stack_i] = \"<include href=\\\"\" href \"\\\"\/>\";\n+  }\n+}\n+include_i != 0 && paren_i == 0 && \/}\/ {\n+  if (substr(stack[include_i], 1, 8) == \"<include\") {\n+    stack[++stack_i] = \"<\/include>\";\n+  }\n+  else {\n+    print \"Mismatched parentheses on line \" FNR | \"cat 1>&2\";\n+    error = 1;\n+    exit 1\n+  }\n+  mode = \"grammar\";\n+  include_i = 0;\n+  next;\n+}\n mode == \"pattern\" {\n   parse_pattern($0);\n   next;\n@@ -483,7 +517,7 @@\n   next;\n }\n # Doesn't handle all comments. That would require modifying\n-# parse_pattern and parse_name_class and generall being a lot\n+# parse_pattern and parse_name_class and generally being a lot\n # more clever about output. But it handles comments that start\n # a line outside a pattern. Enough for me.\n \/#.*\/ {\n"}
{"commit":"42a47b8152ea9cb4914afaab46ab8964c15c795f","subject":"Translators\/BingTranslator: fix for Mongolian (Cyrillic)","message":"Translators\/BingTranslator: fix for Mongolian (Cyrillic)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -229,6 +229,7 @@\n     if (_sl == \"hmn\")   _sl = \"mww\" # Bing uses 'mww' for Hmong Daw\n     if (_sl == \"ku\")    _sl = \"kmr\" # Bing uses 'kmr' for Northern Kurdish\n     else if (_sl == \"ckb\") _sl = \"ku\" # and 'ku' for Central Kurdish\n+    if (_sl == \"mn\")    _sl = \"mn-Cyrl\" # Bing uses 'mn-Cyrl' for Mongolian (Cyrillic)\n     if (_sl == \"no\")    _sl = \"nb\"  # Bing uses Norwegian Bokm\u00e5l\n     # Bing uses 'pt' or 'pt-br' for Brazilian Portuguese, 'pt-pt' for European Portuguese\n     if (_sl == \"pt-BR\") _sl = \"pt\" # just pt-br\n@@ -239,6 +240,7 @@\n     if (_tl == \"hmn\")   _tl = \"mww\"\n     if (_tl == \"ku\")    _tl = \"kmr\"\n     else if (_tl == \"ckb\") _tl = \"ku\"\n+    if (_tl == \"mn\")    _tl = \"mn-Cyrl\"\n     if (_tl == \"no\")    _tl = \"nb\"\n     if (_tl == \"pt-BR\") _tl = \"pt\"\n     else if (_tl == \"pt-PT\") _tl = \"pt-pt\"\n"}
{"commit":"c4eb4d8f75d925acf453065adad8e8246e10f141","subject":"su\/tag_dll.awk: fixed whitespace","message":"su\/tag_dll.awk: fixed whitespace\n\ndarcs-hash:20081127232613-db55f-d8a29c04b6f8dd685f6b1cf6b7c6b07f27b416cc.gz\n","repos":"BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/su\/tag_dll.awk\n+++ libsofia-sip-ua\/su\/tag_dll.awk\n@@ -105,18 +105,18 @@\n   print \"\" > REF;\n }\n \n-\/^#define TAG_NAMESPACE\/ { \n-  print \"#undef TAG_NAMESPACE\" > REF; \n-  print $0 > REF; \n+\/^#define TAG_NAMESPACE\/ {\n+  print \"#undef TAG_NAMESPACE\" > REF;\n+  print $0 > REF;\n   print \"\" > REF;\n-  print \"#undef TAG_NAMESPACE\" > DLL; \n-  print $0 > DLL; \n+  print \"#undef TAG_NAMESPACE\" > DLL;\n+  print $0 > DLL;\n   print \"\" > DLL;\n }\n \n-\/SU_HAVE_EXPERIMENTAL\/ { \n-  print $0 > REF; \n-  print $0 > DLL; \n+\/SU_HAVE_EXPERIMENTAL\/ {\n+  print $0 > REF;\n+  print $0 > DLL;\n }\n \n !DEFS && \/^tag_typedef_t\/ { DEFS = 1; }\n@@ -139,7 +139,7 @@\n END {\n   if (LIST) {\n     print \"\\nEXPORT tag_type_t \" LIST \"[] =\\n{\" > REF;\n-    print \"\\nEXPORT tag_type_t \" LIST \"[] =\\n{\" > DLL; \n+    print \"\\nEXPORT tag_type_t \" LIST \"[] =\\n{\" > DLL;\n     for (tag in typedefs) {\n       if (typedefs[tag] !~ \/NSTAG_TYPEDEF\/) {\n         print \"  \" tag \",\" > REF;\n"}
{"commit":"103c6f8a076a1e9e6e33b8b97a7a208358226090","subject":"added namespaces to enhance params template creation","message":"added namespaces to enhance params template creation\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -43,6 +43,7 @@\n       print \"@prefix time:       <http:\/\/www.w3.org\/2006\/time#> .\"\n       print \"@prefix wgs:        <http:\/\/www.w3.org\/2003\/01\/geo\/wgs84_pos#> .\"\n       print \"@prefix geonames:   <http:\/\/www.geonames.org\/ontology#> .\"\n+      print \"@prefix con:        <http:\/\/www.w3.org\/2000\/10\/swap\/pim\/contact#> .\"\n    }\n    print \"@prefix void:       <http:\/\/rdfs.org\/ns\/void#> .\"\n    print \"@prefix scovo:      <http:\/\/purl.org\/NET\/scovo#> .\"\n"}
{"commit":"5cf83e6c343183b44c192db800809490954c7c9f","subject":"2013-06-05: parsegaspriceshtml.awk: Added substitutions for Marathon and BP\/Duchess pictures.","message":"2013-06-05: parsegaspriceshtml.awk: Added substitutions for Marathon and BP\/Duchess pictures.\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -36,6 +36,8 @@\n }\n \n inGasPriceRecord && expectName && \/<a href=\"\/ {\n+   gsub(\"<img src=\\\"http:\/\/mymarathonstation.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Marathon\")\n+   gsub(\"<img src=\\\"http:\/\/duchessshoppe.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Duchess\")\n    gsub(\"<img src=\\\"http:\/\/thorntons.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    gsub(\"<img src=\\\"\/images\/brands\/199_p.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    expectName=False\n"}
{"commit":"749b4bda85119831af88847757fc55ac8611a1a8","subject":"Help: display translation engine in getVersion()","message":"Help: display translation engine in getVersion()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -28,6 +28,7 @@\n         sprintf(\"%-22s%s\\n\", \"home language\", Option[\"hl\"])             \\\n         sprintf(\"%-22s%s\\n\", \"source language\", Option[\"sl\"])           \\\n         sprintf(\"%-22s%s\\n\", \"target language\", join(Option[\"tl\"], \"+\")) \\\n+        sprintf(\"%-22s%s\\n\", \"translation engine\", Option[\"engine\"])    \\\n         sprintf(\"%-22s%s\\n\", \"proxy\", Option[\"proxy\"] ? Option[\"proxy\"] :\n                 \"[NONE]\")                                               \\\n         sprintf(\"%-22s%s\\n\", \"user-agent\", Option[\"user-agent\"] ? Option[\"user-agent\"] :\n"}
{"commit":"f7792a5ba4286a17c6b0633883a9ffbd0e821e83","subject":"Don't fail on 'out og sequence'","message":"Don't fail on 'out og sequence'\n","repos":"statsbiblioteket\/munin,statsbiblioteket\/munin","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- splitOnRecords.awk\n+++ splitOnRecords.awk\n@@ -16,7 +16,12 @@\n \t\tactive=1\n \t} else {\n \t\tprint \"ERROR - out of sequence!\" $0 | \"cat 1>&2\"\n-\t\texit\n+\t\tprint \"FAILED\"\n+\t\tprint \"RECORD START\" | \"cat 1>&2\"\n+\t\tsplit($0, s, \"batch \");\n+\t\tprintf \"%s\", s[2];\n+\t\tprintf \", %s\", jobtype\n+\t\tactive=1\n \t}\n }\n \n@@ -67,7 +72,7 @@\n \t\t#print \"\\tFAILED: \" $0\n \t\tprintf \", FAILED\\n\";\n \t\tactive = 0\n-\t\tprint \"RECORD END\" | \"cat 1>&s\"\n+\t\tprint \"RECORD END\" | \"cat 1>&2\"\n \t}\n }\n \n"}
{"commit":"6c2f8d17e28eaa29cebd4898a7eede9903ea462d","subject":"Simplify toloka.awk","message":"Simplify toloka.awk\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/toloka.awk\n+++ misc\/toloka.awk\n@@ -5,11 +5,15 @@\n }\n NR == 1 {\n     for (i=1; i<=NF; i++) ix[$i] = i;\n+    next;\n }\n-NR > 1 && $ix[\"found\"] {\n+!$ix[\"found\"] {\n+    next;\n+}\n+{\n     hypernyms[$ix[\"hypernym\"] OFS $ix[\"genitive\"]];\n }\n-NR > 1 && $ix[\"found\"] && $ix[\"hyponym\"] != hyponym {\n+$ix[\"hyponym\"] != hyponym {\n     for (hypernym_genitive in hypernyms) {\n         print $ix[\"hyponym\"], hypernym_genitive, \"\", \"\";\n     }\n"}
{"commit":"55298a844527ccaaea5def167a972bce6cd22b49","subject":"Remove use of graphviz label coordinates for now.","message":"Remove use of graphviz label coordinates for now.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -101,7 +101,7 @@\n \n \tprint \"enddef;\";\n \n-\tprint \"vardef fsmgvedge(expr tail, taildiam, head, headdiam, e, lab, lxy, loops) =\";\n+\tprint \"vardef fsmgvedge(expr tail, taildiam, head, headdiam, e, lab, loops) =\";\n \tprint \"\tdraw e withpen pencircle scaled 0.25bp withcolor red;\";\n \n \t# TODO: better explain this\n@@ -133,34 +133,24 @@\n \t# TODO: new idea; draw right angle from midpoint, and use that to find intersection with b\n \t# this way it should always align for multiple edges, even if on a slant\n \n-\tprint \"\t\t\tdraw lxy withpen pencircle scaled 5bp withcolor red;\"\n \tprint \"\t\t\tdraw point (length b \/ 2) of b withpen pencircle scaled 4bp withcolor blue;\"\n #\tprint \"\t\t\tdraw tail -- head withpen pencircle scaled 1bp withcolor green;\"\n #\tprint \"\t\t\tdraw ml withpen pencircle scaled 5bp withcolor green;\"\n \n-\tprint \"\t\t\tif g:\"\n-\tprint \"\t\t\t\tbl := lxy;\"\n-\tprint \"\t\t\telse:\"\n-\tprint \"\t\t\t\tbl := point (length b \/ 2) of b;\"\n-\tprint \"\t\t\tfi;\"\n+\tprint \"\t\t\tbl := point (length b \/ 2) of b;\"\n \n \t# TODO: plus label delta, distancing it from point. make a label function\n \t# TODO: maybe an \"extend\" function, to extend a path in its direction. use dotprod for that?\n \n \t# lft | rt | top | bot | ulft | urt | llft | lrt\n+\t# TODO: round label coordinates to grid? quantize rather\n+\n \t# labels ought to be below, if they're below the straight line from head-tail, or above otherwise\n-\t# TODO: round label coordinates to grid? quantize rather\n-\n-\t# XXX: if using graphviz's point, label exactly on the spot\n-\tprint \"\t\t\tif g:\";\n-\t# TODO: still want to distance by +\/- 4bp or so\n-\tprint \"\t\t\t\tlabel(lab, bl);\"\n+\t# TODO: find what quadrant the line is, and make this .rt\/.lft instead of .top\/.bot\n+\tprint \"\t\t\tif ypart bl < ypart ml:\" # TODO: threshold for considering \"below\"\n+\tprint \"\t\t\t\tlabel.bot(lab, bl shifted (0, -3bp));\"\n \tprint \"\t\t\telse:\"\n-\tprint \"\t\t\t\tif ypart bl < ypart ml:\" # TODO: threshold for considering \"below\"\n-\tprint \"\t\t\t\t\tlabel.bot(lab, bl shifted (0, -3bp));\"\n-\tprint \"\t\t\t\telse:\"\n-\tprint \"\t\t\t\t\tlabel.top(lab, bl shifted (0, +3bp));\"\n-\tprint \"\t\t\t\tfi;\"\n+\tprint \"\t\t\t\tlabel.top(lab, bl shifted (0, +3bp));\"\n \tprint \"\t\t\tfi;\"\n \tprint \"\t\tfi;\"\n \n@@ -271,7 +261,10 @@\n \t\tlabel = \"\";\n \t}\n \n-\tprintf \"fsmgvedge(%s, %s.diam, %s, %s.diam, e, \\\"%s\\\", (%fin, %fin), %s.loops);\", tail, tail, head, head, label, lx, ly, head;\n+\t# TODO: find what time (lx,ly) is along graphviz's edge, e\n+\t# then pass the time and use that for placing our label on our edge\n+\n+\tprintf \"fsmgvedge(%s, %s.diam, %s, %s.diam, e, \\\"%s\\\", %s.loops);\", tail, tail, head, head, label, head;\n \n \tif (head == tail) {\n \t\tprint \"\t%s.loops := %s.loops + 1;\", head, head\n"}
{"commit":"9bae41d7354066e5d207e1e9f86b11fa0e48b5b3","subject":"Delete space between function name and '('.","message":"Delete space between function name and '('.\n","repos":"xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- CASE-MAPPING.awk\n+++ CASE-MAPPING.awk\n@@ -41,9 +41,9 @@\n \/^[^\\#]\/ {\n   if (FILENAME == \"UNIDATA\/SpecialCasing.txt\" && NF == 5) {\n     printf (\"0x%s ( \", $1);\n-    mtext ($2);\n-    mtext ($3);\n-    mtext ($4);\n+    mtext($2);\n+    mtext($3);\n+    mtext($4);\n     printf (\")\\n\");\n     X[$1] = 1;\n   }\n"}
{"commit":"251fdcdb51ef43ae03628b32c8e25eb429a0f17e","subject":"MONDRIAN: Integrate new checkFile rule from \/\/open\/util\/bin\/checkFile.awk.","message":"MONDRIAN: Integrate new checkFile rule from \/\/open\/util\/bin\/checkFile.awk.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian\/\": change = 13379]\n","repos":"julianhyde\/mondrian,truvenganong\/mondrian,cocosli\/mondrian,cesarmarinhorj\/mondrian,nextelBIS\/mondrian,OSBI\/mondrian,AvinashPD\/mondrian,Seiferxx\/mondrian,lgrill-pentaho\/mondrian,cesarmarinhorj\/mondrian,dkincade\/mondrian,wetet2\/mondrian,ivanpogodin\/mondrian,AvinashPD\/mondrian,sayanh\/mondrian,Seiferxx\/mondrian,OSBI\/mondrian,bmorrise\/mondrian,pedrofvteixeira\/mondrian,mustangore\/mondrian,pentaho\/mondrian,rfellows\/mondrian,Seiferxx\/mondrian,dkincade\/mondrian,ivanpogodin\/mondrian,wetet2\/mondrian,mustangore\/mondrian,rfellows\/mondrian,stiberger\/mondrian,OSBI\/mondrian,preisanalytics\/mondrian,lgrill-pentaho\/mondrian,syncron\/mondrian,pentaho\/mondrian,wetet2\/mondrian,syncron\/mondrian,AvinashPD\/mondrian,mdamour1976\/mondrian,ivanpogodin\/mondrian,preisanalytics\/mondrian,bmorrise\/mondrian,stiberger\/mondrian,julianhyde\/mondrian,mdamour1976\/mondrian,nextelBIS\/mondrian,cesarmarinhorj\/mondrian,openedbox\/mondrian,preisanalytics\/mondrian,sayanh\/mondrian,openedbox\/mondrian,citycloud-bigdata\/mondrian,cocosli\/mondrian,truvenganong\/mondrian,citycloud-bigdata\/mondrian,pedrofvteixeira\/mondrian,cocosli\/mondrian,nextelBIS\/mondrian,lgrill-pentaho\/mondrian,mustangore\/mondrian,sayanh\/mondrian,mdamour1976\/mondrian,stiberger\/mondrian,truvenganong\/mondrian,syncron\/mondrian,citycloud-bigdata\/mondrian,dkincade\/mondrian,pedrofvteixeira\/mondrian,openedbox\/mondrian,pentaho\/mondrian,bmorrise\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -356,6 +356,9 @@\n         error(fname, FNR, \"operator '\" a[1] \"' must not be at end of line\");\n     }\n }\n+match(s, \/^ *(=) \/, a) {\n+    error(fname, FNR, \"operator '\" a[1] \"' must not be at start of line\");\n+}\n s ~ \/\\<[[:digit:][:lower:]][[:alnum:]_]*<\/ {\n     # E.g. \"p<\" but not \"Map<\"\n     if (!matchFile(fname)) {}\n"}
{"commit":"59260afc7864b13cfe9e7afad03b94dbeed67897","subject":"already imported modules are OK","message":"already imported modules are OK\n\ncomment better\n","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/filter.awk\n+++ tests\/filter.awk\n@@ -1,8 +1,14 @@\n+# negative tests\n+#\n \/fails as expected\\.$\/ {next}\n+\n+# importing related\n+#\n \/successfully loaded$\/ {next}\n \/^ *<-.*loaded\\.$\/ {next}\n-\/^->Loading import\/ {next}\n+\/^ *->Loading import\/ {next}\n \/^loading \/ {next}\n+\/^ *Import .* already loaded.$\/ {next}\n \n # empty lines are dull\n #\n"}
{"commit":"dcbdea992c2121036a62022da339c1af9b0d5d85","subject":"don't use -1 as exit code","message":"don't use -1 as exit code\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -10,7 +10,7 @@\n     split(PROCINFO[\"version\"], group, \".\")\n     if (group[1] < 3 || (group[1] == 3 && group[2] < 1)) {\n         e(\"[ERROR] Oops! Your gawk (version \" GawkVersion \") appears to be too old.\\nYou need at least gawk 3.1 to run this script.\")\n-        exit -1\n+        exit 1\n     }\n }\n \n"}
{"commit":"0b834daa26d5a866a9385f4f357547c82709e37f","subject":"Simplify logic for ensuring minimum hex length in rctocpp","message":"Simplify logic for ensuring minimum hex length in rctocpp\n\nSimplified the logic for ensuring that a hex string has 8 characters after\nthe '0x' prefix. Also clarified a comment about potential loss of numeric\nprecision when using numbers as indices in awk arrays.\n","repos":"Godin\/coreclr,sjsinju\/coreclr,lzcj4\/coreclr,ericeil\/coreclr,SpotLabsNET\/coreclr,matthubin\/coreclr,perfectphase\/coreclr,ktos\/coreclr,bartonjs\/coreclr,chuck-mitchell\/coreclr,DickvdBrink\/coreclr,JonHanna\/coreclr,josteink\/coreclr,zmaruo\/coreclr,benpye\/coreclr,bjjones\/coreclr,david-mitchell\/coreclr,KrzysztofCwalina\/coreclr,geertdoornbos\/coreclr,david-mitchell\/coreclr,yizhang82\/coreclr,Lucrecious\/coreclr,russellhadley\/coreclr,DickvdBrink\/coreclr,AlexGhiondea\/coreclr,pgavlin\/coreclr,sagood\/coreclr,JonHanna\/coreclr,AlfredoMS\/coreclr,iamjasonp\/coreclr,gitchomik\/coreclr,ktos\/coreclr,pgavlin\/coreclr,AlfredoMS\/coreclr,jamesqo\/coreclr,ytechie\/coreclr,Alcaro\/coreclr,mokchhya\/coreclr,Sridhar-MS\/coreclr,mmitche\/coreclr,chrishaly\/coreclr,bartonjs\/coreclr,misterzik\/coreclr,geertdoornbos\/coreclr,cydhaselton\/coreclr,lzcj4\/coreclr,taylorjonl\/coreclr,apanda\/coreclr,ganeshran\/coreclr,ganeshran\/coreclr,schellap\/coreclr,yizhang82\/coreclr,mocsy\/coreclr,bartdesmet\/coreclr,ragmani\/coreclr,chrishaly\/coreclr,krixalis\/coreclr,manu-silicon\/coreclr,josteink\/coreclr,krytarowski\/coreclr,fernando-rodriguez\/coreclr,hseok-oh\/coreclr,jhendrixMSFT\/coreclr,bitcrazed\/coreclr,krk\/coreclr,DasAllFolks\/coreclr,Sridhar-MS\/coreclr,swgillespie\/coreclr,ruben-ayrapetyan\/coreclr,sjsinju\/coreclr,dasMulli\/coreclr,ericeil\/coreclr,fffej\/coreclr,parjong\/coreclr,dkorolev\/coreclr,andschwa\/coreclr,SpotLabsNET\/coreclr,parjong\/coreclr,sagood\/coreclr,bitcrazed\/coreclr,zmaruo\/coreclr,MCGPPeters\/coreclr,fernando-rodriguez\/coreclr,richardlford\/coreclr,richardlford\/coreclr,naamunds\/coreclr,sejongoh\/coreclr,roncain\/coreclr,andschwa\/coreclr,bartdesmet\/coreclr,krytarowski\/coreclr,ramarag\/coreclr,alexperovich\/coreclr,perfectphase\/coreclr,sejongoh\/coreclr,serenabenny\/coreclr,Godin\/coreclr,spoiledsport\/coreclr,mmitche\/coreclr,OryJuVog\/coreclr,sperling\/coreclr,manu-silicon\/coreclr,JosephTremoulet\/coreclr,alexperovich\/coreclr,neurospeech\/coreclr,sergey-raevskiy\/coreclr,cshung\/coreclr,Alcaro\/coreclr,cmckinsey\/coreclr,mokchhya\/coreclr,martinwoodward\/coreclr,ramarag\/coreclr,Dmitry-Me\/coreclr,gkhanna79\/coreclr,LLITCHEV\/coreclr,kyulee1\/coreclr,fernando-rodriguez\/coreclr,Lucrecious\/coreclr,bartdesmet\/coreclr,chuck-mitchell\/coreclr,dkorolev\/coreclr,dasMulli\/coreclr,cmckinsey\/coreclr,chrishaly\/coreclr,DasAllFolks\/coreclr,cmckinsey\/coreclr,ragmani\/coreclr,Samana\/coreclr,ktos\/coreclr,wtgodbe\/coreclr,Samana\/coreclr,cmckinsey\/coreclr,sagood\/coreclr,shahid-pk\/coreclr,LLITCHEV\/coreclr,sergey-raevskiy\/coreclr,serenabenny\/coreclr,YongseopKim\/coreclr,spoiledsport\/coreclr,mmitche\/coreclr,fffej\/coreclr,bartonjs\/coreclr,chaos7theory\/coreclr,bartdesmet\/coreclr,fffej\/coreclr,zmaruo\/coreclr,mocsy\/coreclr,shahid-pk\/coreclr,dasMulli\/coreclr,swgillespie\/coreclr,andschwa\/coreclr,ktos\/coreclr,stormleoxia\/coreclr,iamjasonp\/coreclr,Djuffin\/coreclr,Godin\/coreclr,orthoxerox\/coreclr,josteink\/coreclr,swgillespie\/coreclr,martinwoodward\/coreclr,krk\/coreclr,andschwa\/coreclr,dkorolev\/coreclr,cshung\/coreclr,kyulee1\/coreclr,spoiledsport\/coreclr,chuck-mitchell\/coreclr,rartemev\/coreclr,pgavlin\/coreclr,qiudesong\/coreclr,orthoxerox\/coreclr,tijoytom\/coreclr,cydhaselton\/coreclr,AlexGhiondea\/coreclr,bitcrazed\/coreclr,spoiledsport\/coreclr,xtypebee\/coreclr,matthubin\/coreclr,AlfredoMS\/coreclr,josteink\/coreclr,ktos\/coreclr,ytechie\/coreclr,hanu412\/coreclr,yeaicc\/coreclr,vinnyrom\/coreclr,SpotLabsNET\/coreclr,blackdwarf\/coreclr,mskvortsov\/coreclr,david-mitchell\/coreclr,yeaicc\/coreclr,hseok-oh\/coreclr,jhendrixMSFT\/coreclr,hseok-oh\/coreclr,russellhadley\/coreclr,DickvdBrink\/coreclr,yizhang82\/coreclr,orthoxerox\/coreclr,dpodder\/coreclr,MCGPPeters\/coreclr,serenabenny\/coreclr,bartdesmet\/coreclr,Godin\/coreclr,DasAllFolks\/coreclr,manu-silicon\/coreclr,yeaicc\/coreclr,krk\/coreclr,tijoytom\/coreclr,SlavaRa\/coreclr,LLITCHEV\/coreclr,ganeshran\/coreclr,vinnyrom\/coreclr,chaos7theory\/coreclr,Alcaro\/coreclr,ericeil\/coreclr,neurospeech\/coreclr,pgavlin\/coreclr,yeaicc\/coreclr,qiudesong\/coreclr,ruben-ayrapetyan\/coreclr,qiudesong\/coreclr,tijoytom\/coreclr,serenabenny\/coreclr,tijoytom\/coreclr,vinnyrom\/coreclr,sperling\/coreclr,YongseopKim\/coreclr,poizan42\/coreclr,misterzik\/coreclr,Godin\/coreclr,AlfredoMS\/coreclr,ruben-ayrapetyan\/coreclr,naamunds\/coreclr,ruben-ayrapetyan\/coreclr,jamesqo\/coreclr,rartemev\/coreclr,manu-silicon\/coreclr,wateret\/coreclr,blackdwarf\/coreclr,ZhichengZhu\/coreclr,MCGPPeters\/coreclr,chaos7theory\/coreclr,martinwoodward\/coreclr,ktos\/coreclr,Djuffin\/coreclr,SpotLabsNET\/coreclr,kyulee1\/coreclr,chenxizhang\/coreclr,cshung\/coreclr,andschwa\/coreclr,JosephTremoulet\/coreclr,alexperovich\/coreclr,xoofx\/coreclr,kyulee1\/coreclr,Sridhar-MS\/coreclr,yeaicc\/coreclr,sejongoh\/coreclr,parjong\/coreclr,sejongoh\/coreclr,schellap\/coreclr,MCGPPeters\/coreclr,ragmani\/coreclr,richardlford\/coreclr,Djuffin\/coreclr,dpodder\/coreclr,vinnyrom\/coreclr,hanu412\/coreclr,yizhang82\/coreclr,perfectphase\/coreclr,YongseopKim\/coreclr,chrishaly\/coreclr,DickvdBrink\/coreclr,JosephTremoulet\/coreclr,poizan42\/coreclr,shana\/coreclr,sperling\/coreclr,Sridhar-MS\/coreclr,bitcrazed\/coreclr,mskvortsov\/coreclr,Samana\/coreclr,kyulee1\/coreclr,mocsy\/coreclr,mocsy\/coreclr,rartemev\/coreclr,ramarag\/coreclr,xtypebee\/coreclr,hseok-oh\/coreclr,jhendrixMSFT\/coreclr,orthoxerox\/coreclr,bartdesmet\/coreclr,krytarowski\/coreclr,LLITCHEV\/coreclr,krixalis\/coreclr,russellhadley\/coreclr,OryJuVog\/coreclr,bjjones\/coreclr,richardlford\/coreclr,ramarag\/coreclr,LLITCHEV\/coreclr,krytarowski\/coreclr,spoiledsport\/coreclr,xoofx\/coreclr,bitcrazed\/coreclr,wkchoy74\/coreclr,mocsy\/coreclr,ytechie\/coreclr,david-mitchell\/coreclr,YongseopKim\/coreclr,sagood\/coreclr,geertdoornbos\/coreclr,ytechie\/coreclr,LLITCHEV\/coreclr,stormleoxia\/coreclr,chenxizhang\/coreclr,AlexGhiondea\/coreclr,benpye\/coreclr,bartonjs\/coreclr,wkchoy74\/coreclr,ragmani\/coreclr,taylorjonl\/coreclr,DasAllFolks\/coreclr,ragmani\/coreclr,stormleoxia\/coreclr,fernando-rodriguez\/coreclr,ganeshran\/coreclr,perfectphase\/coreclr,poizan42\/coreclr,swgillespie\/coreclr,rartemev\/coreclr,OryJuVog\/coreclr,schellap\/coreclr,naamunds\/coreclr,iamjasonp\/coreclr,botaberg\/coreclr,sagood\/coreclr,KrzysztofCwalina\/coreclr,neurospeech\/coreclr,botaberg\/coreclr,swgillespie\/coreclr,sergey-raevskiy\/coreclr,richardlford\/coreclr,OryJuVog\/coreclr,hanu412\/coreclr,rartemev\/coreclr,chrishaly\/coreclr,LLITCHEV\/coreclr,chrishaly\/coreclr,naamunds\/coreclr,KrzysztofCwalina\/coreclr,botaberg\/coreclr,ramarag\/coreclr,gitchomik\/coreclr,ZhichengZhu\/coreclr,blackdwarf\/coreclr,misterzik\/coreclr,sperling\/coreclr,apanda\/coreclr,sperling\/coreclr,cmckinsey\/coreclr,sperling\/coreclr,lzcj4\/coreclr,stormleoxia\/coreclr,kyulee1\/coreclr,bitcrazed\/coreclr,russellhadley\/coreclr,xtypebee\/coreclr,AlexGhiondea\/coreclr,schellap\/coreclr,JonHanna\/coreclr,hanu412\/coreclr,Lucrecious\/coreclr,ganeshran\/coreclr,cydhaselton\/coreclr,botaberg\/coreclr,sjsinju\/coreclr,ktos\/coreclr,Lucrecious\/coreclr,naamunds\/coreclr,KrzysztofCwalina\/coreclr,AlfredoMS\/coreclr,shana\/coreclr,jamesqo\/coreclr,bitcrazed\/coreclr,chenxizhang\/coreclr,dpodder\/coreclr,gitchomik\/coreclr,ZhichengZhu\/coreclr,shahid-pk\/coreclr,geertdoornbos\/coreclr,benpye\/coreclr,sjsinju\/coreclr,grokys\/coreclr,botaberg\/coreclr,xoofx\/coreclr,ragmani\/coreclr,chaos7theory\/coreclr,SlavaRa\/coreclr,wateret\/coreclr,iamjasonp\/coreclr,mocsy\/coreclr,shana\/coreclr,Godin\/coreclr,cmckinsey\/coreclr,SlavaRa\/coreclr,jamesqo\/coreclr,yizhang82\/coreclr,cshung\/coreclr,mokchhya\/coreclr,fffej\/coreclr,James-Ko\/coreclr,zmaruo\/coreclr,hseok-oh\/coreclr,cmckinsey\/coreclr,JonHanna\/coreclr,wkchoy74\/coreclr,iamjasonp\/coreclr,gkhanna79\/coreclr,Dmitry-Me\/coreclr,krixalis\/coreclr,josteink\/coreclr,chuck-mitchell\/coreclr,dasMulli\/coreclr,mskvortsov\/coreclr,mskvortsov\/coreclr,GuilhermeSa\/coreclr,Lucrecious\/coreclr,sergey-raevskiy\/coreclr,schellap\/coreclr,dasMulli\/coreclr,mmitche\/coreclr,taylorjonl\/coreclr,bjjones\/coreclr,xoofx\/coreclr,wtgodbe\/coreclr,DickvdBrink\/coreclr,roncain\/coreclr,yizhang82\/coreclr,apanda\/coreclr,gkhanna79\/coreclr,martinwoodward\/coreclr,shana\/coreclr,roncain\/coreclr,orthoxerox\/coreclr,orthoxerox\/coreclr,matthubin\/coreclr,xtypebee\/coreclr,poizan42\/coreclr,Dmitry-Me\/coreclr,mskvortsov\/coreclr,blackdwarf\/coreclr,wateret\/coreclr,russellhadley\/coreclr,ruben-ayrapetyan\/coreclr,James-Ko\/coreclr,JonHanna\/coreclr,matthubin\/coreclr,gitchomik\/coreclr,YongseopKim\/coreclr,yeaicc\/coreclr,GuilhermeSa\/coreclr,shahid-pk\/coreclr,neurospeech\/coreclr,martinwoodward\/coreclr,Djuffin\/coreclr,dkorolev\/coreclr,stormleoxia\/coreclr,JosephTremoulet\/coreclr,ganeshran\/coreclr,Dmitry-Me\/coreclr,krixalis\/coreclr,ramarag\/coreclr,DasAllFolks\/coreclr,sjsinju\/coreclr,gkhanna79\/coreclr,josteink\/coreclr,apanda\/coreclr,poizan42\/coreclr,gitchomik\/coreclr,James-Ko\/coreclr,mmitche\/coreclr,lzcj4\/coreclr,jhendrixMSFT\/coreclr,sejongoh\/coreclr,DasAllFolks\/coreclr,blackdwarf\/coreclr,jhendrixMSFT\/coreclr,parjong\/coreclr,GuilhermeSa\/coreclr,krytarowski\/coreclr,sagood\/coreclr,roncain\/coreclr,mokchhya\/coreclr,martinwoodward\/coreclr,mskvortsov\/coreclr,pgavlin\/coreclr,naamunds\/coreclr,cshung\/coreclr,Alcaro\/coreclr,Djuffin\/coreclr,andschwa\/coreclr,parjong\/coreclr,matthubin\/coreclr,geertdoornbos\/coreclr,xtypebee\/coreclr,fernando-rodriguez\/coreclr,krk\/coreclr,matthubin\/coreclr,ytechie\/coreclr,benpye\/coreclr,david-mitchell\/coreclr,taylorjonl\/coreclr,jamesqo\/coreclr,bartonjs\/coreclr,wtgodbe\/coreclr,sergey-raevskiy\/coreclr,jhendrixMSFT\/coreclr,GuilhermeSa\/coreclr,yeaicc\/coreclr,Dmitry-Me\/coreclr,qiudesong\/coreclr,AlfredoMS\/coreclr,mokchhya\/coreclr,sergey-raevskiy\/coreclr,sperling\/coreclr,grokys\/coreclr,roncain\/coreclr,alexperovich\/coreclr,alexperovich\/coreclr,apanda\/coreclr,grokys\/coreclr,bartonjs\/coreclr,josteink\/coreclr,neurospeech\/coreclr,chenxizhang\/coreclr,fernando-rodriguez\/coreclr,dpodder\/coreclr,lzcj4\/coreclr,wtgodbe\/coreclr,Dmitry-Me\/coreclr,blackdwarf\/coreclr,dasMulli\/coreclr,Djuffin\/coreclr,vinnyrom\/coreclr,ZhichengZhu\/coreclr,SpotLabsNET\/coreclr,krixalis\/coreclr,wtgodbe\/coreclr,mokchhya\/coreclr,Samana\/coreclr,geertdoornbos\/coreclr,mocsy\/coreclr,parjong\/coreclr,KrzysztofCwalina\/coreclr,Alcaro\/coreclr,dpodder\/coreclr,shana\/coreclr,tijoytom\/coreclr,GuilhermeSa\/coreclr,perfectphase\/coreclr,richardlford\/coreclr,hseok-oh\/coreclr,James-Ko\/coreclr,cydhaselton\/coreclr,dkorolev\/coreclr,chuck-mitchell\/coreclr,geertdoornbos\/coreclr,chaos7theory\/coreclr,SlavaRa\/coreclr,botaberg\/coreclr,dpodder\/coreclr,ZhichengZhu\/coreclr,stormleoxia\/coreclr,roncain\/coreclr,wtgodbe\/coreclr,ericeil\/coreclr,vinnyrom\/coreclr,mmitche\/coreclr,blackdwarf\/coreclr,wkchoy74\/coreclr,zmaruo\/coreclr,ytechie\/coreclr,manu-silicon\/coreclr,gitchomik\/coreclr,JosephTremoulet\/coreclr,andschwa\/coreclr,SpotLabsNET\/coreclr,zmaruo\/coreclr,gkhanna79\/coreclr,xoofx\/coreclr,JosephTremoulet\/coreclr,shahid-pk\/coreclr,chenxizhang\/coreclr,qiudesong\/coreclr,bjjones\/coreclr,ZhichengZhu\/coreclr,SlavaRa\/coreclr,bjjones\/coreclr,bartonjs\/coreclr,JonHanna\/coreclr,sejongoh\/coreclr,Sridhar-MS\/coreclr,Dmitry-Me\/coreclr,stormleoxia\/coreclr,KrzysztofCwalina\/coreclr,misterzik\/coreclr,roncain\/coreclr,ramarag\/coreclr,mokchhya\/coreclr,OryJuVog\/coreclr,misterzik\/coreclr,ericeil\/coreclr,dasMulli\/coreclr,alexperovich\/coreclr,grokys\/coreclr,AlexGhiondea\/coreclr,ZhichengZhu\/coreclr,Godin\/coreclr,taylorjonl\/coreclr,James-Ko\/coreclr,taylorjonl\/coreclr,grokys\/coreclr,wkchoy74\/coreclr,serenabenny\/coreclr,cshung\/coreclr,wateret\/coreclr,vinnyrom\/coreclr,Samana\/coreclr,naamunds\/coreclr,fffej\/coreclr,manu-silicon\/coreclr,apanda\/coreclr,hanu412\/coreclr,chaos7theory\/coreclr,martinwoodward\/coreclr,xtypebee\/coreclr,MCGPPeters\/coreclr,sejongoh\/coreclr,ruben-ayrapetyan\/coreclr,wkchoy74\/coreclr,benpye\/coreclr,Lucrecious\/coreclr,MCGPPeters\/coreclr,benpye\/coreclr,schellap\/coreclr,russellhadley\/coreclr,benpye\/coreclr,wateret\/coreclr,perfectphase\/coreclr,YongseopKim\/coreclr,Samana\/coreclr,chuck-mitchell\/coreclr,SlavaRa\/coreclr,AlexGhiondea\/coreclr,bjjones\/coreclr,sjsinju\/coreclr,GuilhermeSa\/coreclr,rartemev\/coreclr,hanu412\/coreclr,swgillespie\/coreclr,poizan42\/coreclr,KrzysztofCwalina\/coreclr,manu-silicon\/coreclr,ericeil\/coreclr,jamesqo\/coreclr,dkorolev\/coreclr,cydhaselton\/coreclr,schellap\/coreclr,chenxizhang\/coreclr,neurospeech\/coreclr,shahid-pk\/coreclr,krk\/coreclr,swgillespie\/coreclr,DickvdBrink\/coreclr,david-mitchell\/coreclr,jhendrixMSFT\/coreclr,lzcj4\/coreclr,tijoytom\/coreclr,fffej\/coreclr,OryJuVog\/coreclr,taylorjonl\/coreclr,gkhanna79\/coreclr,krk\/coreclr,shahid-pk\/coreclr,Alcaro\/coreclr,pgavlin\/coreclr,xoofx\/coreclr,cydhaselton\/coreclr,spoiledsport\/coreclr,James-Ko\/coreclr,qiudesong\/coreclr,serenabenny\/coreclr,chuck-mitchell\/coreclr,wateret\/coreclr,shana\/coreclr,krixalis\/coreclr,misterzik\/coreclr,iamjasonp\/coreclr,Lucrecious\/coreclr,Sridhar-MS\/coreclr,krytarowski\/coreclr,grokys\/coreclr,bartdesmet\/coreclr,wkchoy74\/coreclr","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/dlls\/mscorrc\/rctocpp.awk\n+++ src\/dlls\/mscorrc\/rctocpp.awk\n@@ -15,17 +15,11 @@\n     quotient = number;\n \n     hexString = \"\";\n-    while (quotient > 0)\n+    for (digitCount = 0; digitCount < 8; digitCount++)\n     {\n         remainder = quotient % 16;\n         quotient = int(quotient \/ 16);\n         hexString = sprintf(\"%x\"hexString, remainder);\n-    }\n-\n-    lengthOfHexString = length(hexString);\n-    if (lengthOfHexString < 8)\n-    {\n-        hexString = substr(\"00000000\", 1, 8 - lengthOfHexString) hexString;\n     }\n \n     hexString = \"0x\" hexString;\n@@ -56,8 +50,9 @@\n     numEntries++;\n \n     # Use the string representation of the ID as the array index\n-    # because the precision of numeric indices can be lost when\n-    # iterating over the array in our for-in loop.\n+    # because the precision of numeric indices can be lost during\n+    # the number -> string -> number conversions that would occur\n+    # if numeric indices are used.\n     resourceArray[numberToHexString(id)] = str;\n }\n \n"}
{"commit":"a2dffb8a5d7d3c3cdef45320b6dfee174b5ba642","subject":"Problem: rec-viewer.awk fails on Linux","message":"Problem: rec-viewer.awk fails on Linux\n\nError message:\n```\n\/usr\/bin\/env: awk -f: No such file or directory\n```\n\nSolution: don't use `\/usr\/bin\/env` in the shebang,\nrevert to `#!\/usr\/bin\/awk -f`.\n","repos":"vvv\/dotfiles,vvv\/dotfiles,vvv\/dotfiles,vvv\/dotfiles","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- bin\/rec-viewer.awk\n+++ bin\/rec-viewer.awk\n@@ -1,4 +1,4 @@\n-#!\/usr\/bin\/env awk -f\n+#!\/usr\/bin\/awk -f\n \n {\n     printf(\"----- %d -----\\n\", NR);\n"}
{"commit":"4325dab65c49c54ceecfe7d03598c7ceca23490d","subject":"Fix compare output in regards to capture log section","message":"Fix compare output in regards to capture log section\n","repos":"haka-security\/haka,haka-security\/haka,haka-security\/haka,nabilbendafi\/haka,nabilbendafi\/haka,nabilbendafi\/haka","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- build\/CompareOutput.awk\n+++ build\/CompareOutput.awk\n@@ -27,7 +27,7 @@\n $0 ~ \/^debug core: rejected policy .* next dissector$\/ { next; }\n $0 ~ \/^debug core: applying( anonymous)? policy .* next dissector$\/ { next; }\n $0 ~ \/^debug time: \/ { next; }\n-$0 ~ \/^info pcap: progress\/ { next; }\n+$0 ~ \/^info capture: progress\/ { next; }\n $0 ~ \/^debug core: memory report\/ { next; }\n $0 ~ \/^warn core: rule .*at .* uses 'hook' keyword which is deprecated and should be replaced by 'on'$\/ { next; }\n \n"}
{"commit":"1bdd20a6a88b45f5f5d71a9503ef6920eb0a7515","subject":"add indels, more betas","message":"add indels, more betas\n","repos":"BenLangmead\/qtip-experiments,BenLangmead\/qtip-experiments","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- experiments\/platinum\/f.awk\n+++ experiments\/platinum\/f.awk\n@@ -1,18 +1,52 @@\n $1 !~ \/threshold\/ && $2 > 0 && $2 > $3 {\n+    # SNVs\n     tp=$2-$3;\n     fp=$3;\n     fn=$4;\n-    prec=tp\/(tp+fp);\n-    recall=tp\/(tp+fn);\n-    f050 = (1 + 0.5 * 0.5) * (prec * recall) \/ ((0.5 * 0.5) * prec + recall);\n-    f100 = (1 + 1.0 * 1.0) * (prec * recall) \/ ((1.0 * 1.0) * prec + recall);\n-    f200 = (1 + 2.0 * 2.0) * (prec * recall) \/ ((2.0 * 2.0) * prec + recall);\n-    if(f050 > f050max) {f050max = f050; f050tp = tp; f050fp = fp; f050fn = fn; };\n-    if(f100 > f100max) {f100max = f100; f100tp = tp; f100fp = fp; f100fn = fn; };\n-    if(f200 > f200max) {f200max = f200; f200tp = tp; f200fp = fp; f200fn = fn; };\n+    snv_prec=tp\/(tp+fp);\n+    snv_recall=tp\/(tp+fn);\n+    snv_f025 = (1 + 0.25 * 0.25) * (snv_prec * snv_recall) \/ ((0.25 * 0.25) * snv_prec + snv_recall);\n+    snv_f033 = (1 + (1\/3.0) * (1\/3.0)) * (snv_prec * snv_recall) \/ (((1\/3.0) * (1\/3.0)) * snv_prec + snv_recall);\n+    snv_f050 = (1 + 0.5 * 0.5) * (snv_prec * snv_recall) \/ ((0.5 * 0.5) * snv_prec + snv_recall);\n+    snv_f100 = (1 + 1.0 * 1.0) * (snv_prec * snv_recall) \/ ((1.0 * 1.0) * snv_prec + snv_recall);\n+    snv_f200 = (1 + 2.0 * 2.0) * (snv_prec * snv_recall) \/ ((2.0 * 2.0) * snv_prec + snv_recall);\n+    snv_f300 = (1 + 3.0 * 3.0) * (snv_prec * snv_recall) \/ ((3.0 * 3.0) * snv_prec + snv_recall);\n+    snv_f400 = (1 + 4.0 * 4.0) * (snv_prec * snv_recall) \/ ((4.0 * 4.0) * snv_prec + snv_recall);\n+    if(snv_f025 > snv_f025max) {snv_f025max = snv_f025; snv_f025tp = tp; snv_f025fp = fp; snv_f025fn = fn; };\n+    if(snv_f033 > snv_f033max) {snv_f033max = snv_f033; snv_f033tp = tp; snv_f033fp = fp; snv_f033fn = fn; };\n+    if(snv_f050 > snv_f050max) {snv_f050max = snv_f050; snv_f050tp = tp; snv_f050fp = fp; snv_f050fn = fn; };\n+    if(snv_f100 > snv_f100max) {snv_f100max = snv_f100; snv_f100tp = tp; snv_f100fp = fp; snv_f100fn = fn; };\n+    if(snv_f200 > snv_f200max) {snv_f200max = snv_f200; snv_f200tp = tp; snv_f200fp = fp; snv_f200fn = fn; };\n+    if(snv_f300 > snv_f300max) {snv_f300max = snv_f300; snv_f300tp = tp; snv_f300fp = fp; snv_f300fn = fn; };\n+    if(snv_f400 > snv_f400max) {snv_f400max = snv_f400; snv_f400tp = tp; snv_f400fp = fp; snv_f400fn = fn; };\n+\n+    # Indels\n+    tp=$5-$6;\n+    fp=$6;\n+    fn=$7;\n+    ind_prec=tp\/(tp+fp);\n+    ind_recall=tp\/(tp+fn);\n+    ind_f025 = (1 + 0.25 * 0.25) * (ind_prec * ind_recall) \/ ((0.25 * 0.25) * ind_prec + ind_recall);\n+    ind_f033 = (1 + (1\/3.0) * (1\/3.0)) * (ind_prec * ind_recall) \/ (((1\/3.0) * (1\/3.0)) * ind_prec + ind_recall);\n+    ind_f050 = (1 + 0.5 * 0.5) * (ind_prec * ind_recall) \/ ((0.5 * 0.5) * ind_prec + ind_recall);\n+    ind_f100 = (1 + 1.0 * 1.0) * (ind_prec * ind_recall) \/ ((1.0 * 1.0) * ind_prec + ind_recall);\n+    ind_f200 = (1 + 2.0 * 2.0) * (ind_prec * ind_recall) \/ ((2.0 * 2.0) * ind_prec + ind_recall);\n+    ind_f300 = (1 + 3.0 * 3.0) * (ind_prec * ind_recall) \/ ((3.0 * 3.0) * ind_prec + ind_recall);\n+    ind_f400 = (1 + 4.0 * 4.0) * (ind_prec * ind_recall) \/ ((4.0 * 4.0) * ind_prec + ind_recall);\n+    if(ind_f025 > ind_f025max) {ind_f025max = ind_f025; ind_f025tp = tp; ind_f025fp = fp; ind_f025fn = fn; };\n+    if(ind_f033 > ind_f033max) {ind_f033max = ind_f033; ind_f033tp = tp; ind_f033fp = fp; ind_f033fn = fn; };\n+    if(ind_f050 > ind_f050max) {ind_f050max = ind_f050; ind_f050tp = tp; ind_f050fp = fp; ind_f050fn = fn; };\n+    if(ind_f100 > ind_f100max) {ind_f100max = ind_f100; ind_f100tp = tp; ind_f100fp = fp; ind_f100fn = fn; };\n+    if(ind_f200 > ind_f200max) {ind_f200max = ind_f200; ind_f200tp = tp; ind_f200fp = fp; ind_f200fn = fn; };\n+    if(ind_f300 > ind_f300max) {ind_f300max = ind_f300; ind_f300tp = tp; ind_f300fp = fp; ind_f300fn = fn; };\n+    if(ind_f400 > ind_f400max) {ind_f400max = ind_f400; ind_f400tp = tp; ind_f400fp = fp; ind_f400fn = fn; };\n }\n END {\n-    print \"0.5\",f050max,f050tp,f050fp,f050fn\n-    print \"1.0\",f100max,f100tp,f100fp,f100fn\n-    print \"2.0\",f200max,f200tp,f200fp,f200fn\n+    print \"0.25\",snv_f025max,snv_f025tp,snv_f025fp,snv_f025fn,ind_f025max,ind_f025tp,ind_f025fp,ind_f025fn\n+    print \"0.33\",snv_f033max,snv_f033tp,snv_f033fp,snv_f033fn,ind_f033max,ind_f033tp,ind_f033fp,ind_f033fn\n+    print \"0.50\",snv_f050max,snv_f050tp,snv_f050fp,snv_f050fn,ind_f050max,ind_f050tp,ind_f050fp,ind_f050fn\n+    print \"1.00\",snv_f100max,snv_f100tp,snv_f100fp,snv_f100fn,ind_f100max,ind_f100tp,ind_f100fp,ind_f100fn\n+    print \"2.00\",snv_f200max,snv_f200tp,snv_f200fp,snv_f200fn,ind_f200max,ind_f200tp,ind_f200fp,ind_f200fn\n+    print \"3.00\",snv_f300max,snv_f300tp,snv_f300fp,snv_f300fn,ind_f300max,ind_f300tp,ind_f300fp,ind_f300fn\n+    print \"4.00\",snv_f400max,snv_f400tp,snv_f400fp,snv_f400fn,ind_f400max,ind_f400tp,ind_f400fp,ind_f400fn\n }\n"}
{"commit":"3993c949933052d50ce5f6228880992fb4139d22","subject":"Patch from Stefan Allius:","message":"Patch from Stefan Allius:\n\n    Hi Erik,\n\n    I patched the initfini.awk script, so we can build crt[in].S for the SuperH\n    targets with gmon-support.\n\n    The patch moves all labels into the wright sections, and add some assembler\n    statements to jump over them. (only activ on SH targets)\n\n    The patch also avoid any references of _GLOBAL_OFFSET_TABLE_ or *gmon_start*\n    in the crtn.S file. This should work on every target.\n\n    Bye Stefan\n","repos":"brgl\/uclibc-ng,majek\/uclibc-vx32,skristiansson\/uClibc-or1k,foss-xtensa\/uClibc,ChickenRunjyd\/klee-uclibc,kraj\/uClibc,m-labs\/uclibc-lm32,m-labs\/uclibc-lm32,ddcc\/klee-uclibc-0.9.33.2,OpenInkpot-archive\/iplinux-uclibc,gittup\/uClibc,hwoarang\/uClibc,skristiansson\/uClibc-or1k,waweber\/uclibc-clang,foss-for-synopsys-dwc-arc-processors\/uClibc,wbx-github\/uclibc-ng,kraj\/uClibc,klee\/klee-uclibc,m-labs\/uclibc-lm32,ndmsystems\/uClibc,czankel\/xtensa-uclibc,ndmsystems\/uClibc,klee\/klee-uclibc,mephi42\/uClibc,atgreen\/uClibc-moxie,foss-for-synopsys-dwc-arc-processors\/uClibc,foss-xtensa\/uClibc,atgreen\/uClibc-moxie,waweber\/uclibc-clang,m-labs\/uclibc-lm32,czankel\/xtensa-uclibc,ysat0\/uClibc,ndmsystems\/uClibc,mephi42\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,hjl-tools\/uClibc,brgl\/uclibc-ng,groundwater\/uClibc,kraj\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,hwoarang\/uClibc,foss-xtensa\/uClibc,groundwater\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,waweber\/uclibc-clang,ddcc\/klee-uclibc-0.9.33.2,atgreen\/uClibc-moxie,waweber\/uclibc-clang,groundwater\/uClibc,kraj\/uclibc-ng,wbx-github\/uclibc-ng,klee\/klee-uclibc,hjl-tools\/uClibc,kraj\/uClibc,kraj\/uClibc,hjl-tools\/uClibc,gittup\/uClibc,wbx-github\/uclibc-ng,ysat0\/uClibc,ndmsystems\/uClibc,groundwater\/uClibc,hjl-tools\/uClibc,hwoarang\/uClibc,ChickenRunjyd\/klee-uclibc,ChickenRunjyd\/klee-uclibc,ysat0\/uClibc,mephi42\/uClibc,brgl\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,foss-xtensa\/uClibc,brgl\/uclibc-ng,kraj\/uclibc-ng,ChickenRunjyd\/klee-uclibc,skristiansson\/uClibc-or1k,kraj\/uclibc-ng,ysat0\/uClibc,majek\/uclibc-vx32,ffainelli\/uClibc,atgreen\/uClibc-moxie,majek\/uclibc-vx32,ddcc\/klee-uclibc-0.9.33.2,ffainelli\/uClibc,czankel\/xtensa-uclibc,majek\/uclibc-vx32,hwoarang\/uClibc,groundwater\/uClibc,hjl-tools\/uClibc,mephi42\/uClibc,gittup\/uClibc,skristiansson\/uClibc-or1k,OpenInkpot-archive\/iplinux-uclibc,wbx-github\/uclibc-ng,ffainelli\/uClibc,gittup\/uClibc,czankel\/xtensa-uclibc,OpenInkpot-archive\/iplinux-uclibc,klee\/klee-uclibc","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- extra\/scripts\/initfini.awk\n+++ extra\/scripts\/initfini.awk\n@@ -12,7 +12,6 @@\n   system(\"\/bin\/rm -f crt[in].S\");\n   omitcrti=0;\n   omitcrtn=0;\n-  do_sh_specials = 0;\n   glb_idx = 0;\n   while(getline < \"initfini.S\")\n   { if(\/\\.endp\/) {endp=1}\n@@ -20,22 +19,37 @@\n     if(\/\\.align\/) {alignval=$2}\n # here comes some special stuff for the SuperH targets\n #  We search for all labels, which uses the _GLOBAL_OFFSET_TABLE_\n-#  definition, and store them in the glb_label array.\n-    if(\/_GLOBAL_OFFSET_TABLE_\/) {\n-      glb_label[glb_idx] = last;\n-      glb_idx += 1;\n-      glb = $0;\n+#  or a call_gmon_start function reference, and store\n+#  them in the glb_label array.\n+    if(\/_init_EPILOG_BEGINS\/) {glb_idx=1;glb_idx_arr[glb_idx]=0}\n+    if(\/_fini_EPILOG_BEGINS\/) {glb_idx=2;glb_idx_arr[glb_idx]=0}\n+    if(\/EPILOG_ENDS\/)         {glb_idx=0}\n+    if(\/_GLOBAL_OFFSET_TABLE_\/||\/call_gmon_start\/) {\n+      glb_label[glb_idx,glb_idx_arr[glb_idx]] = last;\n+      glb_idx_arr[glb_idx] += 1;\n+      glb_label[glb_idx,glb_idx_arr[glb_idx]] = $0;\n+      glb_idx_arr[glb_idx] += 1;\n     }\n     last = $1;\n   }\n   close(\"initfini.S\");\n }\n # special rules for the SuperH targets (They do nothing on other targets)\n-\/SH_GLB_BEGINS\/ && glb_idx==0 {omitcrti +=1;do_sh_specials++}\n-\/_init_SH_GLB\/  && glb_idx>=1 {print glb_label[0] glb >> \"crti.S\"}\n-\/_fini_SH_GLB\/  && glb_idx>=2 {print glb_label[1] glb >> \"crti.S\"}\n-\/SH_GLB_ENDS\/   && glb_idx==0 {omitcrti -=1}\n-\/SH_GLB\/ || \/_GLOBAL_OFFSET_TABLE_\/ && do_sh_specials>=1 {getline}\n+\/SH_GLB_BEGINS\/ && glb_idx_arr[1]==0 && glb_idx_arr[2]==0 {omitcrti +=1}\n+\/_init_SH_GLB\/  {glb_idx=1}\n+\/_fini_SH_GLB\/  {glb_idx=2}\n+\/SH_GLB_ENDS\/ {omitcrti -=1}\n+\/SH_GLB\/ \\\n+{\n+  if (glb_idx>0)\n+    {\n+      for (i=0;i<glb_idx_arr[glb_idx];i+=1) {\n+\tprint glb_label[glb_idx,i] >> \"crti.S\";\n+      }\n+      glb_idx = 0;\n+    }\n+  next;\n+}\n # special rules for H8\/300 (sorry quick hack)\n \/.h8300h\/ {end=0}\n \n@@ -54,6 +68,12 @@\n \/GMON_STUFF_PAUSES\/{omitcrtn=0;getline}\n \/GMON_STUFF_UNPAUSES\/{omitcrtn=1;getline}\n \/GMON_STUFF_ENDS\/{omitcrtn=0;getline}\n+\n+\/_GLOBAL_OFFSET_TABLE_\/||\/gmon_start\/ \\\n+{\n+  if(omitcrti==0) {print >> \"crti.S\";}\n+  next;  # no gmon_start or GLOBAL_OFFSET_TABLE references in crtn.S\n+}\n \n \/END_INIT\/ \\\n { if(endp)\n"}
{"commit":"f0823475d57a1ece4fe1eafb1aef5c4fa79361aa","subject":"cfg80211: parse dfs region for internal regdb option","message":"cfg80211: parse dfs region for internal regdb option\n\nAdd support for parsing and setting the dfs region (ETSI, FCC, JP)\nwhen the internal regulatory database is used. Before this\nthe DFS region was being ignored even if present on the used\ndb.txt\n\nSigned-off-by: Janusz Dziedzic <a4201e08a607951e17dcd5a575c0fe6bceb34e87@tieto.com>\nReviewed-by: Luis R. Rodriguez <d4fa18192c5a479e564d29c2300c2e15afd1d8d7@do-not-panic.com>\nSigned-off-by: Johannes Berg <bff32994ff0f8d048f262a8388145a71b6071bfe@intel.com>\n","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- net\/wireless\/genregdb.awk\n+++ net\/wireless\/genregdb.awk\n@@ -46,6 +46,12 @@\n \tsub(\/:\/, \"\", country)\n \tprintf \"static const struct ieee80211_regdomain regdom_%s = {\\n\", country\n \tprintf \"\\t.alpha2 = \\\"%s\\\",\\n\", country\n+\tif ($NF ~ \/DFS-ETSI\/)\n+\t\tprintf \"\\t.dfs_region = NL80211_DFS_ETSI,\\n\"\n+\telse if ($NF ~ \/DFS-FCC\/)\n+\t\tprintf \"\\t.dfs_region = NL80211_DFS_FCC,\\n\"\n+\telse if ($NF ~ \/DFS-JP\/)\n+\t\tprintf \"\\t.dfs_region = NL80211_DFS_JP,\\n\"\n \tprintf \"\\t.reg_rules = {\\n\"\n \tactive = 1\n \tregdb = regdb \"\\t&regdom_\" country \",\\n\"\n"}
{"commit":"95f0985e4aa0c96d77cb3287f5c9c34c946e0124","subject":"Include header files whose path begins with ..\/ .","message":"Include header files whose path begins with ..\/ .\n\n\ngit-svn-id: 12ae5aeef08fd453d75833463da4cc20df82a94e@2159 8af8166b-12a6-a448-a533-9086ace3f9f6\n","repos":"snakamura\/q3,snakamura\/q3,snakamura\/q3,snakamura\/q3,snakamura\/q3,snakamura\/q3,snakamura\/q3,snakamura\/q3,snakamura\/q3","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- q3\/dep.awk\n+++ q3\/dep.awk\n@@ -11,6 +11,7 @@\n \t\t\tif ($i ~ \/^include\\\/\/ ||\r\n \t\t\t\t$i ~ \/^src\\\/\/ ||\r\n \t\t\t\t$i ~ \/^obj\\\/\/ ||\r\n+\t\t\t\t$i ~ \/^\\.\\.\\\/\/ ||\r\n \t\t\t\t$i == \"\\\\\")\r\n \t\t\tprintf \" \" $i\r\n \t\t}\r\n"}
{"commit":"80fe3dd71ed97f46be43c0f2d39b98c911b7540f","subject":"Add missing } and fix indentation of last line","message":"Add missing } and fix indentation of last line\n","repos":"dominikmayer\/JGivenGherkin","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- jgivengherkin.awk\n+++ jgivengherkin.awk\n@@ -1,4 +1,5 @@\n #!\/usr\/local\/bin\/gawk -f\n+\n BEGIN {\n   INDENTATION = \"    \";\n   prev = \"\";\n@@ -109,6 +110,7 @@\n }\n \n END {\n-  print prev \";\"\n+  print INDENTATION prev \";\"\n+  print INDENTATION \"}\"\n   print \"}\"\n }\n"}
{"commit":"b1e34000cea1f3bebac807e8df6667882ae3393a","subject":"gawk is awkward","message":"gawk is awkward\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -146,6 +146,9 @@\n         while (getline line < fileName) {\n             match(line, \/^[[:space:]]*@include[[:space:]]*\"(.*)\"$\/, group)\n             if (RSTART) { # @include\n+                if (group[1] ~ \/\\.awk$\/)\n+                    append(Includes, group[1])\n+\n                 if (ret) ret = ret RS\n                 ret = ret readSqueezed(group[1], squeezed)\n             } else if (!squeezed || line = squeeze(line)) { # effective LOC\n@@ -173,15 +176,6 @@\n     # Default target: bash\n     if (!target) target = \"bash\"\n \n-    # Rebuild EntryScript\n-    findIncludes(EntryPoint)\n-    print \"#!\/bin\/sh\" > EntryScript\n-    print \"TRANS_DIR=`dirname $0`\" > EntryScript\n-    print \"gawk \\\\\" > EntryScript\n-    for (i = 0; i < length(Includes) - 1; i++)\n-        print \"-i \\\"${TRANS_DIR}\/\" Includes[i] \"\\\" \\\\\" > EntryScript\n-    print \"-f \\\"${TRANS_DIR}\/\" Includes[i] \"\\\" -- \\\"$@\\\"\" > EntryScript\n-\n     (\"mkdir -p \" parameterize(BuildPath)) | getline\n \n     if (target == \"bash\" || target == \"zsh\") {\n@@ -220,6 +214,15 @@\n         print \"gawk -f <(echo -E \\\"$TRANS_PROGRAM\\\") - \\\"$@\\\"\" > Trans\n \n         (\"chmod +x \" parameterize(Trans)) | getline\n+\n+        # Rebuild EntryScript\n+        print \"#!\/bin\/sh\" > EntryScript\n+        print \"TRANS_DIR=`dirname $0`\" > EntryScript\n+        print \"gawk \\\\\" > EntryScript\n+        for (i = 0; i < length(Includes) - 1; i++)\n+            print \"-i \\\"${TRANS_DIR}\/\" Includes[i] \"\\\" \\\\\" > EntryScript\n+        print \"-f \\\"${TRANS_DIR}\/\" Includes[i] \"\\\" -- \\\"$@\\\"\" > EntryScript\n+        (\"chmod +x \" parameterize(EntryScript)) | getline\n         return 0\n \n     } else if (target == \"awk\" || target == \"gawk\") {\n"}
{"commit":"8174e28bf48c467f31fda3c4f9a2a2c7f62766d9","subject":"less chatty mostly","message":"less chatty mostly\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -28,12 +28,14 @@\n \n # break URI into tokens to use a a path in\n # multi-dim array pointing to a curie-prefix\n+# base URI include \"!#&-=?_\"\n+# which are all also present in localID as well\n function tokenize (str){\n     # b\/c found in local IDs leave .:\n-    gsub(\/[?&:#=\/_-]+\/, SUBSEP, str)\n+    gsub(\/[!&:#=?\/_-]+\/, SUBSEP, str)\n     # discard the first token it is only low info content  http|https|ftp\n     # discard any empty trailing tokens\n-    tail = match(str, \".*\" SUBSEP \"$\")  # side effects RSTART & RLENGTH\n+    tail = match(str, \".*\" SUBSEP)  # side effects RSTART & RLENGTH\n     # print \"tail = \" tail \" tail length = \" RLENGTH\n     finish = 0\n     start = index(str, SUBSEP) + 1\n@@ -48,11 +50,11 @@\n }\n \n # remove final token from token path delimited with SUBSEP\n-# this ends up matching chars included in local identifiers \n+# this ends up matching chars included in localID\n # ._-;():%#,?=@*\\&+   (yea ... nope)\n \n function detail(key,   start) {\n-    start = match(key, \".+\" SUBSEP) \n+    start = match(key, \".+\" SUBSEP)\n     if(start == 1)\n         return substr(key, 1, RLENGTH -1)\n     else\n@@ -90,7 +92,7 @@\n         return prefix[u]\n     else{\n         printf(\"WARN  %s\\n\", uri) > \"\/dev\/stderr\"\n-        printf(\"BASE  %s\\n\", detail(tokenize(uri))) > \"\/dev\/stderr\"\n+        # printf(\"BASE  %s\\n\", detail(tokenize(uri))) > \"\/dev\/stderr\"\n         return simplify(uri)\n     }\n }\n"}
{"commit":"1e20ed1e95ab74138f12742a4a69b5b82738143d","subject":"Add gensub examples #chunks","message":"Add gensub examples #chunks\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- chunks\/chunks.awk\n+++ chunks\/chunks.awk\n@@ -4,6 +4,10 @@\n match($0, \/^mix ([^ ]+) +# +(.*)\/, arr) {\n   print arr[1] \"\\t\" arr[2]\n }\n+\n+filename=gensub(\" \", \"-\", \"g\", $0)\n+# only once\n+filename=gensub(\" \", \"-\", 1, $0)\n \n # https:\/\/www.gnu.org\/software\/gawk\/manual\/html_node\/String-Functions.html\n #\n"}
{"commit":"e65799dab0250bee5ae3ec0e60d1292b93c48cb0","subject":"change -d to -D as shorthand for option -debug","message":"change -d to -D as shorthand for option -debug\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -116,8 +116,8 @@\n             exit\n         }\n \n-        # -d, -debug\n-        match(ARGV[pos], \/^--?d(e(b(ug?)?)?)?$\/)\n+        # -D, -debug\n+        match(ARGV[pos], \/^--?(debug|D)$\/)\n         if (RSTART) {\n             Option[\"debug\"] = 1\n             continue\n"}
{"commit":"7771389597d083b2cbea629bb74b196b3938f1f4","subject":"Cleanup diagnostic print statement comments","message":"Cleanup diagnostic print statement comments\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFromSitemap.awk\n+++ getBBoxCatalogFromSitemap.awk\n@@ -215,9 +215,7 @@\n             title = \"Porridge (2016-2017)\"\n         }\n         # print \"==> title = \" title > \"\/dev\/stderr\"\n-        # print \"==> contentId = \" contentId > \"\/dev\/stderr\"\n         # print \"==> EntityId = \" EntityId > \"\/dev\/stderr\"\n-        # print \"---\" > \"\/dev\/stderr\"\n     }\n \n     # \"A Midsummer Night's Dream\" needs to be revised to avoid duplicate names\n@@ -247,10 +245,7 @@\n             title = \"Maigret (2016\u20132017)\"\n         }\n         # print \"==> title = \" title > \"\/dev\/stderr\"\n-        # print \"==> originalDate = \" originalDate > \"\/dev\/stderr\"\n-        # print \"==> contentId = \" contentId > \"\/dev\/stderr\"\n         # print \"==> EntityId = \" EntityId > \"\/dev\/stderr\"\n-        # print \"---\" > \"\/dev\/stderr\"\n     }\n \n     if (EntityId == \"\") {\n"}
{"commit":"a3e4ddc872639d3df8a42e3d4a92ac0d2ca675f7","subject":"Typo.","message":"Typo.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@31414 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -36,7 +36,7 @@\n           r[pn] = \"4\"\n #        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Pz\")) {\n #          r[pn] = \"5\"\n-        } else if (substr(p[pn],1,1) >= \"IA\") {\n+        } else if (substr(p[pn],1,1) >= \"Ia\") {\n           r[pn] = \"8\"\n         }\n       }\n"}
{"commit":"1a84e075d4b530e8b9f1d61e351c87567ce2ab4d","subject":"Script: upgrade(): change \"download-from\" address to HTTPS","message":"Script: upgrade(): change \"download-from\" address to HTTPS\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Script.awk\n+++ include\/Script.awk\n@@ -60,7 +60,7 @@\n     if (newerVersion(newVersion, Version)) {\n         w(\"Current version: \\t\" Version)\n         w(\"New version available: \\t\" newVersion)\n-        w(\"Download from: \\t\" \"http:\/\/www.soimort.org\/translate-shell\/trans\")\n+        w(\"Download from: \\t\" \"https:\/\/www.soimort.org\/translate-shell\/trans\")\n     } else {\n         w(\"Current version: \\t\" Version)\n         w(\"Already up-to-date.\")\n"}
{"commit":"858acc12273bee3d29b67b3c9caad11da6f83ffa","subject":"LanguageHelper: scriptName(): add Cans","message":"LanguageHelper: scriptName(): add Cans\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageHelper.awk\n+++ include\/LanguageHelper.awk\n@@ -128,6 +128,7 @@\n     case \"Arab\": return \"Arabic\"\n     case \"Armn\": return \"Armenian\"\n     case \"Beng\": return \"Bengali\"\n+    case \"Cans\": return \"Canadian Aboriginal Syllabics\"\n     case \"Cher\": return \"Cherokee\"\n     case \"Cyrl\": return \"Cyrillic\"\n     case \"Deva\": return \"Devanagari\"\n"}
{"commit":"31b9dcca7a6cdf594f692382a1ca97171cbf95bc","subject":"[as] Fix list of arguments in gen.awk","message":"[as] Fix list of arguments in gen.awk\n\nOnly the last argument was printed to the intermediate\nfile because the concatenation was lost.\n","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- as\/target\/gen.awk\n+++ as\/target\/gen.awk\n@@ -67,11 +67,11 @@\n \tfor (i in args) {\n \t\ta = args[i]\n \t\tif (match(a, \/^imm8\/)) {\n-\t\t\tout = \"AIMM8\"\n+\t\t\tout = out \"AIMM8\"\n \t\t} else if (match(a, \/^imm16\/)) {\n-\t\t\tout = \"AIMM16\"\n+\t\t\tout = out \"AIMM16\"\n \t\t} else if (match(a, \/^imm32\/)) {\n-\t\t\tout = \"AIMM32\"\n+\t\t\tout = out \"AIMM32\"\n \t\t} else if (match(a, \/^imm64\/)) {\n \t\t\tout = \"AIMM64\"\n \t\t} else {\n"}
{"commit":"302b27ce90619dd16d2cb2faac1103f95fcca2ff","subject":"fix for invalid FILETRANSFER_PLUGINS in default config on windows #4012 ===VersionHistory:Pending===","message":"fix for invalid FILETRANSFER_PLUGINS in default config on windows #4012\n===VersionHistory:Pending===\n","repos":"zhangzhehust\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -37,27 +37,50 @@\n # installer. This is done before the .exe append bellow, because that match \n # seems to block any other matches for that line.\n \/^#VM_GAHP_SERVER\/ {\n-\tprint \"#VM_GAHP_SERVER = $(BIN)\/condor_vm-gahp.exe\"\n+\tprint \"#VM_GAHP_SERVER = $(BIN)\\\\condor_vm-gahp.exe\"\n \tprint \"VM_GAHP_SERVER = \"\n \tnext\n }\n-\n-# Add a .exe to the end of all condor daemon names in $(BIN) and $(SBIN)\n-\/BIN)\\\/condor_\/ {\n-\tprintf \"%s.exe\\n\",$0\n-\tnext\n-}\n-\n-# Add a .exe to the end of all condor daemon names in $(LIBEXEC)\n-\/LIBEXEC)\\\/condor_\/ {\n-\tprintf \"%s.exe\\n\",$0\n+# We DONT want to add a .exe extension to the vmware script, it's a perl script.\n+\/VMWARE_SCRIPT[ \\t]*=\/ {\n+\tgsub(\/\\\/\/, \"\\\\\", $0)\n+\tprintf \"%s\\n\",$0\n+\tnext\n+}\n+\n+# Remove SHADOW_STANDARD (the standard universe shadow)\n+# \n+\/^SHADOW_STANDARD\/ {\n+\tnext\n+}\n+\/^SHADOW_LIST\/ {\n+    printf \"SHADOW_LIST = SHADOW\\n\"\n+    next\n+}\n+\n+# Remove STARTER_STANDARD (the standard universe starter)\n+#\n+\/^STARTER_STANDARD\/ {\n+    next\n+}\n+\/^STARTER_LIST\/ {\n+    printf \"STARTER_LIST = STARTER\\n\"\n+    next\n+}\n+\n+\/^FILETRANSFER_PLUGINS[ \\t]*=\/ {\n+\tgsub(\/\\\/\/, \"\\\\\", $0)\n+\tgsub(\/_plugin,\/, \"_plugin.exe,\", $0)\n+\tgsub(\/_plugin$\/, \"_plugin.exe\", $0)\n+\tprintf \"#%s\\n\",$0\n+\tprintf \"FILETRANSFER_PLUGINS = $(LIBEXEC)\\\\data_plugin.exe\\n\";\n \tnext\n }\n \n # Email Settings\n # Use condor_mail.exe for MAIL, and put in a stub for SMTP_SERVER\n \/^MAIL\/ {\n-\tprintf \"MAIL = $(BIN)\/condor_mail.exe\\n\\n\"\n+\tprintf \"MAIL = $(BIN)\\\\condor_mail.exe\\n\\n\"\n \tprintf \"## For Condor on Win32 we need to specify an SMTP server so\\n\"\n \tprintf \"## that Condor is able to send email.\\n\"\n \tprintf \"SMTP_SERVER =\\n\\n\"\n@@ -71,26 +94,6 @@\n \tnext\n }\n \n-# Remove SHADOW_STANDARD (the standard universe shadow)\n-# \n-\/^SHADOW_STANDARD\/ {\n-\tnext\n-}\n-\/^SHADOW_LIST\/ {\n-    printf \"SHADOW_LIST = SHADOW\\n\"\n-    next\n-}\n-\n-# Remove STARTER_STANDARD (the standard universe starter)\n-#\n-\/^STARTER_STANDARD\/ {\n-    next\n-}\n-\/^STARTER_LIST\/ {\n-    printf \"STARTER_LIST = STARTER\\n\"\n-    next\n-}\n-\n # Choose a Windows-reasonable value for RELEASE_DIR and LOCAL_DIR\n #\n \/^RELEASE_DIR[ \\t]*=\/ {\n@@ -143,8 +146,8 @@\n }\n \n # Clean out the initial guess of \/usr\/bin\/java for JAVA... ;)\n-# Note the space after JAVA below, so we do not change other JAVA settings.\n-\/^JAVA \/ {\n+# wherever it is on Windows, it's not there.\n+\/^JAVA[ \\t]*=\/ {\n \tprintf \"JAVA =\\n\"\n \tnext\n }\n@@ -227,5 +230,36 @@\n \tnext\n }\n \n+# Add a .exe to the end of all condor daemon names in $(BIN) and $(SBIN)\n+\/BIN)\\\/condor_\/ {\n+\tgsub(\/\\\/\/, \"\\\\\", $0)\n+\tprintf \"%s.exe\\n\",$0\n+\tnext\n+}\n+\n+# Add a .exe to the end of all condor daemon names in $(LIBEXEC)\n+\/LIBEXEC)\\\/condor_\/ {\n+\tgsub(\/\\\/\/, \"\\\\\", $0)\n+\tprintf \"%s.exe\\n\",$0\n+\tnext\n+}\n+\n+# convert paths relative to LOCAL_DIR, RELEASE_DIR and LOG to windows path separators\n+\/[ \\t]*=[ \\t]*\\$\\(LOCAL_DIR\\)\\\/\/ {\n+\tgsub(\/\\\/\/, \"\\\\\", $0)\n+\tprintf \"%s\\n\",$0\n+\tnext\n+}\n+\/[ \\t]*=[ \\t]*\\$\\(RELEASE_DIR\\)\\\/\/ {\n+\tgsub(\/\\\/\/, \"\\\\\", $0)\n+\tprintf \"%s\\n\",$0\n+\tnext\n+}\n+\/[ \\t]*=[ \\t]*\\$\\(LOG\\)\\\/\/ {\n+\tgsub(\/\\\/\/, \"\\\\\", $0)\n+\tprintf \"%s\\n\",$0\n+\tnext\n+}\n+\n # If we made it here, print out the line unchanged\n {print $0}\n"}
{"commit":"5b90d2c641b6fbaafe04e7b494d6611d60f58cea","subject":"Theme: make random theme work again","message":"Theme: make random theme work again\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Theme.awk\n+++ include\/Theme.awk\n@@ -118,7 +118,8 @@\n \n # Set theme using corresponding option.\n function setTheme(    file, line, script) {\n-    if (Option[\"theme\"] && Option[\"theme\"] != \"default\") {\n+    if (Option[\"theme\"] && Option[\"theme\"] != \"default\"                 \\\n+        && Option[\"theme\"] != \"none\" && Option[\"theme\"] != \"random\") {\n         file = Option[\"theme\"]\n         if (!fileExists(file)) {\n             file = ENVIRON[\"HOME\"] \"\/.translate-shell\/\" Option[\"theme\"]\n"}
{"commit":"c27b6c7be69ca8452fa5f54361cd8b879f59cd05","subject":"LanguageHelper: improve getDetails() for writing systems","message":"LanguageHelper: improve getDetails() for writing systems\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageHelper.awk\n+++ include\/LanguageHelper.awk\n@@ -180,6 +180,25 @@\n     return r\n }\n \n+# Return the regions that a script is written in, as an English string.\n+function getWrittenIn(code,    i, j, r, regions, str) {\n+    r = NULLSTR\n+    str = Locale[getCode(code)][\"written-in\"]\n+    if (str) {\n+        split(str, regions, \/\\s?;\\s?\/)\n+        j = 0\n+        for (i in regions) {\n+            r = r regions[i]\n+            j++\n+            if (j < length(regions) - 1)\n+                r = r \", \"\n+            else if (j == length(regions) - 1)\n+                r = r \" and \"\n+        }\n+    }\n+    return r\n+}\n+\n # Return 1 if a language is supported by Google; otherwise return 0.\n function isSupportedByGoogle(code,    engines, i, str) {\n     str = Locale[getCode(code)][\"supported-by\"]\n@@ -203,7 +222,7 @@\n }\n \n # Return detailed information of a language as a string.\n-function getDetails(code,    article, desc, group, iso, script) {\n+function getDetails(code,    article, desc, group, iso, name, names, script, writing) {\n     if (code == \"auto\" || !getCode(code)) {\n         e(\"[ERROR] Language not found: \" code \"\\n\"                      \\\n           \"        Run '-reference \/ -R' to see a list of available languages.\")\n@@ -212,22 +231,34 @@\n \n     script = scriptName(getScript(code))\n     if (isRTL(code)) script = script \" (R-to-L)\"\n+\n     split(getISO(code), group, \"-\")\n     iso = group[1]\n+\n+    name = getName(code)\n+    names = getNames(code)\n+    if (match(name, \/\\(.*\\)\/)) {\n+        writing = substr(name, match(name, \/\\(.*\\)\/) + 1)\n+        writing = substr(writing, 1, length(writing) - 1)\n+        name = substr(name, 1, match(name, \/\\(.*\\)\/) - 2)\n+    }\n \n     if (getBranch(code)) {\n         article = match(tolower(getBranch(code)), \/^[aeiou]\/) ? \"an\" : \"a\"\n         desc = sprintf(\"%s is %s %s language spoken mainly in %s.\",\n-                       getNames(code), article, getBranch(code), getSpokenIn(code))\n+                       names, article, getBranch(code), getSpokenIn(code))\n     } else if (getFamily(code) == NULLSTR || tolower(getFamily(code)) == \"language isolate\") {\n         desc = sprintf(\"%s is a language spoken mainly in %s.\",\n-                       getNames(code), getSpokenIn(code))\n+                       names, getSpokenIn(code))\n     } else\n         desc = sprintf(\"%s is a language of the %s family, spoken mainly in %s.\",\n-                       getNames(code), getFamily(code), getSpokenIn(code))\n+                       names, getFamily(code), getSpokenIn(code))\n+    if (writing && getWrittenIn(code))\n+        desc = desc sprintf(\" The %s writing system is officially used in %s.\",\n+                            tolower(writing), getWrittenIn(code))\n \n     return ansi(\"bold\", sprintf(\"%s\\n\", getDisplay(code)))              \\\n-        sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getNames(code)))      \\\n+        sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", names))               \\\n         sprintf(\"%-22s%s\\n\", \"Family\", ansi(\"bold\", getFamily(code)))   \\\n         sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", script))    \\\n         sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code)))       \\\n"}
{"commit":"17232446685d7cf2da40c9d385c3adf40da39780","subject":"Utils: add a short note for dump()","message":"Utils: add a short note for dump()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -155,6 +155,7 @@\n }\n \n # Dump a Unicode string into a byte array. Return the length of the array.\n+# NOTE: can only be ran once for each text! Build a cache.\n function dump(text, group,    command, temp) {\n     command = \"hexdump\" \" -e'1\/1 \\\"%03d\\\" \\\" \\\"'\"\n     (\"echo \" parameterize(text) PIPE command) | getline temp\n"}
{"commit":"b7d7ed3a21849614291ee07e03a5adbc7910b08f","subject":"Fix bugs","message":"Fix bugs\n","repos":"hibitomo\/lagofirewall,hibitomo\/lagofirewall,hibitomo\/lagofirewall","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- scripts\/rules2flows.awk\n+++ scripts\/rules2flows.awk\n@@ -22,6 +22,6 @@\n \t\tl4_match = l4_match\",\"metadata\n \t    }\n     }\n-    str = \"{\"table_id\",\"priority\",\"cookie\",\"actions\",\\\"match\\\":{\\\"in_port\\\":1,\"dl_type\",\"ip_src\",\"ip_dst\"\"l4_match\"}}\";\n+    str = \"{\"table_id\",\"priority\",\"cookie\",\"actions\",\\\"match\\\":{\"dl_type\",\"ip_src\",\"ip_dst\"\"l4_match\"}}\";\n     print str;\n }\n"}
{"commit":"df0a941dd12f982fefd3adfc5c1783b3939d18cb","subject":"Reset the len value","message":"Reset the len value\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- impl\/delabel.awk\n+++ impl\/delabel.awk\n@@ -11,6 +11,8 @@\n \n     for (i = 1; i <= len; i++) uniq[words[i]];\n \n+    len = 0;\n+\n     for (word in uniq) {\n         synset = synset sep word;\n         sep = \", \";\n"}
{"commit":"936973b125c3424188bb6289bb16e9b615444be1","subject":"dynamic regexp","message":"dynamic regexp\n\nEffective awk programming : universal text processing and pattern matching \/ Arnold Robbins","repos":"Aurametrix\/Alg-U,Aurametrix\/Alg-U","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- REGEX\/txt.awk\n+++ REGEX\/txt.awk\n@@ -1 +1,5 @@\n echo aaaabcd | awk '{ sub(\/a+\/, \"<A>\"); print }'\n+\n+\n+BEGIN { digits_regexp = \"[[:digit:]]+\" }\n+$0 ~ digits_regexp    { print }\n"}
{"commit":"5b402dcf53464a244ba146cf248ac1c230bf11b2","subject":"Indent line after } else {","message":"Indent line after } else {\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -167,7 +167,7 @@\n             if (episodeType == \"T\") {\n                 episodeDescription = episodeTitle\n             } else {\n-            print \"==> No description: \" shortURL >> ERROR_FILE\n+                print \"==> No description: \" shortURL >> ERROR_FILE\n             }\n         }\n         sub (\/^PR \\| \/,\"\",episodeDescription)\n"}
{"commit":"bc734bf80c808d6a351e4548b5f57d246b3b5d6f","subject":"Utils: fix curl()","message":"Utils: fix curl()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -136,7 +136,7 @@\n         command = Curl \" --location --silent \" url\n         content = NULLSTR\n         while ((command |& getline line) > 0)\n-            content = content line \"\\n\"\n+            content = (content ? content \"\\n\" : NULLSTR) line\n         return content\n     }\n }\n"}
{"commit":"f85b52acde5c64537ae94975f1baf21c65df64f0","subject":"space\/tab","message":"space\/tab\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/label_dot_edge.awk\n+++ scripts\/label_dot_edge.awk\n@@ -34,7 +34,7 @@\n \t\tfor(i=2;i<=length(term);i++)\n \t\t\trow[4] = row[4] \"\\\"\" term[i]\n \t}\n-    line = row[1]\n+\tline = row[1]\n \tfor(i=2;i<=length(row);i++)\n \t\tline = line \" \" row[i]\n \tprint  line\n"}
{"commit":"2cc222c3b7e878cef2193cbb7fcd68ae73206cd6","subject":"added dgtwc: http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#  to enhancement template maker","message":"added dgtwc: http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#  to enhancement template maker\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -58,6 +58,7 @@\n       print \"@prefix dbpedia:       <http:\/\/dbpedia.org\/resource\/> .\"\n       print \"@prefix con:           <http:\/\/www.w3.org\/2000\/10\/swap\/pim\/contact#> .\"\n       print \"@prefix muo:           <http:\/\/purl.oclc.org\/NET\/muo\/muo#> .\"\n+      print \"@prefix dgtwc:         <http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#> .\"\n    }\n    print \"@prefix dcterms:       <http:\/\/purl.org\/dc\/terms\/> .\"\n    print \"@prefix void:          <http:\/\/rdfs.org\/ns\/void#> .\"\n"}
{"commit":"3be11f77dab60f9c5a255df906013affcd18ba8f","subject":"Bell-Labs AWK does not support POSIX \"bracket expressions\" (POSIXese for \"character classes\", basically).  So change them to their character representation.","message":"Bell-Labs AWK does not support POSIX \"bracket expressions\" (POSIXese for\n\"character classes\", basically).  So change them to their character\nrepresentation.\n\nSubmitted by:\tDavid Wolfskill <david@catwhisker.org>\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/boot\/common\/merge_help.awk\n+++ sys\/boot\/common\/merge_help.awk\n@@ -20,13 +20,13 @@\n }\n \n # entry header\n-\/^# T[[:graph:]]+ (S[[:graph:]]+ )*D[[:graph:]][[:print:]]*$\/ && (state == 1) \\\n+\/^# T[\\x21-\\x7e]+ (S[\\x21-\\x7e]+ )*D[\\x21-\\x7e][\\x20-\\x7e]*$\/ && (state == 1) \\\n {\n-  match($0, \" T[[:graph:]]+\");\n+  match($0, \" T[\\x21-\\x7e]+\");\n   T = substr($0, RSTART + 2, RLENGTH - 2);\n-  match($0, \" S[[:graph:]]+\");\n+  match($0, \" S[\\x21-\\x7e]+\");\n   S = (RLENGTH == -1) ? \"\" : substr($0, RSTART + 2, RLENGTH - 2);\n-  match($0, \" D[[:graph:]][[:print:]]*$\");\n+  match($0, \" D[\\x21-\\x7e][\\x20-\\x7e]*$\");\n   D = substr($0, RSTART + 2);\n \n   # find a suitable place to store this one...\n"}
{"commit":"28819d20856fa0d7e4585c6b5f0d242a9bf2159a","subject":"Commons: bold red error e()","message":"Commons: bold red error e()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -269,7 +269,7 @@\n \n # Print error message.\n function e(text) {\n-    print ansi(\"red\", text) > \"\/dev\/stderr\"\n+    print ansi(\"bold\", ansi(\"red\", text)) > \"\/dev\/stderr\"\n }\n \n # Print debugging message.\n"}
{"commit":"72854692b4af5a753670ce0b0c973d43d9376797","subject":"fix condition in iteration getReply","message":"fix condition in iteration getReply\n","repos":"fengshao0907\/redis-in-action,josiahcarlson\/redis-in-action,lvbaosong\/redis-in-action,lym\/redis-in-action,EasonYi\/redis-in-action,lym\/redis-in-action,2hf\/redis-in-action,lym\/redis-in-action,paulinohuerta\/redis-in-action,EasonYi\/redis-in-action,lym\/redis-in-action,fengshao0907\/redis-in-action,lvbaosong\/redis-in-action,fengshao0907\/redis-in-action,michaelBenin\/redis-in-action,josiahcarlson\/redis-in-action,michaelBenin\/redis-in-action,2hf\/redis-in-action,lvbaosong\/redis-in-action,josiahcarlson\/redis-in-action,lvbaosong\/redis-in-action,2hf\/redis-in-action,lvbaosong\/redis-in-action,fengshao0907\/redis-in-action,2hf\/redis-in-action,josiahcarlson\/redis-in-action,paulinohuerta\/redis-in-action,josiahcarlson\/redis-in-action,josiahcarlson\/redis-in-action,michaelBenin\/redis-in-action,fengshao0907\/redis-in-action,EasonYi\/redis-in-action,paulinohuerta\/redis-in-action,michaelBenin\/redis-in-action,EasonYi\/redis-in-action,2hf\/redis-in-action,EasonYi\/redis-in-action,paulinohuerta\/redis-in-action,paulinohuerta\/redis-in-action","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gawk\/ch04\/ch04.awk\n+++ gawk\/ch04\/ch04.awk\n@@ -164,6 +164,6 @@\n       zremrangebyrank(p,\"viewed:\"token, 0, -26)\n       zincrby(p,\"viewed:\", -1, item)\n     }\n-    for(ERRNO=\"\" ; ERRNO=\"\" ; var=getReply(p,REPLY)) ;\n-    ERRNO==\"\"\n+    for(ERRNO=\"\" ; ERRNO==\"\" ; getReply(p,REPLY)) \n+      ;\n }\n"}
{"commit":"790be2362e32f8c15486ba7f9ab9dedade3d5a51","subject":"Fix ofmtstrnum","message":"Fix ofmtstrnum\n\nThis is a weird one: Go splitting on an empty regex gives the individual\ncharacters in the string (like JavaScript). AWK and Python give the\noriginal string. So change the regex to \"x\" to mimic the latter behavior.\n","repos":"benhoyt\/goawk,benhoyt\/goawk,benhoyt\/goawk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- testdata\/gawk\/ofmtstrnum.awk\n+++ testdata\/gawk\/ofmtstrnum.awk\n@@ -1,5 +1,5 @@\n BEGIN {\n-\tsplit(\" 1\", f, \"|\")\n+\tsplit(\" 1\", f, \"x\")\n \tOFMT = \"%.1f\"\n \tprint f[1]\n \tx = f[1] + 0\n"}
{"commit":"c4416aed651ac6c1aed54f24c6de95ca47de98ad","subject":"Generalize series mismatch fix","message":"Generalize series mismatch fix\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -243,7 +243,7 @@\n     # The season number should match that in the URL\n     # Birds of a Feather, Doc Martin, Murdoch, Poirot, Rebus, and Vera have known problems\n     if (episodeURL ~ \\\n-           \/\\\/birdsfeather\\\/series[0-9]{1,2}\\\/|\\\/docmartin\\\/series[0-9]{1,2}\\\/|\\\/murdoch\\\/season[0-9]{1,2}|\\\/poirot\\\/series[0-9]{1,2}\\\/|\\\/rebus\\\/series[0-9]{1,2}\\\/|\\\/vera\\\/series[0-9]{1,2}\\\/\/) {\n+           \/\\\/series[0-9]{1,2}\\\/|\\\/murdoch\\\/season[0-9]{1,2}\/) {\n         split (episodeURL, part, \"\/\")\n         URLseasonNumber = part[5]\n         sub (\/christmasspecial\/,\"\",URLseasonNumber)\n"}
{"commit":"eb56670c79d3ca3824e391563891a9c5550eea8f","subject":"Replace GNU-specific character classes with MAWK-compatible expressions.","message":"Replace GNU-specific character classes with MAWK-compatible expressions.\n","repos":"michpolicht\/CuteHMI,michpolicht\/CuteHMI,michpolicht\/CuteHMI,michpolicht\/CuteHMI,michpolicht\/CuteHMI","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- awkgward\/awkgward.awk\n+++ awkgward\/awkgward.awk\n@@ -40,8 +40,8 @@\n \n function create_guard_macro(prefix, filename)\n {\n+    double_underscore = toupper(filename);\n     # just in case, double single underscores\n-    double_underscore = toupper(filename);\n     gsub(\/_\/, \"__\", double_underscore);\n     # \\\/ = slash (\/), \\. = dot (.), \\\\ = backslash (\\) - replace them with underscore.\n     gsub(\/[\\\/\\.\\\\]\/, \"_\", double_underscore);\n@@ -83,7 +83,7 @@\n     state = S_START;\n }\n  \n-\/^#ifndef[[:space:]].*\/ {\n+\/^#ifndef[\\t ].*\/ {\n     if (state == S_START) {\n         ifndef_buf = $0;\n         state = S_FIRST_IFNDEF;\n@@ -91,7 +91,7 @@\n     }\n }\n \n-\/^#define[[:space:]].*\/ {\n+\/^#define[\\t ].*\/ {\n     if (state == S_FIRST_IFNDEF) {\n         #eat old guard and replace it with new one\n         print_or_buf(create_guard(prefix, FILENAME));\n@@ -102,7 +102,7 @@\n         state = S_END;\n }\n \n-\/^#endif[[:space:]].*\/ {\n+\/^#endif[\\t ].*\/ {\n     #flush old buffer and whatever was in endif line\n     if (global_buf_mode) {\n         print endif_line;\n"}
{"commit":"a732fb40a8c283bb175311e0ab1450d7a097cb7e","subject":"addr_utils.awk\t\t-- added code to upcase 1st letter of words in street -- deals el Camino, de las Pulgas, etc","message":"addr_utils.awk\t\t-- added code to upcase 1st letter of words in street -- deals el Camino, de las Pulgas, etc\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -26,7 +26,6 @@\n \t\t}\n \t}\n \n-\t# TODO: move this to a separate function, may AU_expand()\n \tif(!options[\"rply\"]){\n \t\t# As a convenience to the user, given that nearly all the addresses\n \t\t# are in small set of nearby towns, the minimal query address can be \n@@ -115,22 +114,16 @@\n \t\treturn 1\n \t}\n \n-\t# Street Hacks: Probably should just compare ignore case but not ready for that step yet\n-\t# change el Camino X to El Camino X\n-\t# change el Monte X  to El Monte X\n-\tif(options[\"do_subs\"]){\n-\t\tif(nf2 > 3){\n-\t\t\tif(ary2[nf2-2] == \"el\" && ary2[nf2-1] == \"Camino\")\n-\t\t\t\tary2[nf2-2] = \"El\"\n-\t\t\telse if(ary2[nf2-2] == \"el\" && ary2[nf2-1] == \"Monte\")\n-\t\t\t\tary2[nf2-2] =  \"El\"\n-\t\t}\n+\t# If a word in street begins w\/lower case, upper case it.  Convert, say el Camino to El Camino, etc\n+\tfor(i = 2; i <= nf2; i++){\n+\t\tif(substr(ary2[i], 1, 1) ~ \/^[a-z]\/)\n+\t\t\tary2[i] = toupper(substr(ary2[i], 1, 1)) substr(ary2[i], 2)\n \t}\n \n \t# Street should be num [ dir ] str [ st ] [ dir ]\n \tstreet = ary2[1]\n \tif(options[\"do_subs\"]){\n-\t\t# This is amusing.  What is South Court? Is is S. Court or South Ct.  No idea so leave such streets in long form\n+\t\t# This is amusing.  What is South Court? Is it S. Court or South Ct.  No idea so leave such streets in long form\n \t\tif(nf2 == 3 && (ary2[2] in dirs) && (ary2[3] in st_types)){\n \t\t\tfor(i = 2; i <= nf2; i++)\n \t\t\t\tstreet = street \" \" ary2[i]\n@@ -159,7 +152,6 @@\n \t\t\tstreet = street \" \" ary2[i]\n \t}\n \n-\t# TODO: this belongs in a separate function\n \tif(options[\"rply\"]){\n \t\tif(town in towns)\n \t\t\ttown = towns[town]\n"}
{"commit":"d85a0a7fd0e6969dddb19cd7512b90ee01eee072","subject":"parsegaspriceshtml.awk: Count nested <tr> for inGasPriceRecord. (Fix for UDF.)","message":"parsegaspriceshtml.awk: Count nested <tr> for inGasPriceRecord. (Fix for UDF.)\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -41,16 +41,18 @@\n    gsub(\"<img src=\\\"\/images\/brands\/199_p.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    gsub(\"<img src=\\\"http:\/\/mycertifiedoil.com\/images\/249\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Certified\")\n    gsub(\"<img src=\\\"http:\/\/bellstores.com\/images\/253\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Marathon\")\n-   # gsub(\"<img src=\\\"http:\/\/udfstores.com\/images\/1360\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"UDF\")\n+   gsub(\"<img src=\\\"http:\/\/udfstores.com\/images\/1360\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"UDF\")\n    expectName=False\n    sub(\"<\/a>[ ]*$\",\"\")\n    sub(\"^.*>\",\"\")\n    sub(\"&amp;\",\"\\\\&\")\n+   # print \"name\", i, name[i], $0\n    name[i]=$0\n    # print\n }\n \n inGasPriceRecord && \/ class=\"p_area\">\/ {\n+   # print \"area\", i, name[i], $0\n    sub(\"^.* class=\\\"p_area\\\">\",\"\")\n    sub(\"<\/a>[ ]*$\",\"\")\n    area[i]=$0\n@@ -69,11 +71,18 @@\n    # print\n }\n \n+inGasPriceRecord && \/<tr>\/ {\n+   inGasPriceRecord += 1\n+}\n+\n inGasPriceRecord && \/<\\\/tr>\/ {\n-   i ++\n-   # print \"EOR\"\n-   # print $0\n-   inGasPriceRecord=False\n+   inGasPriceRecord -= 1\n+   if (!inGasPriceRecord) {\n+      i ++\n+      # print \"EOR\"\n+      # print $0\n+      inGasPriceRecord=False\n+   }\n }\n \n END {\n"}
{"commit":"055e9078cb0650598ffcf86be7cb4865602a86e0","subject":"Do not use sort -s in lexicon.awk","message":"Do not use sort -s in lexicon.awk\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lexicon.awk\n+++ lexicon.awk\n@@ -7,5 +7,5 @@\n }\n {\n     gsub(\/, \/, ORS, $3);\n-    print $3 | \"sort --parallel=$(nproc) -S1G -us\";\n+    print $3 | \"sort --parallel=$(nproc) -S1G -u\";\n }\n"}
{"commit":"1e357a1ce06f39a626ccca0620f3722b0b4a65ef","subject":"SImplify first awk script","message":"SImplify first awk script\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMhzFrom-browsePage.awk\n+++ getMhzFrom-browsePage.awk\n@@ -1,33 +1,36 @@\n-# Given the output of:\n-#    curl -s https:\/\/mhzchoice.vhx.tv\/series https:\/\/mhzchoice.vhx.tv\/series?page=2\n-# create lists of titles, urls and seasons to be pasted into a spreadsheet\n+# Generate series URLs, Titles, Number of Seasons from MHz \"Browse\" page\n #\n-# e.g.\n-# <a href=\"https:\/\/mhzchoice.vhx.tv\/a-french-village\"><strong title=\"A French Village\">A French Village<\/strong><\/a>\n-# <h4 class=\"transparent\"><span class='media-count'>6 seasons<\/span><\/h4>\n+# INVOCATION: \n+#       curl -s https:\/\/mhzchoice.vhx.tv\/series https:\/\/mhzchoice.vhx.tv\/series?page=2 \\\n+#           | awk -v URL_FILE=$URL_FILE -v TITLE_FILE=$TITLE_FILE \\\n+#           -v NUM_SEASONS_FILE=$NUM_SEASONS_FILE -f getMHzFrom-browsePage.awk\n #\n+# INPUT:\n+#       <a href=\"https:\/\/mhzchoice.vhx.tv\/a-french-village\"><strong title=\"A French Village\">A French Village<\/strong><\/a>\n+#   ---\n+#       <h4 class=\"transparent\"><span class='media-count'>6 seasons<\/span><\/h4>\n #\n-# Invoked with file parameters as follows:\n-# awk -v URL_FILE=$URL_FILE -v TITLE_FILE=$TITLE_FILE \\\n-#     -v SEASONS_FILE=$SEASONS_FILE -f fetchMHz-series.awk\n+# OUTPUT:\n+#       $URL_FILE, $TITLE_FILE, $NUM_SEASONS_FILE\n \n \/https:\\\/\\\/mhzchoice.vhx.tv\\\/.*strong title\/ {\n-    sub (\/.*href=\"\/,\"\")\n-    endTitle = match($0,\/\"\/ ) -1\n-    print substr($0,1,endTitle) \"\/\" >> URL_FILE\n+    split($0,fld,\"\\\"\")\n+    URL = fld[2]\n+    TITLE = fld[4]\n \n-    sub (\/.*strong title=\"\/,\"\")\n-    sub (\/\".*$\/,\"\")\n-    gsub (\/&#x27;\/,\"'\")\n-    if (match ($0, \/^The \/)) {\n-        $0 = substr($0, 5) \", The\"\n+    print URL \"\/\" >> URL_FILE\n+\n+    # Canonicalize Title\n+    gsub (\/&#x27;\/,\"'\",TITLE)\n+    if (match (TITLE, \/^The \/)) {\n+        TITLE = substr(TITLE, 5) \", The\"\n     }\n-    print >> TITLE_FILE\n+    print TITLE >> TITLE_FILE\n }\n \n \/h4 class=\"transparent.*media-count\/ {\n     sub (\/.*media-count'>\/,\"\")\n     sub (\/ season.*$\/,\"\")\n-    print $0 >> SEASONS_FILE\n+    print $0 >> NUM_SEASONS_FILE\n }\n \n"}
{"commit":"4216918c754e15e54bf0bc4ab23398d62e683925","subject":"Translators\/BingTranslator: fix bingTTSUrl() (new API, #218)","message":"Translators\/BingTranslator: fix bingTTSUrl() (new API, #218)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"unknown","license":"unlicense","lang":"Awk","diff":""}
{"commit":"b78f60d78942d35b7d202c43e6ecc3f3350f6e58","subject":"Translators\/BingTranslator: support phonetics (transliteration)","message":"Translators\/BingTranslator: support phonetics (transliteration)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"unknown","license":"unlicense","lang":"Awk","diff":""}
{"commit":"bebb558ee2a2bdb01247cd89cd9c022414302397","subject":"Allow testing of back content","message":"Allow testing of back content\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@23463 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -1,5 +1,5 @@\n #!\/usr\/bin\/awk -f\n-# input: publisher\\tplugin\\tcontract_year\\tyear\\ttester\\tstatus\n+# cat *.tdb | tdbout -t publisher,plugin,publisher:info[contract],year,publisher:info[tester],status,publisher:info[back]\n \n BEGIN {\n   FS=\"\\t\"\n@@ -10,10 +10,15 @@\n   # add a loop to add line only if ending year is gt or eq to contract year\n   end_year = 0\n   incontract = 0\n+  if ($7 > 1900) {\n+    test_year = $7\n+  } else {\n+    test_year = $3\n+  }\n   if (length($4) > 3) {\n     end_year = substr($4,length($4)-3,4)\n   } \n-  if (end_year >= $3) {\n+  if (end_year >= test_year) {\n     incontract = 1\n   } \n \n@@ -21,17 +26,18 @@\n   if (incontract == 1) {\n       nn = split($2,na,\/\\.\/)\n       lp2 = na[nn]\n-    if (!(($1,lp2,$3,$4) in b)) {\n+    if (!(($1,lp2,$3,$7,$4) in b)) {\n       p[pn] = $1\n       n[pn] = lp2\n   #    n[pn] = $2\n       t[pn] = $3\n+      k[pn] = $7\n       d[pn] = $4\n       r[pn] = $5\n       pn++\n     }\n-    b[$1,lp2,$3,$4]++\n-    c[$1,lp2,$3,$4,$6]++\n+    b[$1,lp2,$3,$7,$4]++\n+    c[$1,lp2,$3,$7,$4,$6]++\n     x[$6]++\n     tt++\n   }\n@@ -65,7 +71,7 @@\n   scn = 11\n \n   #print out header\n-  printf \"Publisher\\tPlugin\\tContr\\tYear\\tT\\tTotal\"\n+  printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\tTotal\"\n   for (j = 0 ; j < scn ; j++) {\n     if (x[s[j]] > 0) {\n     printf \"\\t%s\", sc[j]\n@@ -73,22 +79,22 @@\n   }\n   printf \"\\n\"\n \n-  #print out publisher, plugin, contract year, year, total aus\n+  #print out publisher, plugin, contract year, back, year, tester, total aus\n   for (i = 0 ; i < pn ; i++) {\n-    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], d[i], r[i], b[p[i],n[i],t[i],d[i]]\n+    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r[i], b[p[i],n[i],t[i],d[i]]\n     for (j = 0 ; j < sn ; j++) {\n       if (x[s[j]] > 0){\n-      if (c[p[i],n[i],t[i],d[i],s[j]] == 0) {\n+      if (c[p[i],n[i],t[i],k[i],d[i],s[j]] == 0) {\n       printf \"\\t..\" \n     } else {\n-        printf \"\\t%d\", c[p[i],n[i],t[i],d[i],s[j]]\n+        printf \"\\t%d\", c[p[i],n[i],t[i],k[i],d[i],s[j]]\n       }\n     }\n     }\n     printf \"\\n\"\n   }\n     #print out bottom line sums\n-    printf \"Publisher\\tPlugin\\tContr\\tYear\\tT\\t%d\", tt\n+    printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\t%d\", tt\n     for (j = 0 ; j < sn ; j++) {\n       if (x[s[j]] > 0) {\n         printf \"\\t%d\", x[s[j]]\n"}
{"commit":"f042bd93c03baae599657cb8219fcde814905b39","subject":"improve utility when not processing dipper ingest files","message":"improve utility when not processing dipper ingest files\n","repos":"TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/deltadot.awk\n+++ scripts\/deltadot.awk\n@@ -34,6 +34,8 @@\n     n = match($0, \/ [(][[:digit:]]*[)]>];$\/)\n     if(n>0)\n         arr[substr($0,1,n)] = substr($0, n+2, length($0)-n-5)\n+\telse\n+\t\tarr[$1 \" \" $2 \" \" $3 \" \"]++\n }\n \n # strip metadata from filename\n@@ -74,7 +76,7 @@\n \t}\n \t# only edges not in first file\n \tfor(e in edge2)\n-\t\tedges[e \"(\" edge2[e] \")>, color=\\\"blue\\\"];\"];\n+\t\tedges[e \"(\" edge2[e] \")>, color=\\\"blue\\\"];\"];  # expects label=<tag> to close\n \n \tprint \"digraph {\"\n \tprint \"rankdir=LR;\"\n"}
{"commit":"19cb8c74abb6762fd7d098ba929061f8eda40389","subject":"INTEGRATION: CWS i18n28 (1.3.178); FILE MERGED 2006\/12\/08 15:53:16 er 1.3.178.1: #i64400# add getBreakIteratorRules_","message":"INTEGRATION: CWS i18n28 (1.3.178); FILE MERGED\n2006\/12\/08 15:53:16 er 1.3.178.1: #i64400# add getBreakIteratorRules_\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/linkermapfile-check.awk\n+++ i18npool\/source\/localedata\/data\/linkermapfile-check.awk\n@@ -16,6 +16,7 @@\n     sPublic[nPublics++] = \"getAllCalendars_\"\n     sPublic[nPublics++] = \"getAllCurrencies_\"\n     sPublic[nPublics++] = \"getAllFormats_\"\n+    sPublic[nPublics++] = \"getBreakIteratorRules_\"\n     sPublic[nPublics++] = \"getCollationOptions_\"\n     sPublic[nPublics++] = \"getCollatorImplementation_\"\n     sPublic[nPublics++] = \"getContinuousNumberingLevels_\"\n"}
{"commit":"14a069ca83155a92087fafca36410ed34c816810","subject":"Add missing field","message":"Add missing field\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxFrom-scrapy_xml.awk\n+++ getBritBoxFrom-scrapy_xml.awk\n@@ -97,6 +97,7 @@\n     seasonNumber = $11\n     seasonYear = $15\n     seasonEpisodes = $19\n+    seasonDescription = $23\n \n     if (seasonNumber != \"\") {\n         printf \\\n"}
{"commit":"86e0f63ada393327a76f1ba5bdfc1e4ff633aa1b","subject":"Fix an output formatting bug in the rewriter script.","message":"Fix an output formatting bug in the rewriter script.\n","repos":"4honor\/mtail,google\/mtail,SuperQ\/mtail,4honor\/mtail,SuperQ\/mtail,google\/mtail","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- log_rewriter.awk\n+++ log_rewriter.awk\n@@ -6,11 +6,13 @@\n {\n         split($1, DATE, \"\/\")\n         split($2, TIME, \":\")\n-        $1 = \"\"\n-        $2 = \"\"\n         t = mktime(DATE[1] \" \" DATE[2] \" \" DATE[3] \" \" TIME[1] \" \" TIME[2] \" \" TIME[3])\n         if (delta == \"\") {\n                 delta = now - t\n         }\n-        print strftime(format, t + delta) $0\n+        out = strftime(format, t + delta)\n+        for (i = 3; i <= NF; i++) {\n+                out = out OFS $i\n+        }\n+        print out\n }\n"}
{"commit":"851faf69fa5c74b1d69233482a6d8d9b274fb292","subject":"Languages: add Dzongkha language","message":"Languages: add Dzongkha language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -78,6 +78,19 @@\n     Locale[\"co\"][\"iso\"]                = \"cos\"\n     Locale[\"co\"][\"glotto\"]             = \"cors1242\"\n     Locale[\"co\"][\"script\"]             = \"Latn\"\n+\n+    #? Dzongkha\n+    Locale[\"dz\"][\"name\"]               = \"Dzongkha\"\n+    Locale[\"dz\"][\"endonym\"]            = \"\u0f62\u0fab\u0f7c\u0f44\u0f0b\u0f41\"\n+    #Locale[\"dz\"][\"translations-of\"]\n+    #Locale[\"dz\"][\"definitions-of\"]\n+    #Locale[\"dz\"][\"synonyms\"]\n+    #Locale[\"dz\"][\"examples\"]\n+    #Locale[\"dz\"][\"see-also\"]\n+    Locale[\"dz\"][\"family\"]             = \"Sino-Tibetan\"\n+    Locale[\"dz\"][\"iso\"]                = \"dzo\"\n+    Locale[\"dz\"][\"glotto\"]             = \"nucl1307\"\n+    Locale[\"dz\"][\"script\"]             = \"Tibt\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"fab646ac224d0cf8427cfa30de7e74b692ae39ae","subject":"Commons: add getGitHead()","message":"Commons: add getGitHead()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -350,14 +350,29 @@\n     return (prog \" \" arg SUPERR | getline) ? prog : NULLSTR\n }\n \n-# Return non-zero if file exists, otherwise return 0.\n+# Return non-zero if file exists; otherwise return 0.\n function fileExists(file) {\n     return !system(\"test -f \" parameterize(file))\n }\n \n-# Return non-zero if file exists and is a directory, otherwise return 0.\n+# Return non-zero if file exists and is a directory; otherwise return 0.\n function dirExists(file) {\n     return !system(\"test -d \" parameterize(file))\n+}\n+\n+# Return the HEAD revision if the current directory is a git repo;\n+# Otherwise return a null string.\n+function getGitHead(    line, group) {\n+    if (fileExists(\".git\/HEAD\")) {\n+        getline line < \".git\/HEAD\"\n+        match(line, \/^ref: (.*)$\/, group)\n+        if (fileExists(\".git\/\" group[1])) {\n+            getline line < (\".git\/\" group[1])\n+            return substr(line, 1, 7)\n+        } else\n+            return NULLSTR\n+    } else\n+        return NULLSTR\n }\n \n # Initialize `UriSchemes`.\n"}
{"commit":"c1e4c58e48af4b1f6ee9896a187c452e460d05c1","subject":"parse_address.awk\t-- superceded by addr_utils.awk","message":"parse_address.awk\t-- superceded by addr_utils.awk\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/parse_address.awk\n+++ lib\/parse_address.awk\n@@ -1,165 +0,0 @@\n-function parse_address(addr, result, dirs, st_abbrevs, st_quals, towns,   nf, ary, i, f_st, f_town, name) {\n-\n-\tresult[\"status\"] = \"B\"\n-\tresult[\"emsg\"  ] = \"\"\n-\tresult[\"name\"  ] = \"\"\n-\tresult[\"street\"] = \"\"\n-\tresult[\"town\"  ] = \"\"\n-\tresult[\"state\" ] = \"\"\n-\n-\tnf = split(addr, ary, \",\")\n-\tfor(i = 1; i <= nf; i++){\n-\t\tgsub(\/^  *\/, \"\", ary[i])\n-\t\tgsub(\/  *$\/, \"\", ary[i])\n-\t}\n-\tf_st = get_street(nf, ary, result, dirs, st_abbrevs)\n-\tif(f_st == 0)\n-\t\treturn 1\n-\n-\tf_town = get_town(nf, ary, result, f_st, st_quals, towns)\n-\tif(f_town == 0)\n-\t\treturn 1\n-\n-\t# If we get here, addr is good, set the name\n-\tresult[\"status\"] = \"G\"\n-\tif(f_st == 1)\n-\t\tresult[\"name\"] = \"Residence\"\n-\telse{\n-\t\tname = ary[1]\n-\t\tfor(i = 2; i < f_st; i++){\n-\t\t\tname = name \", \" ary[i]\n-\t\t}\n-\t\tresult[\"name\"] = name\n-\t}\n-\treturn 0\n-}\n-function get_street(nf, ary, result, dirs, st_abbrevs,    f_st, i, street, l_street, ab, l_ab, ix, nf2, ary2, work) {\n-\n-\t# find the street part of the address\n-\tf_st = 0\n-\tif(nf == 1){\t# minimum address is street, town\n-\t\tresult[\"status\"] = \"B\"\n-\t\tresult[\"emsg\"] = \"no town\"\n-\t\treturn 0\n-\t}else{\n-\t\t# street is the first field that matches one of these patterns\n-\t\tfor(i = 1; i < nf; i++){\n-\t\t\tif(ary[i] ~ \/^[1-9][0-9]* \/){\t# Simple number prefix\n-\t\t\t\tf_st = i\n-\t\t\t\tbreak\n-\t\t\t}else if(ary[i] ~ \/^[1-9][0-9]*-[1-9]\/){\t# Number range prefix\n-\t\t\t\tf_st = i\n-\t\t\t\tbreak\n-\t\t\t}else if(ary[i] ~ \/^[1-9][0-9]*[a-zA-Z] \/){\t# Number + 1 letter\n-\t\t\t\tf_st = i\n-\t\t\t\tbreak\n-\t\t\t}\n-\t\t}\n-\t\t# ERROR: No street found\n-\t\tif(f_st == 0){\n-\t\t\tresult[\"status\"] = \"B\"\n-\t\t\tresult[\"emsg\"] = \"street?\"\n-\t\t\treturn 0\n-\t\t}\n-\t}\n-\n-\t# ERROR: f_st is last field: no town\n-\tif(f_st == nf){\n-\t\tresult[\"status\"] = \"B\"\n-\t\tresult[\"emsg\"] = \"f_st=$\"\n-\t\treturn 0\n-\t}\n-\n-\t# replace str abbrev with their long forms\n-\tstreet = ary[f_st]\n-\tl_street = length(street)\n-\tfor(ab in st_abbrevs){\n-\t\tl_ab = length(ab)\n-\t\tif(l_ab > l_street)\n-\t\t\tcontinue\n-\t\tix = l_street - l_ab + 1\n-\t\tif(substr(street, ix) == ab){\n-\t\t\tary[f_st] = substr(street, 1, ix - 1) st_abbrevs[ab]\n-\t\t\tbreak\n-\t\t}\n-\t}\n-\n-\t# replace single letter directions with their long forms\n-\tnf2 = split(ary[f_st], ary2, \/  *\/)\n-\twork = \"\"\n-\tfor(i = 1; i <= nf2; i++){\n-\t\tary2[i] = ary2[i] in dirs ? dirs[ary2[i]] : ary2[i]\n-\t\twork = work == \"\" ? ary2[i] : work \" \" ary2[i]\n-\t}\n-\tresult[\"street\"] = ary[f_st] = work\n-\treturn f_st\n-}\n-function get_town(nf, ary, result, f_st, st_quals, towns,   i, f_town) {\n-\n-\t# find the town:\n-\t# 1. Set any street qualifiers (Apt 8, Bldg 2, etc) to \"\"\n-\t# 2. The first field that is not \"\" is the town.\n-\tfor(i = f_st + 1; i <= nf; i++){\n-\t\tary[i] = rm_st_qual(ary[i], st_quals)\n-\t}\n-\tf_town = 0\n-\tfor(i = f_st + 1; i <= nf; i++){\n-\t\tif(ary[i] != \"\"){\n-\t\t\tf_town = i\n-\t\t\tbreak\n-\t\t}\n-\t}\n-\tif(f_town == 0){\t\t\t\t# no town\n-\t\tresult[\"status\"] = \"B\"\n-\t\tresult[\"emsg\"  ] = \"town?\"\n-\t\treturn 0\n-\t}\n-\n-\t# handle possible CA zip\n-\tif(f_town == nf){\t\t\t\t# town is last field, look closer\n-\t\tif(ary[f_town] == \"CA 94305\"){\t\t# Stanford is special\n-\t\t\tary[f_town] = \"Stanford University\"\n-\t\t}else if(ary[f_town] ~ \/^CA 9\/){\t# town cannot be a a zip code\n-\t\t\tresult[\"status\"] = \"B\"\n-\t\t\tresult[\"emsg\"  ] = \"town=zip\"\n-\t\t\treturn 0\n-\t\t}\n-\t}else if(f_town == nf - 1){\t\t\t# town followed by 1 more field, look closer\n-\t\tif(ary[nf] ~ \/^CA [0-9]\/){\t\t# town followed by state zip, drop it\n-\t\t\tary[nf] = \"\"\n-\t\t}else if(ary[nf] == \"CA\"){\t\t# town followed by state, drop this field\n-\t\t\tary[nf] = \"\"\n-\t\t}else{\t\t\t\t\t# no idea\n-\t\t\tresult[\"status\"] = \"B\"\n-\t\t\tresult[\"emsg\"  ] = \"town2?\"\n-\t\t\treturn 0\n-\t\t}\n-\t}else{ \t\t\t\t\t\t# town followed by at least 2 fields, who knows?\n-\t\tresult[\"status\"] = \"B\"\n-\t\tresult[\"emsg\"  ] = \"town3?\"\n-\t\treturn 0\n-\t}\n-\n-\t# Good to go\n-\t# Replace abbreviated town w\/full name\n-\tary[f_town] = (ary[f_town] in towns ? towns[ary[f_town]] : ary[f_town])\n-\tresult[\"town\"] = ary[f_town]\n-\tresult[\"state\"] = \"CA\"\t# for now\n-\n-\treturn f_town\n-}\n-function rm_st_qual(str, st_quals,   l_str, lc_str, u) {\n-\n-\tif(str ~ \/^[#1-9]\/)\n-\t\treturn \"\"\n-\tl_str = length(str)\n-\tlc_str = tolower(str)\n-\tfor(u in st_quals){\n-\t\tl_u = length(u)\n-\t\tif(l_str < l_u)\n-\t\t\tcontinue\n-\t\tif(substr(lc_str, 1, l_u) == u)\n-\t\t\treturn \"\"\n-        }\n-\treturn str\n-}\n"}
{"commit":"1b583a75fbd2f5798d4c05f17188e5322992a126","subject":"Translate: getResponse() returns json only (fix #64)","message":"Translate: getResponse() returns json only (fix #64)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -74,7 +74,7 @@\n \n     print header |& HttpService\n     while ((HttpService |& getline) > 0) {\n-        if (length($0) > 1) content = $0\n+        if ($0 ~ \/^\\[.*\\]\/) content = $0\n         l(sprintf(\"%4s bytes > %s\", length($0), $0))\n     }\n     close(HttpService)\n"}
{"commit":"59387b9f494aac533f01bf5ac9e2aec8ed40d047","subject":"Change letter ranges.","message":"Change letter ranges.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@26755 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -32,9 +32,9 @@\n       if (r[pn] == \"\") {\n         if ((substr(p[pn],1,2) >= \"Aa\") && (substr(p[pn],1,2) <= \"Am\")) {\n           r[pn] = \"7\"\n-        } else if ((substr(p[pn],1,2) >= \"An\") && (substr(p[pn],1,2) <= \"Cz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"An\") && (substr(p[pn],1,2) <= \"Dz\")) {\n           r[pn] = \"4\"\n-        } else if ((substr(p[pn],1,2) >= \"Da\") && (substr(p[pn],1,2) <= \"Nz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"Ea\") && (substr(p[pn],1,2) <= \"Nz\")) {\n           r[pn] = \"5\"\n         } else if (substr(p[pn],1,1) >= \"O\") {\n           r[pn] = \"8\"\n"}
{"commit":"a085725cc690f3aacb5ae54015cba081fdd2de45","subject":"Remove unnecessary leading zeros from the generated Java constants. (dm)","message":"Remove unnecessary leading zeros from the generated Java constants. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2661 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Bindings\/Java\/constants.awk\n+++ Bindings\/Java\/constants.awk\n@@ -95,7 +95,8 @@\n function hexadecimalValue(value) {\n   value = tolower(value)\n   gsub(\"u?l*$\", \"\", value)\n-  gsub(\"x0+\", \"x0\", value)\n+  gsub(\"x0+\", \"x\", value)\n+  gsub(\"x$\", \"x0\", value)\n   return value\n }\n \n"}
{"commit":"1a13f4222a890128d4ba1b0dbcb830eac629d389","subject":"Translators\/Apertium: unquote before invoking uprintf()","message":"Translators\/Apertium: unquote before invoking uprintf()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/Apertium.awk\n+++ include\/Translators\/Apertium.awk\n@@ -64,7 +64,7 @@\n     }\n \n     # FIXME: build a cache for recurring invocation of uprintf()\n-    translation = uprintf(unparameterize(ast[0 SUBSEP \"responseData\" SUBSEP \"translatedText\"]))\n+    translation = uprintf(unquote(unparameterize(ast[0 SUBSEP \"responseData\" SUBSEP \"translatedText\"])))\n \n     returnIl[0] = il = _sl\n     if (Option[\"verbose\"] < 0)\n"}
{"commit":"032528cec58048f8eeead55e309a4200f4742595","subject":"bump version to 0.9.1-dev","message":"bump version to 0.9.1-dev\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- metainfo.awk\n+++ metainfo.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n     Name        = \"Translate Shell\"\n     Description = \"Google Translate to serve as a command-line tool\"\n-    Version     = \"0.9.0.6\"\n+    Version     = \"0.9.1-dev\"\n     ReleaseDate = \"2015-05-29\"\n     Command     = \"trans\"\n     EntryPoint  = \"translate.awk\"\n"}
{"commit":"a73a4f1c3c3b5f87de17d057cf45ebc9bf6849cf","subject":"Comma caution.","message":"Comma caution.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -38,6 +38,7 @@\n \n \/^#Version: \/ {\n     printf \"\\t\\\"version\\\": \\\"%s\\\",\\n\", substr($0, length(\"#Version: \") + 1)\n+    logLineSeen = 0\n }\n \n \/^#Fields: \/ {\n@@ -51,13 +52,21 @@\n }\n \n ! \/^#\/ {\n+    if (logLineSeen == 1) {\n+        printf \",\\n\"\n+    }\n     split($0, fieldsThisLine, \" \")\n     if (NF == numFields) {\n         print \"\\t{\"\n         for(i = 1; i < NF; i++)\n         {\n-            printf \"\\t\\t\\\"%s\\\": \\\"%s\\\",\\n\", fields[i], fieldsThisLine[i]\n+            printf \"\\t\\t\\\"%s\\\": \\\"%s\\\"\", fields[i], fieldsThisLine[i]\n+            if (i + 1 < NF) {\n+                printf \",\"\n+            }\n+            printf \"\\n\"\n         }\n-        print \"\\t},\"\n+        printf \"\\t}\"\n     }\n+    logLineSeen = 1;\n }\n"}
{"commit":"7cef17842f303cae67b673ea798420f71c9785b7","subject":"make better gv file","message":"make better gv file\n","repos":"ajing\/clusterVis,ajing\/clusterVis","returncode":0,"stderr":"unknown","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"429797ab1452d698eab12f5fc876039a23ffbaa4","subject":"Add show durations","message":"Add show durations\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-showPages.awk\n+++ getAcornFrom-showPages.awk\n@@ -99,6 +99,27 @@\n     next\n }\n \n+# Extract the episode duration\n+\/<meta itemprop=\"timeRequired\"\/ {\n+    durationLinesFound += 1\n+    split ($0,fld,\"\\\"\")\n+    split (fld[4],tm,\/[TMS]\/)\n+    secs = tm[3]\n+    mins = tm[2] + int(secs \/ 60)\n+    hrs =  int(mins \/ 60)\n+    secs %= 60; mins %= 60\n+    #\n+    showSecs += secs\n+    showMins += mins + int(showSecs \/ 60)\n+    showHrs += hrs + int(showMins \/ 60)\n+    showSecs %= 60; showMins %= 60\n+    #\n+    episodeDuration = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n+    if (episodeDuration == \"00:00:00\")\n+        printf (\"==> Blank episode duration: %s  %s\\n\", shortURL, showTitle) >> ERRORS\n+    next\n+}\n+\n \/<footer>\/ {\n     if (episodeLinesFound == 0) {\n         printf (\"==> No numberOfEpisodes: %s\\t%s\\n\", shortURL, showTitle) >> ERRORS\n@@ -109,10 +130,13 @@\n     if (descriptionLinesFound == 0) {\n         printf (\"==> No franchise-description: %s\\t%s\\n\", shortURL, showTitle) >> ERRORS\n     }\n+    if (durationLinesFound == 0) {\n+        printf (\"==> No durations: %s\\t%s\\n\", shortURL, showTitle) >> ERRORS\n+    }\n     showLink = \"=HYPERLINK(\\\"\" showURL \"\\\";\\\"\" showTitle \"\\\")\"\n+    showDuration = sprintf (\"%02d:%02d:%02d\", showHrs, showMins, showSecs)\n     # Title\tSeasons\tEpisodes\tDuration\tDescription\n-    printf (\"%s\\t%s\\t=%s\\t%s\\n\", showLink, showSeasons, seasonEpisodes, showDescription)\n-    # printf (\"%s\\t%s\\t=%s\\t%s\\t%s\\n\", showLink, showSeasons, seasonEpisodes, showDuration, showDescription)\n+    printf (\"%s\\t%s\\t=%s\\t%s\\t%s\\n\", showLink, showSeasons, seasonEpisodes, showDuration, showDescription)\n     # printf (\"%s\\t%s\\t=%s\\t%s\\t%s\\n\", showLink, showSeasons, showEpisodes, showDuration, showDescription)\n     # Make sure there is no carryover\n     showTitle = \"\"\n@@ -122,6 +146,9 @@\n     showSeasons = \"\"\n     showEpisodes = \"\"\n     seasonEpisodes = \"\"\n+    showSecs = 0\n+    showMins = 0\n+    showHrs = 0\n     showDuration = \"\"\n     showDescription = \"\"\n     #\n"}
{"commit":"fc1d0dc65fdb359f657be7f0b10f1e8c00622793","subject":"Bugfix","message":"Bugfix\n","repos":"wernsey\/d.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xtract.awk\n+++ xtract.awk\n@@ -16,5 +16,5 @@\n in_comment && \/\\*\\\/\/ { in_comment = 0; }\n in_comment && \/^[[:space:]]*\\*\/ {\t\n \tsub(\/^[[:space:]]*\\*\/,\"\");\n-\tprint;\n }\n+in_comment { print; }"}
{"commit":"5e4b1b8d23239d23088ff85fe01b4d08863a504d","subject":"Fix tests","message":"Fix tests\n\nDue to some formating changes, the output comparison was not working.\n","repos":"haka-security\/haka,lcheylus\/haka,nabilbendafi\/haka,haka-security\/haka,nabilbendafi\/haka,Wingless-Archangel\/haka,LubyRuffy\/haka,lcheylus\/haka,Wingless-Archangel\/haka,haka-security\/haka,lcheylus\/haka,LubyRuffy\/haka,nabilbendafi\/haka","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- build\/CompareOutput.awk\n+++ build\/CompareOutput.awk\n@@ -22,8 +22,11 @@\n }\n \n {\n-\tif (show != 0) {\n+\tif (show == 2) {\n \t\tprint;\n+\t}\n+\telse if (show == 1) {\n+\t\tshow = 2\n \t}\n }\n \n"}
{"commit":"5765716fece98254c95926df866f82a011f65cc0","subject":"Correct error in number variables printed","message":"Correct error in number variables printed\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@23949 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -81,7 +81,7 @@\n \n   #print out publisher, plugin, contract year, back, year, tester, total aus\n   for (i = 0 ; i < pn ; i++) {\n-    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r[i], b[p[i],n[i],t[i],d[i]]\n+    printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], k[i], d[i], r[i], b[p[i],n[i],t[i],k[i],d[i]]\n     for (j = 0 ; j < sn ; j++) {\n       if (x[s[j]] > 0){\n       if (c[p[i],n[i],t[i],k[i],d[i],s[j]] == 0) {\n"}
{"commit":"7b3798ab33fbcd793636e794c78cf381ff22b18c","subject":"Translators\/BingTranslator: fix #110","message":"Translators\/BingTranslator: fix #110\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -2,15 +2,15 @@\n # BingTranslator.awk                                               #\n ####################################################################\n #\n-# Last Updated: 26 Dec 2015\n-# https:\/\/www.bing.com\/translator\/dynamic\/226010\/js\/LandingPage.js\n+# Last Updated: 11 Mar 2016\n+# http:\/\/ssl.microsofttranslator.com\/dynamic\/226010\/js\/LandingPage.js\n BEGIN { provides(\"bing\") }\n \n function genRTTAppId(    content, group, header, isBody) {\n     HttpProtocol = \"http:\/\/\"\n-    HttpHost = \"www.bing.com\"\n+    HttpHost = \"ssl.microsofttranslator.com\"\n     HttpPort = 80\n-    LandingPage = \"\/translator\/dynamic\/226010\/js\/LandingPage.js\"\n+    LandingPage = \"\/dynamic\/226010\/js\/LandingPage.js\"\n \n     if (Option[\"proxy\"]) {\n         match(Option[\"proxy\"], \/^(http:\\\/*)?([^\\\/]*):([^\\\/:]*)\/, HttpProxySpec)\n"}
{"commit":"f383282cbae96a0e624953dfb7fb00a3c6059034","subject":"Remove reorder.awk script","message":"Remove reorder.awk script\n","repos":"simbuerg\/benchbuild,simbuerg\/benchbuild","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- reorder.awk\n+++ reorder.awk\n@@ -1,39 +0,0 @@\n-#!\/usr\/bin\/awk -f\n-BEGIN { FS=\",\"; OFS=\",\"; }\n-\n-(FNR > 1) {\n-\tstdCov[$1] = $4;\n-\tdynCov[$1] = $14;\n-\tcaddyCov[$1] = $24;\n-\t\n-\tstdPapiTime[$1] = $5;\n-\tdynPapiTime[$1] = $15;\n-\tcaddyPapiTime[$1] = $25;\n-\n-\tstdTime[$1]= $6;\n-\tdynTime[$1]= $16;\n-\tcaddyTime[$1]= $26;\n-\t\n-\tstdCalls[$1] = $10;\n-\tdynCalls[$1] = $20;\n-\tcaddyCalls[$1] = $30;\n-}\n-\n-END {\n-\tprintf \"%s, %s, %s, %s, %s, %s\\n\",\n-\t\t\"Name\", \"Class\", \"ExecCov\", \"Time\", \"PapiTime\", \"Calls\";\n-\n-\tfor (p in stdCov) {\n-\t\tprintf \"%s, %s, %s, %s, %s, %s\\n\",\n-\t\t\tp, \"Static\", stdCov[p], stdTime[p], stdPapiTime[p], stdCalls[p];\n-\n-\t\tprintf \"%s, %s, %s, %s, %s, %s\\n\",\n-\t\t    p, \"Algebraic\", caddyCov[p], caddyTime[p], caddyPapiTime[p], caddyCalls[p];\n-\n-\t\tprintf \"%s, %s, %s, %s, %s, %s\\n\",\n-\t\t\tp, \"Dynamic\" , dynCov[p], dynTime[p], dynPapiTime[p], dynCalls[p];\n-\t\t\n-\t\t#printf \"%s, %s, %s, %s, %s, %s\\n\",\n-\t\t#\tp, \"Raw\"     , \"0\", rawTime[p], \"0\", \"0\";\n-\t}\n-}"}
{"commit":"8e0e3819ac29833e755073cc1dc9b1683f54207c","subject":"Support perforce-style diffs in determining modified line ranges.","message":"Support perforce-style diffs in determining modified line ranges.\n\nPiperOrigin-RevId: 304687721\n","repos":"chipsalliance\/verible,chipsalliance\/verible,chipsalliance\/verible,chipsalliance\/verible,chipsalliance\/verible","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- verilog\/tools\/formatter\/diff-to-changed-lines.awk\n+++ verilog\/tools\/formatter\/diff-to-changed-lines.awk\n@@ -65,11 +65,20 @@\n   active_range = 0;\n }\n \n+# seen in 'git diff'\n # diff before-file after-file\n \/^diff\/ {\n   auto_flush_range();\n   expect_filename = 1;\n }\n+\n+# seen in 'p4 diff'\n+# ==== \/\/depot\/...#N - \/local\/path\/to\/file ====\n+\/^==== .* ====$\/ {\n+  auto_flush_range();\n+  expect_filename = 1;\n+}\n+\n \n # + lines are after change only\n \/^+\/ {\n"}
{"commit":"9d9900e09bb06427f6b7e4715f8e5b4d9af9125c","subject":"Added from to the prints.","message":"Added from to the prints.\n","repos":"lagerspetz\/TimeSeriesSpark,lagerspetz\/TimeSeriesSpark","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- timeCalculator.awk\n+++ timeCalculator.awk\n@@ -1,11 +1,17 @@\n #![$2] += $NF }\n $0 ~ \"^Time edu.berkeley.cs.amplab.carat.\" {\n-  sums[$2] += $NF\n-  count[$2] += 1\n+  k = $2\n+  if ($0 ~ \"^Time edu.berkeley.cs.amplab.carat.* from \")\n+    k = $2\" \"$4\n+  sums[k] += $NF\n+  count[k] += 1\n }\n $0 ~ \"^Time spark.timeseries.\" {\n-  sums[$2] += $NF\n-  count[$2] += 1\n+  k = $2\n+  if ($0 ~ \"^Time spark.timeseries.* from \")\n+    k = $2\" \"$4\n+  sums[k] += $NF\n+  count[k] += 1\n }\n \n END {\n"}
{"commit":"e0dd1dfcc15d476b0eaf7adfa440c3a1d6be663e","subject":"TestUtils: add test case for curl() (thanks to httpbin.org)","message":"TestUtils: add test case for curl() (thanks to httpbin.org)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestUtils.awk\n+++ test\/TestUtils.awk\n@@ -30,6 +30,15 @@\n         assertTrue(newerVersion(\"2\", \"1.9.9999\"))\n     }\n \n+    T(\"curl()\", 1)\n+    {\n+        delete tokens; delete ast\n+        tokenize(tokens, curl(\"https:\/\/httpbin.org\/get\"))\n+        parseJson(ast, tokens)\n+        assertEqual(unparameterize(ast[0 SUBSEP \"url\"]),\n+                    \"https:\/\/httpbin.org\/get\")\n+    }\n+\n     T(\"dump()\", 3)\n     {\n         delete group\n"}
{"commit":"5d581d24d0feab83682cbadb6ea8cb9303a4849f","subject":"Java bindings: The DOT constants should be ints (not bytes) so that DOTC (256) can be represented. (dm)","message":"Java bindings: The DOT constants should be ints (not bytes) so that DOTC (256) can be represented. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Bindings\/Java\/constants.awk\n+++ Bindings\/Java\/constants.awk\n@@ -58,7 +58,7 @@\n }\n \n function brlDot(number, symbol, value, help) {\n-  writeJavaConstant(\"byte\", \"DOT\" number, \"(byte) (\" value \")\", help)\n+  writeJavaConstant(\"int\", \"DOT\" number, value, help)\n }\n \n function apiConstant(name, symbol, value, help) {\n"}
{"commit":"22a05c47f5f646771e78326250213f76a5c6e566","subject":"- get rid of undefined variable error","message":"- get rid of undefined variable error\n","repos":"0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -992,6 +992,9 @@\n \t\tif (fields[1] == \"format\") {\n \t\t    values[\"format\"] = fields[2]\n \t\t} else\n+\t\tif (fields[1] == \"kabi\") {\n+\t\t    values[\"kabi\"] = fields[2]\n+\t\t} else\n \t\tif (fields[1] == \"sym\") {\n \t\t    if (n<3) { print_error(\"syntax error in cachefile: line = \\\"\" line \"\\\"\"); continue }\n \t\t    for (i=9;i>n;i--) { fields[i] = \"\" }; n = 9\n@@ -1024,6 +1027,7 @@\n     if (\"PWD\" in ENVIRON) sub(\"^\" ENVIRON[\"PWD\"] \"\/\", \"\", file)\n     print_vinfo(1,\"w: cachefile, file = \\\"\" file \"\\\"\")\n     print \"format:\" values[\"format\"] > file\n+    print \"kabi:\" values[\"kabi\"] > file\n     for (sym in syms) {\n \tline = \"sym:\" sym\n \tline = line \":\"; if (sym in mods) { line = line mods[sym] }\n@@ -1123,7 +1127,7 @@\n \t    }\n \t    continue\n \t}\n-\tif (!(sym in kabi) && havekabi) {\n+\tif (!(sym in kabi) && values[\"kabi\"]) {\n \t    if (ownr[sym] != values[\"pkgdirectory\"])\n \t\tif (values[\"unsupported\"])\n \t\t    print_vinfo(1,sprintf(fmt, base, \"unsupportd\", sym))\n@@ -1155,7 +1159,7 @@\n \t    }\n \t    continue\n \t}\n-\tif (!(sym in kabi) && havekabi) {\n+\tif (!(sym in kabi) && values[\"kabi\"]) {\n \t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n \t\tif (values[\"unres-weak\"])\n \t\t    print_vinfo(1,sprintf(fmt, base, \"weak unsup\", sym))\n@@ -1823,6 +1827,7 @@\n     longopts[\"weak-symbols\" ] = \"w\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-symbols\" ] = 1\t\t\t\t\t\t; descrips[\"weak-symbols\" ] = \"resolve weak symbols (useful with -r and -U)\"\n     longopts[\"weak-versions\"] = \"W\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-versions\"] = 1\t\t\t\t\t\t; descrips[\"weak-versions\"] = \"version weak symbols (useful with -w)\"\n     longopts[\"weak-hidden\"  ] = \"H\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-hidden\"  ] = 0\t\t\t\t\t\t; descrips[\"weak-hidden\"  ] = \"weak symbol versions are hidden (used with -W)\"\n+    longopts[\"kabi\"         ] = \"\"   ;\t\t\t\t\t\t\t\t   defaults[\"kabi\"         ] = 0\t\t\t\t\t\t; descrips[\"kabi\"         ] = \"distribution has a kABI\"\n     longopts[\"format\"       ] = \"f:\" ;\t\t\t\t\t\t\t\t   defaults[\"format\"       ] = \"auto\"\t\t\t\t\t\t; descrips[\"format\"       ] = \"symsets file format (suse,redhat,auto)\"\n     longopts[\"unload\"       ] = \"u\"  ; environs[\"unload\"       ] = \"CONFIG_MODULE_UNLOAD\"\t ; defaults[\"unload\"       ] = 0\t\t\t\t\t\t; descrips[\"unload\"       ] = \"module unloading is supported\"\n     longopts[\"modversions\"  ] = \"m\"  ; environs[\"modversions\"  ] = \"CONFIG_MODVERSIONS\"\t\t ; defaults[\"modversions\"  ] = 0\t\t\t\t\t\t; descrips[\"modversions\"  ] = \"module versions are supported\"\n@@ -1962,15 +1967,15 @@\n \t\tprint_error(\"r: moduledir, directory not found\")\n \t}\n \tif ((\"ksymsets\" in values) && values[\"ksymsets\"])\n-\t    havekabi = read_symsets(values[\"ksymsets\"], \"kabi\", \"syssymset\")\n+\t    values[\"kabi\"] = read_symsets(values[\"ksymsets\"], \"kabi\", \"syssymset\")\n \telse {\n-\t    havekabi = 0\n+\t    values[\"kabi\"] = 0\n \t    file = \"symsets-\" kversion \".tar.gz\"\n \t    if (system(\"test -r \/boot\/\" file) == 0) {\n-\t\thavekabi = havekabi + read_symsets(\"\/boot\/\" file, \"kabi\", \"syssymset\")\n+\t\tvalues[\"kabi\"] = values[\"kabi\"] + read_symsets(\"\/boot\/\" file, \"kabi\", \"syssymset\")\n \t    }\n \t    if (system(\"test -r \/lib\/modules\/\" kversion \"\/build\/\" file) == 0) {\n-\t\thavekabi = havekabi + read_symsets(\"\/lib\/modules\/\" kversion \"\/build\/\" file, \"kabi\", \"syssymset\")\n+\t\tvalues[\"kabi\"] = values[\"kabi\"] + read_symsets(\"\/lib\/modules\/\" kversion \"\/build\/\" file, \"kabi\", \"syssymset\")\n \t    }\n \t}\n     }\n"}
{"commit":"424ca9abad8c307edc36af1759c2ebbb5beacc65","subject":"Switch to tags for node properties.","message":"Switch to tags for node properties.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -43,17 +43,19 @@\n \t# TODO: common stuff for multiple graphs\n \tprint \"pair S[];\"\n \tprint \"pair q[];\"\n-\tprint \"path nS[];\"\n \tprint \"path e;\"\n-\n-\t# diameter of node\n-\tprint \"numeric dS[];\"\n-\n-\t# number of self-edges\n-\tprint \"numeric lS[];\"\n \n \tprint \"ahlength := 10bp;\"\n \tprint \"ahangle  := 45;\"\n+\n+\tprint \"path S[].n;\"\n+\n+\t# diameter of node\n+\tprint \"numeric S[].diam;\"\n+\n+\t# number of self-edges\n+\tprint \"numeric S[].loops;\"\n+\n \n #\tprint \"secondarydef v projectedalong w =\";\n #\tprint \"\tif pair(v) and pair(w):\";\n@@ -82,7 +84,7 @@\n \tshape  = $9;\n \t# TODO: label delimited by <>, may contain spaces\n \n-\tprintf \"\\tl%s := 0;\\n\", name\n+\tprintf \"\\t%s.loops := 0;\\n\", name\n \n \tprintf \"\\t%s := (%fin, %fin);\\n\", name, x, y\n \n@@ -96,20 +98,20 @@\n \tdiam = 0.3 + length(label) * 0.05;\n \n \tif (shape == \"doublecircle\") {\n-\t\tprintf \"\\td%s = %fin + 8bp;\\n\", name, diam;\n+\t\tprintf \"\\t%s.diam = %fin + 8bp;\\n\", name, diam;\n \t} else {\n-\t\tprintf \"\\td%s = %fin;\\n\", name, diam;\n+\t\tprintf \"\\t%s.diam = %fin;\\n\", name, diam;\n \t}\n \n \tif (shape == \"doublecircle\") {\n-# TODO: would rather && together paths to n%s or somesuch\n-\t\tprintf \"\\tdraw fullcircle scaled (d%s - 8bp) shifted %s withpen pencircle scaled 1bp;\\n\", name, name\n-\t}\n-\n-\tprintf \"\\tn%s := fullcircle scaled d%s shifted %s;\\n\", name, name, name\n+# TODO: would rather && together paths to %s.n or somesuch\n+\t\tprintf \"\\tdraw fullcircle scaled (%s.diam - 8bp) shifted %s withpen pencircle scaled 1bp;\\n\", name, name\n+\t}\n+\n+\tprintf \"\\t%s.n := fullcircle scaled %s.diam shifted %s;\\n\", name, name, name\n \n \tif ($2 != \"start\") {\n-\t\tprintf \"\\tdraw n%s withpen pencircle scaled 1bp;\\n\", name\n+\t\tprintf \"\\tdraw %s.n withpen pencircle scaled 1bp;\\n\", name\n \n \t\tif (label != \"\") {\n \t\t\tprintf \"\\tlabel(\\\"%s\\\", %s);\\n\", label, name\n@@ -169,8 +171,8 @@\n \n \t# TODO: better explain this\n \t# TODO: explain reversed for q, else we'd find p again, where head == tail\n-\tprintf \"pair p; p = e intersectionpoint n%s;\\n\", head;\n-\tprintf \"pair q; q = (reverse e) intersectionpoint n%s;\\n\", tail;\n+\tprintf \"pair p; p = e intersectionpoint %s.n;\\n\", head;\n+\tprintf \"pair q; q = (reverse e) intersectionpoint %s.n;\\n\", tail;\n \n \t# XXX: assuming no space in label\n label = slabel(a[n * 2 + 5]);\n@@ -189,9 +191,9 @@\n \n \t\t# extend loop 1.25 * diameter\n \t\t# count number of self-loops for this node, and increment extension\n-\t\tprintf \"\\tl%s := l%s + 1;\", head, head\n+\t\tprintf \"\\t%s.loops := %s.loops + 1;\", head, head\n \t\tprint \"l := length pp;\"\n-\t\tprintf \"\\tpair m; m := (0.5 + 2 * mlog(l%s + 1) \/ 256) * d%s * unitvector(direction l of pp) shifted %s;\\n\", head, head, head\n+\t\tprintf \"\\tpair m; m := (0.5 + 2 * mlog(%s.loops + 1) \/ 256) * %s.diam * unitvector(direction l of pp) shifted %s;\\n\", head, head, head\n # u3 = u1 projectedalong u2;\n \t\tprintf \"\\tdraw %s -- m withpen pencircle scaled 0.5bp withcolor green;\\n\", head\n \n"}
{"commit":"6815d64f4febe4e64c49a1d7d47aaa83e615d2e0","subject":"Only use POSIX Awk features.","message":"Only use POSIX Awk features.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/conf\/kmod_syms.awk\n+++ sys\/conf\/kmod_syms.awk\n@@ -10,7 +10,7 @@\n }\n \n # De-list symbols from the export list.\n-\/\/ {\n+{\n         if (ARGIND == 1)\n                 nextfile\n         delete syms[$0]\n"}
{"commit":"1e98ac63c0204abc461327c754e0761e57a06c1f","subject":"msg_parser.awk: generate two parser tables, default and extended","message":"msg_parser.awk: generate two parser tables, default and extended\n\ndarcs-hash:20070919214030-65a35-56c54d9f070bdc3d32acfb7089d970050a3d921e.gz\n","repos":"xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -54,24 +54,25 @@\n   split(\"\", NAMES);\n   split(\"\", Comments);\n   split(\"\", COMMENTS);\n-  split(\"\", experimental);\n \n   # indexed by the C name of the header\n   split(\"\", Since);\t\t# Non-NUL if extra\n   split(\"\", Extra);\t\t# Offset in extra headers\n \n+  total = 0;\n+  ordinary = 0;\n+  basic = 0;\n+  extra = 0;\n   without_experimental = 0;\n+\n   template=\"\";\n   template1=\"\";\n   template2=\"\";\n   template3=\"\";\n   prefix=\"\";\n   tprefix=\"\";\n-  extra=0;\n   failed=0;\n   success=0;\n-\n-  extra_struct = \"msg_pub_extra\";\n \n   ERRNO=\"error\";\n }\n@@ -159,7 +160,6 @@\n   symbols[name] = comment;\n   if (since) {\n     Since[name] = since;\n-    Extra[name] = extra++;\n   }\n \n   expr = (without_experimental > 0 && do_hash);\n@@ -210,7 +210,7 @@\n \n # \n # Repeat each line in the footer containing the magic replacement\n-# pattern with a instance of all headers\n+# pattern with an instance of all headers\n #\n function process_footer (text)\n { \n@@ -368,9 +368,14 @@\n }\n \n \/^#### EXTRA HEADER LIST STARTS HERE ####$\/ { HLIST=1; templates(); }\n+HLIST && \/^#### DEFAULT HEADER LIST ENDS HERE ####$\/ { basic=total; }\n HLIST && \/^#### EXPERIMENTAL HEADER LIST STARTS HERE ####$\/ { \n-  without_experimental=total; }\n-HLIST && \/^[a-z]\/ { protos($1, $0, 0, $2); headers[total++] = $1; }\n+  without_experimental = total; }\n+\n+HLIST && \/^[a-z]\/ { protos($1, $0, 0, $2); \n+  headers[total++] = $1; \n+  Extra[$1] = extra++;\n+}\n \/^#### EXTRA HEADER LIST ENDS HERE ####$\/ { HLIST=0;  }\n \n \/^ *\\\/\\* === Headers start here \\*\\\/\/ { in_header_list=1;  templates(); }\n@@ -396,95 +401,26 @@\n   if (!NO_MIDDLE)\n     protos(n, $0, 0);\n \n-  headers[total++] = n;\n-}\n-\n-END {\n-  if (failed) { exit };\n-\n-  if (without_experimental == 0)\n-    without_experimental = total;\n-\n-  if (!NO_LAST) {\n-    protos(\"unknown\", \"\/**< Unknown headers *\/\", -3);\n-    protos(\"error\", \"\/**< Erroneous headers *\/\", -4);\n-    protos(\"separator\", \"\/**< Separator line between headers and body *\/\", -5);\n-    protos(\"payload\", \"\/**< Message payload *\/\", -6);\n-    if (multipart)\n-      protos(\"multipart\", \"\/**< Multipart payload *\/\", -7);\n-  }\n-    \n-  if (PR) {\n-    process_footer(footer);\n-  }\n-  else if (PT) {\n-    if (FLAGFILE)\n-      read_header_flags(FLAGFILE);\n-\n-    if (TEMPLATE == \"\") { TEMPLATE = PT \".in\"; }\n-    RS0=RS; RS=\"\f-\\n\";\n-    getline theader < TEMPLATE;\n-    getline header < TEMPLATE;\n-    getline template < TEMPLATE;\n-    getline footer < TEMPLATE;\n-    RS=RS0;\n-\n-    module_struct = module \"_t\";\n-\n-    sub(\/.*[\\\/]\/, \"\", TEMPLATE);\n-    gsub(\/#AUTO#\/, auto, header);\n-    gsub(\/#DATE#\/, \"@date Generated: \" date, header);\n-    print header > PT;\n-\n-    print \"\" > PT;\n-    print \"#define msg_offsetof(s, f) ((unsigned short)offsetof(s ,f))\" > PT;\n-    print \"\" > PT;\n-\n-    if (MC_SHORT_SIZE) {\n-      printf(\"static msg_href_t const \" \\\n-\t     \"%s_short_forms[MC_SHORT_SIZE] = \\n{\\n\", \n-\t     module) > PT;      \n-\n-      for (i = 1; i <= MC_SHORT_SIZE; i = i + 1) {\n-\tc = (i == MC_SHORT_SIZE) ? \"\" : \",\";\n-\tif (i in shorts) {\n-\t  n = shorts[i];\n-        flags = header_flags[n]; if (flags) flags = \",\\n      \" flags;\n-\t  \n-\t  printf(\"  { \/* %s *\/ %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\", \n-\t\t substr(lower_case, i, 1), \n-\t\t tprefix, n, module, prefix, n, flags, c)\t\\\n-\t    > PT;\n-\t}\n-\telse {\n-\t  printf(\"  { NULL }%s\\n\", c) \\\n-\t    > PT;\n-\t}\n-      }\n-      printf(\"};\\n\\n\") > PT;      \n-    }\n-\n-    # printf(\"extern msg_hclass_t msg_multipart_class[];\\n\\n\") > PT;\n-\n-    if (extra > 0) {\n-      printf(\"struct %s {\\n\", extra_struct) > PT;\n-      printf(\"  %s base;\\n\", module_struct) > PT;\n-      if (total - without_experimental < extra) {\n-\tprintf(\"  msg_header_t *extra[%u];\\n\", \n-\t       extra - (total - without_experimental)) > PT;\n-      }\n-      if (total - without_experimental > 0) {\n-\tprint \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n-\tprintf(\"  msg_header_t *experimental[%u];\\n\", \n-\t       total - without_experimental) > PT;\n-\tprint \"#endif\" > PT;\n-      }\n-      printf(\"};\\n\\n\") > PT;\n-      module_struct = \"struct \" extra_struct;\n-    }\n-\n-    printf(\"msg_mclass_t const %s_mclass[1] = \\n{{\\n\", module) > PT;\n+  headers[total] = n; total++; ordinary++;\n+}\n+\n+function print_parser_table(struct, scope, name, N, N_EXPERIMENTAL)\n+{\n+  if (PT) {\n+    printf(\"\/* Ordinary %u, extra %u, experimental %u *\/\\n\",\n+\t   ordinary, N - ordinary, N_EXPERIMENTAL - N) > PT;\n+    printf(\"struct %s {\\n\", struct) > PT;\n+    printf(\"  %s_t base;\\n\", module) > PT;\n+    printf(\"  msg_header_t *extra[%u];\\n\", N - ordinary) > PT;\n+    if (N != N_EXPERIMENTAL) {\n+      print \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n+      printf(\"  msg_header_t *extra[%u];\\n\", N_EXPERIMENTAL - N) > PT;\n+      print \"#endif\" > PT;\n+    }\n+    printf(\"};\\n\\n\") > PT;\n+\n+    printf(\"%s\\n\", scope) > PT;\n+    printf(\"msg_mclass_t const %s[1] = \\n{{\\n\", name) > PT;\n     printf(\"# if defined (%s_HCLASS)\\n\", toupper(module)) > PT;\n     printf(\"  %s_HCLASS,\\n\", toupper(module)) > PT;\n     printf(\"#else\\n\") > PT;\n@@ -497,7 +433,7 @@\n     printf(\"#else\\n\") > PT;\n     printf(\"  0,\\n\") > PT;\n     printf(\"#endif\\n\") > PT;\n-    printf(\"  sizeof (%s),\\n\", module_struct) > PT;\n+    printf(\"  sizeof (struct %s),\\n\", struct) > PT;\n     printf(\"  %s_extract_body,\\n\", module) > PT;\n \n     len = split(\"request status separator payload unknown error\", unnamed, \" \");\n@@ -519,15 +455,123 @@\n       printf(\"  NULL, \\n\") > PT;\n     }\n     printf(\"  %d, \\n\", MC_HASH_SIZE) > PT;\n-    printf (\"#if SU_HAVE_EXPERIMENTAL\\n\" \\\n-\t    \"  %d,\\n\" \\\n-\t    \"#else\\n\" \\\n-\t    \"  %d,\\n\" \\\n-\t    \"#endif\\n\", \\\n-\t    total, without_experimental) > PT;\n+    if (N != N_EXPERIMENTAL) {\n+      print \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n+      printf(\"  %d,\\n\", N_EXPERIMENTAL) > PT;\n+      print \"#else\" > PT;\n+    }\n+    printf(\"  %d,\\n\", N) > PT;\n+    if (N != N_EXPERIMENTAL) {\n+      print \"#endif\" > PT;\n+    }\n+\n     printf(\"  {\\n\") > PT;\n \n-    for (i = 0; i < total; i++) {\n+    for (j = 0; j < MC_HASH_SIZE; j++) {\n+      c = (j + 1 == MC_HASH_SIZE) ? \"\" : \",\";\n+      if (j in header_hash) {\n+\tn = header_hash[j];\n+\ti = index_hash[j];\n+\n+        flags = header_flags[n]; if (flags) flags = \",\\n      \" flags;\n+\n+\tif (i >= N) {\n+\t  print \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n+\t}\n+\n+\tif (i >= ordinary) {\n+\t  printf(\"    { %s_%s_class,\\n\" \\\n+\t\t \"      msg_offsetof(struct %s, extra[%u])%s }%s\\n\", \n+\t\t tprefix, n, struct, Extra[n], flags, c) > PT;\n+\t}\n+\telse {\n+\t  printf(\"    { %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\", \n+\t\t tprefix, n, module, prefix, n, flags, c) > PT;\n+\t}\n+\n+\tif (i >= N) {\n+\t  printf(\"#else\\n    { NULL, 0 }%s\\n#endif\\n\", c) > PT;\n+\t}\n+      }\n+      else {\n+\tprintf(\"    { NULL, 0 }%s\\n\", c) > PT;\n+      }\n+    }\n+    printf(\"  }\\n}};\\n\\n\") > PT;\n+\n+    }\n+}\n+\n+END {\n+  if (failed) { exit };\n+\n+  if (!NO_LAST) {\n+    protos(\"unknown\", \"\/**< Unknown headers *\/\", -3);\n+    protos(\"error\", \"\/**< Erroneous headers *\/\", -4);\n+    protos(\"separator\", \"\/**< Separator line between headers and body *\/\", -5);\n+    protos(\"payload\", \"\/**< Message payload *\/\", -6);\n+    if (multipart)\n+      protos(\"multipart\", \"\/**< Multipart payload *\/\", -7);\n+  }\n+    \n+  if (PR) {\n+    process_footer(footer);\n+  }\n+  else if (PT) {\n+    if (FLAGFILE)\n+      read_header_flags(FLAGFILE);\n+\n+    if (TEMPLATE == \"\") { TEMPLATE = PT \".in\"; }\n+    RS0=RS; RS=\"\f+\\n\";\n+    getline theader < TEMPLATE;\n+    getline header < TEMPLATE;\n+    getline template < TEMPLATE;\n+    getline footer < TEMPLATE;\n+    RS=RS0;\n+\n+    sub(\/.*[\\\/]\/, \"\", TEMPLATE);\n+    gsub(\/#AUTO#\/, auto, header);\n+    gsub(\/#DATE#\/, \"@date Generated: \" date, header);\n+    print header > PT;\n+\n+    print \"\" > PT;\n+    print \"#define msg_offsetof(s, f) ((unsigned short)offsetof(s ,f))\" > PT;\n+    print \"\" > PT;\n+\n+    if (MC_SHORT_SIZE) {\n+      printf(\"static msg_href_t const \" \\\n+\t     \"%s_short_forms[MC_SHORT_SIZE] = \\n{\\n\", \n+\t     module) > PT;      \n+\n+      for (i = 1; i <= MC_SHORT_SIZE; i = i + 1) {\n+\tc = (i == MC_SHORT_SIZE) ? \"\" : \",\";\n+\tif (i in shorts) {\n+\t  n = shorts[i];\n+        flags = header_flags[n]; if (flags) flags = \",\\n      \" flags;\n+\t  \n+\tprintf(\"  { \/* %s *\/ %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\", \n+\t       substr(lower_case, i, 1), \n+\t       tprefix, n, module, prefix, n, flags, c)\t\\\n+\t    > PT;\n+\t}\n+\telse {\n+\t  printf(\"  { NULL }%s\\n\", c) \\\n+\t    > PT;\n+\t}\n+      }\n+      printf(\"};\\n\\n\") > PT;      \n+    }\n+\n+    # printf(\"extern msg_hclass_t msg_multipart_class[];\\n\\n\") > PT;\n+\n+    if (basic == 0) basic = total;\n+    if (without_experimental == 0) without_experimental = total;\n+\n+    split(\"\", header_hash);\n+    split(\"\", index_hash);\n+\n+    for (i = 0; i < basic; i++) {\n       n = headers[i];\n       h = hashed[n];\n \n@@ -543,38 +587,50 @@\n       }\n \n       header_hash[j] = n;\n-      experimental2[j] = (i >= without_experimental);\n-    }\n-\n-    for (i = 0; i < MC_HASH_SIZE; i++) {\n-      c = (i + 1 == MC_HASH_SIZE) ? \"\" : \",\";\n-      if (i in header_hash) {\n-\tn = header_hash[i];\n-        flags = header_flags[n]; if (flags) flags = \",\\n      \" flags;\n-\n-\tif (experimental2[i]) {\n-\t  print \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n-\t}\n-\n-\tif (Since[n]) {\n-\t  printf(\"    { %s_%s_class,\\n\" \\\n-\t\t \"      msg_offsetof(struct %s, extra[%u])%s }%s\\n\", \n-\t\t tprefix, n, extra_struct, Extra[n], flags, c) > PT;\n-\t}\n-\telse {\n-\t  printf(\"    { %s_%s_class, msg_offsetof(%s_t, %s_%s)%s }%s\\n\", \n-\t\t tprefix, n, module, prefix, n, flags, c) > PT;\n-\t}\n-\n-\tif (experimental2[i]) {\n-\t  printf(\"#else\\n    { NULL, 0 }%s\\n#endif\\n\", c) > PT;\n-\t}\n-      }\n-      else {\n-\tprintf(\"    { NULL, 0 }%s\\n\", c) > PT;\n-      }\n-    }\n-    printf(\"  }\\n}};\\n\\n\") > PT;\n+      index_hash[j] = i;\n+    }\n+\n+    m = module \"_mclass\";\n+    s = \"_d_\" module \"_t\";\n+\n+    \/* Add basic headers *\/\n+    if (ordinary == basic) {\n+      print_parser_table(s, \"\", m, basic, basic);\n+    }\n+    else if (basic < without_experimental) {\n+      print_parser_table(s, \"\", m, basic, basic);\n+    }\n+    else {\n+      print_parser_table(s, \"\", m, without_experimental, basic);\n+   }\n+\n+    \/* Hash extra headers *\/\n+   for (i = basic; i < total; i++) {\n+      n = headers[i];\n+      h = hashed[n];\n+\n+      if (h < 0)\n+\tcontinue;\n+\n+      j = h % MC_HASH_SIZE; if (j == -0) j = 0;\n+\n+      for (; j in header_hash;) {\n+\tif (++j == MC_HASH_SIZE) {\n+\t  j = 0;\n+\t}\n+      }\n+\n+      header_hash[j] = n;\n+      index_hash[j] = i;\n+    }\n+\n+    if (basic < total) {\n+      m = module \"_ext_mclass\";\n+      s = \"_e_\" module \"_s\";\n+      print_parser_table(s, \"static\", m, without_experimental, total);\n+    }\n+    \n+    printf(\"msg_mclass_t const * %s_extended_mclass = %s;\\n\", module, m) > PT;\n   }\n \n   exit success;\n"}
{"commit":"157e42138f5d9da9049106fd2e0bde433f3806b8","subject":"msg_parser.awk: not extending header structure unless needed.","message":"msg_parser.awk: not extending header structure unless needed.\n\nRemoved gawk-ish \/* comments *\/.\n\ndarcs-hash:20071005172604-88462-534f27ddb24a0863406057e7f64cdab96830003b.gz\n","repos":"erdincay\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -407,17 +407,19 @@\n function print_parser_table(struct, scope, name, N, N_EXPERIMENTAL)\n {\n   if (PT) {\n-    printf(\"\/* Ordinary %u, extra %u, experimental %u *\/\\n\",\n-\t   ordinary, N - ordinary, N_EXPERIMENTAL - N) > PT;\n-    printf(\"struct %s {\\n\", struct) > PT;\n-    printf(\"  %s_t base;\\n\", module) > PT;\n-    printf(\"  msg_header_t *extra[%u];\\n\", N - ordinary) > PT;\n-    if (N != N_EXPERIMENTAL) {\n-      print \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n-      printf(\"  msg_header_t *extra[%u];\\n\", N_EXPERIMENTAL - N) > PT;\n-      print \"#endif\" > PT;\n-    }\n-    printf(\"};\\n\\n\") > PT;\n+    if (N > ordinary) {\n+      printf(\"\/* Ordinary %u, extra %u, experimental %u *\/\\n\",\n+\t     ordinary, N - ordinary, N_EXPERIMENTAL - N) > PT;\n+      printf(\"struct %s {\\n\", struct) > PT;\n+      printf(\"  %s_t base;\\n\", module) > PT;\n+      printf(\"  msg_header_t *extra[%u];\\n\", N - ordinary) > PT;\n+      if (N != N_EXPERIMENTAL) {\n+\tprint \"#if SU_HAVE_EXPERIMENTAL\" > PT;\n+\tprintf(\"  msg_header_t *extra[%u];\\n\", N_EXPERIMENTAL - N) > PT;\n+\tprint \"#endif\" > PT;\n+      }\n+      printf(\"};\\n\\n\") > PT;\n+    }\n \n     printf(\"%s\\n\", scope) > PT;\n     printf(\"msg_mclass_t const %s[1] = \\n{{\\n\", name) > PT;\n@@ -433,7 +435,12 @@\n     printf(\"#else\\n\") > PT;\n     printf(\"  0,\\n\") > PT;\n     printf(\"#endif\\n\") > PT;\n-    printf(\"  sizeof (struct %s),\\n\", struct) > PT;\n+    if (N > ordinary) {\n+      printf(\"  sizeof (struct %s),\\n\", struct) > PT;\n+    }\n+    else {\n+      printf(\"  sizeof (%s_t),\\n\", module) > PT;\n+    }\n     printf(\"  %s_extract_body,\\n\", module) > PT;\n \n     len = split(\"request status separator payload unknown error\", unnamed, \" \");\n@@ -593,7 +600,7 @@\n     m = module \"_mclass\";\n     s = \"_d_\" module \"_t\";\n \n-    \/* Add basic headers *\/\n+    # Add basic headers\n     if (ordinary == basic) {\n       print_parser_table(s, \"\", m, basic, basic);\n     }\n@@ -606,7 +613,7 @@\n \n    if (0) {\n \n-   \/* Hash extra headers *\/\n+   # Hash extra headers\n    for (i = basic; i < total; i++) {\n       n = headers[i];\n       h = hashed[n];\n"}
{"commit":"6999d94288da80bb5f46100db0915b608f1c8bb5","subject":"[proofalytics] drop extra .v from links","message":"[proofalytics] drop extra .v from links\n","repos":"DistributedComponents\/verdi-aggregation,DistributedComponents\/verdi-aggregation,DistributedComponents\/verdi-aggregation,DistributedComponents\/verdi-aggregation","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- proofalytics\/build-times-links.awk\n+++ proofalytics\/build-times-links.awk\n@@ -10,6 +10,6 @@\n   if (NR == 1) {\n     print $0\n   } else {\n-    printf(\"<a href='%s\/%s.v'>%s.v<\/a>,%s\\n\", gh, $1, $1, $2)\n+    printf(\"<a href='%s\/%s'>%s<\/a>,%s\\n\", gh, $1, $1, $2)\n   }\n }\n"}
{"commit":"0ed93c787b2da5b140f94b4a2fd90f7390e3c48f","subject":"Clean up bonus and part2 code","message":"Clean up bonus and part2 code\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -226,13 +226,15 @@\n         showType = \"S\"\n     # Default episodeType to \"E\"\n     episodeType = \"E\"\n-    # Default bonus episodeType to \"X\"\n-    if (episodeURL ~ \/bonus\\\/\/) {\n+    # Default bonus & parttwo episodeType to \"X\"\n+    if (episodeURL ~ \/bonus\\\/|[0-9]{1,2}parttwo\\\/\/)\n         episodeType = \"X\"\n-    }\n-    # Default christmasspecial episodeType to \"K\", don't increment seasonNumber\n-    if (episodeURL ~ \/christmasspecial\\\/\/) {\n-        episodeType = \"K\"\n+    # Default christmasspecial & seriesfinale episodeType to \"X\" & don't increment seasonNumber\n+    if (episodeURL ~ \/christmasspecial\\\/|\\\/seriesfinale\\\/\/) {\n+        episodeType = \"X\"\n+        split (episodeURL, part, \"\/\")\n+        printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n+               part[4], part[5], seasonNumber) >> ERROR_FILE\n         seasonNumber -= 1\n     }\n     #\n@@ -247,12 +249,14 @@\n     # The season number should match that in the URL\n     # Birds of a Feather, Doc Martin, Murdoch, Poirot, Rebus, Vera, and others have problems\n     if (episodeURL ~ \\\n-           \/\\\/series[0-9]{1,2}\\\/|[0-9]{1,2}bonus\\\/|\\\/murdoch\\\/season[0-9]{1,2}\/) {\n+           \/\\\/series[0-9]{1,2}\\\/|[0-9]{1,2}bonus\\\/|[0-9]{1,2}parttwo\\\/|\\\/murdoch\\\/season[0-9]{1,2}\/) {\n         split (episodeURL, part, \"\/\")\n         URLseasonNumber = part[5]\n         sub (\/bonus\/,\"\",URLseasonNumber)\n         # Foyle's War has sets: foyleswar\/series9set8bonus\/\n         sub (\/set[0-9]\/,\"\",URLseasonNumber)\n+        # Midsomer Murders has two parts: midsomermurders\/series19parttwo\/\n+        sub (\/parttwo\/,\"\",URLseasonNumber)\n         sub (\/christmasspecial\/,\"\",URLseasonNumber)\n         sub (\/[[:alpha:]]*\/,\"\",URLseasonNumber)\n         if (URLseasonNumber != seasonNumber) {\n"}
{"commit":"8adaee06e2b75f9765a71684a2c307fed99f6f45","subject":"TranslatorInterface: add abstract method _PostRequestBody()","message":"TranslatorInterface: add abstract method _PostRequestBody()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/TranslatorInterface.awk\n+++ include\/TranslatorInterface.awk\n@@ -14,10 +14,16 @@\n     return @vm(text, sl, tl, hl)\n }\n \n-# Abstract method foobarPostRequestUrl(text, sl, tl, hl: string): string\n-function _PostRequestUrl(text, sl, tl, hl,    vm) {\n+# Abstract method foobarPostRequestUrl(text, sl, tl, hl, type: string): string\n+function _PostRequestUrl(text, sl, tl, hl, type,    vm) {\n     vm = engineMethod(\"PostRequestUrl\")\n-    return @vm(text, sl, tl, hl)\n+    return @vm(text, sl, tl, hl, type)\n+}\n+\n+# Abstract method foobarPostRequestBody(text, sl, tl, hl, type: string): string\n+function _PostRequestBody(text, sl, tl, hl, type,    vm) {\n+    vm = engineMethod(\"PostRequestBody\")\n+    return @vm(text, sl, tl, hl, type)\n }\n \n # Abstract method foobarTTSUrl(text, tl: string): string\n"}
{"commit":"06e66d3c023167915cfd0d722bd57fb5f3f12959","subject":"Help: update","message":"Help: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -247,7 +247,7 @@\n         ansi(\"bold\", \"-theme [theme]\") RS                               \\\n         ins(1, \"Specify the theme to use. (default: default)\") RS       \\\n         ansi(\"bold\", \"-no-ansi\") RS                                     \\\n-        ins(1, \"Do not use ANSI escape codes in the translation.\") RS    \\\n+        ins(1, \"Do not use ANSI escape codes in the translation.\") RS   \\\n         ansi(\"bold\", \"-w [num], -width [num]\") RS                       \\\n         ins(1, \"Specify the screen width for padding when displaying right-to-left languages.\") RS \\\n         ansi(\"bold\", \"-indent [num]\") RS                                \\\n@@ -287,7 +287,7 @@\n         ansi(\"bold\", \"-t [codes], -target [codes]\") RS                  \\\n         ins(1, \"Specify the target language(s) (language(s) of the translated text).\") RS \\\n         ansi(\"bold\", \"-no-init\") RS                                     \\\n-        ins(1, \"Do not load any initialization script.\") RS     \\\n+        ins(1, \"Do not load any initialization script.\") RS             \\\n         RS \"See the man page \" Command \"(1) for more information.\"\n }\n \n"}
{"commit":"e0d799c4b5759f39f2cd962a5adce337952d47e9","subject":"add option -nothing","message":"add option -nothing\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -195,6 +195,13 @@\n                 if (group[3]) split(group[3], Option[\"tl\"], \"+\")\n             } else\n                 split(ARGV[++pos], Option[\"tl\"], \"+\")\n+            continue\n+        }\n+\n+        # -N, -nothing\n+        match(ARGV[pos], \/^--?(N|nothing)$\/)\n+        if (RSTART) {\n+            InfoOnly = \"nothing\"\n             continue\n         }\n \n@@ -568,6 +575,8 @@\n     case \"list\":\n         print getList(Option[\"tl\"])\n         exit\n+    case \"nothing\":\n+        exit\n     }\n \n     if (Option[\"interactive\"])\n"}
{"commit":"0d640564fc90a5bd7464ec2b2d766ddba5b82a93","subject":"change -U to -u as shorthand for option -user-agent","message":"change -U to -u as shorthand for option -user-agent\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -339,8 +339,8 @@\n             continue\n         }\n \n-        # -U [agent], -user-agent [agent]\n-        match(ARGV[pos], \/^--?(user-agent|U)(=(.*)?)?$\/, group)\n+        # -u [agent], -user-agent [agent]\n+        match(ARGV[pos], \/^--?(user-agent|u)(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"user-agent\"] = group[2] ?\n                 (group[3] ? group[3] : Option[\"user-agent\"]) :\n"}
{"commit":"dd1381b41dda93e78b58fefcd2bec5b77d7b55d0","subject":"add UriSchemes","message":"add UriSchemes\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -295,7 +295,15 @@\n     return !system(\"test -f \" file)\n }\n \n+# Initialize `UriSchemes`.\n+function initUriSchemes() {\n+    UriSchemes[0] = \"file\"\n+    UriSchemes[1] = \"http\"\n+    UriSchemes[2] = \"https\"\n+}\n+\n BEGIN {\n     initUrlEncoding()\n     initAnsiCode()\n-}\n+    initUriSchemes()\n+}\n"}
{"commit":"357e58f648c22edcac3dd3d624b8e4d481ec2c3b","subject":"Quick fix for parsing from pipe to be working","message":"Quick fix for parsing from pipe to be working\n","repos":"nibb13\/pushall.sh","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- JSON.awk\n+++ JSON.awk\n@@ -34,10 +34,10 @@\n \t# filepathnames from stdin\n \t# usage: echo -e \"file1\\nfile2\\n\" | awk -f JSON.awk\n \t# usage: { echo -; echo; cat; } | awk -f JSON.awk\n-\twhile (getline ARGV[++ARGC] < \"\/dev\/stdin\") {\n-\t\tif (ARGV[ARGC] == \"\")\n-\t\t\tbreak\n-\t}\n+\t#while (getline ARGV[++ARGC] < \"\/dev\/stdin\") {\n+\t#\tif (ARGV[ARGC] == \"\")\n+\t#\t\tbreak\n+\t#}\n \t# set file slurping mode\n \tsrand(); RS=\"n\/o\/m\/a\/t\/c\/h\" rand()\n }\n"}
{"commit":"924a9a073cd88e276e2fef352ec8bd34308171a0","subject":"Ignore some commands when generating devtest.md.","message":"Ignore some commands when generating devtest.md.\n\nRunning devtest.sh will require some commands that don't make sense\nin the devtest.md docs, such as toggling set +\/- u when setting\n$no_proxy.\nextract_docs will now ignore lines that end with \"#nodocs\" when\nwriting devtest.md.\n\nChange-Id: Ibcb6e25c23b4797a21a3b43fedd10e591f68c699\n","repos":"rdo-management\/tripleo,rdo-management\/tripleo","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- scripts\/extract-docs.awk\n+++ scripts\/extract-docs.awk\n@@ -31,6 +31,8 @@\n             unexpected_eof()\n         if (line ~ \/^### --end\/)\n             break\n+        if (match(line, \".* #nodocs$\"))\n+            continue\n         if (substr(line, 0, 3) == \"## \") {\n             line = substr(line, 4)\n         } else if (line != \"\") {\n"}
{"commit":"cd20ed5b1903fe546ff0099efb0cee725a55ce87","subject":"ahrf.awk: do not espace &, because gawk thinks it is a sequence","message":"ahrf.awk: do not espace &, because gawk thinks it is a sequence\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -6,7 +6,7 @@\n {\n \t# Common shell symbols to HTML\n \t# Two backslashes for nawk(1) and OpenBSD awk(1)\n-\tgsub(\/\\&\/,\"\\\\&amp;\")\n+\tgsub(\/&\/,\"\\\\&amp;\")\n \tgsub(\/<\/,\"\\\\&lt;\")\n \tgsub(\/>\/,\"\\\\&gt;\")\n }\n"}
{"commit":"d5d50a75598baee68ba15c015e5df851f9e2b747","subject":"Define the DOTn constants in the Java bindings as bytes (rather than as chars). (dm)","message":"Define the DOTn constants in the Java bindings as bytes (rather than as chars). (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@4504 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Bindings\/Java\/constants.awk\n+++ Bindings\/Java\/constants.awk\n@@ -60,7 +60,7 @@\n }\n \n function brlDot(number, symbol, value, help) {\n-  writeJavaConstant(\"int\", \"DOT\" number, value, help)\n+  writeJavaConstant(\"byte\", \"DOT\" number, \"(byte) (\" value \")\", help)\n }\n \n function apiConstant(name, symbol, value, help) {\n"}
{"commit":"ad505c631e404c8d893fd1b5bf864f1679f1df40","subject":"revise tool.hgas\/calc_quad_dft.awk","message":"revise tool.hgas\/calc_quad_dft.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tool.hgas\/calc_quad_dft.awk\n+++ tool.hgas\/calc_quad_dft.awk\n@@ -1,3 +1,4 @@\n+#argv: tbgn, tend\n BEGIN{\n     dndex = 8;\n     nfbin = 14 * dndex + 1;\n@@ -11,6 +12,10 @@\n     n = 0;\n }\n {\n+    if($1 - int($1 * 256.) \/ 256. != 0.) {\n+\tnext;\n+    }\n+\n     if($1 < tbgn || tend < $1) {\n \tnext;\n     }\n"}
{"commit":"ae8d9b36f0185b6b7ff9e2124aee7403345a7edb","subject":"revise tool.tde2d\/padInitialiCondition.awk","message":"revise tool.tde2d\/padInitialiCondition.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tool.tde2d\/padInitialCondition.awk\n+++ tool.tde2d\/padInitialCondition.awk\n@@ -4,11 +4,11 @@\n }\n {\n     if(NR == 1) {\n-        print $4, $5, $6;\n+        print $1, $2, $3;\n     } else {\n-        dz = ($4 - prevz) \/ n;\n-        dd = ($5 - prevd) \/ n;\n-        dv = ($6 - prevv) \/ n;\n+        dz = ($1 - prevz) \/ n;\n+        dd = ($2 - prevd) \/ n;\n+        dv = ($3 - prevv) \/ n;\n         for(i = 0; i < n; i++) {\n             posz = prevz + dz * (i + 1);\n             dens = prevd + dd * (i + 1);\n@@ -16,9 +16,9 @@\n             printf(\"%+e %+e %+e\\n\", posz, dens, velz);\n         }\n     }\n-    prevz = $4;\n-    prevd = $5;\n-    prevv = $6;\n+    prevz = $1;\n+    prevd = $2;\n+    prevv = $3;\n }\n END{\n     for(i = 0; i < n-1; i++) {\n"}
{"commit":"a06a20203f9a5a0f305765062e6013f59a64bb03","subject":"rnc2rng.awk: Support notAllowed","message":"rnc2rng.awk: Support notAllowed\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rnc2rng.awk\n+++ rnc2rng.awk\n@@ -218,6 +218,9 @@\n     if (name == \"empty\") {\n       stack[++stack_i] = \"<empty\/>\";\n     }\n+    else if (name == \"notAllowed\") {\n+      stack[++stack_i] = \"<notAllowed\/>\";\n+    }\n     else {\n       stack[++stack_i] = sprintf(\"<ref name='%s'\/>\", name);\n     }\n"}
{"commit":"17d3d1fc16921a813dd029a0f2c4cffce533e441","subject":"Skip the DECLK layout when generating the GSC maps. ok mickey@","message":"Skip the DECLK layout when generating the GSC maps.\nok mickey@\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- arch\/hppa\/gsc\/makemap.awk\n+++ arch\/hppa\/gsc\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.2 2003\/05\/27 15:31:52 mickey Exp $\n+#\t$OpenBSD: makemap.awk,v 1.3 2005\/05\/04 20:07:07 miod Exp $\n #\n # Copyright (c) 2003, Miodrag Vallat.\n # All rights reserved.\n@@ -34,6 +34,7 @@\n \n BEGIN {\n \tmapnum = 0\n+\tdeclk = 0\n \n \t# PS\/2 id -> GSCKBD conversion table, or \"sanity lossage 101\"\n \tfor (i = 0; i < 256; i++)\n@@ -176,12 +177,23 @@\n \tprint $0\n \tnext\n }\n+# Don't bother converting the DEC LK layout.\n+\/declk\\[\/ {\n+\tdeclk = 1\n+\tnext\n+}\n+\/declk\/ {\n+\tnext\n+}\n \/pckbd\/ {\n \tgsub(\"pckbd\", \"gsckbd\", $0)\n \tprint $0\n \tnext\n }\n \/KC\/ {\n+\tif (declk)\n+\t\tnext\n+\n \tsidx = substr($1, 4, length($1) - 5)\n \torig = int(sidx)\n \tid = conv[orig]\n@@ -208,6 +220,10 @@\n \tnext\n }\n \/};\/ {\n+\tif (declk) {\n+\t\tdeclk = 0\n+\t\tnext\n+\t}\n \tif (mapnum == 0) {\n \t\t# Add 241 to the US map...\n \t\tprint \"    KC(241),\\tKS_Delete\"\n@@ -255,5 +271,7 @@\n \tprintf(\"\\tKBD_MAP(KB_US | KB_MACHDEP,\\tKB_US,\\tpckbd_keydesc_precisionbook),\\n\");\n }\n {\n+\tif (declk)\n+\t\tnext\n \tprint $0\n }\n"}
{"commit":"731f261c728f7b5eb75fdab862003746ac5617b9","subject":"Main: fix typo","message":"Main: fix typo\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -116,7 +116,7 @@\n     if (!Option[\"width\"] && detectProgram(\"tput\", \"-V\")) {\n         command = \"tput cols\" SUPERR\n         command | getline temp\n-        close(commnad)\n+        close(command)\n         Option[\"width\"] = temp ? temp - 2 : 64\n     }\n \n"}
{"commit":"b5960997d7d3ebcb3671171e15e2864da3d0f24c","subject":"Main: update","message":"Main: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -562,8 +562,9 @@\n     }\n \n     if (Option[\"interactive\"]) {\n-        print AnsiCode[\"bold\"] AnsiCode[tolower(Option[\"prompt-color\"])] getVersion() AnsiCode[0] > STDERR\n-        print AnsiCode[tolower(Option[\"prompt-color\"])] \"(:q to quit)\" AnsiCode[0] > STDERR\n+        l(\">> starting interactive shell\")\n+        print ansi(\"bold\", ansi(tolower(Option[\"prompt-color\"]), getVersion())) > STDERR\n+        print ansi(tolower(Option[\"prompt-color\"]), \"(:q to quit)\") > STDERR\n     }\n \n     init3() # initialization #3\n"}
{"commit":"321d890cd650e868c408edb7422936cb61e0c04d","subject":"Bugfix: Do not include non-existent source files.","message":"Bugfix: Do not include non-existent source files.\n\n\tmodified:   code\/awk\/generate_source_list_from_make_output.awk\n","repos":"nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- code\/awk\/generate_source_list_from_make_output.awk\n+++ code\/awk\/generate_source_list_from_make_output.awk\n@@ -21,8 +21,12 @@\n     {\n         current_filename = new_filename;\n \n-        # print the filename.\n-        print current_filename;\n+        # find out if there's a matching source file.\n+        if (system(\"test -f \" current_filename) == 0)\n+        {\n+            # print the filename.\n+            print current_filename;\n+        }\n \n         # find out if there's a matching `*.h` header file too.\n         header_filename = gensub(\/(^.*\\.)c(|pp)$\/, \"\\\\1h\", \"g\", current_filename);\n"}
{"commit":"4993ab851b1293a62e2488ee1a758132c99e64a0","subject":"test: add support for arrays in assertEqual() and assertNotEqual()","message":"test: add support for arrays in assertEqual() and assertNotEqual()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test.awk\n+++ test.awk\n@@ -1,26 +1,33 @@\n #!\/usr\/bin\/gawk -f\n @include \"include\/Commons\"\n-@include \"include\/Utils\"\n \n-function pass(string, ansiCode) {\n+function pass(name, message, ansiCode,    string) {\n+    if (!name) name = TEST\n     if (!ansiCode) ansiCode = \"green\"\n+\n+    G_COUNTER++; COUNTER++; G_SUCCESS++\n+    string = sprintf(\"(%2s\/%-2s) TESTING %s\", COUNTER, TOTAL, name)\n+    if (message) string = string \"\\n       \" message\n     print(ansi(ansiCode, ansi(\"bold\", \"[PASS] \" string)))\n }\n \n-function fail(string, ansiCode) {\n+function fail(name, message, ansiCode,    string) {\n+    if (!name) name = TEST\n     if (!ansiCode) ansiCode = \"red\"\n+\n+    G_COUNTER++; COUNTER++\n+    string = sprintf(\"(%2s\/%-2s) TESTING %s\", COUNTER, TOTAL, name)\n+    if (message) string = string \"\\n       \" message\n     print(ansi(ansiCode, ansi(\"bold\", \"[FAIL] \" string)))\n }\n \n function assertTrue(x, name, message, ansiCode) {\n-    if (!message) message = \"assertTrue: FALSE\"\n-    if (!name) name = TEST\n-    G_COUNTER++; COUNTER++\n-    string = \"(\" COUNTER \"\/\" TOTAL \") TESTING \" name\n-    if (x) {\n-        G_SUCCESS++\n-        pass(string, ansiCode)\n-    } else fail(string \"\\n       \" message, ansiCode)\n+    if (x)\n+        pass(name, \"\", ansiCode)\n+    else {\n+        if (!message) message = \"assertTrue: FALSE\"\n+        fail(name, message, ansiCode)\n+    }\n }\n \n function assertFalse(x, name, message, ansiCode) {\n@@ -28,18 +35,71 @@\n     assertTrue(!x, name, message, ansiCode)\n }\n \n-function assertEqual(x, y, name, message, ansiCode) {\n-    if (!message)\n-        message = \"assertEqual: \" ansi(\"underline\", x)  \\\n-            \" IS NOT EQUAL TO \" ansi(\"underline\", y)\n-    assertTrue(x == y, name, message, ansiCode)\n+function assertEqual(x, y, name, message, ansiCode,    i) {\n+    if (isarray(x) && !isarray(y)) {\n+        if (!message)\n+            message = \"assertEqual: EXPECTED SCALAR VALUE \" ansi(\"underline\", y) \", GOT:\"\n+        fail(name, message, ansiCode)\n+        da(x)\n+\n+    } else if (!isarray(x) && isarray(y)) {\n+        if (!message)\n+            message = \"assertEqual: GOT SCALAR VALUE \" ansi(\"underline\", x) \", EXPECTED:\"\n+        fail(name, message, ansiCode)\n+        da(y)\n+\n+    } else if (isarray(x) && isarray(y)) {\n+        if (length(x) != length(y)) {\n+            if (!message)\n+                message = \"assertEqual: ARRAY LENGTH \"                  \\\n+                    ansi(\"underline\", length(x)) \" != \" ansi(\"underline\", length(y))\n+            fail(name, message, ansiCode)\n+\n+        } else {\n+            for (i in x) {\n+                if (x[i] != y[i]) {\n+                    if (!message)\n+                        message = \"assertEqual: ARRAY[\" i \"] \"          \\\n+                            ansi(\"underline\", x[i]) \" != \" ansi(\"underline\", y[i])\n+                    fail(name, message, ansiCode)\n+                    return\n+                }\n+            }\n+            pass(name, \"\", ansiCode)\n+        }\n+\n+    } else {\n+        if (!message)\n+            message = \"assertEqual: \" ansi(\"underline\", x)      \\\n+                \" IS NOT EQUAL TO \" ansi(\"underline\", y)\n+        assertTrue(x == y, name, message, ansiCode)\n+    }\n }\n \n-function assertNotEqual(x, y, name, message, ansiCode) {\n-    if (!message)\n-        message = \"assertNotEqual: \" ansi(\"underline\", x)       \\\n-            \" IS EQUAL TO \" ansi(\"underline\", y)\n-    assertFalse(x == y, name, message, ansiCode)\n+function assertNotEqual(x, y, name, message, ansiCode,    i) {\n+    if (isarray(x) && isarray(y)) {\n+        if (length(x) != length(y))\n+            pass(name, \"\", ansiCode)\n+        else {\n+            for (i in x) {\n+                if (x[i] != y[i]) {\n+                    pass(name, \"\", ansiCode)\n+                    return\n+                }\n+            }\n+            if (!message)\n+                message = \"assertNotEqual: TWO ARRAYS ARE IDENTICAL\"\n+            fail(name, message, ansiCode)\n+        }\n+\n+    } else if (!isarray(x) && !isarray(y)) {\n+        if (!message)\n+            message = \"assertNotEqual: \" ansi(\"underline\", x)   \\\n+                \" IS EQUAL TO \" ansi(\"underline\", y)\n+        assertFalse(x == y, name, message, ansiCode)\n+\n+    } else\n+        pass(name, \"\", ansiCode)\n }\n \n function T(test, total) {\n@@ -49,7 +109,7 @@\n }\n \n function START_TEST(name) {\n-    print(ansi(\"negative\", ansi(\"bold\", \"====== TESTING FOR \"   \\\n+    print(ansi(\"negative\", ansi(\"bold\", \"====== TESTING FOR \"           \\\n                                 ansi(\"underline\", name) \" STARTED\")))\n     G_COUNTER = G_SUCCESS = 0\n }\n"}
{"commit":"109f9dcb91edeb9a539f6bda6f0a0f68a0ed910d","subject":"Update prettyjson.awk for greater compatibility","message":"Update prettyjson.awk for greater compatibility\n\nFixes #1\n","repos":"gibson042\/canonicaljson-spec","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/prettyjson.awk\n+++ test\/prettyjson.awk\n@@ -2,7 +2,15 @@\n BEGIN {\n \t# define constants\n \tSTRUCTURAL_TOKEN = \"^[]{:,}[]\"\n-\tTOKEN = \"[\\t\\n\\r ]+|[]{:,}[]|null|false|true|-?(0|[1-9][0-9]*)(\\\\.[0-9]+|)([Ee][+-]?[0-9]+|)|\\\"(\\\\\\\\[\\\"\\\\\\\\\/bfnrt]|\\\\\\\\u[0-9a-fA-F]{4}|[^\\\\0-\\\\37\\\"\\\\\\\\])*\\\"\"\n+\t\t# whitespace, punctuator, keyword literal, number, or string\n+\tTOKEN = sprintf(                                                        \\\n+\t\t\"[\\t\\n\\r ]+|[]{:,}[]|null|false|true|\"                              \\\n+\t\t\"-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?([Ee][+-]?[0-9]+)?|\"                  \\\n+\t\t\"\\\"(\\\\\\\\[\\\"\\\\\\\\\/bfnrt]|\\\\\\\\u[0-9a-fA-F]{4}|[^\\\\%d-\\\\37\\\"\\\\\\\\])*\\\"\", \\\n+\n+\t\t# ancient awk implementations mishandle NULL characters\n+\t\tmatch(\"\", \"[\\\\0]\")                                                  \\\n+\t)\n \tMALFORMED = \"Non-token input after %d characters: \"\n \tMAX_LINE = 72\n \tINDENT = \"  \"\n@@ -42,7 +50,7 @@\n \t\t\t\terr = err substr(excess, 1, free)\n \t\t\t}\n \n-\t\t\tprint err \"\\n\" > \"\/dev\/stderr\"\n+\t\t\tprintf \"%s\\n\", err > \"\/dev\/stderr\"\n \t\t\texit 65 # EX_DATAERR\n \t\t}\n \n@@ -51,7 +59,7 @@\n \t\tunconsumed = substr(unconsumed, RLENGTH + 1)\n \t\tconsumed += RLENGTH\n \n-\t\t# skip whitespace (octal \\40 is the first non-whitespace non-control character)\n+\t\t# skip whitespace (octal \\41 is the first non-whitespace non-control character)\n \t\tif ( token < \"\\41\" ) continue\n \n \t\t# detect some invalid adjancencies\n@@ -65,22 +73,22 @@\n \t\tif ( token == \"]\" || token == \"}\" ) {\n \t\t\tindent = substr(indent, length(INDENT) + 1)\n \t\t\tif ( new_line != \"maybe\" ) {\n-\t\t\t\tprint \"\\n\" indent\n+\t\t\t\tprintf \"\\n%s\", indent\n \t\t\t}\n \t\t} else if ( new_line ) {\n-\t\t\tprint \"\\n\" indent\n+\t\t\tprintf \"\\n%s\", indent\n \t\t}\n \n \t\t# output token and remember newline intent\n \t\tif ( token == \"[\" || token == \"{\" ) {\n-\t\t\tprint token\n+\t\t\tprintf \"%s\", token\n \t\t\tindent = indent INDENT\n \t\t\tnew_line = \"maybe\"\n \t\t} else if ( token == \":\" ) {\n-\t\t\tprint \": \"\n+\t\t\tprintf \": \"\n \t\t\tnew_line = 0\n \t\t} else {\n-\t\t\tprint token\n+\t\t\tprintf \"%s\", token\n \t\t\tnew_line = ( token == \",\" )\n \t\t}\n \t}\n@@ -89,4 +97,4 @@\n \tconsumed++\n }\n \n-END { print \"\\n\" }\n+END { printf \"\\n\" }\n"}
{"commit":"5d378af74d1c98ba3933a2a35e93a5c14883e5f6","subject":"- use kabi whitelists","message":"- use kabi whitelists\n","repos":"kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -1380,9 +1380,35 @@\n \t    set_symset(set, hash, pos, ssym, scrc, own, src, \"syssymset\")\n \t}\n \t# TODO: revalidate the hash by regenerating it\n+\tclose(tar)\n     }\n     print_vinfo(1,\"r: syssymset, syms \" count_syms \", sets \" count_sets)\n-    close(tar)\n+    return n\n+}\n+# read and process kabi_whitelist_<cpu> file\n+function read_whitelist(file, own, src,\t    n, command, list, count_lists)\n+{\n+    count_syms = 0; count_lists = 0\n+    print_vinfo(1,\"r: whitelist, file = \\\"\" file \"\\\"\")\n+    n = 0\n+    if (system(\"test -r \" file) == 0) {\n+\tcommand = cat_command(file)\n+\twhile ((command | getline) == 1) {\n+\t    if ($1~\/^[[][^][]*[]]$\/) {\n+\t\tlist = $1\n+\t\tsub(\/^[[]\/,\"\",list)\n+\t\tsub(\/[]]$\/,\"\",list)\n+\t\tcount_lists = count_lists + 1\n+\t\tcontinue\n+\t    } else {\n+\t\tset_symbol($1, \"\", \"\", \"\", \"\", 0, \"\", src \":\" list, 1, own)\n+\t\tkabi[$1] = 1\n+\t\tn++\n+\t    }\n+\t}\n+\tclose(command)\n+    }\n+    print_vinfo(1,\"r: whitelist, syms \" count_syms \", lists \" count_lists)\n     return n\n }\n function path_symvers(path,\tn,files,file,i)\n@@ -1928,6 +1954,7 @@\n     }\n     if (\"kversion\" in ENVIRON) { kversion = ENVIRON[\"kversion\"] }\n     else                       { kversion = getline_command(\"uname -r\") }\n+    cpu = getline_command(\"uname -m\")\n     # MODPOST_SYSVER  contains all the system  defined symbol versions\n     # MODPOST_MODVER  contains all the package defined symbol versions\n     # MODPOST_SYMSETS contains the new symbol sets (jltz)\n@@ -1944,6 +1971,7 @@\n     longopts[\"pkgabi\"       ] = \"P:\" ; environs[\"pkgabi\"       ] = \"MODPOST_PKGABI\"\t\t ; defaults[\"pkgabi\"       ] = \"package.abi\"\t\t\t\t\t; descrips[\"pkgabi\"       ] = \"input file containing package ABI definitions\"\n     longopts[\"symsets\"      ] = \"S:\" ; environs[\"symsets\"      ] = \"MODPOST_SYMSETS\"\t\t ; defaults[\"symsets\"      ] = \"symsets-openss7-\" kversion \".tar.gz\"\t\t; descrips[\"symsets\"      ] = \"output file for symsets\"\n     longopts[\"ksymsets\"     ] = \"K:\" ; environs[\"ksymsets\"     ] = \"MODPOST_KSYMSETS\"\t\t ; defaults[\"ksymsets\"     ] = \"\/boot\/symsets-\" kversion \".tar.gz\"\t\t; descrips[\"ksymsets\"     ] = \"input system symsets file\"\n+    longopts[\"whitelist\"    ] = \"L:\" ; environs[\"whitelist\"    ] = \"MODPOST_WHITELIST\"\t\t ; defaults[\"whitelist\"    ] = \"\/lib\/modules\/kabi\/kabi_whitelist_\" cpu\t\t; descrips[\"whitelist\"    ] = \"input kabi whitelist file\"\n     longopts[\"missing\"      ] = \"g\"  ;\t\t\t\t\t\t\t\t   defaults[\"missing\"      ] = 0\t\t\t\t\t\t; descrips[\"missing\"      ] = \"create missing system symsets (ksyms missing from kabi)\"\n     longopts[\"rip-symbols\"  ] = \"r\"  ;\t\t\t\t\t\t\t\t   defaults[\"rip-symbols\"  ] = 1\t\t\t\t\t\t; descrips[\"rip-symbols\"  ] = \"attempt to rip undefined symbols from system map (requires -F, implies -U)\"\n     longopts[\"rip-weak\"     ] = \"R\"  ;\t\t\t\t\t\t\t\t   defaults[\"rip-weak\"     ] = 1\t\t\t\t\t\t; descrips[\"rip-weak\"     ] = \"attempt to rip weak undefined symbols from system map (requires -F, implies -U)\"\n@@ -1995,7 +2023,7 @@\n     values[\"silent\"       ] = defaults[\"silent\"       ]\n     values[\"debug\"        ] = defaults[\"debug\"        ]\n     values[\"verbose\"      ] = defaults[\"verbose\"      ]\n-    optstring = \"M:c:k:d:F:i:o:s:*P:K:S:grRbUwWHf:umaxp:enqD::v::hVC\"\n+    optstring = \"M:c:k:d:F:i:o:s:*P:K:L:S:grRbUwWHf:umaxp:enqD::v::hVC\"\n     optind = 0\n     #opts = \"\"; for (i=1;i<ARGC;i++) { if (i == 1) { opts = ARGV[i] } else { opts = opts \" \" ARGV[i] } }\n     #print me \": D: o: command line: \" opts > stderr; written[stderr] = 1\n@@ -2004,7 +2032,7 @@\n \tc = getopt_long(ARGC, ARGV, optstring, longopts)\n \t#if (c != -1) { print me \": D: o: option -\" c \", longopt --\" option \", optset = \" optset \", optarg = \" optarg > stderr; written[stderr] = 1 }\n \tif (c == -1) break\n-\telse if (c ~ \/[MckdFiosPKSfp]\/)\t\t\t{ values[option] = optarg }\n+\telse if (c ~ \/[MckdFiosPKLSfp]\/)\t\t{ values[option] = optarg }\n \telse if (c ~ \/[grRbUwWHumaxenq]\/)\t\t{ values[option] = optset }\n \telse if (c~\/[Dv]\/) { if (optarg != \"\")\t\t{ values[option] = optarg } else { if (optset)  { values[option]++ } else { values[option] = optset } } }\n \telse if (c~\/[hVC]\/)\t{ command = option }\n@@ -2096,16 +2124,24 @@\n \t    else\n \t\tprint_error(\"r: moduledir, directory not found\")\n \t}\n+\tvalues[\"kabi\"] = 0\n \tif ((\"ksymsets\" in values) && values[\"ksymsets\"])\n \t    values[\"kabi\"] = read_symsets(values[\"ksymsets\"], \"kabi\", \"syssymset\")\n \telse {\n-\t    values[\"kabi\"] = 0\n \t    file = \"symsets-\" kversion \".tar.gz\"\n \t    if (system(\"test -r \/boot\/\" file) == 0) {\n \t\tvalues[\"kabi\"] = values[\"kabi\"] + read_symsets(\"\/boot\/\" file, \"kabi\", \"syssymset\")\n \t    }\n \t    if (system(\"test -r \/lib\/modules\/\" kversion \"\/build\/\" file) == 0) {\n \t\tvalues[\"kabi\"] = values[\"kabi\"] + read_symsets(\"\/lib\/modules\/\" kversion \"\/build\/\" file, \"kabi\", \"syssymset\")\n+\t    }\n+\t}\n+\tif ((\"whitelist\" in values) && values[\"whitelist\"])\n+\t    values[\"kabi\"] = read_whitelist(values[\"whitelist\"], \"kabi\", \"whitelist\")\n+\telse {\n+\t    file = \"kabi_whitelist_\" cpu\n+\t    if (system(\"test -r \/lib\/modules\/kabi\/\" file) == 0) {\n+\t\tvalues[\"kabi\"] = read_whitelist(\"\/lib\/modules\/kabi\/\" file, \"kabi\", \"whitelist\")\n \t    }\n \t}\n     }\n"}
{"commit":"170b02f9461c3273f42e536c7291947bdb916ac6","subject":"Allow both old and new rc.conf syntax.","message":"Allow both old and new rc.conf syntax.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- usr.sbin\/ndc\/ndcedit.awk\n+++ usr.sbin\/ndc\/ndcedit.awk\n@@ -1,4 +1,4 @@\n-# $Id: ndcedit.awk,v 1.7 1998\/05\/03 05:14:04 peter Exp $\n+# $Id: ndcedit.awk,v 1.8 1998\/07\/31 08:47:16 phk Exp $\n NR == 3 {\n \tprint \"#\"\n \tprint \"# This file is generated automatically, do not edit it here!\"\n@@ -7,7 +7,9 @@\n \tprint \"\"\n \n \tprint \"# If there is a global system configuration file, suck it in.\"\n-\tprint \"if [ -f \/etc\/rc.conf ]; then\"\n+\tprint \"if [ -f \/etc\/defaults\/rc.conf ]; then\"\n+\tprint \"\\t. \/etc\/defaults\/rc.conf\"\n+\tprint \"elif [ -f \/etc\/rc.conf ]; then\"\n \tprint \"\\t. \/etc\/rc.conf\"\n \tprint \"fi\\n\"\n }\n"}
{"commit":"fd9f95f1def90a0bb0f2f36fd006d5b2688e1aba","subject":"build.awk: update","message":"build.awk: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -24,9 +24,9 @@\n \n # Task: man\n function man() {\n-    system(\"pandoc -s -t man \" Markdown \" -o \" Man)\n-    system(\"pandoc -s -t html --toc --toc-depth 1 --template \" Template \" \" Markdown \" -o \" Html)\n-    return 0\n+    if (fileExists(Template))\n+        system(\"pandoc -s -t html --toc --toc-depth 1 --template \" Template \" \" Markdown \" -o \" Html)\n+    return system(\"pandoc -s -t man \" Markdown \" -o \" Man)\n }\n \n # Task: build\n"}
{"commit":"d62bd08faf43a3f76adaf23c45dec45d3c7fd304","subject":"make build.awk compatible with gawk 4.0 (fix #25)","message":"make build.awk compatible with gawk 4.0 (fix #25)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -1,7 +1,7 @@\n #!\/usr\/bin\/gawk -f\n \n-@include \"include\/Commons\"\n-@include \"metainfo\"\n+@include \"include\/Commons.awk\"\n+@include \"metainfo.awk\"\n \n function init() {\n     BuildPath = \"build\/\"\n"}
{"commit":"79d5aa73b24ce8f9aaeafe1a083fdffbb874700b","subject":"linksets metadata","message":"linksets metadata\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/sameasInNT.awk\n+++ bin\/util\/sameasInNT.awk\n@@ -1,6 +1,9 @@\n # sameasFromNT\n #\n \n-$2 == \"<http:\/\/purl.org\/dc\/terms\/isReferencedBy>\" || $2 == \"<http:\/\/www.w3.org\/2002\/07\/owl#sameAs>\" {\n+#$2 == \"<http:\/\/purl.org\/dc\/terms\/isReferencedBy>\" || $2 == \"<http:\/\/www.w3.org\/2002\/07\/owl#sameAs>\" {\n+#   print\n+#}\n+$2 == \"<http:\/\/www.w3.org\/2002\/07\/owl#sameAs>\" {\n    print\n }\n"}
{"commit":"f4ad6fe233ed9e5a94118d01fb70de330ea5882f","subject":"Languages: add Oriya language","message":"Languages: add Oriya language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -221,6 +221,19 @@\n     Locale[\"om\"][\"iso\"]                = \"orm\"\n     Locale[\"om\"][\"glotto\"]             = \"nucl1736\"\n     Locale[\"om\"][\"script\"]             = \"Latn\"\n+\n+    #? Oriya\n+    Locale[\"or\"][\"name\"]               = \"Oriya\"\n+    Locale[\"or\"][\"endonym\"]            = \"\u0b13\u0b21\u0b3c\u0b3f\u0b06\"\n+    #Locale[\"or\"][\"translations-of\"]\n+    #Locale[\"or\"][\"definitions-of\"]\n+    #Locale[\"or\"][\"synonyms\"]\n+    #Locale[\"or\"][\"examples\"]\n+    #Locale[\"or\"][\"see-also\"]\n+    Locale[\"or\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"or\"][\"iso\"]                = \"ori\"\n+    Locale[\"or\"][\"glotto\"]             = \"macr1269\"\n+    Locale[\"or\"][\"script\"]             = \"Orya\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"d3123f78742affae29e1cd205e4f7b8df27231df","subject":"gensub() isn't a portable awk function. (dm)","message":"gensub() isn't a portable awk function. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@4405 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brldefs.awk\n+++ Programs\/brldefs.awk\n@@ -45,7 +45,10 @@\n }\n \n \/#define[ \\t]*BRL_DOT\/ {\n-  brlDot(substr($2, 8), $2, gensub(\"BRL_ARG_SET\\\\((.*)\\\\)\", \"\\\\1\", 1, getDefineValue()), getComment($0))\n+  value = getDefineValue()\n+  sub(\"^.*\\\\(\", \"\", value)\n+  sub(\"\\\\).*$\", \"\", value)\n+  brlDot(substr($2, 8), $2, value, getComment($0))\n   next\n }\n \n"}
{"commit":"1409e942990cab868284dd27bd4535cc59974985","subject":"Distinguish single season from Season 1","message":"Distinguish single season from Season 1\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxSeasonsFrom-webscraper.awk\n+++ getBritBoxSeasonsFrom-webscraper.awk\n@@ -26,7 +26,7 @@\n     # Fields to print from current line\n     $6  == \"\" ? URL = $4 : URL = $6\n     showTitle = $9\n-    $10 == \"\" ? seasonTitle = \"Season 1\" : seasonTitle = $10\n+    $10 == \"\" ? seasonTitle = \"(Only season)\" : seasonTitle = $10\n     Years = $11\n     NumEpisodes = $12\n     $14 == \"\" ? Description = $13 : Description = $14\n"}
{"commit":"16b78f258b55811edf15bfd91b896218be769510","subject":"shell wrapper: replace explicit argument with process substitution (fix #57)","message":"shell wrapper: replace explicit argument with process substitution (fix #57)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -61,7 +61,6 @@\n                 }\n             }\n         print \"EOF\" > Trans\n-        print \"export TRANS_PROGRAM\" > Trans\n \n         print \"read -r -d '' TRANS_MANPAGE << 'EOF'\" > Trans\n         if (fileExists(Man))\n@@ -69,8 +68,6 @@\n                 print line > Trans\n         print \"EOF\" > Trans\n         print \"export TRANS_MANPAGE\" > Trans\n-\n-        print \"export COLUMNS\" > Trans\n \n         if (type == \"release\")\n             print \"export TRANS_BUILD=release\" temp > Trans\n@@ -80,7 +77,7 @@\n                 print \"export TRANS_BUILD=git:\" temp > Trans\n         }\n \n-        print \"gawk \\\"$TRANS_PROGRAM\\\" - \\\"$@\\\"\" > Trans\n+        print \"gawk -f <(echo -E \\\"$TRANS_PROGRAM\\\") - \\\"$@\\\"\" > Trans\n \n         (\"chmod +x \" parameterize(Trans)) | getline\n         return 0\n"}
{"commit":"cfd12840e17716e9b0a60563d8df966d377ed7a3","subject":"Update for source plugins.","message":"Update for source plugins.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -70,7 +70,11 @@\n       }\n       d[pn] = $4\n       r1[pn] = $5\n-      r2[pn] = $8\n+      if ($8 == \"\") {\n+      \tr2[pn] = \"..\"\n+      } else {\n+      \tr2[pn] = $8\n+      }\n       pn++\n     }\n     b[$1,lp2,$4]++\n"}
{"commit":"0f863e83caac2d7023c0c5a6e8dfc098c2952e0c","subject":"Languages: add endonym2 to LocaleAlias","message":"Languages: add endonym2 to LocaleAlias\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -267,6 +267,7 @@\n     #15b Chinese (Mandarin), Traditional\n     Locale[\"zh-TW\"][\"name\"]            = \"Chinese Traditional\"\n     Locale[\"zh-TW\"][\"endonym\"]         = \"\u7e41\u9ad4\u4e2d\u6587\"\n+    Locale[\"zh-TW\"][\"endonym2\"]        = \"\u6b63\u9ad4\u4e2d\u6587\"\n     Locale[\"zh-TW\"][\"translations-of\"] = \"\u300c%s\u300d\u7684\u7ffb\u8b6f\"\n     Locale[\"zh-TW\"][\"definitions-of\"]  = \"\u300c%s\u300d\u7684\u5b9a\u7fa9\"\n     Locale[\"zh-TW\"][\"synonyms\"]        = \"\u540c\u7fa9\u8a5e\"\n@@ -2135,6 +2136,8 @@\n         if (\"name2\" in Locale[i])\n             LocaleAlias[tolower(Locale[i][\"name2\"])] = i\n         LocaleAlias[tolower(Locale[i][\"endonym\"])] = i\n+        if (\"endonym2\" in Locale[i])\n+            LocaleAlias[tolower(Locale[i][\"endonym2\"])] = i\n     }\n \n     # Other aliases\n"}
{"commit":"b07f9f4fe82f3995be38a8230fe6e99d58ac8357","subject":"prevent awk from replacing ampersand's with matched text","message":"prevent awk from replacing ampersand's with matched text\n","repos":"nuex\/zodiac","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/render.awk\n+++ lib\/render.awk\n@@ -58,7 +58,7 @@\n \n   # replace yield with rendered content\n   if (match($0, \/{{{yield}}}\/)) {\n-    sub(\/{{{yield}}}\/, render_content(main))\n+    sub(\/{{{yield}}}\/, escape_special_chars(render_content(main)))\n   }\n \n   if (layout == \"\") {\n@@ -129,3 +129,9 @@\n \n   return rendered_txt\n }\n+\n+# Prevent awk from replacing ampersand's with matched text\n+function escape_special_chars(  txt) {\n+  gsub(\/&\/, \"\\\\\\\\&\", txt)\n+  return txt\n+}\n"}
{"commit":"b7f78433ef9b93662e52292b2a5dc58bd665da0f","subject":"Translate: fix getTranslation()","message":"Translate: fix getTranslation()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -97,7 +97,7 @@\n         if (anything(phonetics))\n             r = r \"\\n\" AnsiCode[\"bold\"] join(phonetics) AnsiCode[\"no bold\"] # phonetic transcription\n \n-        if (anything(altTranslations[0])) {\n+        if (isarray(altTranslations[0]) && anything(altTranslations[0])) {\n             # List alternative translations\n \n             if (Locale[getCode(hl)][\"rtl\"] || Locale[getCode(il[0])][\"rtl\"])\n@@ -118,7 +118,7 @@\n                 r = r \"\\n\" AnsiCode[\"bold\"] temp AnsiCode[\"no bold\"]\n         }\n \n-        if (anything(wordClasses)) {\n+        if (isarray(wordClasses) && anything(wordClasses)) {\n             # List dictionary entries\n \n             for (i = 0; i < length(words); i++) {\n"}
{"commit":"94e871e81715ec1601a0e5c1a8ae306f91682359","subject":"chimeric script should ignore header lines in SAM files","message":"chimeric script should ignore header lines in SAM files\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- SLURM\/scripts\/chimeric_blacklist.awk\n+++ SLURM\/scripts\/chimeric_blacklist.awk\n@@ -74,7 +74,7 @@\n   OFS=\"\\t\";\n   tottot = -1; # will count first non-group\n }\n-{\n+$0 !~ \/^@\/{\n   # input file is sorted by read name.  Look at read name to group \n   # appropriately\n   split($1,a,\"\/\");\n"}
{"commit":"033797c4d3c3189e9ac1374cc007a59a35282c15","subject":"Move content processing to 2018.","message":"Move content processing to 2018.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -11,8 +11,8 @@\n #$3>date\n {\n   # add a loop to add line only if either status is (wanted or testing) or ending year is gt or eq to contract year\n-  # increased to 2016 July 1 2016.\n-  current_year = 2017\n+  # increased to 2018 July 1 ish 2018\n+  current_year = 2018\n   # end_year is the AU year, or the second half of a range, ie 2014 in 2013-2014\n   end_year = 0\n   incontract = 0\n"}
{"commit":"1edab6a1ecfacc4e89628729081d1b316853b414","subject":"Edit awk path","message":"Edit awk path\n","repos":"hanjae\/RUBBoS,hanjae\/RUBBoS,hanjae\/RUBBoS,hanjae\/RUBBoS","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- bench\/compute_global_stats.awk\n+++ bench\/compute_global_stats.awk\n@@ -1,4 +1,4 @@\n-#!\/bin\/awk -f\n+#!\/usr\/bin\/awk -f\n \n # Caller must set nbscript and path values on the command line.\n # Example: compute_global_stats.awk -v path=2001-10-10@14:55:23\/ -v nbscript=2 2001-10-10@14:55:23\/stat_client0.html\n"}
{"commit":"10b0d90349c447ae71e920f8c65c6bcea65697df","subject":"Handle corrupted dmesg output better - sometimes, we get junk left around from the last boot, and we have more than one CPU: line. Sometimes (such as at Wisc.), the first instance contains garbage. So, instead of exiting after the first CPU: line, use a different method of handling unknown CPU speeds, modeled after chipset.awk .","message":"Handle corrupted dmesg output better - sometimes, we get junk left\naround from the last boot, and we have more than one CPU: line.\nSometimes (such as at Wisc.), the first instance contains garbage. So,\ninstead of exiting after the first CPU: line, use a different method\nof handling unknown CPU speeds, modeled after chipset.awk .\n","repos":"nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- tmcd\/freebsd\/cpuspeed.awk\n+++ tmcd\/freebsd\/cpuspeed.awk\n@@ -5,43 +5,58 @@\n # All rights reserved.\n #\n \n+BEGIN {\n+    found = 0;\n+}\n+\n \/^CPU:.*\\((24[5-9][0-9]|25[0-4][0-9])\\.[0-9]+\\-MHz\/ {\n     print \"2500\";\n+    found = 1;\n     exit\n }\n \/^CPU:.*\\((23[5-9][0-9]|24[0-4][0-9])\\.[0-9]+\\-MHz\/ {\n     print \"2400\";\n+    found = 1;\n     exit\n }\n \/^CPU:.*\\((19[5-9][0-9]|20[0-4][0-9])\\.[0-9]+\\-MHz\/ {\n     print \"2000\";\n+    found = 1;\n     exit\n }\n \/^CPU:.*\\((17[5-9][0-9]|18[0-4][0-9])\\.[0-9]+\\-MHz\/ {\n     print \"1800\";\n+    found = 1;\n     exit\n }\n \/^CPU:.*\\((14[5-9][0-9]|15[0-4][0-9])\\.[0-9]+\\-MHz\/ {\n     print \"1500\";\n+    found = 1;\n     exit\n }\n \/^CPU:.*\\(8[0-9][0-9]\\.[0-9]+\\-MHz\/ {\n     print \"850\";\n+    found = 1;\n     exit\n }\n \/^CPU:.*\\((72[0-9]|73[0-9])\\.[0-9]+\\-MHz\/ {\n     print \"733\";\n+    found = 1;\n     exit\n }\n \/^CPU:.*\\(6[0-9][0-9]\\.[0-9]+\\-MHz\/ {\n     print \"600\";\n+    found = 1;\n     exit\n }\n \/^CPU:.*\\(29[0-9]|30[0-9]\\.[0-9]+\\-MHz\/ {\n     print \"300\";\n+    found = 1;\n     exit\n }\n-\/^CPU:.*\/ {\n-    print \"0\";\n-    exit\n+\n+END {\n+    if (found == 0) {\n+\tprint \"0\";\n+    }\n }\n"}
{"commit":"f3f959ab8f5af2f0c0feebd3a1155725d0fc3294","subject":"Revise cppw2cpp","message":"Revise cppw2cpp\n","repos":"bocchino\/cppw,bocchino\/cppw","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/cppw2cpp.awk\n+++ scripts\/cppw2cpp.awk\n@@ -59,17 +59,39 @@\n   return current_cppfile == \"\" || current_cppfile == cppfile\n }\n \n-# Print a class function prototype\n-function print_class_function_prototype() {\n-  print_with_indent(\"CLASS_FUNCTION_PROTOTYPE\")\n-  # TODO\n-}\n-\n # Print a function argument\n function print_function_arg(arg,  printed_arg) {\n   printed_arg = arg\n   sub(\/ *\\\/\\\/.*$\/, \"\", printed_arg)\n   printf(printed_arg)\n+}\n+\n+# Print a class function prototype\n+function print_class_function_prototype() {\n+  print_indent_spacing(desired_indent_count)\n+  print return_type \" \" class \" ::\"\n+  print_indent_spacing(desired_indent_count + 2)\n+  printf name\n+  if (num_args == 0)\n+    printf(\"(void)\\n\")\n+  else if (num_args == 1) {\n+    printf(\"(\")\n+    print_function_arg(args[1])\n+    print \")\"\n+  }\n+  else {\n+    printf(\"(\\n\")\n+    for (i = 1; i <= num_args; ++i) {\n+      print_indent_spacing(desired_indent_count + 6)\n+      printf(args[i])\n+      if (i < num_args)\n+        printf(\",\")\n+      print \"\"\n+    }\n+    print_indent_spacing(desired_indent_count + 2)\n+    print \")\"\n+  }\n+  print_with_indent(\"{\")\n }\n \n # Print a non-class function prototype\n@@ -145,7 +167,6 @@\n     print_non_class_function_prototype()\n }\n \n-\n $1 == \"@BEGIN\" {\n   begin = 1\n }\n"}
{"commit":"f8eb54281aaaa065524925afcd387542f6ad5f68","subject":"Cannnocalize episodeDuration in MHz","message":"Cannnocalize episodeDuration in MHz\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -196,6 +196,7 @@\n     gsub (\/&#x27;\/,\"'\",episodeTitle)\n     gsub (\/&quot;\/,\"\\\"\\\"\",episodeTitle)\n     gsub (\/&amp;\/,\"\\\\&\",episodeTitle)\n+    sub (\/^[[:space:]]\/,\"\",episodeTitle)\n     sub (\/[[:space:]]+$\/,\"\",episodeTitle)\n     # If start of episodeTitle == showTitle followed by \": \" or \" - \", remove the redundant part.\n     if ((match (episodeTitle, showTitle \": \")) == 1 || \\\n@@ -272,6 +273,7 @@\n     #  =HYPERLINK(\"https:\/\/watch.mhzchoice.com\/gasmamman\/season:1\/videos\/gasmamman-episode-01-sn-1-ep-1-1\";\\\n     #  \"Gasmamman, S01E01, G\u00e5smamman: Episode 01 (Sn 1 Ep 1)\")\n     if ($0 ~ \/<\\\/div>\/) {\n+        # Make sure episodeDescription is valid\n         if (episodeDescription == \"\") {\n             if (episodeType == \"T\") {\n                 episodeDescription = episodeTitle\n@@ -285,6 +287,17 @@\n         # print \"==> episodeDescription = \\n\" episodeDescription > \"\/dev\/stderr\"\n         episodeLink = sprintf (\"=HYPERLINK(\\\"%s\\\";\\\"%s, S%02d%s%02d, %s\\\"\\)\", episodeURL, showTitle,\n                     seasonNumber, episodeType, episodeNumber, episodeTitle)\n+        #\n+        # Make sure episodeDuration is valid\n+        if (split (episodeDuration, tm, \":\") == 3) {\n+            # Cannnocalize episodeDuration to 3 parts like other services\n+            episodeDuration = sprintf (\"%02d:%02d:%02d\",tm[1],tm[2],tm[3])\n+        } else {\n+            printf (\"==> Bad episodeDuration %s in \\\"%s: %s\\\"\\n\", episodeDuration, showTitle,\n+                    episodeTitle) >> ERRORS\n+            episodeDuration = \"\"\n+        }\n+        #\n         # Print \"episode\" line\n         printf (\"%s\\t\\t\\t%s\\t\\t\\t\\t\\t%s\\n\", episodeLink, episodeDuration, episodeDescription)\n         #\n"}
{"commit":"2cf76b4162660a9238f5d6f77449d7f567d0a859","subject":"revised program upload preamble","message":"revised program upload preamble\n","repos":"beckdac\/IoT_led_strip,beckdac\/IoT_led_strip,beckdac\/IoT_led_strip","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- program.awk\n+++ program.awk\n@@ -2,7 +2,8 @@\n \tprintf(\"set timeout 5\\n\\n\");\n \tprintf(\"spawn telnet %s\\n\\n\", host);\n \tprintf(\"expect \\\"'^]'.\\\"\\n\");\n-\tprintf(\"send \\\"\\\\n\\\"\\n\");\n+\tprintf(\"send \\\"NOOP\\\\n\\\"\\n\");\n+\tprintf(\"expect \\\"ERROR\\\"\\n\");\n \tprintf(\"send \\\"PROGRAM\\\\n\\\"\\n\");\n \tprintf(\"expect \\\"OK\\\"\\n\");\n \tprintf(\"send \\\"LENGTH %d\\\\n\\\"\\n\", program_length);\n"}
{"commit":"be92c31835bb378bbd8f9bf2ec18a69b24f96145","subject":"build.awk: force pandoc to use non-smart markdown","message":"build.awk: force pandoc to use non-smart markdown\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -45,8 +45,8 @@\n     writeTo(text, ManMarkdown)\n \n     if (fileExists(ManHtmlTemplate))\n-        system(\"pandoc -s -t html --toc --toc-depth 1 --template \" ManHtmlTemplate \" \" ManMarkdown \" -o \" ManHtml)\n-    return system(\"pandoc -s -t man \" ManMarkdown \" -o \" Man)\n+        system(\"pandoc -s -f markdown-smart -t html --toc --toc-depth 1 --template \" ManHtmlTemplate \" \" ManMarkdown \" -o \" ManHtml)\n+    return system(\"pandoc -s -f markdown-smart -t man \" ManMarkdown \" -o \" Man)\n }\n \n function readme(    code, col, cols, content, group, i, j, num, language, r, rows, text) {\n"}
{"commit":"621858361c63084771d4a724d116d865b3bdb4bc","subject":"Translators\/BingTranslator: fix bingWebTranslateUrl()","message":"Translators\/BingTranslator: fix bingWebTranslateUrl()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -11,7 +11,7 @@\n     HttpPort = 80\n }\n \n-# Retrieve the Cookie and set IG.\n+# [OBSOLETE] Retrieve the Cookie and set IG.\n function bingSetIG(    content, cookie, group, header, isBody,\n                        url, status, location) {\n     url = HttpPathPrefix \"\/translator\"\n@@ -57,6 +57,7 @@\n     }\n }\n \n+# FIXME!\n function bingTTSUrl(text, tl,\n                     ####\n                     country, gender, i, group,\n@@ -122,9 +123,19 @@\n     return TempFile\n }\n \n-function bingWebTranslateUrl(uri, sl, tl, hl) {\n-    return \"http:\/\/www.microsofttranslator.com\/bv.aspx?\"        \\\n-        \"from=\" sl \"&to=\" tl \"&a=\" uri\n+function bingWebTranslateUrl(uri, sl, tl, hl,    _sl, _tl) {\n+    # Hot-patches for language codes\n+    _sl = sl; _tl = tl\n+    if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code\n+    if (_sl == \"zh\")    _sl = \"zh-CHS\" # still old format\n+    if (_sl == \"zh-CN\") _sl = \"zh-CHS\"\n+    if (_sl == \"zh-TW\") _sl = \"zh-CHT\"\n+    if (_tl == \"bs\")    _tl = \"bs-Latn\"\n+    if (_tl == \"zh\")    _tl = \"zh-CHS\"\n+    if (_tl == \"zh-CN\") _tl = \"zh-CHS\"\n+    if (_tl == \"zh-TW\") _tl = \"zh-CHT\"\n+\n+    return \"https:\/\/www.translatetheweb.com\/?\" \"from=\" _sl \"&to=\" _tl \"&a=\" uri\n }\n \n # Dictionary API (via HTTP GET).\n"}
{"commit":"d772124625e80b65121118d484917ce06cca9730","subject":"modify lawson2osm.awk","message":"modify lawson2osm.awk\n","repos":"osmfj\/lawson2osm","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- lawson2osm.awk\n+++ lawson2osm.awk\n@@ -1 +1,57 @@\n-# test\n+\n+# EUC\u0474\u01a4\u9933\u03a5\u05e5\u0224\u0224\u03b8\u5862UTF\u1939\n+# cat tenpomaster | nkf -e | awk -F, -f lawson2osm.awk | nkf -w > tenpomaster.osm\n+\n+BEGIN {\n+    printf(\"<?xml version='1.0' encoding='UTF-8'?>\\n\");\n+    printf(\"<osm version='0.6'>\\n\");\n+}\n+{\n+\n+    if($1 !~ \/^[0-9]*$\/) next\n+\n+    cmd=\"echo \"$11\"|sed -e s\/\/-\/g -e s\/*.$\/\/g -e s\/\/\\\\ \/g| nkf -eZ|kakasi -Ha\"\n+    cmd | getline t\n+    close(cmd)\n+\n+    cmd2=\"echo \"$17\"|sed s\/^0\/+81-\/g\"\n+    cmd2|getline p\n+    close(cmd2)\n+\n+    printf(\"  <node id='-%s' lat='%f' lon='%f'>\\n\",$1,$2\/3600000,$3\/3600000);\n+    printf(\"    <tag k='shop' v='convenience' \/>\\n\");\n+    printf(\"    <tag k='name' v=' %s\u0179' \/>\\n\",$9);\n+    printf(\"    <tag k='name:en' v='Lawson %s' \/>\\n\",t);\n+    printf(\"    <tag k='branch' v='%s\u0179' \/>\\n\",$9);\n+    printf(\"    <tag k='branch:en' v='%s' \/>\\n\",t);\n+    printf(\"    <tag k='operator' v='' \/>\\n\");\n+    printf(\"    <tag k='operator:en' v='Lawson' \/>\\n\");\n+    if($18==2){\n+\tprintf(\"    <tag k='brand' v='\u02a5' \/>\\n\");\n+\tprintf(\"    <tag k='brand:en' v='Natural Lawson' \/>\\n\");\n+    }else if($18==4){\n+\tprintf(\"    <tag k='brand' v='\udb57\ude65\u0225100' \/>\\n\");\n+\tprintf(\"    <tag k='brand:en' v='Lawson Store 100' \/>\\n\");\n+    }else{\n+\tprintf(\"    <tag k='brand' v='' \/>\\n\");\n+\tprintf(\"    <tag k='brand:en' v='Lawson' \/>\\n\");\n+    }\n+    printf(\"    <tag k='phone' v='%s' \/>\\n\",p);\n+    if($19==1){\n+\tprintf(\"    <tag k='opening_hours' v='24\/7' \/>\\n\");\n+    }else{\n+\tprintf(\"    <tag k='opening_hours' v='Mo-Su %s-%s' \/>\\n\",$20,$21);\n+    }\n+    if($5!=\"\"){\n+\tprintf(\"    <tag k='start_date' v='%s' \/>\\n\",$5);\n+    }\n+    if($6!=\"\"){\n+\tprintf(\"    <tag k='end_date' v='%s' \/>\\n\",$6);\n+    }\n+    printf(\"    <tag k='ref' v='%s' \/>\\n\",$1);\n+    printf(\"    <tag k='source_ref' v='http:\/\/wiki.openstreetmap.org\/wiki\/Lawson_hackathon_2013' \/>\\n\");\n+    printf(\"  <\/node>\\n\");\n+}\n+END {\n+    printf(\"<\/osm>\\n\");\n+}\n"}
{"commit":"16b6daa45bf76f56e57184892c2d31c3b6b710ee","subject":"Rather than casting through a (void *) to avoid the aliasing warning, do things correctly from an aliasing perspective.  Put the vop_generic_args element as the first element for all the vop_*_args and adjust the code to take the address of that instead of the structure.","message":"Rather than casting through a (void *) to avoid the aliasing warning,\ndo things correctly from an aliasing perspective.  Put the\nvop_generic_args element as the first element for all the vop_*_args\nand adjust the code to take the address of that instead of the\nstructure.\n\nOK'd based on a vague description by: phk\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -294,7 +294,7 @@\n \n \tif (hfile) {\n \t\t# Print out the vop_F_args structure.\n-\t\tprinth(\"struct \"name\"_args {\\n\\tstruct vnodeop_desc *a_desc;\");\n+\t\tprinth(\"struct \"name\"_args {\\n\\tstruct vop_generic_args a_gen;\");\n \t\tfor (i = 0; i < numargs; ++i)\n \t\t\tprinth(\"\\t\" t_spc(types[i]) \"a_\" args[i] \";\");\n \t\tprinth(\"};\");\n@@ -310,7 +310,7 @@\n \t\t}\n \t\tprinth(\"{\\n\\tstruct \" name \"_args a;\");\n \t\tprinth(\"\\tint rc;\");\n-\t\tprinth(\"\\ta.a_desc = VDESC(\" name \");\");\n+\t\tprinth(\"\\ta.a_gen.a_desc = VDESC(\" name \");\");\n \t\tfor (i = 0; i < numargs; ++i)\n \t\t\tprinth(\"\\ta.a_\" args[i] \" = \" args[i] \";\");\n \t\tfor (i = 0; i < numargs; ++i)\n@@ -324,7 +324,7 @@\n \t\tprinth(\"\\t\\tif (vop->\"name\" != NULL)\")\n \t\tprinth(\"\\t\\t\\trc = vop->\"name\"(&a);\")\n \t\tprinth(\"\\t\\telse\")\n-\t\tprinth(\"\\t\\t\\trc = vop->vop_bypass((struct vop_generic_args *)(void *)&a);\")\n+\t\tprinth(\"\\t\\t\\trc = vop->vop_bypass(&a.a_gen);\")\n \t\tprinth(\"\\t}\")\n \t\tprinth(ctrstr);\n \t\tprinth(\"if (rc == 0) {\");\n"}
{"commit":"e5e7ef799d22102cfc123c9c5dcc099584d021c3","subject":"Languages: add Ewe","message":"Languages: add Ewe\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -411,6 +411,19 @@\n     Locale[\"et\"][\"iso\"]                = \"est\"\n     Locale[\"et\"][\"glotto\"]             = \"esto1258\"\n     Locale[\"et\"][\"script\"]             = \"Latn\"\n+\n+    # Ewe\n+    Locale[\"ee\"][\"name\"]               = \"Ewe\"\n+    Locale[\"ee\"][\"endonym\"]            = \"E\u028begbe\"\n+    #Locale[\"ee\"][\"translations-of\"]\n+    #Locale[\"ee\"][\"definitions-of\"]\n+    #Locale[\"ee\"][\"synonyms\"]\n+    #Locale[\"ee\"][\"examples\"]\n+    #Locale[\"ee\"][\"see-also\"]\n+    Locale[\"ee\"][\"family\"]            = \"Atlantic-Congo\"\n+    Locale[\"ee\"][\"iso\"]               = \"ewe\"\n+    Locale[\"ee\"][\"glotto\"]            = \"ewee1241\"\n+    Locale[\"ee\"][\"script\"]            = \"Latn\"\n \n     #24 Filipino \/ Tagalog\n     Locale[\"tl\"][\"name\"]               = \"Filipino\"\n"}
{"commit":"cb38b48d96878c393bead85c367935795c1ad445","subject":"Languages: use replicate()","message":"Languages: use replicate()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1358,12 +1358,8 @@\n     if (code && Locale[getCode(code)][\"rtl\"]) {\n         if (!width) width = Option[\"width\"]\n         return s(text, code, width - level * length(I))\n-    } else {\n-        temp = \"\"\n-        for (i = 0; i < level; i++)\n-            temp = temp I\n-        return temp text\n-    }\n+    } else\n+        return replicate(I, level) text\n }\n \n # Initialize strings for displaying endonyms of locales.\n"}
{"commit":"6962f589a495b80e35ed9c2678b9fd53cd670afa","subject":"Update awk file to match rupa's z (#42)","message":"Update awk file to match rupa's z (#42)\n\n","repos":"fisherman\/z","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- functions\/z.awk\n+++ functions\/z.awk\n@@ -6,50 +6,65 @@\n     return rank\/4\n }\n \n-function output(files, toopen) {\n-    if( option == \"list\" ) {\n-        for( i in files ) if( files[i] ) printf \"%-10s %s;\", files[i], i\n+function output(matches, best_match, common) {\n+    # list or return the desired directory\n+    if( list ) {\n+        cmd = \"sort -n >&2\"\n+        for( x in matches ) {\n+            if( matches[x] ) {\n+                printf \"%-10s %s\\n\", matches[x], x | cmd\n+            }\n+        }\n+        if( common ) {\n+            printf \"%-10s %s\\n\", \"common:\", common > \"\/dev\/stderr\"\n+        }\n     } else {\n-        print toopen\n+        if( common ) best_match = common\n+        print best_match\n     }\n }\n \n-function common(matches, fnd, nc) {\n-    for( i in matches ) {\n-        if( matches[i] && (!short || length(i) < length(short)) ) short = i\n+function common(matches) {\n+    # find the common root of a list of matches, if it exists\n+    for( x in matches ) {\n+        if( matches[x] && (!short || length(x) < length(short)) ) {\n+            short = x\n+        }\n     }\n     if( short == \"\/\" ) return\n-    for( i in matches ) if( matches[i] && i !~ short ) x = 1\n-    if( x ) return\n-    if( nc ) {\n-        for( i in fnd ) if( tolower(short) !~ tolower(fnd[i]) ) x = 1\n-    } else for( i in fnd ) if( short !~ fnd[i] ) x = 1\n-    if( !x ) return short\n+    for( x in matches ) if( matches[x] && index(x, short) != 1 ) {\n+            return\n+        }\n+    return short\n }\n \n-BEGIN { split(q, a, \" \") }\n-    {\n-        if( system(\"test -d \\\"\" $1 \"\\\"\") ) next\n-        if( typ == \"rank\" ) {\n-            f = $2\n-        } else if( typ == \"recent\" ) {\n-            f = t-$3\n-        } else f = frecent($2, $3)\n-        wcase[$1] = nocase[$1] = f\n-        for( i in a ) {\n-            if( $1 !~ a[i] ) delete wcase[$1]\n-            if( tolower($1) !~ tolower(a[i]) ) delete nocase[$1]\n-        }\n-        if( wcase[$1] > oldf ) {\n-            cx = $1\n-            oldf = wcase[$1]\n-        } else if( nocase[$1] > noldf ) {\n-            ncx = $1\n-            noldf = nocase[$1]\n-        }\n+BEGIN {\n+    gsub(\" \", \".*\", q)\n+    hi_rank = ihi_rank = -9999999999\n+}\n+{\n+    if( typ == \"rank\" ) {\n+        rank = $2\n+    } else if( typ == \"recent\" ) {\n+        rank = $3 - t\n+    } else rank = frecent($2, $3)\n+    if( $1 ~ q ) {\n+        matches[$1] = rank\n+    } else if( tolower($1) ~ tolower(q) ) imatches[$1] = rank\n+    if( matches[$1] && matches[$1] > hi_rank ) {\n+        best_match = $1\n+        hi_rank = matches[$1]\n+    } else if( imatches[$1] && imatches[$1] > ihi_rank ) {\n+        ibest_match = $1\n+        ihi_rank = imatches[$1]\n     }\n-    END {\n-        if( cx ) {\n-            output(wcase, cx)\n-        } else if( ncx ) output(nocase, ncx)\n+}\n+\n+END {\n+# prefer case sensitive\n+    if( best_match ) {\n+        output(matches, best_match, common(matches))\n+    } else if( ibest_match ) {\n+        output(imatches, ibest_match, common(imatches))\n     }\n+}\n"}
{"commit":"9786206320e4a5a682205f5bd65c49c37ca42015","subject":"datastartrow","message":"datastartrow\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -153,7 +153,12 @@\n    if(length(nowXSD)) {\n                                     printf(\"      dcterms:created \\\"%s\\\"^^xsd:dateTime;\\n\\n\",nowXSD);\n    }\n-\n+                                    printf(\"\\n\");\n+                                    printf(\"      #conversion:enhance [\\n\");\n+                                    printf(\"      #   ov:csvRow 2;\\n\");\n+                                    printf(\"      #   a conversion:DataStartRow;\\n\");\n+                                    printf(\"      #];\\n\");\n+                                    printf(\"\\n\");\n    #\n    # Structural enhancement parameters.\n    #\n"}
{"commit":"31d77b04944804a37a2d05123d5dd763d9a81872","subject":"comments","message":"comments","repos":"linuxcaffe\/taskwiki-utils,linuxcaffe\/taskwiki-utils,harleypig\/taskwiki-utils,harleypig\/taskwiki-utils","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- def-desc.awk\n+++ def-desc.awk\n@@ -1,4 +1,5 @@\n-\n+# the whole objective here is to provide a filename and return\n+# Description  :: value, if any\n BEGIN {\n     FS = \"::\";\n     VALUE = 0;\n"}
{"commit":"f367dd8ec76b47b5a45710ea8909c2dfcebb0812","subject":"simplify by using single quotes","message":"simplify by using single quotes","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/slidy.awk\n+++ tools\/slidy.awk\n@@ -4,8 +4,8 @@\n \n {\n     sub(\/<title>Haskell: Functional Programming, Solid Code, Big Data<\\\/title>\/, \"<title>Intro \\\"Functional Programming\\\"<\/title>\")\n-    sub(\/<meta name=\"date\" content=\"2011-09-18\" \\\/>\/, \"<meta name=\\\"date\\\" content=\\\"2011-10-19\\\" \/>\")\n-    sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name=\\\"author\\\" content=\\\"Gabor Greif\\\" \/>\")\n+    sub(\/<meta name=\"date\" content=\"2011-09-18\" \\\/>\/, \"<meta name='date' content='2011-10-19' \/>\")\n+    sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name='author' content='Gabor Greif' \/>\")\n }\n \n \/^<body>\/ {\n"}
{"commit":"58435ee0568ab62a420a53195816fc0d8ffd0563","subject":"Add 5 back into rotation.","message":"Add 5 back into rotation.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@32632 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -32,11 +32,11 @@\n       if (r[pn] == \"\") {\n         if ((substr(p[pn],1,2) <= \"American R\")) {\n           r[pn] = \"4\"\n-        } else if ((substr(p[pn],1,2) >= \"American S\") && (substr(p[pn],1,2) <= \"Hz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"American S\") && (substr(p[pn],1,2) <= \"Bz\")) {\n           r[pn] = \"4\"\n-#        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Pz\")) {\n-#          r[pn] = \"5\"\n-        } else if (substr(p[pn],1,1) >= \"Ia\") {\n+        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Pz\")) {\n+          r[pn] = \"5\"\n+        } else if (substr(p[pn],1,1) >= \"Qa\") {\n           r[pn] = \"8\"\n         }\n       }\n"}
{"commit":"927c7fe347f1a579cd4330ca131fc4179d505400","subject":"Fall back to graphviz splines where our curve is different in length beyond some threshold.","message":"Fall back to graphviz splines where our curve is different in length beyond some threshold.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -142,15 +142,22 @@\n \t\t# count number of self-loops for this node, and increment extension\n \t\tprintf \"\\tl%s := l%s + 1;\", head, head\n \t\tprint \"l := length pp;\"\n-\t\tprintf \"pair m; m := (0.5 + 2 * mlog(l%s + 1) \/ 256) * d%s * unitvector(direction l of pp) shifted %s;\\n\", head, head, head\n-\t\tprintf \"draw %s -- m withpen pencircle scaled 0.25bp withcolor green;\\n\", head\n+\t\tprintf \"\\tpair m; m := (0.5 + 2 * mlog(l%s + 1) \/ 256) * d%s * unitvector(direction l of pp) shifted %s;\\n\", head, head, head\n+#\t\tprintf \"\\tdraw %s -- m withpen pencircle scaled 0.25bp withcolor green;\\n\", head\n \n-\t\tprintf \"path b; b = %s .. p .. m .. q .. %s;\\n\", head, tail;\n+\t\tprintf \"\\tpath b; b = %s .. q .. m .. p .. %s;\\n\", tail, head;\n \t} else {\n-\t\tprintf \"path b; b = %s .. p .. q .. %s;\\n\", head, tail;\n+\t\tprintf \"\\tpath b; b = %s .. q .. p .. %s;\\n\", tail, head;\n+\n+\t\t# TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n+\t\t# this affects NFA especially\n+\t\tprint \"\\tr := arclength b \/ arclength e;\\n\";\n+\t\tprint \"\\tif (r > 1.02) or (r < 0.87):\";\n+\t\tprint \"\\t\\tb := e;\";\n+\t\tprint \"\\tfi;\";\n \t}\n \n-\tprintf \"drawarrow reverse (b cutbefore p cutafter q) withpen pencircle scaled 1bp;\\n\";\n+\tprintf \"drawarrow b cutbefore q cutafter p withpen pencircle scaled 1bp;\\n\";\n }\n \n \/^stop$\/ {\n"}
{"commit":"055ece32dc2a5696d8923dd269e2b081aad9a799","subject":"Rewrite label prefixing","message":"Rewrite label prefixing\n\n- Prior to this change the suffix was blindly stripped and .md was\n  assumed to be the label\n- Allow capital letters, too (passed with one-true-awk, failed with\n  mawk)\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doxy\/githublabels.awk\n+++ doxy\/githublabels.awk\n@@ -7,6 +7,12 @@\n #\n # Get file name prefix for references.\n #\n+# The prefix mimics the doxygen file naming scheme,\n+# e.g. `man\/loadrec.1` becomse `man_1_loadrec`.\n+#\n+# Equivalently the prefix for `foo\/bar.md` becomes the prefix `foo_md_bar_`.\n+# The trailing `_` exists as a separator to the internal reference label.\n+#\n filename != FILENAME {\n \tfilename = FILENAME\n \t# strip path\n@@ -15,9 +21,14 @@\n \tprefix = substr(filename, 1, length(path)) == path \\\n \t         ? substr(filename, length(path) + 1) \\\n \t         : filename\n-\tsub(\/\\.[^.]*$\/, \"\", prefix)\n-\tgsub(\/[^_a-z0-9]+\/, \"-\", prefix)\n-\tprefix = \"md_\" prefix \"_\"\n+\t# put the filename suffix behind the path but in front of\n+\t# the file name\n+\tsufx = prefix\n+\tsub(\/.*\\.\/, \"\", sufx)               # get suffix\n+\tsub(\/\\.[^.]*$\/, \"\", prefix)         # strip suffix from filename\n+\tsub(\/[^\\\/]*$\/, sufx \"_&_\", prefix)  # insert suffix\n+\t# sanitise characters\n+\tgsub(\/[^_a-zA-Z0-9]+\/, \"_\", prefix)\n }\n \n #\n"}
{"commit":"0a3efe95592e0ba0a1145410470c2ca64b144ef8","subject":"Translators\/BingTranslator: improve display of error message","message":"Translators\/BingTranslator: improve display of error message\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"unknown","license":"unlicense","lang":"Awk","diff":""}
{"commit":"19a1501ca631ae612fb6e5fe297041bae86d7a20","subject":"fix variable name","message":"fix variable name\n","repos":"nuex\/zodiac","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/render.awk\n+++ lib\/render.awk\n@@ -107,7 +107,7 @@\n   }\n }\n \n-function run_filter(cmd, txt,   rand_date, tmpfile, rendered_txt, date_cmd, markdown_cmd, line) {\n+function run_filter(cmd, txt,   rand_date, tmpfile, rendered_txt, date_cmd, filter_cmd, line) {\n   date_cmd = \"date +%Y%m%d%H%M%S\"\n   date_cmd | getline rand_date\n   close(date_cmd)\n@@ -115,7 +115,7 @@\n   tmpfile = \"\/tmp\/awk_render\" rand_date\n   filter_cmd = cmd \" > \" tmpfile\n \n-  # pipe content to filter.awk\n+  # pipe content to filter command\n   print txt | filter_cmd\n   close(filter_cmd)\n \n"}
{"commit":"f8dff6a95262f83af3315e3628474c1007b6f312","subject":"Return vnode_if back to its AWK roots. It became a Perl script in rev 1.20.  This removes one more dependence on perl for the kernel build.","message":"Return vnode_if back to its AWK roots.\nIt became a Perl script in rev 1.20.  This removes one more dependence\non perl for the kernel build.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -1,4 +1,4 @@\n-#!\/usr\/bin\/perl -w\n+#!\/usr\/bin\/awk -f\n \n #\n # Copyright (c) 1992, 1993\n@@ -37,319 +37,263 @@\n #\n # Script to produce VFS front-end sugar.\n #\n-# usage: vnode_if.pl srcfile\n-#\t(where srcfile is currently \/sys\/kern\/vnode_if.src)\n-#\n-\n-use strict;\n-\n-my %lockdata;\n-\n-my $cfile = 0;\n-my $hfile = 0;\n-my $srcfile;\n+# usage: vnode_if.awk <srcfile> [-c | -h]\n+#\t(where <srcfile> is currently \/sys\/kern\/vnode_if.src)\n+#\n+\n+function usage()\n+{\n+\tprint \"usage: vnode_if.awk <srcfile> [-c|-h]\";\n+\texit 1;\n+}\n+\n+function die(msg, what)\n+{\n+\tprintf msg \"\\n\", what > \"\/dev\/stderr\";\n+\texit 1;\n+}\n+\n+function t_spc(type)\n+{\n+\t# Append a space if the type is not a pointer\n+\treturn (type ~ \/\\*$\/) ? type : type \" \";\n+}\n+\n+# These are just for convenience ...\n+function printc(s) {print s > cfile;}\n+function printh(s) {print s > hfile;}\n+\n+function add_debug_code(name, arg)\n+{\n+\tif (debug_all_vfs_locks && lockdata[name, arg, \"Entry\"]) {\n+\t\t# Add assertions for locking\n+\t\tif (lockdata[name, arg, \"Entry\"] == \"L\")\n+\t\t\tprinth(\"\\tASSERT_VOP_LOCKED(\"arg\", \\\"\"uname\"\\\");\");\n+\t\telse if (lockdata[name, arg, \"Entry\"] == \"U\")\n+\t\t\tprinth(\"\\tASSERT_VOP_UNLOCKED(\"arg\", \\\"\"uname\"\\\");\");\n+\t\telse if (0) {\n+\t\t\t# XXX More checks!\n+\t\t}\n+\t}\n+}\n+\n+function find_arg_with_type (type)\n+{\n+\tfor (jj = 0; jj < numargs; jj++) {\n+\t\tif (types[jj] == type) {\n+\t\t\treturn \"VOPARG_OFFSETOF(struct \" \\\n+\t\t\t    name \"_args,a_\" args[jj] \")\";\n+\t\t}\n+\t}\n+\n+\treturn \"VDESC_NO_OFFSET\";\n+}\n+\n+BEGIN{\n \n # Process the command line\n-#\n-while (my $arg = shift @ARGV) {\n-    if ($arg eq '-c') {\n-\t$cfile = 1;\n-    } elsif ($arg eq '-h') {\n-\t$hfile = 1;\n-    } elsif ($arg eq '-ch' || $arg eq '-hc') {\n-\t$cfile = 1;\n-\t$hfile = 1;\n-    } elsif ($arg =~ m\/\\.src$\/) {\n-\t$srcfile = $arg;\n-    } else {\n-\tprint \"usage: vnode_if.pl [-c] [-h] srcfile\\n\";\n-\texit(1);\n-    }\n-}\n-if (!$cfile and !$hfile) {\n-    exit(0);\t\t# nothing asked for..\n-}\n-\n-# Names of the created files.\n-my $CFILE='vnode_if.c';\n-my $HEADER='vnode_if.h';\n-\n-open(SRC,     \"<$srcfile\")   || die \"Unable to open input file\";\n-\n-if ($hfile) {\n-    open(HEADER, \">$HEADER\") || die \"Unable to create $HEADER\";\n-    # Print out header information for vnode_if.h.\n-    print HEADER <<'END_OF_LEADING_COMMENT'\n-\/*\n- * This file is produced automatically.\n- * Do not modify anything in here by hand.\n- *\n- * Created from $FreeBSD$\n- *\/\n-\n-extern struct vnodeop_desc vop_default_desc;\n-END_OF_LEADING_COMMENT\n-    ;\n-}\n-\n-if ($cfile) {\n-    open(CFILE,   \">$CFILE\") || die \"Unable to create $CFILE\";\n-    # Print out header information for vnode_if.c.\n-    print CFILE <<'END_OF_LEADING_COMMENT'\n-\/*\n- * This file is produced automatically.\n- * Do not modify anything in here by hand.\n- *\n- * Created from $FreeBSD$\n- *\/\n-\n-#include <sys\/param.h>\n-#include <sys\/vnode.h>\n-\n-struct vnodeop_desc vop_default_desc = {\n-\t1,\t\t\t\/* special case, vop_default => 1 *\/\n-\t\"default\",\n-\t0,\n-\tNULL,\n-\tVDESC_NO_OFFSET,\n-\tVDESC_NO_OFFSET,\n-\tVDESC_NO_OFFSET,\n-\tVDESC_NO_OFFSET,\n-\tNULL,\n-};\n-\n-END_OF_LEADING_COMMENT\n-    ;\n-}\n-\n-my %a;\n-my %dirs;\n-my %reles;\n-my %types;\n-my %args;\n-my $numargs;\n-my $name;\n-\n-line: while (<SRC>) {\n-    chop;\t# strip record separator\n-    my @Fld = split ' ';\n-    if (@Fld == 0) {\n-\tnext line;\n-    }\n-    if (\/^#\/) {\n-\tif (!\/^#%\\s+([a-z]+)\\s+([a-z]+)\\s+(.)\\s(.)\\s(.)\/) {\n-\t    next;\n-\t}\n-\tif (!defined($lockdata{\"vop_$1\"})) {\n-\t    $lockdata{\"vop_$1\"} = {};\n-\t}\n-\t$lockdata{\"vop_$1\"}->{$2} = {\n-\t    'Entry' => $3,\n-\t    'OK'    => $4,\n-\t    'Error' => $5,\n-\t};\n-\tnext;\n-    }\n-\n-    # Get the function name.\n-    $name = $Fld[0];\n-    my $uname = uc($name);\n-    my $ln;\n-    # Get the function arguments.\n-    for ($numargs = 0; ; ++$numargs) {\n-\tif ($ln = <SRC>) {\n-\t    chomp;\n-\t} else {\n-\t    die \"Unable to read through the arguments for \\\"$name\\\"\";\n-\t}\n-\tif ($ln =~ \/^\\};\/) {\n-\t    last;\n-\t}\n-        # For the header file\n-\t$a{$numargs} = $ln;\n-\n-        # The rest of this loop is for the C file\n-\t# Delete comments, if any.\n-\t$ln =~ s\/\\\/\\*.*\\*\\\/\/\/g;\n-\n-\t# Delete leading\/trailing space.\n-\t$ln =~ s\/^\\s*(.*?)\\s*$\/$1\/;\n-\n-\t# Pick off direction.\n-\tmy $dir;\n-\tif ($ln =~ s\/^INOUT\\s+\/\/) {\n-\t    $dir = 'INOUT';\n-\t} elsif ($ln =~ s\/^IN\\s+\/\/) {\n-\t    $dir = 'IN';\n-\t} elsif ($ln =~ s\/^OUT\\s+\/\/) {\n-\t    $dir = 'OUT';\n-\t} else {\n-\t     die \"No IN\/OUT direction for \\\"$ln\\\".\";\n-\t}\n-\tmy $rele;\n-\tif ($ln =~ s\/^WILLRELE\\s+\/\/) {\n-\t    $rele = 'WILLRELE';\n-\t} else {\n-\t    $rele = 'WONTRELE';\n-\t}\n-\n-\t# kill trailing ;\n-\tif ($ln !~ s\/;$\/\/) {\n-\t    die(\"Missing end-of-line ; in \\\"$ln\\\".\");\n-\t}\n-\n-\t# pick off variable name\n-\tif ($ln !~ s\/([A-Za-z0-9_]+)$\/\/) {\n-\t    die(\"Missing var name \\\"a_foo\\\" in \\\"$ln\\\".\");\n-\t}\n-\tmy $arg = $1;\n-\n-\t# what is left must be type\n-\t# (put clean it up some)\n-\tmy $type = $ln;\n-\t# condense whitespace\n-\t$type =~ s\/\\s+\/ \/g;\n-\t$type =~ s\/^\\s*(.*?)\\s*$\/$1\/;\n-\n-\t$dirs{$numargs} = $dir;\n-\t$reles{$numargs} = $rele;\n-\t$types{$numargs} = $type;\n-\t$args{$numargs} = $arg;\n-    }\n-\n-    if ($hfile) {\n-\t# Print out the vop_F_args structure.\n-\tprint HEADER \"struct ${name}_args {\\n\\tstruct vnodeop_desc *a_desc;\\n\";\n-\tfor (my $c2 = 0; $c2 < $numargs; ++$c2) {\n-\t    $a{$c2} =~ \/^\\s*(INOUT|OUT|IN)(\\s+WILLRELE)?\\s+(.*?)\\s+(\\**)(\\S*\\;)\/;\n-\t    print HEADER \"\\t$3 $4a_$5\\n\", \n-\t}\n-\tprint HEADER \"};\\n\";\n-\n-\t# Print out extern declaration.\n-\tprint HEADER \"extern struct vnodeop_desc ${name}_desc;\\n\";\n-\n-\t# Print out function.\n-\tprint HEADER \"static __inline int ${uname}(\\n\";\n-\tfor (my $c2 = 0; $c2 < $numargs; ++$c2) {\n-\t    $a{$c2} =~ \/^\\s*(INOUT|OUT|IN)(\\s+WILLRELE)?\\s+(.*?)\\s+(\\**\\S*)\\;\/;\n-\t    print HEADER \"\\t$3 $4\" .\n-\t\t($c2 < $numargs-1 ? \",\" : \")\") . \"\\n\";\n-\t}\n-\tprint HEADER \"{\\n\\tstruct ${name}_args a;\\n\";\n-\tprint HEADER \"\\tint rc;\\n\";\n-\tprint HEADER \"\\ta.a_desc = VDESC(${name});\\n\";\n-\tfor (my $c2 = 0; $c2 < $numargs; ++$c2) {\n-\t    $a{$c2} =~ \/(\\**)([^;\\s]*)([^\\s]*)$\/;\n-\t    print HEADER \"\\ta.a_$2 = $2$3\\n\", \n-\t}\n-\tfor (my $c2 = 0; $c2 < $numargs; ++$c2) {\n-\t    if (!exists($args{$c2})) {\n-\t\tdie \"Internal error\";\n-\t    }\n-\t    if (exists($lockdata{$name}) &&\n-\t\texists($lockdata{$name}->{$args{$c2}})) {\n-\t\tif (defined($ENV{'DEBUG_ALL_VFS_LOCKS'}) && \n-\t\t\t$ENV{'DEBUG_ALL_VFS_LOCKS'} =~ \/yes\/i) {\n-\t\t    # Add assertions for locking\n-\t\t    if ($lockdata{$name}->{$args{$c2}}->{Entry} eq \"L\") {\n-\t\t\tprint HEADER\n-\t\t\t    \"\\tASSERT_VOP_LOCKED($args{$c2}, \\\"$uname\\\");\\n\";\n-\t\t    } elsif ($lockdata{$name}->{$args{$c2}}->{Entry} eq \"U\") {\n-\t\t\tprint HEADER\n-\t\t\t    \"\\tASSERT_VOP_UNLOCKED($args{$c2}, \\\"$uname\\\");\\n\";\n-\t\t    } elsif (0) {\n-\t\t\t# XXX More checks!\n-\t\t    }\n-\t\t}\n-\t    }\n-\t}\n-\t$a{0} =~ \/\\s\\**([^;\\s]*);\/;\n-\tprint HEADER \"\\trc = VCALL($1, VOFFSET(${name}), &a);\\n\";\n-\tprint HEADER \"\\treturn (rc);\\n\";\n-\tprint HEADER \"}\\n\";\n-    }\n-\n-\n-    if ($cfile) {\n-\t# Print out the vop_F_vp_offsets structure.  This all depends\n-\t# on naming conventions and nothing else.\n-\tprintf CFILE \"static int %s_vp_offsets[] = {\\n\", $name;\n-\t# as a side effect, figure out the releflags\n-\tmy $releflags = '';\n-\tmy $vpnum = 0;\n-\tfor (my $i = 0; $i < $numargs; $i++) {\n-\t    if ($types{$i} eq 'struct vnode *') {\n-\t\tprintf CFILE \"\\tVOPARG_OFFSETOF(struct %s_args,a_%s),\\n\", \n-\t\t$name, $args{$i};\n-\t\tif ($reles{$i} eq 'WILLRELE') {\n-\t\t    $releflags = $releflags . '|VDESC_VP' . $vpnum . '_WILLRELE';\n-\t\t}\n-\n-\t\t$vpnum++;\n-\t    }\n-\t}\n-\n-\t$releflags =~ s\/^\\|\/\/;\n-\tprint CFILE \"\\tVDESC_NO_OFFSET\\n\";\n-\tprint CFILE \"};\\n\";\n-\n-\t# Print out the vnodeop_desc structure.\n-\tprint CFILE \"struct vnodeop_desc ${name}_desc = {\\n\";\n-\t# offset\n-\tprint CFILE \"\\t0,\\n\";\n-\t# printable name\n-\tprintf CFILE \"\\t\\\"%s\\\",\\n\", $name;\n-\t# flags\n-\tmy $vppwillrele = '';\n-\tfor (my $i = 0; $i < $numargs; $i++) {\n-\t    if ($types{$i} eq 'struct vnode **' && \n-\t\t($reles{$i} eq 'WILLRELE')) {\n-\t\t$vppwillrele = '|VDESC_VPP_WILLRELE';\n-\t    }\n-\t}\n-\n-\tif ($releflags eq '') {\n-\t    printf CFILE \"\\t0%s,\\n\", $vppwillrele;\n-\t}\n-\telse {\n-\t    printf CFILE \"\\t%s%s,\\n\", $releflags, $vppwillrele;\n-\t}\n-\n-\t# vp offsets\n-\tprintf CFILE \"\\t%s_vp_offsets,\\n\", $name;\n-\t# vpp (if any)\n-\tprintf CFILE \"\\t%s,\\n\", &find_arg_with_type('struct vnode **');\n-\t# cred (if any)\n-\tprintf CFILE \"\\t%s,\\n\", &find_arg_with_type('struct ucred *');\n-\t# thread (if any)\n-\tprintf CFILE \"\\t%s,\\n\", &find_arg_with_type('struct thread *');\n-\t# componentname\n-\tprintf CFILE \"\\t%s,\\n\", &find_arg_with_type('struct componentname *');\n-\t# transport layer information\n-\tprint CFILE \"\\tNULL,\\n};\\n\\n\";\n-    }\n+for (i = 1; i < ARGC; i++) {\n+\targ = ARGV[i];\n+\tif (arg !~ \/^-[ch]+$\/ && arg !~ \/\\.src$\/)\n+\t\tusage();\n+\tif (arg ~ \/^-.*c\/)\n+\t\tcfile = \"vnode_if.c\";\n+\tif (arg ~ \/^-.*h\/)\n+\t\thfile = \"vnode_if.h\";\n+\tif (arg ~ \/\\.src$\/)\n+\t\tsrcfile = arg;\n+}\n+ARGC = 1;\n+\n+if (!cfile && !hfile)\n+\texit 0;\n+\n+if (!srcfile)\n+\tusage();\n+\n+debug_all_vfs_locks = (ENVIRON[\"DEBUG_ALL_VFS_LOCKS\"] ~ \/[Yy][Ee][Ss]\/);\n+\n+common_head = \\\n+    \"\/*\\n\" \\\n+    \" * This file is produced automatically.\\n\" \\\n+    \" * Do not modify anything in here by hand.\\n\" \\\n+    \" *\\n\" \\\n+    \" * Created from $FreeBSD$\\n\" \\\n+    \" *\/\\n\" \\\n+    \"\\n\";\n+\n+if (hfile)\n+\tprinth(common_head \"extern struct vnodeop_desc vop_default_desc;\");\n+\n+if (cfile) {\n+\tprintc(common_head \\\n+\t    \"#include <sys\/param.h>\\n\" \\\n+\t    \"#include <sys\/vnode.h>\\n\" \\\n+\t    \"\\n\" \\\n+\t    \"struct vnodeop_desc vop_default_desc = {\\n\" \\\n+\t    \"\t1,\\t\\t\\t\/* special case, vop_default => 1 *\/\\n\" \\\n+\t    \"\t\\\"default\\\",\\n\" \\\n+\t    \"\t0,\\n\" \\\n+\t    \"\tNULL,\\n\" \\\n+\t    \"\tVDESC_NO_OFFSET,\\n\" \\\n+\t    \"\tVDESC_NO_OFFSET,\\n\" \\\n+\t    \"\tVDESC_NO_OFFSET,\\n\" \\\n+\t    \"\tVDESC_NO_OFFSET,\\n\" \\\n+\t    \"\tNULL,\\n\" \\\n+\t    \"};\\n\");\n+}\n+\n+while ((getline < srcfile) > 0) {\n+\tif (NF == 0)\n+\t\tcontinue;\n+\tif ($1 ~ \/^#\/) {\n+\t\tif (NF != 6  ||  $1 != \"#%\"  || \\\n+\t\t    $2 !~ \/^[a-z]+$\/  ||  $3 !~ \/^[a-z]+$\/  || \\\n+\t\t    $4 !~ \/^.$\/  ||  $5 !~ \/^.$\/  ||  $6 !~ \/^.$\/)\n+\t\t\tcontinue;\n+\t\tlockdata[\"vop_\" $2, $3, \"Entry\"] = $4;\n+\t\tlockdata[\"vop_\" $2, $3, \"OK\"]    = $5;\n+\t\tlockdata[\"vop_\" $2, $3, \"Error\"] = $6;\t\t\t\n+\t\tcontinue;\n+\t}\n+\n+\t# Get the function name.\n+\tname = $1;\n+\tuname = toupper(name);\n+\t# Get the function arguments.\n+\tfor (numargs = 0; ; ++numargs) {\n+\t\tif ((getline < srcfile) <= 0) {\n+\t\t\tdie(\"Unable to read through the arguments for \\\"%s\\\"\",\n+\t\t\t    name);\n+\t\t}\n+\t\tif ($1 ~ \/^\\};\/)\n+\t\t\tbreak;\n+\n+\t\t# Delete comments, if any.\n+\t\tgsub (\/\\\/\\*.*\\*\\\/\/, \"\");\n+\n+\t\t# Condense whitespace and delete leading\/trailing space.\n+\t\tgsub(\/[[:space:]]+\/, \" \");\n+\t\tsub(\/^ \/, \"\");\n+\t\tsub(\/ $\/, \"\");\n+\n+\t\t# Pick off direction.\n+\t\tif ($1 != \"INOUT\" && $1 != \"IN\" && $1 != \"OUT\")\n+\t\t\tdie(\"No IN\/OUT direction for \\\"%s\\\".\", $0);\n+\t\tdirs[numargs] = $1;\n+\t\tsub(\/^[A-Z]* \/, \"\");\n+\n+\t\tif ((reles[numargs] = $1) == \"WILLRELE\")\n+\t\t\tsub(\/^[A-Z]* \/, \"\");\n+\t\telse\n+\t\t\treles[numargs] = \"WONTRELE\";\n+\n+\t\t# kill trailing ;\n+\t\tif (sub(\/;$\/, \"\") < 1)\n+\t\t\tdie(\"Missing end-of-line ; in \\\"%s\\\".\", $0);\n+\n+\t\t# pick off variable name\n+\t\tif ((argp = match($0, \/[A-Za-z0-9_]+$\/)) < 1)\n+\t\t\tdie(\"Missing var name \\\"a_foo\\\" in \\\"%s\\\".\", $0);\n+\t\targs[numargs] = substr($0, argp);\n+\t\t$0 = substr($0, 1, argp - 1);\n+\n+\t\t# what is left must be type\n+\t\t# remove trailing space (if any)\n+\t\tsub(\/ $\/, \"\");\n+\t\ttypes[numargs] = $0;\n+\t}\n+\n+\tif (hfile) {\n+\t\t# Print out the vop_F_args structure.\n+\t\tprinth(\"struct \"name\"_args {\\n\\tstruct vnodeop_desc *a_desc;\");\n+\t\tfor (i = 0; i < numargs; ++i)\n+\t\t\tprinth(\"\\t\" t_spc(types[i]) \"a_\" args[i] \";\");\n+\t\tprinth(\"};\");\n+\n+\t\t# Print out extern declaration.\n+\t\tprinth(\"extern struct vnodeop_desc \" name \"_desc;\");\n+\n+\t\t# Print out function.\n+\t\tprinth(\"static __inline int \" uname \"(\");\n+\t\tfor (i = 0; i < numargs; ++i) {\n+\t\t\tprinth(\"\\t\" t_spc(types[i]) args[i] \\\n+\t\t\t    (i < numargs - 1 ? \",\" : \")\"));\n+\t\t}\n+\t\tprinth(\"{\\n\\tstruct \" name \"_args a;\");\n+\t\tprinth(\"\\tint rc;\");\n+\t\tprinth(\"\\ta.a_desc = VDESC(\" name \");\");\n+\t\tfor (i = 0; i < numargs; ++i)\n+\t\t\tprinth(\"\\ta.a_\" args[i] \" = \" args[i] \";\");\n+\t\tfor (i = 0; i < numargs; ++i)\n+\t\t\tadd_debug_code(name, args[i]);\n+\t\tprinth(\"\\trc = VCALL(\" args[0] \", VOFFSET(\" name \"), &a);\");\n+\t\tprinth(\"\\treturn (rc);\\n}\");\n+\t}\n+\n+\tif (cfile) {\n+\t\t# Print out the vop_F_vp_offsets structure.  This all depends\n+\t\t# on naming conventions and nothing else.\n+\t\tprintc(\"static int \" name \"_vp_offsets[] = {\");\n+\t\t# as a side effect, figure out the releflags\n+\t\treleflags = \"\";\n+\t\tvpnum = 0;\n+\t\tfor (i = 0; i < numargs; i++) {\n+\t\t\tif (types[i] == \"struct vnode *\") {\n+\t\t\t\tprintc(\"\\tVOPARG_OFFSETOF(struct \" name \\\n+\t\t\t\t    \"_args,a_\" args[i] \"),\");\n+\t\t\t\tif (reles[i] == \"WILLRELE\") {\n+\t\t\t\t\treleflags = releflags \\\n+\t\t\t\t\t    \"|VDESC_VP\" vpnum \"_WILLRELE\";\n+\t\t\t\t}\n+\t\t\t\tvpnum++;\n+\t\t\t}\n+\t\t}\n+\n+\t\tsub(\/^\\|\/, \"\", releflags);\n+\t\tprintc(\"\\tVDESC_NO_OFFSET\");\n+\t\tprintc(\"};\");\n+\n+\t\t# Print out the vnodeop_desc structure.\n+\t\tprintc(\"struct vnodeop_desc \" name \"_desc = {\");\n+\t\t# offset\n+\t\tprintc(\"\\t0,\");\n+\t\t# printable name\n+\t\tprintc(\"\\t\\\"\" name \"\\\",\");\n+\t\t# flags\n+\t\tvppwillrele = \"\";\n+\t\tfor (i = 0; i < numargs; i++) {\n+\t\t\tif (types[i] == \"struct vnode **\" && \\\n+\t\t\t    reles[i] == \"WILLRELE\") {\n+\t\t\t\tvppwillrele = \"|VDESC_VPP_WILLRELE\";\n+\t\t\t}\n+\t\t}\n+\n+\t\tif (!releflags)\n+\t\t\treleflags = \"0\";\n+\t\tprintc(\"\\t\" releflags vppwillrele \",\");\n+\n+\t\t# vp offsets\n+\t\tprintc(\"\\t\" name \"_vp_offsets,\");\n+\t\t# vpp (if any)\n+\t\tprintc(\"\\t\" find_arg_with_type(\"struct vnode **\") \",\");\n+\t\t# cred (if any)\n+\t\tprintc(\"\\t\" find_arg_with_type(\"struct ucred *\") \",\");\n+\t\t# thread (if any)\n+\t\tprintc(\"\\t\" find_arg_with_type(\"struct thread *\") \",\");\n+\t\t# componentname\n+\t\tprintc(\"\\t\" find_arg_with_type(\"struct componentname *\") \",\");\n+\t\t# transport layer information\n+\t\tprintc(\"\\tNULL,\\n};\\n\");\n+\t}\n }\n  \n-if ($hfile) {\n-    close(HEADER) || die \"Unable to close $HEADER\";\n-}\n-if ($cfile) {\n-    close(CFILE)  || die \"Unable to close $CFILE\";\n-}\n-close(SRC) || die;\n+if (hfile)\n+\tclose(hfile);\n+if (cfile)\n+\tclose(cfile);\n+close(srcfile);\n \n exit 0;\n \n-sub find_arg_with_type {\n-    my $type = shift;\n-    my $i;\n-\n-    for ($i=0; $i < $numargs; $i++) {\n-\tif ($types{$i} eq $type) {\n-\t    return \"VOPARG_OFFSETOF(struct ${name}_args,a_\" . $args{$i} . \")\";\n-\t}\n-    }\n-\n-    return \"VDESC_NO_OFFSET\";\n-}\n+}\n"}
{"commit":"2cab545708d647e5e176339d31dfe92b0f49afae","subject":"Languages: add Tigrinya language","message":"Languages: add Tigrinya language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -314,6 +314,19 @@\n     Locale[\"sn\"][\"iso\"]                = \"sna\"\n     Locale[\"sn\"][\"glotto\"]             = \"core1255\"\n     Locale[\"sn\"][\"script\"]             = \"Latn\"\n+\n+    #? Tigrinya\n+    Locale[\"ti\"][\"name\"]               = \"Tigrinya\"\n+    Locale[\"ti\"][\"endonym\"]            = \"\u1275\u130d\u122d\u129b\"\n+    #Locale[\"ti\"][\"translations-of\"]\n+    #Locale[\"ti\"][\"definitions-of\"]\n+    #Locale[\"ti\"][\"synonyms\"]\n+    #Locale[\"ti\"][\"examples\"]\n+    #Locale[\"ti\"][\"see-also\"]\n+    Locale[\"ti\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"ti\"][\"iso\"]                = \"tir\"\n+    Locale[\"ti\"][\"glotto\"]             = \"tigr1271\"\n+    Locale[\"ti\"][\"script\"]             = \"Ethi\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"1b22e6088892791910f77dd9fee73b1d2d37cc2a","subject":"Languages: do not show Glottolog if no glotto code available","message":"Languages: do not show Glottolog if no glotto code available\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1824,7 +1824,8 @@\n                  sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code))) \\\n                  sprintf(\"%-22s%s\\n\", \"ISO 639-3\", ansi(\"bold\", iso))   \\\n                  sprintf(\"%-22s%s\\n\", \"Ethnologue\", ansi(\"bold\", \"http:\/\/www.ethnologue.com\/language\/\" iso)) \\\n-                 sprintf(\"%-22s%s\\n\", \"Glottolog\", ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code))) \\\n+                 sprintf(\"%-22s%s\\n\", \"Glottolog\", getGlotto(code) ?\n+                         ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code)) : \"\") \\\n                  sprintf(\"%-22s%s\", \"Wikipedia\", ansi(\"bold\", \"http:\/\/en.wikipedia.org\/wiki\/\" language \"_language\")))\n }\n \n"}
{"commit":"42e0539626a95a05258e323ad020ed6cd99f23c8","subject":"Script mean.awk now returns the mean results returned by the measure.","message":"Script mean.awk now returns the mean results returned by the measure.\n","repos":"jacquerie\/IR","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- awk\/mean.awk\n+++ awk\/mean.awk\n@@ -1,2 +1,2 @@\n-    { sum += $3 }\n+    { sum += $2 }\n END { printf(\"%.3f\\n\", sum \/ NR) }\n"}
{"commit":"697265b8e2ebd60b74747b4e451fdfffde243776","subject":"sb136: #i114155# partially revert fix for i108776 to avoid ABI incompatibility of jvmaccess library","message":"sb136: #i114155# partially revert fix for i108776 to avoid ABI incompatibility of jvmaccess library","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/addsym.awk\n+++ solenv\/bin\/addsym.awk\n@@ -26,16 +26,29 @@\n #*************************************************************************\n \n # Add certain symbol patterns to the first global section.\n+#\n+# The below code fails with 'perverted' mapfiles (using a strange line layout,\n+# or containing version UDK_3_0_0 without a global section, ...).\n \n BEGIN { state = 0 }\n-\/\\{\/ && state == 1 { exit 1 } #TODO: print error explanation to stderr?\n-\/^[\\t ]*UDK_3_0_0[\\t ]*\\{\/ && state == 0 { state = 1 }\n-\/^[\\t ]*global[\\t ]*:\/ && state == 1 { state = 2 }\n-{ print }\n+END {\n+    if (state == 0) {\n+        print \"# Weak RTTI symbols for C++ exceptions:\"\n+        print \"UDK_3_0_0 {\"\n+        print \"global:\"\n+        print \"_ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions\"\n+        if (ENVIRON[\"USE_SYSTEM_STL\"] != \"YES\")\n+            print \"_ZN4_STL7num_put*; # for STLport\"\n+        print \"};\"\n+    }\n+}\n state == 2 {\n     print \"_ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions\"\n     if (ENVIRON[\"USE_SYSTEM_STL\"] != \"YES\")\n         print \"_ZN4_STL7num_put*; # for STLport\"\n     state = 3\n }\n-END { if (state != 3) exit 1 } #TODO: print error explanation to stderr?\n+# #i66636# - ???\n+\/^[\\t ]*UDK_3_0_0[\\t ]*\\{\/ { state = 1 }\n+\/^[\\t ]*global[\\t ]*:\/ && state == 1 { state = 2 }\n+{ print }\n"}
{"commit":"c246d6011689fb01a312a99f3feca40da5254683","subject":"Languages: more locale aliases in initLocaleAlias()","message":"Languages: more locale aliases in initLocaleAlias()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1849,6 +1849,8 @@\n     LocaleAlias[\"zh\"]      = \"zh-CN\" # Chinese: default to Chinese Simplified\n     LocaleAlias[\"zh-CHS\"]  = \"zh-CN\"\n     LocaleAlias[\"zh-CHT\"]  = \"zh-TW\"\n+    LocaleAlias[\"zh-Hans\"] = \"zh-CN\"\n+    LocaleAlias[\"zh-Hant\"] = \"zh-TW\"\n     LocaleAlias[\"zho\"]     = \"zh-CN\"\n     LocaleAlias[\"chinese\"] = \"zh-CN\"\n     LocaleAlias[\"tlh-Latn\"] = \"tlh\"\n"}
{"commit":"748f2e6369dfad109192a83f06c59d735b9d386d","subject":"Languages: change the official name Oriya to Odia","message":"Languages: change the official name Oriya to Odia\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -922,8 +922,8 @@\n     Locale[\"no\"][\"glotto\"]             = \"norw1258\"\n     Locale[\"no\"][\"script\"]             = \"Latn\"\n \n-    #69 Oriya \/ Odia\n-    Locale[\"or\"][\"name\"]               = \"Oriya\"\n+    #69 Odia \/ Oriya\n+    Locale[\"or\"][\"name\"]               = \"Odia\"\n     Locale[\"or\"][\"endonym\"]            = \"\u0b13\u0b21\u0b3c\u0b3f\u0b06\"\n     #Locale[\"or\"][\"translations-of\"]\n     #Locale[\"or\"][\"definitions-of\"]\n"}
{"commit":"e20641386852b6c407f4f7eb72e60ae24920d87a","subject":"Make IMDB scripts shfmt compatible","message":"Make IMDB scripts shfmt compatible\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"526ab5fdf1e0291706f1cb7ae4df1bc326e0cc25","subject":"get_vectors updated (take 1\/1000 of all vectors by default)","message":"get_vectors updated (take 1\/1000 of all vectors by default)\n","repos":"WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/get_vectors.awk\n+++ scripts\/get_vectors.awk\n@@ -2,7 +2,6 @@\n \n ##################################################################\n BEGIN {\n-    FS = \"\\t\"\n     if (ARGC != 4) {\n \tprintf(\"Incorrect number of arguments.\") > \"\/sys\/stderr\"\n \texit 1\n@@ -29,9 +28,8 @@\n \trandarr[i] = rand() * wcl + 1\n     }\n     asorti(randarr, tmparr)\n-    delete randarr\n-    wcl = WCL \/ 100\n-    for (i = 1; i < WCL; ++i) {\n+    wcl = WCL \/ 1000\n+    for (i = 1; i < wcl; ++i) {\n \tFNR2SEEK[tmparr[i]] = \"\"\n     }\n }\n"}
{"commit":"410e6e53710bcffa8d2ad74af3046f887858b093","subject":"TranslatorInterface: add abstract method _PostRequestUrl()","message":"TranslatorInterface: add abstract method _PostRequestUrl()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/TranslatorInterface.awk\n+++ include\/TranslatorInterface.awk\n@@ -11,6 +11,12 @@\n # Abstract method foobarRequestUrl(text, sl, tl, hl: string): string\n function _RequestUrl(text, sl, tl, hl,    vm) {\n     vm = engineMethod(\"RequestUrl\")\n+    return @vm(text, sl, tl, hl)\n+}\n+\n+# Abstract method foobarPostRequestUrl(text, sl, tl, hl: string): string\n+function _PostRequestUrl(text, sl, tl, hl,    vm) {\n+    vm = engineMethod(\"PostRequestUrl\")\n     return @vm(text, sl, tl, hl)\n }\n \n"}
{"commit":"624cc04a38015a896960fc33a3277c8cc992aa5f","subject":"fix inconsistency for parsing option -player","message":"fix inconsistency for parsing option -player\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -137,8 +137,8 @@\n         match(ARGV[pos], \/^--?player(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"play\"] = 1\n-            Option[\"player\"] = group[2] ?\n-                (group[3] ? group[3] : Option[\"player\"]) :\n+            Option[\"player\"] = group[1] ?\n+                (group[2] ? group[2] : Option[\"player\"]) :\n                 ARGV[++pos]\n             continue\n         }\n"}
{"commit":"b52f15580d32d63c9efbb55d6169ea33e9bd764f","subject":"-discontinuity mode","message":"-discontinuity mode\n","repos":"kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- packager\/bin\/anal_nginx_log_packager.awk\n+++ packager\/bin\/anal_nginx_log_packager.awk\n@@ -31,7 +31,25 @@\n     }\n }\n \n+function parseChunkName(arr){\n \n+   if(segId && (segId+1) == b[4] && (segTime + segDuration != b[2])){\n+\n+        printf (\"[%d] segment discontinuity: %d new { %d %d } old: { %d %d }\\n\",\n+         segId,b[2]-(segTime+segDuration),b[2],b[3],\n+         segTime,segDuration)\n+   }\n+\n+    segTime = b[2]\n+    segDuration = b[3]\n+    segId = b[4]\n+\n+    #printf(\"parseChunkName segTime=%d segDuration=%d segId=%d\\n\",\n+    #    segTime,\n+    #    segDuration,\n+    #    segId)\n+\n+}\n \n $0 ~ \/\\[debug\\]\/ && $0 ~ \/GET \\\/hls\\\/(.*)\\\/playlist.json\\\/seg\/ {\n     split($10,b,\"-\");\n@@ -42,6 +60,7 @@\n \n     if(length(b) == 6){\n         lastChunkId = b[4]\n+        parseChunkName(b)\n     } else {\n         lastChunkId =  b[2]\n     }\n@@ -90,7 +109,7 @@\n         if(segment_index == tmp1 - 1){\n             if(segment_start_time+segment_duration != tmp2){\n                 printf (\" chunk %d adjucent chunks  differ: diff: %d prev={ %d  %d}  cur={%d %d}\\n\",tmp1,\n-                (tmp2-segment_start_time+segment_duration),\n+                (tmp2-segment_start_time-segment_duration),\n                 segment_start_time,\n                 segment_duration,\n                 tmp2,\n@@ -103,6 +122,8 @@\n     segment_index = tmp1\n     segment_start_time=tmp2\n     segment_duration=tmp3\n+\n+  # print \" debug info:  \"segment_index\" \"segment_start_time\" \"segment_duration\n }\n \n END {\n"}
{"commit":"604a832913cb6e3432cc97d168fa9fab94c5a090","subject":"syscall: Convert errno to error after Exitsyscall.","message":"syscall: Convert errno to error after Exitsyscall.\n\nR=iant\nCC=gofrontend-dev\nhttps:\/\/golang.org\/cl\/5969050\n","repos":"golang\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- libgo\/go\/syscall\/mksyscall.awk\n+++ libgo\/go\/syscall\/mksyscall.awk\n@@ -199,6 +199,7 @@\n     }\n     printf(\"c_%s(%s)\\n\", cfnname, args)\n \n+    seterr = 0\n     if (gofnresults != \"\") {\n \tfields = split(gofnresults, goresults, \", *\")\n \tif (fields > 2) {\n@@ -218,13 +219,17 @@\n \t    gotype = goparam[2]\n \n \t    if (goname == \"err\") {\n+\t\tprint \"\\tvar errno Errno\"\n+\t\tprint \"\\tsetErrno := false\"\n \t\tif (cfnresult ~ \/^\\*\/) {\n \t\t    print \"\\tif _r == nil {\"\n \t\t} else {\n \t\t    print \"\\tif _r < 0 {\"\n \t\t}\n-\t\tprint \"\\t\\terr = GetErrno()\"\n+\t\tprint \"\\t\\terrno = GetErrno()\"\n+\t\tprint \"\\t\\tsetErrno = true\"\n \t\tprint \"\\t}\"\n+\t\tseterr = 1\n \t    } else if (gotype == \"uintptr\" && cfnresult ~ \/^\\*\/) {\n \t\tprintf(\"\\t%s = (%s)(unsafe.Pointer(_r))\\n\", goname, gotype)\n \t    } else {\n@@ -243,6 +248,12 @@\n \tprint \"\\tExitsyscall()\"\n     }\n \n+    if (seterr) {\n+\tprint \"\\tif setErrno {\"\n+\tprint \"\\t\\terr = errno\"\n+\tprint \"\\t}\"\n+    }\n+\n     if (gofnresults != \"\") {\n \tprint \"\\treturn\"\n     }\n"}
{"commit":"bf7fd3cff4cbf9215aacb9581d5b1147bbf21e96","subject":"LanguageData: update section I","message":"LanguageData: update section I\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -965,9 +965,7 @@\n     Locale[\"hu\"][\"spoken-in\"]          = \"Hungary\"\n     Locale[\"hu\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #39 Icelandic\n+    # Icelandic\n     Locale[\"is\"][\"name\"]               = \"Icelandic\"\n     Locale[\"is\"][\"endonym\"]            = \"\u00cdslenska\"\n     Locale[\"is\"][\"translations-of\"]    = \"\u00de\u00fd\u00f0ingar \u00e1 %s\"\n@@ -976,11 +974,14 @@\n     Locale[\"is\"][\"examples\"]           = \"D\u00e6mi\"\n     Locale[\"is\"][\"see-also\"]           = \"Sj\u00e1 einnig\"\n     Locale[\"is\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"is\"][\"branch\"]             = \"North Germanic\"\n     Locale[\"is\"][\"iso\"]                = \"isl\"\n     Locale[\"is\"][\"glotto\"]             = \"icel1247\"\n     Locale[\"is\"][\"script\"]             = \"Latn\"\n-\n-    #40 Igbo\n+    Locale[\"is\"][\"spoken-in\"]          = \"Iceland\"\n+    Locale[\"is\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Igbo\n     Locale[\"ig\"][\"name\"]               = \"Igbo\"\n     Locale[\"ig\"][\"endonym\"]            = \"Igbo\"\n     Locale[\"ig\"][\"translations-of\"]    = \"Nt\u1ee5ghar\u1ecb as\u1ee5s\u1ee5 nke %s\"\n@@ -989,9 +990,12 @@\n     Locale[\"ig\"][\"examples\"]           = \"\u1eccm\u1ee5maat\u1ee5\"\n     Locale[\"ig\"][\"see-also\"]           = \"H\u1ee5kwuo\"\n     Locale[\"ig\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"ig\"][\"branch\"]             = \"Igboid\"\n     Locale[\"ig\"][\"iso\"]                = \"ibo\"\n     Locale[\"ig\"][\"glotto\"]             = \"nucl1417\"\n     Locale[\"ig\"][\"script\"]             = \"Latn\"\n+    Locale[\"ig\"][\"spoken-in\"]          = \"southeastern Nigeria\"\n+    Locale[\"ig\"][\"supported-by\"]       = \"google\"\n \n     # Ilocano\n     Locale[\"ilo\"][\"name\"]              = \"Ilocano\"\n@@ -1002,11 +1006,14 @@\n     #Locale[\"ilo\"][\"examples\"]\n     #Locale[\"ilo\"][\"see-also\"]\n     Locale[\"ilo\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"ilo\"][\"branch\"]            = \"Malayo-Polynesian\"\n     Locale[\"ilo\"][\"iso\"]               = \"ilo\"\n     Locale[\"ilo\"][\"glotto\"]            = \"ilok1237\"\n     Locale[\"ilo\"][\"script\"]            = \"Latn\"\n-\n-    #41 Indonesian\n+    Locale[\"ilo\"][\"spoken-in\"]         = \"the northern Philippines\"\n+    Locale[\"ilo\"][\"supported-by\"]      = \"google\"\n+\n+    # Indonesian\n     Locale[\"id\"][\"name\"]               = \"Indonesian\"\n     Locale[\"id\"][\"endonym\"]            = \"Bahasa Indonesia\"\n     Locale[\"id\"][\"translations-of\"]    = \"Terjemahan dari %s\"\n@@ -1015,12 +1022,34 @@\n     Locale[\"id\"][\"examples\"]           = \"Contoh\"\n     Locale[\"id\"][\"see-also\"]           = \"Lihat juga\"\n     Locale[\"id\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"id\"][\"branch\"]             = \"Malayo-Polynesian\"\n     Locale[\"id\"][\"iso\"]                = \"ind\"\n     Locale[\"id\"][\"glotto\"]             = \"indo1316\"\n     Locale[\"id\"][\"script\"]             = \"Latn\"\n-\n-    #42 Irish\n+    Locale[\"id\"][\"spoken-in\"]          = \"Indonesia\"\n+    Locale[\"id\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Interlingue\n+    Locale[\"ie\"][\"name\"]               = \"Interlingue\"\n+    Locale[\"ie\"][\"name2\"]              = \"Occidental\"\n+    Locale[\"ie\"][\"endonym\"]            = \"Interlingue\"\n+    #Locale[\"ie\"][\"translations-of\"]\n+    #Locale[\"ie\"][\"definitions-of\"]\n+    #Locale[\"ie\"][\"synonyms\"]\n+    #Locale[\"ie\"][\"examples\"]\n+    #Locale[\"ie\"][\"see-also\"]\n+    Locale[\"ie\"][\"family\"]             = \"Constructed language\"\n+    #Locale[\"ie\"][\"branch\"]\n+    Locale[\"ie\"][\"iso\"]                = \"ile\"\n+    Locale[\"ie\"][\"glotto\"]             = \"occi1241\"\n+    Locale[\"ie\"][\"script\"]             = \"Latn\"\n+    Locale[\"ie\"][\"spoken-in\"]          = \"worldwide\"\n+    Locale[\"ie\"][\"description\"]        = \"an international auxiliary language\"\n+    Locale[\"ie\"][\"supported-by\"]       = \"\"\n+\n+    # Irish\n     Locale[\"ga\"][\"name\"]               = \"Irish\"\n+    Locale[\"ga\"][\"name2\"]              = \"Gaelic\"\n     Locale[\"ga\"][\"endonym\"]            = \"Gaeilge\"\n     Locale[\"ga\"][\"translations-of\"]    = \"Aistri\u00fach\u00e1in ar %s\"\n     Locale[\"ga\"][\"definitions-of\"]     = \"Sainmh\u00ednithe ar %s\"\n@@ -1028,11 +1057,14 @@\n     Locale[\"ga\"][\"examples\"]           = \"Sampla\u00ed\"\n     Locale[\"ga\"][\"see-also\"]           = \"f\u00e9ach freisin\"\n     Locale[\"ga\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ga\"][\"branch\"]             = \"Celtic\"\n     Locale[\"ga\"][\"iso\"]                = \"gle\"\n     Locale[\"ga\"][\"glotto\"]             = \"iris1253\"\n     Locale[\"ga\"][\"script\"]             = \"Latn\"\n-\n-    #43 Italian\n+    Locale[\"ga\"][\"spoken-in\"]          = \"Ireland\"\n+    Locale[\"ga\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Italian\n     Locale[\"it\"][\"name\"]               = \"Italian\"\n     Locale[\"it\"][\"endonym\"]            = \"Italiano\"\n     Locale[\"it\"][\"translations-of\"]    = \"Traduzioni di %s\"\n@@ -1041,10 +1073,15 @@\n     Locale[\"it\"][\"examples\"]           = \"Esempi\"\n     Locale[\"it\"][\"see-also\"]           = \"Vedi anche\"\n     Locale[\"it\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"it\"][\"branch\"]             = \"Italo-Dalmatian\"\n     Locale[\"it\"][\"iso\"]                = \"ita\"\n     Locale[\"it\"][\"glotto\"]             = \"ital1282\"\n     Locale[\"it\"][\"script\"]             = \"Latn\"\n     Locale[\"it\"][\"dictionary\"]         = \"true\" # has dictionary\n+    Locale[\"it\"][\"spoken-in\"]          = \"Italy; Switzerland; San Marino; Vatican City\"\n+    Locale[\"it\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #44 Japanese\n     Locale[\"ja\"][\"name\"]               = \"Japanese\"\n@@ -2227,20 +2264,6 @@\n     Locale[\"mhr\"][\"iso\"]               = \"mhr\"\n     Locale[\"mhr\"][\"glotto\"]            = \"east2328\"\n     Locale[\"mhr\"][\"script\"]            = \"Cyrl\"\n-\n-    #? Interlingue\n-    Locale[\"ie\"][\"support\"]            = \"unstable\"\n-    Locale[\"ie\"][\"name\"]               = \"Interlingue\"\n-    Locale[\"ie\"][\"endonym\"]            = \"Interlingue\"\n-    #Locale[\"ie\"][\"translations-of\"]\n-    #Locale[\"ie\"][\"definitions-of\"]\n-    #Locale[\"ie\"][\"synonyms\"]\n-    #Locale[\"ie\"][\"examples\"]\n-    #Locale[\"ie\"][\"see-also\"]\n-    Locale[\"ie\"][\"family\"]             = \"Constructed language\"\n-    Locale[\"ie\"][\"iso\"]                = \"ile\"\n-    Locale[\"ie\"][\"glotto\"]             = \"occi1241\"\n-    Locale[\"ie\"][\"script\"]             = \"Latn\"\n \n     #? Occitan\n     Locale[\"oc\"][\"support\"]            = \"unstable\"\n"}
{"commit":"163c06de78875da8750090443d8fede0c624e2b2","subject":"Help: fix getReference()","message":"Help: fix getReference()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -192,100 +192,114 @@\n #     displayName = \"endonym\" or \"name\"\n function getReference(displayName,\n                       ####\n-                      code, col, cols, i, j, name, r, rows, saveSortedIn, t, tt) {\n-    rows = int(length(Locale) \/ 3) + 1\n+                      code, col, cols, i, j, name, num, r, rows, saveSortedIn,\n+                      t1, t2) {\n+    # number of language codes with stable support\n+    num = 0\n+    for (code in Locale)\n+        if (Locale[code][\"support\"] != \"unstable\")\n+            num++\n+    rows = int(num \/ 3) + 1\n     cols[0][0] = cols[1][0] = cols[2][0] = NULLSTR\n     i = 0\n     saveSortedIn = PROCINFO[\"sorted_in\"]\n     PROCINFO[\"sorted_in\"] = displayName == \"endonym\" ? \"@ind_num_asc\" :\n         \"compName\"\n     for (code in Locale) {\n-        col = int(i \/ rows)\n-        append(cols[col], code)\n-        i++\n+        # show languages only with stable support\n+        if (Locale[code][\"support\"] != \"unstable\") {\n+            col = int(i \/ rows)\n+            append(cols[col], code)\n+            i++\n+        }\n     }\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n \n     if (displayName == \"endonym\") {\n-        r = \"\u250c\" replicate(\"\u2500\", 22) \"\u252c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u2510\" RS\n+        r = \"\u250c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u2510\" RS\n         for (i = 0; i < rows; i++) {\n-            r = r \"\u2502 \"\n+            r = r \"\u2502\"\n             for (j = 0; j < 3; j++) {\n                 if (cols[j][i]) {\n-                    t = cols[j][i] == \"bo\" ||\n-                        cols[j][i] == \"dz\" ||\n-                        cols[j][i] == \"he\" ||\n-                        cols[j][i] == \"hi\" ||\n-                        cols[j][i] == \"hu\" ||\n-                        cols[j][i] == \"la\" ||\n-                        cols[j][i] == \"ml\" ||\n-                        cols[j][i] == \"mn\" ||\n-                        cols[j][i] == \"ne\" ||\n-                        cols[j][i] == \"ny\" ||\n-                        cols[j][i] == \"pa\" ||\n-                        cols[j][i] == \"pl\" ||\n-                        cols[j][i] == \"ro\" ||\n-                        cols[j][i] == \"sr\" ||\n-                        cols[j][i] == \"te\" ||\n-                        cols[j][i] == \"tg\" ||\n-                        cols[j][i] == \"tr\" ||\n-                        cols[j][i] == \"ur\" ||\n-                        cols[j][i] == \"wo\" ||\n-                        cols[j][i] == \"yi\" ||\n-                        cols[j][i] == \"yo\" ||\n-                        (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\" &&\n-                         length(getEndonym(cols[j][i])) < 6) ? \"\\t\\t \" :\n-                        cols[j][i] == \"id\" ? \"\" :\n-                        cols[j][i] == \"haw\" ? \" \" :\n-                        \"\\t \"\n-                    tt = length(cols[j][i]) == 3 ? \" \u2502\" :\n-                        (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\") ? \"  \u2502\" : \"\"\n-                    r = r getDisplay(cols[j][i]) t \"- \" ansi(\"bold\", cols[j][i]) tt \" \"\n+                    t1 = getDisplay(cols[j][i])\n+                    switch (cols[j][i]) { # fix rendered text width\n+                    case \"he\":\n+                        t1 = sprintf(\" %-18s\", t1)\n+                        break\n+                    case \"ur\":\n+                        t1 = sprintf(\" %-17s\", t1)\n+                        break\n+                    case \"hi\": case \"gu\": case \"km\": case \"kn\":\n+                    case \"my\": case \"ne\": case \"pa\": case \"si\":\n+                    case \"ta\": case \"te\": case \"yi\":\n+                        t1 = sprintf(\" %-16s\", t1)\n+                        break\n+                    case \"ja\": case \"ko\":\n+                        t1 = sprintf(\" %-12s\", t1)\n+                        break\n+                    case \"zh-CN\": case \"zh-TW\":\n+                        t1 = sprintf(\" %-11s\", t1)\n+                        break\n+                    default:\n+                        if (length(t1) <= 15)\n+                            t1 = sprintf(\" %-15s\", t1)\n+                    }\n+                    switch (length(cols[j][i])) {\n+                    case 1: case 2: case 3: case 4:\n+                        t2 = sprintf(\"- %s |\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n+                        break\n+                    case 5:\n+                        t2 = sprintf(\"- %s|\", ansi(\"bold\", cols[j][i]))\n+                        break\n+                    case 6:\n+                        t2 = sprintf(\"-%s|\", ansi(\"bold\", cols[j][i]))\n+                        break\n+                    case 7:\n+                        t2 = sprintf(\"-%s\", ansi(\"bold\", cols[j][i]))\n+                        break\n+                    default:\n+                        t2 = ansi(\"bold\", cols[j][i])\n+                    }\n+                    r = r t1 t2\n                 } else\n-                    r = r \"\\t\\t       \u2502\"\n+                    r = r sprintf(\"%23s\u2502\", NULLSTR)\n             }\n             r = r RS\n         }\n-        r = r \"\u2514\" replicate(\"\u2500\", 22) \"\u2534\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2518\"\n+        r = r \"\u2514\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2518\"\n     } else {\n-        r = \"\u250c\" replicate(\"\u2500\", 22) \"\u252c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u2510\" RS\n+        r = \"\u250c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u252c\" replicate(\"\u2500\", 23) \"\u2510\" RS\n         for (i = 0; i < rows; i++) {\n-            r = r \"\u2502 \"\n+            r = r \"\u2502\"\n             for (j = 0; j < 3; j++) {\n                 if (cols[j][i]) {\n-                    t = cols[j][i] == \"he\" ||\n-                        cols[j][i] == \"kk\" ||\n-                        cols[j][i] == \"ko\" ||\n-                        cols[j][i] == \"ky\" ||\n-                        cols[j][i] == \"ne\" ||\n-                        cols[j][i] == \"pl\" ||\n-                        cols[j][i] == \"ps\" ||\n-                        cols[j][i] == \"sd\" ||\n-                        cols[j][i] == \"sk\" ||\n-                        cols[j][i] == \"sm\" ||\n-                        cols[j][i] == \"so\" ||\n-                        cols[j][i] == \"te\" ||\n-                        cols[j][i] == \"ug\" ||\n-                        cols[j][i] == \"yo\" ||\n-                        (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\" &&\n-                         length(getName(cols[j][i])) < 6) ? \"\\t\\t \" :\n-                        cols[j][i] == \"fy\" ||\n-                        cols[j][i] == \"gd\" ||\n-                        cols[j][i] == \"ht\" ? \" \" :\n-                        \"\\t \"\n-                    tt = length(cols[j][i]) == 3 ? \" \u2502\" :\n-                        (cols[j][i] != \"zh-CN\" && cols[j][i] != \"zh-TW\") ? \"  \u2502\" : \"\"\n-                    name = getName(cols[j][i])\n-                    if (cols[j][i] == \"zh-CN\" ||\n-                        cols[j][i] == \"zh-TW\")\n-                        name = substr(name, 1, 12) \".\"\n-                    r = r name t \"- \" ansi(\"bold\", cols[j][i]) tt \" \"\n+                    t1 = getName(cols[j][i])\n+                    if (length(t1) > 15)\n+                        t1 = substr(t1, 1, 12) \"...\"\n+                    t1 = sprintf(\" %-15s\", t1)\n+                    switch (length(cols[j][i])) {\n+                    case 1: case 2: case 3: case 4:\n+                        t2 = sprintf(\"- %s |\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n+                        break\n+                    case 5:\n+                        t2 = sprintf(\"- %s|\", ansi(\"bold\", cols[j][i]))\n+                        break\n+                    case 6:\n+                        t2 = sprintf(\"-%s|\", ansi(\"bold\", cols[j][i]))\n+                        break\n+                    case 7:\n+                        t2 = sprintf(\"-%s\", ansi(\"bold\", cols[j][i]))\n+                        break\n+                    default:\n+                        t2 = ansi(\"bold\", cols[j][i])\n+                    }\n+                    r = r t1 t2\n                 } else\n-                    r = r \"\\t\\t       \u2502\"\n+                    r = r sprintf(\"%23s\u2502\", NULLSTR)\n             }\n             r = r RS\n         }\n-        r = r \"\u2514\" replicate(\"\u2500\", 22) \"\u2534\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2518\"\n+        r = r \"\u2514\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2534\" replicate(\"\u2500\", 23) \"\u2518\"\n     }\n     return r\n }\n"}
{"commit":"388c518392c95892043601b5bbe3112bd43269c5","subject":"Fix for shows listed but with missing target","message":"Fix for shows listed but with missing target\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -82,6 +82,9 @@\n         $0 = substr($0, 5) \", The\"\n     }\n     episodeLinesFound = 0\n+    seasonLinesFound = 0\n+    descriptionLinesFound = 0\n+    durationLinesFound = 0\n     numEpisodesStr = \"\"\n     seriesTitle = $0\n     print seriesTitle >> TITLE_FILE\n@@ -90,8 +93,8 @@\n \n # Extract the number of episodes in the series\n \/itemprop=\"numberOfEpisodes\"\/ {\n-    split ($0,fld,\"\\\"\")\n     episodeLinesFound += 1\n+    split ($0,fld,\"\\\"\")\n     if (episodeLinesFound == 1)\n         totalEpisodes = fld[4]\n     if (episodeLinesFound != 1)\n@@ -101,6 +104,7 @@\n \n # Extract the number of seasons in the series\n \/itemprop=\"numberOfSeasons\"\/ {\n+    seasonLinesFound += 1\n     split ($0,fld,\"\\\"\")\n     numSeasons = fld[4]\n     if ((numSeasons + 0) == 0)\n@@ -115,6 +119,7 @@\n \n # Extract the series description\n \/id=\"franchise-description\"\/ {\n+    descriptionLinesFound += 1\n     # get rid of boilerplate\n     split ($0,fld,\"[<>]\")\n     description = fld[3]\n@@ -177,6 +182,7 @@\n \n # Extract the episode duration\n \/<meta itemprop=\"timeRequired\"\/ {\n+    durationLinesFound += 1\n     split ($0,fld,\"\\\"\")\n     split (fld[4],tm,\/[TMS]\/)\n     secs = tm[3]\n@@ -304,15 +310,38 @@\n }\n \n \/<footer>\/ {\n-    print (episodeLinesFound == 1 ? \"=0\" : \"=\" numEpisodesStr) >> NUM_EPISODES_FILE\n-    if (description == \"\")\n-        printf (\"==> No description: %d\\t%s  %s\\n\", SERIES_NUMBER, shortURL, seriesTitle) >> ERROR_FILE\n+    if (episodeLinesFound == 0) {\n+        print 0  >> NUM_EPISODES_FILE\n+        printf (\"==> No numberOfEpisodes: %d\\t%s\\n\", SERIES_NUMBER, seriesTitle) >> ERROR_FILE\n+    } else {\n+        print (episodeLinesFound == 1 ? \"=0\" : \"=\" numEpisodesStr) >> NUM_EPISODES_FILE\n+    }\n+    #\n+    if (seasonLinesFound == 0) {\n+        print seasonLinesFound >> NUM_SEASONS_FILE\n+        printf (\"==> No numberOfSeasons: %d\\t%s\\n\", SERIES_NUMBER, seriesTitle) >> ERROR_FILE\n+    }\n+    #\n+    if (descriptionLinesFound == 0) {\n+        print \"-- No Description --\" >> DESCRIPTION_FILE\n+        printf (\"==> No franchise-description: %d\\t%s\\n\", SERIES_NUMBER, seriesTitle) >> ERROR_FILE\n+    } else {\n+        if (description == \"\")\n+            printf (\"==> No description: %d\\t%s  %s\\n\", SERIES_NUMBER, shortURL, \\\n+                    seriesTitle) >> ERROR_FILE\n+    }\n     description = \"\"\n     #\n-    seriesDuration = sprintf (\"%02d:%02d:%02d\", seriesHrs, seriesMins, seriesSecs)\n-    print seriesDuration >> DURATION_FILE\n-    if (seriesDuration == \"00:00:00\")\n-        printf (\"==> No duration: %d\\t%s  %s\\n\", SERIES_NUMBER, shortURL, seriesTitle) >> ERROR_FILE\n+    if (durationLinesFound == 0) {\n+        print \"00:00:00\"  >> DURATION_FILE\n+        printf (\"==> No timeRequired: %d\\t%s\\n\", SERIES_NUMBER, seriesTitle) >> ERROR_FILE\n+    } else {\n+        seriesDuration = sprintf (\"%02d:%02d:%02d\", seriesHrs, seriesMins, seriesSecs)\n+        print seriesDuration >> DURATION_FILE\n+        if (seriesDuration == \"00:00:00\")\n+            printf (\"==> No duration: %d\\t%s  %s\\n\", SERIES_NUMBER, shortURL, i\\\n+                    seriesTitle) >> ERROR_FILE\n+   }\n     seriesSecs = 0\n     seriesMins = 0\n     seriesHrs = 0\n"}
{"commit":"1d7a44e8c03ec3e167a8c6f5ee86bd0f39d99ab0","subject":"Help: header comment","message":"Help: header comment\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -1,3 +1,6 @@\n+####################################################################\n+# Help.awk                                                         #\n+####################################################################\n \n # Return version as a string.\n function getVersion() {\n"}
{"commit":"95514ed183ed6d5f2acf03937bfedac55f57644c","subject":"Main: support option aliases -hl, -sl and -tl","message":"Main: support option aliases -hl, -sl and -tl\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -488,17 +488,17 @@\n \n         ## Language preference options\n \n-        # -l CODE, -lang CODE\n-        match(ARGV[pos], \/^--?l(a(ng?)?)?(=(.*)?)?$\/, group)\n-        if (RSTART) {\n-            Option[\"hl\"] = group[3] ?\n-                (group[4] ? group[4] : Option[\"hl\"]) :\n-                ARGV[++pos]\n-            continue\n-        }\n-\n-        # -s CODE, -source CODE\n-        match(ARGV[pos], \/^--?s(o(u(r(ce?)?)?)?)?(=(.*)?)?$\/, group)\n+        # -l CODE, -hl CODE, -lang CODE\n+        match(ARGV[pos], \/^--?(l(a(ng?)?)?|hl)(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"hl\"] = group[4] ?\n+                (group[5] ? group[5] : Option[\"hl\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -s CODE, -sl CODE, -source CODE\n+        match(ARGV[pos], \/^--?s(o(u(r(ce?)?)?)?|l)?(=(.*)?)?$\/, group)\n         if (RSTART) {\n             Option[\"sl\"] = group[5] ?\n                 (group[6] ? group[6] : Option[\"sl\"]) :\n@@ -506,8 +506,8 @@\n             continue\n         }\n \n-        # -t CODES, -target CODES\n-        match(ARGV[pos], \/^--?t(a(r(g(et?)?)?)?)?(=(.*)?)?$\/, group)\n+        # -t CODES, -tl CODE, -target CODES\n+        match(ARGV[pos], \/^--?t(a(r(g(et?)?)?)?|l)?(=(.*)?)?$\/, group)\n         if (RSTART) {\n             if (group[5]) {\n                 if (group[6]) split(group[6], Option[\"tl\"], \"+\")\n"}
{"commit":"a544adab4211705122a37cfe988b30849308ac67","subject":"Handle language \"other\".","message":"Handle language \"other\".\n","repos":"xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- tbl2mim.awk\n+++ tbl2mim.awk\n@@ -27,7 +27,11 @@\n \n \/^ICON *=\/ { ICON = \" \\\"\"$3\"\\\"\"; next; }\n \/^NAME *=\/ { NAME = tolower($3); next; }\n-\/^LANGUAGES *=\/ { LANG = $3; next; }\n+\/^LANGUAGES *=\/ {\n+    LANG = $3;\n+    if (LANG == \"other\")\n+\tLANG = \"t\";\n+    next; }\n \/^STATUS_PROMPT *=\/ { TITLE = $3; next; }\n \/^BEGIN_TABLE\/ {\n     printf \"(input-method %s %s)\\n\", LANG, NAME;\n"}
{"commit":"09c20b2f623e2271a3ab9eb82c2419a8951320c1","subject":"fix filter-showIncludes","message":"fix filter-showIncludes\n\nWe want what is after the prefix, not the prefix itself.\n80cf1c22b629d524de18f20dcfd155d889ee5d2f could not have possibly worked.\n\nChange-Id: Ic2ab84d8c60ac608a773368b873ea5f98be4cd29\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/gbuild\/platform\/filter-showIncludes.awk\n+++ solenv\/gbuild\/platform\/filter-showIncludes.awk\n@@ -42,7 +42,7 @@\n {\n     sub(\/^ *\/, \"\")\n     if (index($0, showincludes_prefix) == 1) {\n-        $0 = substr($0, 1, length(showincludes_prefix))\n+        $0 = substr($0, length(showincludes_prefix) + 1)\n         sub(\/^ *\/, \"\")\n         gsub(\/\\\\\/, \"\/\")\n         gsub(\/ \/, \"\\\\ \")\n"}
{"commit":"4f2a86fe58f95dbafe387350e1eb8889148055c6","subject":"corrected some whitespace.","message":"corrected some whitespace.\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -45,7 +45,7 @@\n       print \"@prefix todo:          <http:\/\/www.w3.org\/2000\/01\/rdf-schema#> .\"\n       RDFS=\"todo\"\n    }\n-   print \"@prefix xsd:        <http:\/\/www.w3.org\/2001\/XMLSchema#> .\"\n+   print \"@prefix xsd:           <http:\/\/www.w3.org\/2001\/XMLSchema#> .\"\n    if(length(conversionID)) {\n       print \"@prefix owl:           <http:\/\/www.w3.org\/2002\/07\/owl#> .\"\n       print \"@prefix vann:          <http:\/\/purl.org\/vocab\/vann\/> .\"\n"}
{"commit":"00994cc3233dbf22cc19c07460c4255d16bec4ed","subject":"only concatenate when replacing a character","message":"only concatenate when replacing a character\n","repos":"dbro\/csvquote,dbro\/csvquote","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- csvquote.awk\n+++ csvquote.awk\n@@ -18,8 +18,8 @@\n     maybe_escaped_quote_char = 0; # false\n }\n \n-function replace_special_chars(c) {\n-    answer = c; # default to pass-through\n+function suggest_replacementchar(c) {\n+    answer = \"\"; # default to pass-through, that's what empty string means\n     if (maybe_escaped_quote_char) {\n         if (c != quotechar) {\n             # this is the end of a quoted field\n@@ -59,12 +59,21 @@\n         print $0;\n     } else {\n         # otherwise we scan the line for quote characters\n-        writebuf = \"\";\n-        numchars = length($0);\n+        writebuf = $0 RS; # concat. the record separator needs to be included\n+        numchars = length(writebuf);\n         for (i=1;i<=numchars;i++) {\n-            writebuf = writebuf (replace_special_chars(substr($0,i,1)));\n+            replacementchar = suggest_replacementchar(substr(writebuf,i,1));\n+            if (replacementchar != \"\") {\n+                # we need to modify the current character\n+                if (i == 1) {\n+                    writebuf = replacementchar substr(writebuf, i + 1); # concat\n+                } else if (i == numchars) {\n+                    writebuf = substr(writebuf, 1, i - 1) replacementchar; # concat\n+                } else {\n+                    writebuf = substr(writebuf, 1, i - 1) replacementchar substr(writebuf, i + 1); # concat\n+                }\n+            }\n         }\n-        writebuf = writebuf (replace_special_chars(RS));\n         printf(\"%s\", writebuf);\n     }\n }\n"}
{"commit":"db2f0fb194c81e736fbb7f2beb7c89298342ef4e","subject":"fallback to basic interactive mode (no wrapper) when $TRANS_PROGRAM and EntryPoint do not exist","message":"fallback to basic interactive mode (no wrapper) when $TRANS_PROGRAM and EntryPoint do not exist\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -255,7 +255,7 @@\n         # Interactive mode\n         initRlwrap() # initialize Rlwrap\n \n-        if (Rlwrap) {\n+        if (Rlwrap && (ENVIRON[\"TRANS_PROGRAM\"] || fileExists(EntryPoint))) {\n             command = Rlwrap \" \" Gawk \" \" (ENVIRON[\"TRANS_PROGRAM\"] ?\n                                            \"\\\"${TRANS_PROGRAM}\\\"\" :\n                                            \"-f \" EntryPoint) \" -\" \\\n@@ -275,26 +275,29 @@\n         # Emacs interface\n         Emacs = \"emacs\"\n \n-        params = \"\"\n-        for (i = 1; i < length(ARGV); i++)\n-            if (ARGV[i])\n-                params = params \" \" (parameterize(ARGV[i], \"\\\"\"))\n-        if (ENVIRON[\"TRANS_PROGRAM\"]) {\n-            el = \"(progn (setq trans-program (getenv \\\"TRANS_PROGRAM\\\")) \" \\\n-                \"(setq explicit-shell-file-name \\\"\" Gawk \"\\\") \" \\\n-                \"(setq explicit-\" Gawk \"-args (cons trans-program '(\\\"-\\\" \\\"-I\\\" \\\"-no-rlwrap\\\"\" params \"))) \" \\\n-                \"(command-execute 'shell) (rename-buffer \\\"\" Name \"\\\"))\"\n-        } else {\n-            el = \"(progn (setq explicit-shell-file-name \\\"\" Gawk \"\\\") \" \\\n-                \"(setq explicit-\" Gawk \"-args '(\\\"-f\\\" \\\"\" EntryPoint \"\\\" \\\"--\\\" \\\"-I\\\" \\\"-no-rlwrap\\\"\" params \")) \" \\\n-                \"(command-execute 'shell) (rename-buffer \\\"\" Name \"\\\"))\"\n-        }\n-        command = Emacs \" --eval \" parameterize(el)\n-\n-        if (!system(command))\n-            exit\n-        else\n-            exit 1\n+        if (ENVIRON[\"TRANS_PROGRAM\"] || fileExists(EntryPoint)) {\n+            params = \"\"\n+            for (i = 1; i < length(ARGV); i++)\n+                if (ARGV[i])\n+                    params = params \" \" (parameterize(ARGV[i], \"\\\"\"))\n+            if (ENVIRON[\"TRANS_PROGRAM\"]) {\n+                el = \"(progn (setq trans-program (getenv \\\"TRANS_PROGRAM\\\")) \" \\\n+                    \"(setq explicit-shell-file-name \\\"\" Gawk \"\\\") \" \\\n+                    \"(setq explicit-\" Gawk \"-args (cons trans-program '(\\\"-\\\" \\\"-I\\\" \\\"-no-rlwrap\\\"\" params \"))) \" \\\n+                    \"(command-execute 'shell) (rename-buffer \\\"\" Name \"\\\"))\"\n+            } else {\n+                el = \"(progn (setq explicit-shell-file-name \\\"\" Gawk \"\\\") \" \\\n+                    \"(setq explicit-\" Gawk \"-args '(\\\"-f\\\" \\\"\" EntryPoint \"\\\" \\\"--\\\" \\\"-I\\\" \\\"-no-rlwrap\\\"\" params \")) \" \\\n+                    \"(command-execute 'shell) (rename-buffer \\\"\" Name \"\\\"))\"\n+            }\n+            command = Emacs \" --eval \" parameterize(el)\n+\n+            if (!system(command))\n+                exit # child process finished, exit\n+            else\n+                Option[\"interactive\"] = 1 # skip\n+        } else\n+            Option[\"interactive\"] = 1 # skip\n     }\n \n     if (Option[\"play\"]) {\n"}
{"commit":"1e9c5810016a4734df5209b939b56ae630aab130","subject":"Add missing FPAT from last commit","message":"Add missing FPAT from last commit\n\nForgot to add the FPAT print out in the last commit.\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -23,6 +23,7 @@\n     print \"    if(!action) action = \\\"validate\\\"\"\n     print \"    summary_header=\\\"file_name,field_name,rule,message,violation_count\\\"\"\n     print \"    CSVFILENAME = CSVFILENAME ? CSVFILENAME : FILENAME\"\n+    print \"    FPAT = \\\"([^,]*)|(\\\\\\\"[^\\\\\\\"]+\\\\\\\")\\\"\"\n     print \"}\" RS\n \n     print \"# builtin helper functions\"\n"}
{"commit":"0421910a5af03ca47476e5b05b83b8fa8de2cab8","subject":"add title, predicate prefix, exceptions, notes","message":"add title, predicate prefix, exceptions, notes\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -1,17 +1,36 @@\n #! \/usr\/bin\/awk -f\n \n-# remove first and last chars\n+#  Reduce the subject and object of RDF triples (ntriples format)\n+# down to their @prefix (or literal object class)\n+#  Reduce predicates to the specific identifier and\n+# the ontology they are from.(curi form)\n+#  Express the subject and object as nodes with a directed edge\n+# labeled with the predicate in the graphviz dot format\n+#  Include a tally of each combination of nodes and edge\n+\n+#  This may over generalize in some cases because I do not have\n+# a handy way to differentiate uri for subjects and objects\n+# which may belong to a \"structural\" ontology as opposed to\n+# a data uri.\n+\n+#  Perhaps an improvement would be to to also\n+# express subject and objects as individual curies (ala predicates)\n+# iff their namespace is also used by a predicate.\n+\n+##########################################################\n+# remove first and last chars from input\n function trim(str){ \n \treturn substr(str,2,length(str)-2)\n }\n \n # remove final element in slashed path\n+# this leaves the namespace of the removed identifier\n function stripid(uri){\n \tl = match(uri,\/.*\\\/\/)  # side effect is RLENGTH\n \tif(l<=0)\n \t\treturn uri\n \telse \n-\t\treturn substr(uri,1,RLENGTH -1)\n+\t\treturn substr(uri,1,RLENGTH-1)\n }\n \n # keep underscore, letters & numbers \n@@ -36,9 +55,9 @@\n \t\treturn simplify(uri)\n }\n \n-# get the final (fragment identifier) portion of a slashed path\n+# get the final (incl fragment identifier) portion of a slashed path\n function final(uri){\n-\tsplit(trim(uri),b,\"\/\")\n+\tsplit(uri, b, \"\/\")\n \tp = b[length(b)]\n \tanchor = match(p, \"#\")\n \tif(anchor > 0)\n@@ -51,6 +70,8 @@\n \t# which escape the general rules\n \t# in everything\n \texception[\"http:\/\/www.w3.org\/2002\/07\"]=\"OWL_\"\n+\texception[\"http:\/\/www.w3.org\/1999\/02\"]=\"RDF\"\n+\texception[\"http:\/\/www.w3.org\/2000\/01\"]=\"RDFS\"\n \t# in go,mgi,wormbase\n \texception[\"http:\/\/dx.doi.org\"]=\"DOI\"\n \t# in mgi\n@@ -59,6 +80,8 @@\n \texception[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n \t# just until skolemized bnodes get in the curie map?\n \texception[\"https:\/\/monarchinitiave.org\/.well-known\/genid\"]=\"BNODE\"\n+\t# till all non httpS: are purged\n+\texception[\"http:\/\/monarchinitiave.org\"]=\"MONARCH\"\n }\n \n # main loop\n@@ -73,20 +96,22 @@\n \t### Subject (uri)\n \ts = contract(stripid(trim($1)))\n \t### Predicate (uri)\n-\tp = final($2)\n+\tq = final(trim($2))\n+\tp = contract(stripid(trim($2)))\n \t### Object (like subject)\n \to = contract(stripid(trim($3)))\n-\tedgelist[s \" -> \" o \" [label=\\\"\" p ]++\n+\tedgelist[s \" -> \" o \" [label=\\\"\" p \":\" q]++\n }\n ### case when the object is a literal\n (FNR != NR) && \/^<[^>]*> <[^>]*> \"[^\"]*\" \\.$\/ {\n \t### Subject (uri)\n \ts = contract(stripid(trim($1)))\n \t### Predicate (uri)\n-\tp = final($2)\n+\tq = final(trim($2))\n+\tp = contract(stripid(trim($2)))\n \t### not a uri\n \to = \"LITERAL\"\n-\tedgelist[s \" -> \" o \" [label=\\\"\" p ]++\n+\tedgelist[s \" -> \" o \" [label=\\\"\" p\":\"q ]++\n \tnodelist[o \" [shape=record];\"]++\n }\n \n@@ -97,6 +122,12 @@\n \tprint \"charset=\\\"utf-8\\\";\"\n \tfor(edge in edgelist) print edge \" (\" edgelist[edge] \")\\\"];\"\n \tfor(node in nodelist) print node\n+\tprint \"labelloc=\\\"t\\\";\"\n+\ttitle = final(FILENAME)\n+\tnow = systime()\n+\t# return date(1)-style output\n+\tdatestamp = strftime(\"%Y%m%d\", now)\n+\tprint \"label=\\\"\" substr(title,1,length(title)-3) \" (\" datestamp \")\\\";\"\n \tprint \"}\"\n }\n \n"}
{"commit":"54ebff4a72fc894ea9d480ca0222102847a666fa","subject":"updates table related meta to be file based rules","message":"updates table related meta to be file based rules\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -50,6 +50,10 @@\n     print \"}\" RS\n     print \"# awk rules based on user csv ruleset\"\n     print \"NR == 1 { headers=\\\"\" $3 \"\\\"; if (!are_headers_valid(headers)) print \\\"invalid headers\\\" }\"\n+}\n+\n+$1 == \"file\" {\n+    file_options[$2]=$3;\n }\n \n $1 == \"field\" {\n@@ -140,7 +144,7 @@\n     print \"action == \\\"insert\\\" && NR == 1 {\"\n     print \"    print \\\"SET client_encoding = 'UTF8';\\\"\"\n     print \"    gsub(\\\"Range\\\", \\\"rangeno\\\");\"\n-    print \"    print \\\"COPY \" options[\"table\"] \" (\\\" $0 \\\") FROM stdin;\\\"\"\n+    print \"    print \\\"COPY \" file_options[\"table\"] \" (\\\" $0 \\\") FROM stdin;\\\"\"\n     print \"}\"\n \n     print \"action == \\\"insert\\\" && NR > 1 {\"\n@@ -161,20 +165,20 @@\n         if (c < l) fields=fields \",\"\n     }\n \n-    if(options[\"pkey\"]) {\n-        cols=options[\"pkey\"]\n+    if(file_options[\"pkey\"]) {\n+        cols=file_options[\"pkey\"]\n         gsub(\":\", \",\", cols)\n         fields=fields \", PRIMARY KEY (\" cols \") \"\n     }\n-    if(options[\"fkey\"]) {\n-        split(options[\"fkey\"], ref, \" \")\n+    if(file_options[\"fkey\"]) {\n+        split(file_options[\"fkey\"], ref, \" \")\n         ftable=ref[1]\n         fcols=ref[2]\n         gsub(\":\", \",\", fcols)\n         fields=fields \", FOREIGN KEY (\" fcols \") REFERENCES \" ftable \" (\" fcols \") MATCH FULL \"\n     }\n \n-    print \"     print \\\"CREATE TABLE IF NOT EXISTS \" options[\"table\"] \" (\" fields \");\\\"\"\n+    print \"     print \\\"CREATE TABLE IF NOT EXISTS \" file_options[\"table\"] \" (\" fields \");\\\"\"\n     print \"}\"\n \n     print \"action == \\\"sanitize\\\" { print }\" RS\n"}
{"commit":"203ea2c209b13b66e0775168da3e127e9e7f9670","subject":"dtx_check.gawk: Fix false-positives in DTX check","message":"dtx_check.gawk: Fix false-positives in DTX check\n\nPreviously, if ONSET happened exactly at the place where next SID FIRST\nor UPDATE should be it was incorrectly detected as error. Similarly,\ncontinuos FACCH was misinterpreted as error.\n\nChange-Id: I43fdbceea0dbdb0833c3b1cf0fc3b825803ed30e\n","repos":"osmocom\/osmo-bts,osmocom\/osmo-bts,osmocom\/osmo-bts","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- contrib\/dtx_check.gawk\n+++ contrib\/dtx_check.gawk\n@@ -40,7 +40,7 @@\n \t\t\tCHK = \"FAIL: \" TYPE \" followed by \" $2 \" instead of P2.\"\n \t\t\tERR++\n \t\t}\n-\t\tif (\"OK\" == CHK) { # check inter-SID distances:\n+\t\tif (\"OK\" == CHK && \"ONSET\" != $2) { # check inter-SID distances:\n \t\t\tif (\"UPDATE\" == TYPE) {\n \t\t\t\tif (DELTA > U_MAX) {\n \t\t\t\t\tCHK = \"FAIL: delta (\" $1 - FN \"fn) from previous SID UPDATE (@\" FN \") too big \" DELTA \"ms > \" U_MAX \"ms.\"\n@@ -62,8 +62,8 @@\n \t\t\t\t}\n \t\t\t}\n \t\t}\n-\t\tif (\"FACCH\" == TYPE && \"FIRST\" != $2 && 1 == SILENCE) { # check FACCH handling\n-\t\t\tCHK = \"FAIL: incorrect silence resume after FACCH.\"\n+\t\tif (\"FACCH\" == TYPE && \"FIRST\" != $2 && \"FACCH\" != $2 && 1 == SILENCE) { # check FACCH handling\n+\t\t\tCHK = \"FAIL: incorrect silence resume with \" $2 \" after FACCH.\"\n \t\t\tERR++\n \t\t}\n \t}\n"}
{"commit":"72f00a4a34167461e6a218f20a57ffae7a19f6b9","subject":"Add support for commenting the Python constants. (dm)","message":"Add support for commenting the Python constants. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2829 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Bindings\/Python\/constants.awk\n+++ Bindings\/Python\/constants.awk\n@@ -16,7 +16,7 @@\n ###############################################################################\n \n function brlCommand(name, symbol, value, help) {\n-  writeCommandDefinition(name, value)\n+  writeCommandDefinition(name, value, help)\n }\n \n function brlBlock(name, symbol, value, help) {\n@@ -24,7 +24,7 @@\n   if (name == \"PASSKEY\") return\n \n   if (value ~ \/^0[xX][0-9a-fA-F]+00$\/) {\n-    writeCommandDefinition(name, tolower(value) \"00\")\n+    writeCommandDefinition(name, tolower(value) \"00\", help)\n   }\n }\n \n@@ -44,29 +44,29 @@\n   } else {\n     return\n   }\n-  writePythonAssignment(\"KEY_FLG_\" name, value)\n+  writePythonAssignment(\"KEY_FLG_\" name, value, help)\n }\n \n function brlDot(number, symbol, value, help) {\n-  writePythonAssignment(\"DOT\" number, value)\n+  writePythonAssignment(\"DOT\" number, value, help)\n }\n \n function apiConstant(name, symbol, value, help) {\n-  writePythonAssignment(name, value)\n+  writePythonAssignment(name, value, help)\n }\n \n function apiMask(name, symbol, value, help) {\n-  writePythonAssignment(\"KEY_\" name, \"c_brlapi.\" symbol)\n+  writePythonAssignment(\"KEY_\" name, \"c_brlapi.\" symbol, help)\n }\n \n function apiShift(name, symbol, value, help) {\n   value = hexadecimalValue(value)\n-  writePythonAssignment(\"KEY_\" name, value)\n+  writePythonAssignment(\"KEY_\" name, value, help)\n }\n \n function apiType(name, symbol, value, help) {\n   value = hexadecimalValue(value)\n-  writePythonAssignment(\"KEY_TYPE_\" name, value)\n+  writePythonAssignment(\"KEY_TYPE_\" name, value, help)\n }\n \n function apiKey(name, symbol, value, help) {\n@@ -74,22 +74,24 @@\n \n   if (name == \"FUNCTION\") {\n     for (i=0; i<35; ++i) {\n-      writeKeyDefinition(\"F\" (i+1), \"(\" value \" + \" i \")\")\n+      key = \"F\" (i+1)\n+      writeKeyDefinition(key, \"(\" value \" + \" i \")\", \"the \" key \" key\")\n     }\n   } else {\n-    writeKeyDefinition(name, value)\n+    writeKeyDefinition(name, value, help)\n   }\n }\n \n-function writeCommandDefinition(name, value) {\n-  writePythonAssignment(\"KEY_CMD_\" name, value)\n+function writeCommandDefinition(name, value, help) {\n+  writePythonAssignment(\"KEY_CMD_\" name, value, help)\n }\n \n-function writeKeyDefinition(name, value) {\n-  writePythonAssignment(\"KEY_SYM_\" name, value)\n+function writeKeyDefinition(name, value, help) {\n+  writePythonAssignment(\"KEY_SYM_\" name, value, help)\n }\n \n-function writePythonAssignment(name, value) {\n+function writePythonAssignment(name, value, help) {\n+  if (length(help) > 0) print \"## \" help\n   print name \" = \" value\n }\n \n"}
{"commit":"ad84051f4ccc280756abf8cdcbf89d99509a4abc","subject":"build.awk: update readme generator","message":"build.awk: update readme generator\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -50,7 +50,7 @@\n     return system(\"pandoc -s -f markdown-smart -t man \" ManMarkdown \" -o \" Man)\n }\n \n-function readme(    code, col, cols, content, group, i, j, num, language, r, rows, text) {\n+function readme(    code, col, cols, content, group, i, iso, j, num, r, rows, text) {\n     text = readFrom(ReadmeTemplate)\n \n     content = getOutput(\"gawk -f translate.awk -- -no-ansi -h\")\n@@ -82,9 +82,11 @@\n         r = r \"| \"\n         for (j = 0; j < 3; j++)\n             if (cols[j][i]) {\n-                split(getName(cols[j][i]), group, \" \")\n-                language = length(group) == 1 ? group[1] \"_language\" : join(group, \"_\")\n-                r = r \"**[\" getName(cols[j][i]) \"](\" \"http:\/\/en.wikipedia.org\/wiki\/\" language \")** <br\/> **\" getEndonym(cols[j][i]) \"** | **`\" cols[j][i] \"`** | \"\n+                split(getISO(cols[j][i]), group, \"-\")\n+                iso = group[1]\n+\n+                r = r \"**[\" getName(cols[j][i]) \"](\" \"http:\/\/en.wikipedia.org\/wiki\/ISO_639:\" iso \\\n+                    \")** <br\/> **\" getEndonym(cols[j][i]) \"** | **`\" cols[j][i] \"`** | \"\n             }\n         r = r RS\n     }\n"}
{"commit":"6b4c5f341e8c53385b0360b9717ab0ca5c2597a6","subject":"Fix bug. Strings are 1 based","message":"Fix bug. Strings are 1 based\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@17659 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,7 +8,7 @@\n \n {\n # add a loop to add line only if first 4 char or last 4 char of year are gt or eq to contract\n-if ((substr($4,0,4) >= $3) || ((length($4) == 9) && (substr($4,6,4) >= $3))) {\n+if ((substr($4,1,4) >= $3) || ((length($4) == 9) && (substr($4,6,4) >= $3))) {\n     nn = split($2,na,\/\\.\/)\n     lp2 = na[nn]\n   if (!(($1,lp2,$3,$4) in b)) {\n"}
{"commit":"6a3e316701d72ab82c46f0a27fce7fab9af4ed53","subject":"Added commandline args options -n and -c to oppress output of barcode in the readname and comment, respectively","message":"Added commandline args options -n and -c to oppress output of barcode in the readname and comment, respectively\n","repos":"hackseq\/2017_project_6,hackseq\/2017_project_6,hackseq\/2017_project_6,hackseq\/2017_project_6","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- extract_barcodes\/extract_barcodes.awk\n+++ extract_barcodes\/extract_barcodes.awk\n@@ -1,11 +1,39 @@\n+BEGIN{\n+    attach_in_readname = 1;\n+    attach_in_comment = 1;\n+    \n+    for (i = 1; i < ARGC; i++) {\n+        if (ARGV[i] == \"-n\")\n+            attach_in_readname = 0\n+        else if (ARGV[i] == \"-c\")\n+            attach_in_comment = 0\n+        else if (ARGV[i] ~ \/^-.\/) {\n+            e = sprintf(\"%s: unrecognized option -- %c\",\n+                    ARGV[0], substr(ARGV[i], 2, 1))\n+            print e > \"\/dev\/stderr\"\n+        } else\n+            break\n+        delete ARGV[i]\n+    }\n+    \n+}\n+\n {\n     if (NR % 8 == 1 && NR > 1) {\n-        barcode = substr(read_pair[2], 1, 16)\n-        printf read_pair[1]\" BX:Z:\"barcode\"\\n\"\n+        barcode = substr(read_pair[2], 1, 16);\n+        if (attach_in_readname) {\n+            initial = barcode\"-1_\";\n+        }\n+        \n+        if (attach_in_comment) {\n+            final = \" BX:Z:\"barcode\"-1\";\n+        }\n+        \n+        printf initial read_pair[1] final\"\\n\"\n         printf substr(read_pair[2], 17)\"\\n\"\n         printf read_pair[3]\"\\n\"\n         printf substr(read_pair[4], 17)\"\\n\"\n-        printf read_pair[5]\" BX:Z:\"barcode\"\\n\"\n+        printf initial read_pair[5] final\"\\n\"\n         printf read_pair[6]\"\\n\"\n         printf read_pair[7]\"\\n\"\n         printf read_pair[0]\"\\n\"\n"}
{"commit":"1c5fe436848b2662b88658976a3c10c900303e8a","subject":"LanguageData: update section T","message":"LanguageData: update section T\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"unknown","license":"unlicense","lang":"Awk","diff":""}
{"commit":"5eb246dfe4a78e28f4d05c5cb07e44a47b179e82","subject":"Put local symbol suppression rule into most recent (e.g. last) version block.","message":"Put local symbol suppression rule into most recent (e.g. last) version\nblock.\n\nApproved by:\tre (kensmith)\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"301ccb73e997123c0e61cdff952bd37f643f5635","subject":"Utils: fix base64() on systems where echo does not accept option -n","message":"Utils: fix base64() on systems where echo does not accept option -n\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -210,8 +210,8 @@\n # Base64 encode a string.\n # NOTE: can only be ran once for each text! Build a cache.\n function base64(text,    command, temp) {\n-    command = \"base64\"\n-    (\"echo -n \" parameterize(text) PIPE command) | getline temp\n+    command = \"echo -n \" parameterize(text) PIPE \"base64\"\n+    (\"bash -c \" parameterize(command, \"\\\"\")) | getline temp\n     return temp\n }\n \n"}
{"commit":"1af830490ab463a1a77835292a52086cb1aa78ff","subject":"Add a status for source AUs.","message":"Add a status for source AUs.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -94,7 +94,8 @@\n   s[13] = \"superseded\"\n   s[14] = \"zapped\"\n   s[15] = \"doNotProcess\"\n-  sn = 16\n+  s[16] = \"readySource\"\n+  sn = 17\n   \n   sc[0] = \"expe\"\n   sc[1] = \"exis\"\n@@ -112,7 +113,8 @@\n   sc[13] = \"supe\"\n   sc[14] = \"zapp\"\n   sc[15] = \"doNP\"\n-  scn = 16\n+  sc[16] = \"rdSc\"\n+  scn = 17\n \n   #print out header\n   printf \"Publisher\\tPlugin\\tContr\\tBack\\tYear\\tT\\tP\\tTotal\"\n"}
{"commit":"0ccfc318ae47722c61d85019e819fa932fcc8e6b","subject":"dheader and hheader were the same function, really, so rename one of them to header, kill the other and use both with a different arg...","message":"dheader and hheader were the same function, really, so rename one of\nthem to header, kill the other and use both with a different arg...\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/usbdevs2h.awk\n+++ sys\/tools\/usbdevs2h.awk\n@@ -37,44 +37,24 @@\n \texit 1;\n }\n \n-function dheader(dfile)\n+function header(file)\n {\n \tif (os == \"NetBSD\")\n-\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > dfile\n+\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > file\n \telse if (os == \"FreeBSD\")\n-\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > dfile\n+\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > file\n \telse if (os == \"OpenBSD\")\n-\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > dfile\n+\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > file\n \telse\n-\t\tprintf(\"\/* ??? *\/\\n\\n\") > dfile\n-\tprintf(\"\/*\\n\") > dfile\n+\t\tprintf(\"\/* ??? *\/\\n\\n\") > file\n+\tprintf(\"\/*\\n\") > file\n \tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n-\t    > dfile\n-\tprintf(\" *\\n\") > dfile\n-\tprintf(\" * generated from:\\n\") > dfile\n-\tprintf(\" *\\t%s\\n\", VERSION) > dfile\n-\tprintf(\" *\/\\n\") > dfile\n-}\n-\n-function hheader(hfile)\n-{\n-\tif (os == \"NetBSD\")\n-\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > hfile\n-\telse if (os == \"FreeBSD\")\n-\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > hfile\n-\telse if (os == \"OpenBSD\")\n-\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > hfile\n-\telse\n-\t\tprintf(\"\/* ??? *\/\\n\\n\") > hfile\n-\tprintf(\"\/*\\n\") > hfile\n-\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n-\t    > hfile\n-\tprintf(\" *\\n\") > hfile\n-\tprintf(\" * generated from:\\n\") > hfile\n-\tprintf(\" *\\t%s\\n\", VERSION) > hfile\n-\tprintf(\" *\/\\n\") > hfile\n-}\n-\n+\t    > file\n+\tprintf(\" *\\n\") > file\n+\tprintf(\" * generated from:\\n\") > file\n+\tprintf(\" *\\t%s\\n\", VERSION) > file\n+\tprintf(\" *\/\\n\") > file\n+}\n \n function vendor(hfile)\n {\n@@ -261,12 +241,10 @@\n \tif (line == 1) {\n \t\tVERSION = $0\n \t\tgsub(\"\\\\$\", \"\", VERSION)\n-\n \t\tif (dfile)\n-\t\t\tdheader(dfile)\n-\n-\t\tif (hfile)\n-\t\t\thheader(hfile)\n+\t\t\theader(dfile)\n+\t\tif (hfile)\n+\t\t\theader(hfile)\n \t\tcontinue;\n \t}\n \tif ($1 == \"vendor\") {\n"}
{"commit":"1ab3460f108654e0bdedd76fb99353d61d2f32e4","subject":"Update usage comment to match reality.","message":"Update usage comment to match reality.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -34,8 +34,9 @@\n #\n # Script to produce VFS front-end sugar.\n #\n-# usage: vnode_if.awk <srcfile> [-c | -h]\n+# usage: vnode_if.awk <srcfile> [-c | -h | -p | -q]\n #\t(where <srcfile> is currently \/sys\/kern\/vnode_if.src)\n+#\tThe source file must have a .src extension\n #\n \n function usage()\n"}
{"commit":"174a32b73a28273e236309947877dc011aed4343","subject":"Vastly simplify smt output munger.","message":"Vastly simplify smt output munger.\n\nThis is going to be stripping out CVC3's annoying \"success\" lines too.\n","repos":"jmorse\/numbness","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- smt_parse.awk\n+++ smt_parse.awk\n@@ -1,13 +1,5 @@\n #!\/usr\/bin\/gawk -f\n-BEGIN{\n-\tbees=\"\";\n+# Simplified approach: only pick out lines with round definitions\n+\/^\\(\\(round.*\\)\\)$\/ {\n+\tprint $0;\n }\n-\n-\/^[ ]+\\(define-fun.*round.*Int$\/{\n-\tbees = $2;\n-}\n-\n-\/^[ ]+[0-9]+\\)$\/{\n-\tmatch ($0, \/^[ ]+([0-9]+)\\)\/, arr)\n-\tprint bees \" \" arr[1];\n-}\n"}
{"commit":"d34d97848c256fa321a91f942f60f4fc3d2101bc","subject":"Languages: add Konkani","message":"Languages: add Konkani\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -794,6 +794,19 @@\n     Locale[\"rw\"][\"iso\"]                = \"kin\"\n     Locale[\"rw\"][\"glotto\"]             = \"kiny1244\"\n     Locale[\"rw\"][\"script\"]             = \"Latn\"\n+\n+    # Konkani (Goan Konkani)\n+    Locale[\"gom\"][\"name\"]              = \"Konkani\"\n+    Locale[\"gom\"][\"endonym\"]           = \"\u0915\u094b\u0902\u0915\u0923\u0940\"\n+    #Locale[\"gom\"][\"translations-of\"]\n+    #Locale[\"gom\"][\"definitions-of\"]\n+    #Locale[\"gom\"][\"synonyms\"]\n+    #Locale[\"gom\"][\"examples\"]\n+    #Locale[\"gom\"][\"see-also\"]\n+    Locale[\"gom\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"gom\"][\"iso\"]               = \"gom\"\n+    Locale[\"gom\"][\"glotto\"]            = \"goan1235\"\n+    Locale[\"gom\"][\"script\"]            = \"Deva\"\n \n     #50 Korean\n     Locale[\"ko\"][\"name\"]               = \"Korean\"\n"}
{"commit":"bac44df7d1228babb0557722a6a0b57a22c20b2b","subject":"Translate: localize variable i in preprocessByDump() (fixed a regression bug that affects Google Translate engine)","message":"Translate: localize variable i in preprocessByDump() (fixed a regression bug that affects Google Translate engine)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -87,7 +87,7 @@\n }\n \n # Pre-process string (using hexdump to URL-encode everything).\n-function preprocessByDump(text,    arr, len, temp) {\n+function preprocessByDump(text,    arr, i, len, temp) {\n     len = dumpX(text, arr)\n     temp = \"\"\n     for (i = 1; i <= len; i++)\n"}
{"commit":"1b22d0af8742797cfc5c762b1d8eb4452b2cf3fc","subject":"Replace split with loop for POSIX compatibility","message":"Replace split with loop for POSIX compatibility\n\nsplit: null string for third arg is a gawk extension","repos":"manicmaniac\/levenshtein.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- levenshtein.awk\n+++ levenshtein.awk\n@@ -12,8 +12,12 @@\n     if (len1 == 0) return len2\n     if (len2 == 0) return len1\n     if (str1 == str2) return 0\n-    split(str1, chars1, \"\")\n-    split(str2, chars2, \"\")\n+    for(i = 1; i <= len1; i++) {\n+        chars1[i] = substr(str1, i, 1)\n+    }\n+\tfor(j = 1; j <= len2; j++) {\n+        chars2[j] = substr(str2, j, 1)\n+    }\n     for (i = 0; i <= len1; i++) {\n         matrix[i, 0] = i\n     }\n"}
{"commit":"21bc2aed3de1c9a2f0a691defa895c8a6083b6a1","subject":"Better variable names.","message":"Better variable names.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -27,11 +27,11 @@\n \t# Expand the lines like (aa|bb|cc) into multiple records\n \tpos = match(line, \/\\([a-zA-Z0-9\\.\\|]+\\)\/)\n \tif (pos != 0) {\n-\t\tbracket = substr(line, RSTART + 1, RLENGTH - 2)\n-\t\tn = split(bracket, a, \"|\")\n+\t\tin_bracket = substr(line, RSTART + 1, RLENGTH - 2)\n+\t\tn = split(in_bracket, arr, \"|\")\n \t\tfor (i = 1; i <= n; i++) {\n \t\t\texpanded_line = line\n-\t\t\tsub(\/\\([a-zA-Z0-9\\.\\|]+\\)\/, a[i], expanded_line)\n+\t\t\tsub(\/\\([a-zA-Z0-9\\.\\|]+\\)\/, arr[i], expanded_line)\n \t\t\textract_regex(expanded_line, original_line)\n \t\t}\n \t} else {\n"}
{"commit":"607224fc3f014de3c2f520d4499b6e53d4388041","subject":"Regress because of errors.","message":"Regress because of errors.","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -4,11 +4,11 @@\n BEGIN {\n   FS=\"\\t\"\n   pn = 0\n-    str = \"date +%m-%d-%Y\";\n-    str | getline date;\n+    #str = \"date +%m-%d-%Y\";\n+    #str | getline date;\n     #close str;\n }\n-$3>date\n+#$3>date\n \n {\n   # add a loop to add line only if either [status is _not_ manifest] OR [journal_year (or journal end year) is gt or eq to 2005 && journal year (or journal end year) is lt or eq to the current year we are testing]\n@@ -110,7 +110,7 @@\n     }\n \n   printf \"\\n\"\n-  printf \"%s\", date\n-  printf \"\\n\"\n+  #printf \"%s\", date\n+  #printf \"\\n\"\n }\n \n"}
{"commit":"45fadd4bfbe70bb408e92b72cf5a293a493fa634","subject":"Translators\/BingTranslator: fix dictionary lookup","message":"Translators\/BingTranslator: fix dictionary lookup\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -2,7 +2,7 @@\n # BingTranslator.awk                                               #\n ####################################################################\n #\n-# Last Updated: 24 Jul 2019\n+# Last Updated: 25 Jul 2019\n BEGIN { provides(\"bing\") }\n \n function bingInit() {\n@@ -11,7 +11,7 @@\n     HttpPort = 80\n }\n \n-# [OBSOLETE] Retrieve the Cookie and set IG.\n+# [OBSOLETE?] Retrieve the Cookie and set IG.\n function bingSetIG(    content, cookie, group, header, isBody,\n                        url, status, location) {\n     url = HttpPathPrefix \"\/translator\"\n@@ -138,7 +138,7 @@\n     return \"https:\/\/www.translatetheweb.com\/?\" \"from=\" _sl \"&to=\" _tl \"&a=\" uri\n }\n \n-# Dictionary API (via HTTP GET).\n+# [OBSOLETE?] Old dictionary API (via HTTP GET).\n function bingRequestUrl(text, sl, tl, hl) {\n     return HttpPathPrefix \"\/translator\/api\/Dictionary\/Lookup?\"  \\\n         \"from=\" sl \"&to=\" tl \"&text=\" preprocess(text)\n@@ -148,8 +148,8 @@\n function bingPostRequestUrl(text, sl, tl, hl, type) {\n     if (type == \"lookup\")\n         return HttpPathPrefix \"\/tlookupv3\"\n-    else if (type == \"transliterate\")\n-        return HttpPathPrefix \"\/ttransliteratev3\"\n+    #else if (type == \"transliterate\")\n+    #    return HttpPathPrefix \"\/ttransliteratev3\"\n     else # type == \"translate\"\n         return HttpPathPrefix \"\/ttranslatev3\"\n }\n@@ -160,9 +160,9 @@\n \n function bingPostRequestBody(text, sl, tl, hl, type) {\n     if (type == \"lookup\")\n-        return \"&text=\" quote(text) \"&fromLang=\" sl \"&to=\" tl  # FIXME!\n-    else if (type == \"transliterate\")\n-        return \"&text=\" quote(text) \"&language=\" sl \"&toScript=\" \"latn\"  # FIXME!\n+        return \"&text=\" quote(text) \"&from=\" sl \"&to=\" tl\n+    #else if (type == \"transliterate\")\n+    #    return \"&text=\" quote(text) \"&language=\" sl \"&toScript=\" \"latn\"\n     else # type == \"translate\"\n         return \"&text=\" quote(text) \"&fromLang=\" sl \"&to=\" tl\n }\n@@ -172,11 +172,14 @@\n                        isVerbose, toSpeech, returnPlaylist, returnIl,\n                        ####\n                        r,\n-                       content, tokens, ast,\n+                       content, tokens, ast, dicContent, dicTokens, dicAst,\n                        _sl, _tl, _hl, il, isPhonetic,\n-                       translation,\n-                       wShowOriginal, wShowTranslation, wShowLanguages,\n-                       group, temp) {\n+                       translation, phonetics, oPhonetics,\n+                       wordClasses, words, wordBackTranslations,\n+                       wShowOriginal, wShowOriginalPhonetics,\n+                       wShowTranslation, wShowTranslationPhonetics,\n+                       wShowLanguages, wShowDictionary,\n+                       i, j, k, group, temp, saveSortedIn) {\n     isPhonetic = match(tl, \/^@\/)\n     tl = substr(tl, 1 + isPhonetic)\n \n@@ -275,7 +278,7 @@\n             split(_sl, group, \"-\")\n             #content = postResponse(text, group[1], group[1], _hl, \"transliterate\")\n             #oPhonetics = unparameterize(content)\n-            # TODO\n+            # FIXME!\n             if (oPhonetics == text) oPhonetics = \"\"\n         }\n \n@@ -320,19 +323,60 @@\n             r = r prettify(\"languages\", group[3])\n         }\n \n-        if (wShowDictionary && false) { # FIXME!\n+        if (wShowDictionary) {\n             # Dictionary API\n-            # Note: source language must be identified\n-            dicContent = getResponse(text, _sl, _tl, _hl)\n-            tokenize(dicTokens, dicContent)\n-            parseJson(dicAst, dicTokens) # FIXME: inefficient parser\n-\n-            if (anything(dicAst)) {\n+            dicContent = postResponse(text, il, _tl, _hl, \"lookup\")\n+            if (dicContent != \"\") {\n+                tokenize(dicTokens, dicContent)\n+                parseJson(dicAst, dicTokens)\n+\n+                l(dicContent, \"content\", 1, 1)\n+                l(dicTokens, \"tokens\", 1, 0, 1)\n+                l(dicAst, \"ast\")\n+\n+                saveSortedIn = PROCINFO[\"sorted_in\"]\n+                PROCINFO[\"sorted_in\"] = \"compareByIndexFields\"\n+                for (i in dicAst) {\n+                    if (match(i, \"^0\" SUBSEP \"0\" SUBSEP \"translations\" SUBSEP \"([[:digit:]]+)\" SUBSEP \\\n+                              \"posTag$\", group))\n+                        wordClasses[group[1]] = tolower(literal(dicAst[i]))\n+                }\n+                for (i in dicAst) {\n+                    if (match(i, \"^0\" SUBSEP \"0\" SUBSEP \"translations\" SUBSEP \"([[:digit:]]+)\" SUBSEP \\\n+                              \"displayTarget$\", group))\n+                        words[wordClasses[group[1]]][group[1]] = literal(dicAst[i])\n+                    if (match(i, \"^0\" SUBSEP \"0\" SUBSEP \"translations\" SUBSEP \"([[:digit:]]+)\" SUBSEP \\\n+                              \"backTranslations\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"displayText$\", group))\n+                        wordBackTranslations[wordClasses[group[1]]][group[1]][group[2]] = literal(dicAst[i])\n+                }\n+                PROCINFO[\"sorted_in\"] = saveSortedIn\n+\n                 # Display: dictionary entries\n                 if (r) r = r RS\n                 r = r m(\"-- display dictionary entries\")\n-\n-                # TODO\n+                for (i = 0; i < length(words); i++) {\n+                    r = (i > 0 ? r RS : r) RS prettify(\"dictionary-word-class\", s(wordClasses[i], hl))\n+\n+                    for (j in words[wordClasses[i]]) {\n+                        r = r RS prettify(\"dictionary-word\", ins(1, words[wordClasses[i]][j], tl))\n+\n+                        if (isRTL(il))\n+                            explanation = join(wordBackTranslations[wordClasses[i]][j], \", \")\n+                        else {\n+                            explanation = prettify(\"dictionary-explanation-item\",\n+                                                   wordBackTranslations[wordClasses[i]][j][0])\n+                            for (k = 1; k < length(wordBackTranslations[wordClasses[i]][j]); k++)\n+                                explanation = explanation prettify(\"dictionary-explanation\", \", \") \\\n+                                    prettify(\"dictionary-explanation-item\",\n+                                             wordBackTranslations[wordClasses[i]][j][k])\n+                        }\n+\n+                        if (isRTL(il))\n+                            r = r RS prettify(\"dictionary-explanation-item\", ins(2, explanation, il))\n+                        else\n+                            r = r RS ins(2, explanation)\n+                    }\n+                }\n             }\n         }\n     }\n"}
{"commit":"50e07fa86b5e57506ea1cacd9d70065b821548c7","subject":"Translators\/BingTranslator: support original phonetics","message":"Translators\/BingTranslator: support original phonetics\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -237,6 +237,7 @@\n         split(_tl, group, \"-\")\n         content = postResponse(translation, group[1], group[1], _hl, \"transliterate\")\n         phonetics = unparameterize(content)\n+        if (phonetics == translation) phonetics = \"\"\n     }\n \n     # Generate output\n@@ -255,13 +256,25 @@\n         wShowLanguages = Option[\"show-languages\"]\n         wShowDictionary = Option[\"show-dictionary\"]\n \n+        # Transliteration (original)\n+        wShowOriginalPhonetics = Option[\"show-original-phonetics\"]\n+        if (wShowOriginalPhonetics) {\n+            split(il, group, \"-\")\n+            content = postResponse(text, group[1], group[1], _hl, \"transliterate\")\n+            oPhonetics = unparameterize(content)\n+            if (oPhonetics == text) oPhonetics = \"\"\n+        }\n+\n+        if (!oPhonetics) wShowOriginalPhonetics = 0\n         if (!phonetics) wShowTranslationPhonetics = 0\n \n         if (wShowOriginal) {\n-            # Display: original text\n+            # Display: original text & phonetics\n             if (r) r = r RS RS\n             r = r m(\"-- display original text\")\n             r = r prettify(\"original\", s(text, il))\n+            if (wShowOriginalPhonetics)\n+                r = r RS prettify(\"original-phonetics\", showPhonetics(join(oPhonetics, \" \"), il))\n         }\n \n         if (wShowTranslation) {\n"}
{"commit":"c3d1f599ff315d1213ae040c2e9bfcacb7f38e43","subject":"port.wm: make it actually read it's input","message":"port.wm: make it actually read it's input\n","repos":"robert-figura\/req,robert-figura\/req","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/port.wm.awk\n+++ src\/port.wm.awk\n@@ -7,26 +7,26 @@\n     teslawm_fifo = ENVIRON[\"TESLAWM_fifo\"]\n }\n \n-get(\"ctx.xprop.wm_class_name\") == \"Sonata\" {\n-    set(\"ctx.xprop.wm_name\", HOME \"\/mnt\/ssh\/rfigura@wirsing\/home\/rfigura\/pub\/audio\/\" get(\"ctx.xprop.wm_name\"))\n+get(\"xprop.wm_class_name\") == \"Sonata\" {\n+    set(\"xprop.wm_name\", HOME \"\/mnt\/ssh\/rfigura@wirsing\/home\/rfigura\/pub\/audio\/\" get(\"xprop.wm_name\"))\n }\n \n-get(\"ctx.xwin\") && teslawm_fifo {\n+get(\"xwin\") && teslawm_fifo {\n     # todo: improve teslawm to accept a window id in commands:\n-    label(\"close\"); menu(\"echo close \" get(\"ctx.xwin\") \" > \" Q(teslawm_fifo))\n-    label(\"movemouse\"); menu(\"echo movemouse \" get(\"ctx.xwin\") \" > \" Q(teslawm_fifo))\n-    label(\"resizemouse\"); menu(\"echo resizemouse \" get(\"ctx.xwin\") \" > \" Q(teslawm_fifo))\n+    label(\"close\"); menu(\"echo close \" get(\"xwin\") \" > \" Q(teslawm_fifo))\n+    label(\"movemouse\"); menu(\"echo movemouse \" get(\"xwin\") \" > \" Q(teslawm_fifo))\n+    label(\"resizemouse\"); menu(\"echo resizemouse \" get(\"xwin\") \" > \" Q(teslawm_fifo))\n }\n-get(\"ctx.xwin\") {\n-    menu(\"xkill -id \" get(\"ctx.xwin\"))\n-    menu(pager(\"xwininfo -id \" get(\"ctx.xwin\")))\n-    menu(pager(\"xprop -id \" get(\"ctx.xwin\")))\n-    label(\"wm_name...\"); menu(nest(get(\"ctx.xprop.wm_name\"), \"open\"))\n-#    label(\"teslawm rule (sel)\"); menu(\"@xsel \" get(\"ctx.xprop.wm_class_name\") \":\" get(\"ctx.xprop.wm_class\") \":\" get(\"ctx.xprop.wm_name\"))\n+get(\"xwin\") {\n+    menu(\"xkill -id \" get(\"xwin\"))\n+    menu(pager(\"xwininfo -id \" get(\"xwin\")))\n+    menu(pager(\"xprop -id \" get(\"xwin\")))\n+    label(\"wm_name...\"); menu(nest(get(\"xprop.wm_name\"), \"open\"))\n+#    label(\"teslawm rule (sel)\"); menu(\"@xsel \" get(\"xprop.wm_class_name\") \":\" get(\"xprop.wm_class\") \":\" get(\"xprop.wm_name\"))\n }\n \n {\n-    set(\"pid\", get(\"ctx.xprop.net_wm_pid\"))\n+    set(\"pid\", get(\"xprop.net_wm_pid\"))\n }\n @include \"port.pid.awk\"\n @include \"port.default.awk\"\n"}
{"commit":"d64104fb44cfc09f0fa41f0583b472446f146f93","subject":"ahrf.awk: Clean the snippet which was written yesterday","message":"ahrf.awk: Clean the snippet which was written yesterday\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -24,16 +24,16 @@\n \n # Paragraph\n \/^[A-Za-z0-9_]+\/ {\n-\t#printf(\"<p>%s<\/p>\\n\\n\", $0)\n \tprintf(\"<p>\")\n-\tfor (p=1; p<=NF; p++) {\n+\tfor (p=1; p<NF; p++) {\n \t\tif ($p ~ \/ +$\/) {\n+\t\t\tgsub(\/ +$\/,\"\",$p)\n \t\t\tprintf(\"%s<br>\\n\", $p)\n \t\t} else {\n \t\t\tprintf(\"%s\\n\", $p)\n \t\t}\n \t}\n-\tprintf(\"<\/p>\\n\\n\")\n+\tprintf(\"%s<\/p>\\n\\n\", $p)\n \tnext\n }\n \n"}
{"commit":"7b37509d5b4a956f8ad39b79c8009b26575536bc","subject":"Add processing for movies","message":"Add processing for movies\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"7306532696f7e6bef65638c84136cf93344f4693","subject":"Add (1,1) seasons, episodes to movies","message":"Add (1,1) seasons, episodes to movies\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxProgramsFrom-webscraper.awk\n+++ getBritBoxProgramsFrom-webscraper.awk\n@@ -21,6 +21,7 @@\n     showTitle = $4\n     $7  == \"\" ? Year = $5 : Year = $7\n     NumSeasons = $6\n+    NumEpisodes = \"\"\n     Duration = $8\n     Rating = $9\n     Description = $10\n@@ -45,13 +46,20 @@\n     # Indicate different types of programs\n     URL ~ \/^\\\/us\\\/movie\\\/\/ ? showtype = \"M\" : showtype = \"S\"\n \n+    # Fill in missing seasons & episodes for movies with 1,1\n+    if (showtype == \"M\") {\n+        NumSeasons = 1\n+        NumEpisodes = 1\n+    }\n+\n     # Extract sortkey from URL\n     nflds = split (URL,fld,\"_\")\n     if (URL ~ \/_[[:digit:]]*$\/) {\n         sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n         savedLine = sprintf \\\n-            (\"%s (1) %s\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s\\\"\\)\\t%s\\t\\t%s\\t%s\\t%s\\t%s\",\\\n-             showTitle, sortkey, URL, showTitle, NumSeasons, HMS, Year, Rating, Description)\n+            (\"%s (1) %s\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s\\\"\\)\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\",\\\n+             showTitle, sortkey, URL, showTitle, NumSeasons, NumEpisodes, HMS, Year,\\\n+             Rating, Description)\n \n         # Make sure line doesn't start with a single quote so it sorts correctly in Open Office\n         sub (\/^'\/,\"\",savedLine)\n"}
{"commit":"0437c1c5c9d0ee19df7eaec94794affbaf5c753f","subject":"add|sub rsp alter the indent","message":"add|sub rsp alter the indent\n","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tools\/push_pop_indent.awk\n+++ tools\/push_pop_indent.awk\n@@ -1,7 +1,7 @@\n #!\/bin\/sh\n \n exec awk '\n-\/pop\/ {\n+\/pop|leave\/ {\n \tif(--indent < 0)\n \t\tprint \"AWK: indent less than zero (\" indent \")\" #| \"cat >&2\"\n }\n@@ -17,4 +17,11 @@\n \/push\/ {\n \tindent++\n }\n+\n+\/(add|sub) rsp\/ {\n+\tn = $3 \/ 8\n+\tif($1 == \"sub\")\n+\t\tn = -n\n+\tindent -= n\n+}\n '\n"}
{"commit":"dd88ecc529ee65b0a6dd1952aa63a1f7c54f0cf8","subject":"Incorporated some changes to the documentation script.","message":"Incorporated some changes to the documentation script.\n","repos":"wernsey\/chip8,wernsey\/chip8","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- comdown.awk\n+++ comdown.awk\n@@ -62,14 +62,14 @@\n # without any warranty.\n \n BEGIN {\n-    \n+\n \t# Configuration options\n \tif(Title==\"\") Title = \"Documentation\";\n \tif(Theme==\"\") Theme = 1;\n     #TopLinks = 1;\n \t#classic_underscore = 1;\n     if(MaxWidth==\"\") MaxWidth=\"1080px\";\n-\t\n+\n     Mode = \"none\"; ToC = \"\"; ToCLevel = 1;\n     CSS = init_css(Theme);\n     for(i = 0; i < 128; i++)\n@@ -178,7 +178,7 @@\n         Out = fix_links(Out);\n         Out = fix_abbrs(Out);\n         Out = make_toc(Out);\n-        \n+\n         print trim(Out);\n         if(footnotes) {\n             footnotes = fix_links(footnotes);\n@@ -237,7 +237,7 @@\n             if(Buf) res = tag(\"p\", scrub(Buf));\n             Buf = scrub(trim(substr(st, RSTART+RLENGTH)));\n             push(\"blockquote\");\n-        } else if(match(st, \/^[[:space:]]*([*+-]|[[:digit:]]+\\.)\/)) {\n+        } else if(match(st, \/^[[:space:]]*([*+-]|[[:digit:]]+\\.)[[:space:]]\/)) {\n             if(Buf) res = tag(\"p\", scrub(Buf));\n             Buf=\"\";\n             match(st, \/^[[:space:]]*\/);\n@@ -311,7 +311,7 @@\n     prev = st;\n     return res;\n }\n-function scrub(st,    mp, ms, me, r, p, tg, a) {\t\n+function scrub(st,    mp, ms, me, r, p, tg, a) {\n \tsub(\/  $\/,\"<br>\\n\",st);\n \tgsub(\/(  |[[:space:]]+\\\\)\\n\/,\"<br>\\n\",st);\n \twhile(match(st, \/(__?|\\*\\*?|~~|`+|[&><\\\\])\/)) {\n@@ -320,8 +320,8 @@\n \t\tms = substr(st, RSTART-1,1);\n \t\tme = substr(st, RSTART+RLENGTH, 1);\n \t\tp = RSTART+RLENGTH;\n-\t\t\n-\t\tif(!classic_underscore && match(mp,\/_+\/)) {\t\t\n+\n+\t\tif(!classic_underscore && match(mp,\/_+\/)) {\n \t\t\tif(match(ms,\/[[:alnum:]]\/) && match(me,\/[[:alnum:]]\/)) {\n \t\t\t\ttg = substr(st, 1, index(st, mp));\n \t\t\t\tr = r tg;\n@@ -329,11 +329,11 @@\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t}\n-\t\tst = substr(st, p);\t\t\n+\t\tst = substr(st, p);\n \t\tr = r a;\n \t\tms = \"\";\n-\t\t\n-\t\tif(mp == \"\\\\\") {\t\t\t\n+\n+\t\tif(mp == \"\\\\\") {\n \t\t\tif(match(st, \/^!?\\[\/)) {\n \t\t\t\tr = r \"\\\\\" substr(st, RSTART, RLENGTH);\n \t\t\t\tst = substr(st, 2);\n@@ -350,12 +350,12 @@\n \t\t\t\tr = r mp;\n \t\t\t\tcontinue;\n \t\t\t}\n-\t\t\tp = index(st, mp);\t\t\t\n+\t\t\tp = index(st, mp);\n \t\t\twhile(p && match(substr(st, p-1, 1),\/[\\\\[:space:]]\/)) {\n \t\t\t\tms = ms substr(st, 1, p-1) mp;\n \t\t\t\tst = substr(st, p + length(mp));\n \t\t\t\tp = index(st, mp);\n-\t\t\t}\t\t\t\n+\t\t\t}\n \t\t\tif(!p) {\n \t\t\t\tr = r mp ms;\n \t\t\t\tcontinue;\n@@ -373,7 +373,7 @@\n \t\t\t\tms = ms substr(st, 1, p-1) mp;\n \t\t\t\tst = substr(st, p + length(mp));\n \t\t\t\tp = index(st, mp);\n-\t\t\t}\t\t\n+\t\t\t}\n \t\t\tif(!p) {\n \t\t\t\tr = r mp ms;\n \t\t\t\tcontinue;\n@@ -407,7 +407,7 @@\n \t\t} else if(mp == \">\") {\n \t\t\tr = r \"&gt;\";\n \t\t} else if(mp == \"<\") {\n-\t\t\t\n+\n \t\t\tp = index(st, \">\");\n \t\t\tif(!p) {\n \t\t\t\tr = r \"&lt;\";\n@@ -419,7 +419,7 @@\n \t\t\t\ttg = substr(tg,1,RLENGTH-1);\n \t\t\t} else\n \t\t\t\ta = \"\";\n-\t\t\t\n+\n \t\t\tif(match(tolower(tg), \"^\/?(a|abbr|div|span|blockquote|pre|img|code|p|em|strong|sup|sub|del|ins|s|u|b|i|br|hr|ul|ol|li|table|thead|tfoot|tbody|tr|th|td|caption|column|col|colgroup|figure|figcaption|dl|dd|dt|mark|cite|q|var|samp|small)$\")) {\n \t\t\t\tr = r \"<\" tg a \">\";\n \t\t\t} else if(match(tg, \"^[[:alpha:]]+:\/\/[[:graph:]]+$\")) {\n@@ -432,8 +432,8 @@\n \t\t\t\tr = r \"&lt;\";\n \t\t\t\tcontinue;\n \t\t\t}\n-\t\t\t\n-\t\t\tst = substr(st, p + 1);\t\t\t\n+\n+\t\t\tst = substr(st, p + 1);\n \t\t} else if(mp == \"&\") {\n \t\t\tif(match(st, \/^[#[:alnum:]]+;\/)) {\n \t\t\t\tr = r \"&\" substr(st, 1, RLENGTH);\n@@ -442,7 +442,7 @@\n \t\t\t\tr = r \"&amp;\";\n \t\t\t}\n \t\t}\n-\t}\t\n+\t}\n     return r st;\n }\n \n@@ -473,7 +473,7 @@\n     p = match(st, \/!\\[toc[-+]?\\]\/);\n     while(p) {\n \t\t++n;\n-\t\tdis = index(substr(st,RSTART,RLENGTH),\"+\"); \n+\t\tdis = index(substr(st,RSTART,RLENGTH),\"+\");\n \t\tt = \"<div>\\n<small><a id=\\\"toc-button\\\" onclick=\\\"toggle_toc(\" n \")\\\"><span id=\\\"btn-text\\\">\" (dis?\"[-]\":\"[+]\") \"<\/span>&nbsp;Contents<\/a><\/small>\\n\" \\\n \t\t\t\"<div id=\\\"table-of-contents-\" n \"\\\" style=\\\"display:\" (dis?\"block\":\"none\") \";\\\">\\n<ul class=\\\"toc-1\\\">\" ToC \"<\/ul>\\n<\/div>\\n<\/div>\";\n         r = r substr(st,1,RSTART-1);\n@@ -616,7 +616,7 @@\n }\n function init_css(Theme,             css,ss,hr,c1,c2,c3,c4,c5,bg1,bg2,bg3,bg4,ff,i) {\n     if(Theme == \"0\") return \"\";\n-\t\n+\n     css[\"body\"] = \"color:%color1%;font-family:%font-family%;line-height:1.5em;\" \\\n                 \"padding:1em 2em;width:80%;max-width:%maxwidth%;margin:0 auto;min-height:100%;float:none;\";\n     css[\"h1\"] = \"color:%color1%;border-bottom:1px solid %background1%;padding:0.3em 0.1em;\";\n@@ -656,7 +656,7 @@\n     css[\"a.footnote-back\"] = \"text-decoration:initial;font-size:x-small;\";\n     css[\".fade\"] = \"color:%color5%;\";\n     css[\".highlight\"] = \"color:%color2%;background-color:%color5%;\";\n-\t\n+\n     if(Theme==2){\n         c1=\"#303F9F\";c2=\"#0449CC\";c3=\"#2162FA\";c4=\"#4B80FB\";c5=\"#EDF2FF\";\n         ff=\"\\\"Trebuchet MS\\\", Helvetica, sans-serif\";\n@@ -680,7 +680,7 @@\n         c1=\"#092859\";c2=\"#1351b5\";c3=\"#d47034\";c4=\"#DC7435\";c5=\"#F6F8FF\";\n     }\n \tif(!ff) ff = \"sans-serif\"\n-\t\n+\n     for(i = 0; i<=255; i++)_hex[sprintf(\"%02X\",i)]=i;\n     bg1 = bright(c1,0.5);\n     bg2 = bright(c2,0.5);\n"}
{"commit":"c130cd33f60ba3ebbbe23f0805602df2d93146ab","subject":"FIxup jamaicainn & newworlds bonus seasonNumber","message":"FIxup jamaicainn & newworlds bonus seasonNumber\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -226,12 +226,18 @@\n         showType = \"S\"\n     # Default episodeType to \"E\"\n     episodeType = \"E\"\n-    # Default bonus & parttwo episodeType to \"X\"\n-    if (episodeURL ~ \/bonus\\\/|[0-9]{1,2}parttwo\\\/\/)\n+    # Default bonus, parttwo, and christmasspecials episodeType to \"X\"\n+    if (episodeURL ~ \/bonus\\\/|[0-9]{1,2}parttwo\\\/|christmasspecial\\\/\/)\n         episodeType = \"X\"\n-    # Default christmasspecial & seriesfinale episodeType to \"X\" & don't increment seasonNumber\n-    if (episodeURL ~ \/christmasspecial\\\/|\\\/seriesfinale\\\/\/) {\n-        episodeType = \"X\"\n+    # jamaicainn & newworlds bonus seasonNumber should be 1\n+    if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/\/) {\n+        split (episodeURL, part, \"\/\")\n+        printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n+               part[4], part[5], seasonNumber) >> ERROR_FILE\n+        seasonNumber = 1\n+    }\n+    # Plain christmasspecial, seriesfinale don't increment seasonNumber\n+    if (episodeURL ~ \/\\\/christmasspecial\\\/|\\\/seriesfinale\\\/\/) {\n         split (episodeURL, part, \"\/\")\n         printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n                part[4], part[5], seasonNumber) >> ERROR_FILE\n"}
{"commit":"22252f8127612be78a7ec1f2ec8b5d981a5cefd1","subject":"Semicolons in xcodebuild.awk","message":"Semicolons in xcodebuild.awk\n","repos":"hsavit1\/objc-build-scripts,jspahrsummers\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xcodebuild.awk\n+++ xcodebuild.awk\n@@ -1,19 +1,19 @@\n {\n-    print\n-    fflush(stdout)\n+    print;\n+    fflush(stdout);\n }\n \n \/[0-9]+: (error|warning):\/ {\n-    errors = errors $0 \"\\n\"\n+    errors = errors $0 \"\\n\";\n }\n \n \/(TEST|BUILD) FAILED\/ {\n     if (length(errors) > 0) {\n-        print \"\\n*** All errors:\\n\" errors\n+        print \"\\n*** All errors:\\n\" errors;\n     }\n \n-    fflush(stdout)\n+    fflush(stdout);\n \n     # SYS_SOFTWARE\n-    exit 70\n+    exit 70;\n }\n"}
{"commit":"fdad5060e01b1328136682aa28e5f2c1e55d9805","subject":"Docs were failing with this escape.","message":"Docs were failing with this escape.\n\nNot sure why this started failing all of a sudden. Code has been the same for two years. Maybe awk upgrade somewhere?? CTR\n","repos":"apache\/tinkerpop,apache\/incubator-tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,apache\/tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/preprocessor\/awk\/language-variants.awk\n+++ docs\/preprocessor\/awk\/language-variants.awk\n@@ -39,7 +39,7 @@\n       case \"python\":\n         gsub(\/^gremlin>\/, \">>>\")\n         gsub(\/^==>\/, \"\")\n-        $0 = gensub(\/processTraversal\\(\"\"\"(.*)\"\"\"\\, jython, groovy)\/, \"\\\\1\", 1)\n+        $0 = gensub(\/processTraversal\\(\"\"\"(.*)\"\"\", jython, groovy)\/, \"\\\\1\", 1)\n         $0 = gensub(\"g\\\\.V\\\\(([^\\\\)]+)\", \"g.V(Bindings\\\\.of('id',\\\\1)\", \"g\")\n         print gensub(\"g\\\\.V\\\\(Bindings.of\\\\('id',(Bindings.of\\\\([^\\\\)]+\\\\))\\\\)\\\\)\", \"g.V(\\\\1)\", \"g\")\n         break\n"}
{"commit":"03926ebd9be24a41ec21f6ad23d84630f74bb9f4","subject":"ahrf.awk: Replace %s by %d for h{1,2,3,4,5,6}","message":"ahrf.awk: Replace %s by %d for h{1,2,3,4,5,6}\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -17,7 +17,7 @@\n \tgsub(\/^[\\t ]*:+[\\t ]*|[\\t ]*:+[\\t ]*$\/,\"\")\n \t# length($0) would also work\n \tif (cnt <= 6 && $0 != \"\") {\n-\t\tprintf(\"<h%s>%s<\/h%s>\\n\", cnt, $0, cnt)\n+\t\tprintf(\"<h%d>%s<\/h%d>\\n\", cnt, $0, cnt)\n \t}\n \tnext\n }\n"}
{"commit":"eca8886a3fd5ca4fbe2b191136baf66f80d1bad9","subject":"Translators\/BingTranslator: new API, fix #123","message":"Translators\/BingTranslator: new API, fix #123\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -2,81 +2,93 @@\n # BingTranslator.awk                                               #\n ####################################################################\n #\n-# Last Updated: 11 Mar 2016\n-# http:\/\/ssl.microsofttranslator.com\/dynamic\/226010\/js\/LandingPage.js\n+# Last Updated: 18 May 2016\n BEGIN { provides(\"bing\") }\n \n-function genRTTAppId(    content, group, header, isBody) {\n+function bingInit() {\n     HttpProtocol = \"http:\/\/\"\n-    HttpHost = \"ssl.microsofttranslator.com\"\n+    HttpHost = \"www.bing.com\"\n     HttpPort = 80\n-    LandingPage = \"\/dynamic\/226010\/js\/LandingPage.js\"\n-\n-    if (Option[\"proxy\"]) {\n-        match(Option[\"proxy\"], \/^(http:\\\/*)?([^\\\/]*):([^\\\/:]*)\/, HttpProxySpec)\n-        HttpService = \"\/inet\/tcp\/0\/\" HttpProxySpec[2] \"\/\" HttpProxySpec[3]\n-        HttpPathPrefix = HttpProtocol HttpHost\n-    } else {\n-        HttpService = \"\/inet\/tcp\/0\/\" HttpHost \"\/\" HttpPort\n-        HttpPathPrefix = \"\"\n-    }\n-\n-    header = \"GET \" LandingPage \" HTTP\/1.1\\n\"                           \\\n+}\n+\n+# Retrieve the Cookie needed.\n+function bingSetCookie(    cookie, group, header, url) {\n+    url = HttpPathPrefix \"\/translator\"\n+\n+    header = \"GET \" url \" HTTP\/1.1\\n\"                                   \\\n         \"Host: \" HttpHost \"\\n\"                                          \\\n         \"Connection: close\\n\"\n     if (Option[\"user-agent\"])\n         header = header \"User-Agent: \" Option[\"user-agent\"] \"\\n\"\n \n+    cookie = NULLSTR\n+    print header |& HttpService\n+    while ((HttpService |& getline) > 0 && length($0) > 1) {\n+        match($0, \/Set-Cookie: ([^;]*);\/, group)\n+        if (group[1]) {\n+            cookie = cookie (cookie ?  \"; \" : NULLSTR) group[1]\n+        }\n+        l(sprintf(\"%4s bytes > %s\", length($0), length($0) < 1024 ? $0 : \"...\"))\n+    }\n+    close(HttpService)\n+    Cookie = cookie\n+}\n+\n+# TTS -- FIXME!\n+function bingTTSUrl(text, tl,    narrator) {\n+    narrator = Option[\"narrator\"] ~ \/^[AFaf]\/ ? \"female\" : \"male\"\n+    # FIXME:\n+    # 1. use digraphia code (en-US) as Alpha-2 code alone doen't work\n+    # 2. how to pass cookies to an external player?\n+    return HttpProtocol HttpHost \"\/translator\/api\/language\/Speak?\"      \\\n+        \"locale=\" tl \"&text=\" preprocess(text)                          \\\n+        \"&gender=\" narrator \"&media=audio\/mp3\"\n+}\n+\n+function bingWebTranslateUrl(uri, sl, tl, hl) {\n+    return \"http:\/\/www.microsofttranslator.com\/bv.aspx?\"        \\\n+        \"from=\" sl \"&to=\" tl \"&a=\" uri\n+}\n+\n+# Send an HTTP POST request and get response from Bing Translator.\n+function bingPost(text, sl, tl, hl,\n+                  ####\n+                  content, contentLength, group,\n+                  header, isBody, reqBody, url) {\n+    reqBody = \"[{\" parameterize(\"text\") \":\" parameterize(text) \"}]\"\n+    contentLength = dump(reqBody, group)\n+\n+    url = HttpPathPrefix \"\/translator\/api\/Translate\/TranslateArray?\"    \\\n+        \"from=\" sl \"&to=\" tl\n+\n+    header = \"POST \" url \" HTTP\/1.1\\n\"                  \\\n+        \"Host: \" HttpHost \"\\n\"                          \\\n+        \"Connection: close\\n\"                           \\\n+        \"Content-Length: \" contentLength \"\\n\"           \\\n+        \"Content-Type: application\/json\\n\"     # must!\n+    if (Option[\"user-agent\"])\n+        header = header \"User-Agent: \" Option[\"user-agent\"] \"\\n\"\n+    if (Cookie)\n+        header = header \"Cookie: \" Cookie \"\\n\" # must!\n+\n     content = NULLSTR; isBody = 0\n-    print header |& HttpService\n+    print (header \"\\n\" reqBody) |& HttpService\n     while ((HttpService |& getline) > 0) {\n         if (isBody)\n             content = content ? content \"\\n\" $0 : $0\n         else if (length($0) <= 1)\n             isBody = 1\n-        l(sprintf(\"%4s bytes > %s\", length($0), length($0) < 1024 ? $0 : \"...\"))\n+        l(sprintf(\"%4s bytes > %s\", length($0), $0))\n     }\n     close(HttpService)\n \n-    match(content, \/rttAppId:\"([^\"]+)\"\/, group)\n-    if (group[1]) {\n-        RTTAppId = group[1]\n-    } else {\n-        e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n-        exit 1\n-    }\n-}\n-\n-function bingInit() {\n-    genRTTAppId() # generate a one-time key\n-\n-    HttpProtocol = \"http:\/\/\"\n-    HttpHost = \"api.microsofttranslator.com\"\n-    HttpPort = 80\n-}\n-\n+    return assert(content, \"[ERROR] Null response.\")\n+}\n+\n+# Dictionary API (via HTTP GET).\n function bingRequestUrl(text, sl, tl, hl) {\n-    # Quick hack: Bing doesn't have an \"auto\" language code\n-    if (sl == \"auto\") sl = NULLSTR\n-\n-    return HttpPathPrefix \"\/v2\/ajax.svc\/TranslateArray2?\"               \\\n-        \"appId=\"  preprocess(parameterize(RTTAppId, \"\\\"\"))              \\\n-        \"&from=\"  preprocess(parameterize(sl, \"\\\"\"))                    \\\n-        \"&to=\"    preprocess(parameterize(tl, \"\\\"\"))                    \\\n-        \"&texts=\" preprocess(\"[\" parameterize(text, \"\\\"\") \"]\")\n-}\n-\n-function bingTTSUrl(text, tl,    narrator) {\n-    narrator = Option[\"narrator\"] ~ \/^[AFaf]\/ ? \"female\" : \"male\"\n-\n-    return HttpProtocol HttpHost \"\/v2\/http.svc\/speak?\" \"appId=\" RTTAppId \\\n-        \"&language=\" tl \"&text=\" preprocess(text)                       \\\n-        \"&format=audio\/mp3\" \"&options=MinSize|\" narrator\n-}\n-\n-function bingWebTranslateUrl(uri, sl, tl, hl) {\n-    return \"http:\/\/www.microsofttranslator.com\/bv.aspx?\"        \\\n-        \"from=\" sl \"&to=\" tl \"&a=\" uri\n+    return HttpPathPrefix \"\/translator\/api\/Dictionary\/Lookup?\"  \\\n+        \"from=\" sl \"&to=\" tl \"&text=\" preprocess(text)\n }\n \n # Get the translation of a string.\n@@ -101,19 +113,19 @@\n     _tl = getCode(tl); if (!_tl) _tl = tl\n     _hl = getCode(hl); if (!_hl) _hl = hl\n \n-    content = getResponse(text, _sl, _tl, _hl)\n-    # Strip the content and get a valid JSON string\n-    match(content, \/(\\[.*\\])$\/, group)\n-    if (!group[0]) {\n-        # Display the error message\n-        match(content, \/\"(.*)\"$\/, group)\n-        gsub(\/\\\\u000d\/, \"\\r\", group[1])\n-        gsub(\/\\\\u000a\/, \"\\n\", group[1])\n-        e(\"[ERROR] \" group[1])\n-        ExitCode = 1\n-        return\n-    }\n-    content = group[1]\n+    # Hot-patches for Bing's own translator language codes\n+    # See: <https:\/\/msdn.microsoft.com\/en-us\/library\/hh456380.aspx>\n+    if (_sl == \"auto\")  _sl = \"-\"\n+    if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code\n+    if (_sl == \"zh-CN\") _sl = \"zh-CHS\"\n+    if (_sl == \"zh-TW\") _sl = \"zh-CHT\"\n+    if (_tl == \"bs\")    _tl = \"bs-Latn\"\n+    if (_tl == \"zh-CN\") _tl = \"zh-CHS\"\n+    if (_tl == \"zh-TW\") _tl = \"zh-CHT\"\n+\n+    bingSetCookie() # must!\n+\n+    content = bingPost(text, _sl, _tl, _hl)\n     tokenize(tokens, content)\n     parseJson(ast, tokens)\n \n@@ -124,11 +136,16 @@\n         e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n         ExitCode = 1\n         return\n-    }\n-\n-    translation = unparameterize(ast[0 SUBSEP 0 SUBSEP \"TranslatedText\"])\n-\n-    returnIl[0] = il = unparameterize(ast[0 SUBSEP 0 SUBSEP \"From\"])\n+    } else if (ast[0 SUBSEP \"Message\"]) {\n+        e(\"[ERROR] \" unparameterize(ast[0 SUBSEP \"Message\"]))\n+        e(\"[ERROR] \" unparameterize(ast[0 SUBSEP \"Details\" SUBSEP 0]))\n+        ExitCode = 1\n+        return\n+    }\n+\n+    translation = unparameterize(ast[0 SUBSEP \"items\" SUBSEP 0 SUBSEP \"text\"])\n+\n+    returnIl[0] = il = unparameterize(ast[0 SUBSEP \"from\"])\n     if (Option[\"verbose\"] < 0)\n         return getList(il)\n \n@@ -139,9 +156,11 @@\n \n     } else {\n         # Verbose mode\n+\n         wShowOriginal = Option[\"show-original\"]\n         wShowTranslation = Option[\"show-translation\"]\n         wShowLanguages = Option[\"show-languages\"]\n+        wShowDictionary = Option[\"show-dictionary\"]\n \n         if (wShowOriginal) {\n             # Display: original text\n@@ -176,6 +195,22 @@\n                 r = r prettify(\"languages-tl\", getName(tl))\n             r = r prettify(\"languages\", group[3])\n         }\n+\n+        if (wShowDictionary && false) { # FIXME!\n+            # Dictionary API\n+            # Note: source language must be identified\n+            dicContent = getResponse(text, il, _tl, _hl)\n+            tokenize(dicTokens, dicContent)\n+            parseJson(dicAst, dicTokens) # FIXME: inefficient parser\n+\n+            if (anything(dicAst)) {\n+                # Display: dictionary entries\n+                if (r) r = r RS\n+                r = r m(\"-- display dictionary entries\")\n+\n+                # TODO\n+            }\n+        }\n     }\n \n     if (toSpeech) {\n"}
{"commit":"eecec6fdb27bf3881fef181be5d97aa18e7d348c","subject":"Translators\/BingTranslator: change to new API (fix #218)","message":"Translators\/BingTranslator: change to new API (fix #218)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -2,7 +2,7 @@\n # BingTranslator.awk                                               #\n ####################################################################\n #\n-# Last Updated: 18 May 2016\n+# Last Updated: 17 Mar 2018\n BEGIN { provides(\"bing\") }\n \n function bingInit() {\n@@ -11,27 +11,39 @@\n     HttpPort = 80\n }\n \n-# Retrieve the Cookie needed.\n-function bingSetCookie(    cookie, group, header, url) {\n+# Retrieve the Cookie and set IG.\n+function bingSetCookie(    content, cookie, group, header, isBody, url) {\n     url = HttpPathPrefix \"\/translator\"\n \n-    header = \"GET \" url \" HTTP\/1.1\\r\\n\"                                   \\\n-        \"Host: \" HttpHost \"\\r\\n\"                                          \\\n+    header = \"GET \" url \" HTTP\/1.1\\r\\n\"                                 \\\n+        \"Host: \" HttpHost \"\\r\\n\"                                        \\\n         \"Connection: close\\r\\n\"\n     if (Option[\"user-agent\"])\n         header = header \"User-Agent: \" Option[\"user-agent\"] \"\\r\\n\"\n \n     cookie = NULLSTR\n     print header |& HttpService\n-    while ((HttpService |& getline) > 0 && length($0) > 1) {\n+    while ((HttpService |& getline) > 0) {\n         match($0, \/Set-Cookie: ([^;]*);\/, group)\n         if (group[1]) {\n             cookie = cookie (cookie ?  \"; \" : NULLSTR) group[1]\n         }\n+        if (isBody)\n+            content = content ? content \"\\r\\n\" $0 : $0\n+        else if (length($0) <= 1)\n+            isBody = 1\n         l(sprintf(\"%4s bytes > %s\", length($0), length($0) < 1024 ? $0 : \"...\"))\n     }\n     close(HttpService)\n+\n     Cookie = cookie\n+    match(content, \/IG:\"([^\"]+)\"\/, group)\n+    if (group[1]) {\n+        IG = group[1]\n+    } else {\n+        e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n+        exit 1\n+    }\n }\n \n function bingTTSUrl(text, tl,\n@@ -104,48 +116,36 @@\n         \"from=\" sl \"&to=\" tl \"&a=\" uri\n }\n \n-# Send an HTTP POST request and get response from Bing Translator.\n-function bingPost(text, sl, tl, hl,\n-                  ####\n-                  content, contentLength, group,\n-                  header, isBody, reqBody, url) {\n-    reqBody = \"[{\" parameterize(\"text\") \":\" parameterize(text, \"\\\"\") \"}]\"\n-    if (DumpContentengths[reqBody])\n-        contentLength = DumpContentengths[reqBody]\n-    else\n-        contentLength = DumpContentengths[reqBody] = dump(reqBody, group)\n-\n-    url = HttpPathPrefix \"\/translator\/api\/Translate\/TranslateArray?\"    \\\n-        \"from=\" sl \"&to=\" tl\n-\n-    header = \"POST \" url \" HTTP\/1.1\\r\\n\"                  \\\n-        \"Host: \" HttpHost \"\\r\\n\"                          \\\n-        \"Connection: close\\r\\n\"                           \\\n-        \"Content-Length: \" contentLength \"\\r\\n\"           \\\n-        \"Content-Type: application\/json\\r\\n\"     # must!\n-    if (Option[\"user-agent\"])\n-        header = header \"User-Agent: \" Option[\"user-agent\"] \"\\r\\n\"\n-    if (Cookie)\n-        header = header \"Cookie: \" Cookie \"\\r\\n\" # must!\n-\n-    content = NULLSTR; isBody = 0\n-    print (header \"\\r\\n\" reqBody) |& HttpService\n-    while ((HttpService |& getline) > 0) {\n-        if (isBody)\n-            content = content ? content \"\\r\\n\" $0 : $0\n-        else if (length($0) <= 1)\n-            isBody = 1\n-        l(sprintf(\"%4s bytes > %s\", length($0), $0))\n-    }\n-    close(HttpService)\n-\n-    return assert(content, \"[ERROR] Null response.\")\n-}\n-\n # Dictionary API (via HTTP GET).\n function bingRequestUrl(text, sl, tl, hl) {\n     return HttpPathPrefix \"\/translator\/api\/Dictionary\/Lookup?\"  \\\n         \"from=\" sl \"&to=\" tl \"&text=\" preprocess(text)\n+}\n+\n+function bingPostRequestUrl(text, sl, tl, hl, type) {\n+    if (type == \"translate\")\n+        return HttpPathPrefix \"\/ttranslate?&IG=\" IG \"&IID=translator.5032.2\"\n+    else if (type == \"translationlookup\")\n+        return HttpPathPrefix \"\/ttranslationlookup?&IG=\" IG \"&IID=translator.5032.2\"\n+    else if (type == \"transliterate\")\n+        return HttpPathPrefix \"\/ttransliterate?&IG=\" IG \"&IID=translator.5032.1\"\n+    else # type == \"detect\"\n+        return HttpPathPrefix \"\/tdetect?&IG=\" IG \"&IID=translator.5032.2\"\n+}\n+\n+function bingPostRequestContentType(text, sl, tl, hl, type) {\n+    return \"application\/x-www-form-urlencoded\"\n+}\n+\n+function bingPostRequestBody(text, sl, tl, hl, type) {\n+    if (type == \"translate\")\n+        return \"&text=\" quote(text) \"&from=\" sl \"&to=\" tl\n+    else if (type == \"translationlookup\")\n+        return \"&text=\" quote(text) \"&from=\" sl \"&to=\" tl\n+    else if (type == \"transliterate\")\n+        return \"&text=\" quote(text) \"&language=\" sl \"&toScript=\" \"latn\"\n+    else # type == \"detect\"\n+        return \"&text=\" quote(text)\n }\n \n # Get the translation of a string.\n@@ -170,9 +170,24 @@\n     _tl = getCode(tl); if (!_tl) _tl = tl\n     _hl = getCode(hl); if (!_hl) _hl = hl\n \n+    bingSetCookie() # set IG\n+\n+    # Language identification\n+    il = postResponse(text, _sl, _tl, _hl, \"detect\")\n+    if (!il) {\n+        e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n+        ExitCode = 1\n+        return\n+    }\n+    returnIl[0] = il\n+    if (Option[\"verbose\"] < -1)\n+        return il\n+    if (Option[\"verbose\"] < 0)\n+        return getList(il)\n+\n     # Hot-patches for Bing's own translator language codes\n     # See: <https:\/\/msdn.microsoft.com\/en-us\/library\/hh456380.aspx>\n-    if (_sl == \"auto\")  _sl = \"-\"\n+    if (_sl == \"auto\")  _sl = il\n     if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code\n     if (_sl == \"zh-CN\") _sl = \"zh-CHS\"\n     if (_sl == \"zh-TW\") _sl = \"zh-CHT\"\n@@ -180,9 +195,8 @@\n     if (_tl == \"zh-CN\") _tl = \"zh-CHS\"\n     if (_tl == \"zh-TW\") _tl = \"zh-CHT\"\n \n-    bingSetCookie() # must!\n-\n-    content = bingPost(text, _sl, _tl, _hl)\n+    # Translation\n+    content = postResponse(text, _sl, _tl, _hl, \"translate\")\n     if (Option[\"dump\"])\n         return content\n     tokenize(tokens, content)\n@@ -195,20 +209,13 @@\n         e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n         ExitCode = 1\n         return\n-    } else if (ast[0 SUBSEP \"Message\"]) {\n-        e(\"[ERROR] \" unparameterize(ast[0 SUBSEP \"Message\"]))\n-        e(\"[ERROR] \" unparameterize(ast[0 SUBSEP \"Details\" SUBSEP 0]))\n+    } else if (ast[0 SUBSEP \"statusCode\"] != \"200\") {\n+        e(\"[ERROR] statusCode: \" ast[0 SUBSEP \"statusCode\"])\n         ExitCode = 1\n         return\n     }\n \n-    translation = unparameterize(ast[0 SUBSEP \"items\" SUBSEP 0 SUBSEP \"text\"])\n-\n-    returnIl[0] = il = unparameterize(ast[0 SUBSEP \"from\"])\n-    if (Option[\"verbose\"] < -1)\n-        return il\n-    else if (Option[\"verbose\"] < 0)\n-        return getList(il)\n+    translation = unparameterize(ast[0 SUBSEP \"translationResponse\"])\n \n     # Generate output\n     if (!isVerbose) {\n"}
{"commit":"4d62248c3ae52de66f4584f0dd06eb8153b8ce36","subject":"Move to 2018","message":"Move to 2018\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln_auids.awk\n+++ scripts\/tdb\/statuses_gln_auids.awk\n@@ -14,7 +14,7 @@\n \n {\n   # add a loop to add line only if either [status is _not_ manifest] OR [journal_year (or journal end year) is gt or eq to 2010 && journal year (or journal end year) is lt or eq to the current year we are testing]\n-  current_year = 2017\n+  current_year = 2018\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"fd7d81dd852a5364013dbbc5148ab05bf2296cfd","subject":"SpecialCase \"A Midsummer Night's Dream\"","message":"SpecialCase \"A Midsummer Night's Dream\"\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -173,6 +173,15 @@\n         # print \"==> EntityId = \" EntityId\n     }\n \n+    if (title == \"A Midsummer Night's Dream\") {\n+        if (EntityId == \"_26179\")\n+            title = \"A Midsummer Night's Dream (1981)\"\n+        else if (EntityId == \"_15999\")\n+            title = \"A Midsummer Night's Dream (2016)\"\n+        # print \"==> title = \" title\n+        # print \"==> EntityId = \" EntityId\n+    }\n+\n     if (contentId == \"p07gnw9f\") {\n         EntityId = \"_23842\"\n         # print \"==> EntityId = \" EntityId\n"}
{"commit":"4ca9d5bac73777f6ae0f348831519adc98d825d7","subject":"Added a shebang to `wrap.awk`","message":"Added a shebang to `wrap.awk`\n","repos":"wernsey\/d.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- wrap.awk\n+++ wrap.awk\n@@ -1,3 +1,5 @@\n+#! \/usr\/bin\/awk -f\n+#\n # Like the Un*x `fmt` command, but for markdown.\n #\n # https:\/\/github.com\/wernsey\/d.awk\n"}
{"commit":"58518e1d655e258454b55dea908bdf034561733f","subject":"A better lexicon extraction script","message":"A better lexicon extraction script\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lexicon.awk\n+++ lexicon.awk\n@@ -4,7 +4,6 @@\n }\n {\n     for (i = 1; i <= split($3, words, \", \"); i++) {\n-        gsub(\"_\", \" \", words[i]);\n-        print words[i] | \"sort -us\";\n+        print words[i] | \"sort --parallel=$(nproc) -S1G -us\";\n     }\n }\n"}
{"commit":"d67bae61d2d09bd96a593087ed0135313298da07","subject":"Fix awk script to work with cairo generated postscript","message":"Fix awk script to work with cairo generated postscript\n","repos":"pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- rtest\/strps.awk\n+++ rtest\/strps.awk\n@@ -1,3 +1,3 @@\n BEGIN{doit = 0}\n  { if (doit) print $0 }\n- $0 == \"%%EndSetup\" { doit = 1 }\n+ $0 = \/%%End.*Setup\/ { doit = 1 }\n"}
{"commit":"3cc774ebb7f8269037e4551631351a2544292c33","subject":"include straight http too","message":"include straight http too\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -138,6 +138,7 @@\n \tprefix[\"http:\/\/www.genome.jp\/kegg\/pathway\/map\/map\"]=\"KEGG-img\"\n \t# in EOM\n \tprefix[\"https:\/\/elementsofmorphology.nih.gov\/images\/terms\/\"]=\"EOM_IMG\"\n+\tprefix[\"http:\/\/elementsofmorphology.nih.gov\/index.cgi?tid=\"]=\"EOM\"  # w\/o httpS\n \n \t# playing with the idea of a LOCAL identifier\n     # not the same as a bnode in that tools won't rewrite identifier\n"}
{"commit":"400e79bad74d31229852cb85a3434a7a291cfdaa","subject":"Languages: add Sanskrit","message":"Languages: add Sanskrit\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1306,6 +1306,19 @@\n     Locale[\"sm\"][\"iso\"]                = \"smo\"\n     Locale[\"sm\"][\"glotto\"]             = \"samo1305\"\n     Locale[\"sm\"][\"script\"]             = \"Latn\"\n+\n+    # Sanskrit\n+    Locale[\"sa\"][\"name\"]               = \"Sanskrit\"\n+    Locale[\"sa\"][\"endonym\"]            = \"\u0938\u0902\u0938\u094d\u0915\u0943\u0924\u092e\u094d\"\n+    #Locale[\"sa\"][\"translations-of\"]\n+    #Locale[\"sa\"][\"definitions-of\"]\n+    #Locale[\"sa\"][\"synonyms\"]\n+    #Locale[\"sa\"][\"examples\"]\n+    #Locale[\"sa\"][\"see-also\"]\n+    Locale[\"sa\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sa\"][\"iso\"]                = \"san\"\n+    Locale[\"sa\"][\"glotto\"]             = \"sans1269\"\n+    Locale[\"sa\"][\"script\"]             = \"Deva\"\n \n     #78 Scots Gaelic\n     Locale[\"gd\"][\"name\"]               = \"Scots Gaelic\"\n"}
{"commit":"1590da3922f02e2ceaa09143f685f33ebada1f4e","subject":"Translate: don't assert in postResponse()","message":"Translate: don't assert in postResponse()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -122,7 +122,7 @@\n     }\n     close(HttpService)\n \n-    if (status == \"301\" && location)\n+    if ((status == \"301\" || status == \"302\") && location)\n         content = curl(location)\n \n     return assert(content, \"[ERROR] Null response.\")\n@@ -132,7 +132,7 @@\n function postResponse(text, sl, tl, hl, type,\n                       ####\n                       content, contentLength, contentType, group,\n-                      header, isBody, reqBody, url) {\n+                      header, isBody, reqBody, url, status, location) {\n     url = _PostRequestUrl(text, sl, tl, hl, type)\n     contentType = _PostRequestContentType(text, sl, tl, hl, type)\n     reqBody = _PostRequestBody(text, sl, tl, hl, type)\n@@ -161,11 +161,20 @@\n             content = content ? content \"\\r\\n\" $0 : $0\n         else if (length($0) <= 1)\n             isBody = 1\n+        else { # interesting fields in header\n+            match($0, \/^HTTP[^ ]* ([^ ]*)\/, group)\n+            if (RSTART) status = group[1]\n+            match($0, \/^Location: (.*)\/, group)\n+            if (RSTART) location = squeeze(group[1]) # squeeze the URL!\n+        }\n         l(sprintf(\"%4s bytes > %s\", length($0), $0))\n     }\n     close(HttpService)\n \n-    return assert(content, \"[ERROR] Null response.\")\n+    if ((status == \"301\" || status == \"302\") && location)\n+        content = curlPost(location, reqBody)\n+\n+    return content\n }\n \n # Print a string (to output file or terminal pager).\n"}
{"commit":"8919c98ef63cd91784a04dbe2e90095b2b8d67d9","subject":"Translators\/GoogleTranslate: genderedTrans must be local so that it gets reinitialized on every call","message":"Translators\/GoogleTranslate: genderedTrans must be local so that it gets reinitialized on every call\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -90,7 +90,7 @@\n                          wShowPromptMessage, wShowLanguages,\n                          wShowOriginalDictionary, wShowDictionary,\n                          wShowAlternatives,\n-                         hasWordClasses, hasAltTranslations,\n+                         genderedTrans, hasWordClasses, hasAltTranslations,\n                          i, j, k, group, temp, saveSortedIn) {\n     isPhonetic = match(tl, \/^@\/)\n     tl = substr(tl, 1 + isPhonetic)\n"}
{"commit":"5a78344c163447de130987958f24f0e7062345e7","subject":"Preserve the spaces in comments Fix: if the first word in a comment line, was directly connected to the \"#\" comment character the first word was skipped","message":"Preserve the spaces in comments\nFix: if the first word in a comment line, was directly connected to the \"#\"\ncomment character the first word was skipped\n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@153 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/callflow.awk\n+++ scripts\/callflow.awk\n@@ -45,7 +45,7 @@\n   printf \" .pkt-text { color: red; font-family: Trebuchet MS,Helvetica, sans-serif;\\n\";\n   printf \"            font-size: 8pt; stroke: none; fill: black;}\\n\";\n   printf \" .comment-text { color: black; font-family: Trebuchet MS,Helvetica, sans-serif;\\n\";\n-  printf \"            font-size: 9pt; font-style: italic; stroke: none; fill: green;}\\n\";\n+  printf \"            font-size: 9pt; stroke: none; fill: green;}\\n\";\n   printf \" .host-text { color: black; font-family: Trebuchet MS,Helvetica,sans-serif;\\n\";\n   printf \"             font-size: 10pt; stroke:none; fill:blue;}\\n\";\n   printf \" .title-text { color: black; font-family: Trebuchet MS,Helvetica,sans-serif;\\n\";\n@@ -115,34 +115,24 @@\n   y = NR;\n   y = y * yLineSpace + ystart;\n \n-  if($0 ~ \"^#\") {\n-    output = \"\";\n-    split($0, A, \" \")\n+  if ($0 ~ \"^#\") {\n \n-    for (i=2; i <= length(A); i++) {\n-\n-      if (A[i] == \"!\")\n-        break;\n-      output = output \" \" A[i];\n-    }\n-\n-    link = \"\";\n-    if (A[i] == \"!\") {\n-\n-      i++;\n-      for(;i <= length(A); i++) {\n-        link = link \" \" A[i];\n-      }\n-    }\n-\n-    if (link != \"\") {\n-\n-      printf(\"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"link\\\">%s<\/text>\\n\", 50, y, output);\n-      printf(\"    <area href=\\\"%s\\\" coords=\\\"%d,%d,%d,%d\\\"\/>\\n\", link, 50, y-yLineSpace+2, w, y+1) >> \"imagemap\";\n+    # The \"!\" is link identifier\n+    LINK = index($0, \"!\")\n+    if (LINK == 0) {\n+      # There is no link, everything behind the first \"#\" is the comment\n+      sub(\"#\", \"\", $0)\n+      printf(\"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"comment-text\\\" xml:space=\\\"preserve\\\">%s<\/text>\\n\", leftMargin + 5, y, $0);\n \n     } else {\n+      # Make the comment a hyperlink\n+      # - Everything before the \"!\" is the link text\n+      # - Everything behind the \"!\" is the hyperlink\n+      output = substr($0, 2, LINK - 2)\n+      link = substr($0, LINK + 1)\n \n-      printf(\"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"comment-text\\\">%s<\/text>\\n\", 50, y, output);\n+      printf(\"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"link\\\" xml:space=\\\"preserve\\\">%s<\/text>\\n\", leftMargin + 5, y, output);\n+      printf(\"    <area href=\\\"%s\\\" coords=\\\"%d,%d,%d,%d\\\"\/>\\n\", link, leftMargin + 5, y-yLineSpace+2, w, y+1) >> \"imagemap\";\n     }\n \n   } else {\n@@ -168,11 +158,11 @@\n     l2 = sprintf(\"%s:%s\", $7,$8);\n     for (i=0; i<numHosts; i++) {\n \n-      if(l1 ~ hosts[i]) {\n+      if (l1 ~ hosts[i]) {\n         x1 = strtonum(lookup[hosts[i]]);\n       }\n \n-      if(l2 ~ hosts[i]) {\n+      if (l2 ~ hosts[i]) {\n         x2 = strtonum(lookup[hosts[i]]);\n       }\n     }\n"}
{"commit":"c7f054429b8e36f51c859e84dedc1140a0ff16cf","subject":"Slightly increase amount of bandwidth of resampling filter for feeder_rate_quality=3. This have the benefit of reducing aliasing artifacts due to alias masking.","message":"Slightly increase amount of bandwidth of resampling filter for\nfeeder_rate_quality=3. This have the benefit of reducing aliasing\nartifacts due to alias masking.\n\nSpectrogram analysis:\n\n o Old preset (100:36:0.90)\n\thttp:\/\/people.freebsd.org\/~ariff\/z_comparison\/z_q3_old.png\n\n o New preset (100:36:0.92):\n\thttp:\/\/people.freebsd.org\/~ariff\/z_comparison\/z_q3_new.png\n\nApproved by:\tre (kib)\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/sound\/feeder_rate_mkfilter.awk\n+++ sys\/tools\/sound\/feeder_rate_mkfilter.awk\n@@ -592,7 +592,7 @@\n \tif (ARGC < 2) {\n \t\tARGC = 1;\n \t\tARGV[ARGC++] = \"100:8:0.85\";\n-\t\tARGV[ARGC++] = \"100:36:0.90\";\n+\t\tARGV[ARGC++] = \"100:36:0.92\";\n \t\tARGV[ARGC++] = \"100:164:0.97\";\n \t\t#ARGV[ARGC++] = \"100:8\";\n \t\t#ARGV[ARGC++] = \"100:16\";\n"}
{"commit":"e435cdabf1ac0eb46aab31b67253633eff33ae38","subject":"layers.awk: handle comments properly in layers.txt","message":"layers.awk: handle comments properly in layers.txt\n\nSigned-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>\nSigned-off-by: Koen Kooi <42e3d96910f922bdd7dd1805fe3f8aff634f391d@dominion.thruhere.net>\n","repos":"Angstrom-distribution\/setup-scripts,wwright2\/angstrom-setup.methode,Ambertec\/setup-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/layers.awk\n+++ scripts\/layers.awk\n@@ -1,9 +1,6 @@\n-\n BEGIN {\n \tFS =\",\";\n \tprint \"Configured layers:\\n\";\n  }\n \n-$1 != \"# Name\" { print \"layer repository name: \" $1 \"\\nlayer uri: \" $2 \"\\nlayer branch\/revision: \" $3 \"\/\" $4 ; system(\"${OE_BASE}\/scripts\/layerman \" $1 \" \"  $2 \" \" $3 \" \" $4 \" \" command \" \" commandarg);}\n-\n-\n+$1 !~ \"^#\" { print \"layer repository name: \" $1 \"\\nlayer uri: \" $2 \"\\nlayer branch\/revision: \" $3 \"\/\" $4 ; system(\"${OE_BASE}\/scripts\/layerman \" $1 \" \"  $2 \" \" $3 \" \" $4 \" \" command \" \" commandarg);}\n"}
{"commit":"76e2c3e58a4b958c24e68d946aa1a9b5a24705ed","subject":"INTEGRATION: CWS changefileheader (1.2.478); FILE MERGED 2008\/03\/28 15:55:32 rt 1.2.478.1: #i87441# Change license header to LPGL v3.","message":"INTEGRATION: CWS changefileheader (1.2.478); FILE MERGED\n2008\/03\/28 15:55:32 rt 1.2.478.1: #i87441# Change license header to LPGL v3.\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/unxmap-to-macosx-explist.awk\n+++ solenv\/bin\/unxmap-to-macosx-explist.awk\n@@ -1,35 +1,31 @@\n #*************************************************************************\n #\n-#   OpenOffice.org - a multi-platform office productivity suite\n+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n+# \n+# Copyright 2008 by Sun Microsystems, Inc.\n #\n-#   $RCSfile: unxmap-to-macosx-explist.awk,v $\n+# OpenOffice.org - a multi-platform office productivity suite\n #\n-#   $Revision: 1.2 $\n+# $RCSfile: unxmap-to-macosx-explist.awk,v $\n #\n-#   last change: $Author: rt $ $Date: 2007-01-31 08:42:05 $\n+# $Revision: 1.3 $\n #\n-#   The Contents of this file are made available subject to\n-#   the terms of GNU Lesser General Public License Version 2.1.\n+# This file is part of OpenOffice.org.\n #\n+# OpenOffice.org is free software: you can redistribute it and\/or modify\n+# it under the terms of the GNU Lesser General Public License version 3\n+# only, as published by the Free Software Foundation.\n #\n-#     GNU Lesser General Public License Version 2.1\n-#     =============================================\n-#     Copyright 2005 by Sun Microsystems, Inc.\n-#     901 San Antonio Road, Palo Alto, CA 94303, USA\n+# OpenOffice.org is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU Lesser General Public License version 3 for more details\n+# (a copy is included in the LICENSE file that accompanied this code).\n #\n-#     This library is free software; you can redistribute it and\/or\n-#     modify it under the terms of the GNU Lesser General Public\n-#     License version 2.1, as published by the Free Software Foundation.\n-#\n-#     This library is distributed in the hope that it will be useful,\n-#     but WITHOUT ANY WARRANTY; without even the implied warranty of\n-#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n-#     Lesser General Public License for more details.\n-#\n-#     You should have received a copy of the GNU Lesser General Public\n-#     License along with this library; if not, write to the Free Software\n-#     Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n-#     MA  02111-1307  USA\n+# You should have received a copy of the GNU Lesser General Public License\n+# version 3 along with OpenOffice.org.  If not, see\n+# <http:\/\/www.openoffice.org\/license.html>\n+# for a copy of the LGPLv3 License.\n #\n #*************************************************************************\n \n"}
{"commit":"7a800c045828a594d4e960c5f659e0a7a1d4e7ff","subject":"Minor change so that my testbox at home is marked as a pc300.","message":"Minor change so that my testbox at home is marked as a pc300.\n","repos":"nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- tmcd\/freebsd\/cpuspeed.awk\n+++ tmcd\/freebsd\/cpuspeed.awk\n@@ -49,7 +49,7 @@\n     found = 1;\n     exit\n }\n-\/^CPU:.*\\(29[0-9]|30[0-9]\\.[0-9]+\\-MHz\/ {\n+\/^CPU:.*\\(29[0-9]|30[0-9]|333\\.[0-9]+\\-MHz\/ {\n     print \"300\";\n     found = 1;\n     exit\n"}
{"commit":"4a705d88848cfa4c3434dcea9354423d48e93204","subject":"More tinkering with the street finder","message":"More tinkering with the street finder\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -105,14 +105,13 @@\n \tf_st = 0\n \n \t# find the street:\n-\t# street is the 1st element of ary that begins with an integer and has > 1 one word\n-\t# so, 200 by itself is not a street, but 200 Broadway is\n+\t# street is the last element in ary[1:nf-1] that begins with an integer and has more\n+\t# than one word so, 200 by itself is not a street, but 200 Broadway is\n \tf_st = 0\n \tfor(i = 1; i < nf - 1; i++){\n \t\tnf2 = split(ary[i], ary2, \/  *\/)\n \t\tif(ary2[1] ~ \/^[1-9][0-9]*$\/ && nf2 > 1){\n \t\t\tf_st = i\n-\t\t\tbreak\n \t\t}\n \t}\n \tif(f_st == 0){\n"}
{"commit":"19e444c91e7ec24a536b66516b5af21128858cfd","subject":"Fix parsing on TCP header with options","message":"Fix parsing on TCP header with options\n","repos":"ctrlrsf\/mctopkeys,sfoutrier\/mctopkeys","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- parsedump.awk\n+++ parsedump.awk\n@@ -3,8 +3,11 @@\n {\n   if(buffer != 0)\n   {\n-    key = substr(buffer, 0, keylen);\n+    key = substr(buffer, 0, keyLen);\n     buffer = 0;\n+    keyPos = -1;\n+    keyLenPos = -1;\n+    extraLenPos = -1;\n   }\n }\n \n@@ -18,19 +21,42 @@\n   else if($1 ~ \/0x[0-9]+:\/)\n   {\n     pos = (substr($1,0,6) + 0);\n+\n+    # capturing the begin of the tcp payload\n     if(pos == 32)\n     {\n-      keylen = (\"0x\"$7) + 0;\n-      keypos = (\"0x\"substr($8,0,2)) + 64;\n-      offset = keypos % 16;\n+      # 4 * tcp header size + IP header size\n+      tcpBegin = (\"0x\"substr($2,0,1) + 0) * 4 + 20;\n+      keyLenPos = tcpBegin + 2;\n+      keyLenOffset = keyLenPos % 16;\n+      extraLenPos = tcpBegin + 4;\n+      extraLenOffset = extraLenPos % 16;\n     }\n-    else if(pos == keypos - offset)\n-      buffer = substr($NF, offset+1)\n-    else if(buffer != 0 && pos > keypos)\n+\n+    if(pos >= 32)\n     {\n-      buffer = buffer $NF;\n-      if(length(buffer) >= keylen)\n-        flushKey();\n+      # get the key length\n+      if(pos == keyLenPos - keyLenOffset)\n+      {\n+        keyLen = (\"0x\" $(2 + keyLenOffset \/ 2)) + 0;\n+      }\n+      # get the extra length\n+      if(pos == extraLenPos - extraLenOffset)\n+      {\n+        extraLen = (\"0x\"substr($(2 + extraLenOffset \/ 2),0,2)) + 0;\n+        keyPos = tcpBegin + 24 + extraLen;\n+        keyOffset = keyPos % 16;\n+      }\n+      if(pos == keyPos - keyOffset)\n+      {\n+        buffer = substr($NF, keyOffset+1)\n+      }\n+      else if(buffer != 0)\n+      {\n+        buffer = buffer $NF;\n+        if(length(buffer) >= keyLen)\n+          flushKey();\n+      }\n     }\n   }\n \n"}
{"commit":"3c7d10c6b55e72eed885a15660184365fa3813b0","subject":"sh instead","message":"sh instead\n","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tools\/push_pop_indent.awk\n+++ tools\/push_pop_indent.awk\n@@ -1,5 +1,6 @@\n-#!\/bin\/awk -f\n+#!\/bin\/sh\n \n+exec awk '\n \/pop\/ {\n \tif(--indent < 0)\n \t\tprint \"AWK: indent less than zero (\" indent \")\" #| \"cat >&2\"\n@@ -16,3 +17,4 @@\n \/push\/ {\n \tindent++\n }\n+'\n"}
{"commit":"d257428ceab6765b9f6e48d7af97a365d0eb6a3d","subject":"space a bit uncollapsed hints","message":"space a bit uncollapsed hints\n","repos":"Morantron\/tmux-fingers,Morantron\/tmux-fingers","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/hinter.awk\n+++ scripts\/hinter.awk\n@@ -114,7 +114,7 @@\n   } else {\n     hint_format = \"\\033[1;33m[%s]\\033[0m\"\n     highlight_format = \"\\033[1;33m%s\\033[0m\"\n-    compound_format = highlight_format hint_format\n+    compound_format = highlight_format \" \" hint_format\n   }\n \n   hint_lookup = \"\"\n"}
{"commit":"23f7dd70c9f06d7733bf97cdd7c42f008d4b5d3c","subject":"kube simpler now shows % used","message":"kube simpler now shows % used\n","repos":"dcapwell\/dotfiles,dcapwell\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- k8s\/ihatekubeformating-simpler.awk\n+++ k8s\/ihatekubeformating-simpler.awk\n@@ -1,48 +1,78 @@\n-# functions 1024 based\n-function normalize_Ti(used) {\n-  if ( match(used, \/([0-9]+)Ki\/, value_split) )\n-    return (sprintf(\"%.2f\", int(value_split[1]) \/ 1024 \/ 1024 \/ 1024) \"Ti\")\n-  else if ( match(used, \/([0-9]+)Mi\/, value_split) )\n-    return (sprintf(\"%.2f\", int(value_split[1]) \/ 1024 \/ 1024) \"Ti\")\n-  else if ( match(used, \/([0-9]+)Gi\/, value_split) )\n-    return (sprintf(\"%.2f\", int(value_split[1]) \/ 1024) \"Ti\")\n-  else if ( match(used, \/([0-9]+)Ti\/) )\n-    return used\n-  else\n-    return (sprintf(\"%.2f\", int(used) \/ 1024 \/ 1024 \/ 1024 \/ 1024) \"Ti\")\n+function split_unit(used, output) {\n+  if ( match(used, \/([0-9]+)Ki\/, value_split) ) {\n+    output[0] = int(value_split[1])\n+    output[1] = \"Ki\"\n+    return 1\n+  } else if ( match(used, \/([0-9]+)Mi\/, value_split) ) {\n+    output[0] = int(value_split[1])\n+    output[1] = \"Mi\"\n+    return 1\n+  } else if ( match(used, \/([0-9]+)Gi\/, value_split) ) {\n+    output[0] = int(value_split[1])\n+    output[1] = \"Gi\"\n+    return 1\n+  } else if ( match(used, \/([0-9]+)Ti\/, value_split) ) {\n+    output[0] = int(value_split[1])\n+    output[1] = \"Ti\"\n+    return 1\n+  } else if ( match(used, \/([0-9]+)k\/, value_split) ) {\n+    output[0] = int(value_split[1])\n+    output[1] = \"k\"\n+    return 1\n+  } else if ( match(used, \/([0-9]+)m\/, value_split) ) {\n+    output[0] = int(value_split[1])\n+    output[1] = \"m\"\n+    return 1\n+  } else if ( match(used, \/([0-9]+)\/, value_split) ) {\n+\t\toutput[0] = int(value_split[1])\n+    output[1] = \"\" # unknown unit\n+    return 1\n+  }\n+  return 0\n }\n-# functions 1000 based\n-function normalize_k(used) {\n-  if ( match(used, \/([0-9]+)k\/) )\n-    return used\n-  else if ( match(used, \/([0-9]+)m\/) )\n-    return (sprintf(\"%.2f\", int(used) \/ 1000 \/ 1000) \"k\")\n-  else\n-    return (sprintf(\"%.2f\", int(used) \/ 1000) \"k\")\n+function to_unit(a, a_unit, b, b_unit) {\n+  if (a_unit == b_unit)\n+    return a\n+  if (b_unit == \"Ti\") {\n+    if (a_unit == \"Ki\")\n+      return a \/ 1024 \/ 1024 \/ 1024\n+    if (a_unit == \"Mi\")\n+      return a \/ 1024 \/ 1024\n+    if (a_unit == \"Gi\")\n+      return a \/ 1024\n+    if (a_unit == \"\")\n+      return a \/ 1024 \/ 1024 \/ 1024 \/ 1024\n+    print \"unknown a unit: \" a  a_unit \" for b \" b b_unit\n+    exit 1\n+  } else if (b_unit == \"Gi\") {\n+    if (a_unit == \"Ki\")\n+      return a \/ 1024 \/ 1024\n+    if (a_unit == \"Mi\")\n+      return a \/ 1024\n+    if (a_unit == \"Gi\")\n+      return a\n+    if (a_unit == \"\")\n+      return a \/ 1024 \/ 1024 \/ 1024\n+    print \"unknown a unit: \" a  a_unit \" for b \" b b_unit\n+    exit 1\n+  } else if (b_unit == \"k\") {\n+    if (a_unit == \"\")\n+      return a \/ 1000\n+    print \"unknown a unit: \" a  a_unit \" for b \" b b_unit\n+    exit 1\n+  }\n+  print \"unknown b unit: \" b b_unit \" with a unit \" a a_unit\n+  exit 1\n }\n-function normalize_no_unit(used) {\n-  if ( match(used, \/([0-9]+)m\/) )\n-    return sprintf(\"%.2f\", int(used) \/ 1000)\n-  else {\n-    return used\n+{\n+  if (split_unit($2, used) && split_unit($3, hard)) {\n+    value = to_unit(used[0], used[1], hard[0], hard[1])\n+    #value = normalize_units(unit, $2, $3)\n+    if (value != 0) {\n+      percentage = value \/ int(hard[0]) * 100\n+      printf \"%-55s%-20s%-20s%s\\n\", $1, (sprintf(\"%.2f\", value) hard[1]), $3, sprintf(\"%.2f%\", percentage)\n+    }\n+  } else {\n+    print $0\n   }\n }\n-\n-# dynamic dispatch\n-function normalize_units(used, hard) {\n-  if ( match(hard, \/[0-9]+Ti\/) ) {\n-    return normalize_Ti(used)\n-  } else if ( match(hard, \/[0-9]+k\/) ) {\n-    return normalize_k(used)\n-  } else if ( match(hard, \/[0-9]+\/) ) {\n-    return normalize_no_unit(used)\n-  } else {\n-    return used\n-  }\n-}\n-{\n-  value = normalize_units($2, $3)\n-  if (value != 0) {\n-    printf \"%-55s%-20s%s\\n\", $1, value, $3\n-  }\n-}\n"}
{"commit":"aea35f9a992603f6813beee3ef5efce7d81ffb59","subject":"BUILD: properly escape multiline XML strings in intlfix-xml.awk","message":"BUILD: properly escape multiline XML strings in intlfix-xml.awk\n","repos":"GNOME\/beast,swesterfeld\/beast,GNOME\/beast,GNOME\/beast,swesterfeld\/beast,swesterfeld\/beast,GNOME\/beast,tim-janik\/beast,GNOME\/beast,swesterfeld\/beast,tim-janik\/beast,tim-janik\/beast,swesterfeld\/beast,tim-janik\/beast,swesterfeld\/beast,swesterfeld\/beast,tim-janik\/beast,GNOME\/beast,tim-janik\/beast,tim-janik\/beast,GNOME\/beast","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- autotools\/intlfix-xml.awk\n+++ autotools\/intlfix-xml.awk\n@@ -25,11 +25,13 @@\n       }\n       #print \"\"\n     } else if (XMLEVENT == \"COMMENT\") {\n-      gsub (\"\\\\*\/\", \"* \/\", XMLNAME)\n+      gsub (\"\\\\*\/\", \"* \/\", XMLNAME)     # escape enclosed C-comment ends\n       ostring = sprintf (\"\/* %s *\/\\n\", XMLNAME)\n       printf (\"__XML_LINE__%-3d: %s\", OLINE, ostring); gsub (\/[^\\n]\/, \"\", ostring); OLINE += length (ostring)\n     } else if (XMLEVENT == \"CHARDATA\" && match (TAG, \"^_[^_]\")) {\n-      sub (\"^_\", \"\", TAG); gsub (\"[\\\\\\\"]\", \"\\\\\" \"\\\\&\", XMLNAME)\n+      gsub (\"[\\\\\\\"]\", \"\\\\\" \"\\\\&\", XMLNAME) # escape string quotes\n+      gsub (\/\\n\/, \"\\\\n\\\"\\n\\\"\", XMLNAME)    # escape newlines\n+      sub (\"^_\", \"\", TAG)\n       ostring = sprintf (\"%s \/*<%s\/>*\/_(\\\"%s\\\");\\n\", MARKER, TAG, XMLNAME);\n       printf (\"__XML_LINE__%-3d: %s\", OLINE, ostring); gsub (\/[^\\n]\/, \"\", ostring); OLINE += length (ostring)\n     } else if (XMLEVENT == \"ENDELEM\") {\n"}
{"commit":"e5d566b40938e13c48b3660bfae7a63da240ebd7","subject":"HvD: Added a line to further reduce the number of duplicate lines being printed.","message":"HvD: Added a line to further reduce the number of duplicate lines being\nprinted.\n\n\n\n\n","repos":"rangsimanketkaew\/NWChem","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/util\/ids.awk\n+++ src\/util\/ids.awk\n@@ -26,6 +26,7 @@\n \t\t\t\t printf(\"      write(6,*)\\n\");\n \t\t\t\t printf(\"      write(6,*) ' %s'\\n\",$0);\n \t\t\t\t printf(\"      write(6,*) ' %s'\\n\",substr(underline,1,len));\n+\t\t\t\t prev_str = underline;\n \t\t\t\t}\n \n 0 != match($0,prev_str)\t\t{\n@@ -39,6 +40,7 @@\n \t\t\t\t if (n > (72 - 20)) n = 72 - 20;\n \t\t\t\t printf(\"      write(6,*) ' %s'\\n\",substr($0,i,n));\n \t\t\t\t prev_str = substr($0,i,n);\n+\t\t\t\t $0=\"\"\n \t\t\t\t}\n \n \/\\$\\I\\d: [^\\n]* \\$\/\t\t{\n"}
{"commit":"07171b792373e897a65a142b6d8d8ff7cb4ef0c8","subject":"Translate: preserve line breaks in non-interactive brief mode, fix #164","message":"Translate: preserve line breaks in non-interactive brief mode, fix #164\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -236,6 +236,11 @@\n                     repl(line)\n                 else\n                     translate(line)\n+            } else {\n+                # Non-interactive brief mode: preserve line breaks\n+                if (!Option[\"interactive\"])\n+                    if (!Option[\"verbose\"])\n+                        p(line)\n             }\n     } else\n         e(\"[ERROR] File not found: \" Option[\"input\"])\n"}
{"commit":"464785756fff5813faf24c39c06eaed09da44ac5","subject":"Trivial change.","message":"Trivial change.\n","repos":"lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- linkparser\/linkparser.awk\n+++ linkparser\/linkparser.awk\n@@ -105,8 +105,6 @@\n \n function rel_install(source, rel_root, new_root) {\n \tcount++\n-\tif (pretend)\n-\t\treturn 0\n \t\n \tdir = dirname(source)\n \tbase = basename(source)\n@@ -115,6 +113,12 @@\n \n \tif (destdir)\n \t\tnew_root = destdir \"\/\" new_root\n+\n+\tif (pretend) {\n+\t\tprint source > rel_root\".source.list\"\n+\t\tprint rel_path\"\/\"base > rel_root\".relative.list\"\n+\t\treturn 0\n+\t}\n \n \tsystem(\"mkdir -p \" new_root \"\/\" rel_path)\n \tsystem(\"cp -L \" source \" \" new_root \"\/\" rel_path)\n"}
{"commit":"c88758ebdd6880f4d5d558be2845de8cca15909c","subject":"Clean up \"No genre\/country\" message in MHz","message":"Clean up \"No genre\/country\" message in MHz\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-seriesPages.awk\n+++ getMHzFrom-seriesPages.awk\n@@ -9,6 +9,8 @@\n #           -v ERROR_FILE=$ERROR_FILE -f getMHzFrom-seriesPages.awk\n #\n # INPUT:\n+#       <meta name=\"apple-itunes-app\" content=\"app-id=1096194231, \\\n+#           app-argument=https:\/\/mhzchoice.vhx.tv\/agatha-christie-s-criminal-games\">\n #       <title>A French Village - MHz Choice<\/title>\n #       <meta name=\"description\" content=\"DRAMA | FRANCE | FRENCH WITH ENGLISH SUBTITLES | TV-MA^M\n #       This acclaimed drama is about the German...all in a day&#x27;s work... its inhabitants.\">\n@@ -31,6 +33,13 @@\n #       $MARQUEE_FILE, $DESCRIPTION_FILE, $HEADER_FILE,\n #       list of Episode URLs\n #       \n+\n+\/meta name=\"apple-itunes-app\" content=\/,\/>\/ {\n+    seriesURL = $0\n+    sub (\/.*app-argument=\/,\"\",seriesURL)\n+    sub (\/\">\/,\"\",seriesURL)\n+    sub (\/mhzchoice.vhx.tv\/,\"watch.mhzchoice.com\",seriesURL)\n+}\n \n \/title>\/ {\n     seriesTitle = $0\n@@ -92,7 +101,7 @@\n     print $0 >> DESCRIPTION_FILE\n     # if we didn't find a header in this block, print a blank one\n     if (headerPrinted == \"no\") {\n-        print \"==> No genre\/country line: \" seriesTitle >> ERROR_FILE\n+        print \"==> No genre\/country line: \" seriesTitle \" \" seriesURL >> ERROR_FILE\n         print \"\\t\\t\\t\" >> HEADER_FILE\n     }\n }\n"}
{"commit":"d5a74b905fef4d0fd0b366fcec2349dc40747a33","subject":"publish-home would miss new logos - CTR","message":"publish-home would miss new logos - CTR\n","repos":"krlohnes\/tinkerpop,jorgebay\/tinkerpop,krlohnes\/tinkerpop,pluradj\/incubator-tinkerpop,jorgebay\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,artem-aliev\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,artem-aliev\/tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,artem-aliev\/tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,jorgebay\/tinkerpop,pluradj\/incubator-tinkerpop,apache\/incubator-tinkerpop,jorgebay\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,apache\/incubator-tinkerpop,pluradj\/incubator-tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/publish-home.awk\n+++ bin\/publish-home.awk\n@@ -26,6 +26,11 @@\n   print \"D \" gensub(\/:$\/, \"\", \"g\", gensub(\"^[^\/]*\/\", \"\", \"g\", $3)) \"\/\" $4\n }\n \n+\/^Only in \\.\\.\\\/site\\\/home\/ {\n+  print \"A \" gensub(\/:$\/, \"\", \"g\", gensub(\"^..\/site\/home\/\", \"\", \"g\", $3)) \"\/\" $4\n+  next\n+}\n+\n \/^Only in \\.\\.\/ {\n   print \"A \" gensub(\/:$\/, \"\", \"g\", gensub(\"^[^\/]*\/[^\/]*\/\", \"\", \"g\", $3)) \"\/\" $4\n }\n"}
{"commit":"fae0986665bd7bdfaeda72e0ab8a61ac7c7fde3f","subject":"Help: update","message":"Help: update\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -131,12 +131,15 @@\n         ins(2, \"Specify the output file.\") RS                           \\\n         RS \"Language preference options:\" RS                            \\\n         ins(1, ansi(\"bold\", \"-l \") ansi(\"underline\", \"CODE\")            \\\n+            \", \" ansi(\"bold\", \"-hl \") ansi(\"underline\", \"CODE\")         \\\n             \", \" ansi(\"bold\", \"-lang \") ansi(\"underline\", \"CODE\")) RS   \\\n         ins(2, \"Specify your home language.\") RS                        \\\n         ins(1, ansi(\"bold\", \"-s \") ansi(\"underline\", \"CODE\")            \\\n+            \", \" ansi(\"bold\", \"-sl \") ansi(\"underline\", \"CODE\")         \\\n             \", \" ansi(\"bold\", \"-source \") ansi(\"underline\", \"CODE\")) RS \\\n         ins(2, \"Specify the source language.\") RS                       \\\n         ins(1, ansi(\"bold\", \"-t \") ansi(\"underline\", \"CODES\")           \\\n+            \", \" ansi(\"bold\", \"-tl \") ansi(\"underline\", \"CODE\")         \\\n             \", \" ansi(\"bold\", \"-target \") ansi(\"underline\", \"CODES\")) RS \\\n         ins(2, \"Specify the target language(s), joined by '+'.\") RS     \\\n         RS \"Other options:\" RS                                          \\\n"}
{"commit":"aada4a28e8e27542b3c253b257b9405e1b1d7fd3","subject":"Main: ignore stderr when invoking `tput cols`, fix #172","message":"Main: ignore stderr when invoking `tput cols`, fix #172\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -109,7 +109,7 @@\n \n     # Initialize screen width if not set\n     if (!Option[\"width\"] && detectProgram(\"tput\", \"-V\")) {\n-        \"tput cols\" | getline temp\n+        \"tput cols\" SUPERR | getline temp\n         Option[\"width\"] = temp ? temp - 2 : 64\n     }\n \n"}
{"commit":"fc835b7a80a23da096e957370357a1d7e2e953ba","subject":"Added check for episode 00 to MHz","message":"Added check for episode 00 to MHz\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -102,6 +102,8 @@\n # Extract the episode description and print the composed info\n \/<div class=\"transparent padding-top-medium\"\/,\/<\\\/div>\/ {\n     if ($0 ~ \/<div class=\"transparent padding-top-medium\"\/) {\n+        if ((episodeNumber + 0) == 0)\n+            print \"==> Episode number is 00: \" episodeURL >> ERROR_FILE\n         printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, S%02dE%02d, %s\\\"\\)\\t\\t\\t%s\\t\\t\\t\\t\\t\", \\\n             SERIES_NUMBER, episodeURL, seriesTitle, seasonNumber, episodeNumber, episodeTitle, \\\n             episodeDuration) >> EPISODE_INFO_FILE\n"}
{"commit":"f0de6099521c37f169e4076647c8ff7c986c26f2","subject":"Theme: Option[\"sgr-\" name] needs not to be an array","message":"Theme: Option[\"sgr-\" name] needs not to be an array\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Theme.awk\n+++ include\/Theme.awk\n@@ -5,8 +5,11 @@\n function prettify(name, string,    i, temp) {\n     temp = string\n     if (\"sgr-\" name in Option)\n-        for (i in Option[\"sgr-\" name])\n-            temp = ansi(Option[\"sgr-\" name][i], temp)\n+        if (isarray(Option[\"sgr-\" name]))\n+            for (i in Option[\"sgr-\" name])\n+                temp = ansi(Option[\"sgr-\" name][i], temp)\n+        else\n+            temp = ansi(Option[\"sgr-\" name], temp)\n     return temp\n }\n \n@@ -27,14 +30,14 @@\n         # Default theme\n         Option[\"sgr-original\"][1] = \"bold\"\n         Option[\"sgr-original\"][2] = \"negative\"\n-        Option[\"sgr-translation\"][1] = \"bold\"\n-        Option[\"sgr-prompt-message-original\"][1] = \"underline\"\n-        Option[\"sgr-original-dictionary-detailed-explanation\"][1] = \"bold\"\n+        Option[\"sgr-translation\"] = \"bold\"\n+        Option[\"sgr-prompt-message-original\"] = \"underline\"\n+        Option[\"sgr-original-dictionary-detailed-explanation\"] = \"bold\"\n         Option[\"sgr-original-dictionary-examples-original\"][1] = \"bold\"\n         Option[\"sgr-original-dictionary-examples-original\"][2] = \"negative\"\n-        Option[\"sgr-original-dictionary-see-also-item\"][1] = \"underline\"\n-        Option[\"sgr-dictionary-word\"][1] = \"bold\"\n-        Option[\"sgr-alternatives-original\"][1] = \"underline\"\n-        Option[\"sgr-alternatives-translation\"][1] = \"bold\"\n+        Option[\"sgr-original-dictionary-see-also-item\"] = \"underline\"\n+        Option[\"sgr-dictionary-word\"] = \"bold\"\n+        Option[\"sgr-alternatives-original\"] = \"underline\"\n+        Option[\"sgr-alternatives-translation\"] = \"bold\"\n     }\n }\n"}
{"commit":"e2910a47cf61a17ca64bacf9223341ee731a83f8","subject":"remove confusing comments from the log massager","message":"remove confusing comments from the log massager\n","repos":"tadhunt\/repostats","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- src\/log-massage.awk\n+++ src\/log-massage.awk\n@@ -42,17 +42,17 @@\n \/^Merge:[ \t].*\/ {\n \tismerge = 1\n \tlast = \"merge\"\n-\tnext\t\t\t\t\t\t# don't track merge history\n+\tnext\n }\n \n \/^[ \t]+.*\/ {\n \tlast = \"logmsg\"\n-\tnext\t\t\t\t\t\t# don't track log message\n+\tnext\n }\n \n \/^-[ \t]+-[ \t]+.*\/ {\n \tlast = \"binary\"\n-\tnext\t\t\t\t\t\t# don't track binary files\n+\tnext\n }\n \n \/^[0-9]+[ \t]+[0-9]+[ \t]+.*\/ {\n"}
{"commit":"bf29b8d8adf5f3979a97f7d5e71e739d38d85fdb","subject":"LanguageData: update section V","message":"LanguageData: update section V\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -2549,9 +2549,7 @@\n     Locale[\"uz\"][\"spoken-in\"]          = \"Uzbekistan; Afghanistan; Pakistan\"\n     Locale[\"uz\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #102 Vietnamese\n+    # Vietnamese\n     Locale[\"vi\"][\"name\"]               = \"Vietnamese\"\n     Locale[\"vi\"][\"endonym\"]            = \"Ti\u1ebfng Vi\u1ec7t\"\n     Locale[\"vi\"][\"translations-of\"]    = \"B\u1ea3n d\u1ecbch c\u1ee7a %s\"\n@@ -2560,9 +2558,14 @@\n     Locale[\"vi\"][\"examples\"]           = \"V\u00ed d\u1ee5\"\n     Locale[\"vi\"][\"see-also\"]           = \"Xem th\u00eam\"\n     Locale[\"vi\"][\"family\"]             = \"Austroasiatic\"\n+    Locale[\"vi\"][\"branch\"]             = \"Vietic\"\n     Locale[\"vi\"][\"iso\"]                = \"vie\"\n     Locale[\"vi\"][\"glotto\"]             = \"viet1252\"\n     Locale[\"vi\"][\"script\"]             = \"Latn\"\n+    Locale[\"vi\"][\"spoken-in\"]          = \"Vietnam\"\n+    Locale[\"vi\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #103 Welsh\n     Locale[\"cy\"][\"name\"]               = \"Welsh\"\n@@ -2679,20 +2682,6 @@\n     Locale[\"oc\"][\"iso\"]                = \"oci\"\n     Locale[\"oc\"][\"glotto\"]             = \"occi1239\"\n     Locale[\"oc\"][\"script\"]             = \"Latn\"\n-\n-    #? Udmurt\n-    Locale[\"udm\"][\"support\"]           = \"yandex-only\"\n-    Locale[\"udm\"][\"name\"]              = \"Udmurt\"\n-    Locale[\"udm\"][\"endonym\"]           = \"\u0443\u0434\u043c\u0443\u0440\u0442\"\n-    #Locale[\"udm\"][\"translations-of\"]\n-    #Locale[\"udm\"][\"definitions-of\"]\n-    #Locale[\"udm\"][\"synonyms\"]\n-    #Locale[\"udm\"][\"examples\"]\n-    #Locale[\"udm\"][\"see-also\"]\n-    Locale[\"udm\"][\"family\"]            = \"Uralic\"\n-    Locale[\"udm\"][\"iso\"]               = \"udm\"\n-    Locale[\"udm\"][\"glotto\"]            = \"udmu1245\"\n-    Locale[\"udm\"][\"script\"]            = \"Cyrl\"\n \n     #? Volap\u00fck\n     Locale[\"vo\"][\"support\"]            = \"unstable\"\n"}
{"commit":"1a596d49ea0638679a9a016944447fc69fcd8990","subject":"Minor spacing change for readability","message":"Minor spacing change for readability\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- verifyBBoxDownloadsFrom-webscraper.awk\n+++ verifyBBoxDownloadsFrom-webscraper.awk\n@@ -47,8 +47,7 @@\n     episodeField = fields[nfields-2]\n     if (seasonField == \"\") {\n         print \"==> \" target \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" > \"\/dev\/stderr\"\n-        print \"    \" unquotedTarget \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" \\\n-            >> TEMP_FILE\n+        print \"    \" unquotedTarget \" (blank Seasons field in \" SEASONS_SORTED_FILE \")\" >> TEMP_FILE\n         continue\n     }\n     print \"          \" target \" \" seasonField \" has \" episodeField\n"}
{"commit":"a8c077eca6ff49dcfc900256157f30618d324a37","subject":"Translate: add initHttpService()","message":"Translate: add initHttpService()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -3,6 +3,14 @@\n @include \"lib\/Commons\"\n @include \"lib\/PLTokenizer\"\n @include \"lib\/PLParser\"\n+\n+# Initialize `HttpService`.\n+function initHttpService() {\n+    HttpProtocol = \"http:\/\/\"\n+    HttpHost = \"translate.google.com\"\n+    HttpPort = 80\n+    HttpService = \"\/inet\/tcp\/0\/\" HttpHost \"\/\" HttpPort\n+}\n \n # Pre-process string (URL-encode before send).\n function preprocess(text) {\n"}
{"commit":"771d1bd06a0c141b5ec5292345227988d88f8670","subject":"Display list of directories which ran no tests","message":"Display list of directories which ran no tests\n\nTestsuite directories should now display \" => skipped\" for each test,\nrather than simply displaying nothing.\n","repos":"msprotz\/ocaml,eliberis\/ocaml,gerdstolpmann\/ocaml,msprotz\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,eliberis\/ocaml,gerdstolpmann\/ocaml,msprotz\/ocaml,yunxing\/ocaml,msprotz\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,eliberis\/ocaml,msprotz\/ocaml,eliberis\/ocaml,yunxing\/ocaml,eliberis\/ocaml,yunxing\/ocaml","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- testsuite\/makefiles\/summarize.awk\n+++ testsuite\/makefiles\/summarize.awk\n@@ -32,6 +32,7 @@\n function record_skip() {\n     check();\n     RESULTS[key] = \"s\";\n+    if (curdir in SKIPPED) SKIPPED[curdir] = 1;\n     clear();\n }\n \n@@ -58,7 +59,8 @@\n     if (in_test) record_unexp();\n     match($0, \/Running tests from '[^']*'\/);\n     curdir = substr($0, RSTART+20, RLENGTH - 21);\n-    SKIPPED[curdir] = 1;\n+    # Use SKIPPED[curdir] as a sentintel to detect no output\n+    SKIPPED[curdir] = 0;\n     key = curdir;\n     DIRS[key] = key;\n     curfile = \"\";\n@@ -117,6 +119,13 @@\n         exit (3);\n     }else{\n         if (!retries){\n+            for (key in SKIPPED){\n+                if (!SKIPPED[key]){\n+                    ++ empty;\n+                    blanks[emptyidx++] = key;\n+                    delete SKIPPED[key];\n+                }\n+            }\n             for (key in RESULTS){\n                 r = RESULTS[key];\n                 if (r == \"p\"){\n@@ -162,6 +171,10 @@\n                 printf(\"\\nList of skipped tests:\\n\");\n                 for (i=0; i < skipidx; i++) printf(\"    %s\\n\", skips[i]);\n             }\n+            if (empty != 0){\n+                printf(\"\\nList of directories returning no results:\\n\");\n+                for (i=0; i < empty; i++) printf(\"    %s\\n\", blanks[i]);\n+            }\n             printf(\"\\n\");\n             if (failed || unexped){\n                 printf(\"#### Something failed. Exiting with error status.\\n\\n\");\n"}
{"commit":"700f7e037b0569a8192d183f7324a6ec5a722a8e","subject":"r12427\/sofa-dev : UPDATE filter-qmake-pro script to handle recent formatting changes","message":"r12427\/sofa-dev : UPDATE filter-qmake-pro script to handle recent formatting changes\n\n\nFormer-commit-id: 1baa74b99206ec87a03ab0ccaf5c3fb35123ddac","repos":"hdeling\/sofa,hdeling\/sofa,FabienPean\/sofa,FabienPean\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,hdeling\/sofa,FabienPean\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,FabienPean\/sofa,hdeling\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- scripts\/filter-qmake-pro.awk\n+++ scripts\/filter-qmake-pro.awk\n@@ -74,6 +74,14 @@\n   next;\n }\n \n+blk_filtered>0 && \/^[ \\t#]*contains\\(DEFINES,[^)]*\\)[ \\t#]*{[ \\t#]*usePlugin\/ {\n+  name=$0;\n+  gsub(\/.*\\(\/,\"\",name); gsub(\/.*\\(\/,\"\",name); gsub(\/,.*$\/,\"\",name); gsub(\/\\).*$\/,\"\",name); gsub(\/ \/,\"\",name); gsub(\/\\t\/,\"\",name);\n+  #print \"#DEV PLUGIN <<<\",name,\">>>\";\n+  print plugins \"\/\" name > \"\/dev\/stderr\";\n+  next;\n+}\n+\n blk_filtered>0 {\n     #print \"# \" $0\n     # look for a filename\n"}
{"commit":"fab17cc338b3e18cb74ebed8da3a876e485e3c95","subject":"gen-vers.awk: fix typo in comment","message":"gen-vers.awk: fix typo in comment\n","repos":"besser82\/libxcrypt,besser82\/libxcrypt,besser82\/libxcrypt,besser82\/libxcrypt","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- gen-vers.awk\n+++ gen-vers.awk\n@@ -15,7 +15,7 @@\n # the macros generated by this program.\n #\n # Note: if you change the format of .map.in files you probably need to\n-# update gen-vers.awk too.\n+# update gen-map.awk too.\n #\n # Note: we currently don't support compatibility symbols that need\n # a different definition from the default version.\n"}
{"commit":"435e635ff0ba5aac7da9e3f4009fd94dba347c9d","subject":"- Add a \";' at the end of the style attribute - Remove obsolete session-line - Do not color the pkt numbers","message":"- Add a \";' at the end of the style attribute\n- Remove obsolete session-line\n- Do not color the pkt numbers\n\n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@19 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- awk-scripts\/callflow.awk\n+++ awk-scripts\/callflow.awk\n@@ -81,7 +81,7 @@\n \n func arrow(x,y,d,c) {\n   \n-  printf \"<polygon points=\\\"%d,%d %d,%d %d,%d %d,%d\\\" class=\\\"arrowhead\\\" style=\\\"fill: %s; stroke: %s\\\"\/>\\n\",\n+  printf \"<polygon points=\\\"%d,%d %d,%d %d,%d %d,%d\\\" class=\\\"arrowhead\\\" style=\\\"fill: %s; stroke: %s;\\\"\/>\\n\",\n   x,y,\n   x+5*d, y-3,\n   x+3*d, y,\n@@ -108,7 +108,7 @@\n     printf \"    <area href=\\\"frames\/Frame%d.html\\\" coords=\\\"%d,%d,%d,%d\\\" alt=\\\"frame %d\\\"\/>\\n\", $1, x1, y-yLineSpace+2, x1+15, y+7+1, $1 >> \"imagemap\"\n \n   } else if (x1<x2) {\n-    printf \"<line x1=\\\"%d\\\" y1=\\\"%d\\\" x2=\\\"%d\\\" y2=\\\"%d\\\" class=\\\"traceline\\\" style=\\\"stroke: %s\\\"\/>\\n\", x1, y, x2, y, color[c];\n+    printf \"<line x1=\\\"%d\\\" y1=\\\"%d\\\" x2=\\\"%d\\\" y2=\\\"%d\\\" class=\\\"traceline\\\" style=\\\"stroke: %s;\\\"\/>\\n\", x1, y, x2, y, color[c];\n     arrow(x2,y,-1,c);\n   \n     xtext = x1 + 10;\n@@ -116,7 +116,7 @@\n     printf \"    <area href=\\\"frames\/Frame%d.html\\\" coords=\\\"%d,%d,%d,%d\\\" alt=\\\"frame %d\\\"\/>\\n\", $1, x1, y-yLineSpace+2, x2, y+1, $1 >> \"imagemap\"\n \n   } else {\n-    printf \"<line x1=\\\"%d\\\" y1=\\\"%d\\\" x2=\\\"%d\\\" y2=\\\"%d\\\" class=\\\"traceline\\\" style=\\\"stroke: %s\\\"\/>\\n\", x1, y, x2, y, color[c];\n+    printf \"<line x1=\\\"%d\\\" y1=\\\"%d\\\" x2=\\\"%d\\\" y2=\\\"%d\\\" class=\\\"traceline\\\" style=\\\"stroke: %s;\\\"\/>\\n\", x1, y, x2, y, color[c];\n     arrow(x2,y,1,c);\n     \n     xtext = x2 + 10;\n@@ -173,7 +173,6 @@\n \t\t# If over 11 colors, choose black color as default...\n \t\t# TODO: change color behavior\n \t\tif (strtonum(c)>11) {c=\"0\"}\n-\t\t# printf(\"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"session-text\\\" style=\\\"fill: %s;\\\">%s<\/text>\\n\", 25, y, color[c], $4);\n \t }\n \t l1 = sprintf(\"%s:%s\", $2,$3);\n \t l2 = sprintf(\"%s:%s\", $5,$6);\n@@ -193,7 +192,7 @@\n \t x2 = x2 * xHostSpace + leftMargin;\n \n \t ORS = \"\";\n-\t printf \"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"pkt-text\\\" style=\\\"fill: %s;\\\">%d<\/text>\\n\", leftMargin\/2, y, color[c], $1;\n+\t printf \"<text x=\\\"%d\\\" y=\\\"%d\\\" class=\\\"pkt-text\\\">%d<\/text>\\n\", leftMargin\/2, y, $1;\n \n \t output = \"\";\n \t for(i=7;i<=NF;i++) output = output \" \" $i;\n"}
{"commit":"992a1a703d45466e48d85de65a4745aba21c72f1","subject":"Compose titles","message":"Compose titles\n\nInclude show name, season info, title\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -286,6 +286,7 @@\n         } \n         # print \"sortkey = \" sortkey > \"\/dev\/stderr\"\n         # Compose title\n+        title = sprintf (\"%s, S%02d, %s\", showTitle, seasonNumber, title)\n     }\n \n     if (contentType == \"tv_episode\") {\n@@ -309,6 +310,7 @@\n         }\n         # print \"sortkey = \" sortkey > \"\/dev\/stderr\"\n         # Compose title\n+        title = sprintf (\"%s, S%02dE%03d, %s\", showTitle, seasonNumber, episodeNumber, title)\n     }\n \n     # Generate a link that will lead to the show on Britbox\n@@ -327,6 +329,7 @@\n     sub (\"tv_\",\"\",showType)\n     URL = \"https:\/\/www.britbox.com\/us\/\" showType EntityId\n     fullTitle = \"=HYPERLINK(\\\"\" URL \"\\\";\\\"\" title \"\\\")\"\n+    # print \"fullTitle = \" fullTitle > \"\/dev\/stderr\"\n \n     # Copied from above to make it easier to coordinate printing fields\n     # printf (\"Sortkey\\tTitle\\tSeasons\\tEpisodes\\tDuration\\tYear\\tRating\\tDescription\\t\")\n"}
{"commit":"e4d4e467e0aa4291cb0014b036de1521b5b57031","subject":"Constant generation needs to handle multiline comments. (dm)","message":"Constant generation needs to handle multiline comments. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brl_cmds.awk\n+++ Programs\/brl_cmds.awk\n@@ -124,15 +124,33 @@\n   print statement\n }\n \n-function getComment(line) {\n-  if (!match(line, \"\/\\\\*.*\\\\*\/\")) return \"\"\n-  line = substr(line, RSTART+2, RLENGTH-4)\n+function getComment(line,     comment, last) {\n+  comment = \"\"\n \n-  match(line, \"^\\\\**<? *\")\n-  line = substr(line, RLENGTH+1)\n+  if (match(line, \"\/\\\\*\")) {\n+    line = substr(line, RSTART+2)\n+    gsub(\"^\\\\**<? *\", \"\", line)\n \n-  match(line, \" *$\")\n-  return substr(line, 1, RSTART-1)\n+    while (1) {\n+      last = gsub(\"\\\\*\/.*$\", \"\", line)\n+      gsub(\" *$\", \"\", line)\n+\n+      if (length(comment) > 0) comment = comment \" \"\n+      comment = comment line\n+      if (last) break\n+\n+      getline line\n+      gsub(\"^\\\\s*\\\\**\\\\s*\", \"\", line)\n+    }\n+  } else if (match(line, \"\/\/\")) {\n+    comment = substr(line, RSTART+2);\n+    gsub(\"^ *\", \"\", comment)\n+\n+    gsub(\"\\\\*\/.*$\", \"\", comment)\n+    gsub(\" *$\", \"\", comment)\n+  }\n+\n+  return comment\n }\n \n function getDefineValue() {\n"}
{"commit":"18a52f1e9767c51cc38ba541cbf2cc834e4ac7c7","subject":"Update getAcornFrom-episodePages.awk","message":"Update getAcornFrom-episodePages.awk\n\nFix site change from \"container footer\" to \"footer\"\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-episodePages.awk\n+++ getAcornFrom-episodePages.awk\n@@ -40,7 +40,7 @@\n }\n \n # When we get to the bottom of the episode\n-\/<div class=\"container footer\"\/ {\n+\/<div class=\"footer\"\/ {\n     printf (\"%s\\n\", episodeDescription) >> EPISODE_DESCRIPTION_FILE\n     #\n     # Grab the URL from the EPISODE_CURL_FILE - you can't dig it out from here\n"}
{"commit":"12d4f722e4b0ce70a0730b6f53859943e48057fa","subject":"fixed https:\/\/github.com\/timrdf\/csv2rdf4lod-automation\/issues\/112","message":"fixed https:\/\/github.com\/timrdf\/csv2rdf4lod-automation\/issues\/112\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/e-params-increment.awk\n+++ bin\/util\/e-params-increment.awk\n@@ -10,6 +10,9 @@\n       # @prefix :           <http:\/\/logd.tw.rpi.edu\/source\/nitrd-gov\/dataset\/fed_RD_IT\/version\/2011-Jan-27\/conversion\/enhancement\/2> .\n       sub(\/enhancement\\\/[^\\\/]*\\\/\/,\"enhancement\/\"eID);\n       print $0\n+   }else if(\/^<\/ && \/source\\\/\/ && \/dataset\\\/\/ && \/version\\\/\/ && \/conversion\\\/\/ && \/enhancement\\\/[^\\\/]*>\/){\n+      sub(\/enhancement\\\/[^\\\/]*>\/,\"enhancement\/\"eID\">\");\n+      print $0\n    }else if( $0~\"conversion:enhancement_identifier\" ) {\n       printf(\"      conversion:enhancement_identifier \\\"%s\\\";\\n\",eID)}\n    else {\n"}
{"commit":"72cd238dccdfc67abb8aee8810b7a7d6dd0d3c58","subject":"Use \\r instead of \\x0d in awk pattern for portability","message":"Use \\r instead of \\x0d in awk pattern for portability\n\nHex escapes in the regexps are not supported in Solaris nawk, for\ninstance. \\r should match a CR in all cases as far as I know.\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/getcompver.awk\n+++ solenv\/bin\/getcompver.awk\n@@ -52,13 +52,13 @@\n     x = match( $0, \/[0-9]*\\.[0-9]*\\.[0-9]*\/ )\n     CCversion = substr( $0, RSTART, RLENGTH)\n }\n-\/^[0-9]*[.][0-9]*\\x0d*$\/ {\n+\/^[0-9]*[.][0-9]*\\r*$\/ {\n     if ( compiler_matched == 0 ) {\n # need to blow to x.xx.xx for comparing\n     \tCCversion = $0 \".0\"\n     }\n }\n-\/^[0-9]*[.][0-9]*[.][0-9]*\\x0d*$\/ {\n+\/^[0-9]*[.][0-9]*[.][0-9]*\\r*$\/ {\n     if ( compiler_matched == 0 ) {\n         CCversion = $0\n     }\n"}
{"commit":"47750ca79fb0b8187d2b838c9880960558ebb70e","subject":"handling #conversion:label","message":"handling #conversion:label\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/cell-ify-eparams.awk\n+++ bin\/util\/cell-ify-eparams.awk\n@@ -113,7 +113,7 @@\n    line=$0;\n \n    if( length(label_up) > 0 && $1 == \"conversion:label\" || $1 == \"#conversion:label\" ) {\n-      print annotate(\"         %s  \\\"\"label_up\"\\\";\",$1,PADDING,\"was \"$2);\n+      print annotate(\"         conversion:label  \\\"\"label_up\"\\\";\",PADDING,\"was \"$2);\n    }else if( length(out_range) > 0 && $1 == \"conversion:range\" ) {\n       print annotate(\"         conversion:range  \"out_range\";\",PADDING,\"was \"$2);\n    }else if( $1 == \"];\" ) {\n"}
{"commit":"3606efb239a6d316164a2deceffa2c69db933388","subject":"Languages: add Turkmen language","message":"Languages: add Turkmen language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -340,6 +340,19 @@\n     Locale[\"bo\"][\"iso\"]                = \"bod\"\n     Locale[\"bo\"][\"glotto\"]             = \"tibe1272\"\n     Locale[\"bo\"][\"script\"]             = \"Tibt\"\n+\n+    #? Turkmen\n+    Locale[\"tk\"][\"name\"]               = \"Turkmen\"\n+    Locale[\"tk\"][\"endonym\"]            = \"T\u00fcrkmen\"\n+    #Locale[\"tk\"][\"translations-of\"]\n+    #Locale[\"tk\"][\"definitions-of\"]\n+    #Locale[\"tk\"][\"synonyms\"]\n+    #Locale[\"tk\"][\"examples\"]\n+    #Locale[\"tk\"][\"see-also\"]\n+    Locale[\"tk\"][\"family\"]             = \"Turkic\"\n+    Locale[\"tk\"][\"iso\"]                = \"tuk\"\n+    Locale[\"tk\"][\"glotto\"]             = \"turk1304\"\n+    Locale[\"tk\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"d6b8e6d4c4e9c4e0eddd313ef375b29ce88a0a42","subject":"Languages: mark as stable: West Frisian","message":"Languages: mark as stable: West Frisian\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -435,15 +435,14 @@\n     Locale[\"wo\"][\"glotto\"]             = \"wolo1247\"\n     Locale[\"wo\"][\"script\"]             = \"Latn\"\n \n-    #? Western Frisian\n-    Locale[\"fy\"][\"support\"]            = \"unstable\"\n-    Locale[\"fy\"][\"name\"]               = \"Western Frisian\"\n+    # West Frisian\n+    Locale[\"fy\"][\"name\"]               = \"Frisian\"\n     Locale[\"fy\"][\"endonym\"]            = \"Frysk\"\n-    #Locale[\"fy\"][\"translations-of\"]\n-    #Locale[\"fy\"][\"definitions-of\"]\n-    #Locale[\"fy\"][\"synonyms\"]\n-    #Locale[\"fy\"][\"examples\"]\n-    #Locale[\"fy\"][\"see-also\"]\n+    Locale[\"fy\"][\"translations-of\"]    = \"Oersettings fan %s\"\n+    Locale[\"fy\"][\"definitions-of\"]     = \"Definysjes fan %s\"\n+    Locale[\"fy\"][\"synonyms\"]           = \"Synonimen\"\n+    Locale[\"fy\"][\"examples\"]           = \"Foarbylden\"\n+    Locale[\"fy\"][\"see-also\"]           = \"Sjoch ek\"\n     Locale[\"fy\"][\"family\"]             = \"Indo-European\"\n     Locale[\"fy\"][\"iso\"]                = \"fry\"\n     Locale[\"fy\"][\"glotto\"]             = \"west2354\"\n"}
{"commit":"4f8972f1413423989f94b0daeabad66fe9762d5c","subject":"Translate: close the pipe after printing to terminal pager (fix #266, see also #245)","message":"Translate: close the pipe after printing to terminal pager (fix #266, see also #245)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -185,9 +185,10 @@\n \n # Print a string (to output file or terminal pager).\n function p(string) {\n-    if (Option[\"view\"])\n+    if (Option[\"view\"]) {\n         print string | Option[\"pager\"]\n-    else\n+        close(Option[\"pager\"])\n+    } else\n         print string > Option[\"output\"]\n }\n \n"}
{"commit":"dfecfba23e11549219ae1739d1f0d6b1acf8f473","subject":"Fixes to brlapi.awk for BrlAPI parameter constants. (dm)","message":"Fixes to brlapi.awk for BrlAPI parameter constants. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi.awk\n+++ Programs\/brlapi.awk\n@@ -18,7 +18,7 @@\n \n BEGIN {\n   apiRangeTypeCount = 0\n-  paramCount = 0\n+  apiParameterCount = 0\n }\n \n \/#define[ \\t]*BRLAPI_(CURSOR|DISPLAY|ERROR|TTY)_\/ {\n@@ -57,15 +57,15 @@\n   next\n }\n \n-\/^ *BRLAPI_PARAM_[^ ]+ = [0-9x]+,\/ {\n+\/^ *BRLAPI_PARAM_[^ ]+ += +[0-9]+,?\/ {\n   gsub(\",\", \"\", $3)\n-  paramCount = strtonum($3);\n-  apiConstant(substr($1, 8), $1, paramCount++, \"\")\n+  apiParameterCount = strtonum($3)\n+  apiConstant(substr($1, 8), $1, apiParameterCount++, \"\")\n   next\n }\n \n-\/^ *BRLAPI_PARAM_[^ ,]+,\/ {\n+\/^ *BRLAPI_PARAM_[^ ,]+,?\/ {\n   gsub(\",\", \"\", $1)\n-  apiConstant(substr($1, 8), $1, paramCount++, \"\")\n+  apiConstant(substr($1, 8), $1, apiParameterCount++, \"\")\n   next\n }\n"}
{"commit":"217a5e5fd56ebe5826022f6bfbe8b95607193e45","subject":"changing email address","message":"changing email address\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- SLURM\/scripts\/split_rmdups.awk\n+++ SLURM\/scripts\/split_rmdups.awk\n@@ -92,7 +92,7 @@\n     close(sscriptname);\n     \n     sscriptname = sprintf(\"%s\/.%s_mail.slurm\", debugdir, groupname);\n-    printf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-mail.out\\n#SBATCH -e %s\/dup-mail.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;\\necho %s %s %s %s | mail -r Juicer@rice.edu -s \\\"Juicer pipeline finished successfully @ Rice\\\" -t %s@rice.edu;\\ndate\\n\", debugdir, debugdir, queue, groupname, topDir, site, genomeID, genomePath, user) > sscriptname;\n+    printf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-mail.out\\n#SBATCH -e %s\/dup-mail.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;\\necho %s %s %s %s | mail -r aidenlab@bcm.edu -s \\\"Juicer pipeline finished successfully @ Voltron\\\" -t %s@hi-c.io;\\ndate\\n\", debugdir, debugdir, queue, groupname, topDir, site, genomeID, genomePath, user) > sscriptname;\n     sysstring = sprintf(\"sbatch %s\", sscriptname);\n     system(sysstring);\n     close(sscriptname);\n"}
{"commit":"6b945c74b566b4be9a95d6d7a071883b61c49b10","subject":"print changed to printf","message":"print changed to printf\n","repos":"OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- english\/gawk\/code\/reverse.awk\n+++ english\/gawk\/code\/reverse.awk\n@@ -1,3 +1,3 @@\n { for (i = NF; i > 0; i--) { printf \"%s:\", $i; }\n-\tprint \"\\n\";\n+\tprintf \"\\n\";\n }\n"}
{"commit":"da507157c0dbc23a5d7ee7481d6bcf66da50e5e6","subject":"Awk REs are not POSIX compliant","message":"Awk REs are not POSIX compliant\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- calculateBBoxShowDurations.awk\n+++ calculateBBoxShowDurations.awk\n@@ -30,14 +30,14 @@\n # this includes all movies and all episodes\n $5 != \"\" {\n     # Check all durations for strict HH:MM:SS format\n-    if ($5 !~ \/^[[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2}$\/) {\n+    if ($5 !~ \/^[0-9][0-9]:[0-9][0-9]:[0-9][0-9]$\/) {\n         print \"==> Bad duration \" $5 \" in \" $0 >> ERRORS\n         print\n         next\n     } else {\n         split ($5, tm, \":\")\n         totalTime[3] += tm[3]\n-        totalTime[2] += tm[2] + int(totalTime[3] \/ 60)  \n+        totalTime[2] += tm[2] + int(totalTime[3] \/ 60)\n         totalTime[1] += tm[1] + int(totalTime[2] \/ 60)\n         totalTime[3] %= 60; totalTime[2] %= 60\n     }\n"}
{"commit":"44cc21a807a066f1f700dc2d1b5e8318113854d9","subject":"Languages: add Eastern Mari language (yandex only)","message":"Languages: add Eastern Mari language (yandex only)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1534,6 +1534,20 @@\n     Locale[\"dz\"][\"iso\"]                = \"dzo\"\n     Locale[\"dz\"][\"glotto\"]             = \"nucl1307\"\n     Locale[\"dz\"][\"script\"]             = \"Tibt\"\n+\n+    #? Eastern Mari\n+    Locale[\"mhr\"][\"support\"]           = \"yandex-only\"\n+    Locale[\"mhr\"][\"name\"]              = \"Eastern Mari\"\n+    Locale[\"mhr\"][\"endonym\"]           = \"\u041e\u043b\u044b\u043a \u043c\u0430\u0440\u0438\u0439\"\n+    #Locale[\"mhr\"][\"translations-of\"]\n+    #Locale[\"mhr\"][\"definitions-of\"]\n+    #Locale[\"mhr\"][\"synonyms\"]\n+    #Locale[\"mhr\"][\"examples\"]\n+    #Locale[\"mhr\"][\"see-also\"]\n+    Locale[\"mhr\"][\"family\"]            = \"Uralic\"\n+    Locale[\"mhr\"][\"iso\"]               = \"mhr\"\n+    Locale[\"mhr\"][\"glotto\"]            = \"east2328\"\n+    Locale[\"mhr\"][\"script\"]            = \"Cyrl\"\n \n     #? Faroese\n     Locale[\"fo\"][\"support\"]            = \"unstable\"\n"}
{"commit":"8e00df6a88b75341071964db03a900587857ffce","subject":"Get rid of redundant \"Series #\" or \"Series #\" from episodeTitle","message":"Get rid of redundant \"Series #\" or \"Series #\" from episodeTitle\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxEpisodesFrom-webscraper.awk\n+++ getBritBoxEpisodesFrom-webscraper.awk\n@@ -37,9 +37,12 @@\n         sortkey = sprintf (\"E%05d\", fld[nflds])\n     }\n \n-    sub( \/ min\/,\"\",Duration)\n+    # Get rid of redundant \"Series #\" or \"Series #\" from episodeTitle\n+    if (match (episodeTitle, \/^Season [[:digit:]]*, |^Series [[:digit:]]*, \/))\n+        episodeTitle = substr(episodeTitle,RLENGTH+1)\n \n     # Convert duration from minutes to HMS\n+    sub( \/ min\/,\"\",Duration)\n     secs = 0\n     mins = Duration % 60\n     hrs = int(Duration \/ 60)\n@@ -52,7 +55,7 @@\n         showTitle = substr(showTitle, 5) \", The\"\n \n     savedLine = sprintf \\\n-        (\"%s (2) %s %s\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, %s,  %s\\\"\\)\\t\\t\\t%s\\t%s\\t%s\\t%s\",\\\n+        (\"%s (2) %s %s\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, %s, %s\\\"\\)\\t\\t\\t%s\\t%s\\t%s\\t%s\",\\\n          showTitle, Years, sortkey, URL, showTitle, sortkey, episodeTitle, HMS, Years, \\\n          Rating, Description)\n \n"}
{"commit":"5e94093b2249ae4acf96dd9e2eee44f44ce33615","subject":"Whoops","message":"Whoops\n","repos":"JuEeHa\/scripts","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/amdtbl.awk\n+++ src\/amdtbl.awk\n@@ -11,7 +11,7 @@\n     intable=1\n     print \"<tr>\"\n \n-    $0 = substr($0, 2, length($0)-2)\n+    $0 = substr($0, 3, length($0)-4)\n     split($0, a)\n     for(i in a) {\n         align=\"center\"\n"}
{"commit":"d17f18e02abc5be27ff642771849cd648e7cb31f","subject":"Main: support 4-letter script code (besides 2-letter region code)","message":"Main: support 4-letter script code (besides 2-letter region code)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -539,7 +539,7 @@\n \n         # Shortcut format\n         # 'CODE:CODE+...' or 'CODE=CODE+...'\n-        match(ARGV[pos], \/^[{(\\[]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\\]]?$\/, group)\n+        match(ARGV[pos], \/^[{(\\[]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?)?)[})\\]]?$\/, group)\n         if (RSTART) {\n             if (group[1]) Option[\"sl\"] = group[1]\n             if (group[4]) split(group[4], Option[\"tl\"], \"+\")\n"}
{"commit":"e2b63813a8e50cc2f3b37bf60afed0a9c8eb309f","subject":"skip debuggin symbols","message":"skip debuggin symbols\n","repos":"openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -586,7 +586,6 @@\n }\n function set_symbol(sym, mod, crc, expt, set, pos, own, src, use, from)\n {\n-    if (sym ~ \/^(gpl|strings)$\/) { return }\n     if (!(sym in syms)) {\n \tsyms[sym] = 1\n \tcache_dirty = 1\n@@ -801,6 +800,9 @@\n \t\t    continue\n \t\tval = \"\" $1; sec = $(NF-2); offset = $(NF-1); sym = $NF\n \t\tflags = substr($0, length(val)+2, 7)\n+\t\t# skip debugging symbols\n+\t\tif (substr(flags,6,1) == \"d\")\n+\t\t    continue\n \t\tif (substr(flags,1,1) == \"l\") {\n \t\t    if (substr(flags,7,1) == \"O\" || !values[\"modversions\"]) {\n \t\t\tif (sec == \".modinfo\") {\n"}
{"commit":"e3a830f9e840fd0c24c94106cca841e3ce3e20ac","subject":"- get rid of undefined variable error","message":"- get rid of undefined variable error\n","repos":"0x7678\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -992,6 +992,9 @@\n \t\tif (fields[1] == \"format\") {\n \t\t    values[\"format\"] = fields[2]\n \t\t} else\n+\t\tif (fields[1] == \"kabi\") {\n+\t\t    values[\"kabi\"] = fields[2]\n+\t\t} else\n \t\tif (fields[1] == \"sym\") {\n \t\t    if (n<3) { print_error(\"syntax error in cachefile: line = \\\"\" line \"\\\"\"); continue }\n \t\t    for (i=9;i>n;i--) { fields[i] = \"\" }; n = 9\n@@ -1024,6 +1027,7 @@\n     if (\"PWD\" in ENVIRON) sub(\"^\" ENVIRON[\"PWD\"] \"\/\", \"\", file)\n     print_vinfo(1,\"w: cachefile, file = \\\"\" file \"\\\"\")\n     print \"format:\" values[\"format\"] > file\n+    print \"kabi:\" values[\"kabi\"] > file\n     for (sym in syms) {\n \tline = \"sym:\" sym\n \tline = line \":\"; if (sym in mods) { line = line mods[sym] }\n@@ -1123,7 +1127,7 @@\n \t    }\n \t    continue\n \t}\n-\tif (!(sym in kabi) && havekabi) {\n+\tif (!(sym in kabi) && values[\"kabi\"]) {\n \t    if (ownr[sym] != values[\"pkgdirectory\"])\n \t\tif (values[\"unsupported\"])\n \t\t    print_vinfo(1,sprintf(fmt, base, \"unsupportd\", sym))\n@@ -1155,7 +1159,7 @@\n \t    }\n \t    continue\n \t}\n-\tif (!(sym in kabi) && havekabi) {\n+\tif (!(sym in kabi) && values[\"kabi\"]) {\n \t    if (ownr[sym] != values[\"pkgdirectory\"]) {\n \t\tif (values[\"unres-weak\"])\n \t\t    print_vinfo(1,sprintf(fmt, base, \"weak unsup\", sym))\n@@ -1823,6 +1827,7 @@\n     longopts[\"weak-symbols\" ] = \"w\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-symbols\" ] = 1\t\t\t\t\t\t; descrips[\"weak-symbols\" ] = \"resolve weak symbols (useful with -r and -U)\"\n     longopts[\"weak-versions\"] = \"W\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-versions\"] = 1\t\t\t\t\t\t; descrips[\"weak-versions\"] = \"version weak symbols (useful with -w)\"\n     longopts[\"weak-hidden\"  ] = \"H\"  ;\t\t\t\t\t\t\t\t   defaults[\"weak-hidden\"  ] = 0\t\t\t\t\t\t; descrips[\"weak-hidden\"  ] = \"weak symbol versions are hidden (used with -W)\"\n+    longopts[\"kabi\"         ] = \"\"   ;\t\t\t\t\t\t\t\t   defaults[\"kabi\"         ] = 0\t\t\t\t\t\t; descrips[\"kabi\"         ] = \"distribution has a kABI\"\n     longopts[\"format\"       ] = \"f:\" ;\t\t\t\t\t\t\t\t   defaults[\"format\"       ] = \"auto\"\t\t\t\t\t\t; descrips[\"format\"       ] = \"symsets file format (suse,redhat,auto)\"\n     longopts[\"unload\"       ] = \"u\"  ; environs[\"unload\"       ] = \"CONFIG_MODULE_UNLOAD\"\t ; defaults[\"unload\"       ] = 0\t\t\t\t\t\t; descrips[\"unload\"       ] = \"module unloading is supported\"\n     longopts[\"modversions\"  ] = \"m\"  ; environs[\"modversions\"  ] = \"CONFIG_MODVERSIONS\"\t\t ; defaults[\"modversions\"  ] = 0\t\t\t\t\t\t; descrips[\"modversions\"  ] = \"module versions are supported\"\n@@ -1962,15 +1967,15 @@\n \t\tprint_error(\"r: moduledir, directory not found\")\n \t}\n \tif ((\"ksymsets\" in values) && values[\"ksymsets\"])\n-\t    havekabi = read_symsets(values[\"ksymsets\"], \"kabi\", \"syssymset\")\n+\t    values[\"kabi\"] = read_symsets(values[\"ksymsets\"], \"kabi\", \"syssymset\")\n \telse {\n-\t    havekabi = 0\n+\t    values[\"kabi\"] = 0\n \t    file = \"symsets-\" kversion \".tar.gz\"\n \t    if (system(\"test -r \/boot\/\" file) == 0) {\n-\t\thavekabi = havekabi + read_symsets(\"\/boot\/\" file, \"kabi\", \"syssymset\")\n+\t\tvalues[\"kabi\"] = values[\"kabi\"] + read_symsets(\"\/boot\/\" file, \"kabi\", \"syssymset\")\n \t    }\n \t    if (system(\"test -r \/lib\/modules\/\" kversion \"\/build\/\" file) == 0) {\n-\t\thavekabi = havekabi + read_symsets(\"\/lib\/modules\/\" kversion \"\/build\/\" file, \"kabi\", \"syssymset\")\n+\t\tvalues[\"kabi\"] = values[\"kabi\"] + read_symsets(\"\/lib\/modules\/\" kversion \"\/build\/\" file, \"kabi\", \"syssymset\")\n \t    }\n \t}\n     }\n"}
{"commit":"13cc0ea0459278fe23a54aa14bc5ac4ee3697efa","subject":"Removed CVS changelog generator","message":"Removed CVS changelog generator\n","repos":"oneminot\/libcvd,oneminot\/libcvd,oneminot\/libcvd","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- make\/log_to_changelog.awk\n+++ make\/log_to_changelog.awk\n@@ -1,169 +0,0 @@\n-BEGIN{\n-\trevision_key=0\n-}\n-\n-function gline()\n-{\n-\tif(!getline)\n-\t\terror(\"Unexpected EOF\")\n-\treturn 1\n-}\n-\n-function error(s)\n-{\n-\tprint s > \"\/dev\/stderr\"\n-\texit(1)\n-}\n-\n-\/^?\/{next}\n-\n-#Process a file entry\n-\/^Working file:\/{\n-\n-\t#Get the filename\n-\tfilename=$3\n-\t\n-\t#Find the tags\n-\twhile(gline() && !\/^symbolic names:\/);\n-\n-\t#Extract tags\n-\tdelete revision_to_tag\n-\twhile(gline() && ! \/^keyword substitution:\/)\n-\t{\n-\t\ttagname=substr($1, 1, length($1)-1)\n-\t\trevision_to_tag[$2]=tagname\n-\t}\n-\t\n-\t#Skip over the rest until the revisions\n-\twhile(gline() && !\/^----------------\/);\n-\t\n-\t#There is always at least one revision\n-\tdo\n-\t{\n-\t\t#The revision number\n-\t\tgline()\n-\t\trevision=$2\n-\n-\t\t#The commit line\n-\t\tgline()\n-\t\tauthor=substr($6, 1, length($6)-1)\n-\t\t\n-\t\t#Remove the variable line count.\n-\t\tif($9 == \"lines:\")\n-\t\t{\n-\t\t\t$10 = \"\"\n-\t\t\t$11 = \"\"\n-\t\t}\n-\t\t$0=$0\n-\t\tcommit_line=$0\n-\t\t\n-\t\t#Store the date* 10 for extra precision\n-\t\tdate = $2\" \"$3\n-\t\tgsub(\/[^0-9]+\/, \" \", date)\n-\t\tdate=mktime(date)*10\n-\t\t\n-\t\t#The commit message\n-\t\tmessage=\"\"\n-\t\twhile(gline() && !\/^[-=]+$\/)\n-\t\t\tmessage = message $0 \"\\n\"\n-\n-\t\t#The commit line is the primary key.\n-\t\t\n-\t\t#Keep track of commits\n-\t\tdate_to_line[date]=commit_line\n-\t\tline_to_message[commit_line]=message\n-\t\tline_to_author[commit_line]=author\n-\t\tline_to_files[commit_line]=line_to_files[commit_line] \" \" filename\n-\t\tline_to_revision[commit_line]=line_to_revision[commit_line] \" \" revision\n-\t\t\n-\t\t#The last file commit which has a certain tag \n-\t\t#happens just before the tag.\n-\t\tif(tag_to_date[revision_to_tag[revision]] < date)\n-\t\t\ttag_to_date[revision_to_tag[revision]] = date\n-\t}\n-\twhile(!\/^=+$\/)\n-}\n-\n-\n-END{\n-\t#Delete the null tag for untagged revisions\n-\tdelete tag_to_date[\"\"]\n-\n-\t#The last\n-\tfor(i in tag_to_date)\n-\t{\t\n-\t\t#Put the tag in just after the last commit\n-\t\tdate = tag_to_date[i] + 1\n-\t\tdate_to_line[date]=\"hello\"\n-\t\tdate_to_tag[date]=i\n-\t}\n-\n-\n-\t#Sort commits by date\n-\tnum_dates=asorti(date_to_line, sorted_dates)\n-\t\n-\t#Iterate through all commits, newest first\n-\tfor(i=num_dates; i > 0; i--)\n-\t{\n-\t\tdate = sorted_dates[i]\n-\n-\t\tif(date in date_to_tag)\n-\t\t{\n-\t\t\tprint \"==========================================\"\n-\t\t\tprint \"Repository tagged as \" date_to_tag[date]\n-\t\t\tprint \"==========================================\"\n-\t\t}\n-\t\telse\n-\t\t{\n-\t\t\tline = date_to_line[date]\n-\n-\t\t\tauthor=line_to_author[line]\n-\t\t\tmessage=line_to_message[line]\n-\n-\t\t\tfile_list=line_to_files[line]\n-\t\t\trev_list=line_to_revision[line]\n-\t\t\t\n-\t\t\tprint \"\"\n-\t\t\t#Long commits can get spread over several seconds.\n-\t\t\t#Try to concatenate entries which differ by a few \n-\t\t\t#seconds, but have the same commit messsage and \n-\t\t\t#author\n-\t\t\t#We allow 20 seconds\n-\t\t\tconcatenation=\"\"\n-\t\t\tnum_concat=0\n-\t\t\tfor(j=i-1; j>0 && \n-\t\t\t\t\t   author==line_to_author[date_to_line[sorted_dates[j]]] &&\n-\t\t\t\t\t   message==line_to_message[date_to_line[sorted_dates[j]]] &&\n-\t\t\t\t\t   date - sorted_dates[j] < 1000; j--)\n-\t\t\t{\n-\t\t\t\t#Reset i, so that the fragment appears once only.\n-\t\t\t\ti=j\n-\t\t\t\t\n-\t\t\t\t#Append to the file and revision list\n-\t\t\t\tfile_list=file_list \" \" line_to_files[date_to_line[sorted_dates[j]]];\n-\t\t\t\trev_list=rev_list \" \" line_to_revision[date_to_line[sorted_dates[j]]];\n-\n-\t\t\t\t#Make a note of teh concatenations\n-\t\t\t\tconcatenation=concatenation \", \" (date - sorted_dates[j])\/10 \"s\"\n-\t\t\t\tnum_concat++\n-\t\t\t}\n-\n-\t\t\t#Create a message based on concatenation\n-\t\t\tif(num_concat)\n-\t\t\t\tconcatenation = \" (Concatenated \" num_concat+1 \" entries at \" substr(concatenation, 3) \")\"\n-\t\t\t\n-\t\t\t#Leader line\n-\t\t\tprint strftime(\"%a %e %b, %Y %H:%M:%S\", date\/10) \" author: \" author concatenation\n-\t\t\t\n-\t\t\t#List files commit happened on\n-\t\t\tnumfiles=split(file_list, files);\n-\t\t\tsplit(rev_list, revisions);\n-\n-\t\t\tfor(j=1; j <= numfiles; j++)\n-\t\t\t\tprint \"    File: \" files[j] \" (Rev. \" revisions[j] \")\"\n-\t\t\t\n-\t\t\t#Print the commit message\n-\t\t\tprint \"\\n\" message \"\\n--------------\"\n-\t\t}\n-\t}\n-}\n"}
{"commit":"962453d6e28ac6c1be2224c32945a57b1b50499b","subject":"Commons: add replicate()","message":"Commons: add replicate()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -46,6 +46,16 @@\n         }\n     }\n     return string\n+}\n+\n+# Replicate a string.\n+function replicate(string, len,\n+                   ####\n+                   i, temp) {\n+    temp = \"\"\n+    for (i = 0; i < len; i++)\n+        temp = temp string\n+    return temp\n }\n \n # Return 1 if the array contains anything; otherwise return 0.\n"}
{"commit":"0e4ad7112fd8664b221e65ee3779ea07cb4912c7","subject":"Use named constants, not magic numbers","message":"Use named constants, not magic numbers\n","repos":"KnCMiner\/knc-asic,KnCMiner\/knc-asic,KnCMiner\/knc-asic","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- RPi_system\/get_asic_stats.awk\n+++ RPi_system\/get_asic_stats.awk\n@@ -30,7 +30,7 @@\n }\n \n END {\n-  for (asic = 0; asic < 6; asic++) {\n+  for (asic = 0; asic < NUM_ASIC; ++asic) {\n     num = asic + 1;\n     temp = \"---\";\n     if (\"\" != asic_temp[asic])\n@@ -38,7 +38,7 @@\n     if (temp <= 0)\n       temp = \"---\";\n     freq = 0.0;\n-    for (die = 0; die < 4; die++) {\n+    for (die = 0; die < NUM_DIE; ++die) {\n       freq += asic_freq[asic, die];\n     }\n     freq \/= 4.0;\n@@ -46,7 +46,7 @@\n       freq = \"---\";\n     dcdctemp = 0;\n     dcdcnum = 0;\n-    for (dcdc = 0; dcdc < 8; dcdc++) {\n+    for (dcdc = 0; dcdc < NUM_DCDC; ++dcdc) {\n       if (\"\" == asic_dcdctemp[asic, dcdc])\n         continue;\n       dcdctemp += asic_dcdctemp[asic, dcdc];\n"}
{"commit":"fcceba20cee65db3935989ede8bc641100595b03","subject":"refactor a bit and close quotation before starting code","message":"refactor a bit and close quotation before starting code","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -28,6 +28,13 @@\n \/ *}}}\/ { sub(\/ *\/, \"\") }\n \n !coding && \/^{{{\/ {\n+\n+  if (quoting) {\n+    print \"\\\\end{quotation}\";\n+    print \"\"\n+    quoting = 0;\n+  }\n+\n   print \"\\\\begin{verbatim}\";\n   coding = 1;\n   next;\n@@ -66,7 +73,7 @@\n   ## print \" ########## ITEM\"\n }\n \n-itemizing && !\/^   *\\*\/ {\n+itemizing && !inItem {\n   print \"\\\\end{itemize}\";\n   itemizing = 0;\n }\n@@ -115,12 +122,12 @@\n   next;\n }\n \n-!itemizing && \/^   *\\*\/ {\n+!itemizing && inItem {\n   print \"\\\\begin{itemize}\";\n   itemizing = 1;\n }\n \n-itemizing && \/^   *\\*\/ {\n+itemizing && inItem {\n   sub(\/^   *\\*\/, \"\\\\item\");\n   print;\n   print \"\";\n"}
{"commit":"37fe110620923d519b6b6d3336c12429d6f3b755","subject":"Add year differentation into monthly report","message":"Add year differentation into monthly report\n","repos":"pldiiw\/debts","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- debts.awk\n+++ debts.awk\n@@ -4,8 +4,8 @@\n \n $1 == \"pld\" { p += $2 }\n $1 == \"val\" { v += $2 }\n-{ \"date -d \"$3\" +%B\" | getline month\n-  monthly[month][$1] += $2\n+{ \"date -d \"$3\" '+%B %Y'\" | getline month_and_year\n+  monthly[month_and_year][$1] += $2\n   categorically[$1][$4] += $2 }\n \n END { print \"Val spent \"v\"\u20ac\"\n@@ -23,11 +23,15 @@\n         print \"Here's the detail:\"\n \n         print \"  Spendings per month:\"\n-        for ( month in monthly ) {\n-          print \"    In \"month\":\"\n-          for ( who in monthly[month] ) {\n-            print \"      \"who\" spent \"monthly[month][who]\"\u20ac.\"\n+        for ( month_and_year in monthly ) {\n+          print \"    In \"month_and_year\":\"\n+          total_for_month = 0\n+          for ( who in monthly[month_and_year] ) {\n+            spent = monthly[month_and_year][who]\n+            print \"      \"who\" spent \"spent\"\u20ac.\"\n+            total_for_month += spent\n           }\n+          print \"      Total: \"total_for_month\"\u20ac.\"\n         }\n \n         print \"  Spendings by category:\"\n"}
{"commit":"d6f4034fc0120e598c4e453b2b16eefa88e78ec3","subject":"debts.awk: Fix getline call","message":"debts.awk: Fix getline call\n\nUsing awk's getline directly on a string seems buggy, and we should call\nclose() after a getline call. Not following these guidelines led to have\nthe date command not always returning the correct month and year.\n\nThis is now fixed.\n","repos":"pldiiw\/debts","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- debts.awk\n+++ debts.awk\n@@ -4,7 +4,9 @@\n \n $1 == \"pld\" { p += $2 }\n $1 == \"val\" { v += $2 }\n-{ \"date -d \"$3\" '+%B %Y'\" | getline month_and_year\n+{ date = \"date -d \"$3\" '+%B %Y'\"\n+  date | getline month_and_year\n+  close(date)\n   monthly[month_and_year][$1] += $2\n   categorically[$1][$4] += $2 }\n \n"}
{"commit":"d8d7b94bc47f6367498a9ec718bc98231831e1cf","subject":"prevent variables from spilling out into global scope","message":"prevent variables from spilling out into global scope\n","repos":"nuex\/zodiac","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/render.awk\n+++ lib\/render.awk\n@@ -76,7 +76,7 @@\n   }\n }\n \n-function bind_data(txt,   tag, key) {\n+function bind_data(txt,   tag, key, partial_txt) {\n   if (match(txt, \/{{> ([^}]*)}}\/)) {\n     tag = substr(txt, RSTART, RLENGTH)\n     match(tag, \/([[:alnum:]_]|[?]).*[^}]\/)\n@@ -102,7 +102,7 @@\n # line.\n #\n # Nothing is returned if the file doesn't exist.\n-function load_partial(key,     partial, partial_file, line) {\n+function load_partial(key,     partial, pwd, partial_file, partial_txt, line) {\n   partial = partials[key]\n   if (partial) {\n     return partial\n@@ -128,7 +128,7 @@\n }\n \n # Check if a file exists\n-function is_file(file) {\n+function is_file(file,    check, response) {\n   check = \"[ -f \" file \" ] && echo yes\"\n   check | getline response\n   close(check)\n"}
{"commit":"01854df3d07f2976d38af2f02f744460ac381fd9","subject":"Use a better URN","message":"Use a better URN\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/rdf-n3.awk\n+++ misc\/rdf-n3.awk\n@@ -1,6 +1,8 @@\n #!\/usr\/bin\/awk -f\n BEGIN {\n     FS = \"\\t\";\n+\n+    URN           = \"urn:swn:\";\n \n     LABEL         = \"<http:\/\/www.w3.org\/2000\/01\/rdf-schema#label>\";\n     TYPE          = \"<http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type>\";\n@@ -25,8 +27,8 @@\n \n     if (nsenses == 0 || nisas == 0) next;\n \n-    print \"<urn:linked:c\" $1 \">\", TYPE,  CONCEPT,           \".\";\n-    print \"<urn:linked:c\" $1 \">\", LABEL, \"\\\"synset\" $1 \"\\\"\", \".\";\n+    print \"<\" URN \"c\" $1 \">\", TYPE,  CONCEPT,            \".\";\n+    print \"<\" URN \"c\" $1 \">\", LABEL, \"\\\"synset\" $1 \"\\\"\", \".\";\n \n     for (sense_id in senses) {\n         sense = senses[sense_id];\n@@ -43,20 +45,20 @@\n             if (!(word in windex)) {\n                 windex[word] = wcount++;\n \n-                print \"<urn:linked:w\" windex[word] \">\", TYPE,          WORD,                             \".\";\n-                print \"<urn:linked:w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<urn:linked:f\" windex[word] \">\", TYPE,          FORM,                             \".\";\n-                print \"<urn:linked:f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<urn:linked:f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<urn:linked:w\" windex[word] \">\", CANONICALFORM, \"<urn:linked:f\" windex[word] \">\", \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", TYPE,          WORD,                             \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", TYPE,          FORM,                             \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", CANONICALFORM, \"<\" URN \"f\" windex[word] \">\",     \".\";\n             }\n \n-            print \"<urn:linked:s\" sindex[sense] \">\", TYPE,          LEXICALSENSE,       \".\";\n-            print \"<urn:linked:s\" sindex[sense] \">\", LABEL,         \"\\\"\" sense \"\\\"\",    \".\";\n-            print \"<urn:linked:s\" sindex[sense] \">\", ISSENSEOF,     \"<urn:linked:w\" windex[word] \">\",  \".\";\n-            print \"<urn:linked:w\" windex[word] \">\",  SENSE,         \"<urn:linked:s\" sindex[sense] \">\", \".\";\n-            print \"<urn:linked:s\" sindex[sense] \">\", REFERENCE,     \"<urn:linked:c\" $1 \">\",            \".\";\n-            print \"<urn:linked:c\" $1 \">\",            ISREFERENCEOF, \"<urn:linked:s\" sindex[sense] \">\", \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", TYPE,          LEXICALSENSE,                  \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", LABEL,         \"\\\"\" sense \"\\\"\",               \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", ISSENSEOF,     \"<\" URN \"w\" windex[word] \">\",  \".\";\n+            print \"<\" URN \"w\" windex[word]  \">\", SENSE,         \"<\" URN \"s\" sindex[sense] \">\", \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", REFERENCE,     \"<\" URN \"c\" $1 \">\",            \".\";\n+            print \"<\" URN \"c\" $1 \">\",            ISREFERENCEOF, \"<\" URN \"s\" sindex[sense] \">\", \".\";\n         }\n \n         for (isa_id in isas) {\n@@ -74,22 +76,22 @@\n                 if (!(word in windex)) {\n                     windex[word] = wcount++;\n \n-                    print \"<urn:linked:w\" windex[word] \">\", TYPE,          WORD,              \".\";\n-                    print \"<urn:linked:w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                    print \"<urn:linked:f\" windex[word] \">\", TYPE,          FORM,              \".\";\n-                    print \"<urn:linked:f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                    print \"<urn:linked:f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n-                    print \"<urn:linked:w\" windex[word] \">\", CANONICALFORM, \"<urn:linked:f\" windex[word] \">\", \".\";\n+                    print \"<\" URN \"w\" windex[word] \">\", TYPE,          WORD,                         \".\";\n+                    print \"<\" URN \"w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",               \".\";\n+                    print \"<\" URN \"f\" windex[word] \">\", TYPE,          FORM,                         \".\";\n+                    print \"<\" URN \"f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",               \".\";\n+                    print \"<\" URN \"f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",               \".\";\n+                    print \"<\" URN \"w\" windex[word] \">\", CANONICALFORM, \"<\" URN \"f\" windex[word] \">\", \".\";\n                 }\n \n-                print \"<urn:linked:s\" sindex[isa] \">\",  TYPE,      LEXICALSENSE,      \".\";\n-                print \"<urn:linked:s\" sindex[isa] \">\",  LABEL,     \"\\\"\" isa \"\\\"\",     \".\";\n-                print \"<urn:linked:s\" sindex[isa] \">\",  ISSENSEOF, \"<urn:linked:w\" windex[word] \">\", \".\";\n-                print \"<urn:linked:w\" windex[word] \">\", SENSE,     \"<urn:linked:s\" sindex[isa] \">\",  \".\";\n+                print \"<\" URN \"s\" sindex[isa] \">\",  TYPE,      LEXICALSENSE,                 \".\";\n+                print \"<\" URN \"s\" sindex[isa] \">\",  LABEL,     \"\\\"\" isa \"\\\"\",                \".\";\n+                print \"<\" URN \"s\" sindex[isa] \">\",  ISSENSEOF, \"<\" URN \"w\" windex[word] \">\", \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", SENSE,     \"<\" URN \"s\" sindex[isa] \">\",  \".\";\n             }\n \n-            print \"<urn:linked:s\" sindex[sense] \">\", BROADER,  \"<urn:linked:s\" sindex[isa] \">\",   \".\";\n-            print \"<urn:linked:s\" sindex[isa] \">\",   NARROWER, \"<urn:linked:s\" sindex[sense] \">\", \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", BROADER,  \"<\" URN \"s\" sindex[isa] \">\",   \".\";\n+            print \"<\" URN \"s\" sindex[isa] \">\",   NARROWER, \"<\" URN \"s\" sindex[sense] \">\", \".\";\n         }\n     }\n }\n"}
{"commit":"79bf6b04296985eb722184ba4f513ee752b84627","subject":"Use a better URN","message":"Use a better URN\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/rdf-n3.awk\n+++ misc\/rdf-n3.awk\n@@ -1,6 +1,8 @@\n #!\/usr\/bin\/awk -f\n BEGIN {\n     FS = \"\\t\";\n+\n+    URN           = \"urn:swn:\";\n \n     LABEL         = \"<http:\/\/www.w3.org\/2000\/01\/rdf-schema#label>\";\n     TYPE          = \"<http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type>\";\n@@ -25,8 +27,8 @@\n \n     if (nsenses == 0 || nisas == 0) next;\n \n-    print \"<urn:linked:c\" $1 \">\", TYPE,  CONCEPT,           \".\";\n-    print \"<urn:linked:c\" $1 \">\", LABEL, \"\\\"synset\" $1 \"\\\"\", \".\";\n+    print \"<\" URN \"c\" $1 \">\", TYPE,  CONCEPT,            \".\";\n+    print \"<\" URN \"c\" $1 \">\", LABEL, \"\\\"synset\" $1 \"\\\"\", \".\";\n \n     for (sense_id in senses) {\n         sense = senses[sense_id];\n@@ -43,20 +45,20 @@\n             if (!(word in windex)) {\n                 windex[word] = wcount++;\n \n-                print \"<urn:linked:w\" windex[word] \">\", TYPE,          WORD,                             \".\";\n-                print \"<urn:linked:w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<urn:linked:f\" windex[word] \">\", TYPE,          FORM,                             \".\";\n-                print \"<urn:linked:f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<urn:linked:f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<urn:linked:w\" windex[word] \">\", CANONICALFORM, \"<urn:linked:f\" windex[word] \">\", \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", TYPE,          WORD,                             \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", TYPE,          FORM,                             \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", CANONICALFORM, \"<\" URN \"f\" windex[word] \">\",     \".\";\n             }\n \n-            print \"<urn:linked:s\" sindex[sense] \">\", TYPE,          LEXICALSENSE,       \".\";\n-            print \"<urn:linked:s\" sindex[sense] \">\", LABEL,         \"\\\"\" sense \"\\\"\",    \".\";\n-            print \"<urn:linked:s\" sindex[sense] \">\", ISSENSEOF,     \"<urn:linked:w\" windex[word] \">\",  \".\";\n-            print \"<urn:linked:w\" windex[word] \">\",  SENSE,         \"<urn:linked:s\" sindex[sense] \">\", \".\";\n-            print \"<urn:linked:s\" sindex[sense] \">\", REFERENCE,     \"<urn:linked:c\" $1 \">\",            \".\";\n-            print \"<urn:linked:c\" $1 \">\",            ISREFERENCEOF, \"<urn:linked:s\" sindex[sense] \">\", \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", TYPE,          LEXICALSENSE,                  \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", LABEL,         \"\\\"\" sense \"\\\"\",               \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", ISSENSEOF,     \"<\" URN \"w\" windex[word] \">\",  \".\";\n+            print \"<\" URN \"w\" windex[word]  \">\", SENSE,         \"<\" URN \"s\" sindex[sense] \">\", \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", REFERENCE,     \"<\" URN \"c\" $1 \">\",            \".\";\n+            print \"<\" URN \"c\" $1 \">\",            ISREFERENCEOF, \"<\" URN \"s\" sindex[sense] \">\", \".\";\n         }\n \n         for (isa_id in isas) {\n@@ -74,22 +76,22 @@\n                 if (!(word in windex)) {\n                     windex[word] = wcount++;\n \n-                    print \"<urn:linked:w\" windex[word] \">\", TYPE,          WORD,              \".\";\n-                    print \"<urn:linked:w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                    print \"<urn:linked:f\" windex[word] \">\", TYPE,          FORM,              \".\";\n-                    print \"<urn:linked:f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                    print \"<urn:linked:f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n-                    print \"<urn:linked:w\" windex[word] \">\", CANONICALFORM, \"<urn:linked:f\" windex[word] \">\", \".\";\n+                    print \"<\" URN \"w\" windex[word] \">\", TYPE,          WORD,                         \".\";\n+                    print \"<\" URN \"w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",               \".\";\n+                    print \"<\" URN \"f\" windex[word] \">\", TYPE,          FORM,                         \".\";\n+                    print \"<\" URN \"f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",               \".\";\n+                    print \"<\" URN \"f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",               \".\";\n+                    print \"<\" URN \"w\" windex[word] \">\", CANONICALFORM, \"<\" URN \"f\" windex[word] \">\", \".\";\n                 }\n \n-                print \"<urn:linked:s\" sindex[isa] \">\",  TYPE,      LEXICALSENSE,      \".\";\n-                print \"<urn:linked:s\" sindex[isa] \">\",  LABEL,     \"\\\"\" isa \"\\\"\",     \".\";\n-                print \"<urn:linked:s\" sindex[isa] \">\",  ISSENSEOF, \"<urn:linked:w\" windex[word] \">\", \".\";\n-                print \"<urn:linked:w\" windex[word] \">\", SENSE,     \"<urn:linked:s\" sindex[isa] \">\",  \".\";\n+                print \"<\" URN \"s\" sindex[isa] \">\",  TYPE,      LEXICALSENSE,                 \".\";\n+                print \"<\" URN \"s\" sindex[isa] \">\",  LABEL,     \"\\\"\" isa \"\\\"\",                \".\";\n+                print \"<\" URN \"s\" sindex[isa] \">\",  ISSENSEOF, \"<\" URN \"w\" windex[word] \">\", \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", SENSE,     \"<\" URN \"s\" sindex[isa] \">\",  \".\";\n             }\n \n-            print \"<urn:linked:s\" sindex[sense] \">\", BROADER,  \"<urn:linked:s\" sindex[isa] \">\",   \".\";\n-            print \"<urn:linked:s\" sindex[isa] \">\",   NARROWER, \"<urn:linked:s\" sindex[sense] \">\", \".\";\n+            print \"<\" URN \"s\" sindex[sense] \">\", BROADER,  \"<\" URN \"s\" sindex[isa] \">\",   \".\";\n+            print \"<\" URN \"s\" sindex[isa] \">\",   NARROWER, \"<\" URN \"s\" sindex[sense] \">\", \".\";\n         }\n     }\n }\n"}
{"commit":"3d90737625e8b5b067bfd781f6f496b5473c9d72","subject":"Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR.","message":"Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR.\n\nReviewed by:\tkib\nMFC after:\t1 week\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"33b7599560445263bb677d5f765c0db13e1b2972","subject":"Fix typo.","message":"Fix typo.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2domainlist.awk\n+++ gfwlist2domainlist.awk\n@@ -80,7 +80,7 @@\n \t\t# Remove [...]\n \t\tgsub(\/\\[.*\\]\\+\/, \"\", line)\n \n-\t\t# Remove everything from \\\/ in regex(\/ in plaint text)\n+\t\t# Remove everything from \\\/ in regex(\/ in plain text)\n \t\tsub(\/\\\\\\\/.*\/, \"\", line)\n \n \t\t# Replace \\. to .\n"}
{"commit":"6eb89e53e0e9dbd492ade7e79dabe2e1ca9b6146","subject":"convert edge lables from quoted strings to 'html-like' to highlight losses","message":"convert edge lables from quoted strings to 'html-like' to highlight losses\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/deltadot.awk\n+++ scripts\/deltadot.awk\n@@ -30,11 +30,10 @@\n \n # associate the count with an edge\n function parse(str, arr){\n-    # split(str, a, \"(\")  # can't count on label being paren-free anymore\n-    # arr[a[1]] = substr(a[2], 1, index(a[2], \")\")-1)\n-    n = index($0, \/ [(][[:digit:]]*[)]>];$\/)\n+    # can't count on label being paren-free anymore\n+    n = match($0, \/ [(][[:digit:]]*[)]>];$\/)\n     if(n>0)\n-        arr[substr($0,1,n)] = substr($0, n+2, length($0)-4)\n+        arr[substr($0,1,n)] = substr($0, n+2, length($0)-n-5)\n }\n \n # strip metadata from filename\n@@ -46,11 +45,11 @@\n BEGIN { NOCOUNTS=0}\n \n # collect the edges from both files\n-NR==FNR && \/ -> \/ {\n+NR==FNR && \/^[^ ]+ -> [^ ]+ \/ {\n \tlabel1 = FILENAME;\n \tparse($0, edge1)\n }\n-NR!=FNR && \/ -> \/ {\n+NR!=FNR && \/^[^ ]+ -> [^ ]+ \/ {\n \tlabel2 = FILENAME;\n \tparse($0, edge2)\n }\n@@ -71,7 +70,9 @@\n \t\t\tdelete edge2[e]\n \t\t}\n \t}\n-\tfor(e in edge2) edges[e \"(\" edge2[e] \")\\\", color=\\\"blue\\\"];\"];\n+\t# only edges not in first file\n+\tfor(e in edge2)\n+\t\tedges[e \"(\" edge2[e] \")>, color=\\\"blue\\\"];\"];\n \n \tprint \"digraph {\"\n \tprint \"rankdir=LR;\"\n"}
{"commit":"c6b337bba277c98f271c58bd0f2c3cc46d1a4909","subject":"Help: fix reference table","message":"Help: fix reference table\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -213,7 +213,7 @@\n     for (code in Locale)\n         if (Locale[code][\"support\"] != \"unstable\")\n             num++\n-    rows = int(num \/ 3) + 1\n+    rows = int(num \/ 3) + (num % 3 ? 1 : 0)\n     cols[0][0] = cols[1][0] = cols[2][0] = NULLSTR\n     i = 0\n     saveSortedIn = PROCINFO[\"sorted_in\"]\n"}
{"commit":"af09d6d2258b7edf5045473273283c9bc16b9b68","subject":"Shorten length of dateType string","message":"Shorten length of dateType string\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -108,9 +108,12 @@\n \n # Grab originalDate\n # <originalAirDate>1978-03-25<\/originalAirDate>\n+# <originalPremiereDate>1978-01-08<\/originalPremiereDate>\n+# <originalReleaseDate>2017-12-25<\/originalReleaseDate>\n \/<original.*Date>\/ {\n     split ($0,fld,\"[<>]\")\n     dateType = fld[2]\n+    sub (\/original\/,\"\",dateType)\n     originalDate = fld[3]\n     # print \"dateType = \" dateType\n     # print \"originalDate = \" originalDate\n"}
{"commit":"9506db6bb5d1c2d197c6bddbd601448de0daf506","subject":"update ext\/mwg_pp.awk","message":"update ext\/mwg_pp.awk\n","repos":"akinomyoga\/ble.sh,akinomyoga\/ble.sh,akinomyoga\/ble.sh,akinomyoga\/ble.sh","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ext\/mwg_pp.awk\n+++ ext\/mwg_pp.awk\n@@ -2,88 +2,88 @@\n \n # 20120726 \u884c\u756a\u53f7\u51fa\u529b\u6a5f\u80fd (\u4f8b: '#line 12 a.cpp')\n \n-function awk_getfiledir(_ret){\n-  _ret=m_lineno_cfile;\n-  sub(\/[^\\\/\\\\]+$\/,\"\",_ret);\n-  if(_ret==\"\/\")return \"\/\";\n-  sub(\/[\\\/\\\\]$\/,\"\",_ret);\n-  return _ret\n-}\n-\n-function print_error(title,msg){\n+function awk_getfiledir(_ret) {\n+  _ret = m_lineno_cfile;\n+  sub(\/[^\\\/\\\\]+$\/, \"\", _ret);\n+  if (_ret == \"\/\") return \"\/\";\n+  sub(\/[\\\/\\\\]$\/, \"\", _ret);\n+  return _ret;\n+}\n+\n+function print_error(title, msg) {\n   global_errorCount++;\n-  print \"\\33[1;31m\" title \"!\\33[m \" msg > \"\/dev\/stderr\"\n-}\n-\n-function trim(text){\n-  #gsub(\/^[ \\t]+|[ \\t]+$\/,\"\",text);\n-  gsub(\/^[[:space:]]+|[[:space:]]+$\/,\"\",text);\n-  return text\n-}\n-\n-function slice(text,start,end, _l){\n-  _l=length(text);\n-  if(start<0)start+=_l;\n-  end=end==null?_l: end<0?end+_l: end;\n-\n-  return substr(text,start+1,end-start);\n-}\n-\n-#function head_token(text,ret,  _i,_l){\n-#  _i=match(text,\/[^-a-zA-Z\\:0-9_]\/);\n-#  _l=_i?_i-1:length(text);\n-#  ret[0]=trim(substr(text,1,_l));\n-#  ret[1]=trim(substr(text,_l+1));\n+  print \"\\33[1;31m\" title \"!\\33[m \" msg > \"\/dev\/stderr\";\n+}\n+\n+function trim(text) {\n+  #gsub(\/^[ \\t]+|[ \\t]+$\/, \"\", text);\n+  gsub(\/^[[:space:]]+|[[:space:]]+$\/, \"\", text);\n+  return text;\n+}\n+\n+function slice(text, start, end, _l) {\n+  _l = length(text);\n+  if (start < 0) start += _l;\n+  end = end == null ? _l : end < 0 ? end + _l : end;\n+\n+  return substr(text, start + 1, end - start);\n+}\n+\n+#function head_token(text, ret, _, _i, _l) {\n+#  _i = match(text, \/[^-a-zA-Z:0-9_]\/);\n+#  _l = _i ? _i - 1 : length(text);\n+#  ret[0] = trim(substr(text, 1, _l));\n+#  ret[1] = trim(substr(text, _l + 1));\n #}\n \n #-------------------------------------------------------------------------------\n-function unescape(text, _ret,_capt){\n-  _ret=\"\";\n-  while(match(text,\/\\\\(.)\/,_capt)>0){\n-    _ret=_ret substr(text,1,RSTART-1) _capt[1];\n-    text=substr(text,RSTART+RLENGTH);\n+function unescape(text, _, _ret, _capt) {\n+  _ret = \"\";\n+  while (match(text, \/\\\\(.)\/, _capt) > 0) {\n+    _ret = _ret substr(text, 1, RSTART - 1) _capt[1];\n+    text = substr(text, RSTART + RLENGTH);\n   }\n   return _ret text;\n }\n \n #-------------------------------------------------------------------------------\n # replace\n-function replace(text,before,after, _is_tmpl,_is_head,_captures,_rep,_ltext,_rtext){\n-  _is_tmpl=(match(after,\/\\$[0-9]+\/)>0);\n-  _is_head=(substr(before,1,1)==\"^\");\n-\n-  _ret=\"\";\n-  while(match(text,before,_captures)>0){\n-    _ltext=substr(text,1,RSTART-1);\n-    _rtext=substr(text,RSTART+RLENGTH);\n-\n-    _rep=_is_tmpl?rep_instantiate_tmpl(after,_captures):after;\n-\n-    _ret=_ret _ltext _rep;\n-    text=_rtext;\n-\n-    if(_is_head)break;\n-    if(RLENGTH==0){\n-      _ret=_ret substr(text,1,1);\n-      text=substr(text,2);\n-      if(length(text)==0)break;\n+function replace(text, before, after, _is_tmpl, _is_head, _captures, _rep, _ltext, _rtext) {\n+  _is_tmpl = (match(after, \/\\$[0-9]+\/) > 0);\n+  _is_head = (substr(before, 1, 1) == \"^\");\n+\n+  _ret = \"\";\n+  while (match(text, before, _captures) > 0) {\n+    _ltext = substr(text, 1, RSTART - 1);\n+    _rtext = substr(text, RSTART + RLENGTH);\n+\n+    _rep = _is_tmpl ? rep_instantiate_tmpl(after, _captures) : after;\n+\n+    _ret = _ret _ltext _rep;\n+    text = _rtext;\n+\n+    if (_is_head) break;\n+    if (RLENGTH == 0) {\n+      _ret = _ret substr(text, 1, 1);\n+      text = substr(text, 2);\n+      if (length(text) == 0) break;\n     }\n   }\n   return _ret text;\n }\n-function rep_instantiate_tmpl(text,captures,  _ret,_num,_insert){\n-  _ret=\"\";\n-  while(match(text,\/\\\\(.)|\\$([0-9]+)\/,_num)){\n-    #print \"dbg: $ captured: RSTART=\" RSTART \"; num=\" _num[1] \"; captures[num]=\" captures[_num[1]] > \"\/dev\/stderr\"\n-    if(_num[2]!=\"\"){\n-      _insert=captures[_num[2]];\n-    }else if(_num[1]~\/^[$\\\\]$\/){\n-      _insert=_num[1];\n-    }else{\n-      _insert=_num[0];\n-    }\n-    _ret=_ret substr(text,1,RSTART-1) _insert;\n-    text=substr(text,RSTART+RLENGTH);\n+function rep_instantiate_tmpl(text, captures, _, _ret, _num, _insert) {\n+  _ret = \"\";\n+  while (match(text, \/\\\\(.)|\\$([0-9]+)\/, _num)) {\n+    #print \"dbg: $ captured: RSTART = \" RSTART \"; num = \" _num[1] \"; captures[num] = \" captures[_num[1]] > \"\/dev\/stderr\"\n+    if (_num[2] != \"\") {\n+      _insert = captures[_num[2]];\n+    } else if (_num[1] ~ \/^[$\\\\]$\/) {\n+      _insert = _num[1];\n+    } else {\n+      _insert = _num[0];\n+    }\n+    _ret = _ret substr(text, 1, RSTART - 1) _insert;\n+    text = substr(text, RSTART + RLENGTH);\n   }\n   return _ret text;\n }\n@@ -874,250 +874,250 @@\n #===============================================================================\n #  Parameter Expansion\n #-------------------------------------------------------------------------------\n-function inline_expand(text, _ret,_ltext,_rtext,_mtext,_name,_r,_s,_a,_caps){\n-  _ret=\"\";\n-  while(match(text,\/\\${([^{}]|\\\\.)+}|\\$\"([^\"]|\\\\.)+\"\/)>0){\n-    _ltext=substr(text,1,RSTART-1);\n-    _mtext=substr(text,RSTART,RLENGTH);\n-    _rtext=substr(text,RSTART+RLENGTH);\n-    _name=unescape(slice(_mtext,2,-1));\n-    if(match(_name,\/^[-a-zA-Z0-9_]+$\/)>0){                     # ${key}\n-      _r=\"\" d_data[_name];\n-    }else if(match(_name,\/^[-a-zA-Z0-9_]+\\:-\/)>0){             # ${key:-alter}\n-      _s[\"key\"]=slice(_name,0,RLENGTH-2);\n-      _s[\"alter\"]=slice(_name,RLENGTH);\n-      _r=\"\" d_data[_s[\"key\"]];\n-      if(_r==\"\")_r=_s[\"alter\"];\n-    }else if(match(_name,\/^[-a-zA-Z0-9_]+\\:\\+\/)>0){            # ${key:+value}\n-      _s[\"key\"]=slice(_name,0,RLENGTH-2);\n-      _s[\"value\"]=slice(_name,RLENGTH);\n-      _r=\"\" d_data[_s[\"key\"]];\n-      _r=_r==\"\"?\"\":_s[\"value\"];\n-    }else if(match(_name,\/^[-a-zA-Z0-9_]+\\:\\?\/)>0){            # ${key:?warn}\n-      _s[\"key\"]=slice(_name,0,RLENGTH-2);\n-      _s[\"warn\"]=slice(_name,RLENGTH);\n-      _r=\"\" d_data[_s[\"key\"]];\n-      if(_r==\"\"){\n+function inline_expand(text, _, _ret, _ltext, _rtext, _mtext, _name, _r, _s, _a, _caps) {\n+  _ret = \"\";\n+  while (match(text, \/\\${([^{}]|\\\\.)+}|\\$\"([^\"]|\\\\.)+\"\/) > 0) {\n+    _ltext = substr(text, 1, RSTART - 1);\n+    _mtext = substr(text, RSTART, RLENGTH);\n+    _rtext = substr(text, RSTART + RLENGTH);\n+    _name = unescape(slice(_mtext, 2, -1));\n+    if (match(_name, \/^[-a-zA-Z0-9_]+$\/) > 0) {                     # ${key}\n+      _r = \"\" d_data[_name];\n+    } else if (match(_name, \/^[-a-zA-Z0-9_]+:-\/) > 0) {             # ${key:-alter}\n+      _s[\"key\"] = slice(_name, 0, RLENGTH - 2);\n+      _s[\"alter\"] = slice(_name, RLENGTH);\n+      _r = \"\" d_data[_s[\"key\"]];\n+      if (_r == \"\") _r = _s[\"alter\"];\n+    } else if (match(_name, \/^[-a-zA-Z0-9_]+:\\+\/) > 0) {            # ${key:+value}\n+      _s[\"key\"] = slice(_name, 0, RLENGTH - 2);\n+      _s[\"value\"] = slice(_name, RLENGTH);\n+      _r = \"\" d_data[_s[\"key\"]];\n+      _r = _r == \"\" ? \"\" : _s[\"value\"];\n+    } else if (match(_name, \/^[-a-zA-Z0-9_]+:\\?\/) > 0) {            # ${key:?warn}\n+      _s[\"key\"] = slice(_name, 0, RLENGTH - 2);\n+      _s[\"warn\"] = slice(_name, RLENGTH);\n+      _r = \"\" d_data[_s[\"key\"]];\n+      if (_r == \"\") {\n         print \"(parameter expansion:\" _mtext \")! \" _s[\"warn\"] > \"\/dev\/stderr\"\n-        _ltext=_ltext _mtext;\n-        _r=\"\";\n-      }\n-    }else if(match(_name,\/^([-a-zA-Z0-9_]+)\\:([0-9]+)\\:([0-9]+)$\/,_caps)>0){ # ${key:start:length}\n-      _r=substr(d_data[_caps[1]],_caps[2]+1,_caps[3]);\n-    }else if(match(_name,\/^([-a-zA-Z0-9_]+)(\\\/\\\/?)(([^\/]|\\\\.)+)\\\/(.*)$\/,_caps)>0){ # ${key\/before\/after}\n-      _r=d_data[_caps[1]];\n-      if(_caps[3]==\"\/\")\n-        sub(_caps[3],_caps[5],_r);\n+        _ltext = _ltext _mtext;\n+        _r = \"\";\n+      }\n+    } else if (match(_name, \/^([-a-zA-Z0-9_]+):([0-9]+):([0-9]+)$\/, _caps) > 0) { # ${key:start:length}\n+      _r = substr(d_data[_caps[1]], _caps[2] + 1, _caps[3]);\n+    } else if (match(_name, \/^([-a-zA-Z0-9_]+)(\\\/\\\/?)(([^\/]|\\\\.)+)\\\/(.*)$\/, _caps) > 0) { # ${key\/before\/after}\n+      _r = d_data[_caps[1]];\n+      if (_caps[3] == \"\/\")\n+        sub(_caps[3], _caps[5], _r);\n       else\n-        gsub(_caps[3],_caps[5],_r);\n-    }else if(match(_name,\/^([-a-zA-Z0-9_]+)(##?|%%?)(.+)$\/,_caps)>0){ # ${key#head} ${key%tail}\n-      if(length(_caps[2])==2){\n+        gsub(_caps[3], _caps[5], _r);\n+    } else if (match(_name, \/^([-a-zA-Z0-9_]+)(##?|%%?)(.+)$\/, _caps) > 0) { # ${key#head} ${key%tail}\n+      if (length(_caps[2]) == 2) {\n         # TODO\n-        gsub(\/\\.\/,\/\\.\/,_caps[3]);\n-        gsub(\/\\*\/,\/.+\/,_caps[3]);\n-        gsub(\/\\?\/,\/.\/,_caps[3]);\n-      }\n-      if(_caps[2]==\"#\"||_caps[2]==\"##\"){\n-        _caps[3]=\"^\" _caps[3];\n-      }else{\n-        _caps[3]=_caps[3] \"$\";\n-      }\n-\n-      _r=d_data[_caps[1]];\n-      sub(_caps[3],\"\",_r);\n-    }else if(match(_name,\/^\\#[-a-zA-Z0-9_]+$\/)>0){             # ${#key}\n-      _r=length(\"\" d_data[substr(_name,2)]);\n-    }else if(match(_name,\/^([-a-zA-Z0-9_]+)(\\..+)$\/,_caps)>0){ # ${key.modifiers}\n-      _r=modify_text(d_data[_caps[1]],_caps[2]);\n-    }else if(match(_name,\/^\\.[-a-zA-Z0-9_]+.\/)>0){             # ${.function:args...}\n-      match(_name,\/^\\.[-a-zA-Z0-9_]+.\/);\n-      _s[\"i\"]=RLENGTH;\n-      _s[\"func\"]=substr(_name,2,_s[\"i\"]-2);\n-      _s[\"sep\"] =substr(_name,_s[\"i\"],1);\n-      _s[\"args\"]=substr(_name,_s[\"i\"]+1);\n-      _s[\"argc\"]=split(_s[\"args\"],_a,_s[\"sep\"]);\n-      if(_s[\"func\"]==\"for\"&&_s[\"argc\"]==5){\n-        _r=inline_function_for(_a);\n-      }else if(_s[\"func\"]==\"sep_for\"&&_s[\"argc\"]==5){\n-        _r=inline_function_sepfor(_a);\n-      }else if(_s[\"func\"]==\"for_sep\"&&_s[\"argc\"]==5){\n-        _r=inline_function_forsep(_a);\n-      }else if(_s[\"func\"]==\"eval\"&&_s[\"argc\"]==1){\n-        _r=inline_function_eval(_a);\n-      }else{\n-        print \"(parameter function:\" _s[\"func\"] \")! unrecognized function.\" > \"\/dev\/stderr\"\n-        _r=_mtext;\n-      }\n-    }else{\n-      print \"(parameter expansion:\" _mtext \")! unrecognized expansion.\" > \"\/dev\/stderr\"\n-      _r=_mtext;\n-    }\n-\n-    if(_mtext ~ \/^\\${\/){\n+        gsub(\/\\.\/, \/\\.\/, _caps[3]);\n+        gsub(\/\\*\/, \/.+\/, _caps[3]);\n+        gsub(\/\\?\/, \/.\/, _caps[3]);\n+      }\n+      if (_caps[2] == \"#\" || _caps[2] == \"##\") {\n+        _caps[3] = \"^\" _caps[3];\n+      } else {\n+        _caps[3] = _caps[3] \"$\";\n+      }\n+\n+      _r = d_data[_caps[1]];\n+      sub(_caps[3], \"\", _r);\n+    } else if (match(_name, \/^#[-a-zA-Z0-9_]+$\/) > 0) {             # ${#key}\n+      _r = length(\"\" d_data[substr(_name, 2)]);\n+    } else if (match(_name, \/^([-a-zA-Z0-9_]+)(\\..+)$\/, _caps) > 0) { # ${key.modifiers}\n+      _r = modify_text(d_data[_caps[1]], _caps[2]);\n+    } else if (match(_name, \/^\\.[-a-zA-Z0-9_]+.\/) > 0) {             # ${.function:args...}\n+      match(_name, \/^\\.[-a-zA-Z0-9_]+.\/);\n+      _s[\"i\"] = RLENGTH;\n+      _s[\"func\"] = substr(_name, 2, _s[\"i\"] - 2);\n+      _s[\"sep\"] =substr(_name, _s[\"i\"], 1);\n+      _s[\"args\"] = substr(_name, _s[\"i\"] + 1);\n+      _s[\"argc\"] = split(_s[\"args\"], _a, _s[\"sep\"]);\n+      if (_s[\"func\"] == \"for\" && _s[\"argc\"] == 5) {\n+        _r = inline_function_for(_a);\n+      } else if (_s[\"func\"] == \"sep_for\" && _s[\"argc\"] == 5) {\n+        _r = inline_function_sepfor(_a);\n+      } else if (_s[\"func\"] == \"for_sep\" && _s[\"argc\"] == 5) {\n+        _r = inline_function_forsep(_a);\n+      } else if (_s[\"func\"] == \"eval\" && _s[\"argc\"] == 1) {\n+        _r = inline_function_eval(_a);\n+      } else {\n+        print \"(parameter function:\" _s[\"func\"] \")! unrecognized function.\" > \"\/dev\/stderr\";\n+        _r = _mtext;\n+      }\n+    } else {\n+      print \"(parameter expansion:\" _mtext \")! unrecognized expansion.\" > \"\/dev\/stderr\";\n+      _r = _mtext;\n+    }\n+\n+    if (_mtext ~ \/^\\${\/) {\n       # enable re-expansion ${}\n-      _ret=_ret _ltext;\n-      text=_r _rtext;\n-    }else{\n+      _ret = _ret _ltext;\n+      text = _r _rtext;\n+    } else {\n       # disable re-expansion $\"\"\n-      _ret=_ret _ltext _r;\n-      text=_rtext;\n+      _ret = _ret _ltext _r;\n+      text = _rtext;\n     }\n   }\n   return _ret text;\n }\n \n-function inline_function_forsep(args,  _r,_sep){\n-  _sep=args[5];\n-  _r=inline_function_for(args);\n-  return _r==\"\"?\"\":_r _sep;\n-}\n-function inline_function_sepfor(args,  _r,_sep){\n-  _sep=args[5];\n-  _r=inline_function_for(args);\n-  return _r==\"\"?\"\":_sep _r;\n-}\n-function inline_function_for(args, _rex_i,_i0,_iM,_field,_sep,_i,_r,_t){\n+function inline_function_forsep(args, _, _r, _sep) {\n+  _sep = args[5];\n+  _r = inline_function_for(args);\n+  return _r == \"\" ? \"\" : _r _sep;\n+}\n+function inline_function_sepfor(args, _, _r, _sep) {\n+  _sep = args[5];\n+  _r = inline_function_for(args);\n+  return _r == \"\" ? \"\" : _sep _r;\n+}\n+function inline_function_for(args, _, _rex_i, _i0, _iM, _field, _sep, _i, _r, _t) {\n   # ${for:%i%:1:9:typename A%i%:,}\n-  _rex_i=args[1];\n-  _i0=int(eval_expr(args[2]));\n-  _iM=int(eval_expr(args[3]));\n-  _field=args[4];\n-  _sep=args[5];\n-\n-  _r=\"\";\n-  for(_i=_i0;_i<_iM;_i++){\n-    _t=_field;\n-    gsub(_rex_i,_i,_t);\n-    _r=_i==_i0?_t:_r _sep _t;\n+  _rex_i = args[1];\n+  _i0 = int(eval_expr(args[2]));\n+  _iM = int(eval_expr(args[3]));\n+  _field = args[4];\n+  _sep = args[5];\n+\n+  _r = \"\";\n+  for (_i = _i0; _i < _iM; _i++) {\n+    _t = _field;\n+    gsub(_rex_i, _i, _t);\n+    _r = _i == _i0?_t:_r _sep _t;\n   }\n   return _r;\n }\n-function inline_function_eval(args){\n+function inline_function_eval(args) {\n   return eval_expr(args[1]);\n }\n \n #===============================================================================\n #   mwg.pp text modification\n #-------------------------------------------------------------------------------\n-function modify_text__replace0(text,before,after,flags){\n-  if(index(flags,\"R\")){\n-    return replace(text,before,after);\n-  }else{\n-    gsub(before,after,text);\n+function modify_text__replace0(text, before, after, flags) {\n+  if (index(flags, \"R\")) {\n+    return replace(text, before, after);\n+  } else {\n+    gsub(before, after, text);\n     return text;\n   }\n }\n \n-function modify_text__replace(content,before,after,flags){\n-  if(index(flags,\"m\")){\n-    _jlen=split(content,_lines,\"\\n\");\n-    content=modify_text__replace0(_lines[1],before,after,flags);\n-    #print_error(\"mwg_pp(modify_text)\",\"replace('\" _lines[1] \"','\" before \"','\" after \"') = '\" content \"'\");\n-    for(_j=1;_j<_jlen;_j++)\n-      content=content \"\\n\" modify_text__replace0(_lines[_j+1],before,after,flags);\n-  }else{\n-    content=modify_text__replace0(content,before,after,flags);\n+function modify_text__replace(content, before, after, flags) {\n+  if (index(flags, \"m\")) {\n+    _jlen = split(content, _lines, \"\\n\");\n+    content = modify_text__replace0(_lines[1], before, after, flags);\n+    #print_error(\"mwg_pp(modify_text)\", \"replace('\" _lines[1] \"','\" before \"','\" after \"') = '\" content \"'\");\n+    for (_j = 1; _j < _jlen; _j++)\n+      content = content \"\\n\" modify_text__replace0(_lines[_j + 1], before, after, flags);\n+  } else {\n+    content = modify_text__replace0(content, before, after, flags);\n   }\n   return content;\n }\n \n-function modify_text(content,args, _len,_i,_m,_s,_c, _j,_jlen,_lines){\n+function modify_text(content, args, _len, _i, _m, _s, _c, _j, _jlen, _lines) {\n   # _len: length of args\n   # _i: index in args\n   # _c: current character in args\n   # _m: current context mode in args\n   # _s: data store\n \n-  _m=\"\";\n-  _len=length(args);\n-  for(_i=0;_i<_len;_i++){\n-    _c=substr(args,_i+1,1);\n+  _m = \"\";\n+  _len = length(args);\n+  for (_i = 0; _i < _len; _i++) {\n+    _c = substr(args, _i + 1, 1);\n     #-------------------------------------------------\n-    if(_m==\"c\"){\n-      if(_c==\"r\"||_c==\"R\"){\n-        _m=\"r0\";\n-        _s[\"flags\"]=_c==\"R\"?_c:\"\";\n-        _s[\"sep\"]=\"\";\n-        _s[\"rep_before\"]=\"\";\n-        _s[\"rep_after\"]=\"\";\n-      }else if(_c==\"f\"){\n-        _m=\"f0\";\n-        _s[\"sep\"]=\"\";\n-        _s[\"for_var\"]=\"\";\n-        _s[\"for_begin\"]=\"\";\n-        _s[\"for_end\"]=\"\";\n-      }else if(_c==\"i\"){\n-        content=inline_expand(content);\n-        _m=\"\";\n-      }else{\n+    if (_m == \"c\") {\n+      if (_c == \"r\" || _c == \"R\") {\n+        _m = \"r0\";\n+        _s[\"flags\"] = _c == \"R\"?_c:\"\";\n+        _s[\"sep\"] = \"\";\n+        _s[\"rep_before\"] = \"\";\n+        _s[\"rep_after\"] = \"\";\n+      } else if (_c == \"f\") {\n+        _m = \"f0\";\n+        _s[\"sep\"] = \"\";\n+        _s[\"for_var\"] = \"\";\n+        _s[\"for_begin\"] = \"\";\n+        _s[\"for_end\"] = \"\";\n+      } else if (_c == \"i\") {\n+        content = inline_expand(content);\n+        _m = \"\";\n+      } else {\n         print \"unrecognized expand fun '\" _c \"'\" > \"\/dev\/stderr\"\n       }\n     #-------------------------------------------------\n     # r, R: replace\n-    }else if(_m==\"r0\"){\n-      _s[\"sep\"]=_c;\n-      _m=\"r1\";\n-    }else if(_m==\"r1\"){\n-      if(_c==_s[\"sep\"]){\n-        _m=\"r2\";\n-      }else{\n-        _s[\"rep_before\"]=_s[\"rep_before\"] _c;\n-      }\n-    }else if(_m==\"r2\"){\n-      if(_c==_s[\"sep\"]){\n+    } else if (_m == \"r0\") {\n+      _s[\"sep\"] = _c;\n+      _m = \"r1\";\n+    } else if (_m == \"r1\") {\n+      if (_c == _s[\"sep\"]) {\n+        _m = \"r2\";\n+      } else {\n+        _s[\"rep_before\"] = _s[\"rep_before\"] _c;\n+      }\n+    } else if (_m == \"r2\") {\n+      if (_c == _s[\"sep\"]) {\n \n         # check flag m\n-        _c=substr(args,_i+2,1);\n-        if(_c==\"m\"){\n-          _s[\"flags\"]=_s[\"flags\"] \"m\";\n+        _c = substr(args, _i + 2, 1);\n+        if (_c == \"m\") {\n+          _s[\"flags\"] = _s[\"flags\"] \"m\";\n           _i++;\n         }\n \n-        content=modify_text__replace(content,_s[\"rep_before\"],_s[\"rep_after\"],_s[\"flags\"]);\n-        _m=\"\";\n-      }else{\n-        _s[\"rep_after\"]=_s[\"rep_after\"] _c;\n+        content = modify_text__replace(content, _s[\"rep_before\"], _s[\"rep_after\"], _s[\"flags\"]);\n+        _m = \"\";\n+      } else {\n+        _s[\"rep_after\"] = _s[\"rep_after\"] _c;\n       }\n     #-------------------------------------------------\n     # f: for\n-    }else if(_m==\"f0\"){\n-      _s[\"sep\"]=_c;\n-      _m=\"f1\";\n-    }else if(_m==\"f1\"){\n-      if(_c!=_s[\"sep\"]){\n-        _s[\"for_var\"]=_s[\"for_var\"] _c;\n-      }else{\n-        _m=\"f2\";\n-      }\n-    }else if(_m==\"f2\"){\n-      if(_c!=_s[\"sep\"]){\n-        _s[\"for_begin\"]=_s[\"for_begin\"] _c;\n-      }else{\n-        _s[\"for_begin\"]=int(eval_expr(_s[\"for_begin\"]));\n-        _m=\"f3\";\n-      }\n-    }else if(_m==\"f3\"){\n-      if(_c!=_s[\"sep\"]){\n-        _s[\"for_end\"]=_s[\"for_end\"] _c;\n-      }else{\n-        _s[\"for_end\"]=int(eval_expr(_s[\"for_end\"]));\n-        _m=\"\";\n-\n-        _s[\"content\"]=content;\n-        content=\"\";\n-        for(_s[\"i\"]=_s[\"for_begin\"];_s[\"i\"]<_s[\"for_end\"];_s[\"i\"]++){\n-          _c=_s[\"content\"];\n-          gsub(_s[\"for_var\"],_s[\"i\"],_c);\n-          content=content _c;\n+    } else if (_m == \"f0\") {\n+      _s[\"sep\"] = _c;\n+      _m = \"f1\";\n+    } else if (_m == \"f1\") {\n+      if (_c != _s[\"sep\"]) {\n+        _s[\"for_var\"] = _s[\"for_var\"] _c;\n+      } else {\n+        _m = \"f2\";\n+      }\n+    } else if (_m == \"f2\") {\n+      if (_c != _s[\"sep\"]) {\n+        _s[\"for_begin\"] = _s[\"for_begin\"] _c;\n+      } else {\n+        _s[\"for_begin\"] = int(eval_expr(_s[\"for_begin\"]));\n+        _m = \"f3\";\n+      }\n+    } else if (_m == \"f3\") {\n+      if (_c != _s[\"sep\"]) {\n+        _s[\"for_end\"] = _s[\"for_end\"] _c;\n+      } else {\n+        _s[\"for_end\"] = int(eval_expr(_s[\"for_end\"]));\n+        _m = \"\";\n+\n+        _s[\"content\"] = content;\n+        content = \"\";\n+        for (_s[\"i\"] = _s[\"for_begin\"]; _s[\"i\"] < _s[\"for_end\"]; _s[\"i\"]++) {\n+          _c = _s[\"content\"];\n+          gsub(_s[\"for_var\"], _s[\"i\"], _c);\n+          content = content _c;\n         }\n       }\n     #-------------------------------------------------\n-    }else{\n-      if(_c==\".\"){\n-        _m=\"c\";\n-      }else if(_c ~ \/[\/#]\/){\n+    } else {\n+      if (_c == \".\") {\n+        _m = \"c\";\n+      } else if (_c ~ \/[\/#]\/) {\n         break;\n-      }else if(_c !~ \/[ \\t\\r\\n]\/){\n+      } else if (_c !~ \/[ \\t\\r\\n]\/) {\n         print \"unrecognized expand cmd '\" _c  \"'\" > \"\/dev\/stderr\"\n       }\n     }\n@@ -1128,73 +1128,73 @@\n #===============================================================================\n #   mwg.pp commands\n #-------------------------------------------------------------------------------\n-function range_begin(cmd,arg){\n+function range_begin(cmd, arg) {\n   d_level++;\n-  d_rstack[d_level,\"c\"]=cmd;\n-  d_rstack[d_level,\"a\"]=arg;\n-  d_content[d_level]=\"\";\n-  d_content[d_level,\"L\"]=\"\";\n-  d_content[d_level,\"F\"]=\"\";\n-}\n-function range_end(args, _cmd,_arg,_txt,_clines,_cfiles){\n-  if(d_level==0){\n+  d_rstack[d_level, \"c\"] = cmd;\n+  d_rstack[d_level, \"a\"] = arg;\n+  d_content[d_level] = \"\";\n+  d_content[d_level, \"L\"] = \"\";\n+  d_content[d_level, \"F\"] = \"\";\n+}\n+function range_end(args, _cmd, _arg, _txt, _clines, _cfiles) {\n+  if (d_level == 0) {\n     print \"mwg_pp.awk:#%}: no matching range beginning\" > \"\/dev\/stderr\"\n     return;\n   }\n \n   # pop data\n-  _cmd=d_rstack[d_level,\"c\"];\n-  _arg=d_rstack[d_level,\"a\"];\n-  _txt=d_content[d_level];\n-  if(m_lineno){ # 20120726\n-    _clines=d_content[d_level,\"L\"];\n-    _cfiles=d_content[d_level,\"F\"];\n+  _cmd = d_rstack[d_level, \"c\"];\n+  _arg = d_rstack[d_level, \"a\"];\n+  _txt = d_content[d_level];\n+  if (m_lineno) { # 20120726\n+    _clines = d_content[d_level, \"L\"];\n+    _cfiles = d_content[d_level, \"F\"];\n   }\n   d_level--;\n \n-  if(args!=\"\")\n-    _txt=modify_text(_txt,args);\n+  if (args != \"\")\n+    _txt = modify_text(_txt, args);\n \n   # process\n-  if(_cmd==\"define\"){\n-    d_data[_arg]=_txt;\n-    if(m_lineno){ # 20120726\n-      d_data[_arg,\"L\"]=_clines;\n-      d_data[_arg,\"F\"]=_cfiles;\n-    }\n-  }else if(_cmd==\"expand\"||_cmd==\"IF1\"||_cmd==\"IF4\"){\n-    process_multiline(_txt,_clines,_cfiles); # 20120726\n-  }else if(_cmd==\"none\"||_cmd ~ \/IF[023]\/){\n+  if (_cmd == \"define\") {\n+    d_data[_arg] = _txt;\n+    if (m_lineno) { # 20120726\n+      d_data[_arg, \"L\"] = _clines;\n+      d_data[_arg, \"F\"] = _cfiles;\n+    }\n+  } else if (_cmd == \"expand\" || _cmd == \"IF1\" || _cmd == \"IF4\") {\n+    process_multiline(_txt, _clines, _cfiles); # 20120726\n+  } else if (_cmd == \"none\" || _cmd ~ \/IF[023]\/) {\n     # do nothing\n-  }else{\n+  } else {\n     print \"mwg_pp.awk:#%}: unknown range beginning '\" _cmd \" ( \" _arg \" )'\" > \"\/dev\/stderr\"\n   }\n }\n \n-function dctv_define(args,  _cap,_name,_name2){\n-  if(match(args,\/^([-A-Za-z0-9_\\:]+)[[:space:]]*(\\([[:space:]]*)?$\/,_cap)>0){\n+function dctv_define(args, _, _cap, _name, _name2) {\n+  if (match(args, \/^([-A-Za-z0-9_:]+)[[:space:]]*(\\([[:space:]]*)?$\/, _cap) > 0) {\n     # dctv: #%define hoge\n     # dctv: #%define hoge (\n-    _name=_cap[1];\n-    if(_name==\"end\")\n+    _name = _cap[1];\n+    if (_name == \"end\")\n       range_end(\"\");\n     else\n-      range_begin(\"define\",_name);\n-  }else if(match(args,\/^([-_\\:[:alnum:]]+)[[:space:]]+([-_\\:[:alnum:]]+)(.*)$\/,_cap)>0){\n+      range_begin(\"define\", _name);\n+  } else if (match(args, \/^([-_:[:alnum:]]+)[[:space:]]+([-_:[:alnum:]]+)(.*)$\/, _cap) > 0) {\n     # dctv: #%define a b.mods\n-    _name=_cap[1];\n-    _name2=_cap[2];\n-    _args=trim(_cap[3]);\n-    if(_args!=\"\")\n-      d_data[_name]=modify_text(d_data[_name2],_args);\n+    _name = _cap[1];\n+    _name2 = _cap[2];\n+    _args = trim(_cap[3]);\n+    if (_args != \"\")\n+      d_data[_name] = modify_text(d_data[_name2], _args);\n     else\n-      d_data[_name]=d_data[_name2];\n-\n-    if(m_lineno){\n-      d_data[_name,\"L\"]=d_data[_name2,\"L\"];\n-      d_data[_name,\"F\"]=d_data[_name2,\"F\"];\n-    }\n-  }else{\n+      d_data[_name] = d_data[_name2];\n+\n+    if (m_lineno) {\n+      d_data[_name, \"L\"] = d_data[_name2, \"L\"];\n+      d_data[_name, \"F\"] = d_data[_name2, \"F\"];\n+    }\n+  } else {\n     print \"mwg_pp.awk:#%define: missing data name\" > \"\/dev\/stderr\"\n     return;\n   }\n@@ -1208,213 +1208,213 @@\n # IF3 \u51fa\u529b\u305b\u305a !IF3  !IF3  !IF3 (else unmatched) \u65e7 \"el0\"\n # IF4 \u51fa\u529b\u3059\u308b !IF3  !IF3  !IF3 (else matched)   \u65e7 \"el1\"\n \n-function dctv_if(cond,  _cap){\n-  gsub(\/^[ \\t]+|[ \\t]*(\\([ \\t]*)?$\/,\"\",cond);\n-  if(cond!=\"\"){\n+function dctv_if(cond, _, _cap) {\n+  gsub(\/^[ \\t]+|[ \\t]*(\\([ \\t]*)?$\/, \"\", cond);\n+  if (cond != \"\") {\n     #print \"dbg: if( \"cond \" ) -> \" eval_expr(cond) > \"\/dev\/stderr\"\n-    if(cond==\"end\")\n+    if (cond == \"end\") {\n       range_end(\"\");\n-    else if(eval_expr(cond)){\n+    } else if (eval_expr(cond)) {\n       range_begin(\"IF1\");\n-    }else{\n+    } else {\n       range_begin(\"IF0\");\n     }\n-  }else{\n+  } else {\n     print \"mwg_pp.awk:#%define: missing data name\" > \"\/dev\/stderr\"\n     return;\n   }\n }\n-function dctv_elif(cond, _cmd){\n-  if(d_level==0){\n+function dctv_elif(cond, _cmd) {\n+  if (d_level == 0) {\n     print \"mwg_pp.awk:#%elif: no matching if directive\" > \"\/dev\/stderr\"\n     return;\n   }\n \n-  _cmd=d_rstack[d_level,\"c\"];\n-  if(_cmd ~ \/IF[0-4]\/){\n+  _cmd = d_rstack[d_level, \"c\"];\n+  if (_cmd ~ \/IF[0-4]\/) {\n     range_end(\"\");\n-    if(_cmd==\"IF0\"){\n-      if(eval_expr(cond)){\n+    if (_cmd == \"IF0\") {\n+      if (eval_expr(cond)) {\n         range_begin(\"IF1\");\n-      }else{\n+      } else {\n         range_begin(\"IF0\");\n       }\n-    }else if(_cmd ~ \/IF[12]\/){\n+    } else if (_cmd ~ \/IF[12]\/) {\n       range_begin(\"IF2\");\n-    }else{\n+    } else {\n       range_begin(\"IF3\");\n-      if(_cmd ~ \/IF[34]\/)\n-        print_error(\"mwgpp:#%else\",\"if clause have already ended!\");\n-    }\n-  }else{\n-    print_error(\"mwgpp:#%else\",\"no matching if directive\");\n-  }\n-}\n-function dctv_else(  _cap,_cmd){\n-  if(d_level==0){\n-    print_error(\"mwgpp:#%else\",\"no matching if directive\");\n+      if (_cmd ~ \/IF[34]\/)\n+        print_error(\"mwgpp:#%else\", \"if clause have already ended!\");\n+    }\n+  } else {\n+    print_error(\"mwgpp:#%else\", \"no matching if directive\");\n+  }\n+}\n+function dctv_else(_, _cap, _cmd) {\n+  if (d_level == 0) {\n+    print_error(\"mwgpp:#%else\", \"no matching if directive\");\n     return;\n   }\n \n-  _cmd=d_rstack[d_level,\"c\"];\n-  if(_cmd ~ \/IF[0-4]\/){\n+  _cmd = d_rstack[d_level, \"c\"];\n+  if (_cmd ~ \/IF[0-4]\/) {\n     range_end(\"\");\n-    if(_cmd==\"IF0\"){\n+    if (_cmd == \"IF0\") {\n       range_begin(\"IF4\");\n-    }else{\n+    } else {\n       range_begin(\"IF3\");\n-      if(_cmd ~ \/IF[34]\/)\n-        print_error(\"mwgpp:#%else\",\"if clause have already ended!\");\n-    }\n-  }else{\n-    print_error(\"mwgpp:#%else\",\"no matching if directive\");\n-  }\n-}\n-\n-function dctv_expand(args,  _cap,_txt,_type){\n-  if(match(args,\/^([-a-zA-Z\\:0-9_]+|[\\(])(.*)$\/,_cap)>0){\n-    if(_cap[1]==\"(\"){\n-      _type=1;\n-    }else{\n-      _txt=d_data[_cap[1]];\n-      _txt=modify_text(_txt,_cap[2]);\n-      process_multiline(_txt,d_data[_cap[1],\"L\"],d_data[_cap[1],\"F\"]);\n-    }\n-  }else if(match(args,\/^[[:space:]]*$\/)>0){\n-    _type=1;\n-  }else{\n+      if (_cmd ~ \/IF[34]\/)\n+        print_error(\"mwgpp:#%else\", \"if clause have already ended!\");\n+    }\n+  } else {\n+    print_error(\"mwgpp:#%else\", \"no matching if directive\");\n+  }\n+}\n+\n+function dctv_expand(args, _, _cap, _txt, _type) {\n+  if (match(args, \/^([-a-zA-Z:0-9_]+|[\\(])(.*)$\/, _cap) > 0) {\n+    if (_cap[1] == \"(\") {\n+      _type = 1;\n+    } else {\n+      _txt = d_data[_cap[1]];\n+      _txt = modify_text(_txt, _cap[2]);\n+      process_multiline(_txt, d_data[_cap[1], \"L\"], d_data[_cap[1], \"F\"]);\n+    }\n+  } else if (match(args, \/^[[:space:]]*$\/) > 0) {\n+    _type = 1;\n+  } else {\n     print \"mwg_pp.awk:#%expand: missing data name\" > \"\/dev\/stderr\"\n     return;\n   }\n \n-  if(_type==1){\n+  if (_type == 1) {\n     # begin expand\n-    range_begin(\"expand\",_cap[2]); # _cap[2] not used\n-  }\n-}\n-\n-function dctv_modify(args,  _i,_len,_name,_content){\n-  _i=match(args,\/[^-a-zA-Z\\:0-9_]\/);\n-  _len=_i?_i-1:length(args);\n-  _name=substr(args,1,_len);\n-  args=trim(substr(args,_len+1));\n-\n-  d_data[_name]=modify_text(d_data[_name],args);\n-}\n-\n-function include_file(file, _line,_lines,_i,_n,_dir,_originalFile,_originalLine){\n-  if(file ~ \/^<.+>$\/){\n-    gsub(\/^<|>$\/,\"\",file);\n-    file=INCLUDE_DIRECTORY \"\/\" file;\n-  }else{\n-    gsub(\/^\"|\"$\/,\"\",file);\n-    if(file !~ \/^\\\/\/){\n-      _dir=awk_getfiledir();\n-      if(_dir!=\"\")file=_dir \"\/\" file;\n-    }\n-  }\n-\n-  _n=0;\n-  while((_r = getline _line < file) >0)\n-    _lines[_n++]=_line;\n-  if(_r<0)\n+    range_begin(\"expand\", _cap[2]); # _cap[2] not used\n+  }\n+}\n+\n+function dctv_modify(args, _, _i, _len, _name, _content) {\n+  _i = match(args, \/[^-a-zA-Z:0-9_]\/);\n+  _len = _i?_i - 1:length(args);\n+  _name = substr(args, 1, _len);\n+  args = trim(substr(args, _len + 1));\n+\n+  d_data[_name] = modify_text(d_data[_name], args);\n+}\n+\n+function include_file(file, _line, _lines, _i, _n, _dir, _originalFile, _originalLine) {\n+  if (file ~ \/^<.+>$\/) {\n+    gsub(\/^<|>$\/, \"\", file);\n+    file = INCLUDE_DIRECTORY \"\/\" file;\n+  } else {\n+    gsub(\/^\"|\"$\/, \"\", file);\n+    if (file !~ \/^\\\/\/) {\n+      _dir = awk_getfiledir();\n+      if (_dir != \"\") file = _dir \"\/\" file;\n+    }\n+  }\n+\n+  _n = 0;\n+  while ((_r = getline _line < file) >0)\n+    _lines[_n++] = _line;\n+  if (_r < 0)\n     print_error(\"could not open the include file '\" file \"'\");\n   close(file);\n \n   dependency_add(file);\n \n-  _originalFile=m_lineno_cfile;\n-  _originalLine=m_lineno_cline;\n-  for(_i=0;_i<_n;_i++){\n-    m_lineno_cfile=file; # 20120726\n-    m_lineno_cline=_i+1; # 20120726\n+  _originalFile = m_lineno_cfile;\n+  _originalLine = m_lineno_cline;\n+  for (_i = 0; _i < _n; _i++) {\n+    m_lineno_cfile = file; # 20120726\n+    m_lineno_cline = _i + 1; # 20120726\n     process_line(_lines[_i]);\n   }\n-  m_lineno_cfile=_originalFile; # 2015-01-24\n-  m_lineno_cline=_originalLine; # 2015-01-24\n-}\n-\n-function dctv_error(message, _title){\n-  if(m_lineno_cfile!=\"\"||m_lineno)\n-    _title=m_lineno_cfile \":\" m_lineno_cline;\n+  m_lineno_cfile = _originalFile; # 2015-01-24\n+  m_lineno_cline = _originalLine; # 2015-01-24\n+}\n+\n+function dctv_error(message, _title) {\n+  if (m_lineno_cfile != \"\" || m_lineno)\n+    _title = m_lineno_cfile \":\" m_lineno_cline;\n   else\n-    _title=FILENAME;\n-\n-  print_error(_title,message);\n+    _title = FILENAME;\n+\n+  print_error(_title, message);\n }\n \n #===============================================================================\n-function data_define(pair, _sep,_i,_k,_v,_capt,_rex){\n-  if(pair ~ \/^[^\\(_a-zA-Z0-9]\/){ # #%data\/name\/value\/\n-\n-    _sep=\"\\\\\" substr(pair,1,1);\n-    _rex=\"^\" _sep \"([^\" _sep \"]+)\" _sep \"([^\" _sep \"]+)\" _sep\n-    if(match(pair,_rex,_capt)){\n-      _k=_capt[1];\n-      _v=_capt[2];\n-      d_data[_k]=_v;\n-    }else{\n-      printf(\"(#%%data directive)! ill-formed. (pair=%s, _rex=%s)\\n\",pair,_rex) > \"\/dev\/stderr\"\n+function data_define(pair, _sep, _i, _k, _v, _capt, _rex) {\n+  if (pair ~ \/^[^\\(_a-zA-Z0-9]\/) { # #%data\/name\/value\/\n+\n+    _sep = \"\\\\\" substr(pair, 1, 1);\n+    _rex = \"^\" _sep \"([^\" _sep \"]+)\" _sep \"([^\" _sep \"]+)\" _sep\n+    if (match(pair, _rex, _capt)) {\n+      _k = _capt[1];\n+      _v = _capt[2];\n+      d_data[_k] = _v;\n+    } else {\n+      printf(\"(#%%data directive)! ill-formed. (pair=%s, _rex=%s)\\n\", pair, _rex) > \"\/dev\/stderr\"\n       return 0;\n     }\n-  }else{ # #%data name value\n+  } else { # #%data name value\n     # #%data(=) name=value\n-    _sep=\"\";\n-    if(match(pair,\/^\\([^\\)]+\\)\/)>0){\n-      _sep=substr(pair,2,RLENGTH-2);\n-      pair=trim(substr(pair,RLENGTH+1));\n-    }\n-\n-    _i=_sep!=\"\"?index(pair,_sep):match(pair,\/[ \\t]\/);\n-    if(_i<=0){\n-      printf(\"(#%%data directive)! ill-formed. (pair=%s, _sep=%s)\\n\",pair,_sep) > \"\/dev\/stderr\"\n+    _sep = \"\";\n+    if (match(pair, \/^\\([^\\)]+\\)\/) > 0) {\n+      _sep = substr(pair, 2, RLENGTH - 2);\n+      pair = trim(substr(pair, RLENGTH + 1));\n+    }\n+\n+    _i = _sep != \"\"?index(pair, _sep):match(pair, \/[ \\t]\/);\n+    if (_i <= 0) {\n+      printf(\"(#%%data directive)! ill-formed. (pair=%s, _sep=%s)\\n\", pair, _sep) > \"\/dev\/stderr\"\n       return 0;\n     }\n \n-    _k=substr(pair,1,_i-1);\n-    _v=trim(substr(pair,_i+length(_sep)))\n-    d_data[_k]=_v;\n-\n-    #_t[0];head_token(pair,_t);\n-    #d_data[_t[0]]=_t[1];\n-  }\n-}\n-function data_print(key){\n+    _k = substr(pair, 1, _i - 1);\n+    _v = trim(substr(pair, _i + length(_sep)))\n+    d_data[_k] = _v;\n+\n+    #_t[0]; head_token(pair, _t);\n+    #d_data[_t[0]] = _t[1];\n+  }\n+}\n+function data_print(key) {\n   add_line(d_data[key]);\n }\n-function execute(command, _line,_caps,_n,_cfile){\n-  if(match(command,\/^(>>?)[[:space:]]*([^[:space:]]*)\/,_caps)>0){\n+function execute(command, _line, _caps, _n, _cfile) {\n+  if (match(command, \/^(>>?)[[:space:]]*([^[:space:]]*)\/, _caps) > 0) {\n     # \u51fa\u529b\u5148\u306e\u5909\u66f4\n     fflush(m_outpath);\n-    m_outpath=_caps[2];\n-    m_addline_cfile=\"\";\n-    if(_caps[1]==\">\"&&m_outpath!=\"\"){\n+    m_outpath = _caps[2];\n+    m_addline_cfile = \"\";\n+    if (_caps[1] == \">\" && m_outpath != \"\") {\n       printf(\"\") > m_outpath\n     }\n-  }else{\n-    _n=0;\n-    while((command | getline _line)>0)\n-      _lines[_n++]=_line;\n+  } else {\n+    _n = 0;\n+    while ((command | getline _line) > 0)\n+      _lines[_n++] = _line;\n     close(command);\n \n-    _cfile=\"$(\" command \")\";\n-    gsub(\/[\\\\\"]\/,\"\\\\\\\\&\",_cfile);\n-    for(_i=0;_i<_n;_i++){\n-      m_lineno_cfile=_cfile;\n-      m_lineno_cline=_i+1;\n+    _cfile = \"$(\" command \")\";\n+    gsub(\/[\\\\\"]\/, \"\\\\\\\\&\", _cfile);\n+    for (_i = 0; _i < _n; _i++) {\n+      m_lineno_cfile = _cfile;\n+      m_lineno_cline = _i + 1;\n       process_line(_lines[_i]);\n     }\n   }\n }\n #===============================================================================\n-function add_line(line){\n-  if(d_level==0){\n-    if(m_lineno){ # 20120726\n-      if(m_addline_cfile!=m_lineno_cfile||++m_addline_cline!=m_lineno_cline){\n-        m_addline_cline=m_lineno_cline;\n-        m_addline_cfile=m_lineno_cfile;\n-        if(m_addline_cline!=\"\"&&m_addline_cfile!=\"\"){\n-          if(m_outpath==\"\")\n+function add_line(line) {\n+  if (d_level == 0) {\n+    if (m_lineno) { # 20120726\n+      if (m_addline_cfile != m_lineno_cfile||++m_addline_cline != m_lineno_cline) {\n+        m_addline_cline = m_lineno_cline;\n+        m_addline_cfile = m_lineno_cfile;\n+        if (m_addline_cline != \"\" && m_addline_cfile != \"\") {\n+          if (m_outpath == \"\")\n             print \"#line \" m_addline_cline \" \\\"\" m_addline_cfile \"\\\"\"\n           else\n             print \"#line \" m_addline_cline \" \\\"\" m_addline_cfile \"\\\"\" >> m_outpath\n@@ -1422,154 +1422,154 @@\n       }\n     }\n \n-    if(m_outpath==\"\")\n+    if (m_outpath == \"\")\n       print line\n     else\n       print line >> m_outpath\n-  }else{\n-    d_content[d_level]=d_content[d_level] line \"\\n\"\n-    d_content[d_level,\"L\"]=d_content[d_level,\"L\"] m_lineno_cline \"\\n\";\n-    d_content[d_level,\"F\"]=d_content[d_level,\"F\"] m_lineno_cfile \"\\n\";\n-  }\n-}\n-\n-# function process_multiline2(txt,cline,cfile, _s,_l,_f,_len,_i){\n-#   _len=split(txt,_s,\"\\n\");\n-#   if(length(_s[_len])==0)_len--;\n-\n-#   split(clines,_l,\"\\n\");\n-#   split(cfiles,_f,\"\\n\");\n-#   for(_i=0;_i<_len;_i++){\n-#     m_lineno_cline=_l[_i+1];\n-#     m_lineno_cfile=_f[_i+1];\n-#     process_line(_s[_i+1]);\n+  } else {\n+    d_content[d_level] = d_content[d_level] line \"\\n\"\n+    d_content[d_level, \"L\"] = d_content[d_level, \"L\"] m_lineno_cline \"\\n\";\n+    d_content[d_level, \"F\"] = d_content[d_level, \"F\"] m_lineno_cfile \"\\n\";\n+  }\n+}\n+\n+# function process_multiline2(txt, cline, cfile, _s, _l, _f, _len, _i) {\n+#   _len = split(txt, _s, \"\\n\");\n+#   if (length(_s[_len]) == 0) _len--;\n+\n+#   split(clines, _l, \"\\n\");\n+#   split(cfiles, _f, \"\\n\");\n+#   for (_i = 0; _i < _len; _i++) {\n+#     m_lineno_cline = _l[_i + 1];\n+#     m_lineno_cfile = _f[_i + 1];\n+#     process_line(_s[_i + 1]);\n #   }\n # }\n \n-function process_multiline(txt,clines,cfiles,  _s,_l,_f,_len,_i){\n-  _len=split(txt,_s,\"\\n\");\n-  if(length(_s[_len])==0)_len--;\n-\n-  split(clines,_l,\"\\n\");\n-  split(cfiles,_f,\"\\n\");\n-  for(_i=0;_i<_len;_i++){\n-    m_lineno_cline=_l[_i+1];\n-    m_lineno_cfile=_f[_i+1];\n-    process_line(_s[_i+1]);\n-  }\n-}\n-\n-function process_line(line,_line,_text,_ind,_len,_directive, _cap){\n-  _line=line;\n-\n-  sub(\/^[ \\t]+\/,\"\",_line);\n-  sub(\/[ \\t\\r]+$\/,\"\",_line);\n-  if(m_comment_cpp)\n-    sub(\/^\\\/\\\/\/,\"#\",_line);\n-  if(m_comment_pragma)\n-    sub(\/^[[:space:]]*\\#[[:space:]]*pragma\/,\"#\",_line);\n-  if(m_comment_c&&match(_line,\/^\\\/\\*(.+)\\*\\\/$\/,_cap)>0)\n-    _line=\"#\" _cap[1];\n-\n-  if(_line ~ \/^#%[^%]\/){\n+function process_multiline(txt, clines, cfiles, _, _s, _l, _f, _len, _i) {\n+  _len = split(txt, _s, \"\\n\");\n+  if (length(_s[_len]) == 0) _len--;\n+\n+  split(clines, _l, \"\\n\");\n+  split(cfiles, _f, \"\\n\");\n+  for (_i = 0; _i < _len; _i++) {\n+    m_lineno_cline = _l[_i + 1];\n+    m_lineno_cfile = _f[_i + 1];\n+    process_line(_s[_i + 1]);\n+  }\n+}\n+\n+function process_line(line, _line, _text, _ind, _len, _directive, _cap) {\n+  _line = line;\n+\n+  sub(\/^[ \\t]+\/, \"\", _line);\n+  sub(\/[ \\t\\r]+$\/, \"\", _line);\n+  if (m_comment_cpp)\n+    sub(\/^\\\/\\\/\/, \"#\", _line);\n+  if (m_comment_pragma)\n+    sub(\/^[[:space:]]*#[[:space:]]*pragma\/, \"#\", _line);\n+  if (m_comment_c && match(_line, \/^\\\/\\*(.+)\\*\\\/$\/, _cap) > 0)\n+    _line = \"#\" _cap[1];\n+\n+  if (_line ~ \/^#%[^%]\/) {\n     # cut directive\n-    if(match(_line,\/^#%[ \\t]*([-a-zA-Z_0-9\\:]+)(.*)$\/,_cap)>0){\n-      _directive=_cap[1];\n-      _text=trim(_cap[2]);\n-    }else if(match(_line,\/^#%[ \\t]*([^-a-zA-Z_0-9\\:])(.*)$\/,_cap)>0){\n-      _directive=_cap[1];\n-      _text=trim(_cap[2]);\n-    }else{\n+    if (match(_line, \/^#%[ \\t]*([-a-zA-Z_0-9:]+)(.*)$\/, _cap) > 0) {\n+      _directive = _cap[1];\n+      _text = trim(_cap[2]);\n+    } else if (match(_line, \/^#%[ \\t]*([^-a-zA-Z_0-9:])(.*)$\/, _cap) > 0) {\n+      _directive = _cap[1];\n+      _text = trim(_cap[2]);\n+    } else {\n       print_error(\"unrecognized directive line: \" line);\n       return;\n     }\n \n     # switch directive\n-    if(_directive==\"(\"||_directive==\"begin\"){\n-      range_begin(\"none\",_text);\n-    }else if(_directive==\")\"||_directive==\"end\"){\n+    if (_directive == \"(\" || _directive == \"begin\") {\n+      range_begin(\"none\", _text);\n+    } else if (_directive == \")\" || _directive == \"end\") {\n       range_end(_text);\n-    }else if(_directive==\"define\"||_directive==\"m\"){\n+    } else if (_directive == \"define\" || _directive == \"m\") {\n       dctv_define(_text);\n-    }else if(_directive==\"expand\"||_directive==\"x\"){\n+    } else if (_directive == \"expand\" || _directive == \"x\") {\n       dctv_expand(_text);\n-    }else if(_directive==\"if\"){\n+    } else if (_directive == \"if\") {\n       dctv_if(_text);\n-    }else if(_directive==\"else\"){\n+    } else if (_directive == \"else\") {\n       dctv_else(_text);\n-    }else if(_directive==\"elif\"){\n+    } else if (_directive == \"elif\") {\n       dctv_elif(_text);\n-    }else if(_directive==\"modify\"){ # obsoleted. use #%define name name.mods\n+    } else if (_directive == \"modify\") { # obsoleted. use #%define name name.mods\n       print_error(\"obsoleted directive modify\");\n       dctv_modify(_text);\n-    }else if(_directive==\"include\"||_directive==\"<\"){\n+    } else if (_directive == \"include\" || _directive == \"<\") {\n       include_file(_text);\n-    }else if(_directive==\"data\"){ # obs \u2192 \u30c7\u30fc\u30bf\u8a2d\u5b9a\u306b\u6709\u610f\u3002\u6b8b\u3059?\n+    } else if (_directive == \"data\") { # obs \u2192 \u30c7\u30fc\u30bf\u8a2d\u5b9a\u306b\u6709\u610f\u3002\u6b8b\u3059?\n       data_define(_text);\n-    }else if(_directive==\"print\"){ #obs\n+    } else if (_directive == \"print\") { #obs\n       data_print(_text);\n-    }else if(_directive==\"eval\"){\n+    } else if (_directive == \"eval\") {\n       eval_expr(_text);\n-    }else if(_directive==\"[\"&&match(_text,\/^(.+)\\]$\/,_cap)>0){\n+    } else if (_directive == \"[\" && match(_text, \/^(.+)\\]$\/, _cap) > 0) {\n       eval_expr(_cap[1]);\n-    }else if(_directive==\"exec\"||_directive==\"$\"){\n+    } else if (_directive == \"exec\" || _directive == \"$\") {\n       execute(_text);\n-    }else if(_directive==\"#\"){\n+    } else if (_directive == \"#\") {\n       # comment. just ignored.\n-    }else if(_directive==\"error\"){\n+    } else if (_directive == \"error\") {\n       dctv_error(_text);\n-    }else{\n+    } else {\n       print_error(\"unrecognized directive \" _directive);\n     }\n-  }else if(_line ~ \/^##+%\/){\n-    add_line(substr(_line,2));\n-  }else if(_line ~ \/^#%%+\/){\n-    add_line(\"#\" substr(_line,3));\n-  }else{\n+  } else if (_line ~ \/^##+%\/) {\n+    add_line(substr(_line, 2));\n+  } else if (_line ~ \/^#%%+\/) {\n+    add_line(\"#\" substr(_line, 3));\n+  } else {\n     add_line(line);\n   }\n }\n \n BEGIN{\n-  FS=\"MWG_PP\" \"_COMMENT\";\n+  FS = \"MWG_PP\" \"_COMMENT\";\n   ev1scan_init();\n-  d_level=0;\n-  d_data[0]=\"\";\n-\n-  m_outpath=\"\";\n-  m_comment_c     =int(ENVIRON[\"PPC_C\"])!=0;\n-  m_comment_cpp   =int(ENVIRON[\"PPC_CPP\"])!=0;\n-  m_comment_pragma=int(ENVIRON[\"PPC_PRAGMA\"])!=0;\n-\n-  m_lineno        =int(ENVIRON[\"PPLINENO\"])!=0;\n-\n-  INCLUDE_DIRECTORY=ENVIRON[\"HOME\"] \"\/.mwg\/mwgpp\/include\"\n-\n-  m_dependency_count=0\n-  m_dependency_guard[\"\"]=1;\n-  m_dependency[0]=\"\";\n+  d_level = 0;\n+  d_data[0] = \"\";\n+\n+  m_outpath = \"\";\n+  m_comment_c      = int(ENVIRON[\"PPC_C\"]) != 0;\n+  m_comment_cpp    = int(ENVIRON[\"PPC_CPP\"]) != 0;\n+  m_comment_pragma = int(ENVIRON[\"PPC_PRAGMA\"]) != 0;\n+\n+  m_lineno         = int(ENVIRON[\"PPLINENO\"]) != 0;\n+\n+  INCLUDE_DIRECTORY = ENVIRON[\"HOME\"] \"\/.mwg\/mwgpp\/include\"\n+\n+  m_dependency_count = 0\n+  m_dependency_guard[\"\"] = 1;\n+  m_dependency[0] = \"\";\n }\n \n {\n-  if(FNR==1){\n-    if(ENVIRON[\"PPLINENO_FILE\"]!=\"\")\n-      m_rfile=ENVIRON[\"PPLINENO_FILE\"];\n+  if (FNR == 1) {\n+    if (ENVIRON[\"PPLINENO_FILE\"] != \"\")\n+      m_rfile = ENVIRON[\"PPLINENO_FILE\"];\n     else\n-      m_rfile=FILENAME;\n+      m_rfile = FILENAME;\n     dependency_add(m_rfile);\n   }\n-  m_lineno_cfile=m_rfile;\n-  m_lineno_cline=FNR;\n+  m_lineno_cfile = m_rfile;\n+  m_lineno_cline = FNR;\n   process_line($1);\n }\n \n-function dependency_add(file){\n-  if(!m_dependency_guard[file]){\n-    m_dependency_guard[file]=1;\n-    m_dependency[m_dependency_count++]=file;\n-  }\n-}\n-function dependency_generate(output, target, is_phony, _i, _iMax, _line, _file){\n+function dependency_add(file) {\n+  if (!m_dependency_guard[file]) {\n+    m_dependency_guard[file] = 1;\n+    m_dependency[m_dependency_count++] = file;\n+  }\n+}\n+function dependency_generate(output, target, is_phony, _i, _iMax, _line, _file) {\n   if (!target) {\n     target = m_rfile;\n     sub(\/\\.pp$\/, \"\", target);\n"}
{"commit":"545b81e60bf3cd838789036977512441173298fd","subject":"avoid gnu extension, for installing","message":"avoid gnu extension, for installing\n","repos":"LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -13,15 +13,15 @@\n \t\tif (instruct in typedefs) {\n \t\t\tinstruct = typedefs[instruct];\n \t\t}\n-\t\telm = \"\";\n+\t\tsizeinfo = \"\";\n \t\telms = \"\";\n \t\tfor (i = 0; i in buffer; i ++) {\n-\t\t\tif (i) elm = elm \" + \";\n-\t\t\t# elm = elm \"sizeof(((`\" instruct \"'*)NULL)->`\" buffer[i] \"')\";\n-\t\t\t# elms = elms \" `\" buffer[i] \"'\";\n-\t\t\telm = elm \"sizeof(((\" instruct \"*)NULL)->\" buffer[i] \")\";\n+\t\t\tif (i) {\n+\t\t\t\tsizeinfo = sizeinfo \" + \";\n+\t\t\t}\n+\t\t\tsizeinfo = sizeinfo \"sizeof(((\" instruct \"*)NULL)->\" buffer[i] \")\";\n \n-\t\t\tif (elms == \"\") {\n+\t\t\tif (i == 0) {\n \t\t\t\telms = buffer[i];\n \t\t\t}\n \t\t\telse {\n@@ -30,7 +30,7 @@\n \t\t}\n \t\tprintf \"define(`ELEMENTSOF_%s', `%s')\\n\", instruct, elms;\n \t\tprintf \"define(`COUNTOF_%s', `%s')\\n\", instruct, i;\n-\t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, elm;\n+\t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, sizeinfo;\n \t\tprint \"\\n\";\n \t\tfor (i in buffer) {\n \t\t\tdelete buffer[i];\n@@ -51,20 +51,48 @@\n {\n \tif (brace == 1 && instruct) {\n \t\tsub(\/.*[{}]\/, \"\");\n-\t\tgsub(\/\\[[^\\]]+\\]\/, \"\");\n-\t\tgsub(\/:[0-9]+\/, \"\");\n-\t\tstr = $0;\n-\t\tif (match(str, \/\\([ ]*\\*([^)]+)\\)\/, a)) {\n-\t\t\tbuffer[buffer_len] = a[1];\n+\t\tgsub(\/\\[[^\\]]+\\]\/, \"\"); # ignore [...]\n+\t\tgsub(\/:[0-9]+\/, \"\"); # ignore struct bit\n+\t\tif (match($0, \/^[^(]*\\([ ]*\\*([^)]+)\\)\/)) {\n+\t\t\tsub(\/ +\/, \"\")\n+\t\t\tsub(\/^[^(]*\\(\\*\/, \"\");\n+\t\t\tsub(\/\\).*\/, \"\");\n+\t\t\t# function pointer\n+\t\t\tbuffer[buffer_len] = $0;\n \t\t\tbuffer_len ++;\n \t\t}\n \t\telse {\n-\t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\", str)) {\n+\t\t\t# ignore any ()s\n+\t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\")) {\n \t\t\t}\n-\t\t\twhile (match(str, \/([^*() ]+)[ ]*[,;](.*)\/, a)) {\n-\t\t\t\tbuffer[buffer_len] = a[1];\n+\t\t\tif (match($0, \/[()]\/)) {\n+\t\t\t\tnext;\n+\t\t\t}\n+\t\t\tgsub(\/[*]\/, \" \");\n+\t\t\tgsub(\/ +\/, \" \");\n+\t\t\tgsub(\/ *[,;]\/, \";\");\n+\t\t\tif (!match($0, \/;\/)) {\n+\t\t\t\tnext;\n+\t\t\t}\n+\t\t\tsplit($0, chunks, \";\");\n+\t\t\t# get var of \"int *var, var;\" etc\n+\t\t\tfor (i in chunks) {\n+\t\t\t\tif (chunks[i] == \"\") {\n+\t\t\t\t\tdelete chunks[i];\n+\t\t\t\t\tcontinue;\n+\t\t\t\t}\n+\t\t\t\tsplit(chunks[i], pieces, \" \");\n+\n+\t\t\t\tfor (j in pieces) {\n+\t\t\t\t\tlast_piece = pieces[j];\n+\t\t\t\t\tdelete pieces[i];\n+\t\t\t\t}\n+\t\t\t\tif (last_piece == \"\") {\n+\t\t\t\t\tprint \"=====\" chunks[i];\n+\t\t\t\t}\n+\t\t\t\tbuffer[buffer_len] = last_piece;\n \t\t\t\tbuffer_len ++;\n-\t\t\t\tstr = a[2];\n+\t\t\t\tdelete chunks[i];\n \t\t\t}\n \t\t}\n \t\tnext;\n"}
{"commit":"e839d92a508101fba83d1341758016fabf59ad9b","subject":"The use of the public, final, and static attributes in Java interfaces is discouraged. (dm)","message":"The use of the public, final, and static attributes in Java interfaces is discouraged. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2951 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Bindings\/Java\/constants.awk\n+++ Bindings\/Java\/constants.awk\n@@ -104,7 +104,7 @@\n \n function writeJavaConstant(type, name, value, help) {\n   writeJavadocComment(help)\n-  print \"  public static final \" type \" \" name \" = \" value \";\"\n+  print \"  \" type \" \" name \" = \" value \";\"\n }\n \n function writeJavadocComment(text) {\n"}
{"commit":"d14430391cce0a5f086e777a0c2ec8c9d1a5a732","subject":"Languages: add Western Frisian language","message":"Languages: add Western Frisian language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -406,6 +406,19 @@\n     Locale[\"wo\"][\"iso\"]                = \"wol\"\n     Locale[\"wo\"][\"glotto\"]             = \"wolo1247\"\n     Locale[\"wo\"][\"script\"]             = \"Latn\"\n+\n+    #? Western Frisian\n+    Locale[\"fy\"][\"name\"]               = \"Western Frisian\"\n+    Locale[\"fy\"][\"endonym\"]            = \"Frysk\"\n+    #Locale[\"fy\"][\"translations-of\"]\n+    #Locale[\"fy\"][\"definitions-of\"]\n+    #Locale[\"fy\"][\"synonyms\"]\n+    #Locale[\"fy\"][\"examples\"]\n+    #Locale[\"fy\"][\"see-also\"]\n+    Locale[\"fy\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fy\"][\"iso\"]                = \"fry\"\n+    Locale[\"fy\"][\"glotto\"]             = \"west2354\"\n+    Locale[\"fy\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"d174860e230c3a0ac6793fbf6961198b2cfb51d8","subject":"fill array with null string for each element in altTranslations[] (fix #31)","message":"fill array with null string for each element in altTranslations[] (fix #31)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -129,8 +129,10 @@\n         if (match(i, \"^0\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)$\", group))\n             words[group[1]][group[2]][\"1\"][group[3]] = literal(ast[i])\n \n-        if (match(i, \"^0\" SUBSEP \"5\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n+        if (match(i, \"^0\" SUBSEP \"5\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group)) {\n             segments[group[1]] = literal(ast[i])\n+            altTranslations[group[1]][0] = \"\"\n+        }\n \n         if (match(i, \"^0\" SUBSEP \"5\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n             altTranslations[group[1]][group[2]] = postprocess(literal(ast[i]))\n"}
{"commit":"959fa36d72df006128a34ecec8a750aea0e6764e","subject":"read environment variable USER_AGENT","message":"read environment variable USER_AGENT\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -55,7 +55,7 @@\n     Option[\"player\"] = ENVIRON[\"PLAYER\"]\n \n     Option[\"proxy\"] = ENVIRON[\"HTTP_PROXY\"] ? ENVIRON[\"HTTP_PROXY\"] : ENVIRON[\"http_proxy\"]\n-    Option[\"user-agent\"] = NULLSTR\n+    Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"]\n \n     Option[\"interactive\"] = 0\n     Option[\"no-rlwrap\"] = 0\n"}
{"commit":"3a58318745e69e22bd743685d5eadb59bfe4121c","subject":"Languages: add Oromo language","message":"Languages: add Oromo language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -208,6 +208,19 @@\n     Locale[\"oc\"][\"iso\"]                = \"oci\"\n     Locale[\"oc\"][\"glotto\"]             = \"occi1239\"\n     Locale[\"oc\"][\"script\"]             = \"Latn\"\n+\n+    #? Oromo\n+    Locale[\"om\"][\"name\"]               = \"Oromo\"\n+    Locale[\"om\"][\"endonym\"]            = \"Afaan Oromoo\"\n+    #Locale[\"om\"][\"translations-of\"]\n+    #Locale[\"om\"][\"definitions-of\"]\n+    #Locale[\"om\"][\"synonyms\"]\n+    #Locale[\"om\"][\"examples\"]\n+    #Locale[\"om\"][\"see-also\"]\n+    Locale[\"om\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"om\"][\"iso\"]                = \"orm\"\n+    Locale[\"om\"][\"glotto\"]             = \"nucl1736\"\n+    Locale[\"om\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"ebcdb76aa5269f64285735d455fc5e8835531c08","subject":"Seriosly, drop very large synsets","message":"Seriosly, drop very large synsets\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- impl\/delabel.awk\n+++ impl\/delabel.awk\n@@ -5,7 +5,11 @@\n {\n     gsub(\"(#[[:digit:]]+|, $)\", \"\");\n \n-    for (i = 1; i <= split($3, words, \", \"); i++) uniq[words[i]];\n+    len = split($3, words, \", \");\n+\n+    if (len >= 10000) next;\n+\n+    for (i = 1; i <= len; i++) uniq[words[i]];\n \n     for (word in uniq) {\n         synset = synset sep word;\n"}
{"commit":"376281f2cb0a7c3db132dae77600f81fcebc5d79","subject":"md.awk: fix code handling","message":"md.awk: fix code handling\n","repos":"mg\/hog","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- md.awk\n+++ md.awk\n@@ -6,6 +6,10 @@\n }\n \/<p>CODE<\\\/p>\/ { \n \tprint \"<div class=\\\"code\\\"><pre>CODE<\/pre><\/div>\\n\" \n+\tnext\n+}\n+\/<\\\/code><\\\/pre>\/ { \n+\tprint \"<\/pre><\/div><br\/>\\n\" \n \tnext\n }\n \/<p>.*<\\\/p>\/ {\n"}
{"commit":"9020ec6311c96b03634c7b5b6962c49c19954e7c","subject":"No need to initialize the domain_count as the variables of numbers in awk are 0 as default.","message":"No need to initialize the domain_count as the variables of numbers in awk are 0 as default.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -56,8 +56,6 @@\n \tif (port == \"\") {\n \t\tport = 5353\n \t}\n-\n-\tdomain_count = 0\n }\n {\n \toriginal_line = $0\n"}
{"commit":"7e9541d26d9313a3673fe87d302647fa5f7e8836","subject":"support for code","message":"support for code","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -10,6 +10,7 @@\n   print \"\";\n   quoting = 0;\n   itemizing = 0;\n+  coding = 0;\n }\n \n END {\n@@ -22,9 +23,17 @@\n }\n \n ## pragmas do not count\n-\/\\#labels\/ {\n+!coding && \/\\#labels\/ {\n   next;\n }\n+\n+\n+## make sure that control sequences are always at the front\n+\/ *{{{\/ { sub(\/ *\/, \"\") }\n+\/ *}}}\/ { sub(\/ *\/, \"\") }\n+\/ *=\/ { sub(\/ *\/, \"\") }\n+\n+\n \n itemizing && !\/^   *\\*\/ {\n   print \"\\\\end{itemize}\";\n@@ -43,7 +52,7 @@\n }\n \n ## empty lines do not count\n-\/^ *$\/ {\n+!coding && \/^ *$\/ {\n   next;\n }\n \n@@ -54,15 +63,15 @@\n   $0 = line\n }\n \n-\/==\/ {\n-  sub(\/==\/, \"\\\\subsection*{\");\n+\/^==\/ {\n+  sub(\/^==\/, \"\\\\subsection*{\");\n   sub(\/==\/, \"}\");\n   print;\n   next;\n }\n \n-\/=\/ {\n-  sub(\/=\/, \"\\\\section*{\");\n+\/^=\/ {\n+  sub(\/^=\/, \"\\\\section*{\");\n   sub(\/=\/, \"}\");\n   print;\n   print \"\";\n@@ -83,7 +92,29 @@\n }\n \n \n-\/^  \/ {\n+## tracking code\n+\n+!coding && \/^{{{\/ {\n+  print \"\\\\begin{verbatim}\";\n+  coding = 1;\n+  next;\n+}\n+\n+coding && \/^}}}\/ {\n+  print \"\\\\end{verbatim}\";\n+  coding = 0;\n+  next;\n+}\n+\n+coding {\n+  sub(\/^\/, \"{\\\\small \");\n+  print;\n+  print \"}\";\n+  next;\n+}\n+\n+\n+!coding && \/^  \/ {\n   print \"\\\\begin{quotation}\";\n   quoting = 1;\n   sub(\/^  \/, \"\");\n"}
{"commit":"d47f1748e98a841cb63450ef62323d19dbca1e0f","subject":"checkpoint, mucking out old curie exceptions & adding new ones","message":"checkpoint, mucking out old curie exceptions & adding new ones\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -105,7 +105,13 @@\n \t# exceptions\n \tprefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n \tprefix[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n-\tprefix[\"https_archive_monarchinitiative_org_\"]=\"MonarchArchive\"\n+\tprefix[\"https:\/\/archive.monarchinitiative.org\/\"]=\"MonarchArchive\"\n+\t############################################################\n+\t# not expected to be added to curie map\n+\t# in HPOA\n+\tprefix[\"http:\/\/www.ncbi.nlm.nih.gov\/bookshelf\/br.fcgi?book=gene&part=\"]=\"NCBIBook\"\n+\tprefix[\"http:\/\/www.ncbi.nlm.nih.gov\/books\/NBK\"]=\"NCBINBK\"\n+\n \t############################################################\n \t# Often re-visit whether these exceptions are still necessary\n \t# they may have been moved into the curie prefix mapping file\n@@ -114,7 +120,7 @@\n \n \t# in mgi\n \tprefix[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n-\t# in IMPC (not httpS)\n+\t# in IMPC (not httpS  --- hmm all three IRI exist)\n \tprefix[\"http:\/\/www.mousephenotype.org\"]=\"IMPC\"\n \t# note in curie_map IMPC is:\n \t# http:\/\/www.mousephenotype.org\/data\/genes\/\n@@ -124,19 +130,14 @@\n \t# note in curie_map WormBase is\n \t# 'https:\/\/www.wormbase.org\/get?name='\n \n-\t# in GWAScatalog\n-\tprefix[\"http:\/\/www.ncbi.nlm.nih.gov\/SNP\/\"]=\"dbSNP\"\n-\t# note in curie_map dbSNP is\n-\t# 'http:\/\/www.ncbi.nlm.nih.gov\/projects\/SNP\/snp_ref.cgi?rs='\n-\n-\t# Ensembl  transient\n-\tprefix[\"http:\/\/identifiers.org\/ensembl\/\"]=\"ENSEMBL\"\n-\t# various, transient\n+\t# various, transient?\n     prefix[\"http:\/\/www.ncbi.nlm.nih.gov\/gene\/\"]=\"NCBIGene\"\n+    prefix[\"http:\/\/www.ncbi.nlm.nih.gov\/genome\/\"]=\"NCBIGenome\"\n+    prefix[\"http:\/\/www.ncbi.nlm.nih.gov\/assembly?term=\"]=\"NCBIAssembly\"\n \t# kegg\n-\tprefix[\"http:\/\/identifiers.org\/ec-code\/\"]=\"EC\"\n-\t# ensembl\n-\tprefix[\"http:\/\/identifiers.org\/hgnc\/HGNC:\"]=\"HGNC\"\n+\tprefix[\"http:\/\/www.genome.jp\/kegg\/pathway\/map\/map\"]=\"KEGG-img\"\n+\t# in EOM\n+\tprefix['https:\/\/elementsofmorphology.nih.gov\/images\/terms\/']=\"EOM_IMG\"\n \n \t# playing with the idea of a LOCAL identifier\n     # not the same as a bnode in that tools won't rewrite identifier\n"}
{"commit":"c4983d7e2019fe589346f855adf4d683d01a2686","subject":"Update generate_netbsd_ioctls.awk for NetBSD 8.99.25","message":"Update generate_netbsd_ioctls.awk for NetBSD 8.99.25\n\nAdd dynamic detection of header files in \/usr\/include.\nHandle \"nvlist_ref_t\" needed by npf(4) ioctl(2) operations.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@345715 91177308-0d34-0410-b5e6-96231b3b80d8\n","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- utils\/generate_netbsd_ioctls.awk\n+++ utils\/generate_netbsd_ioctls.awk\n@@ -44,133 +44,13 @@\n     rootdir = ENVIRON[\"ROOTDIR\"]\n   }\n \n-  # hardcode list of headers with ioctl(2) entries\n-  # List generated manually with the following script:\n-  #   for w in `find \/usr\/include\/ -type f -name '*.h' -exec echo {} \\;`; \\\n-  #   do awk '\/[^a-zA-Z0-9_]_IO[W]*[R]*[ ]*\\(\/ && $2 ~ \/^[A-Z_]+$\/ {got=1} END{if(got) {print ARGV[1]}}' $w; \\\n-  #   done|awk '{print \"  ARGV[ARGC++] = rootdir \\\"\" substr($0, 14) \"\\\"\"}'\n-\n-  ARGV[ARGC++] = rootdir \"altq\/altq_afmap.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_blue.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_cbq.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_cdnr.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_fifoq.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_hfsc.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_jobs.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_priq.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_red.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_rio.h\"\n-  ARGV[ARGC++] = rootdir \"altq\/altq_wfq.h\"\n-  ARGV[ARGC++] = rootdir \"crypto\/cryptodev.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/apm\/apmio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/dm\/netbsd-dm.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/dmover\/dmover_io.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/dtv\/dtvio_demux.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/dtv\/dtvio_frontend.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/filemon\/filemon.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/hdaudio\/hdaudioio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/hdmicec\/hdmicecio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/hpc\/hpcfbio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/i2o\/iopio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ic\/athioctl.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ic\/bt8xx.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ic\/hd44780var.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ic\/icp_ioctl.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ic\/isp_ioctl.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ic\/mlxio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ic\/nvmeio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ir\/irdaio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/isa\/satlinkio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/isa\/isvio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/isa\/wtreg.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/iscsi\/iscsi_ioctl.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ofw\/openfirmio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/pci\/amrio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/pci\/mlyio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/pci\/pciio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/pci\/tweio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/pcmcia\/if_cnwioctl.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/pcmcia\/if_rayreg.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/raidframe\/raidframeio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/sbus\/mbppio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/scsipi\/ses.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/sun\/disklabel.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/sun\/fbio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/sun\/kbio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/sun\/vuid_event.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/tc\/sticio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/usb\/ukyopon.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/usb\/urio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/usb\/usb.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/usb\/utoppy.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/vme\/xio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/wscons\/wsdisplay_usl_io.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/wscons\/wsconsio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/biovar.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/md.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/ccdvar.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/cgdvar.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/fssvar.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/bluetooth\/btdev.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/bluetooth\/btsco.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/kttcpio.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/lockstat.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/vndvar.h\"\n-  ARGV[ARGC++] = rootdir \"dev\/spkrio.h\"\n-  ARGV[ARGC++] = rootdir \"net\/bpf.h\"\n-  ARGV[ARGC++] = rootdir \"net\/if_atm.h\"\n-  ARGV[ARGC++] = rootdir \"net\/if_gre.h\"\n-  ARGV[ARGC++] = rootdir \"net\/if_ppp.h\"\n-  ARGV[ARGC++] = rootdir \"net\/npf.h\"\n-  ARGV[ARGC++] = rootdir \"net\/if_pppoe.h\"\n-  ARGV[ARGC++] = rootdir \"net\/if_sppp.h\"\n-  ARGV[ARGC++] = rootdir \"net\/if_srt.h\"\n-  ARGV[ARGC++] = rootdir \"net\/if_tap.h\"\n-  ARGV[ARGC++] = rootdir \"net\/if_tun.h\"\n-  ARGV[ARGC++] = rootdir \"net\/pfvar.h\"\n-  ARGV[ARGC++] = rootdir \"net\/slip.h\"\n-  ARGV[ARGC++] = rootdir \"netbt\/hci.h\"\n-  ARGV[ARGC++] = rootdir \"netinet\/ip_nat.h\"\n-  ARGV[ARGC++] = rootdir \"netinet\/ip_proxy.h\"\n-  ARGV[ARGC++] = rootdir \"netinet6\/in6_var.h\"\n-  ARGV[ARGC++] = rootdir \"netnatm\/natm.h\"\n-  ARGV[ARGC++] = rootdir \"netsmb\/smb_dev.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/agpio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/audioio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/ataio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/cdio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/chio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/clockctl.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/cpuio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/dkio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/drvctlio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/dvdio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/envsys.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/event.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/fdio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/filio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/gpio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/ioctl.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/ioctl_compat.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/joystick.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/ksyms.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/lua.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/midiio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/mtio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/power.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/radioio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/rndio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/scanio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/scsiio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/sockio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/timepps.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/ttycom.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/verified_exec.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/videoio.h\"\n-  ARGV[ARGC++] = rootdir \"sys\/wdog.h\"\n-  ARGV[ARGC++] = rootdir \"soundcard.h\"\n-  ARGV[ARGC++] = rootdir \"xen\/xenio.h\"\n+  # detect and register files to detect ioctl() definitions\n+  ARGC = 1\n+  cmd = \"find \" rootdir \" -type f -name '*.h'\"\n+  while (cmd | getline) {\n+    ARGV[ARGC++] = $0\n+  }\n+  close(cmd)\n \n   ioctl_table_max = 0\n }\n@@ -744,6 +624,8 @@\n     return \"struct_RF_SingleComponent_sz\"\n   } else if (string == \"RF_ProgressInfo_t\") {\n     return \"struct_RF_ProgressInfo_sz\"\n+  } else if (string == \"nvlist_ref_t\") {\n+    return \"struct_nvlist_ref_sz\"\n   } else {\n     print \"Unrecognized entry: \" string\n     print \"Aborting\"\n"}
{"commit":"1b9c59d69d1b47b0d9b3f1486f01a4595849bce4","subject":"Languages: split initLocaleAlias() and initLocaleDisplay() from initLocale()","message":"Languages: split initLocaleAlias() and initLocaleDisplay() from initLocale()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -2,7 +2,7 @@\n # Languages.awk                                                    #\n ####################################################################\n \n-# Initialize all locales supported on Google Translate.\n+# Initialize all locales supported.\n # Mostly ISO 639-1 codes, with a few ISO 639-3 codes.\n # \"family\" : Language family (from Glottolog)\n # \"iso\"    : ISO 639-3 code\n@@ -12,7 +12,7 @@\n #      <https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-2_codes>\n #      <https:\/\/en.wikipedia.org\/wiki\/ISO_15924#List_of_codes>\n #      <http:\/\/glottolog.org\/>\n-function initLocale(    i) {\n+function initLocale() {\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n@@ -1820,11 +1820,11 @@\n     Locale[\"emj\"][\"support\"]           = \"yandex-only\"\n     Locale[\"emj\"][\"name\"]              = \"Emoji\"\n     Locale[\"emj\"][\"endonym\"]           = \"Emoji\"\n-\n+}\n+\n+# Initialize aliases of all locales supported.\n+function initLocaleAlias(    i) {\n     for (i in Locale) {\n-        # Initialize strings for displaying endonyms of locales\n-        Locale[i][\"display\"] = show(Locale[i][\"endonym\"], i)\n-\n         # ISO 639-3 codes as aliases\n         LocaleAlias[Locale[i][\"iso\"]] = i\n \n@@ -1854,6 +1854,13 @@\n     LocaleAlias[\"tlh-Latn\"] = \"tlh\"\n     LocaleAlias[\"tlh-Piqd\"] = \"tlh-Qaak\"\n     # TODO: more aliases\n+}\n+\n+# Initialize strings for displaying endonyms of all locales supported.\n+function initLocaleDisplay(    i) {\n+    for (i in Locale) {\n+        Locale[i][\"display\"] = show(Locale[i][\"endonym\"], i)\n+    }\n }\n \n # Get locale key by language code or alias.\n"}
{"commit":"77be6c157b3582eb8b303a4e635528cd5e98f08e","subject":"Translate: fix play(), close #73","message":"Translate: fix play(), close #73\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -92,7 +92,7 @@\n \n # Play using Google Text-to-Speech engine.\n function play(text, tl,    url) {\n-    url = HttpProtocol HttpHost \"\/translate_tts?ie=UTF-8\"       \\\n+    url = HttpProtocol HttpHost \"\/translate_tts?ie=UTF-8&client=t\"\t\\\n         \"&tl=\" tl \"&q=\" preprocess(text)\n \n     # Don't use getline from pipe here - the same pipe will be run only once for each AWK script!\n"}
{"commit":"6b237f61b815e4a4adeb874f8eea2677835c7941","subject":"Translate: -i should just fail if input file not found","message":"Translate: -i should just fail if input file not found\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -563,16 +563,22 @@\n     if (Option[\"interactive\"])\n         prompt()\n \n-    i = 0\n-    while (getline line < Option[\"input\"]) {\n-        # Non-interactive verbose mode: separator between sources\n-        if (!Option[\"interactive\"])\n-            if (Option[\"verbose\"] && i++ > 0)\n-                p(prettify(\"source-seperator\", replicate(Option[\"chr-source-seperator\"], Option[\"width\"])))\n-\n-        if (Option[\"interactive\"])\n-            repl(line)\n-        else\n-            translate(line)\n-    }\n-}\n+    if (Option[\"input\"] == STDIN || fileExists(Option[\"input\"])) {\n+        i = 0\n+        while (getline line < Option[\"input\"])\n+            if (line) {\n+                # Non-interactive verbose mode: separator between sources\n+                if (!Option[\"interactive\"])\n+                    if (Option[\"verbose\"] && i++ > 0)\n+                        p(prettify(\"source-seperator\",\n+                                   replicate(Option[\"chr-source-seperator\"],\n+                                             Option[\"width\"])))\n+\n+                if (Option[\"interactive\"])\n+                    repl(line)\n+                else\n+                    translate(line)\n+            }\n+    } else\n+        e(\"[ERROR] File not found: \" Option[\"input\"])\n+}\n"}
{"commit":"5d1498cdaf9599e98ea2719bc3fb3491011e8015","subject":"Translate: send Cookie in getResponse()","message":"Translate: send Cookie in getResponse()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -84,7 +84,7 @@\n     return text\n }\n \n-# Send an HTTP request and get response from an online translator.\n+# Send an HTTP GET request and get response from an online translator.\n function getResponse(text, sl, tl, hl,    content, header, isBody, url) {\n     url = _RequestUrl(text, sl, tl, hl)\n \n@@ -93,6 +93,8 @@\n         \"Connection: close\\n\"\n     if (Option[\"user-agent\"])\n         header = header \"User-Agent: \" Option[\"user-agent\"] \"\\n\"\n+    if (Cookie)\n+        header = header \"Cookie: \" Cookie \"\\n\"\n \n     content = NULLSTR; isBody = 0\n     print header |& HttpService\n"}
{"commit":"e545bce8ef006f14b65bd3b77f5ca6adb3bc10e0","subject":"Help: fix indentation","message":"Help: fix indentation\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -210,51 +210,51 @@\n     return \"Usage:\\t\" Command \" [options] [source]:[target] [\" ansi(\"underline\", \"text\") \"] ...\" RS \\\n         \"\\t\" Command \" [options] [source]:[target1]+[target2]+... [\" ansi(\"underline\", \"text\") \"] ...\" RS RS \\\n         \"Options:\" RS                                                   \\\n-        I ansi(\"bold\", \"-V, -version\") RS                               \\\n-        I I \"Print version and exit.\" RS                                \\\n-        I ansi(\"bold\", \"-H, -h, -help\") RS                              \\\n-        I I \"Print this help message and exit.\" RS                      \\\n-        I ansi(\"bold\", \"-M, -m, -manual\") RS                            \\\n-        I I \"Show the manual.\" RS                                       \\\n-        I ansi(\"bold\", \"-r, -reference\") RS                             \\\n-        I I \"Print a list of languages (displayed in endonyms) and their ISO 639 codes for reference, and exit.\" RS \\\n-        I ansi(\"bold\", \"-R, -reference-english\") RS                     \\\n-        I I \"Print a list of languages (displayed in English names) and their ISO 639 codes for reference, and exit.\" RS \\\n-        I ansi(\"bold\", \"-v, -verbose\") RS                               \\\n-        I I \"Verbose mode. (default)\" RS                                \\\n-        I ansi(\"bold\", \"-b, -brief\") RS                                 \\\n-        I I \"Brief mode.\" RS                                            \\\n-        I ansi(\"bold\", \"-no-ansi\") RS                                   \\\n-        I I \"Don't use ANSI escape codes in the translation.\" RS        \\\n-        I ansi(\"bold\", \"-w [num], -width [num]\") RS                     \\\n-        I I \"Specify the screen width for padding when displaying right-to-left languages.\" RS \\\n-        I ansi(\"bold\", \"-browser [program]\") RS                         \\\n-        I I \"Specify the web browser to use.\" RS                        \\\n-        I ansi(\"bold\", \"-p, -play\") RS                                  \\\n-        I I \"Listen to the translation.\" RS                             \\\n-        I ansi(\"bold\", \"-player [program]\") RS                          \\\n-        I I \"Specify the command-line audio player to use, and listen to the translation.\" RS \\\n-        I ansi(\"bold\", \"-x [proxy], -proxy [proxy]\") RS                 \\\n-        I I \"Use proxy on given port.\" RS                               \\\n-        I ansi(\"bold\", \"-I, -interactive\") RS                           \\\n-        I I \"Start an interactive shell, invoking `rlwrap` whenever possible (unless `-no-rlwrap` is specified).\" RS \\\n-        I ansi(\"bold\", \"-no-rlwrap\") RS                                 \\\n-        I I \"Don't invoke `rlwrap` when starting an interactive shell with `-I`.\" RS \\\n-        I ansi(\"bold\", \"-E, -emacs\") RS                                 \\\n-        I I \"Start an interactive shell within GNU Emacs, invoking `emacs`.\" RS \\\n-        I ansi(\"bold\", \"-prompt [prompt_string]\") RS                    \\\n-        I I \"Customize your prompt string in the interactive shell.\" RS \\\n-        I ansi(\"bold\", \"-prompt-color [color_code]\") RS                 \\\n-        I I \"Customize your prompt color in the interactive shell.\" RS  \\\n-        I ansi(\"bold\", \"-i [file], -input [file]\") RS                   \\\n-        I I \"Specify the input file name.\" RS                           \\\n-        I ansi(\"bold\", \"-o [file], -output [file]\") RS                  \\\n-        I I \"Specify the output file name.\" RS                          \\\n-        I ansi(\"bold\", \"-l [code], -lang [code]\") RS                    \\\n-        I I \"Specify your own, native language (\\\"home\/host language\\\").\" RS \\\n-        I ansi(\"bold\", \"-s [code], -source [code]\") RS                  \\\n-        I I \"Specify the source language (language of the original text).\" RS \\\n-        I ansi(\"bold\", \"-t [codes], -target [codes]\") RS                \\\n-        I I \"Specify the target language(s) (language(s) of the translated text).\" RS RS \\\n-        \"See the man page \" Command \"(1) for more information.\"\n+        ansi(\"bold\", \"-V, -version\") RS                                 \\\n+        ins(1, \"Print version and exit.\") RS                            \\\n+        ansi(\"bold\", \"-H, -h, -help\") RS                                \\\n+        ins(1, \"Print this help message and exit.\") RS                  \\\n+        ansi(\"bold\", \"-M, -m, -manual\") RS                              \\\n+        ins(1, \"Show the manual.\") RS                                   \\\n+        ansi(\"bold\", \"-r, -reference\") RS                               \\\n+        ins(1, \"Print a list of languages (displayed in endonyms) and their ISO 639 codes for reference, and exit.\") RS \\\n+        ansi(\"bold\", \"-R, -reference-english\") RS                       \\\n+        ins(1, \"Print a list of languages (displayed in English names) and their ISO 639 codes for reference, and exit.\") RS \\\n+        ansi(\"bold\", \"-v, -verbose\") RS                                 \\\n+        ins(1, \"Verbose mode. (default)\") RS                            \\\n+        ansi(\"bold\", \"-b, -brief\") RS                                   \\\n+        ins(1, \"Brief mode.\") RS                                        \\\n+        ansi(\"bold\", \"-no-ansi\") RS                                     \\\n+        ins(1, \"Don't use ANSI escape codes in the translation.\") RS    \\\n+        ansi(\"bold\", \"-w [num], -width [num]\") RS                       \\\n+        ins(1, \"Specify the screen width for padding when displaying right-to-left languages.\") RS \\\n+        ansi(\"bold\", \"-browser [program]\") RS                           \\\n+        ins(1, \"Specify the web browser to use.\") RS                    \\\n+        ansi(\"bold\", \"-p, -play\") RS                                    \\\n+        ins(1, \"Listen to the translation.\") RS                         \\\n+        ansi(\"bold\", \"-player [program]\") RS                            \\\n+        ins(1, \"Specify the command-line audio player to use, and listen to the translation.\") RS \\\n+        ansi(\"bold\", \"-x [proxy], -proxy [proxy]\") RS                   \\\n+        ins(1, \"Use proxy on given port.\") RS                           \\\n+        ansi(\"bold\", \"-I, -interactive\") RS                             \\\n+        ins(1, \"Start an interactive shell, invoking `rlwrap` whenever possible (unless `-no-rlwrap` is specified).\") RS \\\n+        ansi(\"bold\", \"-no-rlwrap\") RS                                   \\\n+        ins(1, \"Don't invoke `rlwrap` when starting an interactive shell with `-I`.\") RS \\\n+        ansi(\"bold\", \"-E, -emacs\") RS                                   \\\n+        ins(1, \"Start an interactive shell within GNU Emacs, invoking `emacs`.\") RS \\\n+        ansi(\"bold\", \"-prompt [prompt_string]\") RS                      \\\n+        ins(1, \"Customize your prompt string in the interactive shell.\") RS \\\n+        ansi(\"bold\", \"-prompt-color [color_code]\") RS                   \\\n+        ins(1, \"Customize your prompt color in the interactive shell.\") RS \\\n+        ansi(\"bold\", \"-i [file], -input [file]\") RS                     \\\n+        ins(1, \"Specify the input file name.\") RS                       \\\n+        ansi(\"bold\", \"-o [file], -output [file]\") RS                    \\\n+        ins(1, \"Specify the output file name.\") RS                      \\\n+        ansi(\"bold\", \"-l [code], -lang [code]\") RS                      \\\n+        ins(1, \"Specify your own, native language (\\\"home\/host language\\\").\") RS \\\n+        ansi(\"bold\", \"-s [code], -source [code]\") RS                    \\\n+        ins(1, \"Specify the source language (language of the original text).\") RS \\\n+        ansi(\"bold\", \"-t [codes], -target [codes]\") RS                  \\\n+        ins(1, \"Specify the target language(s) (language(s) of the translated text).\") RS \\\n+        RS \"See the man page \" Command \"(1) for more information.\"\n }\n"}
{"commit":"0ae04ccbb009ec4b7f7f38eced16660d08302214","subject":"Main: fix a regression bug with option -play","message":"Main: fix a regression bug with option -play\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -37,7 +37,7 @@\n     Option[\"width\"] = ENVIRON[\"COLUMNS\"] ? ENVIRON[\"COLUMNS\"] : 64\n \n     Option[\"play\"] = 0\n-    Option[\"player\"] = ENVIRON[\"PLAYER\"] ? ENVIRON[\"PLAYER\"] : AudioPlayer\n+    Option[\"player\"] = ENVIRON[\"PLAYER\"]\n \n     Option[\"interactive\"] = 0\n     Option[\"no-rlwrap\"] = 0\n@@ -129,10 +129,7 @@\n         # -p, -play\n         match(ARGV[pos], \/^--?p(l(ay?)?)?$\/)\n         if (RSTART) {\n-            if (Option[\"player\"] || SpeechSynthesizer)\n-                Option[\"play\"] = 1\n-            else\n-                w(\"[WARNING] No available audio player or speech synthesizer is found.\")\n+            Option[\"play\"] = 1\n             continue\n         }\n \n@@ -302,8 +299,17 @@\n \n     if (Option[\"play\"]) {\n         # Initialize audio player or speech synthesizer\n-        initAudioPlayer()\n-        if (!AudioPlayer) initSpeechSynthesizer()\n+        if (!Option[\"player\"]) {\n+            initAudioPlayer()\n+            Option[\"player\"] = AudioPlayer ? AudioPlayer : Option[\"player\"]\n+            if (!Option[\"player\"])\n+                initSpeechSynthesizer()\n+        }\n+\n+        if (!Option[\"player\"] && !SpeechSynthesizer) {\n+            w(\"[WARNING] No available audio player or speech synthesizer is found.\")\n+            Option[\"play\"] = 0\n+        }\n     }\n \n     if (pos < ARGC) {\n"}
{"commit":"a97463f6c90434039bcd550ae2c103993c376561","subject":"Support also different version of Hadoop (=Fedora).","message":"Support also different version of Hadoop (=Fedora).\n","repos":"MetaCenterCloudPuppet\/cesnet-site_hadoop,MetaCenterCloudPuppet\/cesnet-site_hadoop,MetaCenterCloudPuppet\/cesnet-site_hadoop,MetaCenterCloudPuppet\/cesnet-site_hadoop","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- files\/accounting\/quota.awk\n+++ files\/accounting\/quota.awk\n@@ -19,8 +19,13 @@\n \tprint \"INSERT INTO measure (name) VALUES ('quota');\";\n }\n \n-{\n+\/^[0-9]+[ \t]+[0-9]+[ \t]+\\\/.*\/ {\n \tused=$1\n \tuser=$4\n \tprint \"INSERT INTO quota (id_measure, user, used) VALUES (last_insert_id(), \" dbstr(user) \", \" dbi(used) \");\"\n }\n+\/^[0-9]+[ \t]+\\\/.*\/ {\n+\tused=$1\n+\tuser=$3\n+\tprint \"INSERT INTO quota (id_measure, user, used) VALUES (last_insert_id(), \" dbstr(user) \", \" dbi(used) \");\"\n+}\n"}
{"commit":"9bba9ce9b0570b6f8b179ee16413b750ee8b7198","subject":"Languages: update Tigrinya (Google support)","message":"Languages: update Tigrinya (Google support)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1590,6 +1590,19 @@\n     Locale[\"th\"][\"glotto\"]             = \"thai1261\"\n     Locale[\"th\"][\"script\"]             = \"Thai\"\n \n+    # Tigrinya\n+    Locale[\"ti\"][\"name\"]               = \"Tigrinya\"\n+    Locale[\"ti\"][\"endonym\"]            = \"\u1275\u130d\u122d\u129b\"\n+    #Locale[\"ti\"][\"translations-of\"]\n+    #Locale[\"ti\"][\"definitions-of\"]\n+    #Locale[\"ti\"][\"synonyms\"]\n+    #Locale[\"ti\"][\"examples\"]\n+    #Locale[\"ti\"][\"see-also\"]\n+    Locale[\"ti\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"ti\"][\"iso\"]                = \"tir\"\n+    Locale[\"ti\"][\"glotto\"]             = \"tigr1271\"\n+    Locale[\"ti\"][\"script\"]             = \"Ethi\"\n+\n     #96 Turkish\n     Locale[\"tr\"][\"name\"]               = \"Turkish\"\n     Locale[\"tr\"][\"endonym\"]            = \"T\u00fcrk\u00e7e\"\n@@ -2006,20 +2019,6 @@\n     Locale[\"rm\"][\"iso\"]                = \"roh\"\n     Locale[\"rm\"][\"glotto\"]             = \"roma1326\"\n     Locale[\"rm\"][\"script\"]             = \"Latn\"\n-\n-    #? Tigrinya\n-    Locale[\"ti\"][\"support\"]            = \"unstable\"\n-    Locale[\"ti\"][\"name\"]               = \"Tigrinya\"\n-    Locale[\"ti\"][\"endonym\"]            = \"\u1275\u130d\u122d\u129b\"\n-    #Locale[\"ti\"][\"translations-of\"]\n-    #Locale[\"ti\"][\"definitions-of\"]\n-    #Locale[\"ti\"][\"synonyms\"]\n-    #Locale[\"ti\"][\"examples\"]\n-    #Locale[\"ti\"][\"see-also\"]\n-    Locale[\"ti\"][\"family\"]             = \"Afro-Asiatic\"\n-    Locale[\"ti\"][\"iso\"]                = \"tir\"\n-    Locale[\"ti\"][\"glotto\"]             = \"tigr1271\"\n-    Locale[\"ti\"][\"script\"]             = \"Ethi\"\n \n     #? Tibetan (Standard Tibetan)\n     Locale[\"bo\"][\"support\"]            = \"unstable\"\n"}
{"commit":"7dadb34383779762956b61daf572dcc9813620db","subject":"pushing","message":"pushing\n","repos":"timm\/sandbox,timm\/sandbox,timm\/sandbox,timm\/sandbox,timm\/sandbox","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- auk\/sdtree.auk\n+++ auk\/sdtree.auk\n@@ -16,16 +16,14 @@\n       if (c < max) \n         kept(r,c, Data[r][c], Data[r][k], ranges)\n   use = best(ranges,sorted)\n-  #for(r=length(sorted); r>=1; r--)\n   for(r=length(sorted); r>=1; r--)\n     if (sorted[r].column == use)\n-      if (length( sorted[r].rows ) > length(Data)^0.5) \n         kids(use, sorted[r],max,k,pre) \n }\n function kids(use,range,max,k,pre,    txt) {\n-   txt =  report(range.rows) pre Name[use] \" = \" range.value \n-   print(txt)\n-   tree(range.rows,max,k,\"|__ \" pre) \n+   if (length( range.rows ) > length(Data)^0.5) {\n+     print  report(range.rows) pre Name[use] \" = \" range.value \n+     tree(range.rows,max,k,\"|__ \" pre)  }\n }\n function range(i,c,x) {\n   num(i)\n@@ -45,7 +43,6 @@\n   n = musort(ranges,sorted)\n   return sorted[n].column\n }\n-\n function report(rows,   w,n,r,txt) {\n   for(w in W) {\n     num(n)\n"}
{"commit":"f4b3100caf1e7eba3c63b00c9736903db2a30664","subject":"[as] Create bytes with the size of the instruction","message":"[as] Create bytes with the size of the instruction\n\nIt is impossible to know the number of bytes that we have to copy, so the bytes\narray must be always as big as the instruction size.\n","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- as\/target\/gen.awk\n+++ as\/target\/gen.awk\n@@ -56,7 +56,8 @@\n \t\t\t       opsize[i], opformat[i]\n \n \t\t\tif (opbytes[i] != \"\")\n-\t\t\t\tprintf \"\\t\\t.bytes = (unsigned char []) {%s},\\n\",\n+\t\t\t\tprintf \"\\t\\t.bytes = (unsigned char [%d]) {%s},\\n\",\n+\t\t\t\t        opsize[i],\n \t\t\t\t        opbytes[i]\n \n \t\t\ta = str2args(opargs[i])\n"}
{"commit":"1a1f2997a511d4f3a8bd28f7e4d5720b74ba3225","subject":"TranslatorInterface: add abstract method _PostRequestContentType()","message":"TranslatorInterface: add abstract method _PostRequestContentType()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/TranslatorInterface.awk\n+++ include\/TranslatorInterface.awk\n@@ -17,6 +17,12 @@\n # Abstract method foobarPostRequestUrl(text, sl, tl, hl, type: string): string\n function _PostRequestUrl(text, sl, tl, hl, type,    vm) {\n     vm = engineMethod(\"PostRequestUrl\")\n+    return @vm(text, sl, tl, hl, type)\n+}\n+\n+# Abstract method foobarPostRequestContentType(text, sl, tl, hl, type: string): string\n+function _PostRequestContentType(text, sl, tl, hl, type,    vm) {\n+    vm = engineMethod(\"PostRequestContentType\")\n     return @vm(text, sl, tl, hl, type)\n }\n \n"}
{"commit":"425e18c231f4f030b278050809ea1fa1f51d4bf2","subject":"display bequeath indicator and date separator and format code","message":"display bequeath indicator and date separator and format code\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"unknown","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"9633d10be515373a0473a26663b9c0d818fff951","subject":"Help: add option -no-autocorrect","message":"Help: add option -no-autocorrect\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -105,6 +105,8 @@\n         ins(2, \"Do not use any other theme than default.\") RS           \\\n         ins(1, ansi(\"bold\", \"-no-ansi\")) RS                             \\\n         ins(2, \"Do not use ANSI escape codes.\") RS                      \\\n+        ins(1, ansi(\"bold\", \"-no-autocorrect\")) RS                      \\\n+        ins(2, \"Do not autocorrect. (if defaulted by the translation engine)\") RS \\\n         ins(1, ansi(\"bold\", \"-no-bidi\")) RS                             \\\n         ins(2, \"Do not convert bidirectional texts.\") RS                \\\n         RS \"Audio options:\" RS                                          \\\n"}
{"commit":"157be854ef576a6dad2010900e1b8618d75023ac","subject":"Help: cleanup","message":"Help: cleanup\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -181,7 +181,7 @@\n #     displayName = \"endonym\" or \"name\"\n function getReference(displayName,\n                       ####\n-                      code, col, cols, i, j, name, rows, r, saveSortedIn, t, tt) {\n+                      code, col, cols, i, j, name, r, rows, saveSortedIn, t, tt) {\n     rows = int(length(Locale) \/ 3) + 1\n     cols[0][0] = cols[1][0] = cols[2][0] = NULLSTR\n     i = 0\n"}
{"commit":"23815e94f90f9584489067b2b1d002c9b767f5f4","subject":"Remove temporary Jamaica Inn fix","message":"Remove temporary Jamaica Inn fix\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -172,15 +172,6 @@\n # Extract the episode duration\n \/<meta itemprop=\"timeRequired\"\/ {\n     split ($0,fld,\"\\\"\")\n-    # broken times in Jamaica Inn (may be temporary)\n-    if (episodeURL ~ \/\\\/jamaicainn\\\/\/ && fld[4] == \"T-1M57S\") {\n-        printf (\"==> Corrected duration: %s  %s\\n\", episodeURL, fld[4]) >> ERROR_FILE\n-        fld[4] = \"T59M18S\"\n-    }\n-    if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/cast-and-crew-interviews\/ && fld[4] = \"T09M08S\") {\n-            printf (\"==> Corrected duration: %s  %s\\n\", episodeURL, fld[4]) >> ERROR_FILE\n-        fld[4] = \"T25M54S\"\n-    }\n     split (fld[4],tm,\/[TMS]\/)\n     secs = tm[3]\n     mins = tm[2] + int(secs \/ 60)\n@@ -295,15 +286,6 @@\n             seasonNumber = URLseasonNumber\n         }\n     }\n-    # Jamaica Inn has wrong episode numbers as of 180918 (may be temporary)\n-    if (episodeURL ~ \/jamaicainn\\\/episode-[1-9]\/) {\n-        split (episodeURL, episode, \"-\")\n-        if (episodeNumber != episode[2]) {\n-            printf (\"==> Corrected mismatch: %s was episode %d\\n\", \\\n-               episodeURL, episodeNumber) >> ERROR_FILE\n-            episodeNumber = episode[2]\n-        }\n-    }\n \n     if ((episodeNumber + 0) == 0)\n         print \"==> Episode number is 00: \" episodeURL >> ERROR_FILE\n"}
{"commit":"6d43f34cf87a69cdee0ca935f3ad3b4e85b12840","subject":"nix\/deps\/gradle: include Gradle targets with numbers in names","message":"nix\/deps\/gradle: include Gradle targets with numbers in names\n\nThis fixes an issue first detected in:\nhttps:\/\/github.com\/status-im\/status-react\/pull\/12141\n\nWhich resulted in dependencies being ignored for `react-native-nagivation`.\n\nSigned-off-by: Jakub Soko\u0142owski <1d3764b91b902f6b45836e2498da81fe35caf6d6@status.im>\n","repos":"status-im\/status-react,status-im\/status-react,status-im\/status-react,status-im\/status-react,status-im\/status-react,status-im\/status-react,status-im\/status-react,status-im\/status-react","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- nix\/deps\/gradle\/gradle_parser.awk\n+++ nix\/deps\/gradle\/gradle_parser.awk\n@@ -17,7 +17,7 @@\n # Gradle outputs dependencies in groups defined by configurations.\n # Those configurations are words followed by a dash and a description.\n # There's also a special 'classpath' configuration we want.\n-\/^(classpath|[a-zA-Z]+)( - .*)?$\/ {\n+\/^(classpath|[a-zA-Z0-9]+)( - .*)?$\/ {\n     # Ignore configurations starting with 'test'\n     if (tolower($1) ~ \/^test\/) {\n         next\n"}
{"commit":"2681b87694309128e5d393cd802fe2f9305665cb","subject":"LanguageData: empty string should not be an alias (fix #436)","message":"LanguageData: empty string should not be an alias (fix #436)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -2274,13 +2274,15 @@\n function initLocaleAlias(    i) {\n     for (i in Locale) {\n         # ISO 639-3 codes as aliases\n-        LocaleAlias[Locale[i][\"iso\"]] = i\n-\n+        if (\"iso\" in Locale[i])\n+            LocaleAlias[Locale[i][\"iso\"]] = i\n         # Names and endonyms as aliases\n-        LocaleAlias[tolower(Locale[i][\"name\"])] = i\n+        if (\"name\" in Locale[i])\n+            LocaleAlias[tolower(Locale[i][\"name\"])] = i\n         if (\"name2\" in Locale[i])\n             LocaleAlias[tolower(Locale[i][\"name2\"])] = i\n-        LocaleAlias[tolower(Locale[i][\"endonym\"])] = i\n+        if (\"endonym\" in Locale[i])\n+            LocaleAlias[tolower(Locale[i][\"endonym\"])] = i\n         if (\"endonym2\" in Locale[i])\n             LocaleAlias[tolower(Locale[i][\"endonym2\"])] = i\n     }\n"}
{"commit":"933b1c62038db988f85e014757aeb015df9655bf","subject":"Languages: add Kinyarwanda language","message":"Languages: add Kinyarwanda language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -143,6 +143,19 @@\n     Locale[\"ie\"][\"iso\"]                = \"ile\"\n     Locale[\"ie\"][\"glotto\"]             = \"occi1241\"\n     Locale[\"ie\"][\"script\"]             = \"Latn\"\n+\n+    #? Kinyarwanda\n+    Locale[\"rw\"][\"name\"]               = \"Kinyarwanda\"\n+    Locale[\"rw\"][\"endonym\"]            = \"Ikinyarwanda\"\n+    #Locale[\"rw\"][\"translations-of\"]\n+    #Locale[\"rw\"][\"definitions-of\"]\n+    #Locale[\"rw\"][\"synonyms\"]\n+    #Locale[\"rw\"][\"examples\"]\n+    #Locale[\"rw\"][\"see-also\"]\n+    Locale[\"rw\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"rw\"][\"iso\"]                = \"kin\"\n+    Locale[\"rw\"][\"glotto\"]             = \"kiny1244\"\n+    Locale[\"rw\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"231056f555b354512ab4be541fc308effd46706d","subject":"removing debug print","message":"removing debug print\n","repos":"BenoitHiller\/shellby,StephenHamilton\/shellby,StephenHamilton\/shellby,BenoitHiller\/shellby","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/resplit.awk\n+++ lib\/resplit.awk\n@@ -15,7 +15,6 @@\n   currentIndex = 0\n   items[0] = \"\"\n   for(i = 1; i <= NF; i++) {\n-    print $i > \"\/dev\/stderr\"\n     if($i == \"\\\\\") {\n       if(escaped) {\n         items[currentIndex] = items[currentIndex] $i\n"}
{"commit":"3bd9aca3779cb060cbcbc65e22fbb7aaf6ee9b74","subject":"script","message":"script\n","repos":"tkralphs\/Dip,coin-or\/Dip,tkralphs\/Dip,coin-or\/Dip,tkralphs\/Dip,coin-or\/Dip,coin-or\/Dip,coin-or\/Dip,tkralphs\/Dip,tkralphs\/Dip,coin-or\/Dip,coin-or\/Dip,tkralphs\/Dip,tkralphs\/Dip","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- Dip\/examples\/scripts\/condor\/report.root.awk\n+++ Dip\/examples\/scripts\/condor\/report.root.awk\n@@ -9,39 +9,39 @@\n #change INF to 999999\n sed 's\/INF\/999999\/' tmp.root > tmp2.root\n \n-# $1     , $13, $16,    \n-#instance, LB,  UB, gap\n+# $1     , $22, $13, $16,    \n+#instance, time, LB,  UB, gap\n \n awk -v time=\"$TIME\" '\n {\n    timeLim = time-(time\/20);\n    if($7 == 999999){ #no ub\n-      if($15 >= timeLim){ #exceed time\n-         printf \"%15s & T        & %10.2f & $\\\\infty$ & $\\\\infty$  & %8d\\n\", \n-            $1,$5,$9;\n+      if($22 >= timeLim){ #exceed time\n+         printf \"%15s & T        & %10.2f & $\\\\infty$ & $\\\\infty$\\n\", \n+            $1,$5;\n       }\n       else{\n          #no ub, did not exceed time limit <-- error?\n-         printf \"%15s & %8.2f & & %10.2f & $\\\\infty$ & $\\\\infty$  & %8d\\n\",   \n-            $1,$15,$5,$9;\n+         printf \"%15s & %8.2f & & %10.2f & $\\\\infty$ & $\\\\infty$\\n\",   \n+            $1,$22,$5;\n       }\n    }\n    else{\n       #if ub is negative, will need to flip in gap calc for absolute value\n       if($7 >= 0){ mult=1 } else {mult=-1};\n       gap = 100*($7-$5)\/(mult*$7);\n-      if($15 >= timeLim){ #exceed time\n-         printf \"%15s & T        & %10.2f & %10.2f & %8.2f\\\\% & %8d\\n\", \n-            $1,$5,$7,gap,$9; \n+      if($22 >= timeLim){ #exceed time\n+         printf \"%15s & T        & %10.2f & %10.2f & %8.2f\\\\%\\n\", \n+            $1,$5,$7,gap; \n       }  \n       else{\n          if(gap <= 0.0000001){\n-            printf \"%15s & %8.2f & %10.2f & %10.2f & OPT & %8d\\n\", \n-               $1,$15,$5,$7,$9;\n+            printf \"%15s & %8.2f & %10.2f & %10.2f & OPT\\n\", \n+               $1,$22,$5,$7;\n          }\n          else{\n-            printf \"%15s & %8.2f & %10.2f & %10.2f & %8.2f\\\\% & %8d\\n\", \n-               $1,$13,$5,$7,gap,$9;\n+            printf \"%15s & %8.2f & %10.2f & %10.2f & %8.2f\\\\%\\n\", \n+               $1,$13,$5,$7,gap;\n          }\n       }\n    }\n"}
{"commit":"31b996833d7d4de37b6dd3084ac555b39d0e2077","subject":"open_c\/version.awk: fixed whitespace","message":"open_c\/version.awk: fixed whitespace\n\ndarcs-hash:20081127232830-db55f-f7f8f25ba5a9a5f7ab12fe9f3d6f92e98edfd502.gz\n","repos":"BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,BelledonneCommunications\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- open_c\/version.awk\n+++ open_c\/version.awk\n@@ -1,7 +1,7 @@\n #! \/bin\/gawk\n #\n # This script extracts the version information from configure.ac\n-# and re-generates win32\/config.h and \n+# and re-generates win32\/config.h and\n # libsofia-sip-ua\/features\/sofia_sip_features.h\n #\n # --------------------------------------------------------------------\n@@ -38,7 +38,7 @@\n \n IN && \/^AC_INIT\/ { version=$2; gsub(\/[\\]\\[)]\/, \"\", version); }\n \n-OUT && \/@[A-Z_]+@\/ { \n+OUT && \/@[A-Z_]+@\/ {\n   gsub(\/@PACKAGE_VERSION@\/, version);\n   gsub(\/@PACKAGE_BUGREPORT@\/, \"sofia-sip-devel@lists.sourceforge.net\");\n   gsub(\/@PACKAGE_NAME@\/, \"sofia-sip\");\n"}
{"commit":"49114ab034c056eb7adeddde37e2a33bbb0a4870","subject":"interpretation misspell","message":"interpretation misspell\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -144,7 +144,7 @@\n    comment_out = length(interpretAsNull) && length(conversionID) ? \"\" : \"#\"; # We want to put in the template so it is easy to uncomment.\n                                     printf(\"      %sconversion:interpret [          \\n\",             comment_out);\n                                     printf(\"      %s   conversion:symbol \\\"%s\\\";\\n\",                 comment_out,interpretAsNull);\n-                                    printf(\"      %s   conversion:intepretation conversion:null; \\n\",comment_out);\n+                                    printf(\"      %s   conversion:interpretation conversion:null; \\n\",comment_out);\n                                     printf(\"      %s];                            \\n\",               comment_out);\n    if(length(dataEnd)) {\n                                     printf(\"      conversion:enhance [        \\n\");\n"}
{"commit":"a8dcf253fac7c951febc67c832a47e039d50aedc","subject":"tests\/getdents: handle older getdents calls","message":"tests\/getdents: handle older getdents calls\n\nIf the tools we use call older getdents syscalls where d_type isn't\npassed back, or the arch is old (like Alpha) and can't pass back in\neither version, make sure we don't fail.\n\n* tests\/getdents.awk (d_type_dir, d_type_reg): Accept DT_UNKNOWN.\n","repos":"cuviper\/strace,bigzz\/strace_android,Saruta\/strace,geofft\/strace,YUPlayGodDev\/platform_external_strace,Infinitive-OS\/platform_external_strace,AOSP-YU\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,vrastogi\/strace,YUPlayGodDev\/platform_external_strace,geofft\/strace,TeamExodus\/external_strace,bigzz\/strace_android,AOSP-YU\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,TeamExodus\/external_strace,TeamExodus\/external_strace,geofft\/strace,Yu-AndroidM\/android_external_strace,Yu-AndroidM\/android_external_strace,Distrotech\/strace,geofft\/strace,vrastogi\/strace,Yu-AndroidM\/android_external_strace,Infinitive-OS\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,Saruta\/strace,geekboxzone\/mmallow_external_strace,YUPlayGodDev\/platform_external_strace,Yu-AndroidM\/android_external_strace,vrastogi\/strace,AOSP-YU\/platform_external_strace,kapdop\/android_external_strace,bigzz\/strace_android,Saruta\/strace,Saruta\/strace,cuviper\/strace,geekboxzone\/mmallow_external_strace,MonkeyZZZZ\/platform_external_strace,Saruta\/strace,TeamExodus\/external_strace,kapdop\/android_external_strace,geekboxzone\/mmallow_external_strace,cuviper\/strace,Distrotech\/strace,Infinitive-OS\/platform_external_strace,geofft\/strace,geekboxzone\/mmallow_external_strace,YUPlayGodDev\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,cuviper\/strace,AOSP-YU\/platform_external_strace,vrastogi\/strace,kapdop\/android_external_strace,vrastogi\/strace,TeamExodus\/external_strace,geekboxzone\/mmallow_external_strace,bigzz\/strace_android,Yu-AndroidM\/android_external_strace,kapdop\/android_external_strace,AOSP-YU\/platform_external_strace,bigzz\/strace_android,Infinitive-OS\/platform_external_strace,Distrotech\/strace,Infinitive-OS\/platform_external_strace,kapdop\/android_external_strace,Distrotech\/strace,Distrotech\/strace,YUPlayGodDev\/platform_external_strace,cuviper\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/getdents.awk\n+++ tests\/getdents.awk\n@@ -11,8 +11,9 @@\n   d_name_1 = \"d_name=\\\"\\\\.\\\"\"\n   d_name_2 = \"d_name=\\\"\\\\.\\\\.\\\"\"\n   d_name_3 = \"d_name=\\\"(A\\\\\\\\n){127}Z\\\"\"\n-  d_type_dir = \"d_type=DT_DIR\"\n-  d_type_reg = \"d_type=DT_REG\"\n+  # Some older systems might not pass back d_type at all like Alpha.\n+  d_type_dir = \"d_type=DT_(DIR|UNKNOWN)\"\n+  d_type_reg = \"d_type=DT_(REG|UNKNOWN)\"\n \n   dirent_1   = \"\\\\{\" d_ino \", \" d_off \", \" d_reclen \", \" d_name_1 \", \" d_type_dir \"\\\\}\"\n   dirent_2   = \"\\\\{\" d_ino \", \" d_off \", \" d_reclen \", \" d_name_2 \", \" d_type_dir \"\\\\}\"\n"}
{"commit":"c7aef0246bef2fe09cbe93d6540d9d430c306747","subject":"Total fix.","message":"Total fix.\n","repos":"jketo\/arcusysdevday2015,jketo\/arcusysdevday2015,jketo\/arcusysdevday2015,jketo\/arcusysdevday2015,jketo\/arcusysdevday2015,jketo\/arcusysdevday2015,jketo\/arcusysdevday2015,jketo\/arcusysdevday2015,jketo\/arcusysdevday2015,jketo\/arcusysdevday2015","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- TeamOne\/do.awk\n+++ TeamOne\/do.awk\n@@ -21,9 +21,14 @@\n }\n \n END {\n+    lines=0;\n+    rasa=0;\n     for (var in File) {\n+        lines+=Lines[var];\n+        rasa+=Rask[var];\n         print File[var], \": lines \", Lines[var], \", RaSa \", Rask[var];\n     }\n+    print \"Total: lines \", lines, \", Rasa \", rasa;\n }\n \n {\n"}
{"commit":"64bf8019b01528a6e3afa905193501577347b60f","subject":"Main: -sp => -speak","message":"Main: -sp => -speak\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -367,7 +367,7 @@\n         }\n \n         # -speak\n-        match(ARGV[pos], \/^--?speak$\/)\n+        match(ARGV[pos], \/^--?sp(e(ak?)?)?$\/)\n         if (RSTART) {\n             Option[\"play\"] = 2\n             continue\n"}
{"commit":"b908844f25dcf3e274fcc88f09bb29d79f224519","subject":"Use `.perim` rather than recreating node outlines, and draw edges to their centre points for `fsmedge()` to clip.","message":"Use `.perim` rather than recreating node outlines, and draw edges to their centre points for `fsmedge()` to clip.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -51,14 +51,12 @@\n \n \t# TODO: better explain this\n \t# TODO: explain reversed for q, else we'd find p again, where head == tail\n-\tprint \"\tpath sn; sn := fullcircle scaled head.diam shifted head;\" # outline\n-\tprint \"\tpath st; st := fullcircle scaled tail.diam shifted tail;\" # outline\n-\tprint \"\tpair p; p = e intersectionpoint sn;\\n\";\n-\tprint \"\tpair q; q = (reverse e) intersectionpoint st;\\n\";\n+\tprint \"\tpair p; p = e           intersectionpoint head.perim;\\n\";\n+\tprint \"\tpair q; q = (reverse e) intersectionpoint tail.perim;\\n\";\n \n \tprint \"\tif head = tail:\"\n \tprint \"\t\thead.loops := head.loops + 1;\"\n-\tprint \"\t\tfsmloop(head)(p, q, lab);\"\n+\tprint \"\t\tfsmloop(head)(q, p, lab);\"\n \tprint \"\telse:\"\n \tprint \"\t\tpath b; b = tail .. q .. p .. head;\"\n # TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n@@ -67,7 +65,6 @@\n \tprint \"\t\tr := arclength b \/ arclength e;\";\n \tprint \"\t\tif (r > 1.02) or (r < 0.93):\";\n \tprint \"\t\t\tb := e;\"\n-\t\t\t\t\t# TODO: maybe best to have tail .. e .. head\n \tprint \"\t\tfi;\"\n \tprint \"\t\tt0 := -1;\"\n \tprint \"\t\tif lab <> \\\"\\\":\"\n@@ -149,7 +146,12 @@\n \t# last two points (control, knot) are ontop of each other, in the head node\n \t# coordinates are in inches\n \n-\tprintf \"\\te :=\\n\";\n+\t# We connect graphviz's path to endpoints at each node's centre, to ensure\n+\t# a path between nodes does intersect with each node. This is just to be on\n+\t# the safe side; the graphviz endpoints ought to be inside the node anyway\n+\t# due to -Etailclip=false and -Eheadclip=false.\n+\n+\tprintf \"\\te := %s .. \\n\", tail;\n \tfor (i = 1; i <= n - 1; i += 3) {\n \t\t# knot\n \t\tox = a[(i + 0) * 2 + 3];\n@@ -171,7 +173,7 @@\n \t\t# knot\n \t\tox = a[(n + 0) * 2 + 3];\n \t\toy = a[(n + 0) * 2 + 4];\n-\t\tprintf \"\\t(%fin, %fin);\\n\", ox, oy;\n+\t\tprintf \"\\t(%fin, %fin) .. %s;\\n\", ox, oy, head;\n \t}\n \n \t# XXX: assuming no space in label\n"}
{"commit":"dd8829d949c6d50631f4997ee594e975cb98f077","subject":"Add SDT DTrace probes for VFS vnode operations in the vfs:vop provider namespace.  These are inserted dynamically into the VOP_..._AP() functions created from vnode_if.src.  Each VOP has entry and return probes, as arg0 the primary vnode, arg1 the vnode operation argument structure pointer, providing access to IN and OUT arguments, and for return probes, arg2 the return value.","message":"Add SDT DTrace probes for VFS vnode operations in the vfs:vop\nprovider namespace.  These are inserted dynamically into the\nVOP_..._AP() functions created from vnode_if.src.  Each VOP has\nentry and return probes, as arg0 the primary vnode, arg1 the\nvnode operation argument structure pointer, providing access to\nIN and OUT arguments, and for return probes, arg2 the return\nvalue.\n\nMFC after:\t1 month\nSponsored by:\tGoogle, Inc.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -165,11 +165,17 @@\n \n if (cfile) {\n \tprintc(common_head \\\n+\t    \"#include \\\"opt_kdtrace.h\\\"\\n\" \\\n+\t    \"\\n\" \\\n \t    \"#include <sys\/param.h>\\n\" \\\n \t    \"#include <sys\/event.h>\\n\" \\\n+\t    \"#include <sys\/kernel.h>\\n\" \\\n \t    \"#include <sys\/mount.h>\\n\" \\\n+\t    \"#include <sys\/sdt.h>\\n\" \\\n \t    \"#include <sys\/systm.h>\\n\" \\\n \t    \"#include <sys\/vnode.h>\\n\" \\\n+\t    \"\\n\" \\\n+\t    \"SDT_PROVIDER_DECLARE(vfs);\\n\" \\\n \t    \"\\n\" \\\n \t    \"struct vnodeop_desc vop_default_desc = {\\n\" \\\n \t    \"\t\\\"default\\\",\\n\" \\\n@@ -348,6 +354,10 @@\n \t\tprintc(\"\\tVDESC_NO_OFFSET\");\n \t\tprintc(\"};\");\n \n+\t\tprintc(\"\\n\");\n+\t\tprintc(\"SDT_PROBE_DEFINE2(vfs, vop, \" name \", entry, \\\"struct vnode *\\\", \\\"struct \" name \"_args *\\\");\\n\");\n+\t\tprintc(\"SDT_PROBE_DEFINE3(vfs, vop, \" name \", return, \\\"struct vnode *\\\", \\\"struct \" name \"_args *\\\", \\\"int\\\");\\n\");\n+\n \t\t# Print out function.\n \t\tprintc(\"\\nint\\n\" uname \"_AP(struct \" name \"_args *a)\");\n \t\tprintc(\"{\");\n@@ -364,6 +374,7 @@\n \t\tprintc(\"\\t    vop->\"name\" == NULL && vop->vop_bypass == NULL)\")\n \t\tprintc(\"\\t\\tvop = vop->vop_default;\")\n \t\tprintc(\"\\tVNASSERT(vop != NULL, a->a_\" args[0]\", (\\\"No \"name\"(%p, %p)\\\", a->a_\" args[0]\", a));\")\n+\t\tprintc(\"\\tSDT_PROBE(vfs, vop, \" name \", entry, a->a_\" args[0] \", a, 0, 0, 0);\\n\");\n \t\tfor (i = 0; i < numargs; ++i)\n \t\t\tadd_debug_code(name, args[i], \"Entry\", \"\\t\");\n \t\tadd_pre(name);\n@@ -372,6 +383,7 @@\n \t\tprintc(\"\\telse\")\n \t\tprintc(\"\\t\\trc = vop->vop_bypass(&a->a_gen);\")\n \t\tprintc(ctrstr);\n+\t\tprintc(\"\\tSDT_PROBE(vfs, vop, \" name \", return, a->a_\" args[0] \", a, rc, 0, 0);\\n\");\n \t\tprintc(\"\\tif (rc == 0) {\");\n \t\tfor (i = 0; i < numargs; ++i)\n \t\t\tadd_debug_code(name, args[i], \"OK\", \"\\t\\t\");\n"}
{"commit":"4cb8dd4d6de0f402d4db08a48526320dd50a31ad","subject":"inject a precisionbook keymap under us|machdep","message":"inject a precisionbook keymap under us|machdep\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- arch\/hppa\/gsc\/makemap.awk\n+++ arch\/hppa\/gsc\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.1 2003\/02\/16 01:42:49 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.2 2003\/05\/27 15:31:52 mickey Exp $\n #\n # Copyright (c) 2003, Miodrag Vallat.\n # All rights reserved.\n@@ -210,10 +210,50 @@\n \/};\/ {\n \tif (mapnum == 0) {\n \t\t# Add 241 to the US map...\n-\t\tprintf(\"    KC(241),\\tKS_Delete,\\n\")\n+\t\tprint \"    KC(241),\\tKS_Delete\"\n+\t\tprint $0\n+\t\tprint \"\\nstatic const keysym_t pckbd_keydesc_precisionbook[] = {\"\n+\t\tprint \"\/*  pos      command\\t\\tnormal\t\tshifted *\/\"\n+\t\tprint \"    KC(7),   KS_Cmd_Screen0,\\tKS_f1,\"\n+\t\tprint \"    KC(15),  KS_Cmd_Screen1,\\tKS_f2,\"\n+\t\tprint \"    KC(23),  KS_Cmd_Screen2,\\tKS_f3,\"\n+\t\tprint \"    KC(31),  KS_Cmd_Screen3,\\tKS_f4,\"\n+\t\tprint \"    KC(39),  KS_Cmd_Screen4,\\tKS_f5,\"\n+\t\tprint \"    KC(47),  KS_Cmd_Screen5,\\tKS_f6,\"\n+\t\tprint \"    KC(55),  KS_Cmd_Screen6,\\tKS_f7,\"\n+\t\tprint \"    KC(63),  KS_Cmd_Screen7,\\tKS_f8,\"\n+\t\tprint \"    KC(71),  KS_Cmd_Screen8,\\tKS_f9,\"\n+\t\tprint \"    KC(79),  KS_Cmd_Screen9,\\tKS_f10,\"\n+\t\tprint \"    KC(86),  KS_Cmd_Screen10,\\tKS_f11,\"\n+\t\tprint \"    KC(94),  KS_Cmd_Screen11,\\tKS_f12,\"\n+\t\tprint \"    KC(8),   KS_Cmd_Debugger,\\tKS_Escape,\"\n+\t\tprint \"    KC(87),\\t\\t\\tKS_Print_Screen,\"\n+\t\tprint \"    KC(92),\\t\\t\\tKS_backslash,\\tKS_bar,\"\n+\t\tprint \"    KC(96),\\t\\t\\tKS_KP_Down,\\tKS_KP_2,\"\n+\t\tprint \"    KC(95),\\t\\t\\tKS_Hold_Screen,\"\n+\t\tprint \"    KC(97),\\t\\t\\tKS_KP_Left,\\tKS_KP_4,\"\n+\t\tprint \"    KC(98),\\t\\t\\tKS_Pause, \/* Break *\/\"\n+\t\tprint \"    KC(99),\\t\\t\\tKS_KP_Up,\\tKS_KP_8,\"\n+\t\tprint \"    KC(100),\\t\\t\\tKS_KP_Delete,\\tKS_KP_Decimal,\"\n+\t\tprint \"    KC(101),\\t\\t\\tKS_KP_End,\\tKS_KP_1,\"\n+\t\tprint \"    KC(103),\\t\\t\\tKS_KP_Insert,\\tKS_KP_0,\"\n+\t\tprint \"    KC(106),\\t\\t\\tKS_KP_Right,\\tKS_KP_6,\"\n+\t\tprint \"    KC(109),\\t\\t\\tKS_KP_Next,\\tKS_KP_3,\"\n+\t\tprint \"    KC(110),\\t\\t\\tKS_KP_Home,\\tKS_KP_7,\"\n+\t\tprint \"    KC(111),\\t\\t\\tKS_KP_Prior,\\tKS_KP_9,\"\n+\t\tprint \"    KC(20),\\t\\t\\tKS_Caps_Lock,\"\n+\t\tprint \"    KC(17),  KS_Cmd1,\\t\\tKS_Control_L,\"\n+\t\tprint \"    KC(88),  KS_Cmd1,\\t\\tKS_Control_R,\"\n+\t\tprint \"    KC(25),  KS_Cmd2,\\t\\tKS_Alt_L,\"\n+\t\tprint \"    KC(57),  KS_Cmd2,\\t\\tKS_Alt_R,\\tKS_Multi_key,\"\n+\t\tprint \"    KC(139),\\t\\t\\tKS_Meta_L,\"\n+\t\tprint \"    KC(140),\\t\\t\\tKS_Meta_R,\"\n \t}\n \tmapnum++\n }\n+\/{0, 0, 0, 0}\/ {\n+\tprintf(\"\\tKBD_MAP(KB_US | KB_MACHDEP,\\tKB_US,\\tpckbd_keydesc_precisionbook),\\n\");\n+}\n {\n \tprint $0\n }\n"}
{"commit":"12c41705abf0e00c0140a29a4eab25d961b79c06","subject":"version 0.8.20","message":"version 0.8.20\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- metainfo.awk\n+++ metainfo.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n     Name        = \"Translate Shell\"\n     Description = \"Google Translate to serve as a command-line tool\"\n-    Version     = \"0.8.19\"\n+    Version     = \"0.8.20\"\n     Command     = \"trans\"\n     EntryPoint  = \"translate.awk\"\n }\n"}
{"commit":"2a55cf3dd29964146fd06f2c9efb9159f630191b","subject":"Cleaned up Amazon URLs","message":"Cleaned up Amazon URLs\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateLinkFrom-text.awk\n+++ generateLinkFrom-text.awk\n@@ -14,6 +14,10 @@\n #\n # Paste them in the same order they are in the Netflix \"viewing activity\" page\n \n+# https:\/\/www.amazon.com\/gp\/video\/detail\/B07XZ8G9WJ\/ref=stream_prime_hd_ep?autoplay=1&t=0\n+\/ref=stream_prime\/ {\n+    sub (\/\\\/ref=stream.*\/,\"\")\n+}\n \/^https:\/ {\n     link = $0\n     if ((getline title) > 0) {\n"}
{"commit":"31328a1eda7f89eaf733271d4c75e324e27d9a9e","subject":"[bin] Add comment to parse-git-blame.awk to mention doesn't work with OSX awk","message":"[bin] Add comment to parse-git-blame.awk to mention doesn't work with OSX awk\n","repos":"thegedge\/dotfiles,thegedge\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/parse-git-blame.awk\n+++ bin\/parse-git-blame.awk\n@@ -1,4 +1,10 @@\n #!\/usr\/bin\/env awk -f\n+# Parses `git blame -p` to produce a Github-like blame view, where consecutive lines affected\n+# by the same commit are collapsed.\n+#\n+# Doesn't work with OSX awk if there are accents and other interesting UTF-8 characters.\n+# Recommend using GNU awk.\n+\n BEGIN {\n   # ensure lines is an array\n   lines[0] = \"test\";\n"}
{"commit":"5acd0eb3615800a7f81959f8d92f2551b7c3cd7a","subject":"Fix valgrind script","message":"Fix valgrind script\n\nThe script was not correctly handling the number in the form 3,120. The\n',' was breaking the counter.\n","repos":"haka-security\/haka,lcheylus\/haka,nabilbendafi\/haka,LubyRuffy\/haka,lcheylus\/haka,nabilbendafi\/haka,haka-security\/haka,lcheylus\/haka,Wingless-Archangel\/haka,LubyRuffy\/haka,haka-security\/haka,nabilbendafi\/haka,Wingless-Archangel\/haka","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- build\/CheckValgrind.awk\n+++ build\/CheckValgrind.awk\n@@ -5,18 +5,22 @@\n }\n \n $0 ~ \/==.*==.*definitely lost: .* bytes in .* blocks\/ {\n+\tsub(\",\", \"\", $4)\n \tleak += $4\n }\n \n $0 ~ \/==.*==.*indirectly lost: .* bytes in .* blocks\/ {\n+\tsub(\",\", \"\", $4)\n \tleak += $4\n }\n \n $0 ~ \/==.*==.*possibly lost: .* bytes in .* blocks\/ {\n+\tsub(\",\", \"\", $4)\n \tleak += $4\n }\n \n $0 ~ \/==.*==.*still reachable: .* bytes in .* blocks\/ {\n+\tsub(\",\", \"\", $4)\n \treachable += $4\n }\n \n"}
{"commit":"ce93ad4b1cf1187bc9bd20907d3f1eb50c37df0d","subject":"addr_utils.awk\t-- deal with \"delta\" ranges, ie ranges where the 2d value is just new suffix of the 1st: 945-51 -> 945-951","message":"addr_utils.awk\t-- deal with \"delta\" ranges, ie ranges where the 2d value is just new suffix of the 1st: 945-51 -> 945-951\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -236,7 +236,7 @@\n \t\treturn c_nwords[1] == r_nwords[1] ? 2 : 1\n \t}\n }\n-function AU_get_rtab(street, rtab,   n_rtab, i, nw, work) {\n+function AU_get_rtab(street, rtab,   n_rtab, i, nw, work, l_pfx, e_work2) {\n \n \tn_rtab = split(street, rtab, \";\")\n \tfor(i = 1; i <= n_rtab; i++){\n@@ -244,6 +244,22 @@\n \t\tif(nw > 1){\n \t\t\trtab[i, 1] = work[1] + 0\t# force number\n \t\t\trtab[i, 2] = work[2] + 0\t# force number\n+\n+\t\t\tif(rtab[i,1] > rtab[i,2]){\n+\t\t\t\t# Is this a \"delta\" range where the 2d value shows only the different address suffix?\n+\t\t\t\t# If so try to fix it\n+\t\t\t\t# For example 945-51 would be expanded to 945-951 which is good, but\n+\t\t\t\t# 945-37 would be expanded to 945-937 which is still wrong.\n+\t\t\t\tl_pfx = length(work[1]) - length(work[2])\n+\t\t\t\te_work2 = ((l_pfx > 0) ? ((substr(work[1], 1, l_pfx) work[2])) : work[2]) + 0\n+\t\t\t\t# did we fix it?\n+\t\t\t\tif(rtab[i, 1] > e_work2){\n+\t\t\t\t\tprintf(\"ERROR: bad range 1st precedes 2nd: %d-%d\\n\", rtab[i, 1], rtab[i, 2]) > \"\/dev\/stderr\"\n+\t\t\t\t\treturn 0\n+\t\t\t\t}else\n+\t\t\t\t\trtab[i, 2] = e_work2\n+\t\t\t}\n+\n \t\t\trtab[i, \"rng\"] = 1\n \t\t\tif(rtab[i, 1] % 2 != rtab[i, 2] % 2){\n \t\t\t\tprintf(\"ERROR: bad range: odd\/even %d-%d\\n\", rtab[i, 1], rtab[i, 2]) > \"\/dev\/stderr\"\n"}
{"commit":"dd2fd0c61a4a56905a2e589be3762aec78bb2e93","subject":"Commons: add yn(string)","message":"Commons: add yn(string)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -212,6 +212,12 @@\n     return temp\n }\n \n+# Return 0 if the string starts with '0', 'f' or 'n';\n+# Otherwise, return 1.\n+function yn(string) {\n+    return (tolower(string) ~ \/^[0fn]\/) ? 0 : 1\n+}\n+\n # Initialize ANSI escape codes (ANSI X3.64 Standard Control Sequences).\n # See: <https:\/\/en.wikipedia.org\/wiki\/ANSI_escape_code>\n function initAnsiCode() {\n"}
{"commit":"50900cd7f67cc1915b894a9632b3a53b0e36c424","subject":"Strip spaces and comments more agressively.","message":"Strip spaces and comments more agressively.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/boot\/ficl\/softwords\/softcore.awk\n+++ sys\/boot\/ficl\/softwords\/softcore.awk\n@@ -1,6 +1,15 @@\n #!\/usr\/bin\/awk -f\n+#\n # Convert forth source files to a giant C string\n+#\n # Joe Abley <jabley@patho.gen.nz>, 12 January 1999\n+#\n+# 02-oct-1999:  Cleaned up awk slightly; added some additional logic\n+#               suggested by dcs to compress the stored forth program.\n+#\n+# Note! This script uses strftime() which is a gawk-ism, and the\n+# POSIX [[:space:]] character class.\n+#\n # $FreeBSD$\n \n BEGIN \\\n@@ -26,9 +35,9 @@\n \n # some general early substitutions\n {\n-  gsub(\"\\t\", \"    \");\t\t\t# replace each tab with 4 spaces\n-  gsub(\"\\\"\", \"\\\\\\\"\");\t\t\t# escape quotes\n-  gsub(\"\\\\\\\\[[:space:]]+$\", \"\");\t# toss empty comments\n+  gsub(\/\\t\/, \"    \");\t\t\t# replace each tab with 4 spaces\n+  gsub(\/\\\"\/, \"\\\\\\\"\");\t\t\t# escape quotes\n+  gsub(\/\\\\[[:space:]]+$\/, \"\");\t\t# toss empty comments\n }\n \n # strip out empty lines\n@@ -38,18 +47,18 @@\n }\n \n # emit \/ ** lines as multi-line C comments\n-\/^\\\\[[:space:]]\\*\\*\/ && (commenting == 0) \\\n+\/^\\\\[[:space:]]\\*\\*\/ \\\n {\n-  sub(\"^\\\\\\\\[[:space:]]\", \"\");\n-  printf \"\/*\\n%s\\n\", $0;\n+  sub(\/^\\\\[[:space:]]\/, \"\");\n+  if (commenting == 0) printf \"\/*\\n\";\n+  printf \"%s\\n\", $0;\n   commenting = 1;\n   next;\n }\n \n-\/^\\\\[[:space:]]\\*\\*\/ \\\n+# strip blank lines\n+\/^[[:space:]]*$\/ \\\n {\n-  sub(\"^\\\\\\\\[[:space:]]\", \"\");\n-  printf \"%s\\n\", $0;\n   next;\n }\n \n@@ -64,13 +73,44 @@\n \/^\\\\[[:space:]]#\/ \\\n {\n   if (commenting) end_comments();\n-  sub(\"^\\\\\\\\[[:space:]]\", \"\");\n+  sub(\/^\\\\[[:space:]]\/, \"\");\n   printf \"%s\\n\", $0;\n   next;\n }\n \n-# toss all other full-line comments\n+# toss all other full-line \\ comments\n \/^\\\\\/ \\\n+{\n+  if (commenting) end_comments();\n+  next;\n+}\n+\n+# lop off trailing \\ comments\n+\/\\\\[[:space:]]+\/ \\\n+{\n+  sub(\/\\\\[[:space:]]+.*$\/, \"\");\n+}\n+\n+# expunge ( ) comments\n+\/[[:space:]]+\\([[:space:]][^)]*\\)\/ \\\n+{\n+  sub(\/[[:space:]]+\\([[:space:]][^)]*\\)\/, \"\");\n+}\n+\n+# remove leading spaces\n+\/^[[:space:]]+\/ \\\n+{\n+  sub(\/^[[:space:]]+\/, \"\");\n+}\n+\n+# removing trailing spaces\n+\/[[:space:]]+$\/ \\\n+{\n+  sub(\/[[:space:]]+$\/, \"\");\n+}\n+\n+# strip out empty lines again (preceding rules may have generated some)\n+\/^[[:space:]]*$\/ \\\n {\n   if (commenting) end_comments();\n   next;\n@@ -80,9 +120,7 @@\n {\n   if (commenting) end_comments();\n \n-  sub(\"\\\\\\\\[[:space:]]+.*$\", \"\");\t# lop off trailing \\ comments\n-  sub(\"[[:space:]]+$\", \"\");\t\t# remove trailing spaces\n-  printf \"    \\\"%s \\\\n\\\"\\n\", $0;\n+  printf \"    \\\"%s \\\"\\n\", $0;\n   next;\n }\n \n"}
{"commit":"49aed38f5ef01840f18b40376103740b2b90aaa8","subject":"vector extraction script updated","message":"vector extraction script updated\n","repos":"WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/get_vectors.awk\n+++ scripts\/get_vectors.awk\n@@ -18,17 +18,22 @@\n \t    printf(\"Incorrect line format: %s\", $0) > \"\/sys\/stderr\"\n \t    exit 2\n \t}\n+        $1 = lower($1)\n+        if ($1 in WORD2SEEK)\n+          continue\n+\n \tWORD2SEEK[$1] = \"\"\n+        ++w_cnt\n     }\n     ARGV[1] = ARGV[2] = \"\"\n     # obtain random line numbers to fetch\n     srand()\n-    wcl = WCL - 1\n+    wcl = WCL > 1? WCL - 1: 0\n     for (i = 1; i < WCL; ++i) {\n \trandarr[i] = rand() * wcl + 1\n     }\n     asorti(randarr, tmparr)\n-    wcl = WCL \/ 1000\n+    wcl = WCL \/ 500\n     for (i = 1; i < wcl; ++i) {\n \tFNR2SEEK[tmparr[i]] = \"\"\n     }\n"}
{"commit":"ca1ade1571f27a86fc8a559a8b179024d07f0a7b","subject":"Add identifier KEY so we can see where we are in -v script","message":"Add identifier KEY so we can see where we are in -v script\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateIMDbScriptsFrom-titles.awk\n+++ generateIMDbScriptsFrom-titles.awk\n@@ -4,11 +4,21 @@\n         sub (\/^\"\/,\"\\\"The \", title)\n         sub (\/, The\"$\/,\"\\\"\", title)\n     }\n-    printf (\"echo ==\\\\> %3d: %s\\n\",NR,title) >> TITLES_SCRIPT\n+\n+    if (FILENAME ~ \/Acorn\/) \n+        KEY = \"A\"\n+    if (FILENAME ~ \/BBox\/) \n+        KEY = \"B\"\n+    if (FILENAME ~ \/MHz\/) \n+        KEY = \"M\"\n+    if (FILENAME ~ \/Watched\/) \n+        KEY = \"W\"\n+\n+    printf (\"echo ==\\\\> %sT %3d: %s\\n\", KEY, NR, title) >> TITLES_SCRIPT\n     printf (\".\/getIMDbInfoFrom-titles.py %s\\n\",title) >> TITLES_SCRIPT\n     printf (\"echo \\n\\n\") >> TITLES_SCRIPT\n \n-    printf (\"echo ==\\\\> %3d: %s\\n\",NR,title) >> ID_SCRIPT\n+    printf (\"echo ==\\\\> %sI %3d: %s\\n\", KEY, NR, title) >> ID_SCRIPT\n     printf (\".\/getIMDb_IDsFrom-titles.py %s | head -7\\n\",title) >> ID_SCRIPT\n     printf (\"echo \\n\\n\") >> ID_SCRIPT\n }\n"}
{"commit":"a41f696f615b5d8c3abc8ccfb6a4291f42e66cbf","subject":"update comment","message":"update comment\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/distill_dot.awk\n+++ scripts\/distill_dot.awk\n@@ -9,7 +9,7 @@\n \n BEGIN {hi = -2^PREC; lo = 2^PREC; THRESHOLD = 10}\n \n-# there is an unfortunate case where the term label contains parens e.g.\n+# there was an unfortunate case where the term label contains parens e.g.\n # ZFIN -> LITERAL [label=<dc:title ! title (dce) (30783)>];\n # AspGD -> GO [label=<RO:0002331 ! involved in (-12)>, color=\"pink\"];\n \n"}
{"commit":"78a2835b925fcedc3d0e027743dc0ac5283af311","subject":"remove no longer needed exceptions and a spellcheck pass","message":"remove no longer needed exceptions and a spellcheck pass\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -3,21 +3,21 @@\n #  Reduce the subject and object of RDF triples (ntriples format)\n #  down to their curie prefix (or literal object)\n #  Reduce predicates to the specific term identifier\n-#  and the ontology namespace they are from. (curi prefix )\n+#  and the ontology namespace they are from. (curie prefix )\n #  Express the subject and object as nodes with a directed edge\n #  labeled with the predicate in the graphviz dot format\n #  Include a tally of each combination of nodes and edge\n \n #  This may over generalize in some cases because I do not have\n-#  a handy way to differentiate uri for subjects and objects\n+#  a handy way to differentiate URI for subjects and objects\n #  which may belong to a \"structural\" ontology (t-box) as opposed to\n-#  a data uri (a-box).\n+#  a data URI (a-box).\n \n #  Post processing to augment predicate identifiers\n #  with their labels seems to improve usefulness.\n \n function usage(){\n-    print \"usage: ntriple2dot.awk prefix_baseurl.yaml rdf.nt > dot.gv\"\n+    print \"usage: ntriple2dot.awk prefix_baseurl.yaml RDF.nt > dot.gv\"\n }\n \n ##########################################################\n@@ -68,7 +68,7 @@\n     return str\n }\n \n-# Replace IRI with CuriePrefix when possible\n+# Replace URI with CuriePrefix when possible\n # Otherwise whinge and return a gv printable version of the original\n function contract(uri,  u){\n     u = tokenize(uri)\n@@ -83,7 +83,7 @@\n     #    # exit(1)  # while testing\n     # }\n \n-    # shorten till longest uri in curi map is found (or not)\n+    # shorten till longest uri in curie map is found (or not)\n     while(!(u in prefix) && index(u, SUBSEP)>0)\n         u = detail(u)\n \n@@ -121,8 +121,6 @@\n BEGIN{\n     # exceptions\n     prefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n-    prefix[tokenize(\"https:\/\/monarchinitiative.org\/.well-known\/genid\")]=\"BNODE\"\n-    prefix[tokenize(\"https:\/\/archive.monarchinitiative.org\/\")]=\"MonarchArchive\"\n     ############################################################\n     # not expected to be added to curie map\n     # in HPOA\n@@ -135,7 +133,7 @@\n     # https:\/\/raw.githubusercontent.com\/monarch-initiative\/dipper\/master\/dipper\/curie_map.yaml\n \n     # in mgi\/impc\n-    prefix[tokenize(\"https:\/\/www.mousephenotype.org\/\")]=\"IMPC\"\n+    prefix[tokenize(\"https:\/\/www.mousephenotype.org\/\")]=\"IMPC\"  # TOO GENERAL\n     # in IMPC (not httpS  --- hmm all three IRI exist)\n     # note in curie_map IMPC is:\n     # http:\/\/www.mousephenotype.org\/data\/genes\/\n@@ -145,36 +143,28 @@\n     # note in curie_map WormBase is\n     # 'https:\/\/www.wormbase.org\/get?name='\n \n-    # various, transient?\n-    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/gene\/\")]=\"NCBIGene\"\n-    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/genome\/\")]=\"NCBIGenome\"\n-    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/assembly?term=\")]=\"NCBIAssembly\"\n-    # kegg\n-    prefix[tokenize(\"http:\/\/www.genome.jp\/kegg\/pathway\/map\/\")]=\"KEGG-img\"\n-    # in EOM\n-    prefix[tokenize(\"https:\/\/elementsofmorphology.nih.gov\/images\/terms\/\")]=\"EOM_IMG\"\n-    # prefix[tokenize(\"http:\/\/elementsofmorphology.nih.gov\/index.cgi?tid=\")]=\"EOM\"  # w\/o httpS\n+    # various, transient? (fewer now https or not is transparent)\n+\n \n     # playing with the idea of a LOCAL identifier\n     # not the same as a bnode in that tools won't rewrite identifier\n     # and their IRI are unroutable, i.e in same machine (or local net)\n     # this is motivated in part by not wanting to publish\n-    # urls to our own servers which go nowhere.\n-    # prefix[\"https:\/\/127.0.0.1\/.well-known\/genid\"]=\"BNODE\"  # exists, phase out\n+    # URLs to our own servers which go nowhere.\n     # prefix[\"http:\/\/0.0.0.0\/.well-known\/genid\"]=\"BNODE\"     # prefer\n     # prefix[\"http:\/\/0.0.0.0\/\"]=\"LCL\"                              # ID halfway house\n \n     # LCL's obvious down side is zero options for global collisions\n-    # best you can do is go the uuid which is ugly, or\n-    # belive your obscure but readable string _is_ a special snowflake\n+    # best you can do is go the UUID which is ugly, or\n+    # believe your obscure but readable string _is_ a special snowflake\n }\n \n # main loop\n # parse and stash the curie yaml file (first file)\n-# YAML format is tic delimited word (the curi prefix)\n-# a colon, whitespace\n-# then a tic delimited url\n-# convert the base url to a path in a multi-dimensional array\n+# YAML format is tic delimited word (the curie prefix)\n+# a colon, white space\n+# then a tic delimited URL\n+# convert the base URL to a path in a multi-dimensional array\n # (FNR == NR) && \/^'[fht]\\+tp[^']*'.*\/ { # loosing some?\n (FNR == NR) && \/^'.*\/ {\n     split($0, arr, \"'\")\n@@ -267,8 +257,8 @@\n     print \"}\"\n \n     ######################################################\n-    # dump a summary of significant numbers of unresolved-curi uri  to stderr\n-    # FNR gives at least half the number ot URI attempted to resolve for %s\n+    # dump a summary of significant numbers of unresolved-curie uri  to stderr\n+    # FNR gives at least half the number of URI attempted to resolve for %s\n     # FILENAME gives filename we know where they were generated\n     # have warn[uri] = count\n     toofew = 3\n"}
{"commit":"f93e4886b1cc2d5e33b0af477121e6a821008cb5","subject":"Languages: mark as stable: Pashto","message":"Languages: mark as stable: Pashto\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -247,15 +247,14 @@\n     Locale[\"or\"][\"glotto\"]             = \"macr1269\"\n     Locale[\"or\"][\"script\"]             = \"Orya\"\n \n-    #? Pashto\n-    Locale[\"ps\"][\"support\"]            = \"unstable\"\n+    # Pashto\n     Locale[\"ps\"][\"name\"]               = \"Pashto\"\n     Locale[\"ps\"][\"endonym\"]            = \"\u067e\u069a\u062a\u0648\"\n-    #Locale[\"ps\"][\"translations-of\"]\n-    #Locale[\"ps\"][\"definitions-of\"]\n-    #Locale[\"ps\"][\"synonyms\"]\n-    #Locale[\"ps\"][\"examples\"]\n-    #Locale[\"ps\"][\"see-also\"]\n+    Locale[\"ps\"][\"translations-of\"]    = \"\u062f %s\u0698\u0628\u0627\u0693\u06d0\"\n+    Locale[\"ps\"][\"definitions-of\"]     = \"\u062f%s \u062a\u0639\u0631\u06cc\u0641\u0648\u0646\u0647\"\n+    Locale[\"ps\"][\"synonyms\"]           = \"\u0645\u062a\u0631\u0627\u062f\u0641 \u0644\u063a\u062a\u0648\u0646\u0647\"\n+    Locale[\"ps\"][\"examples\"]           = \"\u0628\u06d0\u0644\u06ab\u06d0\"\n+    Locale[\"ps\"][\"see-also\"]           = \"\u062f\u0627 \u0647\u0645 \u0648\u0648\u06cc\u0646\u0626\"\n     Locale[\"ps\"][\"family\"]             = \"Indo-European\"\n     Locale[\"ps\"][\"iso\"]                = \"pus\"\n     Locale[\"ps\"][\"glotto\"]             = \"pash1269\"\n"}
{"commit":"d07056f4d0af9c47ffcb012b15adab57899ef9cf","subject":"tests: extend getdents to support all filesystems regardless of file order","message":"tests: extend getdents to support all filesystems regardless of file order\n\n* tests\/getdents.awk: Include all 6 possible permutations of 3\ndirentries to regexps.\n","repos":"geekboxzone\/mmallow_external_strace,cuviper\/strace,bigzz\/strace_android,YUPlayGodDev\/platform_external_strace,Saruta\/strace,geofft\/strace,TeamExodus\/external_strace,cuviper\/strace,YUPlayGodDev\/platform_external_strace,Saruta\/strace,TeamExodus\/external_strace,Yu-AndroidM\/android_external_strace,YUPlayGodDev\/platform_external_strace,YUPlayGodDev\/platform_external_strace,Saruta\/strace,geekboxzone\/mmallow_external_strace,cuviper\/strace,TeamExodus\/external_strace,kapdop\/android_external_strace,AOSP-YU\/platform_external_strace,YUPlayGodDev\/platform_external_strace,geekboxzone\/mmallow_external_strace,Distrotech\/strace,Distrotech\/strace,Yu-AndroidM\/android_external_strace,geekboxzone\/mmallow_external_strace,AOSP-YU\/platform_external_strace,Yu-AndroidM\/android_external_strace,Infinitive-OS\/platform_external_strace,kapdop\/android_external_strace,Infinitive-OS\/platform_external_strace,AOSP-YU\/platform_external_strace,Distrotech\/strace,bigzz\/strace_android,AOSP-YU\/platform_external_strace,vrastogi\/strace,kapdop\/android_external_strace,bigzz\/strace_android,Distrotech\/strace,Distrotech\/strace,MonkeyZZZZ\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,geofft\/strace,Infinitive-OS\/platform_external_strace,bigzz\/strace_android,geekboxzone\/mmallow_external_strace,Infinitive-OS\/platform_external_strace,Yu-AndroidM\/android_external_strace,geofft\/strace,MonkeyZZZZ\/platform_external_strace,Saruta\/strace,geofft\/strace,cuviper\/strace,kapdop\/android_external_strace,vrastogi\/strace,TeamExodus\/external_strace,MonkeyZZZZ\/platform_external_strace,kapdop\/android_external_strace,TeamExodus\/external_strace,vrastogi\/strace,vrastogi\/strace,geofft\/strace,Saruta\/strace,AOSP-YU\/platform_external_strace,Yu-AndroidM\/android_external_strace,cuviper\/strace,MonkeyZZZZ\/platform_external_strace,bigzz\/strace_android,vrastogi\/strace,Infinitive-OS\/platform_external_strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/getdents.awk\n+++ tests\/getdents.awk\n@@ -22,8 +22,22 @@\n   dirent64_2 = \"\\\\{\" d_ino \", \" d_off \", \" d_reclen \", \" d_type_dir \", \" d_name_2 \"\\\\}\"\n   dirent64_3 = \"\\\\{\" d_ino \", \" d_off \", \" d_reclen \", \" d_type_reg \", \" d_name_3 \"\\\\}\"\n \n-  dents   = \"\\\\{(\" dirent_1   \" \" dirent_2   \"|\" dirent_2   \" \" dirent_1   \") \" dirent_3   \"\\\\}\"\n-  dents64 = \"\\\\{(\" dirent64_1 \" \" dirent64_2 \"|\" dirent64_2 \" \" dirent64_1 \") \" dirent64_3 \"\\\\}\"\n+  d_123 = dirent_1 \" \" dirent_2 \" \" dirent_3\n+  d_213 = dirent_2 \" \" dirent_1 \" \" dirent_3\n+  d_132 = dirent_1 \" \" dirent_3 \" \" dirent_2\n+  d_321 = dirent_3 \" \" dirent_2 \" \" dirent_1\n+  d_231 = dirent_2 \" \" dirent_3 \" \" dirent_1\n+  d_312 = dirent_3 \" \" dirent_1 \" \" dirent_2\n+\n+  d64_123 = dirent64_1 \" \" dirent64_2 \" \" dirent64_3\n+  d64_213 = dirent64_2 \" \" dirent64_1 \" \" dirent64_3\n+  d64_132 = dirent64_1 \" \" dirent64_3 \" \" dirent64_2\n+  d64_321 = dirent64_3 \" \" dirent64_2 \" \" dirent64_1\n+  d64_231 = dirent64_2 \" \" dirent64_3 \" \" dirent64_1\n+  d64_312 = dirent64_3 \" \" dirent64_1 \" \" dirent64_2\n+\n+  dents = \"\\\\{(\" d_123 \"|\" d_213 \"|\" d_132 \"|\" d_321 \"|\" d_231 \"|\" d_312 \")\\\\}\"\n+  dents64 = \"\\\\{(\" d64_123 \"|\" d64_213 \"|\" d64_132 \"|\" d64_321 \"|\" d64_231 \"|\" d64_312 \")\\\\}\"\n \n   getdents   =   \"^getdents\\\\(\" i \", \" dents   \", \" len \"\\\\) += \" len \"$\"\n   getdents64 = \"^getdents64\\\\(\" i \", \" dents64 \", \" len \"\\\\) += \" len \"$\"\n"}
{"commit":"7b297b91c484d2c9fc9d91f77aab7ef6d22c71c2","subject":"Omit throw-away separators variables.","message":"Omit throw-away separators variables.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -42,7 +42,7 @@\n \n \/^#Fields: \/ {\n     rest = substr($0, length(\"#Fields: \") + 1)\n-    split(rest, fields, \" \", seps)\n+    split(rest, fields, \" \")\n     numFields = length(fields)\n }\n \n@@ -51,7 +51,7 @@\n }\n \n ! \/^#\/ {\n-    split($0, fieldsThisLine, \" \", sepsThrowAway)\n+    split($0, fieldsThisLine, \" \")\n     if (NF == numFields) {\n         print \"\\t{\"\n         for(i = 1; i < NF; i++)\n"}
{"commit":"645e6dd8df6ca51eb697ee6cb02a9d8e218368e1","subject":"Use the term \"deprecated\" instead of \"old name\" in order to be more explicit. (dm)","message":"Use the term \"deprecated\" instead of \"old name\" in order to be more explicit. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@6549 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brldefs.awk\n+++ Programs\/brldefs.awk\n@@ -20,12 +20,12 @@\n   brlCommandValue = 0\n   brlKeyValue = 0\n \n-  brlBlockAlias[\"CLIP_NEW\"] = \"CUTBEGIN\"\n-  brlBlockAlias[\"CLIP_ADD\"] = \"CUTAPPEND\"\n-  brlBlockAlias[\"COPY_LINE\"] = \"CUTLINE\"\n-  brlBlockAlias[\"COPY_RECT\"] = \"CUTRECT\"\n-  brlBlockAlias[\"CLIP_COPY\"] = \"COPYCHARS\"\n-  brlBlockAlias[\"CLIP_APPEND\"] = \"APNDCHARS\"\n+  brlBlockDeprecations[\"CLIP_NEW\"] = \"CUTBEGIN\"\n+  brlBlockDeprecations[\"CLIP_ADD\"] = \"CUTAPPEND\"\n+  brlBlockDeprecations[\"COPY_LINE\"] = \"CUTLINE\"\n+  brlBlockDeprecations[\"COPY_RECT\"] = \"CUTRECT\"\n+  brlBlockDeprecations[\"CLIP_COPY\"] = \"COPYCHARS\"\n+  brlBlockDeprecations[\"CLIP_APPEND\"] = \"APNDCHARS\"\n }\n \n \/^ *BRL_CMD_\/ {\n@@ -40,9 +40,9 @@\n   help = getComment($0)\n   brlBlock(name, $2, value, help)\n \n-  if (name in brlBlockAlias) {\n-    alias = brlBlockAlias[name]\n-    brlBlock(alias, prefix alias, value, \"alias for \" name \" - \" help)\n+  if (name in brlBlockDeprecations) {\n+    alias = brlBlockDeprecations[name]\n+    brlBlock(alias, prefix alias, value, \"deprecated definition of \" name \" - \" help)\n   }\n \n   next\n"}
{"commit":"64d23090223b8512a93cec90e773a9cfddf5dff1","subject":"ctx: recognize surf url here","message":"ctx: recognize surf url here\n","repos":"robert-figura\/req,robert-figura\/req","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/ctx.awk\n+++ src\/ctx.awk\n@@ -51,6 +51,8 @@\n \tsetCtx(\"app.exe\", \"hgtk\")\n \tsplit_file(m[1], ctx, \"ctx.file\")\n     }\n+    if(get(\"ctx.xprop.wm_class_name\") == \"Surf\")\n+\tsetCtx(\"app.url\", get(\"ctx.xprop.url\"))\n \n     # working directory\n     setCtx(\"wdir\", ENVIRON[\"PWD\"])\n"}
{"commit":"e283c70ff10528677ee3cc47cd2a8bdecaf602c5","subject":"LanguageData: update section W","message":"LanguageData: update section W\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -2565,9 +2565,24 @@\n     Locale[\"vi\"][\"spoken-in\"]          = \"Vietnam\"\n     Locale[\"vi\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #103 Welsh\n+    # Volap\u00fck\n+    Locale[\"vo\"][\"name\"]               = \"Volap\u00fck\"\n+    Locale[\"vo\"][\"endonym\"]            = \"Volap\u00fck\"\n+    #Locale[\"vo\"][\"translations-of\"]\n+    #Locale[\"vo\"][\"definitions-of\"]\n+    #Locale[\"vo\"][\"synonyms\"]\n+    #Locale[\"vo\"][\"examples\"]\n+    #Locale[\"vo\"][\"see-also\"]\n+    Locale[\"vo\"][\"family\"]             = \"Constructed language\"\n+    #Locale[\"vo\"][\"branch\"]\n+    Locale[\"vo\"][\"iso\"]                = \"vol\"\n+    Locale[\"vo\"][\"glotto\"]             = \"vola1234\"\n+    Locale[\"vo\"][\"script\"]             = \"Latn\"\n+    Locale[\"vo\"][\"spoken-in\"]          = \"worldwide\"\n+    Locale[\"vo\"][\"description\"]        = \"an international auxiliary language\"\n+    Locale[\"vo\"][\"supported-by\"]       = \"\"\n+\n+    # Welsh\n     Locale[\"cy\"][\"name\"]               = \"Welsh\"\n     Locale[\"cy\"][\"endonym\"]            = \"Cymraeg\"\n     Locale[\"cy\"][\"translations-of\"]    = \"Cyfieithiadau %s\"\n@@ -2576,11 +2591,14 @@\n     Locale[\"cy\"][\"examples\"]           = \"Enghreifftiau\"\n     Locale[\"cy\"][\"see-also\"]           = \"Gweler hefyd\"\n     Locale[\"cy\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"cy\"][\"branch\"]             = \"Celtic\"\n     Locale[\"cy\"][\"iso\"]                = \"cym\"\n     Locale[\"cy\"][\"glotto\"]             = \"wels1247\"\n     Locale[\"cy\"][\"script\"]             = \"Latn\"\n-\n-    #104 West Frisian\n+    Locale[\"cy\"][\"spoken-in\"]          = \"Wales in the UK\"\n+    Locale[\"cy\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # West Frisian\n     Locale[\"fy\"][\"name\"]               = \"Frisian\"\n     Locale[\"fy\"][\"endonym\"]            = \"Frysk\"\n     Locale[\"fy\"][\"translations-of\"]    = \"Oersettings fan %s\"\n@@ -2589,9 +2607,30 @@\n     Locale[\"fy\"][\"examples\"]           = \"Foarbylden\"\n     Locale[\"fy\"][\"see-also\"]           = \"Sjoch ek\"\n     Locale[\"fy\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fy\"][\"branch\"]             = \"West Germanic\"\n     Locale[\"fy\"][\"iso\"]                = \"fry\"\n     Locale[\"fy\"][\"glotto\"]             = \"west2354\"\n     Locale[\"fy\"][\"script\"]             = \"Latn\"\n+    Locale[\"fy\"][\"spoken-in\"]          = \"Friesland in the Netherlands\"\n+    Locale[\"fy\"][\"supported-by\"]       = \"google\"\n+\n+    # Wolof\n+    Locale[\"wo\"][\"name\"]               = \"Wolof\"\n+    Locale[\"wo\"][\"endonym\"]            = \"Wollof\"\n+    #Locale[\"wo\"][\"translations-of\"]\n+    #Locale[\"wo\"][\"definitions-of\"]\n+    #Locale[\"wo\"][\"synonyms\"]\n+    #Locale[\"wo\"][\"examples\"]\n+    #Locale[\"wo\"][\"see-also\"]\n+    Locale[\"wo\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"wo\"][\"branch\"]             = \"Atlantic\"\n+    Locale[\"wo\"][\"iso\"]                = \"wol\"\n+    Locale[\"wo\"][\"glotto\"]             = \"wolo1247\"\n+    Locale[\"wo\"][\"script\"]             = \"Latn\"\n+    Locale[\"wo\"][\"spoken-in\"]          = \"Senegal; Mauritania; the Gambia\"\n+    Locale[\"wo\"][\"supported-by\"]       = \"\"\n+\n+\n \n     #105 Xhosa\n     Locale[\"xh\"][\"name\"]               = \"Xhosa\"\n@@ -2682,34 +2721,6 @@\n     Locale[\"oc\"][\"iso\"]                = \"oci\"\n     Locale[\"oc\"][\"glotto\"]             = \"occi1239\"\n     Locale[\"oc\"][\"script\"]             = \"Latn\"\n-\n-    #? Volap\u00fck\n-    Locale[\"vo\"][\"support\"]            = \"unstable\"\n-    Locale[\"vo\"][\"name\"]               = \"Volap\u00fck\"\n-    Locale[\"vo\"][\"endonym\"]            = \"Volap\u00fck\"\n-    #Locale[\"vo\"][\"translations-of\"]\n-    #Locale[\"vo\"][\"definitions-of\"]\n-    #Locale[\"vo\"][\"synonyms\"]\n-    #Locale[\"vo\"][\"examples\"]\n-    #Locale[\"vo\"][\"see-also\"]\n-    Locale[\"vo\"][\"family\"]             = \"Constructed language\"\n-    Locale[\"vo\"][\"iso\"]                = \"vol\"\n-    #Locale[\"vo\"][\"glotto\"]\n-    Locale[\"vo\"][\"script\"]             = \"Latn\"\n-\n-    #? Wolof\n-    Locale[\"wo\"][\"support\"]            = \"unstable\"\n-    Locale[\"wo\"][\"name\"]               = \"Wolof\"\n-    Locale[\"wo\"][\"endonym\"]            = \"Wollof\"\n-    #Locale[\"wo\"][\"translations-of\"]\n-    #Locale[\"wo\"][\"definitions-of\"]\n-    #Locale[\"wo\"][\"synonyms\"]\n-    #Locale[\"wo\"][\"examples\"]\n-    #Locale[\"wo\"][\"see-also\"]\n-    Locale[\"wo\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"wo\"][\"iso\"]                = \"wol\"\n-    Locale[\"wo\"][\"glotto\"]             = \"wolo1247\"\n-    Locale[\"wo\"][\"script\"]             = \"Latn\"\n \n     #? Cherokee\n     Locale[\"chr\"][\"support\"]           = \"unstable\"\n"}
{"commit":"73a95796b318cc47fa2dce33ba5bb389003de5ec","subject":"LanguageData: update section H","message":"LanguageData: update section H\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -825,9 +825,7 @@\n     Locale[\"gu\"][\"spoken-in\"]          = \"the Indian state of Gujarat\"\n     Locale[\"gu\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #32 Haitian Creole\n+    # Haitian Creole\n     Locale[\"ht\"][\"name\"]               = \"Haitian Creole\"\n     Locale[\"ht\"][\"endonym\"]            = \"Krey\u00f2l Ayisyen\"\n     Locale[\"ht\"][\"translations-of\"]    = \"Tradiksyon %s\"\n@@ -836,11 +834,14 @@\n     Locale[\"ht\"][\"examples\"]           = \"Egzanp:\"\n     Locale[\"ht\"][\"see-also\"]           = \"W\u00e8 tou\"\n     Locale[\"ht\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ht\"][\"branch\"]             = \"French Creole\"\n     Locale[\"ht\"][\"iso\"]                = \"hat\"\n     Locale[\"ht\"][\"glotto\"]             = \"hait1244\"\n     Locale[\"ht\"][\"script\"]             = \"Latn\"\n-\n-    #33 Hawaiian\n+    Locale[\"ht\"][\"spoken-in\"]          = \"Haiti\"\n+    Locale[\"ht\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Hawaiian\n     Locale[\"haw\"][\"name\"]              = \"Hawaiian\"\n     Locale[\"haw\"][\"endonym\"]           = \"\u02bb\u014clelo Hawai\u02bbi\"\n     #Locale[\"haw\"][\"translations-of\"]\n@@ -849,11 +850,14 @@\n     #Locale[\"haw\"][\"examples\"]\n     #Locale[\"haw\"][\"see-also\"]\n     Locale[\"haw\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"haw\"][\"branch\"]            = \"Malayo-Polynesian\"\n     Locale[\"haw\"][\"iso\"]               = \"haw\"\n     Locale[\"haw\"][\"glotto\"]            = \"hawa1245\"\n     Locale[\"haw\"][\"script\"]            = \"Latn\"\n-\n-    #34 Hausa, Latin alphabet\n+    Locale[\"haw\"][\"spoken-in\"]         = \"the US state of Hawaii\"\n+    Locale[\"haw\"][\"supported-by\"]      = \"google\"\n+\n+    # Hausa, Latin alphabet\n     Locale[\"ha\"][\"name\"]               = \"Hausa\"\n     Locale[\"ha\"][\"endonym\"]            = \"Hausa\"\n     Locale[\"ha\"][\"translations-of\"]    = \"Fassarar %s\"\n@@ -862,11 +866,14 @@\n     Locale[\"ha\"][\"examples\"]           = \"Misalai\"\n     Locale[\"ha\"][\"see-also\"]           = \"Duba kuma\"\n     Locale[\"ha\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"ha\"][\"branch\"]             = \"Chadic\"\n     Locale[\"ha\"][\"iso\"]                = \"hau\"\n     Locale[\"ha\"][\"glotto\"]             = \"haus1257\"\n     Locale[\"ha\"][\"script\"]             = \"Latn\"\n-\n-    #35 Hebrew\n+    Locale[\"ha\"][\"spoken-in\"]          = \"Chad; Nigeria; Niger; Ghana; Cameroon; Benin\"\n+    Locale[\"ha\"][\"supported-by\"]       = \"google\"\n+\n+    # Hebrew\n     Locale[\"he\"][\"name\"]               = \"Hebrew\"\n     Locale[\"he\"][\"endonym\"]            = \"\u05e2\u05b4\u05d1\u05b0\u05e8\u05b4\u05d9\u05ea\"\n     Locale[\"he\"][\"translations-of\"]    = \"\u05ea\u05e8\u05d2\u05d5\u05de\u05d9\u05dd \u05e9\u05dc %s\"\n@@ -875,12 +882,31 @@\n     Locale[\"he\"][\"examples\"]           = \"\u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea\"\n     Locale[\"he\"][\"see-also\"]           = \"\u05e8\u05d0\u05d4 \u05d2\u05dd\"\n     Locale[\"he\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"he\"][\"branch\"]             = \"Semitic\"\n     Locale[\"he\"][\"iso\"]                = \"heb\"\n     Locale[\"he\"][\"glotto\"]             = \"hebr1245\"\n     Locale[\"he\"][\"script\"]             = \"Hebr\"\n     Locale[\"he\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #36 Hindi\n+    Locale[\"he\"][\"spoken-in\"]          = \"Israel\"\n+    Locale[\"he\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Hill Mari \/ Western Mari\n+    Locale[\"mrj\"][\"name\"]              = \"Hill Mari\"\n+    Locale[\"mrj\"][\"endonym\"]           = \"\u041a\u044b\u0440\u044b\u043a \u043c\u0430\u0440\u044b\"\n+    #Locale[\"mrj\"][\"translations-of\"]\n+    #Locale[\"mrj\"][\"definitions-of\"]\n+    #Locale[\"mrj\"][\"synonyms\"]\n+    #Locale[\"mrj\"][\"examples\"]\n+    #Locale[\"mrj\"][\"see-also\"]\n+    Locale[\"mrj\"][\"family\"]            = \"Uralic\"\n+    Locale[\"mrj\"][\"branch\"]            = \"Mari\"\n+    Locale[\"mrj\"][\"iso\"]               = \"mrj\"\n+    Locale[\"mrj\"][\"glotto\"]            = \"west2392\"\n+    Locale[\"mrj\"][\"script\"]            = \"Cyrl\"\n+    Locale[\"mrj\"][\"spoken-in\"]         = \"the Gornomariysky, Yurinsky and Kilemarsky districts of Mari El, Russia\"\n+    Locale[\"mrj\"][\"supported-by\"]      = \"yandex\"\n+\n+    # Hindi\n     Locale[\"hi\"][\"name\"]               = \"Hindi\"\n     Locale[\"hi\"][\"endonym\"]            = \"\u0939\u093f\u0928\u094d\u0926\u0940\"\n     Locale[\"hi\"][\"translations-of\"]    = \"%s \u0915\u0947 \u0905\u0928\u0941\u0935\u093e\u0926\"\n@@ -889,11 +915,14 @@\n     Locale[\"hi\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\"\n     Locale[\"hi\"][\"see-also\"]           = \"\u092f\u0939 \u092d\u0940 \u0926\u0947\u0916\u0947\u0902\"\n     Locale[\"hi\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"hi\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"hi\"][\"iso\"]                = \"hin\"\n     Locale[\"hi\"][\"glotto\"]             = \"hind1269\"\n     Locale[\"hi\"][\"script\"]             = \"Deva\"\n-\n-    #37 Hmong (First Vernacular Hmong)\n+    Locale[\"hi\"][\"spoken-in\"]          = \"India\"\n+    Locale[\"hi\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Hmong (First Vernacular Hmong)\n     Locale[\"hmn\"][\"name\"]              = \"Hmong\"\n     Locale[\"hmn\"][\"endonym\"]           = \"Hmoob\"\n     Locale[\"hmn\"][\"translations-of\"]   = \"Lus txhais: %s\"\n@@ -902,11 +931,25 @@\n     #Locale[\"hmn\"][\"examples\"]\n     #Locale[\"hmn\"][\"see-also\"]\n     Locale[\"hmn\"][\"family\"]            = \"Hmong-Mien\"\n+    Locale[\"hmn\"][\"branch\"]            = \"Hmongic\"\n     Locale[\"hmn\"][\"iso\"]               = \"hmn\"\n     Locale[\"hmn\"][\"glotto\"]            = \"firs1234\"\n     Locale[\"hmn\"][\"script\"]            = \"Latn\"\n-\n-    #38 Hungarian\n+    Locale[\"hmn\"][\"spoken-in\"]         = \"China; Vietnam; Laos; Myanmar; Thailand\"\n+    Locale[\"hmn\"][\"supported-by\"]      = \"google; bing\"\n+\n+    # Hmong Daw (White Hmong)\n+    #Locale[\"mww\"][\"name\"]              = \"Hmong Daw\"\n+    #Locale[\"mww\"][\"endonym\"]           = \"Hmoob Daw\"\n+    #Locale[\"mww\"][\"family\"]            = \"Hmong-Mien\"\n+    #Locale[\"mww\"][\"branch\"]            = \"Hmongic\"\n+    #Locale[\"mww\"][\"iso\"]               = \"mww\"\n+    #Locale[\"mww\"][\"glotto\"]            = \"hmon1333\"\n+    #Locale[\"mww\"][\"script\"]            = \"Latn\"\n+    #Locale[\"mww\"][\"spoken-in\"]         = \"China; Vietnam; Laos; Myanmar; Thailand\"\n+    #Locale[\"mww\"][\"supported-by\"]      = \"bing\"\n+\n+    # Hungarian\n     Locale[\"hu\"][\"name\"]               = \"Hungarian\"\n     Locale[\"hu\"][\"endonym\"]            = \"Magyar\"\n     Locale[\"hu\"][\"translations-of\"]    = \"%s ford\u00edt\u00e1sai\"\n@@ -915,9 +958,14 @@\n     Locale[\"hu\"][\"examples\"]           = \"P\u00e9ld\u00e1k\"\n     Locale[\"hu\"][\"see-also\"]           = \"L\u00e1sd m\u00e9g\"\n     Locale[\"hu\"][\"family\"]             = \"Uralic\"\n+    Locale[\"hu\"][\"branch\"]             = \"Ugric\"\n     Locale[\"hu\"][\"iso\"]                = \"hun\"\n     Locale[\"hu\"][\"glotto\"]             = \"hung1274\"\n     Locale[\"hu\"][\"script\"]             = \"Latn\"\n+    Locale[\"hu\"][\"spoken-in\"]          = \"Hungary\"\n+    Locale[\"hu\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #39 Icelandic\n     Locale[\"is\"][\"name\"]               = \"Icelandic\"\n@@ -2084,15 +2132,6 @@\n     Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n     Locale[\"zu\"][\"script\"]             = \"Latn\"\n \n-    #* Hmong Daw (White Hmong)\n-    Locale[\"mww\"][\"support\"]           = \"bing-only\"\n-    Locale[\"mww\"][\"name\"]              = \"Hmong Daw\"\n-    Locale[\"mww\"][\"endonym\"]           = \"Hmoob Daw\"\n-    Locale[\"mww\"][\"family\"]            = \"Hmong-Mien\"\n-    Locale[\"mww\"][\"iso\"]               = \"mww\"\n-    Locale[\"mww\"][\"glotto\"]            = \"hmon1333\"\n-    Locale[\"mww\"][\"script\"]            = \"Latn\"\n-\n     #* Portuguese (European)\n     Locale[\"pt-PT\"][\"support\"]         = \"bing-only\"\n     Locale[\"pt-PT\"][\"name\"]            = \"Portuguese (European)\"\n@@ -2188,20 +2227,6 @@\n     Locale[\"mhr\"][\"iso\"]               = \"mhr\"\n     Locale[\"mhr\"][\"glotto\"]            = \"east2328\"\n     Locale[\"mhr\"][\"script\"]            = \"Cyrl\"\n-\n-    #? Hill Mari\n-    Locale[\"mrj\"][\"support\"]           = \"yandex-only\"\n-    Locale[\"mrj\"][\"name\"]              = \"Hill Mari\"\n-    Locale[\"mrj\"][\"endonym\"]           = \"\u041a\u044b\u0440\u044b\u043a \u043c\u0430\u0440\u044b\"\n-    #Locale[\"mrj\"][\"translations-of\"]\n-    #Locale[\"mrj\"][\"definitions-of\"]\n-    #Locale[\"mrj\"][\"synonyms\"]\n-    #Locale[\"mrj\"][\"examples\"]\n-    #Locale[\"mrj\"][\"see-also\"]\n-    Locale[\"mrj\"][\"family\"]            = \"Uralic\"\n-    Locale[\"mrj\"][\"iso\"]               = \"mrj\"\n-    Locale[\"mrj\"][\"glotto\"]            = \"west2392\"\n-    Locale[\"mrj\"][\"script\"]            = \"Cyrl\"\n \n     #? Interlingue\n     Locale[\"ie\"][\"support\"]            = \"unstable\"\n@@ -2356,6 +2381,7 @@\n     LocaleAlias[\"jw\"] = \"jv\" # withdrawn language code for Javanese\n     LocaleAlias[\"kurdish\"] = \"ku\" # Kurdish: default to \"ku\" (N.B. Google uses this code for Kurmanji)\n     LocaleAlias[\"mo\"] = \"ro\" # Moldavian or Moldovan considered a variant of the Romanian language\n+    LocaleAlias[\"mww\"] = \"hmn\" # mww (Hmong Daw) treated the same as hmn (the inclusive code for Hmong)\n     LocaleAlias[\"nb\"] = \"no\" # Google Translate does not distinguish between Bokm\u00e5l and Nynorsk (but Bing does!)\n     LocaleAlias[\"nn\"] = \"no\"\n     LocaleAlias[\"pt\"] = \"pt-BR\" # Portuguese: default to Brazilian Portuguese (as in Google Translate)\n"}
{"commit":"8e8327cb31c33403af87ab81fe7f799889901963","subject":"Revert rev 1.7 which moved us away from POSIX character classes. The community feels our base AWK must handle them.","message":"Revert rev 1.7 which moved us away from POSIX character classes.\nThe community feels our base AWK must handle them.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/boot\/ficl\/softwords\/softcore.awk\n+++ sys\/boot\/ficl\/softwords\/softcore.awk\n@@ -6,6 +6,9 @@\n #\n # 02-oct-1999:  Cleaned up awk slightly; added some additional logic\n #               suggested by dcs to compress the stored forth program.\n+#\n+# Note! This script uses strftime() which is a gawk-ism, and the\n+# POSIX [[:space:]] character class.\n #\n # $FreeBSD$\n \n@@ -34,7 +37,7 @@\n {\n   gsub(\/\\t\/, \"    \");\t\t\t# replace each tab with 4 spaces\n   gsub(\/\\\"\/, \"\\\\\\\"\");\t\t\t# escape quotes\n-  gsub(\/\\\\[ \t]+$\/, \"\");\t\t# toss empty comments\n+  gsub(\/\\\\[[:space:]]+$\/, \"\");\t\t# toss empty comments\n }\n \n # strip out empty lines\n@@ -44,9 +47,9 @@\n }\n \n # emit \/ ** lines as multi-line C comments\n-\/^\\\\[ \t]\\*\\*\/ \\\n+\/^\\\\[[:space:]]\\*\\*\/ \\\n {\n-  sub(\/^\\\\[ \t]\/, \"\");\n+  sub(\/^\\\\[[:space:]]\/, \"\");\n   if (commenting == 0) printf \"\/*\\n\";\n   printf \"%s\\n\", $0;\n   commenting = 1;\n@@ -54,7 +57,7 @@\n }\n \n # strip blank lines\n-\/^[ \t]*$\/ \\\n+\/^[[:space:]]*$\/ \\\n {\n   next;\n }\n@@ -67,10 +70,10 @@\n }\n \n # pass commented preprocessor directives\n-\/^\\\\[ \t]#\/ \\\n+\/^\\\\[[:space:]]#\/ \\\n {\n   if (commenting) end_comments();\n-  sub(\/^\\\\[ \t]\/, \"\");\n+  sub(\/^\\\\[[:space:]]\/, \"\");\n   printf \"%s\\n\", $0;\n   next;\n }\n@@ -83,31 +86,31 @@\n }\n \n # lop off trailing \\ comments\n-\/\\\\[ \t]+\/ \\\n+\/\\\\[[:space:]]+\/ \\\n {\n-  sub(\/\\\\[ \t]+.*$\/, \"\");\n+  sub(\/\\\\[[:space:]]+.*$\/, \"\");\n }\n \n # expunge ( ) comments\n-\/[ \t]+\\([ \t][^)]*\\)\/ \\\n+\/[[:space:]]+\\([[:space:]][^)]*\\)\/ \\\n {\n-  sub(\/[ \t]+\\([ \t][^)]*\\)\/, \"\");\n+  sub(\/[[:space:]]+\\([[:space:]][^)]*\\)\/, \"\");\n }\n \n # remove leading spaces\n-\/^[ \t]+\/ \\\n+\/^[[:space:]]+\/ \\\n {\n-  sub(\/^[ \t]+\/, \"\");\n+  sub(\/^[[:space:]]+\/, \"\");\n }\n \n # removing trailing spaces\n-\/[ \t]+$\/ \\\n+\/[[:space:]]+$\/ \\\n {\n-  sub(\/[ \t]+$\/, \"\");\n+  sub(\/[[:space:]]+$\/, \"\");\n }\n \n # strip out empty lines again (preceding rules may have generated some)\n-\/^[ \t]*$\/ \\\n+\/^[[:space:]]*$\/ \\\n {\n   if (commenting) end_comments();\n   next;\n"}
{"commit":"598b6c7a027db020466a9e60bc7a6e9889548457","subject":"Translators\/BingTranslator: use code pt-pt for Portuguese","message":"Translators\/BingTranslator: use code pt-pt for Portuguese\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -200,12 +200,14 @@\n     # Hot-patches for Bing's own translator language codes\n     # See: <https:\/\/msdn.microsoft.com\/en-us\/library\/hh456380.aspx>\n     if (_sl == \"auto\")  _sl = \"auto-detect\"\n-    if (_sl == \"no\")    _sl = \"nb\" # Bing uses Norwegian Bokm\u00e5l\n-    if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code\n+    if (_sl == \"bs\")    _sl = \"bs-Latn\"  # 'bs' is not recognized as valid code\n+    if (_sl == \"no\")    _sl = \"nb\"  # Bing uses Norwegian Bokm\u00e5l\n+    if (_sl == \"pt\")    _sl = \"pt-pt\"  # 'pt' and 'pt-PT' are not recognized (FIXME: support pt-br)\n     if (_sl == \"zh-CN\") _sl = \"zh-Hans\"\n     if (_sl == \"zh-TW\") _sl = \"zh-Hant\"\n+    if (_tl == \"bs\")    _tl = \"bs-Latn\"\n     if (_tl == \"no\")    _tl = \"nb\"\n-    if (_tl == \"bs\")    _tl = \"bs-Latn\"\n+    if (_tl == \"pt\")    _tl = \"pt-pt\"\n     if (_tl == \"zh-CN\") _tl = \"zh-Hans\"\n     if (_tl == \"zh-TW\") _tl = \"zh-Hant\"\n \n"}
{"commit":"305319c68fd719d6267df91e473320f3d4a8bee2","subject":"Fix forEach snippet","message":"Fix forEach snippet\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/snip.awk\n+++ bin\/snip.awk\n@@ -12,7 +12,7 @@\n   FIXED[\"javascript:fn\"]       = \"function\"\n   FIXED[\"javascript:function\"] = \"function (|) {}\"\n   FIXED[\"javascript:fori\"]     = \"for (let i = 0; i < |; i + = 1) {\"\n-  FIXED[\"javascript:fe\"]       = \"foreach\"\n+  FIXED[\"javascript:fe\"]       = \"forEach\"\n   FIXED[\"javascript:)\"]        = \") => \"\n   PREFIX[\"javascript:json\"]       = \"JSON.stringify\"\n   PREFIX[\"javascript:require\"]    = \"require(\\\"|\\\")\"\n"}
{"commit":"fdf52b2b7d29bda6938d507f4b4d040ce99c4d39","subject":"LanguageData: update section Y & Z","message":"LanguageData: update section Y & Z\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -2694,9 +2694,19 @@\n     Locale[\"xh\"][\"spoken-in\"]          = \"South Africa; Zimbabwe\"\n     Locale[\"xh\"][\"supported-by\"]       = \"google; yandex\"\n \n-\n-\n-    #106 Yiddish\n+    # Yakut \/ Sakha\n+    Locale[\"sah\"][\"name\"]              = \"Yakut\"\n+    Locale[\"sah\"][\"name2\"]             = \"Sakha\"\n+    Locale[\"sah\"][\"endonym\"]           = \"Sakha\"\n+    Locale[\"sah\"][\"family\"]            = \"Turkic\"\n+    Locale[\"sah\"][\"branch\"]            = \"Siberian Turkic\"\n+    Locale[\"sah\"][\"iso\"]               = \"sah\"\n+    Locale[\"sah\"][\"glotto\"]            = \"yaku1245\"\n+    Locale[\"sah\"][\"script\"]            = \"Latn\"\n+    Locale[\"sah\"][\"spoken-in\"]         = \"the Republic of Sakha (Yakutia) in Russia\"\n+    Locale[\"sah\"][\"supported-by\"]      = \"yandex\"\n+\n+    # Yiddish\n     Locale[\"yi\"][\"name\"]               = \"Yiddish\"\n     Locale[\"yi\"][\"endonym\"]            = \"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9\"\n     Locale[\"yi\"][\"translations-of\"]    = \"\u05d0\u05d9\u05d1\u05e2\u05e8\u05d6\u05e2\u05e6\u05d5\u05e0\u05d2\u05e2\u05df \u05e4\u05d5\u05df %s\"\n@@ -2705,12 +2715,16 @@\n     Locale[\"yi\"][\"examples\"]           = \"\u05d1\u05d9\u05d9\u05e9\u05e4\u05d9\u05dc\u05e2\"\n     Locale[\"yi\"][\"see-also\"]           = \"\u05d6\u05d9\u05d9\u05e2\u05df \u05d0\u05d5\u05d9\u05da\"\n     Locale[\"yi\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"yi\"][\"branch\"]             = \"West Germanic\"\n     Locale[\"yi\"][\"iso\"]                = \"yid\"\n     Locale[\"yi\"][\"glotto\"]             = \"yidd1255\"\n     Locale[\"yi\"][\"script\"]             = \"Hebr\"\n     Locale[\"yi\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #107 Yoruba\n+    Locale[\"yi\"][\"spoken-in\"]          = \"worldwide\"\n+    Locale[\"yi\"][\"description\"]        = \"a West Germanic language historically spoken by Ashkenazi Jews\"\n+    Locale[\"yi\"][\"supported-by\"]       = \"google; yandex\"\n+\n+    # Yoruba\n     Locale[\"yo\"][\"name\"]               = \"Yoruba\"\n     Locale[\"yo\"][\"endonym\"]            = \"Yor\u00f9b\u00e1\"\n     Locale[\"yo\"][\"translations-of\"]    = \"Aw\u1ecdn itum\u1ecd ti %s\"\n@@ -2719,11 +2733,25 @@\n     Locale[\"yo\"][\"examples\"]           = \"Aw\u1ecdn ap\u1eb9r\u1eb9\"\n     Locale[\"yo\"][\"see-also\"]           = \"Tun wo\"\n     Locale[\"yo\"][\"family\"]             = \"Atlantic-Congo\"\n+    #Locale[\"yo\"][\"branch\"]\n     Locale[\"yo\"][\"iso\"]                = \"yor\"\n     Locale[\"yo\"][\"glotto\"]             = \"yoru1245\"\n     Locale[\"yo\"][\"script\"]             = \"Latn\"\n-\n-    #108 Zulu\n+    Locale[\"yo\"][\"spoken-in\"]          = \"Nigeria; Benin\"\n+    Locale[\"yo\"][\"supported-by\"]       = \"google\"\n+\n+    # Yucatec Maya\n+    Locale[\"yua\"][\"name\"]              = \"Yucatec Maya\"\n+    Locale[\"yua\"][\"endonym\"]           = \"M\u00e0aya T'\u00e0an\"\n+    Locale[\"yua\"][\"family\"]            = \"Mayan\"\n+    #Locale[\"yua\"][\"branch\"]\n+    Locale[\"yua\"][\"iso\"]               = \"yua\"\n+    Locale[\"yua\"][\"glotto\"]            = \"yuca1254\"\n+    Locale[\"yua\"][\"script\"]            = \"Latn\"\n+    Locale[\"yua\"][\"spoken-in\"]         = \"Mexico; Belize\"\n+    Locale[\"yua\"][\"supported-by\"]      = \"bing\"\n+\n+    # Zulu\n     Locale[\"zu\"][\"name\"]               = \"Zulu\"\n     Locale[\"zu\"][\"endonym\"]            = \"isiZulu\"\n     Locale[\"zu\"][\"translations-of\"]    = \"Ukuhumusha i-%s\"\n@@ -2732,18 +2760,12 @@\n     Locale[\"zu\"][\"examples\"]           = \"Izibonelo\"\n     Locale[\"zu\"][\"see-also\"]           = \"Bheka futhi\"\n     Locale[\"zu\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"zu\"][\"branch\"]             = \"Bantu\"\n     Locale[\"zu\"][\"iso\"]                = \"zul\"\n     Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n     Locale[\"zu\"][\"script\"]             = \"Latn\"\n-\n-    #* Yucatec Maya\n-    Locale[\"yua\"][\"support\"]           = \"bing-only\"\n-    Locale[\"yua\"][\"name\"]              = \"Yucatec Maya\"\n-    Locale[\"yua\"][\"endonym\"]           = \"M\u00e0aya T'\u00e0an\"\n-    Locale[\"yua\"][\"family\"]            = \"Mayan\"\n-    Locale[\"yua\"][\"iso\"]               = \"yua\"\n-    Locale[\"yua\"][\"glotto\"]            = \"yuca1254\"\n-    Locale[\"yua\"][\"script\"]            = \"Latn\"\n+    Locale[\"zu\"][\"spoken-in\"]          = \"South Africa; Lesotho; Eswatini\"\n+    Locale[\"zu\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n }\n \n"}
{"commit":"71b67e4038a2bdb37417076428af7d23f5313232","subject":"Commons: fix detectProgram()","message":"Commons: fix detectProgram()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -446,7 +446,7 @@\n # Detect whether a program exists in path.\n # Return the name (or output) if the program call writes anything to stdout;\n # Otherwise, return a null string.\n-function detectProgram(prog, arg, returnOutput) {\n+function detectProgram(prog, arg, returnOutput,    temp) {\n     if (returnOutput) {\n         prog \" \" arg SUPERR | getline temp\n         return temp\n"}
{"commit":"e215f74c564c34b887767cc0261a1832239fe341","subject":"build.awk: add a recursive readSqueezed()","message":"build.awk: add a recursive readSqueezed()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -124,6 +124,25 @@\n     return 0\n }\n \n+function readSqueezed(fileName, squeezed,    group, line, ret) {\n+    if (fileName ~ \/\\*$\/) # glob simulation\n+        return readSqueezed(fileName \".awk\", squeezed)\n+\n+    ret = NULLSTR\n+    if (fileExists(fileName))\n+        while (getline line < fileName) {\n+            match(line, \/^[[:space:]]*@include[[:space:]]*\"(.*)\"$\/, group)\n+            if (RSTART) { # @include\n+                if (ret) ret = ret RS\n+                ret = ret readSqueezed(group[1] \".awk\", squeezed)\n+            } else if (!squeezed || line = squeeze(line)) { # effective LOC\n+                if (ret) ret = ret RS\n+                ret = ret line\n+            }\n+        }\n+    return ret\n+}\n+\n function build(target, type,    group, inline, line, temp) {\n     # Default target: bash\n     if (!target) target = \"bash\"\n@@ -143,23 +162,7 @@\n         print \"if ! [[ $LANG =~ '[UTF|utf]-?8$' ]]; then export LANG=en_US.UTF-8; fi\" > Trans\n \n         print \"read -r -d '' TRANS_PROGRAM << 'EOF'\" > Trans\n-        if (fileExists(EntryPoint))\n-            while (getline line < EntryPoint) {\n-                match(line, \/^[[:space:]]*@include[[:space:]]*\"(.*)\"$\/, group)\n-                if (RSTART) {\n-                    # Include file\n-                    if (fileExists(group[1] \".awk\"))\n-                        while (getline inline < (group[1] \".awk\"))\n-                            if (inline = squeeze(inline))\n-                                print inline > Trans # effective LOC\n-                } else {\n-                    if (line && line !~ \/^[[:space:]]*#!\/) {\n-                        # Remove preceding spaces\n-                        gsub(\/^[[:space:]]+\/, \"\", line)\n-                        print line > Trans\n-                    }\n-                }\n-            }\n+        print readSqueezed(EntryPoint, TRUE) > Trans\n         print \"EOF\" > Trans\n \n         print \"read -r -d '' TRANS_MANPAGE << 'EOF'\" > Trans\n@@ -185,24 +188,11 @@\n     } else if (target == \"awk\" || target == \"gawk\") {\n \n         \"uname -s\" | getline temp\n-\n-        if (fileExists(EntryPoint))\n-            while (getline line < EntryPoint) {\n-                match(line, \/^[[:space:]]*@include[[:space:]]*\"(.*)\"$\/, group)\n-                if (RSTART) {\n-                    # Include file\n-                    if (fileExists(group[1] \".awk\"))\n-                        while (getline inline < (group[1] \".awk\"))\n-                            if (inline = squeeze(inline, 1))\n-                                print inline > TransAwk\n-                } else {\n-                    if (temp == \"Darwin\" && line == \"#!\/usr\/bin\/gawk -f\")\n-                        # OS X: gawk not in \/usr\/bin, use a better shebang\n-                        print \"#!\/usr\/bin\/env gawk -f\" > TransAwk\n-                    else\n-                        print line > TransAwk\n-                }\n-            }\n+        print (temp == \"Darwin\" ?\n+               \"#!\/usr\/bin\/env gawk -f\" : # OS X\n+               \"#!\/usr\/bin\/gawk -f\") > TransAwk\n+\n+        print readSqueezed(EntryPoint, TRUE) > TransAwk\n \n         (\"chmod +x \" parameterize(TransAwk)) | getline\n         return 0\n"}
{"commit":"65ed80134c8d347d64ff1a1ee9c5cb7578923bd8","subject":"2012-03-28: parsegaspriceshtml.awk: Changed for Thorntons images.","message":"2012-03-28: parsegaspriceshtml.awk: Changed for Thorntons images.\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -36,6 +36,8 @@\n }\n \n inGasPriceRecord && expectName && \/<a href=\"\/ {\n+   gsub(\"<img src=\\\"http:\/\/thorntons.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n+   gsub(\"<img src=\\\"\/images\/brands\/199_p.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    expectName=False\n    sub(\"<\/a>[ ]*$\",\"\")\n    sub(\"^.*>\",\"\")\n"}
{"commit":"3cc6189296307bb5d8deb25b7d766dc92f00fad7","subject":"Translators\/BingTranslator: fix original phonetics","message":"Translators\/BingTranslator: fix original phonetics\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -278,7 +278,11 @@\n             split(_sl, group, \"-\")\n             #content = postResponse(text, group[1], group[1], _hl, \"transliterate\")\n             #oPhonetics = unparameterize(content)\n-            # FIXME!\n+            content = postResponse(text, il, il, _hl, \"translate\")\n+            tokenize(tokens, content)\n+            parseJson(ast, tokens)\n+            oPhonetics = unparameterize(ast[0 SUBSEP 0 SUBSEP \"translations\" SUBSEP 0 SUBSEP \"transliteration\" \\\n+                                            SUBSEP \"text\"])\n             if (oPhonetics == text) oPhonetics = \"\"\n         }\n \n@@ -330,9 +334,9 @@\n                 tokenize(dicTokens, dicContent)\n                 parseJson(dicAst, dicTokens)\n \n-                l(dicContent, \"content\", 1, 1)\n-                l(dicTokens, \"tokens\", 1, 0, 1)\n-                l(dicAst, \"ast\")\n+                l(dicContent, \"dicContent\", 1, 1)\n+                l(dicTokens, \"dicTokens\", 1, 0, 1)\n+                l(dicAst, \"dicAst\")\n \n                 saveSortedIn = PROCINFO[\"sorted_in\"]\n                 PROCINFO[\"sorted_in\"] = \"compareByIndexFields\"\n"}
{"commit":"8bc2dcedfe942c5572aa0add39d416e5ab6f1b16","subject":"fixed bugs in the awkscript which were not ignoring upper case lines, set the pt grabbing routine to only work on lines with more than 10 fields","message":"fixed bugs in the awkscript which were not ignoring upper case lines, set the pt grabbing routine to only work on lines with more than 10 fields\n","repos":"jackdawjackdaw\/compute-flow,jackdawjackdaw\/compute-flow,jackdawjackdaw\/compute-flow","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/pt-phi-grab.awk\n+++ src\/pt-phi-grab.awk\n@@ -1,7 +1,7 @@\n ## run as awk -f pt-phi-grab.awk < stuff\n ## match event lines and print something\n BEGIN{count = 0;}\n-\/^event\/{ count++;\n+\/^event#\/{ count++;\n     print( \"# event\", count)\n }\n \n@@ -16,15 +16,15 @@\n function asin(x) { return atan2(x, sqrt(1-x*x)) }\n \n ## on lines which are particles output pt, phi and rap\n-## this seems to only read about 600 lines?\n-!\/(^[a-z])\/{\n+!\/(^[a-zA-Z])\/{ ## forgot to screen out upper case chars (dumb)\n+    if(NF > 10){ ## ok so only go on potential particle lines\n         en = $5\n         px = $6;\n         py = $7;\n         pz = $8;\n         ch = $12;\n         pabs = sqrt(px*px + py*py + pz*pz)\n-        #printf(\"(%lf %lf %lf) %lf %lf\\n\", px, py, pz, en, pabs)\n+        ##printf(\"(%lf %lf %lf) %lf %lf\\n\", px, py, pz, en, pabs)\n         if(abs(pabs) > 0 && abs(pz) > 0 && abs(pabs-pz) > 0 && abs(pabs+pz)>0){\n             rap = 0.5*log((pabs + pz)\/(pabs - pz))\n         } else {\n@@ -46,5 +46,6 @@\n         }\n \n         printf(\"%d %lf %lf %lf\\n\", ch, pt, phi, rap);\n+    }\n }\n \n"}
{"commit":"27a1a3f3eb644066cdae4f7004c56953da1ca83d","subject":"mpers.awk: relax union member name absence check","message":"mpers.awk: relax union member name absence check\n\nThis fixes mpersing of unions containing nameless members,\ne.g. struct btrfs_ioctl_vol_args_v2.\n\n* mpers.awk (what_is): Print names of union_type members as is.\n","repos":"cuviper\/strace,cuviper\/strace,cuviper\/strace,cuviper\/strace,cuviper\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mpers.awk\n+++ mpers.awk\n@@ -146,7 +146,7 @@\n \t\t\tif (\"parent\" in array[item] && \\\n \t\t\t\tarray_get(item, \"parent\") == what_idx) {\n \t\t\t\treturned = what_is(item)\n-\t\t\t\tprintf(\"%s\", array_get(item, \"name\"))\n+\t\t\t\tprintf(\"%s\", array[item][\"name\"])\n \t\t\t\tif (\"\" != returned) {\n \t\t\t\t\tprintf(\"[%s]\", returned)\n \t\t\t\t}\n"}
{"commit":"cf1fee3c9ad8ea11385a92fc0ddb5ba10a5baaa5","subject":"increase maximum sequence length limits","message":"increase maximum sequence length limits\n","repos":"cjlee112\/pygr,RitwikGupta\/pygr,cjlee112\/pygr,GenDataPro\/pygr,RitwikGupta\/pygr,cjlee112\/pygr,ctb\/pygr,theoryno3\/pygr,ctb\/pygr,ctb\/pygr,cjlee112\/pygr,theoryno3\/pygr,ctb\/pygr,GenDataPro\/pygr,ctb\/pygr,RitwikGupta\/pygr,GenDataPro\/pygr,theoryno3\/pygr","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- parse_blast.awk\n+++ parse_blast.awk\n@@ -125,9 +125,9 @@\n     if (mode==\"summary\") {\n \tprintf(\"%d\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",hit_id,SEQ_ID,SUBJ_ID,BLAST_SCORE,E_VALUE,IDENTITY_PERCENT,BLAST_FRAME,QUERY_START,QUERY_END,SUBJ_START,SUBJ_END);\n     }\n-    QUERY_START=9999999;\n+    QUERY_START=9999999999;\n     QUERY_END= -1;\n-    SUBJ_START=9999999;\n+    SUBJ_START=9999999999;\n     SUBJ_END= -1;\n }\n \n@@ -136,7 +136,7 @@\n \/^Query=\/ {\n     SEQ_ID=$2;\n     TITLE=substr($0,index($0,$3));\n-    QUERY_START=9999999;\n+    QUERY_START=9999999999;\n     QUERY_END= -1;\n }\n \n@@ -173,7 +173,7 @@\n     }\n     QUERY_SEQ=\"\";\n     SUBJ_SEQ=\"\";\n-    SUBJ_START=9999999;\n+    SUBJ_START=9999999999;\n     SUBJ_END= -1;\n }\n \n"}
{"commit":"fba2d2a9f748f2029b97976e93dbff846d358ae8","subject":"exports syms not objects without modversions","message":"exports syms not objects without modversions\n","repos":"openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -801,7 +801,7 @@\n \t\tval = \"\" $1; sec = $(NF-2); offset = $(NF-1); sym = $NF\n \t\tflags = substr($0, length(val)+2, 7)\n \t\tif (substr(flags,1,1) == \"l\") {\n-\t\t    if (substr(flags,7,1) == \"O\") {\n+\t\t    if (substr(flags,7,1) == \"O\" || !values[\"modversions\"]) {\n \t\t\tif (sec == \".modinfo\") {\n \t\t\t    if (sym ~ \/^_?__mod_version[0-9]*$\/)\n \t\t\t\tmod_vers[mod] = 1\n@@ -820,7 +820,7 @@\n \t\t    continue\n \t\t}\n \t\tif (substr(flags,1,1) == \"g\") {\n-\t\t    if (substr(flags,7,1) == \"O\") {\n+\t\t    if (substr(flags,7,1) == \"O\" || !values[\"modversions\"]) {\n \t\t\tif (sub(\/^_?_?__ksymtab\/,\"\",sec)) {\n \t\t\t    sub(\/\\+.*\/,\"\",sec)\n \t\t\t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n"}
{"commit":"ae689390b09d1f5b274c83dbbd3836fedb692e31","subject":"cfg80211: fix parsing when db.txt ends on a rule","message":"cfg80211: fix parsing when db.txt ends on a rule\n\nIf genregdb.awk assumes the file will end with an\nextra empty line or a comment line. This is could\nnot be true so just address this.\n\nSigned-off-by: Luis R. Rodriguez <d4fa18192c5a479e564d29c2300c2e15afd1d8d7@do-not-panic.com>\nAcked-by: John W. Linville <2a53bac7a5d324865ef46ec4c38b2c0fba1456b4@tuxdriver.com>\nSigned-off-by: Johannes Berg <bff32994ff0f8d048f262a8388145a71b6071bfe@intel.com>\n","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- net\/wireless\/genregdb.awk\n+++ net\/wireless\/genregdb.awk\n@@ -143,6 +143,8 @@\n }\n \n END {\n+\tif (active)\n+\t\tprint_tail_country()\n \tprint regdb \"};\"\n \tprint \"\"\n \tprint \"int reg_regdb_size = ARRAY_SIZE(reg_regdb);\"\n"}
{"commit":"26b6be2978d2fcaad0f4eee899743d87c157449b","subject":"invisible h1 now appears","message":"invisible h1 now appears","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/hierarchy.awk\n+++ tools\/hierarchy.awk\n@@ -6,16 +6,23 @@\n     hier[heading] = $0\n     sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n     sub(\/<a href=\".*\" class=\"section_anchor\"><\\\/a>\/, \"\", hier[heading])\n-    print hier[heading]\n+    print \"<div class='slide'>\"\n+    if (heading > 1) {\n+\tprint \"<h1 style='display: none;'>\" hier[heading] \"<\/h1>\"\n+    }\n+    for (i=1; i < heading; ++i) {\n+\tprint \"<h\" i \" style='color: #C0C0C0;'>\" hier[i] \"<\/h\" i \">\"\n+    }\n+    print \"<h\" heading \">\" hier[heading]\n     hunt = 0\n     next\n }\n \n \/<h1>\/ {\n-    print \"<div class=\\\"slide\\\">\"\n+    #print \"<div class=\\\"slide\\\">\"\n     heading = 1\n     hunt = 1\n-    print\n+    #print\n     next\n }\n \n@@ -27,28 +34,28 @@\n \n \/<h2>\/ && heading == 0 {\n     print \"<\/div>\"\n-    print \"<div class=\\\"slide\\\">\"\n-    print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n+    #print \"<div class=\\\"slide\\\">\"\n+    #print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n     heading = 2\n     hunt = 1\n-    print\n+    #print\n     next\n }\n \n \/<h3>\/ && heading == 0 {\n     print \"<\/div>\"\n-    print \"<div class=\\\"slide\\\">\"\n-    print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n-    print \"<h2 style=\\\"display: none;\\\">\" hier[2] \"<\/h2>\"\n+    #print \"<div class=\\\"slide\\\">\"\n+    #print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n+    #print \"<h2 style=\\\"display: none;\\\">\" hier[2] \"<\/h2>\"\n     heading = 3\n     hunt = 1\n-    print\n+    #print\n     next\n }\n \n \/<h4>\/ && heading == 3 {\n     heading = 4\n     hunt = 1\n-    print\n+    #print\n     next\n }"}
{"commit":"6e68a7db31e3baab86a0c3ce45c261d740e23b86","subject":"[as-x86] Remove debug information from gen.awk","message":"[as-x86] Remove debug information from gen.awk\n","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- as\/target\/x86\/gen.awk\n+++ as\/target\/x86\/gen.awk\n@@ -1,6 +1,5 @@\n \n BEGIN\t\t{\n-\t\tprint \"bits=\",bits > \"\/dev\/stderr\"\n \t\tFS = \"\\t\"\n \t\tprintf \"#include \\\"..\/..\/..\/inc\/scc.h\\\"\\n\"\\\n \t\t       \"#include \\\"..\/..\/as.h\\\"\\n\"\\\n"}
{"commit":"4f109266ecb63304698271536703b11f1f806272","subject":"unix-yy.test: fix portability issue","message":"unix-yy.test: fix portability issue\n\n* tests\/unix-yy-connect.awk (r_close_listen): Quote square brackets\nthat are not part of a bracket expression.\n","repos":"cuviper\/strace,Saruta\/strace,cuviper\/strace,Distrotech\/strace,kapdop\/android_external_strace,Distrotech\/strace,Saruta\/strace,Distrotech\/strace,cuviper\/strace,kapdop\/android_external_strace,Saruta\/strace,Saruta\/strace,kapdop\/android_external_strace,Saruta\/strace,Distrotech\/strace,Distrotech\/strace,kapdop\/android_external_strace,kapdop\/android_external_strace,cuviper\/strace,cuviper\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/unix-yy-connect.awk\n+++ tests\/unix-yy-connect.awk\n@@ -5,7 +5,7 @@\n \n   r_i = \"[1-9][0-9]*\"\n   r_socket = \"^socket\\\\(PF_(LOCAL|UNIX|FILE), SOCK_STREAM, 0\\\\) += 1<UNIX:\\\\[(\" r_i \")\\\\]>$\"\n-  r_close_listen = \"^close\\\\(0<UNIX:[\" r_i \",\\\"\" addr \"\\\"]>\\\\) += 0$\"\n+  r_close_listen = \"^close\\\\(0<UNIX:\\\\[\" r_i \",\\\"\" addr \"\\\"\\\\]>\\\\) += 0$\"\n }\n \n NR == 1 {\n"}
{"commit":"54d18a279a01b4643bad4c98e13f365d7dc2cc75","subject":"Robustify mpers.awk against input containing index loops","message":"Robustify mpers.awk against input containing index loops\n\nMake mpers.awk check for potential index loops.  Such loops should not\nnormally happen, but mpers.awk will not go into infinite recursion if\nthey do.\n\n* mpers.awk (enter, leave): New functions.\n(what_is): Use them.\n","repos":"Saruta\/strace,cuviper\/strace,Saruta\/strace,Saruta\/strace,cuviper\/strace,Saruta\/strace,Distrotech\/strace,cuviper\/strace,Distrotech\/strace,cuviper\/strace,Distrotech\/strace,cuviper\/strace,Saruta\/strace,Distrotech\/strace,Distrotech\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mpers.awk\n+++ mpers.awk\n@@ -15,9 +15,26 @@\n \t}\n \treturn array_return\n }\n+function enter(array_idx)\n+{\n+\tif (called[array_idx]) {\n+\t\tprintf(\"%s: index loop detected:\", FILENAME) > \"\/dev\/stderr\"\n+\t\tfor (item in called)\n+\t\t\tprintf(\" %s\", item) > \"\/dev\/stderr\"\n+\t\tprint \"\" > \"\/dev\/stderr\"\n+\t\texit 1\n+\t}\n+\tcalled[array_idx] = 1\n+}\n+function leave(array_idx, to_return)\n+{\n+\tdelete called[array_idx]\n+\treturn to_return\n+}\n function what_is(what_idx, type_idx, special, item, \\\n \t\t location, prev_location, prev_returned_size)\n {\n+\tenter(what_idx)\n \tspecial = array_get(what_idx, \"special\")\n \tswitch (special) {\n \tcase \"base_type\":\n@@ -52,7 +69,7 @@\n \t\treturned_size = to_return * returned_size\n \t\tif (\"\" == to_return)\n \t\t\tto_return = \"00\"\n-\t\treturn to_return\n+\t\treturn leave(what_idx, to_return)\n \t\tbreak\n \tcase \"structure_type\":\n \t\tprint \"struct {\"\n@@ -107,18 +124,18 @@\n \t\tbreak\n \tcase \"typedef\":\n \t\ttype_idx = array_get(what_idx, \"type\")\n-\t\treturn what_is(type_idx)\n+\t\treturn leave(what_idx, what_is(type_idx))\n \t\tbreak\n \tcase \"member\":\n \t\ttype_idx = array_get(what_idx, \"type\")\n-\t\treturn what_is(type_idx)\n+\t\treturn leave(what_idx, what_is(type_idx))\n \t\tbreak\n \tdefault:\n \t\ttype_idx = array_get(what_idx, \"type\")\n \t\twhat_is(type_idx)\n \t\tbreak\n \t}\n-\treturn 0\n+\treturn leave(what_idx, 0)\n }\n BEGIN {\n \tprint \"#include <inttypes.h>\"\n"}
{"commit":"83fc0afabff1d147ec3ba352de466fdf5b5a8f5e","subject":"Improved \"Rearranged\" message","message":"Improved \"Rearranged\" message\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxProgramsFrom-webscraper.awk\n+++ getBritBoxProgramsFrom-webscraper.awk\n@@ -38,7 +38,7 @@\n \n     # Titles starting with \"The\" should not sort based on \"The\"\n     if (match (showTitle, \/^The \/)) {\n-        print \"==> Rearranging \" showTitle >> ERROR_FILE\n+        print \"==> Rearranged: \" showTitle >> ERROR_FILE\n         showTitle = substr(showTitle, 5) \", The\"\n     }\n \n"}
{"commit":"f44e5aaae9529204c44d9baca8489362c3808808","subject":"Don't use path as variable name in colortbl.awk","message":"Don't use path as variable name in colortbl.awk\n\nInstead of using `argv[1]` to name the variable, we now always call it\n`color_lib` in awk\/colortbl.awk. The reason for this, is in some build\nconfigurations, like the Visual Studio and CMake build, the full path to\nthe color_lib file is used. This resulted in the variable conaining\nslashes, etc. Since the rest of the code already assumes this variable is\ncalled `color_lib`, there is no problem with hard coding it in\ncolortbl.awk\n","repos":"ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- awk\/colortbl.awk\n+++ awk\/colortbl.awk\n@@ -35,7 +35,7 @@\n \tv = v * 255.0;\n }\n \n-BEGIN\t{ s = ARGV[1]; gsub(\"\\\\.\",\"_\",s); printf(\"static hsvrgbacolor_t %s[] = {\\n\",s); }\n+BEGIN\t{ gsub(\"\\\\.\",\"_\",s); printf(\"static hsvrgbacolor_t color_lib[] = {\\n\",s); }\n \/^$\/\t{ next; }\n \/^#\/\t{ next; }\n \t\t{\n"}
{"commit":"48f757daade79b9f4abdc7286e2de8aeafb9087a","subject":"awk: add seq and string?","message":"awk: add seq and string?\n\nIssue #166\n","repos":"alantsev\/mal,hterkelsen\/mal,0gajun\/mal,0gajun\/mal,0gajun\/mal,hterkelsen\/mal,0gajun\/mal,foresterre\/mal,jwalsh\/mal,jwalsh\/mal,mpwillson\/mal,SawyerHood\/mal,jwalsh\/mal,SawyerHood\/mal,jwalsh\/mal,alantsev\/mal,DomBlack\/mal,jwalsh\/mal,SawyerHood\/mal,hterkelsen\/mal,SawyerHood\/mal,DomBlack\/mal,0gajun\/mal,0gajun\/mal,hterkelsen\/mal,DomBlack\/mal,mpwillson\/mal,DomBlack\/mal,hterkelsen\/mal,alantsev\/mal,jwalsh\/mal,mpwillson\/mal,foresterre\/mal,hterkelsen\/mal,SawyerHood\/mal,DomBlack\/mal,foresterre\/mal,alantsev\/mal,foresterre\/mal,alantsev\/mal,jwalsh\/mal,foresterre\/mal,SawyerHood\/mal,0gajun\/mal,DomBlack\/mal,SawyerHood\/mal,mpwillson\/mal,DomBlack\/mal,DomBlack\/mal,DomBlack\/mal,DomBlack\/mal,foresterre\/mal,mpwillson\/mal,jwalsh\/mal,jwalsh\/mal,DomBlack\/mal,0gajun\/mal,0gajun\/mal,jwalsh\/mal,0gajun\/mal,0gajun\/mal,mpwillson\/mal,joncol\/mal,hterkelsen\/mal,DomBlack\/mal,hterkelsen\/mal,foresterre\/mal,jwalsh\/mal,joncol\/mal,hterkelsen\/mal,SawyerHood\/mal,0gajun\/mal,mpwillson\/mal,0gajun\/mal,foresterre\/mal,DomBlack\/mal,SawyerHood\/mal,alantsev\/mal,DomBlack\/mal,foresterre\/mal,mpwillson\/mal,alantsev\/mal,jwalsh\/mal,0gajun\/mal,hterkelsen\/mal,alantsev\/mal,0gajun\/mal,0gajun\/mal,DomBlack\/mal,foresterre\/mal,hterkelsen\/mal,mpwillson\/mal,SawyerHood\/mal,hterkelsen\/mal,0gajun\/mal,hterkelsen\/mal,alantsev\/mal,mpwillson\/mal,SawyerHood\/mal,alantsev\/mal,SawyerHood\/mal,mpwillson\/mal,DomBlack\/mal,mpwillson\/mal,alantsev\/mal,foresterre\/mal,jwalsh\/mal,foresterre\/mal,foresterre\/mal,hterkelsen\/mal,jwalsh\/mal,foresterre\/mal,mpwillson\/mal,SawyerHood\/mal,hterkelsen\/mal,hterkelsen\/mal,alantsev\/mal,DomBlack\/mal,jwalsh\/mal,SawyerHood\/mal,foresterre\/mal,alantsev\/mal,mpwillson\/mal,DomBlack\/mal,SawyerHood\/mal,DomBlack\/mal,hterkelsen\/mal,foresterre\/mal,jwalsh\/mal,alantsev\/mal,jwalsh\/mal,DomBlack\/mal,0gajun\/mal,SawyerHood\/mal,SawyerHood\/mal,SawyerHood\/mal,hterkelsen\/mal,hterkelsen\/mal,alantsev\/mal,0gajun\/mal,joncol\/mal,alantsev\/mal,alantsev\/mal,0gajun\/mal,foresterre\/mal,DomBlack\/mal","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- awk\/core.awk\n+++ awk\/core.awk\n@@ -74,6 +74,14 @@\n \t\treturn \"!\\\"Invalid argument length for builtin function 'false?'. Expects exactly 1 argument, supplied \" (types_heap[idx][\"len\"] - 1) \".\"\n \t}\n \treturn types_heap[idx][1] == \"#false\" ? \"#true\" : \"#false\"\n+}\n+\n+function core_stringp(idx)\n+{\n+\tif (types_heap[idx][\"len\"] != 2) {\n+\t\treturn \"!\\\"Invalid argument length for builtin function 'string?'. Expects exactly 1 argument, supplied \" (types_heap[idx][\"len\"] - 1) \".\"\n+\t}\n+\treturn types_heap[idx][1] ~ \/^\"\/ ? \"#true\" : \"#false\"\n }\n \n function core_symbol(idx,    str)\n@@ -821,6 +829,44 @@\n \treturn substr(lst, 1, 1) new_idx\n }\n \n+function core_seq(idx,     obj, obj_idx, new_idx, i, len, chars)\n+{\n+\tif (types_heap[idx][\"len\"] != 2) {\n+\t\treturn \"!\\\"Invalid argument length for builtin function 'seq'. Expects exactly 1 argument, supplied \" (types_heap[idx][\"len\"] - 1) \".\"\n+\t}\n+\tobj = types_heap[idx][1]\n+\tif (obj ~ \/^[(]\/) {\n+\t\tif (types_heap[substr(obj, 2)][\"len\"] == 0) {\n+\t\t\treturn \"#nil\"\n+\t\t}\n+\t\treturn types_addref(obj)\n+\t} else if (obj ~ \/^\\[\/) {\n+\t\tobj_idx = substr(obj, 2)\n+\t\tlen = types_heap[obj_idx][\"len\"]\n+\t\tif (len == 0) { return \"#nil\" }\n+\t\tnew_idx = types_allocate()\n+\t\tfor (i = 0; i < len; ++i) {\n+\t\t\ttypes_addref(types_heap[new_idx][i] = types_heap[obj_idx][i])\n+\t\t}\n+\t\ttypes_heap[new_idx][\"len\"] = len\n+\t\treturn \"(\" new_idx\n+\t} else if (obj ~ \/^\"\/) {\n+\t\tobj_idx = substr(obj, 2)\n+\t\tlen = length(obj_idx)\n+\t\tif (len == 0) { return \"#nil\" }\n+\t\tnew_idx = types_allocate()\n+\t\tsplit(obj_idx, chars, \"\")\n+\t\tfor (i = 0; i <= len; ++i) {\n+\t\t\ttypes_heap[new_idx][i] = \"\\\"\" chars[i+1]\n+\t\t}\n+\t\ttypes_heap[new_idx][\"len\"] = len\n+\t\treturn \"(\" new_idx\n+\t} else if (obj == \"#nil\") {\n+\t\treturn \"#nil\"\n+\t} else {\n+\t\treturn \"!\\\"seq: called on non-sequence\"\n+\t}\n+}\n \n \n function core_meta(idx,    obj, obj_idx)\n@@ -977,6 +1023,7 @@\n \tcore_ns[\"'nil?\"] = \"&core_nilp\"\n \tcore_ns[\"'true?\"] = \"&core_truep\"\n \tcore_ns[\"'false?\"] = \"&core_falsep\"\n+\tcore_ns[\"'string?\"] = \"&core_stringp\"\n \tcore_ns[\"'symbol\"] = \"&core_symbol\"\n \tcore_ns[\"'symbol?\"] = \"&core_symbolp\"\n \tcore_ns[\"'keyword\"] = \"&core_keyword\"\n@@ -1025,6 +1072,7 @@\n \tcore_ns[\"'map\"] = \"&core_map\"\n \n \tcore_ns[\"'conj\"] = \"&core_conj\"\n+\tcore_ns[\"'seq\"] = \"&core_seq\"\n \n \tcore_ns[\"'meta\"] = \"&core_meta\"\n \tcore_ns[\"'with-meta\"] = \"&core_with_meta\"\n"}
{"commit":"41457b0893a3cb1076ce1528e04c67696824df15","subject":"Malformed (Sm 1 Ep 1) should be (Sn 1 Ep 1)","message":"Malformed (Sm 1 Ep 1) should be (Sn 1 Ep 1)\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -212,9 +212,11 @@\n     # and ones missing the second letter (Sn 1 E 1), (S1 E1), or wrong second letter (Sm 1 Ep 1)\n     if (match (episodeTitle,\\\n         \/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]{1,2}[ ]+[Ee][Pp]*[ ]*[[:digit:]]{1,3}[[:space:]]*\\)\/))  {\n-        sub (\/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]{1,2}[ ]+[Ee][Pp]*[ ]*[[:digit:]]{1,3}[[:space:]]*\\)\/,\\\n-             \"\",episodeTitle)\n-        # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n+            if (episodeTitle ~ \/\\(Sm \/)\n+                printf (\"==> Malformed Sn in \\\"%s: %s\\\"\\n\", showTitle, episodeTitle) >> ERRORS\n+            sub (\/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]{1,2}[ ]+[Ee][Pp]*[ ]*[[:digit:]]{1,3}[[:space:]]*\\)\/,\\\n+                \"\",episodeTitle)\n+            # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n     }\n     #\n     # Default episodeType to \"E\"\n"}
{"commit":"52c648d0cb17b47460992278da5abe0f8e297166","subject":"Remove string from \\\/(in regex, \/ in plain text) from regex lines.","message":"Remove string from \\\/(in regex, \/ in plain text) from regex lines.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -35,9 +35,10 @@\n \t\t\textract_regex(expanded_line, original_line)\n \t\t}\n \t} else {\n-\t\tsub(\/.*:\\\\\\\/\\\\\\\/\/, \"\", line)    # remove everything till :\\\/\\\/\n+\t\tsub(\/.*:\\\\\\\/\\\\\\\/\/, \"\", line)    # remove everything till :\\\/\\\/ in regex, :\/\/ in plain text, such as http:\/\/ https:\/\/\n \t\tgsub(\/\\([^\\)]+\\)\\*?\/, \"\", line) # remove (...)*? such as ([^\\\/]+\\.)\n \t\tgsub(\/\\[.*\\]\\+\/, \"\", line)      # remove [...]\n+\t\tsub(\/\\\\\\\/.*\/, \"\", line)         # remove everything from \\\/ in regex, \/ in plaint text\n \t\tgsub(\/\\\\\\.\/, \".\", line)         # replace \\. to .\n \t\textract(line, original_line)\n \t}\n"}
{"commit":"b44b0b4c26946b952c5bb2d9453fb750b53ec0de","subject":"Translate: unquote user-name for basic authentication (per #193)","message":"Translate: unquote user-name for basic authentication (per #193)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -101,7 +101,7 @@\n     if (HttpAuthUser && HttpAuthPass)\n         # TODO: digest auth\n         header = header \"Proxy-Authorization: Basic \"   \\\n-            base64(HttpAuthUser \":\" HttpAuthPass) \"\\n\"\n+            base64(unquote(HttpAuthUser) \":\" HttpAuthPass) \"\\n\"\n \n     content = NULLSTR; isBody = 0\n     print header |& HttpService\n"}
{"commit":"48b835a49068d013a724f6c9d4128739ae408a3b","subject":"update","message":"update\n","repos":"GameGophers\/tools,gonet2\/tools,gonet2\/tools,GameGophers\/tools","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- proto_scripts\/client\/proto.awk\n+++ proto_scripts\/client\/proto.awk\n@@ -95,23 +95,23 @@\n \t\t\t\n \t\t} else if (a[3] in READERS) {\t## primitives\n \t\t\t\n-\t\t\tret = ret \"\\tshort narr = reader.ReadU16();\"\n-\t\t\tret = ret \"\\tfor (int i = 0; i < narr; i++) {\"\n-\t\t\tret = ret \"\\t\\tv := reader.\"READERS[a[3]]\"();\"\n-\t\t\tret = ret \"\\t\\ttbl.\"a[1]\" = append(tbl.\"a[1]\", v);\"\n-\t\t\tret = ret \"\\t}\\n\"\n+\t\t\tret = ret \"\\tshort narr = reader.ReadU16();\\n\"\n+\t\t\tret = ret \"\\t\\tfor (int i = 0; i < narr; i++) {\\n\"\n+\t\t\tret = ret \"\\t\\t\\ttbl.\"a[1]\"[i] =reader.\"READERS[a[3]]\"();\\n\"\n+\t\t\t#ret = ret \"\\t\\t\\ttbl.\"a[1]\"[i] =  v;\\n\"\n+\t\t\tret = ret \"\\t\\t}\"\n \t\t\t\n \t\t} else {\t## struct\n \t\t\t\n-\t\t\tret = ret \"\\tshort narr = reader.ReadU16();\"\n-\t\t\tret = ret \"\\ttbl.\"a[1]\" = new \"a[3]\"[narr];\"\n-\t\t\tret = ret \"\\tfor (int i = 0; i < narr; i++){\"\n-\t\t\tret = ret \"\\t\\ttbl.\"a[1]\"[i] = PKT_\"a[3]\"(reader);\"\n-\t\t\tret = ret \"\\t}\\n\"\n+\t\t\tret = ret \"\\tshort narr = reader.ReadU16();\\n\"\n+\t\t\tret = ret \"\\t\\ttbl.\"a[1]\" = new \"a[3]\"[narr];\\n\"\n+\t\t\tret = ret \"\\t\\tfor (int i = 0; i < narr; i++){\\n\"\n+\t\t\tret = ret \"\\t\\t\\ttbl.\"a[1]\"[i] = \"a[3]\".Unpack(reader);\\n\"\n+\t\t\tret = ret \"\\t\\t}\"\n \t\t\n \t\t}\n \t} else if (!(a[2] in READERS)) {\n-\t\tret = ret \"\\t\\ttbl.\"a[1]\"  = new \"a[2]\"(reader);\"\n+\t\tret = ret \"\\ttbl.\"a[1]\"  = \"a[2]\".UnPack(reader);\"\n \t} else {\n \t\tret = ret \"\\ttbl.\"a[1]\"  = reader.\" READERS[a[2]] \"();\"\n \t}\n"}
{"commit":"d6cb8b833b876e67bc1dfed7fa1e41c1c08b25c1","subject":"tweak dump, idump","message":"tweak dump, idump\n","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -1201,9 +1201,21 @@\n \n ## debugging #########\n \n-function dump(array,  prefix,   i) {\n+function dump(array,  prefix,   i,j) {\n     for (i in array) {\n-        printf \"%s[%s]=<%s>\\n\", prefix, i, array[i]\n+        j = i\n+        gsub(\/\\\\\/, \"\\\\134\", j)\n+        gsub(\/,\/, \"\\\\054\", j)\n+        gsub(\/\\t\/, \"\\\\t\", j)\n+        gsub(\/\\n\/, \"\\\\n\", j)\n+        gsub(\/\\r\/, \"\\\\r\", j)\n+        gsub(\/\\b\/, \"\\\\b\", j)\n+        gsub(\/\\f\/, \"\\\\f\", j)\n+#         gsub(\/\\a\/, \"\\\\a\", j)\n+#         gsub(\/\\v\/, \"\\\\v\", j)\n+        gsub(SUBSEP, \",\", j)\n+        gsub(\/[\\001-\\037]\/, \"\", j) # TODO: convert to octal?\n+        printf \"%s[%s]=<%s>\\n\", prefix, j, array[i]\n     }\n }\n \n@@ -1340,8 +1352,8 @@\n     }\n     for (m in options) {\n         if (options[m] ~ \/^[:+?*]\/) {\n-            if (k = index(options[m], SUBSEP))\n-                options[m] = substr(options[m], k+1)\n+            if (j = index(options[m], SUBSEP))\n+                options[m] = substr(options[m], j+1)\n             else\n                 delete options[m]\n         } else if (!(options[m]))\n"}
{"commit":"a9a0a153cc62f199f31990a92ef20ad89508b755","subject":"POSIX { and delete TODO: still not POSIX compatible due to \"match()\"","message":"POSIX { and delete\nTODO: still not POSIX compatible due to \"match()\"\n","repos":"LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -2,7 +2,6 @@\n # vim:ts=4:sw=4\n BEGIN {\n \tbrace = 0;\n-\tdelete buffer;\n \tbuffer_len = 0;\n }\n \/^}.*;\/ {\n@@ -33,14 +32,16 @@\n \t\tprintf \"define(`COUNTOF_%s', `%s')\\n\", instruct, i;\n \t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, elm;\n \t\tprint \"\\n\";\n-\t\tdelete buffer;\n+\t\tfor (i in buffer) {\n+\t\t\tdelete buffer[i];\n+\t\t}\n \t\tbuffer_len = 0;\n \t\tinstruct = 0;\n \t}\n \tnext;\n }\n \n-\/.{\/ {\n+\/.\\{\/ {\n \tbrace = brace + 1;\n }\n \/.}\/ {\n@@ -75,13 +76,13 @@\n \ttypedefs[$3] = $4;\n \tnext;\n }\n-\/^typedef struct .*{\/ {\n+\/^typedef struct .*\\{\/ {\n \tbrace = 1;\n \tinstruct = 1;\n \tnext;\n }\n \n-\/^struct .*{\/ {\n+\/^struct .*\\{\/ {\n \tinstruct = $2;\n \tbrace = 1;\n \tnext;\n"}
{"commit":"23bab07bb615a1f67732134cd875ebae48a5cd9a","subject":"aux\/ematch.awk: add bug-compatibility with Busybox awk","message":"aux\/ematch.awk: add bug-compatibility with Busybox awk\n\nThe Busybox version of awk won't match backslash-escaped characters\nin bracket expressions passed from variables, as awk should.\n\nRef.: https:\/\/bugs.busybox.net\/show_bug.cgi?id=12531\n\nTo avoid breaking bug-compatibility with Solaris awk, we need a\nconditional workaround, so add another test to detectclass() and\nuse the result if\/when translating character classes to ASCII.\n","repos":"modernish\/modernish","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- lib\/modernish\/aux\/ematch.awk\n+++ lib\/modernish\/aux\/ematch.awk\n@@ -63,6 +63,13 @@\n \t# Ref.: https:\/\/github.com\/onetrueawk\/awk\/issues\/45\n \tif (hasclass && match(mylocale(), \/[Uu][Tt][Ff]-?8\/))\n \t\thasclass = match(\"\u00e9\u00ef\u00d1\", \/^[[:alpha:]][[:alpha:]][[:alpha:]]$\/);\n+\n+\t# Detect bug with bracket expressions on Busybox awk: it doesn't match backslashed chars.\n+\t# Due to another bug, Solaris awk requires the backslash-escaping that Busybox awk won't\n+\t# match, so we need a conditional workaround when translating character classes.\n+\t# Ref.: https:\/\/bugs.busybox.net\/show_bug.cgi?id=12531\n+\tif (!hasclass)\n+\t\tbug_brexpr = !match(\"\\t\", \"^\\\\t$\");\n }\n \n # The terms 'branch', 'piece', 'atom' and 'bound' are used as defined\n@@ -134,24 +141,24 @@\n \t\t\t\t\t\t} else if (j == \":alpha:\") {\n \t\t\t\t\t\t\tj = \"A-Za-z\";\n \t\t\t\t\t\t} else if (j == \":blank:\") {\n-\t\t\t\t\t\t\tj = \" \\\\t\";\n+\t\t\t\t\t\t\tif (bug_brexpr) j = \" \\t\"; else j = \" \\\\t\";\n \t\t\t\t\t\t} else if (j == \":cntrl:\") {\n-\t\t\t\t\t\t\tj = \"\\\\1-\\\\37\\\\177\";\n+\t\t\t\t\t\t\tif (bug_brexpr) j = \"\\1-\\37\\177\"; else j = \"\\\\1-\\\\37\\\\177\";\n \t\t\t\t\t\t} else if (j == \":digit:\") {\n \t\t\t\t\t\t\tj = \"0-9\";\n \t\t\t\t\t\t} else if (j == \":graph:\") {\n-\t\t\t\t\t\t\tj = \"\\\\41-\\\\176\";\n+\t\t\t\t\t\t\tif (bug_brexpr) j = \"\\41-\\176\"; else j = \"\\\\41-\\\\176\";\n \t\t\t\t\t\t} else if (j == \":lower:\") {\n \t\t\t\t\t\t\tj = \"a-z\";\n \t\t\t\t\t\t} else if (j == \":print:\") {\n-\t\t\t\t\t\t\tj = \"\\\\40-\\\\176\";\n+\t\t\t\t\t\t\tif (bug_brexpr) j = \"\\40-\\176\"; else j = \"\\\\40-\\\\176\";\n \t\t\t\t\t\t} else if (j == \":punct:\") {\n \t\t\t\t\t\t\thavepunct++;\n \t\t\t\t\t\t\tj = \"\";\n \t\t\t\t\t\t} else if (j == \":space:\") {\n \t\t\t\t\t\t\t# onetrueawk does not support \"\\v\", so use \"\\13\".\n \t\t\t\t\t\t\t# https:\/\/github.com\/onetrueawk\/awk\/pull\/44\n-\t\t\t\t\t\t\tj = \" \\\\t\\\\r\\\\n\\\\13\\\\f\";\n+\t\t\t\t\t\t\tif (bug_brexpr) j = \" \\t\\r\\n\\13\\f\"; else j = \" \\\\t\\\\r\\\\n\\\\13\\\\f\";\n \t\t\t\t\t\t} else if (j == \":upper:\") {\n \t\t\t\t\t\t\tj = \"A-Z\";\n \t\t\t\t\t\t} else if (j == \":xdigit:\") {\n"}
{"commit":"59408778d362cee1be87943cb2bef412cbe643a4","subject":"Add TOLOWER to lexicon.awk","message":"Add TOLOWER to lexicon.awk\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lexicon.awk\n+++ lexicon.awk\n@@ -4,6 +4,7 @@\n }\n {\n     for (i = 1; i <= split($3, words, \", \"); i++) {\n+        if (TOLOWER) words[i] = tolower(words[i]);\n         print words[i] | \"sort --parallel=$(nproc) -S1G -us\";\n     }\n }\n"}
{"commit":"92ba6b4fa308f886e831f3b068672695f69c6e80","subject":"Commons: add append()","message":"Commons: add append()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -1,4 +1,9 @@\n #!\/usr\/bin\/gawk -f\n+\n+# Append an element into an array (zero-based).\n+function append(array, element) {\n+    array[length(array)] = element\n+}\n \n # Return an element if it belongs to the array;\n # Otherwise, return a null string.\n"}
{"commit":"87ff804f669d9fd02504617fd4b5313b74c27934","subject":"TestParser: test parseJson()","message":"TestParser: test parseJson()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestParser.awk\n+++ test\/TestParser.awk\n@@ -71,6 +71,42 @@\n         assertEqual(tokens, expected)\n     }\n \n+    T(\"parseJson()\", 5)\n+    {\n+        delete tokens; delete ast; delete expected\n+        tokenize(tokens, \"0\")\n+        parseJson(ast, tokens)\n+        expected[0] = \"0\"\n+        assertEqual(ast, expected)\n+\n+        delete tokens; delete ast; delete expected\n+        tokenize(tokens, \"null\")\n+        parseJson(ast, tokens)\n+        expected[0] = \"null\"\n+        assertEqual(ast, expected)\n+\n+        delete tokens; delete ast; delete expected\n+        tokenize(tokens, \"[42]\")\n+        parseJson(ast, tokens)\n+        expected[0 SUBSEP 0] = \"42\"\n+        assertEqual(ast, expected)\n+\n+        delete tokens; delete ast; delete expected\n+        tokenize(tokens, \"[42, \\\"answer\\\", null]\")\n+        parseJson(ast, tokens)\n+        expected[0 SUBSEP 0] = \"42\"\n+        expected[0 SUBSEP 1] = \"\\\"answer\\\"\"\n+        expected[0 SUBSEP 2] = \"null\"\n+        assertEqual(ast, expected)\n+\n+        delete tokens; delete ast; delete expected\n+        tokenize(tokens, \"{\\\"answer\\\": [42], \\\"Answer\\\": null}\")\n+        parseJson(ast, tokens)\n+        expected[0 SUBSEP \"answer\" SUBSEP 0] = 42\n+        expected[0 SUBSEP \"Answer\"] = \"null\"\n+        assertEqual(ast, expected)\n+    }\n+\n     T(\"parseList()\", 1)\n     {\n         delete tokens; delete ast; delete expected\n"}
{"commit":"11f43245feb35dc49086875dcb541fe0f0192bbf","subject":"include param to reduce visual clutter when counts have no meaning","message":"include param to reduce visual clutter when counts have no meaning\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/deltadot.awk\n+++ scripts\/deltadot.awk\n@@ -1,12 +1,15 @@\n #! \/usr\/bin\/awk -f\n-#deltadot.awk <encumbant.gv> <candidate.gv>\n+# deltadot.awk <encumbant.gv> <candidate.gv>\n # Use to illuminate the commonality and differences between dot files created\n # by 'ntriples2dot.awk' but might work for other dot files\n #\n+# To ignore counts\n+# deltadot.awk -v\"NOCOUNTS=1\" <encumbant.gv> <candidate.gv>\n #\n-# expects two graphviz dot digraph files by convention \"old\"  then \"new\"\n+# expects two graphviz dot digraph files;\n+# by convention \"old\"  then \"new\"\n # for color to mean;  orange lost in \"new\" and blue gained in \"new\"\n-# with simple node names ('C' variable naming conventions)\n+# with simple node names ('C-lang' variable naming conventions)\n # edge's unadorned predicate label\n # concludes with a space then count in parens\n #\n@@ -17,6 +20,11 @@\n # if an edge is common between the files\n # then change its \"count\" to the difference. (second minus first)\n # otherwise leave count as is\n+# UNLESS there is a parameter NOCOUNTS not equal to 0\n+# in which case set all counts the same\n+# this is for use when the counts have no meaning\n+# such as with random samples\n+\n \n # associate the count with an edge\n function parse(str, arr){\n@@ -29,6 +37,7 @@\n \tsplit(pth, a, \"\/\")\n \treturn substr(a[length(a)], 1, index(a[length(a)], \".\")-1)\n }\n+BEGIN { NOCOUNTS=0}\n \n # collect the edges\n NR==FNR && \/ -> \/ {\n@@ -45,7 +54,10 @@\n \t\tif(!(e in edge2)) edges[e \"(\" edge1[e] \")\\\", color=\\\"orange\\\"];\"];\n \t\telse {\n \t\t\t# TODO flag losses?\n-\t\t\tdiff =  edge2[e] - edge1[e];\n+\t\t\tif(NOCOUNTS)\n+\t\t\t    diff = \"\"\n+\t\t\telse\n+\t\t\t    diff = edge2[e] - edge1[e];\n \t\t\t#if(diff < 0) diff = \"<b>\" diff \"<\/b>\";\n \t\t\tedges[e \"(\" diff \")\\\", color=\\\"black\\\"];\"]\n \t\t\tdelete edge2[e]\n"}
{"commit":"333138410ef2b93b6f126cac12ca832fd3945ea9","subject":"adding a newline at the end of the file, I'm getting an error otherwise","message":"adding a newline at the end of the file, I'm getting an\nerror otherwise\n\n","repos":"janissl\/languagetool,lopescan\/languagetool,jimregan\/languagetool,meg0man\/languagetool,jimregan\/languagetool,jimregan\/languagetool,janissl\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,lopescan\/languagetool,meg0man\/languagetool,lopescan\/languagetool,meg0man\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,lopescan\/languagetool,janissl\/languagetool,janissl\/languagetool,janissl\/languagetool,lopescan\/languagetool","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- trunk\/languagetool\/tools\/posi.awk\n+++ trunk\/languagetool\/tools\/posi.awk\n@@ -29,4 +29,5 @@\n \t\t     }\n \t\t\t\tprint out;\n \t\t\t  bb[1] = \"\";\n-\t\t\t}+\t\t\t}\n+\n"}
{"commit":"408453037417ea7e69cab62fdc3b6e023767f10f","subject":"Update dxfinfo.awk","message":"Update dxfinfo.awk","repos":"OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- english\/data_processing\/code\/dxfinfo.awk\n+++ english\/data_processing\/code\/dxfinfo.awk\n@@ -22,6 +22,6 @@\n END {\t# print out result\n \tfor (i in dxf) {\t# for each layer,entity pairs\n \t\tsplit(i, w, SUBSEP);\t# separate layer and entity in index into w array\n-\t\tprint w[1], w[2], dxf[i];\t# print layer, entity anc count\n+\t\tprint w[1], w[2], dxf[i];\t# print layer, entity and count\n \t}\n }\n"}
{"commit":"fad176db7de4735b9aa5a1073013ed5d14c27edc","subject":"Update year for gln testing.","message":"Update year for gln testing.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@39483 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if either status is _not_ manifest or ending year is gt or eq to contract year\n-  current_year = 2013\n+  current_year = 2014\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"212f8f412dc969aae5184a7bf59f853b12e1f965","subject":"Languages: update URLs for getDetails","message":"Languages: update URLs for getDetails\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -2026,10 +2026,10 @@\n         sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", script))    \\\n         sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code)))       \\\n         sprintf(\"%-22s%s\\n\", \"ISO 639-3\", ansi(\"bold\", iso))            \\\n-        sprintf(\"%-22s%s\\n\", \"SIL\", ansi(\"bold\", \"http:\/\/www-01.sil.org\/iso639-3\/documentation.asp?id=\" iso)) \\\n+        sprintf(\"%-22s%s\\n\", \"SIL\", ansi(\"bold\", \"https:\/\/iso639-3.sil.org\/code\/\" iso)) \\\n         sprintf(\"%-22s%s\\n\", \"Glottolog\", getGlotto(code) ?\n-                ansi(\"bold\", \"http:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code)) : \"\") \\\n-        sprintf(\"%-22s%s\", \"Wikipedia\", ansi(\"bold\", \"http:\/\/en.wikipedia.org\/wiki\/\" language))\n+                ansi(\"bold\", \"https:\/\/glottolog.org\/resource\/languoid\/id\/\" getGlotto(code)) : \"\") \\\n+        sprintf(\"%-22s%s\", \"Wikipedia\", ansi(\"bold\", \"https:\/\/en.wikipedia.org\/wiki\/ISO_639:\" iso))\n }\n \n # Add \/slashes\/ for IPA phonemic notations and (parentheses) for others.\n"}
{"commit":"fa6c47f5b5b58a1622dff8882e966784882d9735","subject":"Escape '(' and ')' in regexp.","message":"Escape '(' and ')' in regexp.\n","repos":"xmirror\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- LANGNAME.awk\n+++ LANGNAME.awk\n@@ -110,7 +110,7 @@\n \t\tgsub(\", autres langues$\", \"\", name);\n \t\tgsub(\", autres$\", \"\", name);\n \t\tgsub(\", langues$\", \"\", name);\n-\t\tgsub(\", langues (famille)$\", \"\", name);\n+\t\tgsub(\", langues \\\\(famille\\\\)$\", \"\", name);\n \t\tif (name ~ \/\\(.*[0-9].*\\)$\/)\n \t\t    gsub(\" \\\\([^)]*\\\\)$\", \"\", name);\n \t\tif (name ~ \", \") {\n"}
{"commit":"c3001bed10e58c36c82c45586f0c321b26f4183d","subject":"fixes #340","message":"fixes #340\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -212,6 +212,7 @@\n \n { # length(conversionID) {\n    cellValue=$0;\n+   gsub(\/\"\/,\"\\\\\\\"\",cellValue)\n \n    # If we know there is no header, we can give an example value.\n    headerOrExample = (length(header) && header <= 0) ? \"conversion:eg \" : \"ov:csvHeader  \"; \n"}
{"commit":"4a3a9009827737b767f94d2ff547334934299204","subject":"Translators\/BingTranslator: update (close #319, #406)","message":"Translators\/BingTranslator: update (close #319, #406)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -2,7 +2,7 @@\n # BingTranslator.awk                                               #\n ####################################################################\n #\n-# Last Updated: 25 Jul 2019\n+# Last Updated: 8 Jun 2022\n BEGIN { provides(\"bing\") }\n \n function bingInit() {\n@@ -11,9 +11,9 @@\n     HttpPort = 80\n }\n \n-# [OBSOLETE?] Retrieve the Cookie and set IG.\n-function bingSetIG(    content, cookie, group, header, isBody,\n-                       url, status, location) {\n+# Set IG, IID, and BingTokenKey (a URL-encoded string containing token and key).\n+function bingSetup(    ast, content, cookie, group, header, isBody, key,\n+                       location, status, token, tokens, url) {\n     url = HttpPathPrefix \"\/translator\"\n \n     header = \"GET \" url \" HTTP\/1.1\\r\\n\"                                 \\\n@@ -46,13 +46,36 @@\n     if ((status == \"301\" || status == \"302\") && location)\n         content = curl(location)\n     # FIXME: cookie\n-\n     Cookie = cookie\n+\n     match(content, \/IG:\"([^\"]+)\"\/, group)\n     if (group[1]) {\n         IG = group[1]\n+        l(IG, \"IG\")\n     } else {\n-        e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n+        e(\"[ERROR] Failed to extract IG.\")\n+        exit 1\n+    }\n+\n+    match(content, \/data-iid=\"([^\"]+)\"\/, group)\n+    if (group[1]) {\n+        IID = group[1]\n+        l(IID, \"IID\")\n+    } else {\n+        e(\"[ERROR] Failed to extract IID.\")\n+        exit 1\n+    }\n+\n+    match(content, \/params_RichTranslateHelper = ([^;]+);\/, group)\n+    if (group[1]) {\n+        tokenize(tokens, group[1])\n+        parseJson(ast, tokens)\n+        key = ast[0 SUBSEP 0]\n+        token = unparameterize(ast[0 SUBSEP 1])\n+        BingTokenKey = sprintf(\"&token=%s&key=%s\", quote(token), quote(key))\n+        l(BingTokenKey, \"BingTokenKey\")\n+    } else {\n+        e(\"[ERROR] Failed to extract token & key.\")\n         exit 1\n     }\n }\n@@ -151,7 +174,7 @@\n     #else if (type == \"transliterate\")\n     #    return HttpPathPrefix \"\/ttransliteratev3\"\n     else # type == \"translate\"\n-        return HttpPathPrefix \"\/ttranslatev3\"\n+        return HttpPathPrefix \"\/ttranslatev3\" sprintf(\"?IG=%s&IID=%s\", IG, IID)\n }\n \n function bingPostRequestContentType(text, sl, tl, hl, type) {\n@@ -168,7 +191,7 @@\n     #else if (type == \"transliterate\")\n     #    return \"&text=\" quote(text) \"&language=\" sl \"&toScript=\" \"latn\"\n     else # type == \"translate\"\n-        return \"&text=\" quote(text) \"&fromLang=\" sl \"&to=\" tl\n+        return \"&text=\" quote(text) \"&fromLang=\" sl \"&to=\" tl BingTokenKey\n }\n \n # Get the translation of a string.\n@@ -199,7 +222,7 @@\n     _tl = getCode(tl); if (!_tl) _tl = tl\n     _hl = getCode(hl); if (!_hl) _hl = hl\n \n-    #bingSetIG() # set IG (no longer needed)\n+    bingSetup()\n \n     # Hot-patches for Bing's own translator language codes\n     # See: <https:\/\/msdn.microsoft.com\/en-us\/library\/hh456380.aspx>\n"}
{"commit":"57a566f9d62aa0f7c34d0f48bcbe2c1dc5cc9f4f","subject":"Fixed more site errors","message":"Fixed more site errors\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -265,6 +265,14 @@\n     # A Night in ... is missing episode numbers\n     if (shortEpisodeURL ~ \/season:1\\\/videos\\\/a-night-in\/)\n         snEpisodeNumber = 1\n+    # Wallander episode 6\n+    if (shortEpisodeURL ~ \/\\\/wallander\\\/season:1\\\/videos\\\/mastermind\/)\n+        snEpisodeNumber = 6\n+    # Bureau of Sexist Affairs confuses two episodes\n+    if (shortEpisodeURL ~ \/\\\/bureau-of-sexist-affairs\\\/season:1\\\/videos\\\/feminist-contradictions\/)\n+        snEpisodeNumber = 15\n+    if (shortEpisodeURL ~ \/\\\/bureau-of-sexist-affairs\\\/season:1\\\/videos\\\/violation-of-privacy\/)\n+        snEpisodeNumber = 16\n \n     # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n     # Handle normal (Sn 1 Ep 1) with variations in spacing and capitalization\n"}
{"commit":"b74f27ccc2720f304bb51c15029a5b64e3048e16","subject":"FIx bonus seasonNumbers that should be 1","message":"FIx bonus seasonNumbers that should be 1\n\ncryptoftears, newworlds & newtonslaw bonus episodes belong in season 1\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-showPages.awk\n+++ getAcornFrom-showPages.awk\n@@ -176,6 +176,13 @@\n     if (episodeURL ~ \/_cs\\\/\/)\n         episodeType = \"T\"\n     #\n+    # cryptoftears, newworlds & newtonslaw bonus seasonNumber should be 1\n+    if (episodeURL ~ \\\n+        \/\\\/cryptoftears\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/|\\\/newtonslaw\\\/bonus\\\/\/ \\\n+        && seasonNumber != 1) {\n+            printf (\"==> Changed S%02d to S01: \/%s\\n\", seasonNumber, shortEpisodeURL) >> ERRORS\n+        seasonNumber = 1\n+    }\n     # Wrap up this episode\n     # =HYPERLINK(\"https:\/\/acorn.tv\/1900island\/series1\/week-one\";\"1900 Island, S01E01, Week One\")\n     episodeLink = sprintf (\"=HYPERLINK(\\\"%s\\\";\\\"%s, %s%02d%s%02d, %s\\\"\\)\", episodeURL, showTitle,\n"}
{"commit":"dd66894223960641ebfc4f4272690e2221dc83db","subject":"Languages: mark as stable: Scots Gaelic","message":"Languages: mark as stable: Scots Gaelic\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -304,15 +304,14 @@\n     Locale[\"sm\"][\"glotto\"]             = \"samo1305\"\n     Locale[\"sm\"][\"script\"]             = \"Latn\"\n \n-    #? Scottish Gaelic\n-    Locale[\"gd\"][\"support\"]            = \"unstable\"\n-    Locale[\"gd\"][\"name\"]               = \"Scottish Gaelic\"\n+    # Scots Gaelic\n+    Locale[\"gd\"][\"name\"]               = \"Scots Gaelic\"\n     Locale[\"gd\"][\"endonym\"]            = \"G\u00e0idhlig\"\n-    #Locale[\"gd\"][\"translations-of\"]\n-    #Locale[\"gd\"][\"definitions-of\"]\n-    #Locale[\"gd\"][\"synonyms\"]\n-    #Locale[\"gd\"][\"examples\"]\n-    #Locale[\"gd\"][\"see-also\"]\n+    Locale[\"gd\"][\"translations-of\"]    = \"Eadar-theangachadh airson %s\"\n+    Locale[\"gd\"][\"definitions-of\"]     = \"Deifiniseanan airson %s\"\n+    Locale[\"gd\"][\"synonyms\"]           = \"Co-fhaclan\"\n+    Locale[\"gd\"][\"examples\"]           = \"Buill-eisimpleir\"\n+    Locale[\"gd\"][\"see-also\"]           = \"Faic na leanas cuideachd\"\n     Locale[\"gd\"][\"family\"]             = \"Indo-European\"\n     Locale[\"gd\"][\"iso\"]                = \"gla\"\n     Locale[\"gd\"][\"glotto\"]             = \"scot1245\"\n"}
{"commit":"4d06936685fda0c1d0a1d3176ffe96c7cf8925f9","subject":"Languages: update Guarani (Google support)","message":"Languages: update Guarani (Google support)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -519,6 +519,19 @@\n     Locale[\"el\"][\"glotto\"]             = \"mode1248\"\n     Locale[\"el\"][\"script\"]             = \"Grek\"\n \n+    # Guarani\n+    Locale[\"gn\"][\"name\"]               = \"Guarani\"\n+    Locale[\"gn\"][\"endonym\"]            = \"Ava\u00f1e'\u1ebd\"\n+    #Locale[\"gn\"][\"translations-of\"]\n+    #Locale[\"gn\"][\"definitions-of\"]\n+    #Locale[\"gn\"][\"synonyms\"]\n+    #Locale[\"gn\"][\"examples\"]\n+    #Locale[\"gn\"][\"see-also\"]\n+    Locale[\"gn\"][\"family\"]            = \"Tupian\"\n+    Locale[\"gn\"][\"iso\"]               = \"gug\"\n+    Locale[\"gn\"][\"glotto\"]            = \"para1311\"\n+    Locale[\"gn\"][\"script\"]            = \"Latn\"\n+\n     #31 Gujarati\n     Locale[\"gu\"][\"name\"]               = \"Gujarati\"\n     Locale[\"gu\"][\"endonym\"]            = \"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0\"\n@@ -1752,20 +1765,6 @@\n     Locale[\"fo\"][\"iso\"]                = \"fao\"\n     Locale[\"fo\"][\"glotto\"]             = \"faro1244\"\n     Locale[\"fo\"][\"script\"]             = \"Latn\"\n-\n-    #? Guarani\n-    Locale[\"gn\"][\"support\"]            = \"unstable\"\n-    Locale[\"gn\"][\"name\"]               = \"Guarani\"\n-    Locale[\"gn\"][\"endonym\"]            = \"Ava\u00f1e'\u1ebd\"\n-    #Locale[\"gn\"][\"translations-of\"]\n-    #Locale[\"gn\"][\"definitions-of\"]\n-    #Locale[\"gn\"][\"synonyms\"]\n-    #Locale[\"gn\"][\"examples\"]\n-    #Locale[\"gn\"][\"see-also\"]\n-    Locale[\"gn\"][\"family\"]             = \"Tupian\"\n-    Locale[\"gn\"][\"iso\"]                = \"grn\"\n-    Locale[\"gn\"][\"glotto\"]             = \"para1311\"\n-    Locale[\"gn\"][\"script\"]             = \"Latn\"\n \n     #? Hill Mari\n     Locale[\"mrj\"][\"support\"]           = \"yandex-only\"\n"}
{"commit":"e3447b502369f8e681a5ca51c447bb9441b7092c","subject":"support `most` as an alternative pager of `less` * fix Debian#762138 (https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=762138)","message":"support `most` as an alternative pager of `less`\n* fix Debian#762138 (https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=762138)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -83,7 +83,9 @@\n             if (ENVIRON[\"TRANS_MANPAGE\"])\n                 system(\"echo -E \\\"${TRANS_MANPAGE}\\\" | \" \\\n                        \"groff -Wall -mtty-char -mandoc -Tutf8 -Dutf8 -rLL=${COLUMNS}n -rLT=${COLUMNS}n | \" \\\n-                       \"less -P\\\"\\\\ \\\\Manual page \" Command \"(1) line %lt (press h for help or q to quit)\\\"\")\n+                       (system(\"most 2>\/dev\/null\") ?\n+                        \"less -s -P\\\"\\\\ \\\\Manual page \" Command \"(1) line %lt (press h for help or q to quit)\\\"\" :\n+                        \"most -Cs\"))\n             else\n                 print getHelp()\n             exit\n"}
{"commit":"ca2a98d2ade08ca44be605870f6de30ef065e45a","subject":"version 0.9.0","message":"version 0.9.0\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- metainfo.awk\n+++ metainfo.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n     Name        = \"Translate Shell\"\n     Description = \"Google Translate to serve as a command-line tool\"\n-    Version     = \"0.9-dev\"\n+    Version     = \"0.9.0\"\n     Command     = \"trans\"\n     EntryPoint  = \"translate.awk\"\n }\n"}
{"commit":"371a112e12ee0ff40824a1234f640f197c6faf01","subject":"usage comments corrected","message":"usage comments corrected\n","repos":"OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- english\/data_processing\/code\/dxfinfo.awk\n+++ english\/data_processing\/code\/dxfinfo.awk\n@@ -2,9 +2,10 @@\n # \n # statistics about entities and layers in a DXF file\n # Zoltan Siki siki.zoltan@epito.bme.hu\n-# usage: leltar.awk your_file.dxf\n+# usage: dxfinfo.awk your_file.dxf\n #\t\tor\n-#        gawk -f leltar.awk your_file.dxf > statistics.txt\n+#        gawk -f dxfinfo.awk your_file.dxf > statistics.txt\n+#        gawk -f dxfinfo.awk your_file.dxf | sort > statistics.txt\n \n BEGIN { # initialize variables\n \tlast = \"\"; entity = \"\"; layer = \"\";\n"}
{"commit":"b99d3814f572d05f677f280c8c4afd8603665f55","subject":"Languages: mark as stable: Xhosa","message":"Languages: mark as stable: Xhosa\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -440,15 +440,14 @@\n     Locale[\"fy\"][\"glotto\"]             = \"west2354\"\n     Locale[\"fy\"][\"script\"]             = \"Latn\"\n \n-    #? Xhosa\n-    Locale[\"xh\"][\"support\"]            = \"unstable\"\n+    # Xhosa\n     Locale[\"xh\"][\"name\"]               = \"Xhosa\"\n     Locale[\"xh\"][\"endonym\"]            = \"isiXhosa\"\n-    #Locale[\"xh\"][\"translations-of\"]\n-    #Locale[\"xh\"][\"definitions-of\"]\n-    #Locale[\"xh\"][\"synonyms\"]\n-    #Locale[\"xh\"][\"examples\"]\n-    #Locale[\"xh\"][\"see-also\"]\n+    Locale[\"xh\"][\"translations-of\"]    = \"Iinguqulelo zika-%s\"\n+    Locale[\"xh\"][\"definitions-of\"]     = \"Iingcaciso zika-%s\"\n+    Locale[\"xh\"][\"synonyms\"]           = \"Izithethantonye\"\n+    Locale[\"xh\"][\"examples\"]           = \"Imizekelo\"\n+    Locale[\"xh\"][\"see-also\"]           = \"Kwakhona bona\"\n     Locale[\"xh\"][\"family\"]             = \"Atlantic-Congo\"\n     Locale[\"xh\"][\"iso\"]                = \"xho\"\n     Locale[\"xh\"][\"glotto\"]             = \"xhos1239\"\n"}
{"commit":"d8fc5ac71ee2171c09829dea87fd902f92bb120c","subject":"Languages: mark sr-Latn as bing-only","message":"Languages: mark sr-Latn as bing-only\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1077,6 +1077,7 @@\n     Locale[\"sr-Cyrl\"][\"script\"]        = \"Cyrl\"\n \n     #79b Serbian, Latin alphabet\n+    Locale[\"sr-Latn\"][\"support\"]       = \"bing-only\"\n     Locale[\"sr-Latn\"][\"name\"]          = \"Serbian (Latin)\"\n     Locale[\"sr-Latn\"][\"endonym\"]       = \"srpski\"\n     Locale[\"sr-Latn\"][\"translations-of\"] = \"Prevodi za \u201e%s\u201c\"\n"}
{"commit":"3cfb83f5089e19ff8efaa7bc8d9a04da7e8cdae3","subject":"moarawk","message":"moarawk\n","repos":"Norgg\/Principia,mockingbirdnest\/Principia,pleroy\/Principia,eggrobin\/Principia,Norgg\/Principia,pleroy\/Principia,eggrobin\/Principia,pleroy\/Principia,mockingbirdnest\/Principia,pleroy\/Principia,Norgg\/Principia,eggrobin\/Principia,Norgg\/Principia,mockingbirdnest\/Principia,mockingbirdnest\/Principia","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generate_no_include_bodies_iwyu_mapping.awk\n+++ generate_no_include_bodies_iwyu_mapping.awk\n@@ -6,7 +6,12 @@\n   body = $0\n   header = body\n   sub(\/_body\\.hpp$\/, \".hpp\", header)\n-  print \"{ include: [\\\"\\\\\\\"\" body \"\\\\\\\"\\\", private, \\\"\\\\\\\"\" header \"\\\\\\\"\\\", public] },\"\n+  if (header != \"massless.hpp\" &&\n+      header != \"massive.hpp\" &&\n+      header != \"oblate.hpp\" &&\n+      header != \"rotating.hpp\") {\n+    print \"{ include: [\\\"\\\\\\\"\" body \"\\\\\\\"\\\", private, \\\"\\\\\\\"\" header \"\\\\\\\"\\\", public] },\"\n+  }\n }\n \n END {\n"}
{"commit":"bb2a085a1e00382a2424204e548ec8fbc952f63f","subject":"Mark missing SIP header","message":"Mark missing SIP header\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@169 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/long2html.awk\n+++ scripts\/long2html.awk\n@@ -170,6 +170,7 @@\n       if ($1 ~ \"Date:\" ) MARK = \"sip\"\n       if ($1 ~ \"Expires:\" ) MARK = \"sip\"\n       if ($1 ~ \"From:\" ) MARK = \"sip\"\n+      if ($1 ~ \"Max-Forwards:\" ) MARK = \"sip\"\n       if ($1 ~ \"Min-SE:\" ) MARK = \"sip\"\n       if ($1 ~ \"P-[A-Z][a-z].*:\" ) MARK = \"sip\"\n       if ($1 ~ \"Privacy:\" ) MARK = \"sip\"\n"}
{"commit":"93792cdecfae63754104ecfc4a633527defd1325","subject":"Languages: ignore LANGUAGE (close #280)","message":"Languages: ignore LANGUAGE (close #280)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -2115,10 +2115,6 @@\n \n # Initialize `UserLang`.\n function initUserLang(    lang, utf) {\n-    if (lang = ENVIRON[\"LANGUAGE\"]) {\n-        if (!UserLocale) UserLocale = lang\n-        utf = utf || tolower(lang) ~ \/utf-?8$\/\n-    }\n     if (lang = ENVIRON[\"LC_ALL\"]) {\n         if (!UserLocale) UserLocale = lang\n         utf = utf || tolower(lang) ~ \/utf-?8$\/\n"}
{"commit":"92de655df6ee38d50cfda69ef4291ea03a9f0ec3","subject":"Adding in flag for no wobble \/ just exact duplicates","message":"Adding in flag for no wobble \/ just exact duplicates\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- SLURM\/scripts\/split_rmdups.awk\n+++ SLURM\/scripts\/split_rmdups.awk\n@@ -27,64 +27,74 @@\n # non-duplicate\n # Juicer version 1.5\n BEGIN{\n-\ttot=0;\n-\tname=0;\n+    tot=0;\n+    name=0;\n }\n {\n-\tif (tot >= 1000000) {\n-\t\tif (p1 != $1 || p2 != $2 || p4 != $4 || p5 != $5 || p8 != $8) {\n-\t\t\tsname = sprintf(\"%s_msplit%04d_\", groupname, name);\n-\t\t\tsscriptname = sprintf(\"%s\/.%s.slurm\", debugdir, sname);\n-\t\t\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-split-%s.out\\n#SBATCH -e %s\/dup-split-%s.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;awk -f %s\/scripts\/dups.awk -v name=%s\/%s %s\/split%04d;\\necho Reads:%s\\ndate\\n\", debugdir, name, debugdir, name, queue, groupname, juicedir, dir, sname, dir, name, tot) > sscriptname;\n-\t\t\tsysstring = sprintf(\"sbatch %s\", sscriptname);\n-\t\t\tsystem(sysstring);\n-\t\t\toutname = sprintf(\"%s\/split%04d\", dir, name);\n-\t\t\tclose(outname);\n-\t\t\tclose(sscriptname);\n-\n-\t\t\tname++;\n-\t\t\ttot=0;\n-\t\t}\n+    if (tot >= 1000000) {\n+\tif (p1 != $1 || p2 != $2 || p4 != $4 || p5 != $5 || p8 != $8) {\n+\t    sname = sprintf(\"%s_msplit%04d_\", groupname, name);\n+\t    sscriptname = sprintf(\"%s\/.%s.slurm\", debugdir, sname);\n+\t    if (justexact) {\n+\t\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-split-%s.out\\n#SBATCH -e %s\/dup-split-%s.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;awk -f %s\/scripts\/dups.awk -v nowobble=1 -v name=%s\/%s %s\/split%04d;\\necho Reads:%s\\ndate\\n\", debugdir, name, debugdir, name, queue, groupname, juicedir, dir, sname, dir, name, tot) > sscriptname;\n+\t    }\n+\t    else {\n+\t\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-split-%s.out\\n#SBATCH -e %s\/dup-split-%s.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;awk -f %s\/scripts\/dups.awk -v name=%s\/%s %s\/split%04d;\\necho Reads:%s\\ndate\\n\", debugdir, name, debugdir, name, queue, groupname, juicedir, dir, sname, dir, name, tot) > sscriptname;\n+\t    }\n+\t    sysstring = sprintf(\"sbatch %s\", sscriptname);\n+\t    system(sysstring);\n+\t    outname = sprintf(\"%s\/split%04d\", dir, name);\n+\t    close(outname);\n+\t    close(sscriptname);\n+\t    \n+\t    name++;\n+\t    tot=0;\n \t}\n-\toutname = sprintf(\"%s\/split%04d\", dir, name);\n-\tprint > outname;\n-\tp1=$1;p2=$2;p4=$4;p5=$5;p6=$6;p8=$8;\n-\ttot++;\n+    }\n+    outname = sprintf(\"%s\/split%04d\", dir, name);\n+    print > outname;\n+    p1=$1;p2=$2;p4=$4;p5=$5;p6=$6;p8=$8;\n+    tot++;\n }\n END {\n-\tsname = sprintf(\"%s_msplit%04d_\", groupname, name);\n-\tsscriptname = sprintf(\"%s\/.%s.slurm\", debugdir, sname);\n+    sname = sprintf(\"%s_msplit%04d_\", groupname, name);\n+    sscriptname = sprintf(\"%s\/.%s.slurm\", debugdir, sname);\n+    if (justexact) {\n+\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-split-%s.out\\n#SBATCH -e %s\/dup-split-%s.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;awk -f %s\/scripts\/dups.awk -v nowobble=1 -v name=%s\/%s %s\/split%04d;\\necho Reads:%s\\ndate\\n\", debugdir, name, debugdir, name, queue, groupname, juicedir, dir, sname, dir, name, tot) > sscriptname;\n+    }\n+    else {\n \tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-split-%s.out\\n#SBATCH -e %s\/dup-split-%s.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;awk -f %s\/scripts\/dups.awk -v name=%s\/%s %s\/split%04d;\\necho Reads:%s\\ndate\\n\", debugdir, name, debugdir, name, queue, groupname, juicedir, dir, sname, dir, name, tot) > sscriptname;\n-\tsysstring = sprintf(\"sbatch %s\", sscriptname);\n-\tsystem(sysstring);\n-\tclose(sscriptname);\n+    }\n+    sysstring = sprintf(\"sbatch %s\", sscriptname);\n+    system(sysstring);\n+    close(sscriptname);\n \n-\tsscriptname = sprintf(\"%s\/.%s_msplit.slurm\", debugdir, groupname);\n-\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-merge.out\\n#SBATCH -e %s\/dup-merge.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;\\necho \\\"\\\"; cat %s\/%s_msplit*_optdups.txt > %s\/opt_dups.txt;cat %s\/%s_msplit*_dups.txt > %s\/dups.txt;cat %s\/%s_msplit*_merged_nodups.txt > %s\/merged_nodups.txt;\\ndate\\n\", debugdir, debugdir, queue, groupname, dir, groupname, dir, dir, groupname, dir, dir, groupname, dir) > sscriptname;\n-\tsysstring = sprintf(\"sbatch %s\", sscriptname);\n-\tsystem(sysstring);\n-\tclose(sscriptname);\n+    sscriptname = sprintf(\"%s\/.%s_msplit.slurm\", debugdir, groupname);\n+    printf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-merge.out\\n#SBATCH -e %s\/dup-merge.err\\n#SBATCH --mem=50G\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;\\necho \\\"\\\"; cat %s\/%s_msplit*_optdups.txt > %s\/opt_dups.txt;cat %s\/%s_msplit*_dups.txt > %s\/dups.txt;cat %s\/%s_msplit*_merged_nodups.txt > %s\/merged_nodups.txt;\\ndate\\n\", debugdir, debugdir, queue, groupname, dir, groupname, dir, dir, groupname, dir, dir, groupname, dir) > sscriptname;\n+    sysstring = sprintf(\"sbatch %s\", sscriptname);\n+    system(sysstring);\n+    close(sscriptname);\n \n-\tsscriptname = sprintf(\"%s\/.%s_rmsplit.slurm\", debugdir, groupname);\n-\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-rm.out\\n#SBATCH -e %s\/dup-rm.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;\\nrm %s\/*_msplit*_optdups.txt; rm %s\/*_msplit*_dups.txt; rm %s\/*_msplit*_merged_nodups.txt;rm %s\/split*;\\ndate\\n\", debugdir, debugdir, queue, groupname, dir, dir, dir, dir) > sscriptname;\n-\tsysstring = sprintf(\"sbatch %s\", sscriptname);\n-\tsystem(sysstring);\n-\tclose(sscriptname);\n+#\tsscriptname = sprintf(\"%s\/.%s_rmsplit.slurm\", debugdir, groupname);\n+#\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-rm.out\\n#SBATCH -e %s\/dup-rm.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;\\nrm %s\/*_msplit*_optdups.txt; rm %s\/*_msplit*_dups.txt; rm %s\/*_msplit*_merged_nodups.txt;rm %s\/split*;\\ndate\\n\", debugdir, debugdir, queue, groupname, dir, dir, dir, dir) > sscriptname;\n+#\tsysstring = sprintf(\"sbatch %s\", sscriptname);\n+#\tsystem(sysstring);\n+#\tclose(sscriptname);\n \n-\tsscriptname = sprintf(\"%s\/.%s_finalize.slurm\", debugdir, groupname);\n-\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-guard-trigger.out\\n#SBATCH -e %s\/dup-guard-trigger.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\necho %s %s %s %s;\\nsqueue -u %s;\\ndate\\n\", debugdir, debugdir, queue, groupname, topDir, site, genomeID, genomePath, user, user) > sscriptname;\n-\tsysstring = sprintf(\"sbatch %s\", sscriptname);\n-\tsystem(sysstring);\n-\t(sysstring | getline maildupid);\n-\tvar = gensub(\"[^0-9]\", \"\", \"g\", maildupid);\n-\tsysstring = sprintf(\"scontrol update JobID=%s dependency=afterok:%s\", guardjid, var);\n-\tsystem(sysstring);\n-\tclose(sscriptname);\n-\n-\tsscriptname = sprintf(\"%s\/.%s_mail.slurm\", debugdir, groupname);\n-\tprintf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-mail.out\\n#SBATCH -e %s\/dup-mail.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;\\necho %s %s %s %s | mail -r Juicer@rice.edu -s \\\"Juicer pipeline finished successfully @ Rice\\\" -t %s@rice.edu;\\ndate\\n\", debugdir, debugdir, queue, groupname, topDir, site, genomeID, genomePath, user) > sscriptname;\n-\tsysstring = sprintf(\"sbatch %s\", sscriptname);\n-\tsystem(sysstring);\n-\tclose(sscriptname);\n+    sscriptname = sprintf(\"%s\/.%s_finalize.slurm\", debugdir, groupname);\n+    printf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-guard-trigger.out\\n#SBATCH -e %s\/dup-guard-trigger.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\necho %s %s %s %s;\\nsqueue -u %s;\\ndate\\n\", debugdir, debugdir, queue, groupname, topDir, site, genomeID, genomePath, user, user) > sscriptname;\n+    sysstring = sprintf(\"sbatch %s\", sscriptname);\n+    system(sysstring);\n+    (sysstring | getline maildupid);\n+    var = gensub(\"[^0-9]\", \"\", \"g\", maildupid);\n+    sysstring = sprintf(\"scontrol update JobID=%s dependency=afterok:%s\", guardjid, var);\n+    system(sysstring);\n+    close(sscriptname);\n+    \n+    sscriptname = sprintf(\"%s\/.%s_mail.slurm\", debugdir, groupname);\n+    printf(\"#!\/bin\/bash -l\\n#SBATCH -o %s\/dup-mail.out\\n#SBATCH -e %s\/dup-mail.err\\n#SBATCH -p %s\\n#SBATCH -J %s_msplit0\\n#SBATCH -d singleton\\n#SBATCH -t 1440\\n#SBATCH -c 1\\n#SBATCH --ntasks=1\\ndate;\\necho %s %s %s %s | mail -r Juicer@rice.edu -s \\\"Juicer pipeline finished successfully @ Rice\\\" -t %s@rice.edu;\\ndate\\n\", debugdir, debugdir, queue, groupname, topDir, site, genomeID, genomePath, user) > sscriptname;\n+    sysstring = sprintf(\"sbatch %s\", sscriptname);\n+    system(sysstring);\n+    close(sscriptname);\n }\n \n"}
{"commit":"257bfae80b006e1cee578c39a1971a2faf46aee5","subject":"Languages: add Dogri","message":"Languages: add Dogri\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -344,6 +344,19 @@\n     Locale[\"dv\"][\"glotto\"]             = \"dhiv1236\"\n     Locale[\"dv\"][\"script\"]             = \"Thaa\"\n     Locale[\"dv\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    # Dogri\n+    Locale[\"doi\"][\"name\"]              = \"Dogri\"\n+    Locale[\"doi\"][\"endonym\"]           = \"\u0921\u094b\u0917\u0930\u0940\"\n+    #Locale[\"doi\"][\"translations-of\"]\n+    #Locale[\"doi\"][\"definitions-of\"]\n+    #Locale[\"doi\"][\"synonyms\"]\n+    #Locale[\"doi\"][\"examples\"]\n+    #Locale[\"doi\"][\"see-also\"]\n+    Locale[\"doi\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"doi\"][\"iso\"]               = \"doi\"\n+    Locale[\"doi\"][\"glotto\"]            = \"indo1311\"\n+    Locale[\"doi\"][\"script\"]            = \"Deva\"\n \n     #20 Dutch\n     Locale[\"nl\"][\"name\"]               = \"Dutch\"\n"}
{"commit":"5f33f3500ce322ac99c1222049dfc5565c8b2187","subject":"Add ARGIND trick #chunks","message":"Add ARGIND trick #chunks\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- chunks\/chunks.awk\n+++ chunks\/chunks.awk\n@@ -1,3 +1,5 @@\n+\n+ARGIND == 1 {lut[$0]; next}\n \n match($0, \/^mix ([^ ]+) +# +(.*)\/, arr) { print arr[1] \"\\t\" arr[2] }\n \n"}
{"commit":"d5232bbd9951828d939f3a44adf7db2f6a4c4f17","subject":"pull the latest slidy script from the internets at presentation time","message":"pull the latest slidy script from the internets at presentation time","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/slidy.awk\n+++ tools\/slidy.awk\n@@ -1,5 +1,24 @@\n BEGIN {\n     interesting = 1\n+}\n+\n+skipScript && \/<\\\/script>\/ {\n+  skipScript = 0\n+  next\n+}\n+\n+skipScript {\n+  next\n+}\n+\n+### TODO:\n+#  <link rel=\"stylesheet\" type=\"text\/css\" media=\"screen, projection, print\" href=\"http:\/\/www.w3.org\/Talks\/Tools\/Slidy2\/styles\/slidy.css\" \/> \n+\n+\n+\/<script type=\"text\\\/javascript\" charset=\"utf-8\">\/ {\n+  print \"  <script src='http:\/\/www.w3.org\/Talks\/Tools\/Slidy2\/scripts\/slidy.js' charset='utf-8' type='text\/javascript'><\/script>\"\n+  skipScript = 1\n+  next\n }\n \n {\n"}
{"commit":"e64703dc5c0fe099d521449c6314610b1bfe1e44","subject":"Remove quotes","message":"Remove quotes\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- data\/en\/wiktionary-edges.awk\n+++ data\/en\/wiktionary-edges.awk\n@@ -3,7 +3,7 @@\n     FS = OFS = \"\\t\";\n }\n ($1 != $3) && ($4 == \"SYNONYM\") {\n-    gsub(\/['\"]\/, \"\");\n+    gsub(\/\"\/, \"\");\n \n     for (i = 1; i <= 3; i += 2) {\n         gsub(\/([A-Z][a-z]+):\/, \"\", $i);\n"}
{"commit":"e3b1d6f60a358cb57757b363210a914b6dff7d58","subject":"Languages: add hasDictionary(code)","message":"Languages: add hasDictionary(code)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -196,6 +196,7 @@\n     Locale[\"zh-CN\"][\"iso\"]             = \"zho-CN\"\n     Locale[\"zh-CN\"][\"glotto\"]          = \"mand1415\"\n     Locale[\"zh-CN\"][\"script\"]          = \"Hans\"\n+    Locale[\"zh-CN\"][\"dictionary\"]      = \"true\" # has dictionary\n \n     #14b Chinese (Mandarin), Traditional\n     Locale[\"zh-TW\"][\"name\"]            = \"Chinese Traditional\"\n@@ -209,6 +210,7 @@\n     Locale[\"zh-TW\"][\"iso\"]             = \"zho-TW\"\n     Locale[\"zh-TW\"][\"glotto\"]          = \"mand1415\"\n     Locale[\"zh-TW\"][\"script\"]          = \"Hant\"\n+    Locale[\"zh-TW\"][\"dictionary\"]      = \"true\" # has dictionary\n \n     #15 Croatian\n     Locale[\"hr\"][\"name\"]               = \"Croatian\"\n@@ -261,6 +263,7 @@\n     Locale[\"nl\"][\"iso\"]                = \"nld\"\n     Locale[\"nl\"][\"glotto\"]             = \"dutc1256\"\n     Locale[\"nl\"][\"script\"]             = \"Latn\"\n+    Locale[\"nl\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #19 English (Standard English)\n     Locale[\"en\"][\"name\"]               = \"English\"\n@@ -274,6 +277,7 @@\n     Locale[\"en\"][\"iso\"]                = \"eng\"\n     Locale[\"en\"][\"glotto\"]             = \"stan1293\"\n     Locale[\"en\"][\"script\"]             = \"Latn\"\n+    Locale[\"en\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #20 Esperanto\n     Locale[\"eo\"][\"name\"]               = \"Esperanto\"\n@@ -339,6 +343,7 @@\n     Locale[\"fr\"][\"iso\"]                = \"fra\"\n     Locale[\"fr\"][\"glotto\"]             = \"stan1290\"\n     Locale[\"fr\"][\"script\"]             = \"Latn\"\n+    Locale[\"fr\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #25 Galician\n     Locale[\"gl\"][\"name\"]               = \"Galician\"\n@@ -378,6 +383,7 @@\n     Locale[\"de\"][\"iso\"]                = \"deu\"\n     Locale[\"de\"][\"glotto\"]             = \"stan1295\"\n     Locale[\"de\"][\"script\"]             = \"Latn\"\n+    Locale[\"de\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #28 Greek (Modern Greek)\n     Locale[\"el\"][\"name\"]               = \"Greek\"\n@@ -548,6 +554,7 @@\n     Locale[\"it\"][\"iso\"]                = \"ita\"\n     Locale[\"it\"][\"glotto\"]             = \"ital1282\"\n     Locale[\"it\"][\"script\"]             = \"Latn\"\n+    Locale[\"it\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #41 Japanese\n     Locale[\"ja\"][\"name\"]               = \"Japanese\"\n@@ -561,6 +568,7 @@\n     Locale[\"ja\"][\"iso\"]                = \"jpn\"\n     Locale[\"ja\"][\"glotto\"]             = \"nucl1643\"\n     Locale[\"ja\"][\"script\"]             = \"Jpan\"\n+    Locale[\"ja\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #42 Javanese, Latin alphabet\n     Locale[\"jv\"][\"name\"]               = \"Javanese\"\n@@ -626,6 +634,7 @@\n     Locale[\"ko\"][\"iso\"]                = \"kor\"\n     Locale[\"ko\"][\"glotto\"]             = \"kore1280\"\n     Locale[\"ko\"][\"script\"]             = \"Kore\"\n+    Locale[\"ko\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #47 Lao\n     Locale[\"lo\"][\"name\"]               = \"Lao\"\n@@ -861,6 +870,7 @@\n     Locale[\"pt\"][\"iso\"]                = \"por\"\n     Locale[\"pt\"][\"glotto\"]             = \"port1283\"\n     Locale[\"pt\"][\"script\"]             = \"Latn\"\n+    Locale[\"pt\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #65 Punjabi, Gurmukh\u012b alphabet\n     Locale[\"pa\"][\"name\"]               = \"Punjabi\"\n@@ -900,6 +910,7 @@\n     Locale[\"ru\"][\"iso\"]                = \"rus\"\n     Locale[\"ru\"][\"glotto\"]             = \"russ1263\"\n     Locale[\"ru\"][\"script\"]             = \"Cyrl\"\n+    Locale[\"ru\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #68 Serbian, Cyrillic alphabet\n     Locale[\"sr\"][\"name\"]               = \"Serbian\"\n@@ -991,6 +1002,7 @@\n     Locale[\"es\"][\"iso\"]                = \"spa\"\n     Locale[\"es\"][\"glotto\"]             = \"stan1288\"\n     Locale[\"es\"][\"script\"]             = \"Latn\"\n+    Locale[\"es\"][\"dictionary\"]         = \"true\" # has dictionary\n \n     #75 Sundanese, Latin alphabet\n     Locale[\"su\"][\"name\"]               = \"Sundanese\"\n@@ -1306,6 +1318,11 @@\n # Return 1 if a language is R-to-L; otherwise return 0.\n function isRTL(code) {\n     return Locale[getCode(code)][\"rtl\"] ? 1 : 0\n+}\n+\n+# Return 1 if Google provides dictionary data for a language; otherwise return 0.\n+function hasDictionary(code) {\n+    return Locale[getCode(code)][\"dictionary\"] ? 1 : 0\n }\n \n # Return the name of script (writing system).\n"}
{"commit":"95dd874c0096465f581b1abebf73bfe3930d3dd5","subject":"Languages: alternative language names","message":"Languages: alternative language names\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -119,8 +119,9 @@\n     Locale[\"be\"][\"glotto\"]             = \"bela1254\"\n     Locale[\"be\"][\"script\"]             = \"Cyrl\"\n \n-    #9 Bengali\n+    #9 Bengali \/ Bangla\n     Locale[\"bn\"][\"name\"]               = \"Bengali\"\n+    Locale[\"bn\"][\"name2\"]              = \"Bangla\"\n     Locale[\"bn\"][\"endonym\"]            = \"\u09ac\u09be\u0982\u09b2\u09be\"\n     Locale[\"bn\"][\"translations-of\"]    = \"%s \u098f\u09b0 \u0985\u09a8\u09c1\u09ac\u09be\u09a6\"\n     Locale[\"bn\"][\"definitions-of\"]     = \"%s \u098f\u09b0 \u09b8\u0982\u099c\u09cd\u099e\u09be\"\n@@ -333,6 +334,7 @@\n \n     #24 Filipino \/ Tagalog\n     Locale[\"tl\"][\"name\"]               = \"Filipino\"\n+    Locale[\"tl\"][\"name2\"]              = \"Tagalog\"\n     Locale[\"tl\"][\"endonym\"]            = \"Tagalog\"\n     Locale[\"tl\"][\"translations-of\"]    = \"Mga pagsasalin ng %s\"\n     Locale[\"tl\"][\"definitions-of\"]     = \"Mga kahulugan ng %s\"\n@@ -885,6 +887,7 @@\n \n     #66 Myanmar \/ Burmese\n     Locale[\"my\"][\"name\"]               = \"Myanmar\"\n+    Locale[\"my\"][\"name2\"]              = \"Burmese\"\n     Locale[\"my\"][\"endonym\"]            = \"\u1019\u103c\u1014\u103a\u1019\u102c\u1005\u102c\"\n     Locale[\"my\"][\"translations-of\"]    = \"%s\u104f \u1018\u102c\u101e\u102c\u1015\u103c\u1014\u103a\u1006\u102d\u102f\u1001\u103b\u1000\u103a\u1019\u103b\u102c\u1038\"\n     Locale[\"my\"][\"definitions-of\"]     = \"%s\u104f \u1021\u1014\u1000\u103a\u1016\u103d\u1004\u103a\u1037\u1006\u102d\u102f\u1001\u103b\u1000\u103a\u1019\u103b\u102c\u1038\"\n@@ -935,8 +938,9 @@\n     Locale[\"or\"][\"glotto\"]             = \"macr1269\"\n     Locale[\"or\"][\"script\"]             = \"Orya\"\n \n-    #70 Pashto\n+    #70 Pashto \/ Pushto\n     Locale[\"ps\"][\"name\"]               = \"Pashto\"\n+    Locale[\"ps\"][\"name2\"]              = \"Pushto\"\n     Locale[\"ps\"][\"endonym\"]            = \"\u067e\u069a\u062a\u0648\"\n     Locale[\"ps\"][\"translations-of\"]    = \"\u062f %s\u0698\u0628\u0627\u0693\u06d0\"\n     Locale[\"ps\"][\"definitions-of\"]     = \"\u062f%s \u062a\u0639\u0631\u06cc\u0641\u0648\u0646\u0647\"\n@@ -1150,6 +1154,7 @@\n \n     #85 Slovenian \/ Slovene\n     Locale[\"sl\"][\"name\"]               = \"Slovenian\"\n+    Locale[\"sl\"][\"name2\"]              = \"Slovene\"\n     Locale[\"sl\"][\"endonym\"]            = \"Sloven\u0161\u010dina\"\n     Locale[\"sl\"][\"translations-of\"]    = \"Prevodi za %s\"\n     Locale[\"sl\"][\"definitions-of\"]     = \"Razlage za %s\"\n@@ -1201,8 +1206,9 @@\n     Locale[\"su\"][\"glotto\"]             = \"sund1252\"\n     Locale[\"su\"][\"script\"]             = \"Latn\"\n \n-    #89 Swahili\n+    #89 Swahili \/ Kiswahili\n     Locale[\"sw\"][\"name\"]               = \"Swahili\"\n+    Locale[\"sw\"][\"name2\"]              = \"Kiswahili\"\n     Locale[\"sw\"][\"endonym\"]            = \"Kiswahili\"\n     Locale[\"sw\"][\"translations-of\"]    = \"Tafsiri ya %s\"\n     Locale[\"sw\"][\"definitions-of\"]     = \"Ufafanuzi wa %s\"\n@@ -1227,8 +1233,9 @@\n     Locale[\"sv\"][\"glotto\"]             = \"swed1254\"\n     Locale[\"sv\"][\"script\"]             = \"Latn\"\n \n-    #91 Tajik, Cyrillic alphabet\n+    #91 Tajik \/ Tajiki, Cyrillic alphabet\n     Locale[\"tg\"][\"name\"]               = \"Tajik\"\n+    Locale[\"tg\"][\"name2\"]              = \"Tajiki\"\n     Locale[\"tg\"][\"endonym\"]            = \"\u0422\u043e\u04b7\u0438\u043a\u04e3\"\n     Locale[\"tg\"][\"translations-of\"]    = \"\u0422\u0430\u0440\u04b7\u0443\u043c\u0430\u04b3\u043e\u0438 %s\"\n     Locale[\"tg\"][\"definitions-of\"]     = \"\u0422\u0430\u044a\u0440\u0438\u0444\u04b3\u043e\u0438 %s\"\n@@ -1826,6 +1833,8 @@\n \n         # Names and endonyms as aliases\n         LocaleAlias[tolower(Locale[i][\"name\"])] = i\n+        if (\"name2\" in Locale[i])\n+            LocaleAlias[tolower(Locale[i][\"name2\"])] = i\n         LocaleAlias[tolower(Locale[i][\"endonym\"])] = i\n     }\n \n@@ -1881,6 +1890,14 @@\n # Return the name of a language.\n function getName(code) {\n     return Locale[getCode(code)][\"name\"]\n+}\n+\n+# Return all the names of a language, separated by \"\/\"\n+function getNames(code) {\n+    if (\"name2\" in Locale[getCode(code)])\n+        return Locale[getCode(code)][\"name\"] \" \/ \" Locale[getCode(code)][\"name2\"]\n+    else\n+        return Locale[getCode(code)][\"name\"]\n }\n \n # Return the endonym of a language.\n@@ -2006,7 +2023,7 @@\n }\n \n # Return detailed information of a language as a string.\n-function getDetails(code,    group, iso, language, script) {\n+function getDetails(code,    group, iso, script) {\n     if (code == \"auto\" || !getCode(code)) {\n         e(\"[ERROR] Language not found: \" code \"\\n\"                      \\\n           \"        Run '-reference \/ -R' to see a list of available languages.\")\n@@ -2017,11 +2034,8 @@\n     if (isRTL(code)) script = script \" (R-to-L)\"\n     split(getISO(code), group, \"-\")\n     iso = group[1]\n-    split(getName(code), group, \" \")\n-    language = length(group) == 1 ? group[1] \"_language\" :\n-        group[2] ~ \/^\\(.*\\)$\/ ? group[1] \"_language\" : join(group, \"_\")\n     return ansi(\"bold\", sprintf(\"%s\\n\", getDisplay(code)))              \\\n-        sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getName(code)))       \\\n+        sprintf(\"%-22s%s\\n\", \"Name\", ansi(\"bold\", getNames(code)))      \\\n         sprintf(\"%-22s%s\\n\", \"Family\", ansi(\"bold\", getFamily(code)))   \\\n         sprintf(\"%-22s%s\\n\", \"Writing system\", ansi(\"bold\", script))    \\\n         sprintf(\"%-22s%s\\n\", \"Code\", ansi(\"bold\", getCode(code)))       \\\n"}
{"commit":"9231830d313ac39bdc6f444a01afdb23cfd915fa","subject":"Translators\/YandexTranslate: support dictionary service","message":"Translators\/YandexTranslate: support dictionary service\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/YandexTranslate.awk\n+++ include\/Translators\/YandexTranslate.awk\n@@ -35,6 +35,35 @@\n     return HttpPathPrefix \"\/api\/v1\/tr.json\/translate?\"                  \\\n         \"id=\" SID \"-0-0&srv=tr-text\"                                    \\\n         \"&text=\" preprocess(text) \"&lang=\" (sl == \"auto\" ? tl : sl \"-\" tl)\n+}\n+\n+function yandexGetDictionaryResponse(text, sl, tl, hl,    content, header, isBody, url) {\n+    # Quick hack: Yandex doesn't support digraphia code (yet)\n+    split(sl, group, \"-\"); sl = group[1]\n+    split(tl, group, \"-\"); tl = group[1]\n+\n+    url = HttpPathPrefix \"\/dicservice.json\/lookup?\"                     \\\n+        \"sid=\" SID                                                      \\\n+        \"&text=\" preprocess(text) \"&lang=\" (sl == \"auto\" ? tl : sl \"-\" tl)\n+\n+    header = \"GET \" url \" HTTP\/1.1\\n\"           \\\n+        \"Host: \" \"dictionary.yandex.net\" \"\\n\"   \\\n+        \"Connection: close\\n\"\n+    if (Option[\"user-agent\"])\n+        header = header \"User-Agent: \" Option[\"user-agent\"] \"\\n\"\n+\n+    content = NULLSTR; isBody = 0\n+    print header |& HttpService\n+    while ((HttpService |& getline) > 0) {\n+        if (isBody)\n+            content = content ? content \"\\n\" $0 : $0\n+        else if (length($0) <= 1)\n+            isBody = 1\n+        l(sprintf(\"%4s bytes > %s\", length($0), $0))\n+    }\n+    close(HttpService)\n+\n+    return assert(content, \"[ERROR] Null response.\")\n }\n \n function yandexTTSUrl(text, tl) {\n@@ -78,6 +107,8 @@\n                          _sl, _tl, _hl, il,\n                          translation,\n                          wShowOriginal, wShowTranslation, wShowLanguages,\n+                         wShowDictionary, dicContent, dicTokens, dicAst,\n+                         i, syn, mean,\n                          group, temp) {\n     if (!getCode(tl)) {\n         # Check if target language is supported\n@@ -123,9 +154,11 @@\n \n     } else {\n         # Verbose mode\n+\n         wShowOriginal = Option[\"show-original\"]\n         wShowTranslation = Option[\"show-translation\"]\n         wShowLanguages = Option[\"show-languages\"]\n+        wShowDictionary = Option[\"show-dictionary\"]\n \n         if (wShowOriginal) {\n             # Display: original text\n@@ -160,6 +193,66 @@\n                 r = r prettify(\"languages-tl\", getName(tl))\n             r = r prettify(\"languages\", group[3])\n         }\n+\n+        if (wShowDictionary) {\n+            # Dictionary API\n+            dicContent = yandexGetDictionaryResponse(text, _sl, _tl, _hl)\n+            tokenize(dicTokens, dicContent)\n+            parseJson(dicAst, dicTokens)\n+\n+            if (anything(dicAst)) {\n+                # Display: dictionary entries\n+                if (r) r = r RS\n+                r = r m(\"-- display dictionary entries\")\n+\n+                saveSortedIn = PROCINFO[\"sorted_in\"]\n+                PROCINFO[\"sorted_in\"] = \"@ind_num_asc\"\n+                for (i in dicAst) {\n+                    if (i ~ \"^0\" SUBSEP \"def\" SUBSEP \"[[:digit:]]+\" SUBSEP \\\n+                        \"pos$\") {\n+                        r = r RS prettify(\"dictionary-word-class\", s((literal(dicAst[i])), hl))\n+                        syn = mean = \"\"\n+                    }\n+\n+                    # TODO: ex, gen, ...\n+\n+                    if (i ~ \"^0\" SUBSEP \"def\" SUBSEP \"[[:digit:]]+\" SUBSEP \\\n+                        \"tr\" SUBSEP \"[[:digit:]]+\" SUBSEP               \\\n+                        \"mean\" SUBSEP \"[[:digit:]]+\" SUBSEP \"text\") {\n+                        if (mean) {\n+                            mean = mean prettify(\"dictionary-explanation\", \", \") \\\n+                                prettify(\"dictionary-explanation-item\", s((literal(dicAst[i])), sl))\n+                        } else {\n+                            mean = prettify(\"dictionary-explanation-item\", s((literal(dicAst[i])), sl))\n+                        }\n+                    }\n+\n+                    if (i ~ \"^0\" SUBSEP \"def\" SUBSEP \"[[:digit:]]+\" SUBSEP \\\n+                        \"tr\" SUBSEP \"[[:digit:]]+\" SUBSEP               \\\n+                        \"syn\" SUBSEP \"[[:digit:]]+\" SUBSEP \"text\") {\n+                        if (syn) {\n+                            syn = syn prettify(\"dictionary-explanation\", \", \") \\\n+                                prettify(\"dictionary-word\", s((literal(dicAst[i])), il))\n+                        } else {\n+                            syn = prettify(\"dictionary-word\", s((literal(dicAst[i])), il))\n+                        }\n+                    }\n+\n+                    if (i ~ \"^0\" SUBSEP \"def\" SUBSEP \"[[:digit:]]+\" SUBSEP \\\n+                        \"tr\" SUBSEP \"[[:digit:]]+\" SUBSEP \"text$\") {\n+                        text = prettify(\"dictionary-word\", s((literal(dicAst[i])), il))\n+                        if (syn) {\n+                            r = r RS ins(1, text prettify(\"dictionary-explanation\", \", \") syn)\n+                        } else {\n+                            r = r RS ins(1, text)\n+                        }\n+                        r = r RS ins(2, mean)\n+                        syn = mean = \"\"\n+                    }\n+                }\n+                PROCINFO[\"sorted_in\"] = saveSortedIn\n+            }\n+        }\n     }\n \n     if (toSpeech) {\n"}
{"commit":"993ef8e08bf2befd9295632c2b49f68fd9bf5d70","subject":"Convert duration in seconds to HH:MM:SS","message":"Convert duration in seconds to HH:MM:SS\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -111,8 +111,14 @@\n # <duration>3000<\/duration>\n \/<duration>\/ {\n     split ($0,fld,\"[<>]\")\n-    duration = fld[3]\n-    # print \"duration = \" duration  > \"\/dev\/stderr\"\n+    seconds = fld[3]\n+    secs = seconds % 60\n+    mins = int(seconds \/ 60 % 60)\n+    hrs = int(seconds \/ 3600)\n+    duration = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n+    if (duration == \"00:00:00\")\n+        duration = \"\"\n+    # print \"duration = \" seconds \" seconds = \" duration > \"\/dev\/stderr\"\n }\n \n # Grab originalDate\n"}
{"commit":"6a4297cda99d09da73c466911e120fd71f270fd6","subject":"fix start_date value","message":"fix start_date value\n","repos":"osmfj\/lawson2osm","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- lawson2osm.awk\n+++ lawson2osm.awk\n@@ -55,7 +55,7 @@\n \t}\n     }\n     if($5!=\"\"){\n-\tprintf(\"    <tag k='start_date' v='%s' \/>\\n\",$5);\n+\tprintf(\"    <tag k='start_date' v='%s-%s-%s' \/>\\n\",substr($5,1,4),substr($5,5,2),substr($5,7,2));\n     }\n     printf(\"    <tag k='addr:full' v='%s' \/>\\n\",$10);\n     printf(\"    <tag k='ref' v='%s' \/>\\n\",$1);\n"}
{"commit":"5edad4ea12e74888fd43a1ee5dbefe3beb17336e","subject":"Change assignments.","message":"Change assignments.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@31188 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -31,12 +31,12 @@\n       r[pn] = $3\n       if (r[pn] == \"\") {\n         if ((substr(p[pn],1,2) <= \"American R\")) {\n-          r[pn] = \"5\"\n-        } else if ((substr(p[pn],1,2) >= \"American S\") && (substr(p[pn],1,2) <= \"Bz\")) {\n           r[pn] = \"4\"\n-        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Pz\")) {\n-          r[pn] = \"5\"\n-        } else if (substr(p[pn],1,1) >= \"Q\") {\n+        } else if ((substr(p[pn],1,2) >= \"American S\") && (substr(p[pn],1,2) <= \"Hz\")) {\n+          r[pn] = \"4\"\n+#        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Pz\")) {\n+#          r[pn] = \"5\"\n+        } else if (substr(p[pn],1,1) >= \"IA\") {\n           r[pn] = \"8\"\n         }\n       }\n"}
{"commit":"84970f7cdb4b2a250acefb675d20e7a4b40728ae","subject":"geo_utils.awk\t-- added GU_get_style_defaults()","message":"geo_utils.awk\t-- added GU_get_style_defaults()\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/geo_utils.awk\n+++ lib\/geo_utils.awk\n@@ -6,6 +6,10 @@\n }\n function GU_r2d(r) {\n \treturn (r+0)*180.0\/GU_pi()\n+}\n+function GU_get_style_defaults(sd) {\n+\tsd[\"marker-color\"] = \"#aae\"\n+\tsd[\"marker-size\"]  = \"small\"\n }\n function GU_is_righthanded(count, first, x, y,   area, p, x1, y1, x2, y2) {\n \tarea = 0\n"}
{"commit":"ac5f9db8d69b0bf1eb16b583dfe7f7da355dab5c","subject":"testuite report: minor refactoring","message":"testuite report: minor refactoring\n","repos":"gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- testsuite\/makefiles\/summarize.awk\n+++ testsuite\/makefiles\/summarize.awk\n@@ -199,11 +199,10 @@\n                    ignored);\n             printf(\"  %3d unexpected errors\\n\", unexped);\n             printf(\"  %3d tests considered\", nresults);\n-            if (nresults == passed + skipped + ignored + failed + unexped){\n-                printf (\"\\n\");\n-            }else{\n-                printf (\" (totals don't add up??)\\n\");\n-            }\n+            if (nresults != passed + skipped + ignored + failed + unexped){\n+                printf (\" (totals don't add up??)\");\n+            }\n+            printf (\"\\n\");\n             if (reran != 0){\n                 printf(\"  %3d test dir re-runs\\n\", reran);\n             }\n"}
{"commit":"0e8aa303d8415f6b6e13a1a291497109246431fa","subject":"Main: restrict minimum screen width to 4 (close #269)","message":"Main: restrict minimum screen width to 4 (close #269)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -117,7 +117,7 @@\n         command = \"tput cols\" SUPERR\n         command | getline temp\n         close(command)\n-        Option[\"width\"] = temp ? temp - 2 : 64\n+        Option[\"width\"] = temp > 5 ? temp - 2 : 64  # minimum screen width: 4\n     }\n \n     # Disable ANSI escape codes if required\n"}
{"commit":"422c91135e36e55af8731dc4933f34f511f66470","subject":"Hide some diagnostic information","message":"Hide some diagnostic information\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-showPages.awk\n+++ getAcornFrom-showPages.awk\n@@ -167,7 +167,7 @@\n # Set showType to \"P\" for Prequel epiodes so they sort before any Season episodes\n \/<h6>Prequel Movies: \/ {\n     showType = \"P\"\n-    printf (\"==> Prequel to '%s': %s\\n\", showTitle, shortEpisodeURL) >> ERRORS\n+    # printf (\"==> Prequel to '%s': %s\\n\", showTitle, shortEpisodeURL) >> ERRORS\n }\n \n # Extract the episode duration\n@@ -222,7 +222,7 @@\n     # If episode is a Trailer, set episodeType to \"T\" - even though not all these have episodes\n     if (episodeURL ~ \/_cs\\\/\/) {\n         episodeType = \"T\"\n-        printf (\"==> Trailer '%s': %s\\n\", showTitle, shortEpisodeURL) >> ERRORS\n+        # printf (\"==> Trailer '%s': %s\\n\", showTitle, shortEpisodeURL) >> ERRORS\n     }\n     #\n     # cryptoftears, newworlds & newtonslaw bonus seasonNumber should be 1\n"}
{"commit":"8de28d815316adbd1264edb3f90a5c06ff56fbbe","subject":"Correction.","message":"Correction.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@33795 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -36,7 +36,7 @@\n           r[pn] = \"4\"\n         } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Rz\")) {\n           r[pn] = \"5\"\n-        } else if (substr(p[pn],1,1) >= \"Sa\") {\n+        } else if (substr(p[pn],1,1) >= \"SA\") {\n           r[pn] = \"8\"\n         }\n       }\n"}
{"commit":"f8a5edff310b5db70988ba04acf8c2f252b9a498","subject":"Improve scripts","message":"Improve scripts\n","repos":"wichtounet\/eddic,vogelsgesang\/eddic,vogelsgesang\/eddic,wichtounet\/eddic,vogelsgesang\/eddic,wichtounet\/eddic","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tools\/aggregate.awk\n+++ tools\/aggregate.awk\n@@ -3,9 +3,10 @@\n     OFS=\":\";\n }\n \n-\/Timers\/ {\n-    next\n-}\n+\/Timers\/ { next }\n+\/Total\/ { next }\n+\/whole_optimizations\/ { next }\n+\/all_optimizations\/ { next }\n \n {\n     COUNTS[$1] += 1;\n@@ -13,9 +14,16 @@\n }\n \n END {\n+    GLOBAL_TOTAL = 0;\n+    for(ID in COUNTS) {\n+        GLOBAL_TOTAL += TOTALS[ID];\n+    }\n+\n     for(ID in COUNTS) {\n         if(TOTALS[ID] > 0){\n-            print TOTALS[ID], ID;\n+            print TOTALS[ID], ID, (100 * (TOTALS[ID] \/ GLOBAL_TOTAL));\n         }\n     }\n+\n+    print \"Total\", GLOBAL_TOTAL;\n }\n"}
{"commit":"f8aa5b08374ca74819552be29bfd9c2444909a1f","subject":"Commons: add w(), e() and d()","message":"Commons: add w(), e() and d()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -1,4 +1,40 @@\n #!\/usr\/bin\/gawk -f\n+\n+# Initialize ANSI escape codes (ANSI X3.64 Standard Control Sequences).\n+# See: <https:\/\/en.wikipedia.org\/wiki\/ANSI_escape_code>\n+function initAnsiCode() {\n+    # Dumb terminal: no ANSI escape code whatsoever\n+    if(ENVIRON[\"TERM\"] == \"dumb\") return\n+\n+    AnsiCode[\"reset\"]         = AnsiCode[0] = \"\\33[0m\"\n+\n+    AnsiCode[\"bold\"]          = \"\\33[1m\"\n+    AnsiCode[\"underline\"]     = \"\\33[4m\"\n+    AnsiCode[\"negative\"]      = \"\\33[7m\"\n+    AnsiCode[\"no bold\"]       = \"\\33[21m\"\n+    AnsiCode[\"no underline\"]  = \"\\33[24m\"\n+    AnsiCode[\"positive\"]      = \"\\33[27m\"\n+\n+    AnsiCode[\"black\"]         = \"\\33[30m\"\n+    AnsiCode[\"red\"]           = \"\\33[31m\"\n+    AnsiCode[\"green\"]         = \"\\33[32m\"\n+    AnsiCode[\"yellow\"]        = \"\\33[33m\"\n+    AnsiCode[\"blue\"]          = \"\\33[34m\"\n+    AnsiCode[\"magenta\"]       = \"\\33[35m\"\n+    AnsiCode[\"cyan\"]          = \"\\33[36m\"\n+    AnsiCode[\"gray\"]          = \"\\33[37m\"\n+\n+    AnsiCode[\"default\"]       = \"\\33[39m\"\n+\n+    AnsiCode[\"dark gray\"]     = \"\\33[90m\"\n+    AnsiCode[\"light red\"]     = \"\\33[91m\"\n+    AnsiCode[\"light green\"]   = \"\\33[92m\"\n+    AnsiCode[\"light yellow\"]  = \"\\33[93m\"\n+    AnsiCode[\"light blue\"]    = \"\\33[94m\"\n+    AnsiCode[\"light magenta\"] = \"\\33[95m\"\n+    AnsiCode[\"light cyan\"]    = \"\\33[96m\"\n+    AnsiCode[\"white\"]         = \"\\33[97m\"\n+}\n \n # Initialize `UrlEncoding`.\n # See: <https:\/\/en.wikipedia.org\/wiki\/Percent-encoding>\n@@ -39,53 +75,6 @@\n     UrlEncoding[\"~\"]  = \"%7E\"\n }\n \n-# Initialize ANSI escape codes (ANSI X3.64 Standard Control Sequences).\n-# See: <https:\/\/en.wikipedia.org\/wiki\/ANSI_escape_code>\n-function initAnsiCode() {\n-    # Dumb terminal: no ANSI escape code whatsoever\n-    if(ENVIRON[\"TERM\"] == \"dumb\") return\n-\n-    AnsiCode[\"reset\"]         = AnsiCode[0] = \"\\33[0m\"\n-\n-    AnsiCode[\"bold\"]          = \"\\33[1m\"\n-    AnsiCode[\"underline\"]     = \"\\33[4m\"\n-    AnsiCode[\"negative\"]      = \"\\33[7m\"\n-    AnsiCode[\"no bold\"]       = \"\\33[21m\"\n-    AnsiCode[\"no underline\"]  = \"\\33[24m\"\n-    AnsiCode[\"positive\"]      = \"\\33[27m\"\n-\n-    AnsiCode[\"black\"]         = \"\\33[30m\"\n-    AnsiCode[\"red\"]           = \"\\33[31m\"\n-    AnsiCode[\"green\"]         = \"\\33[32m\"\n-    AnsiCode[\"yellow\"]        = \"\\33[33m\"\n-    AnsiCode[\"blue\"]          = \"\\33[34m\"\n-    AnsiCode[\"magenta\"]       = \"\\33[35m\"\n-    AnsiCode[\"cyan\"]          = \"\\33[36m\"\n-    AnsiCode[\"gray\"]          = \"\\33[37m\"\n-\n-    AnsiCode[\"default\"]       = \"\\33[39m\"\n-\n-    AnsiCode[\"dark gray\"]     = \"\\33[90m\"\n-    AnsiCode[\"light red\"]     = \"\\33[91m\"\n-    AnsiCode[\"light green\"]   = \"\\33[92m\"\n-    AnsiCode[\"light yellow\"]  = \"\\33[93m\"\n-    AnsiCode[\"light blue\"]    = \"\\33[94m\"\n-    AnsiCode[\"light magenta\"] = \"\\33[95m\"\n-    AnsiCode[\"light cyan\"]    = \"\\33[96m\"\n-    AnsiCode[\"white\"]         = \"\\33[97m\"\n-}\n-\n-# Naive assertion.\n-function assert(x, message) {\n-    if (!message)\n-        message = \"[ERROR] Assertion failed.\"\n-\n-    if (x)\n-        return x\n-    else\n-        e(message)\n-}\n-\n # Return the real character represented by an escape sequence.\n # Example: escapeChar(\"n\") returns \"\\n\".\n # See: <https:\/\/en.wikipedia.org\/wiki\/Escape_character>\n@@ -220,10 +209,25 @@\n     return temp\n }\n \n+# Print warning message.\n+function w(text) {\n+    print AnsiCode[\"yellow\"] text AnsiCode[0] > \"\/dev\/stderr\"\n+}\n+\n+# Print error message.\n+function e(text) {\n+    print AnsiCode[\"red\"] AnsiCode[\"bold\"] text AnsiCode[0] > \"\/dev\/stderr\"\n+}\n+\n+# Print debugging message.\n+function d(text) {\n+    print AnsiCode[\"gray\"] text AnsiCode[0] > \"\/dev\/stderr\"\n+}\n+\n # Debug an array.\n function da(array, formatString, sortedIn,\n-                ####\n-                i, j, saveSortedIn) {\n+            ####\n+            i, j, saveSortedIn) {\n     # Default parameters\n     if (!formatString)\n         formatString = \"_[%s]='%s'\"\n@@ -238,3 +242,14 @@\n     }\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n }\n+\n+# Naive assertion.\n+function assert(x, message) {\n+    if (!message)\n+        message = \"[ERROR] Assertion failed.\"\n+\n+    if (x)\n+        return x\n+    else\n+        e(message)\n+}\n"}
{"commit":"49a398c78a817bee6963328d134fe6388ea533eb","subject":"correct encoding","message":"correct encoding\n\n","repos":"jimregan\/languagetool,janissl\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,meg0man\/languagetool,meg0man\/languagetool,meg0man\/languagetool,janissl\/languagetool,lopescan\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,janissl\/languagetool,janissl\/languagetool,jimregan\/languagetool,lopescan\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,jimregan\/languagetool,lopescan\/languagetool,lopescan\/languagetool,lopescan\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,jimregan\/languagetool","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- trunk\/JLanguageTool\/src\/dev\/tools\/stats.awk\n+++ trunk\/JLanguageTool\/src\/dev\/tools\/stats.awk\n@@ -1,6 +1,6 @@\n #Script to sort rule matches from LanguageTool\n #Usage: gawk -f stats.awk <file_created_by_LanguageTool>\n-#(c) 2008, Marcin Mikowski\n+#(c) 2008, Marcin Milkowski\n #Licensed on the terms of LGPL 3.0\n \n \/[0-9]+\\.\\)\/ {\n"}
{"commit":"0e9da1cbe73372a15cffa977fa3ac7bd538fd741","subject":" - Add the character \"E\" to the understood lock types.  This means    the VOP requires an exclusive lock.","message":" - Add the character \"E\" to the understood lock types.  This means\n   the VOP requires an exclusive lock.\n\nSponsored by:\tIsilon Systems, Inc.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -78,6 +78,8 @@\n \t\t\tprintc(ind\"ASSERT_VOP_LOCKED(\" star \"a->a_\"arg\", \\\"\"uname\"\\\");\");\n \t\telse if (lockdata[name, arg, pos] == \"U\")\n \t\t\tprintc(ind\"ASSERT_VOP_UNLOCKED(\" star \"a->a_\"arg\", \\\"\"uname\"\\\");\");\n+\t\telse if (lockdata[name, arg, pos] == \"E\")\n+\t\t\tprintc(ind\"ASSERT_VOP_ELOCKED(\" star \"a->a_\"arg\", \\\"\"uname\"\\\");\");\n \t\telse if (0) {\n \t\t\t# XXX More checks!\n \t\t}\n"}
{"commit":"745f8c25ebb4ba905249f9a65adccd8eeb04038d","subject":"Revert \"Update min\/max length to be inclusive\"","message":"Revert \"Update min\/max length to be inclusive\"\n\nThis reverts commit 29ea83f7cd7440be605244a9ac75ecd09b903439.\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -158,7 +158,7 @@\n         msg         = field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should match the following pattern \" pattern \" and was \\\" \" field \" \\\" \"\n \n     } else if (rule_type ~ \/^minLength|maxLength$\/) {\n-        comparator  = $2 == \"maxLength\" ? \">=\" : \"<=\"\n+        comparator  = $2 == \"maxLength\" ? \">\" : \"<\"\n         limit       = params[2]\n         term        = $2 == \"maxLength\" ? \"less\" : \"greater\"\n \n"}
{"commit":"aea0fb6e054d669b7448bdbc5427ef05a979a9eb","subject":"Pass doxygen doc comments through to the output.","message":"Pass doxygen doc comments through to the output.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/makeobjops.awk\n+++ sys\/tools\/makeobjops.awk\n@@ -153,6 +153,21 @@\n }\n \n #\n+# Pass doc comments through to the C file\n+#\n+function handle_doc ()\n+{\n+\tdoc = \"\"\n+\twhile (!\/\\*\\\/\/) {\n+\t\tdoc = doc $0 \"\\n\";\n+\t\tgetline < src;\n+\t\tlineno++;\n+\t}\n+\tdoc = doc $0 \"\\n\";\n+\treturn doc;\n+}\n+\n+#\n #   Handle \"CODE\" and \"HEADER\" sections.\n #   Returns the code as-is.\n #\n@@ -176,7 +191,7 @@\n #   Handle \"METHOD\" and \"STATICMETHOD\" sections.\n #\n \n-function handle_method (static)\n+function handle_method (static, doc)\n {\n \t#\n \t#   Get the return type and function name and delete that from\n@@ -282,8 +297,10 @@\n \t\tdefault = \"kobj_error_method\";\n \n \t# the method description \n+\tprinth(\"\/** @brief Unique descriptor for the \" umname \"() method *\/\");\n \tprinth(\"extern struct kobjop_desc \" mname \"_desc;\");\n \t# the method typedef\n+\tprinth(\"\/** @brief A function implementing the \" umname \"() method *\/\");\n \tprototype = \"typedef \" ret \" \" mname \"_t(\";\n \tprinth(format_line(prototype argument_list \");\",\n \t    line_width, length(prototype)));\n@@ -298,6 +315,7 @@\n \tprintc(\"};\\n\");\n \n \t# Print out the method itself\n+\tprinth(doc);\n \tif (0) {\t\t# haven't chosen the format yet\n \t\tprinth(\"static __inline \" ret \" \" umname \"(\" varname_list \")\");\n \t\tprinth(\"\\t\" join(\";\\n\\t\", arguments, num_arguments) \";\");\n@@ -422,6 +440,7 @@\n \tintname = \"\";\n \tlineno = 0;\n \terror = 0;\t\t# to signal clean up and gerror setting\n+\tlastdoc = \"\";\n \n \twhile (!error && (getline < src) > 0) {\n \t\tlineno++;\n@@ -442,17 +461,23 @@\n \n \t\tif (\/^$\/) {\t\t# skip empty lines\n \t\t}\n-\t\telse if (\/^INTERFACE[ \t]+[^ \t;]*[ \t]*;?[ \t]*$\/)\n+\t\telse if (\/^\\\/\\*\\*\/)\n+\t\t\tlastdoc = handle_doc();\n+\t\telse if (\/^INTERFACE[ \t]+[^ \t;]*[ \t]*;?[ \t]*$\/) {\n+\t\t\tprinth(lastdoc);\n+\t\t\tlastdoc = \"\";\n \t\t\thandle_interface();\n-\t\telse if (\/^CODE[ \t]*{$\/)\n+\t\t} else if (\/^CODE[ \t]*{$\/)\n \t\t\tprintc(handle_code());\n \t\telse if (\/^HEADER[\t ]*{$\/)\n \t\t\tprinth(handle_code());\n-\t\telse if (\/^METHOD\/)\n-\t\t\thandle_method(0);\n-\t\telse if (\/^STATICMETHOD\/)\n-\t\t\thandle_method(1);\n-\t\telse {\n+\t\telse if (\/^METHOD\/) {\n+\t\t\thandle_method(0, lastdoc);\n+\t\t\tlastdoc = \"\";\n+\t\t} else if (\/^STATICMETHOD\/) {\n+\t\t\thandle_method(1, lastdoc);\n+\t\t\tlastdoc = \"\";\n+\t\t} else {\n \t\t\tdebug($0);\n \t\t\twarnsrc(\"Invalid line encountered\");\n \t\t\terror = 1;\n"}
{"commit":"00e3853698079196f9e56026923e23da4890f0a7","subject":"Languages: add Sindhi language","message":"Languages: add Sindhi language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -261,6 +261,20 @@\n     Locale[\"rm\"][\"iso\"]                = \"roh\"\n     Locale[\"rm\"][\"glotto\"]             = \"roma1326\"\n     Locale[\"rm\"][\"script\"]             = \"Latn\"\n+\n+    #? Sindhi\n+    Locale[\"sd\"][\"name\"]               = \"Sindhi\"\n+    Locale[\"sd\"][\"endonym\"]            = \"\u0633\u0646\u068c\u064a\"\n+    #Locale[\"sd\"][\"translations-of\"]\n+    #Locale[\"sd\"][\"definitions-of\"]\n+    #Locale[\"sd\"][\"synonyms\"]\n+    #Locale[\"sd\"][\"examples\"]\n+    #Locale[\"sd\"][\"see-also\"]\n+    Locale[\"sd\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sd\"][\"iso\"]                = \"snd\"\n+    Locale[\"sd\"][\"glotto\"]             = \"sind1272\"\n+    Locale[\"sd\"][\"script\"]             = \"Arab\"\n+    Locale[\"sd\"][\"rtl\"]                = \"true\" # RTL language\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"428d9a8982e7441527a025b96d94cf0401584482","subject":"Distribution of permute function is fine.","message":"Distribution of permute function is fine.\n","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -172,7 +172,6 @@\n \n \n # random permutation of k=n integers between 1 and n\n-# the distribution of this isn't great, but it does cover the whole range of permutations\n # a random deck is: split(permute(52,52), deck, SUBSEP)\n function permute(n,  k,   i, r, p) {\n     k = checkpos(k, n, \"permute: second argument must be positive\")\n"}
{"commit":"721c387b07c50a2170e5f68ac4bcb01a91b116d6","subject":"INTEGRATION: CWS locales203 (1.2.2); FILE MERGED 2006\/04\/20 16:31:23 er 1.2.2.1: #i61058# yet another place for MS-LANGIDs: http:\/\/msdn.microsoft.com\/library\/en-us\/intl\/nls_238z.asp","message":"INTEGRATION: CWS locales203 (1.2.2); FILE MERGED\n2006\/04\/20 16:31:23 er 1.2.2.1: #i61058# yet another place for MS-LANGIDs: http:\/\/msdn.microsoft.com\/library\/en-us\/intl\/nls_238z.asp\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/isolang\/lcid.awk\n+++ i18npool\/source\/isolang\/lcid.awk\n@@ -1,41 +1,60 @@\n #!\/usr\/bin\/awk -f\n #\n-# Utility to compare MS-LANGID definitions with those defined in ..\/..\/inc\/i18npool\/lang.hxx\n+# Utility to compare MS-LANGID definitions with those defined in ..\/..\/inc\/i18npool\/lang.h\n # Run in i18npool\/source\/isolang\n #\n # outputs new #define LANGUAGE_... 0x... and also some commented out substrings\n # that were matched in already existing defines.\n #\n-# Expects input from the saved page of\n+# ATTENTION! The sed filter in the command line examples below assures that a\n+# '|' border is drawn by html2text in data tables, and nowhere else, on which\n+# this awk script relies. This script also heavily relies on the column layout\n+# encountered. Should MS decide to change their layout or their CSS names\n+# (\"data...\"), this would probably break. Should html2text decide that the last\n+# border=\"...\" attribute encountered wins instead of the first, this may break\n+# also.\n+#\n+# sed -e 's\/|\/,\/g; s\/<TABLE\/<table\/g; \/<table\/\\!b; s\/\\(<table[^>]*\\)\\(border\\|BORDER\\)=\"[0-9]*\"\/\\1\/g; s\/\\(<table\\)\\([^>]*\\(class\\|CLASS\\)=\"data\\)\/\\1 border=\"1\"\\2\/g'\n+#\n+# After html2text best if file cleaned up to _only_ contain the table entries,\n+# but not necessary, entries are filtered. Check output.\n+#\n+# Expects input from the saved page of one of\n #\n # (1)\n # http:\/\/www.microsoft.com\/globaldev\/reference\/lcid-all.mspx\n # filtered through ``html2text -nobs ...'', generated table:\n-# blank,name,hex,dec fields:\n-#    |Afrikaans_-_South_Africa____________|0436|1078_|\n-# Best if file cleaned up to _only_ contain the table entries, but not\n-# necessary, entries are filtered. Check output.\n+# blank,name,hex,dec,blank fields:\n+#    |Afrikaans_-_South_Africa___|0436___|1078___|\n #\n # complete command line:\n-# lynx -dump -source http:\/\/www.microsoft.com\/globaldev\/reference\/lcid-all.mspx | html2text -nobs | awk -f lcid.awk >outfile\n+# lynx -dump -source http:\/\/www.microsoft.com\/globaldev\/reference\/lcid-all.mspx | sed -e 's\/|\/,\/g; s\/<TABLE\/<table\/g; \/<table\/\\!b; s\/\\(<table[^>]*\\)\\(border\\|BORDER\\)=\"[0-9]*\"\/\\1\/g; s\/\\(<table\\)\\([^>]*\\(class\\|CLASS\\)=\"data\\)\/\\1 border=\"1\"\\2\/g' | html2text -nobs -width 234 | awk -f lcid.awk >outfile\n #\n #\n # (2)\n # http:\/\/www.microsoft.com\/globaldev\/reference\/winxp\/xp-lcid.mspx\n # filtered through ``html2text -nobs ...'', generated table:\n-# blank,name,hex,dec,inputlocales,collection fields:\n-#    |Afrikaans                           |0436|1078 |0436:       |Basic     |\n-# Best if file cleaned up to _only_ contain the table entries, but not\n-# necessary, entries are filtered. Check output.\n+# blank,name,hex,dec,inputlocales,collection,blank fields:\n+#    |Afrikaans   |0436   |1078   |0436:00000409,   |Basic   |\n #\n # complete command line:\n-# lynx -dump -source http:\/\/www.microsoft.com\/globaldev\/reference\/winxp\/xp-lcid.mspx | html2text -nobs | awk -f lcid.awk >outfile\n+# lynx -dump -source http:\/\/www.microsoft.com\/globaldev\/reference\/winxp\/xp-lcid.mspx | sed -e 's\/|\/,\/g; s\/<TABLE\/<table\/g; \/<table\/\\!b; s\/\\(<table[^>]*\\)\\(border\\|BORDER\\)=\"[0-9]*\"\/\\1\/g; s\/\\(<table\\)\\([^>]*\\(class\\|CLASS\\)=\"data\\)\/\\1 border=\"1\"\\2\/g' | html2text -nobs -width 234 | awk -f lcid.awk >outfile\n+#\n+#\n+# (3)\n+# http:\/\/msdn.microsoft.com\/library\/en-us\/intl\/nls_238z.asp\n+# filtered through ``html2text -nobs ...'', generated table:\n+# blank,hex,locale,name,blank  fields:\n+#   |0x0436___|af-ZA___|Afrikaans_(South_Africa)___|\n+#\n+# complete command line:\n+# lynx -dump -source http:\/\/msdn.microsoft.com\/library\/en-us\/intl\/nls_238z.asp | sed -e 's\/|\/,\/g; s\/<TABLE\/<table\/g; \/<table\/\\!b; s\/\\(<table[^>]*\\)\\(border\\|BORDER\\)=\"[0-9]*\"\/\\1\/g; s\/\\(<table\\)\\([^>]*\\(class\\|CLASS\\)=\"data\\)\/\\1 border=\"1\"\\2\/g' | html2text -nobs -width 234 | awk -f lcid.awk >outfile\n #\n # Author: Eike Rathke <erack@sun.com>, <er@openoffice.org>\n #\n \n BEGIN {\n-    while ((getline < \"..\/..\/inc\/i18npool\/lang.hxx\") > 0)\n+    while ((getline < \"..\/..\/inc\/i18npool\/lang.h\") > 0)\n     {\n         if ($0 ~ \/^#define[ ]*LANGUAGE_[_A-Za-z0-9]*[ ]*0x[0-9a-fA-F]\/)\n         {\n@@ -49,43 +68,76 @@\n     filetype = 0\n     lcid_all = 1\n     xp_lcid  = 2\n+    nls_238z = 3\n+    filetypename[filetype] = \"unknown\"\n+    filetypename[lcid_all] = \"lcid_all\"\n+    filetypename[xp_lcid]  = \"xp_lcid\"\n+    filetypename[nls_238z] = \"nls_238z\"\n+    namefield[lcid_all] = 2\n+    namefield[xp_lcid]  = 2\n+    namefield[nls_238z] = 4\n+    hexfield[lcid_all]  = 3\n+    hexfield[xp_lcid]   = 3\n+    hexfield[nls_238z]  = 2\n+    locfield[lcid_all]  = 0\n+    locfield[xp_lcid]   = 0\n+    locfield[nls_238z]  = 3\n }\n \n (NF < 5) { next }\n \n !filetype {\n     if (NF == 5)\n-        filetype = lcid_all\n+    {\n+        if ($2 ~ \/^0x\/)\n+            filetype = nls_238z\n+        else if ($2 ~ \/^Afrikaans\/)\n+            filetype = lcid_all\n+    }\n     else if (NF == 7)\n         filetype = xp_lcid\n-    else\n+    if (!filetype)\n         next\n+    name = namefield[filetype]\n+    hex = hexfield[filetype]\n+    loc = locfield[filetype]\n }\n \n-($3 !~ \/^[0-9a-fA-F][0-9a-fA-F]*$\/) { filtered[$3] = $0; next }\n+{\n+    gsub( \/^[^:]*:\/, \"\", $name)\n+    gsub( \/\\..*\/, \"\", $name)\n+    gsub( \/(^[ _]+)|([ _]+$)\/, \"\", $hex)\n+    gsub( \/(^[ _]+)|([ _]+$)\/, \"\", $name)\n+    if (loc)\n+        gsub( \/(^[ _]+)|([ _]+$)\/, \"\", $loc)\n+}\n+\n+($hex ~ \/^0x\/) { $hex = substr( $hex, 3) }\n+\n+# if only 464 instead of 0464, make it match lang.h\n+(length($hex) < 4) { $hex = \"0\" $hex }\n+\n+($hex !~ \/^[0-9a-fA-F][0-9a-fA-F]*$\/) { filtered[$hex] = $0; next }\n \n # all[HEX]=string\n-{ all[toupper($3)] = $2 }\n+{ all[toupper($hex)] = $name }\n+\n+(loc) { comment[toupper($hex)] = \"  \/* \" $loc \" *\/\" }\n \n # new hex: newlang[HEX]=string\n-!(toupper($3) in lang) { newlang[toupper($3)] = $2 }\n+!(toupper($hex) in lang) { newlang[toupper($hex)] = $name }\n \n END {\n     if (!filetype)\n     {\n-        print \"No file type (lcid-all|xp-lcid) recognized.\" >>\"\/dev\/stderr\"\n+        print \"No file type recognized.\" >>\"\/dev\/stderr\"\n         exit(1)\n     }\n-    else if (filetype == lcid_all)\n-        print \"\/\/ assuming lcid-all file\"\n-    else if (filetype == xp_lcid)\n-        print \"\/\/ assuming xp-lcid file\"\n-    else\n-        print \"\/\/ unknown file type\"\n+    print \"\/\/ assuming \" filetypename[filetype] \" file\"\n     # every new language\n     for (x in newlang)\n     {\n-        printf( \"xxxxxxx LANGUAGE_%-26s 0x%s\\n\", newlang[x], x)\n+        printf( \"xxxxxxx LANGUAGE_%-26s 0x%s%s\\n\", newlang[x], x, comment[x])\n         n = split(newlang[x],arr,\/[^A-Za-z0-9]\/)\n         def = \"\"\n         for (i=1; i<=n; ++i)\n"}
{"commit":"bac5d709db4338738b76badfda02be1ecb83637c","subject":"Utils: fix curl() by parameterize(url)","message":"Utils: fix curl() by parameterize(url)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -148,7 +148,7 @@\n         w(\"[WARNING] curl is not found.\")\n         return NULLSTR\n     } else {\n-        command = Curl \" --location --silent \" url\n+        command = Curl \" --location --silent \" parameterize(url)\n         content = NULLSTR\n         while ((command |& getline line) > 0)\n             content = (content ? content \"\\n\" : NULLSTR) line\n"}
{"commit":"cc902e3272cb8ae10055aaff8cb6525620e12226","subject":"mpers.awk: add support for DWARF files generated by clang","message":"mpers.awk: add support for DWARF files generated by clang\n\n* mpers.awk: Define default_pointer_size.  Initialize byte_size\nfor DW_TAG_pointer_type to default_pointer_size.  Set parent\nfor DW_TAG_member only.  Handle DW_AT_count as an alternative\nto DW_AT_upper_bound.\n","repos":"Saruta\/strace,Saruta\/strace,Saruta\/strace,cuviper\/strace,Saruta\/strace,Saruta\/strace,cuviper\/strace,cuviper\/strace,cuviper\/strace,cuviper\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mpers.awk\n+++ mpers.awk\n@@ -1,7 +1,7 @@\n #!\/bin\/gawk\n #\n # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com>\n-# Copyright (c) 2015 Dmitry V. Levin <ldv@altlinux.org>\n+# Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>\n # All rights reserved.\n #\n # Redistribution and use in source and binary forms, with or without\n@@ -173,6 +173,8 @@\n \treturn leave(what_idx, \"\")\n }\n BEGIN {\n+\tmatch(ARCH_FLAG, \/[[:digit:]]+\/, temparray)\n+\tdefault_pointer_size = temparray[0] \/ 8\n \tprint \"#include <inttypes.h>\"\n }\n \/^<[[:xdigit:]]+>\/ {\n@@ -181,9 +183,6 @@\n \tidx = \"0x\" matches[2]\n \tarray[idx][\"idx\"] = idx\n \tparent[level] = idx\n-\tif (level > 1) {\n-\t\tarray[idx][\"parent\"] = parent[level-1]\n-\t}\n }\n \/^DW_AT_data_member_location\/ {\n \tif (!match($0, \/\\(DW_OP_plus_uconst:[[:space:]]+([[:digit:]]+)\\)\/, temparray))\n@@ -211,10 +210,18 @@\n \tmatch($0, \/[[:digit:]]+\/, temparray)\n \tarray[parent[level-1]][\"upper_bound\"] = temparray[0] + 1\n }\n+\/^DW_AT_count\/ {\n+\tmatch($0, \/[[:digit:]]+\/, temparray)\n+\tarray[parent[level-1]][\"upper_bound\"] = temparray[0]\n+}\n \/^Abbrev Number:[^(]+\\(DW_TAG_\/ {\n \tif (match($0, \/typedef|union_type|structure_type|pointer_type\\\n |enumeration_type|array_type|base_type|member\/, temparray)) {\n \t\tarray[idx][\"special\"] = temparray[0]\n+\t\tif (\"pointer_type\" == temparray[0])\n+\t\t\tarray[idx][\"byte_size\"] = default_pointer_size\n+\t\tif (level > 1 && \"member\" == temparray[0])\n+\t\t\tarray[idx][\"parent\"] = parent[level-1]\n \t}\n }\n END {\n"}
{"commit":"317e0054bdd6e7c3895c557cae71a1f4a473d676","subject":"Updated timeCalculator to work with the more complex prints.","message":"Updated timeCalculator to work with the more complex prints.\n","repos":"lagerspetz\/TimeSeriesSpark,lagerspetz\/TimeSeriesSpark","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- timeCalculator.awk\n+++ timeCalculator.awk\n@@ -1,13 +1,12 @@\n-#!\/usr\/bin\/awk -f\n-\n-$1 ~ \"^Time edu.berkeley.cs.\" { a[$1] += $2 }\n-$1 ~ \"^Time spark.timeseries.\" { a[$1] += $2 }\n+#![$2] += $NF }\n+$0 ~ \"^Time edu.berkeley.cs.amplab.carat.\" { a[$2] += $NF }\n+$0 ~ \"^Time spark.timeseries.\" { a[$2] += $NF }\n \n END {\n         for (k in a){\n                 name=k\n-                gsub(\"Time edu.berkeley.cs.amplab.carat\", \"\", name)\n-                gsub(\"Time spark.timeseries.\", \"\", name)\n+                gsub(\"edu.berkeley.cs.amplab.carat.\", \"\", name)\n+                gsub(\"spark.timeseries.\", \"\", name)\n                 print a[k], name\n         }\n }\n"}
{"commit":"7b571156be3c6532eb39dc84804211c964a4350b","subject":"Clarify printlist.awk","message":"Clarify printlist.awk\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- printList.awk\n+++ printList.awk\n@@ -7,17 +7,18 @@\n # No processing on header and other lines unrelated to shows\n \/=HYPERLINK\/ {\n     split ($1,str,\"\\\"\")\n-    description = str[4] \"\\n\"\n+    title = str[4] \"\\n\"\n     #\n+    duration = \"\"\n     if ($2 && $2 !~ \/^00:00\/) {\n         split ($2,fld,\":\")\n         if (fld[1] != \"00\" ) {\n             sub (\/^0\/,\"\",fld[1])\n-            description = description fld[1] \"h \"\n+            duration = fld[1] \"h \"\n         }\n         sub (\/^0\/,\"\",fld[2])\n-        description = description fld[2] \"m\\n\"\n+        duration = duration fld[2] \"m\\n\"\n     }\n-    description = description $3 \"\\n\"\n-    print description\n+    description = $3 \"\\n\"\n+    print title duration description\n }\n"}
{"commit":"e952fc49b447edcc06981c71e27b4a0197e76768","subject":"Probably going to rewrite in Python.  Stupid AWK and its lack of... sane language features.","message":"Probably going to rewrite in Python.  Stupid AWK and its lack of... sane language features.\n","repos":"brettdh\/libcmm,brettdh\/libcmm,brettdh\/libcmm,brettdh\/libcmm,brettdh\/libcmm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- tests\/multi_app_eval\/ma_process_results.awk\n+++ tests\/multi_app_eval\/ma_process_results.awk\n@@ -1,8 +1,8 @@\n BEGIN {\n-    split(\"\", vanilla_avg_fg_response_times);\n-    split(\"\", vanilla_avg_bg_total_throughputs);\n-    split(\"\", intnw_avg_fg_response_time);\n-    split(\"\", intnw_avg_bg_total_throughputs);\n+    split(\"\", vanilla_fg_response_times);\n+    split(\"\", vanilla_bg_total_throughputs);\n+    split(\"\", intnw_fg_response_time);\n+    split(\"\", intnw_bg_total_throughputs);\n \n     split(\"\", vanilla_avg_fg_chunksizes);\n     split(\"\", vanilla_avg_bg_chunksizes);\n@@ -17,9 +17,15 @@\n     run_num = $4;\n \n     # initialize data structures\n+    split(\"\", vanilla_fg_sender_nums);\n+    split(\"\", vanilla_bg_sender_nums);\n+    split(\"\", intnw_fg_sender_nums);\n+    split(\"\", intnw_bg_sender_nums);\n \n-    total_send_times = 0;\n+    total_send_time = 0;\n     send_count = 0;\n+    sender_num = 0;\n+    sender_count = 0;\n }\n \n # Worker PID 12345 - intnw foreground sender results\n@@ -29,30 +35,56 @@\n     label = $6; # 'foreground' or 'background'\n     \n     #if it's not the first time...\n-    if (current_type != \"\") {\n+    if (current_type != \"\" && sender_num == 0 || sender_num == pid) {\n         # add to running average - depends on whether I'm FG or BG\n         # TODO: pick up here.  write down what figures we need\n         #       and then figure out how to compute them.\n+        # XXX: the array management and other code is really ugly.\n+        #  Might be better overall to rewrite in Python;\n+        #  the simplicity of AWK's text parsing doesn't appear\n+        #  to be worth the headaches.\n         if (current_type == \"vanilla\") {\n             if (current_label == \"foreground\") {\n-                #vanilla_avg_fg_response_times[\n+                vanilla_fg_response_times[run_num] += (total_send_time \/ send_count);\n             } else if (current_label == \"background\") {\n-                \n+                vanilla_bg_throughputs[run_num] += ((send_count * current_chunksize) \/ total_send_time);\n             }\n         } else if (current_type == \"intnw\") {\n-            if (current_label == \"foreground\") {\n-                \n+            if (current_label == \"foreground\") { \n+                intnw_fg_response_times[run_num] += (total_send_time \/ send_count);\n             } else if (current_label == \"background\") {\n-                \n+                intnw_bg_throughputs[run_num] += ((send_count * current_chunksize) \/ total_send_time);\n             }\n         }\n     }\n+\n+    if (sender_num != pid) {\n+        if (current_type == \"vanilla\") {\n+            if (current_label == \"foreground\") {\n+                vanilla_fg_response_times[run_num] \/= sender_count;\n+            } else if (current_label == \"background\") {\n+                vanilla_bg_response_times[run_num] \/= sender_count;\n+            }\n+        } else if (current_type == \"intnw\") {\n+            if (current_label == \"foreground\") { \n+                intnw_fg_response_times[run_num] \/= sender_count;\n+            } else if (current_label == \"background\") {\n+                intnw_bg_response_times[run_num] \/= sender_count;\n+            }\n+        }\n+        \n+        sender_count = 0;\n+    } else {\n+        sender_count += 1;\n+    }\n+    sender_num = pid;\n+    total_send_time = 0;\n+    send_count = 0;\n \n     # initialize data structures\n     current_type = type;\n     current_label = label;\n \n-        \n     if (type != \"vanilla\" && type != \"intnw\") {\n         printf(\"SAW UNKNOWN TYPE %s\\n\", type);\n     }\n@@ -72,8 +104,8 @@\n     timestamp = $1;\n     response_time = $2;\n \n-    \n-    \n+    total_send_time += response_time;\n+    send_count += 1;\n }\n \n # print everything as it is processed\n@@ -81,6 +113,22 @@\n     print;\n }\n \n+function print_summary(results_array)\n+{\n+    cur_run = 0;\n+    cur_sender = 0;\n+    for (run in results_array) {\n+        split(run, indices, SUBSEP);\n+        if (\n+            printf(\"Run %d:\\n\", );\n+            cur_run = indices[i];\n+            sender_num = indices[i+1];\n+            \n+        }\n+    }\n+    \n+}\n+\n END {\n     # print summary\n     \n"}
{"commit":"a97b8863355d5222d80c19a2a4e3bde3d3ef5c24","subject":"Accounting: better datanodes filtering","message":"Accounting: better datanodes filtering\n","repos":"MetaCenterCloudPuppet\/cesnet-site_hadoop,MetaCenterCloudPuppet\/cesnet-site_hadoop,MetaCenterCloudPuppet\/cesnet-site_hadoop,MetaCenterCloudPuppet\/cesnet-site_hadoop","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- files\/accounting\/hdfs.awk\n+++ files\/accounting\/hdfs.awk\n@@ -57,7 +57,7 @@\n #\/^Cache Remaining:.*\/\t\t{cache_free=$3}\n \n \/^$\/ {\n-\tif (name != \"(none)\" && ip !~ \/^10\\.\/) {\n+\tif (name != \"(none)\" && state != 2) {\n \t\tprint \"INSERT INTO hdfs (id_measure, hostname, state, full, disk, disk_free, disk_used, block_under, block_corrupt, block_missing) VALUES (last_insert_id(), \" dbstr(name) \", \" dbi(state) \", \" dbi(full) \", IFNULL(\" dbi(disk) \", \" dbi(disk_free) \" + \" dbi(disk_used) \"), \" dbi(disk_free) \", \" dbi(disk_used) \", \" dbi(block_under) \", \" dbi(block_corrupt) \", \" dbi(block_missing) \");\";\n \t}\n \treset()\n"}
{"commit":"0ece34afe0e97fcd4742b83798d290946a82ab83","subject":"Shorten header; eliminate useless pubDate","message":"Shorten header; eliminate useless pubDate\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -2,9 +2,9 @@\n \n BEGIN {\n     # Print header\n-    printf (\"contentType\\tcontentId\\tpubDate\\ttitle\\tEntityId\\tgenre\\trating\\t\")\n-    printf (\"showType\\tduration\\tdateType\\toriginalDate\\tshowContentId\\tseasonContentId\\t\")\n-    printf (\"seasonNumber\\tepisodeNumber\\tdescription\\n\")\n+    printf (\"Content Type\\tContent ID\\tTitle\\tEntity ID\\tGenre\\tRating\\t\")\n+    printf (\"Show Type\\tDuration\\tDate Type\\tOriginal Date\\tShow ID\\tSeason ID\\t\")\n+    printf (\"Sn #\\tEp #\\tDescription\\n\")\n }\n \n # Don't process credits\n@@ -14,6 +14,12 @@\n \n # Don't use Canadian ratings\n \/<rating systemCode=\"ca-tv\">\/ {\n+    next\n+}\n+\n+# Don't use pubDate - it's too random to be useful\n+# <pubDate>2020-06-05T21:51:00Z<\/pubDate>\n+\/<pubDate>\/ {\n     next\n }\n \n@@ -32,7 +38,6 @@\n     # print \"contentType = \" contentType\n     # print \"contentId = \" contentId\n     # Make sure no fields will be carried over due to missing keys\n-    pubDate = \"\"\n     title = \"\"\n     EntityId = \"\"\n     genre = \"\"\n@@ -46,16 +51,6 @@\n     seasonNumber = \"\"\n     episodeNumber = \"\"\n     description = \"\"\n-}\n-\n-# Grab pubDate\n-# <pubDate>2020-06-05T21:51:00Z<\/pubDate>\n-\/<pubDate>\/ {\n-    split ($0,fld,\"[<>]\")\n-    pubDate = fld[3]\n-    sub (\/T\/,\" \",pubDate)\n-    sub (\/Z\/,\"\",pubDate)\n-    # print \"pubDate = \" pubDate\n }\n \n # Grab title\n@@ -171,8 +166,8 @@\n         EntityId = \"_23842\"\n         # print \"EntityId = \" EntityId\n     }\n-    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", contentType, contentId, \\\n-            pubDate, title, EntityId, genre, rating, showType, duration, dateType, originalDate, \\\n+    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", contentType, contentId, \\\n+            title, EntityId, genre, rating, showType, duration, dateType, originalDate, \\\n             showContentId, seasonContentId, seasonNumber, episodeNumber, description)\n }\n \n"}
{"commit":"91901ff4d52788b8513eb04696821787461d419d","subject":"increase specificity","message":"increase specificity\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -94,7 +94,7 @@\n \n function deoboify(curie,  a){\n \tsplit(curie, a , \":\")\n-\tif(match(a[2], a[1]) > 0){\n+\tif(match(a[2], a[1]\"_\") > 0){\n \t\tsub(\"_\", \":\", a[2]);\n \t\tcurie=a[2]\n \t}\n"}
{"commit":"4368c26894e75925753422ad5dcb7d90fc91dded","subject":"changes values rule to be pattern to match w\/ dp","message":"changes values rule to be pattern to match w\/ dp\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -80,11 +80,11 @@\n \n         test=field \" \" comparator \" \" limit\n         msg=field \" in line \\\" NR \\\" should be \" term \" than \" limit \" and was \\\" \" field \" \\\" \"\n-    } else if (rule_type == \"values\") {\n-        values=params[2]\n+    } else if (rule_type == \"pattern\") {\n+        pattern=params[2]\n \n-        test=field \" != \\\"\\\" && \" field \" !~ \/^(\" values \")$\/\"\n-        msg=field \" in line \\\" NR \\\" should be one of \" values \" and was \\\" \" field \" \\\" \"\n+        test=field \" != \\\"\\\" && \" field \" !~ \" pattern\n+        msg=field \" in line \\\" NR \\\" should match the following pattern \" pattern \" and was \\\" \" field \" \\\" \"\n     }\n \n     if (!options[\"mode\"]) options[\"mode\"] = \"text\"\n"}
{"commit":"6cd74b4d2d3bf95390a1f7c738c11737c40a54a0","subject":"let stuff trickle through, clean up and close last slide when open","message":"let stuff trickle through, clean up and close last slide when open","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/hierarchy.awk\n+++ tools\/hierarchy.awk\n@@ -21,10 +21,8 @@\n }\n \n \/<h1>\/ {\n-    #print \"<div class=\\\"slide\\\">\"\n     heading = 1\n     hunt = 1\n-    #print\n     next\n }\n \n@@ -35,29 +33,25 @@\n }\n \n \/<h2>\/ && heading == 0 {\n-    #print \"<\/div>\"\n-    #print \"<div class=\\\"slide\\\">\"\n-    #print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n     heading = 2\n     hunt = 1\n-    #print\n     next\n }\n \n \/<h3>\/ && heading == 0 {\n-    #print \"<\/div>\"\n-    #print \"<div class=\\\"slide\\\">\"\n-    #print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n-    #print \"<h2 style=\\\"display: none;\\\">\" hier[2] \"<\/h2>\"\n     heading = 3\n     hunt = 1\n-    #print\n     next\n }\n \n-\/<h4>\/ && heading == 3 {\n+\/<h4>\/ && heading == 0 {\n     heading = 4\n     hunt = 1\n-    #print\n     next\n+}\n+\n+{ print }\n+\n+END {\n+    if (slide) print \"<\/div>\"\n }"}
{"commit":"b61513a89d4c8639ebad028c6d5f270b4cd868b0","subject":"Translators\/BingTranslator: show error if statusCode is 400","message":"Translators\/BingTranslator: show error if statusCode is 400\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -276,6 +276,12 @@\n         return\n     }\n \n+    if (ast[0 SUBSEP \"statusCode\"] == \"400\") {\n+        e(\"[ERROR] \" ucfirst(Option[\"engine\"]) \" does not support the specified language(s)\")\n+        ExitCode = 1\n+        return\n+    }\n+\n     translation = unparameterize(ast[0 SUBSEP 0 SUBSEP \"translations\" SUBSEP 0 SUBSEP \"text\"])\n \n     returnIl[0] = il = _sl == \"auto-detect\" ?\n"}
{"commit":"739d628f284148f97f33b2a4141d0849f2ccc077","subject":"Add Javadoc comments to the constants. (dm)","message":"Add Javadoc comments to the constants. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2613 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Bindings\/Java\/constants.awk\n+++ Bindings\/Java\/constants.awk\n@@ -24,7 +24,7 @@\n }\n \n function brlCommand(name, symbol, value, help) {\n-  writeCommandDefinition(name, value)\n+  writeCommandDefinition(name, value, help)\n }\n \n function brlBlock(name, symbol, value, help) {\n@@ -32,7 +32,7 @@\n   if (name == \"PASSKEY\") return\n \n   if (value ~ \/^0[xX][0-9a-fA-F]+00$\/) {\n-    writeCommandDefinition(name, toupper(value) \"00\")\n+    writeCommandDefinition(name, toupper(value) \"00\", help)\n   }\n }\n \n@@ -52,11 +52,11 @@\n   } else {\n     return\n   }\n-  writeJavaConstant(\"KEY_FLG_\" name, value)\n+  writeJavaConstant(\"KEY_FLG_\" name, value, help)\n }\n \n function brlDot(number, symbol, value, help) {\n-  writeJavaConstant(\"BRL_DOT\" number, value)\n+  writeJavaConstant(\"BRL_DOT\" number, value, help)\n }\n \n function apiType(name, symbol, value, help) {\n@@ -75,16 +75,21 @@\n   }\n }\n \n-function writeCommandDefinition(name, value) {\n-  writeJavaConstant(\"KEY_CMD_\" name, \"(KEY_TYPE_CMD | \" value \")\")\n+function writeCommandDefinition(name, value, help) {\n+  writeJavaConstant(\"KEY_CMD_\" name, \"(KEY_TYPE_CMD | \" value \")\", help)\n }\n \n function writeKeyDefinition(name, value) {\n   writeJavaConstant(\"KEY_SYM_\" name, \"(KEY_TYPE_SYM | \" value \")\")\n }\n \n-function writeJavaConstant(name, value) {\n+function writeJavaConstant(name, value, help) {\n+  writeJavadocComment(help)\n   print \"  public static final int \" name \" = \" value \";\"\n+}\n+\n+function writeJavadocComment(text) {\n+  print \"  \/** \" text \" *\/\"\n }\n \n function hexadecimalValue(value) {\n"}
{"commit":"9b5f5eb38c1dcbd2fd263a8fac190f6b7be6a447","subject":"makeDistortosConfiguration.awk: add missing support for hex numbers","message":"makeDistortosConfiguration.awk: add missing support for hex numbers","repos":"DISTORTEC\/distortos,jasmin-j\/distortos,CezaryGapinski\/distortos,DISTORTEC\/distortos,CezaryGapinski\/distortos,DISTORTEC\/distortos,CezaryGapinski\/distortos,CezaryGapinski\/distortos,DISTORTEC\/distortos,CezaryGapinski\/distortos,jasmin-j\/distortos,jasmin-j\/distortos,jasmin-j\/distortos,jasmin-j\/distortos","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- scripts\/makeDistortosConfiguration.awk\n+++ scripts\/makeDistortosConfiguration.awk\n@@ -8,7 +8,7 @@\n # This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not\n # distributed with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n #\n-# date: 2015-08-21\n+# date: 2015-08-25\n #\n \n BEGIN {\n@@ -16,7 +16,7 @@\n \tbooleanTrueConfigPattern = \"^\" configPattern \"=y$\"\n \tbooleanFalseConfigPattern = \"^\" configPattern \"=n$\"\n \tnotSetConfigPattern = \"^# \" configPattern \" is not set$\"\n-\tnumericConfigPattern = \"^\" configPattern \"=[[:digit:]]+$\"\n+\tnumericConfigPattern = \"^\" configPattern \"=(([[:digit:]]+)|(0x[[:xdigit:]]+))$\"\n \tstringConfigPattern = \"^\" configPattern \"=\\\"([^\\\"\\\\\\\\]|\\\\\\\\.)*\\\"$\"\n \n \tprint \"\/**\"\n"}
{"commit":"ca1db9af2617ffe7ffef8bbebb669bfea4c41e43","subject":"indentation: fix awful mixture of tabs and spaces","message":"indentation: fix awful mixture of tabs and spaces\n","repos":"Morantron\/tmux-fingers,Morantron\/tmux-fingers","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/hinter.awk\n+++ scripts\/hinter.awk\n@@ -124,14 +124,14 @@\n   line = $0;\n   pos = 0;\n   col_pos = 0;\n-\tcol_pos_correction = 0;\n+  col_pos_correction = 0;\n \n-\toutput_line = line;\n+  output_line = line;\n \n   while (match(line, finger_patterns)) {\n     n_matches += 1;\n \n-\t\thint = HINTS[n_matches - 1]\n+    hint = HINTS[n_matches - 1]\n     pos += RSTART;\n \n     col_pos = pos;\n@@ -148,7 +148,7 @@\n \n     line_pos = NR;\n \n-\t\tpre_match = substr(output_line, 0, col_pos - 1);\n+    pre_match = substr(output_line, 0, col_pos - 1);\n \n     if (COMPACT_HINTS) {\n       hint_match = sprintf(compound_format, hint, line_match);\n@@ -156,7 +156,7 @@\n       hint_match = sprintf(compound_format, line_match, hint);\n     }\n \n-\t\tpost_match = substr(output_line, col_pos + RLENGTH, length(line) - 1);\n+    post_match = substr(output_line, col_pos + RLENGTH, length(line) - 1);\n \n     output_line = pre_match hint_match post_match;\n \n"}
{"commit":"3245d192aafde0c2600c4a526e99a2e01c9742c8","subject":"INTEGRATION: CWS localefallback (1.1.386); FILE MERGED 2007\/07\/05 11:19:59 er 1.1.386.1: beautify output","message":"INTEGRATION: CWS localefallback (1.1.386); FILE MERGED\n2007\/07\/05 11:19:59 er 1.1.386.1: beautify output\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/list-locales.awk\n+++ i18npool\/source\/localedata\/data\/list-locales.awk\n@@ -4,10 +4,14 @@\n #\/\/ Author: Eike Rathke <erack@sun.com>\n \n BEGIN {\n+    file = \"\"\n+    count = 0\n+}\n+\n+function init_locale() {\n     lcinfo = 0\n     inlang = 0\n     incoun = 0\n-    file = \"\"\n     language = \"\"\n     country = \"\"\n }\n@@ -15,6 +19,8 @@\n FILENAME != file {\n     printEntry()\n     file = FILENAME\n+    ++count\n+    init_locale()\n }\n \n {\n@@ -51,9 +57,19 @@\n \n END {\n     printEntry()\n+    print \"\\n\" count \" locales\"\n }\n \n function printEntry() {\n     if ( file )\n-        printf( \"%s: %s %s\\n\", file, language, country )\n+    {\n+        tmp = file\n+        gsub( \/.*\\\/\/, \"\", tmp )\n+        gsub( \/\\.xml\/, \"\", tmp )\n+        split( tmp, iso, \/_\/ )\n+        if ( iso[2] )\n+            printf( \"%3s_%2s: %s - %s\\n\", iso[1], iso[2], language, country )\n+        else\n+            printf( \"%3s %2s: %s   %s\\n\", iso[1], iso[2], language, country )\n+    }\n }\n"}
{"commit":"acc7b00c9844ff559ae79c4eb4b968cad502f073","subject":"-Remove count from dsl lastPass script","message":"-Remove count from dsl lastPass script\n\n-Correct regex for comment\n","repos":"WalkingMachine\/sara_behaviors,WalkingMachine\/sara_behaviors","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- dsl\/generatePyFile_lastPass.awk\n+++ dsl\/generatePyFile_lastPass.awk\n@@ -3,7 +3,6 @@\n         }\n \n         NR==1{\n-            count=1;\n             print \"#!\/usr\/bin\/env python\\n\\\n # -*- coding: utf-8 -*- \\n\\\n ###########################################################\\n\\\n@@ -69,23 +68,18 @@\n         }\n \n # \/.* \\? .* (: .*)?\/\n-        NR>3 && $0!~\/^\\s*#\/{\n+        NR>3 && !\/^\\W*#\/{\n             parent =$1\n             good_child = $3\n             bad_child = $5\n \n-            if($5~\/^\\s*$\/){\n-                bad_child=$3;\n-            }\n-\n             print \"\\n\\\n-            # x:\"(180+(count*25))\" y:\"(count*60+34)%1000\"\\n\\\n+            # x:\"(180+(NR*25))\" y:\"((NR-3)*60+34)%500\"\\n\\\n             OperatableStateMachine.add('\"parent\"',\\n\\\n-                                    _sm_group_0\"count\",\\n\\\n+                                    _sm_group_0\"NR-3\",\\n\\\n                                     transitions={'done': '\"good_child\"', 'failed': '\"bad_child\"'},\\n\\\n                                     autonomy={'done': Autonomy.Inherit, 'failed': Autonomy.Inherit},\\n\\\n                                     remapping={'input_value': 'input_value'})\";\n-            count++;\n         }\n \n         END{\n"}
{"commit":"dcfec905bf4e2810d24910036aef272189ef21e0","subject":"translate.awk: include \"include\/GenTK\"","message":"translate.awk: include \"include\/GenTK\"\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- translate.awk\n+++ translate.awk\n@@ -4,6 +4,8 @@\n \n @include \"include\/Commons\"\n @include \"include\/Utils\"\n+\n+@include \"include\/GenTK\"\n \n @include \"include\/Languages\"\n @include \"include\/Help\"\n"}
{"commit":"d30fd0a650cb2d97c21d20b3e4d264e5a07f577b","subject":"Parser: add parseJson()","message":"Parser: add parseJson()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Parser.awk\n+++ include\/Parser.awk\n@@ -245,7 +245,53 @@\n     }\n }\n \n-#\n+# JSON parser.\n+function parseJson(returnAST, tokens,\n+                   arrayStartTokens, arrayEndTokens,\n+                   objectStartTokens, objectEndTokens,\n+                   commas, colons,\n+                   ####\n+                   flag, i, j, key, name, p, stack, token) {\n+    # Default parameters\n+    if (!arrayStartTokens[0])  arrayStartTokens[0]  = \"[\"\n+    if (!arrayEndTokens[0])    arrayEndTokens[0]    = \"]\"\n+    if (!objectStartTokens[0]) objectStartTokens[0] = \"{\"\n+    if (!objectEndTokens[0])   objectEndTokens[0]   = \"}\"\n+    if (!commas[0])            commas[0]            = \",\"\n+    if (!colons[0])            colons[0]            = \":\"\n+\n+    stack[p = 0] = 0\n+    flag = 0 # ready to read key\n+    for (i = 0; i < length(tokens); i++) {\n+        token = tokens[i]\n+\n+        if (belongsTo(token, arrayStartTokens))\n+            stack[++p] = 0\n+        else if (belongsTo(token, objectStartTokens))\n+            stack[++p] = NULLSTR\n+        else if (belongsTo(token, objectEndTokens) ||\n+                 belongsTo(token, arrayEndTokens))\n+            --p\n+        else if (belongsTo(token, commas)) {\n+            if (isnum(stack[p])) # array\n+                stack[p]++ # increase index\n+        } else if (belongsTo(token, colons)) {\n+            flag = 1 # ready to read value\n+        } else if (isnum(stack[p]) || flag) {\n+            # Read a value\n+            key = stack[0]\n+            for (j = 1; j <= p; j++)\n+                key = key SUBSEP stack[j]\n+            returnAST[key] = token\n+            flag = 0 # ready to read key\n+        } else {\n+            # Read a key\n+            stack[p] = unparameterize(token)\n+        }\n+    }\n+}\n+\n+# S-expr parser.\n function parseList(returnAST, tokens,\n                    leftBrackets,\n                    rightBrackets,\n"}
{"commit":"3404de7e43d12627ebe6908b8458ecf1eedf19a9","subject":"Commons: add initUrlEncoding() and quote()","message":"Commons: add initUrlEncoding() and quote()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -1,4 +1,43 @@\n #!\/usr\/bin\/gawk -f\n+\n+# Initialize `UrlEncoding`.\n+# See: <https:\/\/en.wikipedia.org\/wiki\/Percent-encoding>\n+function initUrlEncoding() {\n+    UrlEncoding[\"\\n\"] = \"%0A\"\n+    UrlEncoding[\" \"]  = \"%20\"\n+    UrlEncoding[\"!\"]  = \"%21\"\n+    UrlEncoding[\"\\\"\"] = \"%22\"\n+    UrlEncoding[\"#\"]  = \"%23\"\n+    UrlEncoding[\"$\"]  = \"%24\"\n+    UrlEncoding[\"%\"]  = \"%25\"\n+    UrlEncoding[\"&\"]  = \"%26\"\n+    UrlEncoding[\"'\"]  = \"%27\"\n+    UrlEncoding[\"(\"]  = \"%28\"\n+    UrlEncoding[\")\"]  = \"%29\"\n+    UrlEncoding[\"*\"]  = \"%2A\"\n+    UrlEncoding[\"+\"]  = \"%2B\"\n+    UrlEncoding[\",\"]  = \"%2C\"\n+    UrlEncoding[\"-\"]  = \"%2D\"\n+    UrlEncoding[\".\"]  = \"%2E\"\n+    UrlEncoding[\"\/\"]  = \"%2F\"\n+    UrlEncoding[\":\"]  = \"%3A\"\n+    UrlEncoding[\";\"]  = \"%3B\"\n+    UrlEncoding[\"<\"]  = \"%3C\"\n+    UrlEncoding[\"=\"]  = \"%3D\"\n+    UrlEncoding[\">\"]  = \"%3E\"\n+    UrlEncoding[\"?\"]  = \"%3F\"\n+    UrlEncoding[\"@\"]  = \"%40\"\n+    UrlEncoding[\"[\"]  = \"%5B\"\n+    UrlEncoding[\"\\\\\"] = \"%5C\"\n+    UrlEncoding[\"]\"]  = \"%5D\"\n+    UrlEncoding[\"^\"]  = \"%5E\"\n+    UrlEncoding[\"_\"]  = \"%5F\"\n+    UrlEncoding[\"`\"]  = \"%60\"\n+    UrlEncoding[\"{\"]  = \"%7B\"\n+    UrlEncoding[\"|\"]  = \"%7C\"\n+    UrlEncoding[\"}\"]  = \"%7D\"\n+    UrlEncoding[\"~\"]  = \"%7E\"\n+}\n \n # Naive assertion.\n function assert(x, message) {\n@@ -59,6 +98,15 @@\n     return string\n }\n \n+# Return the URL-encoded string.\n+function quote(string,    i, r, s) {\n+    r = \"\"\n+    split(string, s, \"\")\n+    for (i = 1; i <= length(s); i++)\n+        r = r (s[i] in UrlEncoding ? UrlEncoding[s[i]] : s[i])\n+    return r\n+}\n+\n # Replicate a string.\n function replicate(string, len,\n                    ####\n"}
{"commit":"0bd24c92c1d7c3a721c8abdcecc88735ea88c8d1","subject":"In Competition","message":"In Competition\n","repos":"Firebird1029\/CPUx,Firebird1029\/CPUx,Firebird1029\/CPUx","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":""}
{"commit":"96c0848fe59a3d3b3fcbbb316492ef9f4b1f12bb","subject":"INTEGRATION: CWS locales23 (1.4.10); FILE MERGED 2007\/05\/09 11:05:36 er 1.4.10.2: getAllFormats1 is optional 2007\/04\/27 17:11:15 er 1.4.10.1: #i74008# add optional second LC_FORMAT section (LC_FORMAT_1 element) to locale data to be able to distinguish inheritance","message":"INTEGRATION: CWS locales23 (1.4.10); FILE MERGED\n2007\/05\/09 11:05:36 er 1.4.10.2: getAllFormats1 is optional\n2007\/04\/27 17:11:15 er 1.4.10.1: #i74008# add optional second LC_FORMAT section (LC_FORMAT_1 element) to locale data to be able to distinguish inheritance\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/linkermapfile-check.awk\n+++ i18npool\/source\/localedata\/data\/linkermapfile-check.awk\n@@ -15,7 +15,9 @@\n     nPublics = 0\n     sPublic[nPublics++] = \"getAllCalendars_\"\n     sPublic[nPublics++] = \"getAllCurrencies_\"\n-    sPublic[nPublics++] = \"getAllFormats_\"\n+    sPublic[nPublics++] = \"getAllFormats0_\"\n+    bOptional[nPublics] = 1     # getAllFormats1 most times not present\n+    sPublic[nPublics++] = \"getAllFormats1_\"\n     sPublic[nPublics++] = \"getBreakIteratorRules_\"\n     sPublic[nPublics++] = \"getCollationOptions_\"\n     sPublic[nPublics++] = \"getCollatorImplementation_\"\n@@ -53,6 +55,11 @@\n             {\n                 if ( sSymbol[j,symbol] )\n                     bFound = 1\n+            }\n+            if ( !bFound && bOptional[i] )\n+            {\n+                print symbol \" not present but optional\"\n+                bFound = 1\n             }\n             if ( !bFound )\n             {\n"}
{"commit":"5c29834ac3087fc487ff680f7e3cccca705ae651","subject":"account for abstract vertices","message":"account for abstract vertices\n","repos":"dmaticzka\/GraphProt,dmaticzka\/GraphProt,dmaticzka\/GraphProt,dmaticzka\/GraphProt,dmaticzka\/GraphProt","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/gspan2vertex_dict.awk\n+++ bin\/gspan2vertex_dict.awk\n@@ -12,6 +12,11 @@\n \/^v\/ && !\/\\^\/ && !\/#\/ {\n \tprint seqid, vertex_id++, $3, $4-1;\n }\n-# non-viewpoint  vertices only increment nucleotide position\n+# relational and abstract vertices increment vertex id and have no position\n+\/^v\/ && (\/\\^\/ || \/#\/) {\n+\t#print seqid, vertex_id++, $3, -1\n+\tvertex_id++\n+}\n+# non-viewpoint vertices are silent\n \/^V\/ && !\/\\^\/ && !\/#\/ {\n }\n"}
{"commit":"8354bbe738419d4b1d6ae00d125fb348f76b692d","subject":"switch to new Google Translate API * fix #45","message":"switch to new Google Translate API\n* fix #45\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -51,9 +51,10 @@\n \n # Send an HTTP request and get response from Google Translate.\n function getResponse(text, sl, tl, hl,    content, url) {\n-    url = HttpPathPrefix \"\/translate_a\/t?client=t\"              \\\n-        \"&ie=UTF-8&oe=UTF-8\"                                    \\\n-        \"&text=\" preprocess(text) \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl\n+    url = HttpPathPrefix \"\/translate_a\/single?client=t\"                 \\\n+        \"&ie=UTF-8&oe=UTF-8\"                                            \\\n+        \"&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at\"  \\\n+        \"&q=\" preprocess(text) \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl\n \n     print \"GET \" url \" HTTP\/1.1\\n\"             \\\n           \"Host: \" HttpHost \"\\n\"               \\\n@@ -108,7 +109,7 @@\n \n     # Debug mode\n     if (Option[\"debug\"]) {\n-        d(sprintf(\"content='%s'\", content))\n+        d(content)\n         da(tokens, \"tokens[%s]='%s'\")\n         da(ast, \"ast[%s]='%s'\")\n     }\n"}
{"commit":"bb9f32d3145125ba664b6b05bf0a2fd34108e9d2","subject":"TestUtils: perform curl-related tests only if NETWORK_ACCESS is set to yes (#221)","message":"TestUtils: perform curl-related tests only if NETWORK_ACCESS is set to yes (#221)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestUtils.awk\n+++ test\/TestUtils.awk\n@@ -30,22 +30,24 @@\n         assertTrue(newerVersion(\"2\", \"1.9.9999\"))\n     }\n \n-    T(\"curl()\", 1)\n-    {\n-        delete tokens; delete ast\n-        tokenize(tokens, curl(\"https:\/\/httpbin.org\/get\"))\n-        parseJson(ast, tokens)\n-        assertEqual(unparameterize(ast[0 SUBSEP \"url\"]),\n-                    \"https:\/\/httpbin.org\/get\")\n-    }\n+    if (yn(ENVIRON[\"NETWORK_ACCESS\"])) { # if network access enabled\n+        T(\"curl()\", 1)\n+        {\n+            delete tokens; delete ast\n+            tokenize(tokens, curl(\"https:\/\/httpbin.org\/get\"))\n+            parseJson(ast, tokens)\n+            assertEqual(unparameterize(ast[0 SUBSEP \"url\"]),\n+                        \"https:\/\/httpbin.org\/get\")\n+        }\n \n-    T(\"curlPost()\", 1)\n-    {\n-        delete tokens; delete ast\n-        tokenize(tokens, curlPost(\"https:\/\/httpbin.org\/post\", \"fizz=buzz\"))\n-        parseJson(ast, tokens)\n-        assertEqual(unparameterize(ast[0 SUBSEP \"url\"]),\n-                    \"https:\/\/httpbin.org\/post\")\n+        T(\"curlPost()\", 1)\n+        {\n+            delete tokens; delete ast\n+            tokenize(tokens, curlPost(\"https:\/\/httpbin.org\/post\", \"fizz=buzz\"))\n+            parseJson(ast, tokens)\n+            assertEqual(unparameterize(ast[0 SUBSEP \"url\"]),\n+                        \"https:\/\/httpbin.org\/post\")\n+        }\n     }\n \n     T(\"dump()\", 3)\n"}
{"commit":"aa6a41e4bb2312f84c3227ab557a650ab94f5a83","subject":"Handle movies rented on Amazon Prime Video","message":"Handle movies rented on Amazon Prime Video\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateLinkFrom-text.awk\n+++ generateLinkFrom-text.awk\n@@ -24,6 +24,10 @@\n     sub (\/\\\/ref=stream.*\/,\"\")\n }\n \n+\/ref=pd_\/ {\n+    sub (\/\\\/ref=pd_.*\/,\"\")\n+}\n+\n \/^https:\/ {\n     link = $0\n     if ((getline title) > 0) {\n"}
{"commit":"c3a32ab3edaa4e3d8bf4fc1a21e013a33bd95bb1","subject":"Fix import modue for Tests due to the module rename (#33)","message":"Fix import modue for Tests due to the module rename (#33)\n\nSee https:\/\/github.com\/apple\/swift-protobuf\/commit\/6b1a0b0a270f31b93c3d4255d94f8d8f2f9e1ae0","repos":"thomasvl\/swift-protobuf,apple\/swift-protobuf,tbkka\/swift-protobuf,cburrows\/swift-protobuf,thomasvl\/swift-protobuf,cburrows\/swift-protobuf,tbkka\/swift-protobuf,tbkka\/swift-protobuf,apple\/swift-protobuf,cburrows\/swift-protobuf,apple\/swift-protobuf,thomasvl\/swift-protobuf,allevato\/swift-protobuf,apple\/swift-protobuf,tbkka\/swift-protobuf,allevato\/swift-protobuf,allevato\/swift-protobuf,allevato\/swift-protobuf,thomasvl\/swift-protobuf,tbkka\/swift-protobuf,thomasvl\/swift-protobuf,apple\/swift-protobuf,apple\/swift-protobuf,cburrows\/swift-protobuf,allevato\/swift-protobuf,thomasvl\/swift-protobuf,tbkka\/swift-protobuf,tbkka\/swift-protobuf,cburrows\/swift-protobuf,apple\/swift-protobuf,thomasvl\/swift-protobuf,cburrows\/swift-protobuf,allevato\/swift-protobuf,cburrows\/swift-protobuf,allevato\/swift-protobuf","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- CollectTests.awk\n+++ CollectTests.awk\n@@ -32,7 +32,7 @@\n     TESTCASES=\"\"\n     TESTCASE_separator=\"\"\n     printf(\"import XCTest\\n\")\n-    printf(\"@testable import ProtobufTests\\n\")\n+    printf(\"@testable import SwiftProtobufTests\\n\")\n     printf(\"\\n\")\n     printf(\"private func run_test(test:() -> ()) throws {\\n\")\n     printf(\"    test()\\n\")\n"}
{"commit":"4e9fb64d0204798fac044ef9f1cd8c5ee61b10cf","subject":"Update filter_en_uk.awk","message":"Update filter_en_uk.awk\n\nTypos","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- filter_en_uk.awk\n+++ filter_en_uk.awk\n@@ -5,7 +5,7 @@\n     for(x=2;x<=NF;x++){\n         do{ \n             # I found a keys being kept pressed or just released, I print it as it is\n-            # This works because (probably) I don't want to keep pressed keys that need to be translated (symbols)\n+            # This works because (probably) I don't want to keep pressed keys that need to be translated such as symbols\n             if(length($x)>1&&(substr($x,1,1)==\"+\"||substr($x,1,1)==\"-\")){macroLine=macroLine $x; break;}\n             # An upper-case key, I need to press shift to do it. Using the !=toupper I avoid triggering things like \",\"==tolower(\",\") and \",\"==toupper(\",\") \n             if($x!=tolower($x)){macroLine=macroLine \"+lshift,\" \"+\" tolower($x) \",-\" tolower($x) \",-lshift\"; break;}\n@@ -28,7 +28,7 @@\n             if($x==\"(\"){ macroLine=macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+8,-8,-u,-lshift,-lctrl\"; break;}\n             if($x==\")\"){ macroLine=macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+9,-9,-u,-lshift,-lctrl\"; break;}\n             if($x==\"\\\"\"){ macroLine=macroLine \"+lctrl,+lshift,+u,+2,-2,+0,-0,+1,-1,+c,-c,-u,-lshift,-lctrl\"; break;}\n-            # !\"!\"\"\u00a3$\n+\n             # A normal key, press and release it, catches all the remaining cases\n             macroLine=macroLine \"+\" $x \",-\" $x\n         }\n"}
{"commit":"b5ec219b4920fe9d6218f96f36dfe600b4ffddc0","subject":"awk: fix ignored escaped 'u' warning.","message":"awk: fix ignored escaped 'u' warning.\n","repos":"foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal,foresterre\/mal","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- awk\/reader.awk\n+++ awk\/reader.awk\n@@ -1,10 +1,10 @@\n function reader_read_string(token,    v, r)\n {\n \ttoken = substr(token, 1, length(token) - 1)\n-\tgsub(\/\\\\\\\\\/, \"\\u029e\", token)\n+\tgsub(\/\\\\\\\\\/, \"\\xf7\", token)\n \tgsub(\/\\\\\"\/, \"\\\"\", token)\n \tgsub(\/\\\\n\/, \"\\n\", token)\n-\tgsub(\"\\u029e\", \"\\\\\", token)\n+\tgsub(\"\\xf7\", \"\\\\\", token)\n \treturn token\n }\n \n"}
{"commit":"e53d09184798884ec64dbeed968107974eafdce7","subject":"ahrf.awk: allow grave as the first paragraph symbol","message":"ahrf.awk: allow grave as the first paragraph symbol\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -27,7 +27,7 @@\n }\n \n # Paragraph\n-\/^[A-Za-z0-9_(\"]+\/ {\n+\/^[A-Za-z0-9_(\"`]+\/ {\n \tprintf(\"<p>\")\n \tfor (p=1; p<=NF; p++) {\n \t\t# Line break\n"}
{"commit":"127397f8fa5370849c46777a11c22fbbe5e7c5b9","subject":"change behavior of option -dictionary","message":"change behavior of option -dictionary\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -186,6 +186,8 @@\n         match(ARGV[pos], \/^--?d(i(c(t(i(o(n(a(ry?)?)?)?)?)?)?)?)?$\/)\n         if (RSTART) {\n             Option[\"show-original-dictionary\"] = 1\n+            Option[\"show-dictionary\"] = 0\n+            Option[\"show-alternatives\"] = 0\n             continue\n         }\n \n"}
{"commit":"6c851857e881264e29ff5a5faa53ed7c7adb4b76","subject":"output change to formatted printf","message":"output change to formatted printf\n","repos":"OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- english\/data_processing\/code\/minmax.awk\n+++ english\/data_processing\/code\/minmax.awk\n@@ -8,5 +8,4 @@\n     if ($col > ma) { ma = $col; }\n   }\n } \n-END { print mi, ma; }\n-\n+END { printf(\"%.3f %.3f\", mi, ma); }\n"}
{"commit":"595d20801acb57def2359971d92d82cf373d55e2","subject":"hmm: Sort target list during output.","message":"hmm: Sort target list during output.\n\nChange-Id: Ida1e8ebddfb0f47120160fcf45e630ccfd7e0ffa\nGitOrigin-RevId: ecf5325329ec42aaa01c803620e82c37043800a6\n","repos":"AmbiML\/sparrow-build","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- helpmemake.awk\n+++ helpmemake.awk\n@@ -74,7 +74,16 @@\n   print \"Targets available are:\";\n   print \"\";\n   column = 0;\n+\n+  # Sort the target list keys into a normal array so we can sort 'em.\n   for (target in docs) {\n+    targets[++j] = target\n+  }\n+\n+  asort(targets)\n+\n+  for (target in targets) {\n+    target = targets[target]\n     printf(\"%s \", target);\n     column += length(target) + 1;\n     if (column > 75) {\n"}
{"commit":"bf5c02309c8bccc65c8c9e56967478ae85fc86d0","subject":"Commons: fix append() and join()","message":"Commons: fix append() and join()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -48,11 +48,6 @@\n     return string\n }\n \n-# Append an element into an array (zero-based).\n-function append(array, element) {\n-    array[length(array)] = element\n-}\n-\n # Return 1 if the array contains anything; otherwise return 0.\n function anything(array,\n                   ####\n@@ -60,6 +55,11 @@\n     for (i in array)\n         if (array[i]) return 1\n     return 0\n+}\n+\n+# Append an element into an array (zero-based).\n+function append(array, element) {\n+    array[anything(array) ? length(array) : 0] = element\n }\n \n # Return an element if it belongs to the array;\n@@ -108,7 +108,7 @@\n     saveSortedIn = PROCINFO[\"sorted_in\"]\n     PROCINFO[\"sorted_in\"] = sortedIn\n     for (i in array)\n-        if (preserveNull || array[i])\n+        if (preserveNull || array[i] != \"\")\n             temp = j++ ? temp separator array[i] : array[i]\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n \n"}
{"commit":"c55ad8d33e0b4128770ac6ba80980ae819aa6b69","subject":"extract the episode description","message":"extract the episode description\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-showPages.awk\n+++ getAcornFrom-showPages.awk\n@@ -123,6 +123,22 @@\n     sub (\/.*acorn\\.tv\/,\"acorn.tv\",shortEpisodeURL)\n     split (episodeURL, part, \"\/\")\n     shortSeasonURL = \"acorn.tv\/\" part[4] \"\/\" part[5]\n+    # extract the episode description\n+    cmd = \"curl -s \" episodeURL \" | grep '<meta itemprop=\\\"description\\\"' | tail -1\"\n+    while ((cmd | getline desc ) > 0) {\n+        split (desc,fld,\"\\\"\")\n+        episodeDescription = fld[4]\n+        # fix sloppy input spacing\n+        gsub (\/ \\.\/,\".\",episodeDescription)\n+        gsub (\/  *\/,\" \",episodeDescription)\n+        sub (\/^ *\/,\"\",episodeDescription)\n+        sub (\/ *$\/,\"\",episodeDescription)\n+        # fix funky HTML characters\n+        gsub (\/&amp;\/,\"\\\\&\",episodeDescription)\n+        gsub (\/&quot;\/,\"\\\"\\\"\",episodeDescription)\n+        gsub (\/&#039;\/,\"'\",episodeDescription)\n+    }\n+    close cmd\n     next\n }\n \n"}
{"commit":"dc22443bf3d78b6245f02a145e4224606b77eae5","subject":"Complete quirk handling script by matching the in-kernel table format. Use a union to properly assign values.  Collapse some unnecessary variables in the revision rules.","message":"Complete quirk handling script by matching the in-kernel table format.\nUse a union to properly assign values.  Collapse some unnecessary variables\nin the revision rules.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/acpi_quirks2h.awk\n+++ sys\/tools\/acpi_quirks2h.awk\n@@ -55,7 +55,7 @@\n #\n $1 == \"name:\" {\n \tENTRY_NAME = $2;\n-\tprintf(\"const struct acpi_table %s[] = {\\n\", ENTRY_NAME) > OUTPUT;\n+\tprintf(\"const struct acpi_q_rule %s[] = {\\n\", ENTRY_NAME) > OUTPUT;\n }\n \n #\n@@ -77,7 +77,7 @@\n \tM = match (REMAINDER, \/\\\"[^\\\"]*\\\"\/);\n \tOEM_TABLE_ID = substr(REMAINDER, M, RLENGTH);\n \n-\tprintf(\"\\t{ ACPI_TABLE_%s, OEM, %s, %s },\\n\",\n+\tprintf(\"\\t{ ACPI_TABLE_%s, OEM, {%s}, {%s} },\\n\",\n \t    TABLE, OEM_ID, OEM_TABLE_ID) > OUTPUT;\n }\n \n@@ -91,43 +91,38 @@\n \tM = match ($0, \/\\\"[^\\\"]*\\\"\/);\n \tCREATOR = substr($0, M, RLENGTH);\n \n-\tprintf(\"\\t{ ACPI_TABLE_%s, CREATOR, %s },\\n\", TABLE, CREATOR) > OUTPUT;\n+\tprintf(\"\\t{ ACPI_TABLE_%s, CREATOR, {%s} },\\n\",\n+\t    TABLE, CREATOR) > OUTPUT;\n }\n \n #\n # OEM REVISION field\n #\n $1 == \"oem_rev:\" {\n-\tTYPE = $2;\n+\tTABLE = $2;\n \tSIGN = $3;\n \tVALUE = $4;\n \n \t# Parse operand\n \tOPERAND = trans_sign(SIGN);\n \n-\t# Parse OEM revision ID\n-\tREV = \"OEM_REV\";\n-\n-\tprintf(\"\\t{ ACPI_TABLE_%s, %s, %s, %s },\\n\",\n-\t    TYPE, REV, OPERAND, VALUE) > OUTPUT;\n+\tprintf(\"\\t{ ACPI_TABLE_%s, OEM_REV, {.op = %s}, {.rev = %s} },\\n\",\n+\t    TABLE, OPERAND, VALUE) > OUTPUT;\n }\n \n #\n # CREATOR REVISION field\n #\n $1 == \"creator_rev:\" {\n-\tTYPE = $2;\n+\tTABLE = $2;\n \tSIGN = $3;\n \tVALUE = $4;\n \n \t# Parse operand\n \tOPERAND = trans_sign(SIGN);\n \n-\t# Parse creator revision ID\n-\tREV = \"CREATOR_REV\";\n-\n-\tprintf(\"\\t{ ACPI_TABLE_%s, %s, %s, %s },\\n\",\n-\t    TYPE, REV, OPERAND, VALUE) > OUTPUT;\n+\tprintf(\"\\t{ ACPI_TABLE_%s, CREATOR_REV, {.op = %s}, {.rev = %s} },\\n\",\n+\t    TABLE, OPERAND, VALUE) > OUTPUT;\n }\n \n #\n@@ -149,7 +144,7 @@\n #\n END {\n \t# Header\n-\tprintf(\"const struct acpi_blacklist acpi_quirks_table[] = {\\n\") \\\n+\tprintf(\"const struct acpi_q_entry acpi_quirks_table[] = {\\n\") \\\n \t    > OUTPUT;\n \n \t# Array of all quirks\n"}
{"commit":"38eb6f7c0e97f66804a1f34d59a1ff7308ef3010","subject":"globals.awk not needed","message":"globals.awk not needed\n","repos":"autc04\/executor,autc04\/executor,autc04\/executor,autc04\/executor,autc04\/executor,autc04\/executor","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/globals.awk\n+++ src\/globals.awk\n@@ -1,2 +0,0 @@\n-BEGIN\t{ FS=\",\"; printf(\".text\\n.space 0x10000\\n\") }\n-$1 ~ \/^DATA\/ && NF==7\t{ print \".set _\" $2 \", \" $4 ; print \".globl _\" $2 }\n"}
{"commit":"4934a71e05420a0b4ae92ecef0fbb555418fc084","subject":"Commons: add reverse(string)","message":"Commons: add reverse(string)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -106,6 +106,16 @@\n     temp = NULLSTR\n     for (i = 0; i < len; i++)\n         temp = temp string\n+    return temp\n+}\n+\n+# Reverse a string.\n+function reverse(string,\n+                 ####\n+                 i, temp) {\n+    temp = NULLSTR\n+    for (i = length(string); i > 0; i--)\n+        temp = temp substr(string, i, 1);\n     return temp\n }\n \n"}
{"commit":"5a066cad5b3aaf79f19ccae251a07815151d2130","subject":"Commons: add SUPERR","message":"Commons: add SUPERR\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -6,9 +6,11 @@\n \n # Initialize constants.\n function initConst() {\n-    STDIN = \"\/dev\/stdin\"\n+    STDIN  = \"\/dev\/stdin\"\n     STDOUT = \"\/dev\/stdout\"\n     STDERR = \"\/dev\/stderr\"\n+\n+    SUPERR = \" 2> \/dev\/null\" # suppress errors\n }\n \n # Initialize `UrlEncoding`.\n@@ -229,7 +231,8 @@\n     return (tolower(string) ~ \/^[0fn]\/) ? 0 : 1\n }\n \n-# Initialize ANSI escape codes (ANSI X3.64 Standard Control Sequences).\n+# Initialize ANSI escape codes for SGR (Select Graphic Rendition).\n+# (ANSI X3.64 Standard Control Sequences)\n # See: <https:\/\/en.wikipedia.org\/wiki\/ANSI_escape_code>\n function initAnsiCode() {\n     # Dumb terminal: no ANSI escape code whatsoever\n"}
{"commit":"b4a5f50a9aa9e8a5eb7d14b62d01fd45e4df12b4","subject":"build.awk: fix wrong sha1sum","message":"build.awk: fix wrong sha1sum\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -234,10 +234,6 @@\n }\n \n function release(    content, group, sha1, size, temp, text) {\n-    (\"sha1sum \" Trans) | getline temp\n-    split(temp, group)\n-    sha1 = group[1]\n-\n     d(\"Updating registry ...\")\n     # Update registry\n     text = readFrom(MainRegistryTemplate)\n@@ -261,6 +257,9 @@\n \n     d(\"Updating gh-pages\/translate-shell.rb ...\")\n     # Update gh-pages\/translate-shell.rb\n+    (\"sha1sum \" PagesPath \"translate-shell.tar.gz\") | getline temp\n+    split(temp, group)\n+    sha1 = group[1]\n     text = readFrom(HomebrewFormula \".temp\")\n     gsub(\/\\$sha1\\$\/, sha1, text)\n     gsub(\/\\$Version\\$\/, Version, text)\n@@ -268,6 +267,9 @@\n \n     d(\"Updating gh-pages\/index.md ...\")\n     # Update gh-pages\/index.md\n+    (\"sha1sum \" Trans) | getline temp\n+    split(temp, group)\n+    sha1 = group[1]\n     content = readFrom(Readme)\n     text = readFrom(Index \".temp\")\n     gsub(\/\\$sha1\\$\/, sha1, text)\n"}
{"commit":"d3f73fd3b9037ea68fe653f299b8a8bb30d289c8","subject":"istio: Add nslookup timeout during container injection","message":"istio: Add nslookup timeout during container injection\n\nAborts the DNS lookup if still unsuccessful when timeout elapses\n\nFixes #6230\n\nSigned-off-by: ifeanyi <4a1d650dde98cdd0188a3f30e06c6f7a5cf63bd7@yahoo.com>\n","repos":"cilium\/cilium,michi-covalent\/cilium,tklauser\/cilium,tgraf\/cilium,michi-covalent\/cilium,tgraf\/cilium,cilium\/cilium,cilium\/cilium,michi-covalent\/cilium,tklauser\/cilium,cilium\/cilium,tgraf\/cilium,tklauser\/cilium,tklauser\/cilium,cilium-team\/cilium,michi-covalent\/cilium,cilium\/cilium,tgraf\/cilium,tgraf\/cilium,tklauser\/cilium,tgraf\/cilium,cilium-team\/cilium,michi-covalent\/cilium","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- examples\/kubernetes-istio\/cilium-kube-inject.awk\n+++ examples\/kubernetes-istio\/cilium-kube-inject.awk\n@@ -11,14 +11,14 @@\n \n { print }\n \n-# Add an init container to delay the start of the application containers for\n-# 10 seconds, to reduce the chance of dropping early traffic.\n+# Add an init container to delay the start of the application containers,\n+# to reduce the chance of dropping early traffic.\n \/initContainers:\/ {\n \tindent = $0 ; gsub(\/[^ ].*\/, \"\", indent)\n \tprint indent \"- name: sleep\"\n \tprint indent \"  image: busybox:1.28.4\"\n \tprint indent \"  imagePullPolicy: IfNotPresent\"\n-\tprint indent \"  command: ['sh', '-c', 'until nslookup kube-dns.kube-system.svc.cluster.local; do sleep 1; done']\"\n+\tprint indent \"  command: ['sh', '-c', 'max=120; i=0; until nslookup kube-dns.kube-system.svc.cluster.local; do i=$((i + 1)); if [ $i -eq $max ]; then echo timed-out; exit 1; else sleep 1; fi done ']\"\n }\n \n # Mount the Cilium state directory to give Cilium's Envoy filters access to the\n"}
{"commit":"483eca8fd1c59c6b1a9330141c6b34067ca0a0e6","subject":"Languages: update Kurdish dialects (Google support)","message":"Languages: update Kurdish dialects (Google support)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -420,10 +420,10 @@\n     #Locale[\"ee\"][\"synonyms\"]\n     #Locale[\"ee\"][\"examples\"]\n     #Locale[\"ee\"][\"see-also\"]\n-    Locale[\"ee\"][\"family\"]            = \"Atlantic-Congo\"\n-    Locale[\"ee\"][\"iso\"]               = \"ewe\"\n-    Locale[\"ee\"][\"glotto\"]            = \"ewee1241\"\n-    Locale[\"ee\"][\"script\"]            = \"Latn\"\n+    Locale[\"ee\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"ee\"][\"iso\"]                = \"ewe\"\n+    Locale[\"ee\"][\"glotto\"]             = \"ewee1241\"\n+    Locale[\"ee\"][\"script\"]             = \"Latn\"\n \n     #24 Filipino \/ Tagalog\n     Locale[\"tl\"][\"name\"]               = \"Filipino\"\n@@ -835,10 +835,10 @@\n     Locale[\"kri\"][\"glotto\"]            = \"krio1253\"\n     Locale[\"kri\"][\"script\"]            = \"Latn\"\n \n-    #51 Kurdish (Central Kurdish \/ Sorani), Latin alphabet (Arabic alphabet for Bing)\n-    Locale[\"ku\"][\"name\"]               = \"Kurdish (Central)\"\n-    Locale[\"ku\"][\"name2\"]              = \"Sorani\"\n-    Locale[\"ku\"][\"endonym\"]            = \"Soran\u00ee\"\n+    #51 Kurdish (Northern) \/ Kurmanji\n+    Locale[\"ku\"][\"name\"]               = \"Kurdish (Northern)\"\n+    Locale[\"ku\"][\"name2\"]              = \"Kurmanji\"\n+    Locale[\"ku\"][\"endonym\"]            = \"Kurmanc\u00ee\"\n     Locale[\"ku\"][\"endonym2\"]           = \"Kurd\u00ee\"\n     #Locale[\"ku\"][\"translations-of\"]\n     #Locale[\"ku\"][\"definitions-of\"]\n@@ -846,9 +846,25 @@\n     #Locale[\"ku\"][\"examples\"]\n     #Locale[\"ku\"][\"see-also\"]\n     Locale[\"ku\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ku\"][\"iso\"]                = \"kur\"\n-    Locale[\"ku\"][\"glotto\"]             = \"kurd1259\"\n+    Locale[\"ku\"][\"iso\"]                = \"kmr\"\n+    Locale[\"ku\"][\"glotto\"]             = \"nort2641\"\n     Locale[\"ku\"][\"script\"]             = \"Latn\"\n+\n+    # Kurdish (Central) \/ Sorani\n+    Locale[\"ckb\"][\"name\"]              = \"Kurdish (Central)\"\n+    Locale[\"ckb\"][\"name2\"]             = \"Sorani\"\n+    Locale[\"ckb\"][\"endonym\"]           = \"\u0633\u06c6\u0631\u0627\u0646\u06cc\"\n+    Locale[\"ckb\"][\"endonym2\"]          = \"\u06a9\u0648\u0631\u062f\u06cc\u06cc \u0646\u0627\u0648\u06d5\u0646\u062f\u06cc\"\n+    #Locale[\"ckb\"][\"translations-of\"]\n+    #Locale[\"ckb\"][\"definitions-of\"]\n+    #Locale[\"ckb\"][\"synonyms\"]\n+    #Locale[\"ckb\"][\"examples\"]\n+    #Locale[\"ckb\"][\"see-also\"]\n+    Locale[\"ckb\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"ckb\"][\"iso\"]               = \"ckb\"\n+    Locale[\"ckb\"][\"glotto\"]            = \"cent1972\"\n+    Locale[\"ckb\"][\"script\"]            = \"Arab\"\n+    Locale[\"ckb\"][\"rtl\"]               = \"true\" # RTL language\n \n     #52 Kyrgyz\n     Locale[\"ky\"][\"name\"]               = \"Kyrgyz\"\n@@ -1724,16 +1740,6 @@\n     Locale[\"tlh-Qaak\"][\"iso\"]          = \"tlh\"\n     #Locale[\"tlh-Qaak\"][\"glotto\"]\n     Locale[\"tlh-Qaak\"][\"script\"]       = \"Piqd\"\n-\n-    #* Kurdish (Northern Kurdish \/ Kurmanji), Latin alphabet\n-    Locale[\"kmr\"][\"support\"]           = \"bing-only\"\n-    Locale[\"kmr\"][\"name\"]              = \"Kurdish (Northern)\"\n-    Locale[\"kmr\"][\"name2\"]             = \"Kurmanji\"\n-    Locale[\"kmr\"][\"endonym\"]           = \"Kurmanc\u00ee\"\n-    Locale[\"kmr\"][\"family\"]            = \"Indo-European\"\n-    Locale[\"kmr\"][\"iso\"]               = \"kmr\"\n-    Locale[\"kmr\"][\"glotto\"]            = \"nort2641\"\n-    Locale[\"kmr\"][\"script\"]            = \"Latn\"\n \n     #? Bashkir\n     Locale[\"ba\"][\"support\"]            = \"yandex-only\"\n"}
{"commit":"7afebe116e049931d23ea72fee4cb17d228db124","subject":"Translate: reduce empty line","message":"Translate: reduce empty line\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -250,6 +250,8 @@\n         }\n         hasWordClasses = isarray(wordClasses) && anything(wordClasses)\n         hasAltTranslations = isarray(altTranslations[0]) && anything(altTranslations[0])\n+        if (!hasWordClasses && !hasAltTranslations)\n+            wShowPromptMessage = wShowLanguages = 0\n         if (!hasWordClasses) wShowDictionary = 0\n         if (hasWordClasses || !hasAltTranslations) wShowAlternatives = 0\n \n"}
{"commit":"3b6a7b7b19746ea881c68ad71880616c87e020fc","subject":"HvD: Extended the script a little bit so that duplicate ID lines will not be repeated in util_version.F. If the right property bits are set this should remove all duplication as all the ID lines in a single file SHOULD be the exactly the same.","message":"HvD: Extended the script a little bit so that duplicate ID lines will\nnot be repeated in util_version.F. If the right property bits are set this\nshould remove all duplication as all the ID lines in a single file SHOULD\nbe the exactly the same.\n\n\n\n\n","repos":"rangsimanketkaew\/NWChem","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/util\/ids.awk\n+++ src\/util\/ids.awk\n@@ -5,6 +5,7 @@\n # a CVS ID    -> produce a write statement with the ID (\"Exp\" at the end)\n # a SVN ID    -> produce a write statement with the ID (no \"Exp\" at the end)\n # module name -> produce a write statement for the module name\n+# prev_str    -> skip to eliminate duplicates\n # other       -> produce nothing\n # \n # $Id$\n@@ -17,6 +18,7 @@\n \t\tprintf(\"      write(6,*)\\n\");\n \t\tprintf(\"      write(6,*) ' Software version information'\\n\");\n \t\tprintf(\"      write(6,*) ' ----------------------------'\\n\");\n+\t\tprev_str = underline;\n }\n \n \/^module\/\t\t\t{\n@@ -26,12 +28,17 @@\n \t\t\t\t printf(\"      write(6,*) ' %s'\\n\",substr(underline,1,len));\n \t\t\t\t}\n \n+0 != match($0,prev_str)\t\t{\n+\t\t\t\t  $0=\"\";\n+\t\t\t\t}\n+\n \/\\$\\I\\d: [^\\n]*Exp \\$\/\t\t{\n \t\t\t\t i = index($0, \"$Id: \") + 5;\n \t\t\t\t j = index($0, \"Exp $\") - 1;\n \t\t\t\t n = j - i + 1;\n \t\t\t\t if (n > (72 - 20)) n = 72 - 20;\n \t\t\t\t printf(\"      write(6,*) ' %s'\\n\",substr($0,i,n));\n+\t\t\t\t prev_str = substr($0,i,n);\n \t\t\t\t}\n \n \/\\$\\I\\d: [^\\n]* \\$\/\t\t{\n@@ -39,6 +46,7 @@\n \t\t\t\t n = index(substr($0,i), \" $\") - 1;\n \t\t\t\t if (n > (72 - 20)) n = 72 - 20;\n \t\t\t\t printf(\"      write(6,*) ' %s'\\n\",substr($0,i,n));\n+\t\t\t\t prev_str = substr($0,i,n);\n \t\t\t\t}\n \n END {\n"}
{"commit":"c728f17c5a5b1ba1d6a50cca9c266b66f6bf7f23","subject":"Fix overzealous missing seasons code","message":"Fix overzealous missing seasons code\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-browsePage.awk\n+++ getMHzFrom-browsePage.awk\n@@ -32,10 +32,11 @@\n }\n \n \/h4 class=\"transparent.*media-count\/ {\n-    sub (\/.*media-count'>\/,\"\")\n-    sub (\/ season.*$\/,\"\")\n+    numSeasons = $0\n+    sub (\/.*media-count'>\/,\"\",numSeasons)\n+    sub (\/ season.*$\/,\"\",numSeasons)\n     if ((numSeasons + 0) == 0)\n         print \"==> No seasons: \" TITLE >> ERROR_FILE\n-    print $0 >> NUM_SEASONS_FILE\n+    print numSeasons >> NUM_SEASONS_FILE\n }\n \n"}
{"commit":"bc732378b20b90dc371f237e396929750fca4690","subject":"comment support","message":"comment support\n","repos":"amamama\/hairy-octo-sansa,amamama\/hairy-octo-sansa","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- md2slide.awk\n+++ md2slide.awk\n@@ -1,21 +1,26 @@\n function parse_line(line,   ret) {\n-\tif (line ~ \/^==+\/ || line ~ \/^--+\/) {\n-\t\tif (line ~ \/^==+\/ && (slide == \"hamaji\" || slide == \"shinh\" || slide == \"simple\" || slide == \"s\")) {\n+\tif (gensub( \/\\[.+\\]\\(.+\\)\/, \"\", \"g\", line) ~ \/\\\/\\\/.*\/) {\n+\t\tline = gensub( \/\\\/\\\/.*\/, \"\", \"g\", gensub( \/\\[.+\\]\\(.+\\)\/, \"\", \"g\", line))\n+\t}\n+\tif(line ~ \/^==+\/ || line ~ \/^--+\/) {\n+\t\tif(line ~ \/^==+\/ && (isslide(slide))) {\n \t\t} else {\n \t\t\tret = ret \"<hr \/>\"\n \t\t}\n-\t} else if (line ~ \/\\*\\*[^[:space:]].*[^[:space:]]\\*\\*\/) {\n-\t\tret = ret parse_line(gensub(\/\\*\\*([^[:space:]].*[^[:space:]])\\*\\*\/, \"<strong>\\\\1<\/strong>\", \"g\", line))\n-\t} else if (line ~ \/__[^[:space:]].*[^[:space:]]__\/) {\n-\t\tret = ret parse_line(gensub(\/__([^[:space:]].*[^[:space:]])__\/, \"<strong>\\\\1<\/strong>\", \"g\", line))\n-\t} else if (line ~ \/\\*[^[:space:]*].*[^[:space:]*]\\*\/) {\n-\t\tret = ret parse_line(gensub(\/\\*([^[:space:]*].*[^[:space:]*])\\*\/, \"<em>\\\\1<\/em>\", \"g\", line))\n-\t} else if (line ~ \/_[^[:space:]_].*[^[:space:]_]_\/) {\n-\t\tret = ret parse_line(gensub(\/_([^[:space:]_].*[^[:space:]_])_\/, \"<em>\\\\1<\/em>\", \"g\", line))\n-\t} else if (line ~ \/\\[.+\\]\\(.+\\)\/) {\n-\t\tret = ret gensub(\/\\[(.+)\\]\\((.+)\\)\/, \"<a href=\\\"\\\\2\\\">\\\\1<\/a>\", \"g\", line)\n+\t\treturn ret\n+\t} else if(line ~ \/\\*\\*[^[:space:]].*[^[:space:]]\\*\\*\/) {\n+\t\tret = ret parse_line(gensub( \/\\*\\*([^[:space:]].*[^[:space:]])\\*\\*\/, \"<strong>\\\\1<\/strong>\", \"g\", line))\n+\t} else if(line ~ \/__[^[:space:]].*[^[:space:]]__\/) {\n+\t\tret = ret parse_line(gensub( \/__([^[:space:]].*[^[:space:]])__\/, \"<strong>\\\\1<\/strong>\", \"g\", line))\n+\t} else if(line ~ \/\\*[^[:space:]*].*[^[:space:]*]\\*\/) {\n+\t\tret = ret parse_line(gensub( \/\\*([^[:space:]*].*[^[:space:]*])\\*\/, \"<em>\\\\1<\/em>\", \"g\", line))\n+\t} else if(line ~ \/_[^[:space:]_].*[^[:space:]_]_\/) {\n+\t\tret = ret parse_line(gensub( \/_([^[:space:]_].*[^[:space:]_])_\/, \"<em>\\\\1<\/em>\", \"g\", line))\n+\t} else if(line ~ \/\\[.+\\]\\(.+\\)\/) {\n+\t\tret = ret gensub( \/\\[(.+)\\]\\((.+)\\)\/, \"<a href=\\\"\\\\2\\\">\\\\1<\/a>\", \"g\", line)\n \t} else {\n-\t\tgsub(\/  $\/, \"<br \/>\", line)\n+\t\tgsub( \/  $\/, \"<br \/>\", line)\n+\t\tgsub( \/\\\\n\/, \"<br \/>\", line)\n \t\tret = ret line\n \t}\n \treturn ret\n@@ -25,14 +30,15 @@\n \treturn \"<\" stag \" \" opt \">\" body \"<\/\" stag \">\"\n }\n \n-function parse_para(para,   lines, ispara, ret, begp, endp) {\n+function parse_para(para,   lines, ispara, ret, begp, endp, nest) {\n \tmax_idx = split(para, lines)\n \tbegp = \"\"\n \tendp = \"\"\n+\tnest = 0\n \tispara = 0\n-\tfor (i = 1; i <= max_idx; i++) {\n-\t\tif (lines[i + 1] ~ \/^==+\/) {\n-\t\t\tif (slide == \"hamaji\" || slide == \"shinh\" || slide == \"simple\" || slide == \"s\") {\n+\tfor(i = 1; i <= max_idx; i++) {\n+\t\tif(lines[i + 1] ~ \/^==+\/) {\n+\t\t\tif(isslide(slide)) {\n \t\t\t\theadline = tag(\"h1\", parse_line(lines[i])) \"<hr \/>\"\n \t\t\t\ti++\n \t\t\t} else {\n@@ -40,8 +46,8 @@\n \t\t\t\tispara = 0\n \t\t\t\tendp = \"\"\n \t\t\t}\n-\t\t} else if (lines[i + 1] ~ \/^--+\/) {\n-\t\t\tif (slide == \"hamaji\" || slide == \"shinh\" || slide == \"simple\" || slide == \"s\") {\n+\t\t} else if(lines[i + 1] ~ \/^--+\/) {\n+\t\t\tif(isslide(slide)) {\n \t\t\t\tret = ret endp parse_line(lines[i])\n \t\t\t\tispara = 0\n \t\t\t\tendp = \"\"\n@@ -50,60 +56,60 @@\n \t\t\t\tispara = 0\n \t\t\t\tendp = \"\"\n \t\t\t}\n-\t\t} else if (lines[i] ~ \/^#[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\t\tret = ret endp tag(\"h1\", parse_line(gensub(\/^#[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t} else if(lines[i] ~ \/^######[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h6\", parse_line(gensub( \/^######[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t} else if (lines[i] ~ \/^##[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\t\tret = ret endp tag(\"h2\", parse_line(gensub(\/^##[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t} else if(lines[i] ~ \/^#####[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h5\", parse_line(gensub( \/^#####[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t} else if (lines[i] ~ \/^###[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\t\tret = ret endp tag(\"h3\", parse_line(gensub(\/^###[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t} else if(lines[i] ~ \/^####[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h4\", parse_line(gensub( \/^####[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t} else if (lines[i] ~ \/^####[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\t\tret = ret endp tag(\"h4\", parse_line(gensub(\/^####[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t} else if(lines[i] ~ \/^###[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h3\", parse_line(gensub( \/^###[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t} else if (lines[i] ~ \/^#####[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\t\tret = ret endp tag(\"h5\", parse_line(gensub(\/^#####[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t} else if(lines[i] ~ \/^##[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h2\", parse_line(gensub( \/^##[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t} else if (lines[i] ~ \/^######[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\t\tret = ret endp tag(\"h6\", parse_line(gensub(\/^######[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t} else if(lines[i] ~ \/^#[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\t\tret = ret endp tag(\"h1\", parse_line(gensub( \/^#[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", lines[i])))\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t}else if (lines[i] ~ \/^[[:space:]]*>\/) {\n+\t\t} else if(lines[i] ~ \/^[[:space:]]*>\/) {\n \t\t\tret = ret endp \"<blockquote>\"\n-\t\t\tfor (; lines[i] ~ \/^[[:space:]]*>\/; i++) {\n-\t\t\t\tret = ret parse_line(gensub(\/^[[:space:]]*>(.*)\/, \"\\\\1\", \"g\", lines[i]))\n+\t\t\tfor(; lines[i] ~ \/^[[:space:]]*>\/; i++) {\n+\t\t\t\tret = ret parse_line(gensub( \/^[[:space:]]*>(.*)\/, \"\\\\1\", \"g\", lines[i]))\n \t\t\t}\n \t\t\ti--\n \t\t\tret = ret \"<\/blockquote>\"\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t} else if (lines[i] ~ \/^[[:space:]]*(\\*|-)[[:space:]]+[^[:space:]].*\/) {\n+\t\t} else if(lines[i] ~ \/^[[:space:]]*(\\*|-)[[:space:]]+[^[:space:]].*\/) {\n \t\t\tret = ret endp \"<ul>\"\n-\t\t\tfor (; lines[i] ~ \/^[[:space:]]*(\\*|-)\/; i++) {\n-\t\t\t\tret = ret tag(\"li\", parse_line(gensub(\/^[[:space:]]*(\\*|-)[[:space:]]+([^[:space:]].*)\/, \"\\\\2\", \"g\", lines[i])))\n+\t\t\tfor(; lines[i] ~ \/^[[:space:]]*(\\*|-)\/; i++) {\n+\t\t\t\tret = ret tag(\"li\", parse_line(gensub( \/^[[:space:]]*(\\*|-)[[:space:]]+([^[:space:]].*)\/, \"\\\\2\", \"g\", lines[i])))\n \t\t\t}\n \t\t\ti--\n \t\t\tret = ret \"<\/ul>\"\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t} else if (lines[i] ~ \/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+[^[:space:]].*\/) {\n+\t\t} else if(lines[i] ~ \/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+[^[:space:]].*\/) {\n \t\t\tret = ret endp \"<ol>\"\n-\t\t\tfor (; lines[i] ~ \/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+[^[:space:]].*\/; i++) {\n-\t\t\t\tret = ret tag(\"li\", parse_line(gensub(\/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+([^[:space:]].*)\/, \"\\\\1\", \"g\", lines[i])))\n+\t\t\tfor(; lines[i] ~ \/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+[^[:space:]].*\/; i++) {\n+\t\t\t\tret = ret tag(\"li\", parse_line(gensub( \/^[[:space:]]*[[:digit:]]+\\.[[:space:]]+([^[:space:]].*)\/, \"\\\\1\", \"g\", lines[i])))\n \t\t\t}\n \t\t\ti--\n \t\t\tret = ret \"<\/ol>\"\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n-\t\t} else if (lines[i] ~ \/^```\/) {\n+\t\t} else if(lines[i] ~ \/^```\/) {\n \t\t\tret = ret endp \"<pre><code>\"\n-\t\t\tfor (i++; lines[i] !~ \/^```\/; i++) {\n+\t\t\tfor(i++; lines[i] !~ \/^```\/; i++) {\n \t\t\t\tgsub(\/>\/, \"\\\\&gt;\", lines[i])\n \t\t\t\tgsub(\/<\/, \"\\\\&lt;\", lines[i])\n \t\t\t\tret = ret  lines[i] \"\\n\"\n@@ -112,7 +118,7 @@\n \t\t\tispara = 0\n \t\t\tendp = \"\"\n \t\t} else {\n-\t\t\tif (ispara != 0) {\n+\t\t\tif(ispara != 0) {\n \t\t\t\tret = ret parse_line(lines[i])\n \t\t\t} else {\n \t\t\tret = ret \"<p>\" parse_line(lines[i])\n@@ -121,7 +127,7 @@\n \t\t\t}\n \t\t}\n \t}\n-\tif (ispara != 0) {\n+\tif(ispara != 0) {\n \t\tret = ret \"<\/p>\"\n \t\tispara = 0\n \t\tendp = \"\"\n@@ -129,17 +135,29 @@\n \treturn ret\n }\n \n+function isslide(s) {\n+\tif(s == \"hamaji\" || s == \"shinh\" || s == \"simple\" || s == \"s\") {\n+\t\treturn 1\n+\t} else {\n+\treturn 0\n+\t}\n+}\n+\n BEGIN {\n \tRS = \"\"\n \tFS = \"\\n\"\n-\tslide = \"simple\"\n+\tslide = \"\"\n \tfilename = gensub(\/(.*)\\.md\/, \"\\\\1\", \"g\", ARGV[1])\n-\t\"mkdir -p \" filename | getline\n-\tprint ARGV[1] \"-> .\/\" filename \"\/\" filename \".html\"\n+\tif(isslide(slide)) {\n+\t\t\"mkdir -p \" filename | getline\n+\t\tprint ARGV[1] \"-> .\/\" filename \"\/\" filename \".html\"\n+\t} else {\n+\t\tprint ARGV[1] \"->\" filename \".html\"\n+}\n }\n \n {\n-\tif (slide == \"hamaji\" || slide == \"shinh\" || slide == \"simple\" || slide == \"s\") {\n+\tif(isslide(slide)) {\n \t\tbody = parse_para($0)\n \t\tprint \"<!DOCTYPE html>\" tag(\"html\", tag(\"head\",\"<meta charset=\\\"UTF-8\\\"> <link rel=\\\"stylesheet\\\" type=\\\"text\/css\\\" href=\\\"..\/template.css\\\">\" \"<script type = \\\"text\/javascript\\\" src = \\\"..\/template.js\\\"><\/script>\") tag(\"body\",\n \t\t\t\ttag(\"a\", \"&lt;\", \"href = \\\".\/\" filename NR-1 \".html\\\"\") \\\n@@ -149,8 +167,10 @@\n \t} else {\n \t\tbody = body tag(\"p\", parse_para($0))\n \t}\n-\n }\n \n END {\n+\tif(!(isslide(slide))) {\n+\t\tprint \"<!DOCTYPE html>\" tag(\"html\", tag(\"head\",\"<meta charset=\\\"UTF-8\\\"> \") tag(\"body\", body, \"\" )) > filename \".html\"\n+\t}\n }\n"}
{"commit":"00fc152979dcc849ee0d43ccddaa7df4d828373e","subject":"Remove win32ver.awk from the CVS. It is not needed because we have a .rc file in place.","message":"Remove win32ver.awk from the CVS. It is not needed because\nwe have a .rc file in place.\n\n\ngit-svn-id: b819289d3a0e8888cd070d2ae628b7cf730b797f@300763 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"apache\/tomcat-native,andreydomas\/tomcat-native,rmaucher\/tomcat-native-openssl,andreydomas\/tomcat-native,apache\/tomcat-native,apache\/tomcat-native,rmaucher\/tomcat-native-openssl,apache\/tomcat-native,rmaucher\/tomcat-native-openssl,rmaucher\/tomcat-native-openssl,rmaucher\/tomcat-native-openssl,andreydomas\/tomcat-native,andreydomas\/tomcat-native,apache\/tomcat-native,andreydomas\/tomcat-native","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- native\/build\/win32ver.awk\n+++ native\/build\/win32ver.awk\n@@ -1,121 +0,0 @@\n-BEGIN {\n-\n-  # ff bits: 1(debug), 2(prerelease), 4(patched), 8(vendor) and 32(special)\n-  # debug is summed based on the \/Define _DEBUG\n-  # prerelease is based on the -dev extension,\n-  # patched is based on a non-standard \"-ver\" extension, \n-  # special and vendor are toggled by their args.\n-  #\n-  ff = 0;\n-\n-  file=ARGV[1];\n-  desc=ARGV[2];\n-  rel_h=ARGV[3];\n-\n-  filename = file;\n-  if (match(file, \/\\.\/)) {\n-    sub(\/\\.[^\\.]*$\/, \"\", file);\n-  }\n-\n-  i = 4;\n-  while (length(ARGV[i])) {\n-    if (match(ARGV[i], \/icon=\/)) {\n-      icon = substr(ARGV[i], 6);\n-    }\n-    if (match(ARGV[i], \/vendor=\/)) {\n-      vendor = substr(ARGV[i], 8);\n-      ff = ff + 8;\n-    }\n-    if (match(ARGV[i], \/special=\/)) {\n-      special = substr(ARGV[i], 9);\n-      ff = ff + 32;\n-    }\n-    i = i + 1\n-  }\n-\n-  i = i - 1;\n-  while (i) {\n-    delete ARGV[i];\n-    i = i - 1;\n-  }\n-\n-  while ((getline < rel_h) > 0) {\n-    if (match ($0, \/^#define TC._MAJOR_VERSION\/)) {\n-      ver_major = $3;\n-    }\n-    if (match ($0, \/^#define TC._MINOR_VERSION\/)) {\n-      ver_minor = $3;\n-    }\n-    if (match ($0, \/^#define TC._PATCH_VERSION\/)) {\n-      ver_patch = $3;\n-    }\n-    if (match ($0, \/^#define TC._IS_DEV_VERSION\/)) {\n-      ver_suffix = \"-dev\";\n-      ver_build = \"0\";\n-    }\n-    if (match ($0, \/^#undef TC._IS_DEV_VERSION\/)) {\n-      ver_build = \"100\";\n-    }\n-    if (match ($0, \/^.*Copyright \/)) {\n-      copyright = substr($0, RLENGTH + 1);\n-    }\n-  }\n-  ver = ver_major \".\" ver_minor \".\" ver_patch ver_suffix;\n-  verc = ver_major \",\" ver_minor \",\" ver_patch \",\" ver_build;   \n-\n-  if (length(vendor)) {\n-    ff = ff + 8;\n-  }\n-\n-  if (length(icon)) {\n-    print \"1 ICON DISCARDABLE \\\"\" icon \"\\\"\";\n-  }\n-  print \"1 VERSIONINFO\";\n-  print \" FILEVERSION \" verc \"\";\n-  print \" PRODUCTVERSION \" verc \"\";\n-  print \" FILEFLAGSMASK 0x3fL\";\n-  print \"#if defined(_DEBUG)\"\n-  print \" FILEFLAGS 0x\" sprintf(\"%02x\", ff + 1) \"L\";\n-  print \"#else\"\n-  print \" FILEFLAGS 0x\" sprintf(\"%02x\", ff) \"L\";\n-  print \"#endif\"\n-  print \" FILEOS 0x40004L\";\n-  print \" FILETYPE 0x1L\";\n-  print \" FILESUBTYPE 0x0L\";\n-  print \"BEGIN\";\n-  print \"  BLOCK \\\"StringFileInfo\\\"\";\n-  print \"  BEGIN\";\n-  print \"    BLOCK \\\"040904b0\\\"\";\n-  print \"    BEGIN\";\n-  print \"    VALUE \\\"Comments\\\", \"\\\n-     \"\\\"Licensed under the Apache License, Version 2.0 (the \\\"\\\"License\\\"\\\"); \"\\\n-     \"you may not use this file except in compliance with the License.  \"\\\n-     \"You may obtain a copy of the License at\\\\r\\\\n\\\\r\\\\n\"\\\n-     \"http:\/\/www.apache.org\/licenses\/LICENSE-2.0\\\\r\\\\n\\\\r\\\\n\"\\\n-     \"Unless required by applicable law or agreed to in writing, \"\\\n-     \"software distributed under the License is distributed on an \"\\\n-     \"\\\"\\\"AS IS\\\"\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, \"\\\n-     \"either express or implied.  See the License for the specific \"\\\n-     \"language governing permissions and limitations under the License.\\\\0\\\"\";\n-  print \"      VALUE \\\"CompanyName\\\", \\\"Apache Software Foundation\\\\0\\\"\";\n-  print \"      VALUE \\\"FileDescription\\\", \\\"\" desc \"\\\\0\\\"\";\n-  print \"      VALUE \\\"FileVersion\\\", \\\"\" ver \"\\\\0\\\"\";\n-  print \"      VALUE \\\"InternalName\\\", \\\"\" file \"\\\\0\\\"\";\n-  print \"      VALUE \\\"LegalCopyright\\\", \\\"Copyright \" copyright \"\\\\0\\\"\";\n-  print \"      VALUE \\\"OriginalFilename\\\", \\\"\" filename \"\\\\0\\\"\";\n-  if (vendor) {\n-    print \"      VALUE \\\"PrivateBuild\\\", \\\"\" vendor \"\\\\0\\\"\";\n-  }\n-  if (special) {\n-    print \"      VALUE \\\"SpecialBuild\\\", \\\"\" vendor \"\\\\0\\\"\";\n-  }\n-  print \"      VALUE \\\"ProductName\\\", \\\"Apache Portable Runtime\\\\0\\\"\";\n-  print \"      VALUE \\\"ProductVersion\\\", \\\"\" ver \"\\\\0\\\"\";\n-  print \"    END\";\n-  print \"  END\";\n-  print \"  BLOCK \\\"VarFileInfo\\\"\";\n-  print \"  BEGIN\";\n-  print \"    VALUE \\\"Translation\\\", 0x409, 1200\";\n-  print \"  END\";\n-  print \"END\";\n-}\n"}
{"commit":"4f39c9a458926c7c32e3dc9f12fd6ff565473709","subject":"Reduced season number noise","message":"Reduced season number noise\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -230,7 +230,7 @@\n     if (episodeURL ~ \/bonus\\\/|[0-9]{1,2}parttwo\\\/|christmasspecial\\\/\/)\n         episodeType = \"X\"\n     # jamaicainn & newworlds bonus seasonNumber should be 1\n-    if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/\/) {\n+    if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/\/ && seasonNumber != 1) {\n         split (episodeURL, part, \"\/\")\n         printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n                part[4], part[5], seasonNumber) >> ERROR_FILE\n"}
{"commit":"000a1247f431b935493d7bb14ab9cf1a1d4d4b09","subject":"Cleanup duration format","message":"Cleanup duration format\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -142,7 +142,7 @@\n     mins = tm[2] + int(secs \/ 60)\n     hrs =  int(mins \/ 60)\n     secs %= 60; mins %= 60\n-    episodeDuration = hrs \":\" mins \":\" secs\n+    episodeDuration = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n     next\n }\n \n"}
{"commit":"29357b4b69850c51c945798954a1716d1e7da7fc","subject":"Add golang snippets","message":"Add golang snippets\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/snip.awk\n+++ bin\/snip.awk\n@@ -4,6 +4,7 @@\n \n   # global\n   FIXED[\"--\"]   = \"-------------------------------------------------\"\n+  FIXED[\"#--\"]  = \"#-------------------------------------------------\"\n   FIXED[\"isod\"] = strftime(\"%F\")\n   FIXED[\"ts\"]   = strftime(\"%s\")\n   FIXED[\"cr\"]   = \"\u23ce\"\n@@ -23,6 +24,14 @@\n   FIXED[\"r:fn\"] = \"function\"\n   FIXED[\"r:|\"]  = \"%>%\"\n   FIXED[\"r:>\"]  = \"%>%\"\n+\n+  # go\n+  FIXED[\"go:\/\/--\"]    = \"\/\/-------------------------------------------------\"\n+  FIXED[\"go:fn\"]      = \"func |() {\\n}\"\n+  FIXED[\"go:fori\"]    = \"for i := 0; i < |; i++ {}\"\n+  FIXED[\"go:forr\"]    = \"for i, _ := range | {}\"\n+  FIXED[\"go:handler\"] = \"func(w http.ResponseWriter, r *http.Request)\"\n+  PREFIX[\"go:print\"] = \"fmt.Printf(\\\"%v\\\\n\\\", |)\"\n }\n \n #-------------------------------------------------\n"}
{"commit":"1386f11ecab4e593ea62180bc38dc444951a44b5","subject":"fix cd() function","message":"fix cd() function\n","repos":"robert-figura\/req,robert-figura\/req","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/lib.api.awk\n+++ src\/lib.api.awk\n@@ -95,10 +95,10 @@\n     print cmd\n }\n func run_system(cmd) {\n-    system(cmd)\n+    system(\"cd \" Q(get(\"pwd\")) \" ; \" cmd)\n }\n func run_spawn(cmd) {\n-    system(cmd \" &\")\n+    system(\"cd \" Q(get(\"pwd\")) \" ; \" cmd \" &\")\n }\n # exec() comes with awk -l exec.so ...\n func run_exec(cmd) {\n@@ -106,7 +106,7 @@\n #    if(extension(\"exec.so\", \"dl_load\"))\n #\trun_system(cmd)\n     cleanup()\n-    exec(cmd)\n+    exec(\"cd \" Q(get(\"pwd\")) \" ; \" cmd)\n     # this should also execute the END block:\n #    exec(cmd, 1)\n }\n"}
{"commit":"b8531f52064b6f738cf04cee97fb5e19bf55d574","subject":"Languages: add Faroese language","message":"Languages: add Faroese language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -91,6 +91,19 @@\n     Locale[\"dz\"][\"iso\"]                = \"dzo\"\n     Locale[\"dz\"][\"glotto\"]             = \"nucl1307\"\n     Locale[\"dz\"][\"script\"]             = \"Tibt\"\n+\n+    #? Faroese\n+    Locale[\"fo\"][\"name\"]               = \"Faroese\"\n+    Locale[\"fo\"][\"endonym\"]            = \"F\u00f8royskt\"\n+    #Locale[\"fo\"][\"translations-of\"]\n+    #Locale[\"fo\"][\"definitions-of\"]\n+    #Locale[\"fo\"][\"synonyms\"]\n+    #Locale[\"fo\"][\"examples\"]\n+    #Locale[\"fo\"][\"see-also\"]\n+    Locale[\"fo\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fo\"][\"iso\"]                = \"fao\"\n+    Locale[\"fo\"][\"glotto\"]             = \"faro1244\"\n+    Locale[\"fo\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"695cee320feb26074b65c6d76f1762e0a9f929bb","subject":"Languages: disable check for LC_CTYPE and LC_MESSAGES (#36)","message":"Languages: disable check for LC_CTYPE and LC_MESSAGES (#36)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1398,9 +1398,7 @@\n function initUserLang(    locale) {\n     locale = ENVIRON[\"LANGUAGE\"] ? ENVIRON[\"LANGUAGE\"] :\n         (ENVIRON[\"LC_ALL\"] ? ENVIRON[\"LC_ALL\"] :\n-         (ENVIRON[\"LC_CTYPE\"] ? ENVIRON[\"LC_CTYPE\"] :\n-          (ENVIRON[\"LC_MESSAGES\"] ? ENVIRON[\"LC_MESSAGES\"] :\n-           (ENVIRON[\"LANG\"] ? ENVIRON[\"LANG\"] : \"en_US.UTF-8\"))))\n+         (ENVIRON[\"LANG\"] ? ENVIRON[\"LANG\"] : \"en_US.UTF-8\"))\n     if (tolower(locale) !~ \/utf-?8$\/)\n         w(\"[WARNING] Your locale codeset (\" locale \") is not UTF-8.\")\n \n"}
{"commit":"3570b699ccc07c4e1be4afd934c179291f11c671","subject":"fix missing 'PR |' episodes","message":"fix missing 'PR |' episodes\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -119,22 +119,22 @@\n # Extract the episode number, and correct if necessary\n # Detective Montalbano requires special processing for page 2 episodeNumber\n \/<h4 class=\"\/ {\n-    sub (\/.*Episode \/,\"\")\n-    sub (\/<\\\/span>.*\/,\"\")\n-    episodeNumber = $0 + 0\n+    episodeNumber = $0\n+    sub (\/.*Episode \/,\"\",episodeNumber)\n+    sub (\/<\\\/span>.*\/,\"\",episodeNumber)\n+    episodeNumber = episodeNumber + 0\n     if (seriesTitle == \"Detective Montalbano\" && page2 == \"yes\") {\n         oldEpisodeNumber = episodeNumber\n         episodeNumber += 24\n         printf (\"==> Changed E%02d to %s%02d: %s\\n\", oldEpisodeNumber, episodeType, \\\n                 episodeNumber, shortURL) >> ERROR_FILE\n     }\n-    next\n }\n \n # WARNING - other scripts depend on the number and order of the fields below\n # Extract the episode description and print the composed info\n-\/<div class=\"transparent padding-top-medium\"\/,\/<\\\/div>\/ {\n-    if ($0 ~ \/<div class=\"transparent padding-top-medium\"\/) {\n+\/<h4 class=\"transparent\"><span class=\/,\/<\\\/div>\/ {\n+    if ($0 ~ \/<h4 class=\"transparent\"><span class=\/) {\n         if (episodeNumber == 0) {\n             if (episodeNumberFromURL != 0) {\n                 printf (\"==> Changed %s00 to %s%02d: %s\\n\", episodeType, episodeType, \n"}
{"commit":"953b0d366c2df294664dafffd68c10710e6b4e96","subject":"Fixed the decode script","message":"Fixed the decode script\n","repos":"mntnorv\/wrdl,mntnorv\/wrdl","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- extras\/decode.awk\n+++ extras\/decode.awk\n@@ -14,13 +14,12 @@\n \n function fiveBitDecode(char) {\n \tcurrentNum = ord[char]\n-\t\n \n \tif (shift >= 8) {\n \t\tshift = shift - 8\n \t}\n \n-\twhile (shift <= 8) {\n+\twhile (shift < 8) {\n \t\tif (shift > 0 && shift < 5) {\n \t\t\tlastNum = or(lastNum, and(lshift(currentNum, 5 - shift), 0x1F))\n \t\t\tprintf \"%c\", substr(convert, lastNum + 1, 1)\n"}
{"commit":"728b7f18c989954912a4b2ad2778c9eeba181f2c","subject":"rudimentary documentation for the includebloat script","message":"rudimentary documentation for the includebloat script\n\nChange-Id: I52209b70b3d93e488e6c9d16fefd179f2ac06afb\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"unknown","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"c9fe1c11ac023d2bf5519c79744a0974e031e027","subject":"update","message":"update\n","repos":"gonet2\/tools,GameGophers\/tools,GameGophers\/tools,gonet2\/tools","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- proto_scripts\/client\/proto.awk\n+++ proto_scripts\/client\/proto.awk\n@@ -65,7 +65,7 @@\n \tif (a[2] in WRITERS) {\n \t\treturn \"w.\" WRITERS[a[2]] \"(this.\" a[1] \");\\n\"\n \t} else if (a[2] == \"array\") {\n-\t\tret = \"w.WriteU16(uint16(len(this.\" a[1] \")));\\n\"\n+\t\tret = \"w.WriteUnsignedInt16((UInt16)this.\" a[1] \".Length);\\n\"\n \t\tif (a[3] == \"byte\") {\n \t\t\tret = ret \"w.WriteRawBytes(this.\"a[1]\");\\n\"\n \t\t\treturn ret\n@@ -74,8 +74,8 @@\n \t\t\t\tret = ret \"\\t\\tw.\" WRITERS[a[3]] \"(this.\" a[1] \"[k]);\\n\"\n \t\t\treturn ret \"\\t}\\n\"\n \t\t} else {\n-\t\t\tret = ret \"\\tforeach (int k in this.\" a[1] \") {\\n\"\n-\t\t\t\tret = ret \"\\t\\tthis.\"a[1]\"[k].Pack(w);\\n\"\n+\t\t\tret = ret \"\\tforeach (\"a[3]\" k in this.\" a[1] \") {\\n\"\n+\t\t\t\tret = ret \"\\t\\tk.Pack(w);\\n\"\n \t\t\treturn ret \"\\t}\\n\"\n \t\t}\n \t} else {\n@@ -95,7 +95,7 @@\n \t\t\t\n \t\t} else if (a[3] in READERS) {\t## primitives\n \t\t\t\n-\t\t\tret = ret \"\\tshort narr = reader.ReadU16();\\n\"\n+\t\t\tret = ret \"\\tUInt16 narr = reader.ReadUnsignedInt16();\\n\"\n \t\t\tret = ret \"\\t\\tfor (int i = 0; i < narr; i++) {\\n\"\n \t\t\tret = ret \"\\t\\t\\ttbl.\"a[1]\"[i] =reader.\"READERS[a[3]]\"();\\n\"\n \t\t\t#ret = ret \"\\t\\t\\ttbl.\"a[1]\"[i] =  v;\\n\"\n@@ -103,10 +103,10 @@\n \t\t\t\n \t\t} else {\t## struct\n \t\t\t\n-\t\t\tret = ret \"\\tshort narr = reader.ReadU16();\\n\"\n+\t\t\tret = ret \"\\tUInt16 narr = reader.ReadUnsignedInt16();\\n\"\n \t\t\tret = ret \"\\t\\ttbl.\"a[1]\" = new \"a[3]\"[narr];\\n\"\n \t\t\tret = ret \"\\t\\tfor (int i = 0; i < narr; i++){\\n\"\n-\t\t\tret = ret \"\\t\\t\\ttbl.\"a[1]\"[i] = \"a[3]\".Unpack(reader);\\n\"\n+\t\t\tret = ret \"\\t\\t\\ttbl.\"a[1]\"[i] = \"a[3]\".UnPack(reader);\\n\"\n \t\t\tret = ret \"\\t\\t}\"\n \t\t\n \t\t}\n"}
{"commit":"9c65c5b741b341fa0a689e91a0cc4ff15d8e53a6","subject":"Add a close command to avoid too many files opened problems (encountered with large libpcap file)  ","message":"Add a close command to avoid too many files opened problems (encountered with large libpcap file)\n \n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@118 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/marksession.awk\n+++ scripts\/marksession.awk\n@@ -10,6 +10,7 @@\n     frame_file = destDir \"\/frames\/Frame\"$3\".html\"\n     session_line = \"\"\n     \"grep -i \\\"\" session_token \"\\\" \" frame_file | getline session_line\n+    close(grep)\n \n     if (session_line == \"\" ) {\n       $6 = \"{0}\"\n"}
{"commit":"5618935b8cbf76a649a9539f9bfd93ec7aa76241","subject":"removed debug output from nvidia plugin","message":"removed debug output from nvidia plugin\n","repos":"excess-project\/monitoring-agent,excess-project\/monitoring-agent,excess-project\/monitoring-agent","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- client\/plugins\/nvidia-shell\/nvidia.awk\n+++ client\/plugins\/nvidia-shell\/nvidia.awk\n@@ -49,16 +49,12 @@\n     JSON=JSON\"\\\"hostname\\\":\\\"\"hostname\"\\\"\"\n \n     for (i=0; i <= gpu_id; i++) {\n-        #JSON=JSON\", \\\"GPU\"i\":UUID\\\":\\\"\"GPU[i, \"UUID\"]\"\\\"\"\n         JSON=JSON\", \\\"GPU\"i\":power\\\":\"GPU[i, \"power\"]\"\"\n         JSON=JSON\", \\\"GPU\"i\":temperature\\\":\"GPU[i, \"temperature\"]\"\"\n         JSON=JSON\", \\\"GPU\"i\":GPUutilization\\\":\"GPU[i, \"GPUutilization\"]\"\"\n     }\n     JSON=JSON\"}\"\n-    print JSON\n \n     URL=server\"\/\"id\n     \"curl -i -s -H 'Accept: application\/json' -H 'Content-Type:application\/json' -X POST \"URL \" --data '\"JSON\"'\" |& getline results\n-\n-    print \"Done with result:\" results\n }\n"}
{"commit":"97bc599b93c8b7c29372afcb4e10c0bf7c813771","subject":"Languages: add Ilocano","message":"Languages: add Ilocano\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -662,6 +662,19 @@\n     Locale[\"ig\"][\"iso\"]                = \"ibo\"\n     Locale[\"ig\"][\"glotto\"]             = \"nucl1417\"\n     Locale[\"ig\"][\"script\"]             = \"Latn\"\n+\n+    # Ilocano\n+    Locale[\"ilo\"][\"name\"]              = \"Ilocano\"\n+    Locale[\"ilo\"][\"endonym\"]           = \"Ilokano\"\n+    #Locale[\"ilo\"][\"translations-of\"]\n+    #Locale[\"ilo\"][\"definitions-of\"]\n+    #Locale[\"ilo\"][\"synonyms\"]\n+    #Locale[\"ilo\"][\"examples\"]\n+    #Locale[\"ilo\"][\"see-also\"]\n+    Locale[\"ilo\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"ilo\"][\"iso\"]               = \"ilo\"\n+    Locale[\"ilo\"][\"glotto\"]            = \"ilok1237\"\n+    Locale[\"ilo\"][\"script\"]            = \"Latn\"\n \n     #41 Indonesian\n     Locale[\"id\"][\"name\"]               = \"Indonesian\"\n"}
{"commit":"8747303eae464fe43912b657621a6fed93bdd5d6","subject":"Add support to HTTP proxy, fix issue #22","message":"Add support to HTTP proxy, fix issue #22\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -25,7 +25,13 @@\n     HttpProtocol = \"http:\/\/\"\n     HttpHost = \"translate.google.com\"\n     HttpPort = 80\n-    HttpService = \"\/inet\/tcp\/0\/\" HttpHost \"\/\" HttpPort\n+    if(match(ENVIRON[\"http_proxy\"], \/^http:\\\/*([^\\\/]*):([^\\\/:]*)\/, HttpProxySpec)) {\n+        HttpService = \"\/inet\/tcp\/0\/\" HttpProxySpec[1] \"\/\" HttpProxySpec[2]\n+        HttpPathPrefix = HttpProtocol HttpHost\n+    } else {\n+        HttpService = \"\/inet\/tcp\/0\/\" HttpHost \"\/\" HttpPort\n+        HttpPathPrefix = \"\"\n+    }\n }\n \n # Pre-process string (URL-encode before send).\n@@ -42,11 +48,13 @@\n \n # Send an HTTP request and get response from Google Translate.\n function getResponse(text, sl, tl, hl,    content, url) {\n-    url = HttpProtocol HttpHost \"\/translate_a\/t?client=t\"       \\\n+    url = HttpPathPrefix \"\/translate_a\/t?client=t\"              \\\n         \"&ie=UTF-8&oe=UTF-8\"                                    \\\n         \"&text=\" preprocess(text) \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl\n \n-    print \"GET \" url |& HttpService\n+    print \"GET \" url \" HTTP\/1.1\\n\"             \\\n+          \"Host: \" HttpHost \"\\n\"               \\\n+          \"Connection: close\\n\" |& HttpService\n     while ((HttpService |& getline) > 0)\n         content = $0\n     close(HttpService)\n"}
{"commit":"f985eb8e2e19291f748f0e51aa44e09d538ee42d","subject":"PASSDOTS in a key table should mean no dots (rather than all dots). (dm)","message":"PASSDOTS in a key table should mean no dots (rather than all dots). (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@4673 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/cmds.awk\n+++ Programs\/cmds.awk\n@@ -25,11 +25,13 @@\n   if (help ~ \/^toggle \/) print \"  .isToggle = 1,\"\n \n   if (symbol ~ \/^BRL_BLK_\/) {\n-    if (help ~ \/ character$\/) {\n+    if (symbol ~ \/^BRL_BLK_PASS\/) {\n+      if (symbol ~ \/^BRL_BLK_PASSKEY.*KEY_FUNCTION$\/) {\n+        print \"  .isBase = 1,\"\n+      }\n+    } else if (help ~ \/ character$\/) {\n       print \"  .isCharacter = 1,\"\n-    } else if (symbol !~ \/^BRL_BLK_PASS\/) {\n-      print \"  .isBase = 1,\"\n-    } else if (symbol ~ \/^BRL_BLK_PASSKEY.*KEY_FUNCTION$\/) {\n+    } else {\n       print \"  .isBase = 1,\"\n     }\n   }\n"}
{"commit":"82b8e6fb8b731bb5ea185508c6dfe6d2254f0570","subject":"Added support for dns-nameservers","message":"Added support for dns-nameservers\n","repos":"JoeKuan\/Network-Interfaces-Script","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changeInterface.awk\n+++ changeInterface.awk\n@@ -1,30 +1,35 @@\n-function writeStatic(addr, nw, nm, gw) {\n-    if (length(addr))\n+function writeStatic(addr, nw, nm, gw, dns) {\n+\n+    if (length(addr)) \n         print \"    address \", addr\n-  \n-    if (length(nw))\n-        print \"    network \", nw\n-  \n-    if (length(nm))\n+    \n+    if (length(nw)) \n+        print \"    network \", nw \n+\n+    if (length(nm)) \n         print \"    netmask \", nm\n-  \n-    if (length(gw))\n+\n+    if (length(gw)) \n         print \"    gateway \", gw\n+\n+    if (length(dns))\n+\tprint \"    dns-nameservers \", dns\n }\n-  \n+\n function usage() {\n-    print \"awk -f changeInterfaces.awk <interfaces file> device=<eth device> \\n\" \\\n-        \"       [address=<ip addr>] [gateway=<ip addr>] [netmask=<ip addr>]\\n\" \\\n-        \"       [network=<ip addr>] [mode=dhcp|static] [arg=debug]\"\n+        print \"awk -f changeInterfaces.awk <interfaces file> dev=<eth device> \\n\" \\\n+            \"       [address=<ip addr>] [gateway=<ip addr>] [netmask=<ip addr>]\\n\" \\\n+            \"       [network=<ip addr>] [mode=dhcp|static] [dns=<ip addr [ip addr ...]>] [arg=debug]\"\n }\n-  \n+\n BEGIN { start = 0;\n-  \n-    if (ARGC < 3 || ARGC > 9) {\n+    dnsVal = \"\";\n+    \n+    if (ARGC < 3 || ARGC > 10) {\n         usage();\n         exit 1;\n     }\n-  \n+\n     for (i = 2; i < ARGC; i++) {\n         split(ARGV[i], pair, \"=\");\n         if (pair[1] == \"address\")\n@@ -35,64 +40,58 @@\n             network = pair[2];\n         else if (pair[1] == \"netmask\")\n             netmask = pair[2];\n-        else if (pair[1] == \"device\")\n+        else if (pair[1] == \"dev\")\n             device = pair[2];\n+        else if (pair[1] == \"dns\") {\n+\t    if (!length(pair[2])) {\n+\t\tdnsVal = \"clear\";\n+\t    } else {\n+\t\tdnsVal = pair[2];\n+\t    }\n+\t}\n         else if (pair[1] == \"arg\" && pair[2] == \"debug\")\n             debug = 1;\n-        else if (pair[1] == \"mode\" && pair[2] == \"dhcp\")\n+        else if (pair[1] == \"mode\" && pair[2] == \"dhcp\") \n             dhcp = 1;\n-        else if (pair[1] == \"mode\" && pair[2] == \"static\")\n+        else if (pair[1] == \"mode\" && pair[2] == \"static\") \n             static = 1;\n-        else if (pair[1] == \"mode\" && pair[2] == \"remove\")\n-            remove = 1;\n         else {\n             usage();\n             exit 1;\n         }\n     }\n-  \n+\n     # Sort out the logic of argument\n     if (dhcp && (length(network) || length(gateway) || length(address) || length(netmask))) {\n         print \"Both DHCP and static properties are defined\";\n         usage();\n         exit 1;\n     }\n-}\n-  \n-{\n-    if ($1 == \"auto\" && remove) {\n-        gsub(device, \"\");\n-        print;\n-        next;\n-    }\n- \n+} \n+\n+{ \n     # Look for iface line and if the interface comes with the device name\n-    # scan whether it is dhcp or static\n+    # scan whether it is dhcp or static \n     if ($1 == \"iface\")  {\n-  \n+\n         # Ethernet name matches - switch the line scanning on\n         if ($2 == device) {\n-  \n+\n             if (debug)\n                 print $0;\n-  \n-            # If remove is defined, switch on delete mode \n-            if (remove) {\n-                definedRemove=1;\n-            }\n- \n+\n             # It's a DHCP interface, if defined any static properties\n             # change it to static\n-            else if (match($0, \/ dhcp\/)) {\n+            if (match($0, \/ dhcp\/)) {\n                 definedDhcp=1;\n                 # Change to static if defined properties\n-                if (length(address) || length (gateway) ||\n+                if (length(address) || length (gateway) || \n                     length(netmask) || length (network) || static) {\n                     print \"iface\", device, \"inet static\";\n                     next;\n                 }\n-            }\n-  \n+            } \n+\n             # It's a static network interface\n             else if (match ($0, \/ static\/)) {\n                 definedStatic=1;\n@@ -103,66 +102,93 @@\n                     next;\n                 }\n             }\n-  \n-        }\n+\n+        } \n         # If it is other inteface line, switch it off\n         else {\n+\n+\t    if (definedStatic) {\n+\t\tif (length(dnsVal) && dnsVal != \"clear\") {\n+\t\t    if (debug) {\n+\t\t\tprint \"Detected new iface defined but dns hasn't been updated yet\";\n+\t\t    }\n+\t\t    print \"    dns-nameservers \", dnsVal;\n+\t\t}\n+\t    }\n+\t    \n             definedStatic = 0;\n             definedDhcp = 0;\n-            definedRemove = 0;\n         }\n-  \n-        if (!definedRemove) {\n-            print $0;\n-            next;\n-        }\n+\n+        print $0;\n+        next;\n     }\n-  \n+\n     # Reaches here - means non iface lines\n     # Change the static content\n     if (definedStatic) {\n-  \n+\n         # Already defined static, just changing the properties\n         # Otherwise omit everything until the iface section is\n         # finished\n         if (!dhcp) {\n-  \n+\n             if (debug)\n                 print \"static - \", $0, $1;\n-  \n-            if ($1 == \"address\" && length(address))\n+            \n+            if ($1 == \"address\" && length(address)) \n                 print \"    address \", address\n-  \n-            else if ($1 == \"netmask\" && length(netmask))\n+       \n+            else if ($1 == \"netmask\" && length(netmask)) \n                 print \"    netmask \", netmask;\n-  \n+        \n             else if ($1 == \"gateway\" && length(gateway))\n-                print \"    gateway \", gateway;\n-  \n+                print \"    gateway \", gateway; \n+\n             else if ($1 == \"network\" && length(network))\n-                print \"    network \", network;\n-  \n-            else\n+                print \"    network \", network; \n+\n+            else if ($1 == \"dns-nameservers\") {\n+\t\t# Overwrite it if dns is defined.\n+\t\t# Clear the dns entry if the parameter is empty string\n+\t\tif (length(dnsVal) && dnsVal != \"clear\") {\n+\t\t    print \"    dns-nameservers \", dnsVal;\n+\t\t    # Important - to reset the dns. So that we know whether\n+\t\t    # dns has been updated to the interfaces file\n+\t\t    dnsVal = \"\";\n+\t\t} else if (!length(dnsVal)) {\n+\t\t    print $0;\n+\t\t}\n+\t    }\n+\n+            else \n                 print $0;\n         }\n         next;\n     }\n-  \n+\n     # If already defined dhcp, then dump the network properties\n     if (definedDhcp) {\n-        writeStatic(address, network, netmask, gateway);\n+        writeStatic(address, network, netmask, gateway, dnsVal);\n         definedDhcp = 0;\n         next;\n     }\n-  \n-    if (!definedRemove) {\n-        print $0;\n+\n+    print $0;\n+}\n+\n+END {\n+    if (definedDhcp) {\n+\t# This bit is useful at the condition when the last line is\n+\t# iface dhcp\n+        writeStatic(address, network, netmask, gateway, dnsVal);\n+    } else if (definedStatic) {\n+\t# Condition for last line and adding dns entry\n+\tif (length(dnsVal) && dnsVal != \"clear\") {\n+\t    if (debug) {\n+\t\tprint \"Detected end of line but dns hasn't been updated yet\";\n+\t    }\n+\t    print \"    dns-nameservers \", dnsVal;\n+\t}\n     }\n }\n-  \n-END {\n-    # This bit is useful at the condition when the last line is\n-    # iface dhcp\n-    if (definedDhcp)\n-        writeStatic(address, network, netmask, gateway);\n-}\n"}
{"commit":"3bd84a93522fd39d92065f676210d7af036e4574","subject":"Main: support XDG_CONFIG_HOME, fix #141","message":"Main: support XDG_CONFIG_HOME, fix #141\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -77,10 +77,13 @@\n     if (!fileExists(file)) {\n         file = ENVIRON[\"HOME\"] \"\/.translate-shell\/init.trans\"\n         if (!fileExists(file)) {\n-            file = ENVIRON[\"HOME\"] \"\/.config\/translate-shell\/init.trans\"\n+            file = ENVIRON[\"XDG_CONFIG_HOME\"] \"\/translate-shell\/init.trans\"\n             if (!fileExists(file)) {\n-                file = \"\/etc\/translate-shell\"\n-                if (!fileExists(file)) return\n+                file = ENVIRON[\"HOME\"] \"\/.config\/translate-shell\/init.trans\"\n+                if (!fileExists(file)) {\n+                    file = \"\/etc\/translate-shell\"\n+                    if (!fileExists(file)) return\n+                }\n             }\n         }\n     }\n"}
{"commit":"54f36de6c121a35f2c23f96fd3fc2a3e91023827","subject":"added swap param","message":"added swap param\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/symbol-interpretation.awk\n+++ bin\/util\/symbol-interpretation.awk\n@@ -19,9 +19,14 @@\n \n {\n    comma=index($0,\",\");\n+   symbol=substr($0,1,comma-1);\n    interpretation=substr($0,comma+1,length($0));\n+   if( swap == \"yes\" ) {\n+      symbol=substr($0,comma+1,length($0));\n+      interpretation=substr($0,1,comma-1);\n+   }\n    printf(\"         conversion:interpret [\\n\");\n-   printf(\"            conversion:symbol         \\\"%s\\\";\\n\",substr($0,1,comma-1));\n+   printf(\"            conversion:symbol         \\\"%s\\\";\\n\",symbol);\n    printf(\"            conversion:interpretation \\\"%s\\\";\\n\",interpretation);\n    printf(\"         ];\\n\");\n }\n"}
{"commit":"8c71ea098a259a0f730f7a07a189824fa3225784","subject":"I made minor changes to the default numbers of lowercase and numeric password characters.","message":"I made minor changes to the default numbers of lowercase and numeric password characters.\n","repos":"gmesser\/make_password","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- make_password.awk\n+++ make_password.awk\n@@ -1,4 +1,4 @@\n-#!\/usr\/bin\/awk\n+#!\/usr\/bin\/awk -f\n # make_password.awk - Make random password(s).\n \n # Usage: awk -f make_password.awk [-v num=n] [-v len=n] [-v debug=1]\n@@ -91,9 +91,9 @@\n \tspecial_candidates=\"!@#$%^&*-_=+\/\"\n \n \t# Here is where you can set the number of the various candidate characters.\n-\tlowercase_num = 3\n+\tlowercase_num = 2\n \tuppercase_num = 2\n-\tnumeric_num = 2\n+\tnumeric_num = 3\n \tspecial_num = 1\n \n \t# Here is where you can set how the numbers of the various candidate\n"}
{"commit":"eb623b83192cbe9d74a79014770d024b22a6bf82","subject":"cfg_utils.awk\t-- removed old commented out code for parsing key = value lines","message":"cfg_utils.awk\t-- removed old commented out code for parsing key = value lines\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/cfg_utils.awk\n+++ lib\/cfg_utils.awk\n@@ -5,17 +5,6 @@\n \t\tn_cflines++\n \t\tif(substr(cfline, 1, 1) == \"#\")\n \t\t\tcontinue;\n-\n-#\t\t# TODO: redo to split on the first eq sign\n-#\t\tnf = split(cfline, ary, \"=\")\n-#\t\tfor(i = 1; i <= nf; i++){\n-#\t\t\tgsub(\/^[\\t  ]*\/, \"\", ary[i])\n-#\t\t\tgsub(\/[\\t  ]*$\/, \"\", ary[i])\n-#\t\t}\n-#\t\tif(ary[1] == \"\")\n-#\t\t\tcontinue\n-#\t\tif(substr(ary[1], 1, 1) == \"#\")\n-#\t\t\tcontinue\n \n \t\teq = index(cfline, \"=\")\n \t\tif(eq == 0){\n"}
{"commit":"bb500f518d5b2c5ba3eab94a34786b5a3c5ef992","subject":"Commons: update yn(string)","message":"Commons: update yn(string)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -229,10 +229,10 @@\n     return temp\n }\n \n-# Return 0 if the string starts with '0', 'f' or 'n';\n+# Return 0 if the string starts with '0', 'f', 'n' or 'off';\n # Otherwise, return 1.\n function yn(string) {\n-    return (tolower(string) ~ \/^[0fn]\/) ? 0 : 1\n+    return (tolower(string) ~ \/^([0fn]|off)\/) ? 0 : 1\n }\n \n # Initialize ANSI escape codes for SGR (Select Graphic Rendition).\n"}
{"commit":"70a83788b173382270f15c0516c09d676d580338","subject":"Languages: mark as yandex-only: Bashkir","message":"Languages: mark as yandex-only: Bashkir\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1494,7 +1494,7 @@\n     Locale[\"as\"][\"script\"]             = \"Beng\"\n \n     #? Bashkir\n-    Locale[\"ba\"][\"support\"]            = \"unstable\"\n+    Locale[\"ba\"][\"support\"]            = \"yandex-only\"\n     Locale[\"ba\"][\"name\"]               = \"Bashkir\"\n     Locale[\"ba\"][\"endonym\"]            = \"\u0431\u0430\u0448\u04a1\u043e\u0440\u0442 \u0442\u0435\u043b\u0435\"\n     #Locale[\"ba\"][\"translations-of\"]\n"}
{"commit":"d0a4f15c8cce80aabd6b298f316a3fc9dd19fa51","subject":"Translate: add a placeholder for the access token in parameters (#83)","message":"Translate: add a placeholder for the access token in parameters (#83)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -65,7 +65,7 @@\n     url = HttpPathPrefix \"\/translate_a\/single?client=t\"                 \\\n         \"&ie=UTF-8&oe=UTF-8\"                                            \\\n         \"&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at\"  \\\n-        \"&q=\" preprocess(text) \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl\n+        \"&q=\" preprocess(text) \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl \"&tk\"\n     header = \"GET \" url \" HTTP\/1.1\\n\"           \\\n         \"Host: \" HttpHost \"\\n\"                  \\\n         \"Connection: close\\n\"\n"}
{"commit":"e93b60408f855d5a88a89e981a126de090ef1ca3","subject":"Update year to 2013.","message":"Update year to 2013.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@32590 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if either status is _not_ manifest or ending year is gt or eq to contract year\n-  current_year = 2012\n+  current_year = 2013\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"00c4dc3c8d6173ff017a0dd60ed4511d38cf5be5","subject":"Translators\/GoogleTranslate: fix regression caused by 1030f05","message":"Translators\/GoogleTranslate: fix regression caused by 1030f05\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -368,7 +368,7 @@\n                     example = oExamples[i]\n \n                     temp = prettify(\"original-dictionary-examples-example\", ins(1, \"- \"))\n-                    split(example, group, \/(\\u003cb\\u003e|\\u003c\\\/b\\u003e)\/)\n+                    split(example, group, \/(<b>|<\\\/b>)\/)\n                     if (isRTL(il)) # target language is R-to-L\n                         temp = temp show(group[1] group[2] group[3], il)\n                     else # target language is L-to-R\n"}
{"commit":"8249d5beb1585c92c6b6935dd4e6dbea7731f38b","subject":"[ru] remove deprecated scripts","message":"[ru] remove deprecated scripts","repos":"languagetool-org\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- languagetool-language-modules\/ru\/src\/main\/resources\/org\/languagetool\/resource\/ru\/synteza.awk\n+++ languagetool-language-modules\/ru\/src\/main\/resources\/org\/languagetool\/resource\/ru\/synteza.awk\n@@ -1,2 +0,0 @@\n-BEGIN {FS=\"\\t\"}\n-{print $2\"|\"$3\"\\t\"$1}\n"}
{"commit":"06ec82883d6143d9e361018bb411912741fac6e2","subject":"Remove segments(dot separated) contain *. Fix #2.","message":"Remove segments(dot separated) contain *. Fix #2.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2domainlist.awk\n+++ gfwlist2domainlist.awk\n@@ -32,7 +32,7 @@\n \tsub(\/.*:\\\/\\\/\/, \"\", line) # remove everything till :\/\/, such as http:\/\/ https:\/\/\n \tsub(\/\\\/.*\/, \"\", line)    # remove everything from \/\n \tsub(\/:.*\/, \"\", line)     # remove everything from :\n-\tsub(\/\\*\/, \"\", line)      # remove *\n+\tsub(\/[^\\.]*\\*[^\\.]*\/, \"\", line)      # remove segments(dot separated) contain *\n \tsub(\/^\\.\/, \"\", line)     # remove leading dot\n \n \tif (line ~ \/^((([0-9]{1,2})|(1[0-9]{2})|(2[0-4][0-9])|(25[0-5]))\\.){3}(([0-9]{1,2})|(1[0-9]{2})|(2[0-4][0-9])|(25[0-5]))$\/) {\n"}
{"commit":"d9a624ae3b69f85f312b965409d6bbbaeacf9134","subject":"MFC: Check for errors when registering and unregistering firmware modules.","message":"MFC: Check for errors when registering and unregistering firmware modules.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"fb1e345df331c2841ef01d6df0be9a7cc71a6adb","subject":"execute perm","message":"execute perm\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"54b54dc17ec0cc187d564bd4c33b72d2aa5a4bcc","subject":"set executable bit.","message":"set executable bit.\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@44145 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"63dcfa75b7746af28e21c014f6838f286aecb63b","subject":"Document awk script","message":"Document awk script\n","repos":"jspahrsummers\/Arbiter,ArbiterLib\/Arbiter,jspahrsummers\/Arbiter,ArbiterLib\/Arbiter,ArbiterLib\/Arbiter,jspahrsummers\/Arbiter,jspahrsummers\/Arbiter,ArbiterLib\/Arbiter","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- script\/record-cartfile-dependencies.awk\n+++ script\/record-cartfile-dependencies.awk\n@@ -1,3 +1,12 @@\n+# Used in script\/record-cartfile-dependencies, this transforms Carthage's\n+# Cartfile format:\n+#\n+#   github \"Carthage\/ReactiveTask\" ~> 1.0\n+#\n+# into a format more easily parsed by our C++ tests:\n+# \n+#   ReactiveTask ~> 1.0\n+\n function remove_quotes(str) {\n   return substr(str, 2, length(str) - 2)\n }\n"}
{"commit":"a0ddbe5b2df7b0a85d6d6b7538692bac0e5172e2","subject":"remove uneeded exception","message":"remove uneeded exception\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -127,7 +127,6 @@\n     # not expected to be added to curie map\n     # in HPOA\n     prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/bookshelf\/br.fcgi?book=gene&part=\")]=\"NCBIBook\"\n-    prefix[tokenize(\"http:\/\/www.ncbi.nlm.nih.gov\/books\/NBK\")]=\"NCBINBK\"\n \n     ############################################################\n     # Often re-visit whether these exceptions are still necessary\n"}
{"commit":"b86f20de940822692aff41db5dacc87c499793cb","subject":"update ext\/mwg_pp.awk","message":"update ext\/mwg_pp.awk\n","repos":"akinomyoga\/ble.sh,akinomyoga\/ble.sh,akinomyoga\/ble.sh,akinomyoga\/ble.sh","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ext\/mwg_pp.awk\n+++ ext\/mwg_pp.awk\n@@ -95,781 +95,781 @@\n \n # -*- mode:awk -*-\n \n-function ev1scan_init_opregister(opname,optype,opprec){\n-  ev_db_operator[opname]=optype;\n-  ev_db_operator[opname,\"a\"]=opprec;\n-}\n-\n-function ev1scan_init(){\n-  OP_BIN=1;\n-  OP_UNA=2; # prefix\n-  OP_SGN=3; # prefix or binary\n-  OP_INC=4; # prefix or suffix\n-\n-  ev1scan_init_opregister(\".\" ,OP_BIN,12.0);\n-\n-  ev1scan_init_opregister(\"++\",OP_INC,11.0);\n-  ev1scan_init_opregister(\"--\",OP_INC,11.0);\n-  ev1scan_init_opregister(\"!\" ,OP_UNA,11.0);\n-\n-  ev1scan_init_opregister(\"*\" ,OP_BIN,10.0);\n-  ev1scan_init_opregister(\"\/\" ,OP_BIN,10.0);\n-  ev1scan_init_opregister(\"%\" ,OP_BIN,10.0);\n-\n-  ev1scan_init_opregister(\"+\" ,OP_SGN,9.0);\n-  ev1scan_init_opregister(\"-\" ,OP_SGN,9.0);\n-\n-  ev1scan_init_opregister(\"==\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\"!=\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\"<\" ,OP_BIN,8.0);\n-  ev1scan_init_opregister(\"<=\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\">\" ,OP_BIN,8.0);\n-  ev1scan_init_opregister(\">=\",OP_BIN,8.0);\n-\n-  ev1scan_init_opregister(\"&\" ,OP_BIN,7.4);\n-  ev1scan_init_opregister(\"^\" ,OP_BIN,7.2);\n-  ev1scan_init_opregister(\"|\" ,OP_BIN,7.0);\n-  ev1scan_init_opregister(\"&&\",OP_BIN,6.4);\n-  ev1scan_init_opregister(\"||\",OP_BIN,6.0);\n-\n-  ev1scan_init_opregister(\"=\" ,OP_BIN,2.0);\n-  ev1scan_init_opregister(\"+=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"-=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"*=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"\/=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"%=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"|=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"^=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"&=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\",\" ,OP_BIN,1.0);\n+function ev1scan_init_opregister(opname, optype, opprec) {\n+  ev_db_operator[opname] = optype;\n+  ev_db_operator[opname, \"a\"] = opprec;\n+}\n+\n+function ev1scan_init() {\n+  OP_BIN = 1;\n+  OP_UNA = 2; # prefix\n+  OP_SGN = 3; # prefix or binary\n+  OP_INC = 4; # prefix or suffix\n+\n+  ev1scan_init_opregister(\".\" , OP_BIN, 12.0);\n+\n+  ev1scan_init_opregister(\"++\", OP_INC, 11.0);\n+  ev1scan_init_opregister(\"--\", OP_INC, 11.0);\n+  ev1scan_init_opregister(\"!\" , OP_UNA, 11.0);\n+\n+  ev1scan_init_opregister(\"*\" , OP_BIN, 10.0);\n+  ev1scan_init_opregister(\"\/\" , OP_BIN, 10.0);\n+  ev1scan_init_opregister(\"%\" , OP_BIN, 10.0);\n+\n+  ev1scan_init_opregister(\"+\" , OP_SGN, 9.0);\n+  ev1scan_init_opregister(\"-\" , OP_SGN, 9.0);\n+\n+  ev1scan_init_opregister(\"==\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"!=\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"<\" , OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"<=\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\">\" , OP_BIN, 8.0);\n+  ev1scan_init_opregister(\">=\", OP_BIN, 8.0);\n+\n+  ev1scan_init_opregister(\"&\" , OP_BIN, 7.4);\n+  ev1scan_init_opregister(\"^\" , OP_BIN, 7.2);\n+  ev1scan_init_opregister(\"|\" , OP_BIN, 7.0);\n+  ev1scan_init_opregister(\"&&\", OP_BIN, 6.4);\n+  ev1scan_init_opregister(\"||\", OP_BIN, 6.0);\n+\n+  ev1scan_init_opregister(\"=\" , OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"+=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"-=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"*=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"\/=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"%=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"|=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"^=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"&=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\",\" , OP_BIN, 1.0);\n \n   # for ev2\n-  SE_VALU=1;\n-  SE_PREF=0;\n-  SE_MARK=-1;\n-\n-  ATTR_SET=\"t\";\n-  ATTR_TYP=\"T\";\n-  ATTR_MOD=\"M\";\n-\n-  MOD_NUL=0;\n-  MOD_REF=1;\n-  ATTR_REF=\"R\";\n-  MOD_ARG=2;\n-  MOD_ARR=4;\n-  MOD_MTH=8;\n-  ATTR_MTH_OBJ=\"Mo\";\n-  ATTR_MTH_MEM=\"Mf\";\n-\n-  TYPE_NUM=0;\n-  TYPE_STR=1;\n-}\n-\n-function ev1scan_scan(expression,words, _wlen,_i,_len,_c,_t,_w){\n-  _wlen=0;\n-  _len=length(expression);\n-  for(_i=0;_i<_len;_i++){\n-    _c=substr(expression,_i+1,1);\n-\n-    if(_c ~ \/[.0-9]\/){\n-      _t=\"n\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        if(_c !~ \/[.0-9]\/)break;\n-        _w=_w _c;\n+  SE_VALU = 1;\n+  SE_PREF = 0;\n+  SE_MARK = -1;\n+\n+  ATTR_SET = \"t\";\n+  ATTR_TYP = \"T\";\n+  ATTR_MOD = \"M\";\n+\n+  MOD_NUL = 0;\n+  MOD_REF = 1;\n+  ATTR_REF = \"R\";\n+  MOD_ARG = 2;\n+  MOD_ARR = 4;\n+  MOD_MTH = 8;\n+  ATTR_MTH_OBJ = \"Mo\";\n+  ATTR_MTH_MEM = \"Mf\";\n+\n+  TYPE_NUM = 0;\n+  TYPE_STR = 1;\n+}\n+\n+function ev1scan_scan(expression, words, _wlen, _i, _len, _c, _t, _w) {\n+  _wlen = 0;\n+  _len = length(expression);\n+  for (_i = 0; _i < _len; _i++) {\n+    _c = substr(expression, _i + 1, 1);\n+\n+    if (_c ~ \/[.0-9]\/) {\n+      _t = \"n\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        if (_c !~ \/[.0-9]\/) break;\n+        _w = _w _c;\n         _i++;\n       }\n-      #if(_w==\".\")_w=0;\n-      if(_w==\".\"){\n-        _t=\"o\";\n-      }\n-    }else if(ev_db_operator[_c]!=\"\"){\n-      _t=\"o\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        #print \"dbg: ev_db_op[\" _w _c \"]=\" ev_db_operator[_w _c] > \"\/dev\/stderr\"\n-        if(ev_db_operator[_w _c]!=\"\"){\n-          _w=_w _c;\n+      #if (_w == \".\")_w = 0;\n+      if (_w == \".\") {\n+        _t = \"o\";\n+      }\n+    } else if (ev_db_operator[_c] != \"\") {\n+      _t = \"o\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        #print \"dbg: ev_db_op[\" _w _c \"] = \" ev_db_operator[_w _c] > \"\/dev\/stderr\"\n+        if (ev_db_operator[_w _c] != \"\") {\n+          _w = _w _c;\n           _i++;\n-        }else break;\n-      }\n-    }else if(_c ~ \"[[({?]\"){\n-      _t=\"op\";\n-      _w=_c;\n-    }else if(_c ~ \"[])}:]\"){\n-      _t=\"cl\";\n-      _w=_c;\n-    }else if(_c ~ \/[_a-zA-Z]\/){\n-      _t=\"w\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        if(_c !~ \/[_a-zA-Z0-9]\/)break;\n-        _w=_w _c;\n+        } else break;\n+      }\n+    } else if (_c ~ \"[[({?]\") {\n+      _t = \"op\";\n+      _w = _c;\n+    } else if (_c ~ \"[])}:]\") {\n+      _t = \"cl\";\n+      _w = _c;\n+    } else if (_c ~ \/[_a-zA-Z]\/) {\n+      _t = \"w\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        if (_c !~ \/[_a-zA-Z0-9]\/) break;\n+        _w = _w _c;\n         _i++;\n       }\n-    }else if(_c==\"\\\"\"){\n+    } else if (_c == \"\\\"\") {\n       # string literal\n-      _t=\"S\";\n-      _w=\"\";\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n+      _t = \"S\";\n+      _w = \"\";\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n         _i++;\n-        if(_c ==\"\\\"\"){\n+        if (_c  == \"\\\"\") {\n           break;\n-        }else if(_c==\"\\\\\"){\n-          #print_error(\"dbg: (escchar = \" _c \" \" substr(expression,_i+2,1) \")\" );\n-          if(_i+1<_len){\n-            _w=_w ev1scan_scan_escchar(substr(expression,_i+2,1));\n+        } else if (_c == \"\\\\\") {\n+          #print_error(\"dbg: (escchar = \" _c \" \" substr(expression, _i + 2, 1) \")\" );\n+          if (_i + 1 < _len) {\n+            _w = _w ev1scan_scan_escchar(substr(expression, _i + 2, 1));\n             _i++;\n-          }else{\n-            _w=_w _c;\n+          } else {\n+            _w = _w _c;\n           }\n-        }else{\n-          _w=_w _c;\n+        } else {\n+          _w = _w _c;\n         }\n       }\n-    }else if(_c ~ \/\\s\/){\n+    } else if (_c ~ \/[[:space:]]\/) {\n       continue; # ignore blank\n-    }else{\n-      print_error(\"mwg_pp.eval_expr\",\"unrecognizable character '\" _c \"'\");\n+    } else {\n+      print_error(\"mwg_pp.eval_expr\", \"unrecognizable character '\" _c \"'\");\n       continue; # ignore unknown character\n     }\n \n-    words[_wlen,\"t\"]=_t;\n-    words[_wlen,\"w\"]=_w;\n+    words[_wlen, \"t\"] = _t;\n+    words[_wlen, \"w\"] = _w;\n     _wlen++;\n   }\n \n   # debug\n-  #for(_i=0;_i<_wlen;_i++){\n-  #    print \"yield \" words[_i,\"w\"] \" as \" words[_i,\"t\"] > \"\/dev\/stderr\"\n+  #for (_i = 0; _i < _wlen; _i++) {\n+  #    print \"yield \" words[_i, \"w\"] \" as \" words[_i, \"t\"] > \"\/dev\/stderr\"\n   #}\n \n   return _wlen;\n }\n \n-function ev1scan_scan_escchar(c){\n-  if(c !~ \/[nrtvfaeb]\/)return c;\n-  if(c==\"n\")return \"\\n\";\n-  if(c==\"r\")return \"\\r\";\n-  if(c==\"t\")return \"\\t\";\n-  if(c==\"v\")return \"\\v\";\n-  if(c==\"f\")return \"\\f\";\n-  if(c==\"a\")return \"\\a\";\n-  if(c==\"e\")return \"\\33\";\n-  if(c==\"b\")return \"\\b\";\n+function ev1scan_scan_escchar(c) {\n+  if (c !~ \/[nrtvfaeb]\/) return c;\n+  if (c == \"n\") return \"\\n\";\n+  if (c == \"r\") return \"\\r\";\n+  if (c == \"t\") return \"\\t\";\n+  if (c == \"v\") return \"\\v\";\n+  if (c == \"f\") return \"\\f\";\n+  if (c == \"a\") return \"\\a\";\n+  if (c == \"e\") return \"\\33\";\n+  if (c == \"b\") return \"\\b\";\n   return c;\n }\n \n-function ev1scan_cast_bool(arg){\n-  return arg!=0&&arg!=\"\";\n-}\n-# -*- mode:awk -*-\n-\n-function eval_expr(expression){\n+function ev1scan_cast_bool(arg) {\n+  return arg != 0 && arg != \"\";\n+}\n+# -*- mode: awk -*-\n+\n+function eval_expr(expression) {\n   return ev2_expr(expression);\n }\n \n-function ev2_expr(expression, _wlen,_words,_i,_len,_t,_w,_v,_sp,_s,_sp1,_optype){\n-  _wlen=ev1scan_scan(expression,_words);\n+function ev2_expr(expression, _wlen, _words, _i, _len, _t, _w, _v, _sp, _s, _sp1, _optype) {\n+  _wlen = ev1scan_scan(expression, _words);\n \n   # <param name=\"_s\">\n   #  parsing stack\n-  #  _s[index,\"t\"]  : SE_PREF  SE_MARK  SE_VALU\n-  #  _s[index]      : lhs               value\n-  #  _s[index,\"T\"]  : dataType          dataType\n-  #  _s[index,\"c\"]  : b+ u!    op      \n-  #  _s[index,\"l\"]  : assoc             \n+  #  _s[index, \"t\"]  : SE_PREF  SE_MARK  SE_VALU\n+  #  _s[index]       : lhs               value\n+  #  _s[index, \"T\"]  : dataType          dataType\n+  #  _s[index, \"c\"]  : b+ u!    op\n+  #  _s[index, \"l\"]  : assoc\n   #\n-  #  _s[index,\"M\"]=MOD_ARG;\n-  #  _s[index,\"A\"]=length;\n-  #  _s[index,\"A\",i]=element;\n+  #  _s[index, \"M\"] = MOD_ARG;\n+  #  _s[index, \"A\"] = length;\n+  #  _s[index, \"A\", i] = element;\n   # <\/param>\n \n   # parse\n-  _sp=-1;\n-  for(_i=0;_i<_wlen;_i++){\n+  _sp = -1;\n+  for (_i = 0; _i < _wlen; _i++) {\n     # _t: token type\n     # _w: token word\n     # _l: token prefix level\n-    _t=_words[_i,\"t\"];\n-    _w=_words[_i,\"w\"];\n+    _t = _words[_i, \"t\"];\n+    _w = _words[_i, \"w\"];\n \n     #-- process token --\n-    if(_t==\"n\"){\n+    if (_t == \"n\") {\n       _sp++;\n-      _s[_sp]=+_w;\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=TYPE_NUM;\n-      _s[_sp,\"M\"]=MOD_NUL;\n+      _s[_sp] = 0 + _w;\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = TYPE_NUM;\n+      _s[_sp, \"M\"] = MOD_NUL;\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"o\"){\n-      _optype=ev_db_operator[_w];\n-      if(_optype==OP_SGN){ # signature operator +-\n-        if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-          _t=\"b\"; # binary operator\n-        }else{\n-          _t=\"u\"; # unary operator\n+    } else if (_t == \"o\") {\n+      _optype = ev_db_operator[_w];\n+      if (_optype == OP_SGN) { # signature operator +-\n+        if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+          _t = \"b\"; # binary operator\n+        } else {\n+          _t = \"u\"; # unary operator\n         }\n-      }else if(_optype==OP_BIN){ # binary operator\n-        _t=\"b\";\n-      }else if(_optype==OP_UNA){ # unary prefix operator\n-        _t=\"u\";\n-      }else if(_optype==OP_INC){ # operator++ --\n-        if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-          if(and(_s[_sp,\"M\"],MOD_REF)){\n-            if(_w==\"++\")\n-              d_data[_s[_sp,\"R\"]]++;\n-            else if(_w==\"--\")\n-              d_data[_s[_sp,\"R\"]]--;\n+      } else if (_optype == OP_BIN) { # binary operator\n+        _t = \"b\";\n+      } else if (_optype == OP_UNA) { # unary prefix operator\n+        _t = \"u\";\n+      } else if (_optype == OP_INC) { # operator++ --\n+        if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+          if (and(_s[_sp, \"M\"], MOD_REF)) {\n+            if (_w == \"++\")\n+              d_data[_s[_sp, \"R\"]]++;\n+            else if (_w == \"--\")\n+              d_data[_s[_sp, \"R\"]]--;\n             else\n-              print_error(\"mwg_pp.eval\",\"unknown increment operator \" _w);\n-\n-            _s[_sp,\"M\"]=MOD_NUL;\n-            delete _s[_sp,\"R\"];\n+              print_error(\"mwg_pp.eval\", \"unknown increment operator \" _w);\n+\n+            _s[_sp, \"M\"] = MOD_NUL;\n+            delete _s[_sp, \"R\"];\n           }\n \n-          _t=\"\";\n-        }else{\n-          _t=\"u\"; # unary operator\n+          _t = \"\";\n+        } else {\n+          _t = \"u\"; # unary operator\n         }\n-      }else{\n-        print_error(\"mwg_pp.eval\",\"unknown operator \" _w);\n-      }\n-\n-      if(_t==\"b\"){\n+      } else {\n+        print_error(\"mwg_pp.eval\", \"unknown operator \" _w);\n+      }\n+\n+      if (_t == \"b\") {\n         #-- binary operator\n-        _l=ev_db_operator[_w,\"a\"];\n+        _l = ev_db_operator[_w, \"a\"];\n         #print \"dbg: binary operator level = \" _l > \"\/dev\/stderr\"\n-        \n+\n         # get lhs\n-        _sp=ev2_pop_value(_s,_sp,_l); # left assoc\n-        #_sp=ev2_pop_value(_s,_sp,_l+0.1); # right assoc # TODO =\n-        \n+        _sp = ev2_pop_value(_s, _sp, _l); # left assoc\n+        #_sp = ev2_pop_value(_s, _sp, _l + 0.1); # right assoc # TODO =\n+\n         # overwrite to lhs\n-        _s[_sp,\"t\"]=SE_PREF;\n-        _s[_sp,\"p\"]=\"b\";\n-        _s[_sp,\"P\"]=_w;\n-        _s[_sp,\"l\"]=_l; # assoc level\n-      }else if(_t==\"u\"){\n+        _s[_sp, \"t\"] = SE_PREF;\n+        _s[_sp, \"p\"] = \"b\";\n+        _s[_sp, \"P\"] = _w;\n+        _s[_sp, \"l\"] = _l; # assoc level\n+      } else if (_t == \"u\") {\n         # unary operator\n-        _l=ev_db_operator[_w,\"a\"];\n+        _l = ev_db_operator[_w, \"a\"];\n \n         _sp++;\n-        _s[_sp,\"t\"]=SE_PREF\n-        _s[_sp,\"p\"]=\"u\";\n-        _s[_sp,\"P\"]=_w;\n-        _s[_sp,\"l\"]=_l; # assoc level\n+        _s[_sp, \"t\"] = SE_PREF\n+        _s[_sp, \"p\"] = \"u\";\n+        _s[_sp, \"P\"] = _w;\n+        _s[_sp, \"l\"] = _l; # assoc level\n       }\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"op\"){\n+    } else if (_t == \"op\") {\n       _sp++;\n-      _s[_sp,\"t\"]=SE_MARK;\n-      _s[_sp,\"m\"]=_w;\n-    }else if(_t==\"cl\"){\n-      if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-        _sp1=ev2_pop_value(_s,_sp,0);\n-        _sp=_sp1-1;\n-      }else{\n+      _s[_sp, \"t\"] = SE_MARK;\n+      _s[_sp, \"m\"] = _w;\n+    } else if (_t == \"cl\") {\n+      if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+        _sp1 = ev2_pop_value(_s, _sp, 0);\n+        _sp = _sp1-1;\n+      } else {\n         # empty arg\n-        _sp1=_sp+1;\n-        _s[_sp1]=\"\";\n-        _s[_sp1,\"t\"]=SE_VALU;\n-        _s[_sp1,\"T\"]=TYPE_STR;\n-        _s[_sp1,\"M\"]=MOD_ARG;\n-        _s[_sp1,\"A\"]=0;\n+        _sp1 = _sp+1;\n+        _s[_sp1] = \"\";\n+        _s[_sp1, \"t\"] = SE_VALU;\n+        _s[_sp1, \"T\"] = TYPE_STR;\n+        _s[_sp1, \"M\"] = MOD_ARG;\n+        _s[_sp1, \"A\"] = 0;\n       }\n       # state: [.. _sp=open _sp1]\n \n       # parentheses\n-      if(!(_sp>=0&&_s[_sp,\"t\"]==SE_MARK)){\n+      if (!(_sp >= 0 && _s[_sp, \"t\"] == SE_MARK)) {\n         print_error(\"mwg_pp.eval: no matching open paren to \" _w \" in \" expression);\n         continue;\n       }\n-      _w=_s[_sp,\"m\"] _w;\n+      _w = _s[_sp, \"m\"] _w;\n       _sp--;\n-      \n+\n \n       # state: [_sp open _sp1]\n-      if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-        if(_w==\"?:\"){\n-          _sp=ev2_pop_value(_s,_sp,3.0); # assoc_value_3\n-          _v=(_s[_sp]!=0&&_s[_sp]!=\"\")?\"T\":\"F\";\n+      if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+        if (_w == \"?:\") {\n+          _sp = ev2_pop_value(_s, _sp, 3.0); # assoc_value_3\n+          _v = (_s[_sp] != 0 && _s[_sp] != \"\") ? \"T\" : \"F\";\n           #print_error(\"dbg: _s[_sp]=\" _s[_sp] \" _v=\" _v);\n \n           # last element\n-          _s[_sp]=_s[_sp1];\n-          _s[_sp,\"t\"]=SE_VALU;\n-          _s[_sp,\"T\"]=_s[_sp1,\"T\"];\n-          _s[_sp,\"M\"]=MOD_NUL; #TODO reference copy\n+          _s[_sp] = _s[_sp1];\n+          _s[_sp, \"t\"] = SE_VALU;\n+          _s[_sp, \"T\"] = _s[_sp1, \"T\"];\n+          _s[_sp, \"M\"] = MOD_NUL; #TODO reference copy\n \n           # overwrite pref\n-          _s[_sp,\"t\"]=SE_PREF;\n-          _s[_sp,\"p\"]=_w;\n-          _s[_sp,\"P\"]=_v;\n-          _s[_sp,\"l\"]=3.0; # level\n-        }else{\n-          _sp=ev2_pop_value(_s,_sp,12); # assoc_value_12\n-\n-          if(_w==\"[]\"&&and(_s[_sp,\"M\"],MOD_REF)){\n+          _s[_sp, \"t\"] = SE_PREF;\n+          _s[_sp, \"p\"] = _w;\n+          _s[_sp, \"P\"] = _v;\n+          _s[_sp, \"l\"] = 3.0; # level\n+        } else {\n+          _sp = ev2_pop_value(_s, _sp, 12); # assoc_value_12\n+\n+          if (_w == \"[]\" && and(_s[_sp, \"M\"], MOD_REF)) {\n             # indexing\n-            _s[_sp]=d_data[_s[_sp,\"R\"],_s[_sp1]];\n-            _s[_sp,\"t\"]=SE_VALU;\n-            _s[_sp,\"T\"]=(_s[_sp]==0+_s[_sp]?TYPE_NUM:TYPE_STR);\n-            _s[_sp,\"M\"]=MOD_REF;\n-            _s[_sp,\"R\"]=_s[_sp,\"R\"] SUBSEP _s[_sp1];\n-          }else if(and(_s[_sp,\"M\"],MOD_REF)){\n+            _s[_sp] = d_data[_s[_sp, \"R\"], _s[_sp1]];\n+            _s[_sp, \"t\"] = SE_VALU;\n+            _s[_sp, \"T\"] = (_s[_sp] == 0 + _s[_sp]? TYPE_NUM: TYPE_STR);\n+            _s[_sp, \"M\"] = MOD_REF;\n+            _s[_sp, \"R\"] = _s[_sp, \"R\"] SUBSEP _s[_sp1];\n+          } else if (and(_s[_sp, \"M\"], MOD_REF)) {\n             # function call\n-            ev2_funcall(_s,_sp,_s[_sp,\"R\"],_s,_sp1);\n-          }else if(and(_s[_sp,\"M\"],MOD_MTH)){\n+            ev2_funcall(_s, _sp, _s[_sp, \"R\"], _s, _sp1);\n+          } else if (and(_s[_sp, \"M\"], MOD_MTH)) {\n             # member function call\n-            ev2_memcall(_s,_sp,_s,_sp SUBSEP ATTR_MTH_OBJ,_s[_sp,ATTR_MTH_MEM],_s,_sp1);\n-          }else{\n+            ev2_memcall(_s, _sp, _s, _sp SUBSEP ATTR_MTH_OBJ, _s[_sp, ATTR_MTH_MEM], _s, _sp1);\n+          } else {\n             print \"mwg_pp.eval: invalid function call \" _s[_sp] \" \" _w \" in \" expression > \"\/dev\/stderr\"\n           }\n         }\n-      }else{\n+      } else {\n         _sp++;\n-        if(_w==\"[]\"){\n+        if (_w == \"[]\") {\n           # array\n-          ev2_copy(_s,_sp,_s,_sp1);\n-          _s[_sp,\"M\"]=MOD_ARR;\n-        }else{\n+          ev2_copy(_s, _sp, _s, _sp1);\n+          _s[_sp, \"M\"] = MOD_ARR;\n+        } else {\n           # last element\n-          _s[_sp]=_s[_sp1];\n-          _s[_sp,\"t\"]=SE_VALU;\n-          _s[_sp,\"T\"]=_s[_sp1,\"T\"];\n-          _s[_sp,\"M\"]=MOD_NUL;\n+          _s[_sp] = _s[_sp1];\n+          _s[_sp, \"t\"] = SE_VALU;\n+          _s[_sp, \"T\"] = _s[_sp1, \"T\"];\n+          _s[_sp, \"M\"] = MOD_NUL;\n         }\n       }\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"w\"){\n+    } else if (_t == \"w\") {\n       _sp++;\n-      _s[_sp]=d_data[_w];\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=(_s[_sp]==0+_s[_sp]?TYPE_NUM:TYPE_STR);\n-      _s[_sp,\"M\"]=MOD_REF;\n-      _s[_sp,\"R\"]=_w;\n-    }else if(_t==\"S\"){\n+      _s[_sp] = d_data[_w];\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = (_s[_sp] == 0 + _s[_sp]? TYPE_NUM: TYPE_STR);\n+      _s[_sp, \"M\"] = MOD_REF;\n+      _s[_sp, \"R\"] = _w;\n+    } else if (_t == \"S\") {\n       # string\n       _sp++;\n-      _s[_sp]=_w;\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=TYPE_STR;\n-      _s[_sp,\"M\"]=MOD_NUL;\n-    }else{\n-      print_error(\"mwg_pp.eval:fatal\",\"unknown token type \" _t);\n-    }\n-  }\n-\n-  _sp=ev2_pop_value(_s,_sp,0);\n-  return _sp>=1?\"err\":_s[_sp];\n-}\n-\n-function ev2_pop_value(s,sp,assoc,rDict,rName, _vp,_value){\n+      _s[_sp] = _w;\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = TYPE_STR;\n+      _s[_sp, \"M\"] = MOD_NUL;\n+    } else {\n+      print_error(\"mwg_pp.eval:fatal\", \"unknown token type \" _t);\n+    }\n+  }\n+\n+  _sp = ev2_pop_value(_s, _sp, 0);\n+  return _sp >= 1? \"err\": _s[_sp];\n+}\n+\n+function ev2_pop_value(s, sp, assoc, rDict, rName, _vp, _value) {\n   # <param> rDict [default = s]\n   # <param> rName [default = <final stack top>]\n   # <returns> sp = <final stack top>\n \n   # read value\n-  if(sp>=0&&s[sp,\"t\"]==SE_VALU){\n+  if (sp >= 0 && s[sp, \"t\"] == SE_VALU) {\n     sp--;\n-  }else{\n-    _vp=sp+1;\n-    s[_vp]=0;\n-    s[_vp,\"t\"]=SE_VALU;\n-    s[_vp,\"T\"]=TYPE_NUM;\n-    s[_vp,\"M\"]=MOD_NUL;\n+  } else {\n+    _vp = sp + 1;\n+    s[_vp] = 0;\n+    s[_vp, \"t\"] = SE_VALU;\n+    s[_vp, \"T\"] = TYPE_NUM;\n+    s[_vp, \"M\"] = MOD_NUL;\n   }\n \n   # proc prefices\n-  while(sp>=0&&s[sp,\"t\"]==SE_PREF&&s[sp,\"l\"]>=assoc){\n-    ev2_apply(s,sp,sp+1);\n+  while(sp >= 0 && s[sp, \"t\"] == SE_PREF && s[sp, \"l\"] >= assoc) {\n+    ev2_apply(s, sp, sp + 1);\n     sp--;\n   }\n \n-  if(rDict==\"\")\n+  if (rDict == \"\")\n     sp++;\n   else\n-    ev2_copy(rDict,rName,s,sp+1);\n+    ev2_copy(rDict, rName, s, sp + 1);\n \n   return sp;\n }\n \n-function ev2_memget(dDict,dName,oDict,oName,memname){\n-  #print_error(\"mwg_pp.eval\",\"dbg: ev2_memget(memname=\" memname \")\");\n+function ev2_memget(dDict, dName, oDict, oName, memname) {\n+  #print_error(\"mwg_pp.eval\", \"dbg: ev2_memget(memname=\" memname \")\");\n \n   # embedded special member\n-  if(oDict[oName,\"T\"]==TYPE_STR){\n-    if(memname==\"length\"){\n-      dDict[dName]=length(oDict[oName]);\n-      dDict[dName,\"t\"]=SE_VALU;\n-      dDict[dName,\"T\"]=TYPE_NUM;\n-      dDict[dName,\"M\"]=MOD_NUL;\n+  if (oDict[oName, \"T\"] == TYPE_STR) {\n+    if (memname == \"length\") {\n+      dDict[dName] = length(oDict[oName]);\n+      dDict[dName, \"t\"] = SE_VALU;\n+      dDict[dName, \"T\"] = TYPE_NUM;\n+      dDict[dName, \"M\"] = MOD_NUL;\n       return;\n-    }else if(memname==\"replace\"||memname==\"Replace\"||memname==\"slice\"||memname ~ \/^to(upper|lower)$\/){\n-      ev2_copy(dDict,dName SUBSEP ATTR_MTH_OBJ,oDict,oName);\n-      dDict[dName,ATTR_MTH_MEM]=memname;\n-      dDict[dName]=\"\";\n-      dDict[dName,\"t\"]=SE_VALU;\n-      dDict[dName,\"T\"]=TYPE_STR;\n-      dDict[dName,\"M\"]=MOD_MTH;\n-      #print_error(\"mwg_pp.eval\",\"dbg: method = String#\" memname);\n+    } else if (memname == \"replace\" || memname == \"Replace\" || memname == \"slice\" || memname ~ \/^to(upper|lower)$\/) {\n+      ev2_copy(dDict, dName SUBSEP ATTR_MTH_OBJ, oDict, oName);\n+      dDict[dName, ATTR_MTH_MEM] = memname;\n+      dDict[dName] = \"\";\n+      dDict[dName, \"t\"] = SE_VALU;\n+      dDict[dName, \"T\"] = TYPE_STR;\n+      dDict[dName, \"M\"] = MOD_MTH;\n+      #print_error(\"mwg_pp.eval\", \"dbg: method = String#\" memname);\n       return;\n     }\n-  }else{\n+  } else {\n     # members for other types (TYPE_NUM MOD_ARR etc..)\n   }\n \n   # normal data member\n-  if(and(oDict[oName,ATTR_MOD],MOD_REF)){\n-    dDict[dName]=d_data[oDict[oName,ATTR_REF],memname];\n-    dDict[dName,\"t\"]=SE_VALU;\n-    dDict[dName,\"T\"]=(dDict[dName]==0+dDict[dName]?TYPE_NUM:TYPE_STR);\n-    dDict[dName,\"M\"]=MOD_REF;\n-    dDict[dName,ATTR_REF]=oDict[oName,ATTR_REF] SUBSEP memname;\n-  }else{\n-    print_error(\"mwg.eval\",\"invalid member name '\" memname \"'\");\n-    dDict[dName]=\"\";\n-    dDict[dName,\"t\"]=SE_VALU;\n-    dDict[dName,\"T\"]=TYPE_STR;\n-    dDict[dName,\"M\"]=MOD_NUL;\n+  if (and(oDict[oName, ATTR_MOD], MOD_REF)) {\n+    dDict[dName] = d_data[oDict[oName, ATTR_REF], memname];\n+    dDict[dName, \"t\"] = SE_VALU;\n+    dDict[dName, \"T\"] = (dDict[dName] == 0 + dDict[dName]? TYPE_NUM: TYPE_STR);\n+    dDict[dName, \"M\"] = MOD_REF;\n+    dDict[dName, ATTR_REF] = oDict[oName, ATTR_REF] SUBSEP memname;\n+  } else {\n+    print_error(\"mwg.eval\", \"invalid member name '\" memname \"'\");\n+    dDict[dName] = \"\";\n+    dDict[dName, \"t\"] = SE_VALU;\n+    dDict[dName, \"T\"] = TYPE_STR;\n+    dDict[dName, \"M\"] = MOD_NUL;\n   }\n \n   # rep: dDict dName oDict oName\n }\n \n-function ev2_memcall(dDict,dName,oDict,oName,memname,aDict,aName, _a,_i,_c,_result,_resultT){\n-  #print_error(\"mwg_pp.eval\",\"dbg: ev2_memcall(memname=\" memname \")\");\n-\n-  _resultT=\"\";\n+function ev2_memcall(dDict, dName, oDict, oName, memname, aDict, aName, _a, _i, _c, _result, _resultT) {\n+  #print_error(\"mwg_pp.eval\", \"dbg: ev2_memcall(memname=\" memname \")\");\n+\n+  _resultT = \"\";\n \n   # read arguments\n-  if(aDict[aName,\"M\"]!=MOD_ARG){\n-    _c=1;\n-    _a[0]=aDict[aName];\n-  }else{\n-    _c=aDict[aName,\"A\"];\n-    for(_i=0;_i<_c;_i++)_a[_i]=aDict[aName,\"A\",_i];\n+  if (aDict[aName, \"M\"] != MOD_ARG) {\n+    _c = 1;\n+    _a[0] = aDict[aName];\n+  } else {\n+    _c = aDict[aName, \"A\"];\n+    for (_i = 0; _i < _c; _i++) _a[_i] = aDict[aName, \"A\", _i];\n   }\n \n   #-----------------\n   # process\n-  if(oDict[oName,\"T\"]==TYPE_STR){\n-    if(memname==\"replace\"){\n-      _result=oDict[oName];\n-      gsub(_a[0],_a[1],_result);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"Replace\"){\n-      _result=replace(oDict[oName],_a[0],_a[1]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"slice\"){\n-      _result=slice(oDict[oName],_a[0],_a[1]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"toupper\"){\n-      _result=toupper(oDict[oName]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"tolower\"){\n-      _result=tolower(oDict[oName]);\n-      _resultT=TYPE_STR;\n+  if (oDict[oName, \"T\"] == TYPE_STR) {\n+    if (memname == \"replace\") {\n+      _result = oDict[oName];\n+      gsub(_a[0], _a[1], _result);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"Replace\") {\n+      _result = replace(oDict[oName], _a[0], _a[1]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"slice\") {\n+      _result = slice(oDict[oName], _a[0], _a[1]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"toupper\") {\n+      _result = toupper(oDict[oName]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"tolower\") {\n+      _result = tolower(oDict[oName]);\n+      _resultT = TYPE_STR;\n     }\n   }\n \n   #-----------------\n   # write value\n-  if(_resultT==\"\"){\n-    print_error(\"mwg.eval\",\"invalid member function name '\" memname \"'\");\n-    _result=\"\";\n-    _resultT=TYPE_STR;\n-  }\n-\n-  dDict[dName]=_result;\n-  dDict[dName,\"t\"]=SE_VALU;\n-  dDict[dName,\"T\"]=_resultT;\n-  dDict[dName,\"M\"]=MOD_NUL;\n-}\n-\n-function ev2_funcall(dDict,dName,funcname,aDict,aName, _a,_i,_c,_result,_resultT,_x,_y,_l){\n-  _resultT=TYPE_NUM;\n-\n-  if(aDict[aName,\"M\"]!=MOD_ARG){\n-    _c=1;\n-    _a[0]=aDict[aName];\n-  }else{\n-    _c=aDict[aName,\"A\"];\n-    for(_i=0;_i<_c;_i++)_a[_i]=aDict[aName,\"A\",_i];\n-  }\n-\n-  if(funcname==\"int\"){\n-    _result=int(_a[0]);\n-  }else if(funcname==\"float\"){\n-    _result=0+_a[0];\n-  }else if(funcname==\"floor\"){\n-    if(_a[0]>=0){\n-      _result=int(_a[0]);\n-    }else{\n-      _result=int(1-_a[0]);\n-      _result=int(_a[0]+_result)-_result;\n-    }\n-  }else if(funcname==\"ceil\"){\n-    if(_a[0]<=0){\n-      _result=int(_a[0]);\n-    }else{\n-      _result=int(1+_a[0]);\n-      _result=int(_a[0]-_result)+_result;\n-    }\n-  }else if(funcname==\"sqrt\"){\n-    _result=sqrt(_a[0]);\n-  }else if(funcname==\"sin\"){\n-    _result=sin(_a[0]);\n-  }else if(funcname==\"cos\"){\n-    _result=cos(_a[0]);\n-  }else if(funcname==\"tan\"){\n-    _result=sin(_a[0])\/cos(_a[0]);\n-  }else if(funcname==\"atan\"){\n-    _result=atan2(_a[0],1);\n-  }else if(funcname==\"atan2\"){\n-    _result=atan2(_a[0],_a[1]);\n-  }else if(funcname==\"exp\"){\n-    _result=exp(_a[0]);\n-  }else if(funcname==\"log\"){\n-    _result=log(_a[0]);\n-  }else if(funcname==\"sinh\"){\n-    _x=exp(_a[0]);\n-    _result=0.5*(_x-1\/_x);\n-  }else if(funcname==\"cosh\"){\n-    _x=exp(_a[0]);\n-    _result=0.5*(_x+1\/_x);\n-  }else if(funcname==\"tanh\"){\n-    _x=exp(2*_a[0]);\n-    _result=(_x-1)\/(_x+1);\n-  }else if(funcname==\"rand\"){\n-    _result=rand();\n-  }else if(funcname==\"srand\"){\n-    _result=srand(_a[0]);\n-  }else if(funcname==\"trim\"){\n-    _resultT=TYPE_STR;\n-    _result=_a[0];\n-    gsub(\/^[[:space:]]+|[[:space:]]+$\/,\"\",_result);\n-  }else if(funcname==\"sprintf\"){\n-    _resultT=TYPE_STR;\n-    _result=sprintf(_a[0],_a[1],_a[2],_a[3],_a[4],_a[5],_a[6],_a[7],_a[8],_a[9]);\n-  }else if(funcname==\"slice\"){\n-    _resultT=TYPE_STR;\n-    _result=slice(_a[0],_a[1],_a[2]);\n-  }else if(funcname==\"length\"){\n-    _result=length(_a[0]);\n-  }else{\n-    print_error(\"mwg_pp.eval\",\"unknown function \" funcname);\n-    _result=0;\n-  }\n-\n-  dDict[dName]=_result;\n-  dDict[dName,\"t\"]=SE_VALU;\n-  dDict[dName,\"T\"]=_resultT;\n-  dDict[dName,\"M\"]=MOD_NUL;\n-}\n-\n-function ev2_apply(stk,iPre,iVal, _pT,_pW,_lhs,_rhs,_lhsT,_rhsT,_result,_i,_a,_b,_c){\n+  if (_resultT == \"\") {\n+    print_error(\"mwg.eval\", \"invalid member function name '\" memname \"'\");\n+    _result = \"\";\n+    _resultT = TYPE_STR;\n+  }\n+\n+  dDict[dName] = _result;\n+  dDict[dName, \"t\"] = SE_VALU;\n+  dDict[dName, \"T\"] = _resultT;\n+  dDict[dName, \"M\"] = MOD_NUL;\n+}\n+\n+function ev2_funcall(dDict, dName, funcname, aDict, aName, _a, _i, _c, _result, _resultT, _x, _y, _l) {\n+  _resultT = TYPE_NUM;\n+\n+  if (aDict[aName, \"M\"] != MOD_ARG) {\n+    _c = 1;\n+    _a[0] = aDict[aName];\n+  } else {\n+    _c = aDict[aName, \"A\"];\n+    for (_i = 0; _i < _c; _i++) _a[_i] = aDict[aName, \"A\", _i];\n+  }\n+\n+  if (funcname == \"int\") {\n+    _result = int(_a[0]);\n+  } else if (funcname == \"float\") {\n+    _result = 0 + _a[0];\n+  } else if (funcname == \"floor\") {\n+    if (_a[0] >= 0) {\n+      _result = int(_a[0]);\n+    } else {\n+      _result = int(1 - _a[0]);\n+      _result = int(_a[0] + _result)-_result;\n+    }\n+  } else if (funcname == \"ceil\") {\n+    if (_a[0] <= 0) {\n+      _result = int(_a[0]);\n+    } else {\n+      _result = int(1 + _a[0]);\n+      _result = int(_a[0]-_result) + _result;\n+    }\n+  } else if (funcname == \"sqrt\") {\n+    _result = sqrt(_a[0]);\n+  } else if (funcname == \"sin\") {\n+    _result = sin(_a[0]);\n+  } else if (funcname == \"cos\") {\n+    _result = cos(_a[0]);\n+  } else if (funcname == \"tan\") {\n+    _result = sin(_a[0]) \/ cos(_a[0]);\n+  } else if (funcname == \"atan\") {\n+    _result = atan2(_a[0], 1);\n+  } else if (funcname == \"atan2\") {\n+    _result = atan2(_a[0], _a[1]);\n+  } else if (funcname == \"exp\") {\n+    _result = exp(_a[0]);\n+  } else if (funcname == \"log\") {\n+    _result = log(_a[0]);\n+  } else if (funcname == \"sinh\") {\n+    _x = exp(_a[0]);\n+    _result = 0.5*(_x-1\/_x);\n+  } else if (funcname == \"cosh\") {\n+    _x = exp(_a[0]);\n+    _result = 0.5 * (_x + 1 \/ _x);\n+  } else if (funcname == \"tanh\") {\n+    _x = exp(2 * _a[0]);\n+    _result = (_x - 1) \/ (_x + 1);\n+  } else if (funcname == \"rand\") {\n+    _result = rand();\n+  } else if (funcname == \"srand\") {\n+    _result = srand(_a[0]);\n+  } else if (funcname == \"trim\") {\n+    _resultT = TYPE_STR;\n+    _result = _a[0];\n+    gsub(\/^[[:space:]]+|[[:space:]]+$\/, \"\", _result);\n+  } else if (funcname == \"sprintf\") {\n+    _resultT = TYPE_STR;\n+    _result = sprintf(_a[0], _a[1], _a[2], _a[3], _a[4], _a[5], _a[6], _a[7], _a[8], _a[9]);\n+  } else if (funcname == \"slice\") {\n+    _resultT = TYPE_STR;\n+    _result = slice(_a[0], _a[1], _a[2]);\n+  } else if (funcname == \"length\") {\n+    _result = length(_a[0]);\n+  } else {\n+    print_error(\"mwg_pp.eval\", \"unknown function \" funcname);\n+    _result = 0;\n+  }\n+\n+  dDict[dName] = _result;\n+  dDict[dName, \"t\"] = SE_VALU;\n+  dDict[dName, \"T\"] = _resultT;\n+  dDict[dName, \"M\"] = MOD_NUL;\n+}\n+\n+function ev2_apply(stk, iPre, iVal, _pT, _pW, _lhs, _rhs, _lhsT, _rhsT, _result, _i, _a, _b, _c) {\n   # <param name=\"stk\">stack<\/param>\n   # <param name=\"iPre\">prefix operator\/resulting value<\/param>\n   # <param name=\"iVal\">input value<\/param>\n \n-  _pT=stk[iPre,\"p\"];\n-  _pW=stk[iPre,\"P\"];\n-\n-  if(_pT==\"b\"){\n-    _lhs=stk[iPre];\n-    _rhs=stk[iVal];\n-    _lhsT=stk[iPre,\"T\"];\n-    _rhsT=stk[iVal,\"T\"];\n-    _resultT=TYPE_NUM;\n+  _pT = stk[iPre, \"p\"];\n+  _pW = stk[iPre, \"P\"];\n+\n+  if (_pT == \"b\") {\n+    _lhs = stk[iPre];\n+    _rhs = stk[iVal];\n+    _lhsT = stk[iPre, \"T\"];\n+    _rhsT = stk[iVal, \"T\"];\n+    _resultT = TYPE_NUM;\n \n     #print \"binary \" _lhs \" \" _pW \" \" _rhs > \"\/dev\/stderr\"\n-    if(_pW==\"+\"){\n-      if(_lhsT==TYPE_STR||_rhsT==TYPE_STR){\n-        _result=_lhs _rhs;\n-        _resultT=TYPE_STR;\n-      }else\n-        _result=_lhs+_rhs;\n-    }else if(_pW==\"-\")_result=_lhs-_rhs;\n-    else if(_pW==\"*\")_result=_lhs*_rhs;\n-    else if(_pW==\"\/\")_result=_lhs\/_rhs;\n-    else if(_pW==\"%\")_result=_lhs%_rhs;\n-    else if(_pW==\"==\")_result=_lhs==_rhs;\n-    else if(_pW==\"!=\")_result=_lhs!=_rhs;\n-    else if(_pW==\">=\")_result=_lhs>=_rhs;\n-    else if(_pW==\"<=\")_result=_lhs<=_rhs;\n-    else if(_pW==\"<\")_result=_lhs<_rhs;\n-    else if(_pW==\">\")_result=_lhs>_rhs;\n-    else if(_pW==\"|\")_result=or(_lhs,_rhs);\n-    else if(_pW==\"^\")_result=xor(_lhs,_rhs);\n-    else if(_pW==\"&\")_result=and(_lhs,_rhs);\n-    else if(_pW==\"||\")_result=ev1scan_cast_bool(_lhs)||ev1scan_cast_bool(_rhs); # not lazy evaluation\n-    else if(_pW==\"&&\")_result=ev1scan_cast_bool(_lhs)&&ev1scan_cast_bool(_rhs); # not lazy evaluation\n-    else if(_pW ~ \/[-+*\/%|^&]?=\/){\n-      if(and(stk[iPre,\"M\"],MOD_REF)){\n-        _resultT=TYPE_NUM;\n-        if(_pW==\"=\"){\n-          _result=_rhs;\n-          _resultT=_rhsT;\n-        }else if(_pW==\"+=\")_result=_lhs+_rhs;\n-        else if(_pW==\"-=\")_result=_lhs-_rhs;\n-        else if(_pW==\"*=\")_result=_lhs*_rhs;\n-        else if(_pW==\"\/=\")_result=_lhs\/_rhs;\n-        else if(_pW==\"%=\")_result=_lhs%_rhs;\n-        else if(_pW==\"|=\")_result=or(_lhs,_rhs);\n-        else if(_pW==\"^=\")_result=xor(_lhs,_rhs);\n-        else if(_pW==\"&=\")_result=and(_lhs,_rhs);\n-\n-        stk[iPre]=_result;\n-        stk[iPre,\"t\"]=SE_VALU;\n-        stk[iPre,\"T\"]=_resultT;\n-        d_data[stk[iPre,\"R\"]]=_result;\n-        \n+    if (_pW == \"+\") {\n+      if (_lhsT == TYPE_STR || _rhsT == TYPE_STR) {\n+        _result = _lhs _rhs;\n+        _resultT = TYPE_STR;\n+      } else\n+        _result = _lhs+_rhs;\n+    } else if (_pW == \"-\") _result = _lhs - _rhs;\n+    else if (_pW == \"*\") _result = _lhs * _rhs;\n+    else if (_pW == \"\/\") _result = _lhs \/ _rhs;\n+    else if (_pW == \"%\") _result = _lhs % _rhs;\n+    else if (_pW == \"==\") _result = _lhs == _rhs;\n+    else if (_pW == \"!=\") _result = _lhs != _rhs;\n+    else if (_pW == \">=\") _result = _lhs >= _rhs;\n+    else if (_pW == \"<=\") _result = _lhs <= _rhs;\n+    else if (_pW == \"<\") _result = _lhs < _rhs;\n+    else if (_pW == \">\") _result = _lhs > _rhs;\n+    else if (_pW == \"|\") _result = or(_lhs, _rhs);\n+    else if (_pW == \"^\") _result = xor(_lhs, _rhs);\n+    else if (_pW == \"&\") _result = and(_lhs, _rhs);\n+    else if (_pW == \"||\") _result = ev1scan_cast_bool(_lhs) || ev1scan_cast_bool(_rhs); # not lazy evaluation\n+    else if (_pW == \"&&\") _result = ev1scan_cast_bool(_lhs) && ev1scan_cast_bool(_rhs); # not lazy evaluation\n+    else if (_pW ~ \/[-+*\/%|^&]?=\/) {\n+      if (and(stk[iPre, \"M\"], MOD_REF)) {\n+        _resultT = TYPE_NUM;\n+        if (_pW == \"=\") {\n+          _result = _rhs;\n+          _resultT = _rhsT;\n+        } else if (_pW == \"+=\") _result = _lhs + _rhs;\n+        else if (_pW == \"-=\") _result = _lhs - _rhs;\n+        else if (_pW == \"*=\") _result = _lhs * _rhs;\n+        else if (_pW == \"\/=\") _result = _lhs \/ _rhs;\n+        else if (_pW == \"%=\") _result = _lhs % _rhs;\n+        else if (_pW == \"|=\") _result = or(_lhs, _rhs);\n+        else if (_pW == \"^=\") _result = xor(_lhs, _rhs);\n+        else if (_pW == \"&=\") _result = and(_lhs, _rhs);\n+\n+        stk[iPre] = _result;\n+        stk[iPre, \"t\"] = SE_VALU;\n+        stk[iPre, \"T\"] = _resultT;\n+        d_data[stk[iPre, \"R\"]] = _result;\n+\n         # TODO: array copy?\n-      }else{\n-        ev2_copy(stk,iPre,stk,iVal);\n+      } else {\n+        ev2_copy(stk, iPre, stk, iVal);\n         # err?\n       }\n       return;\n-    }else if(_pW==\",\"){\n-      if(stk[iPre,\"M\"]==MOD_ARG){\n-        stk[iPre]=_rhs;\n-        stk[iPre,\"t\"]=SE_VALU;\n-        stk[iPre,\"T\"]=_rhsT;\n-        _i=stk[iPre,\"A\"]++;\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP _i,stk,iVal);\n-      }else{\n-        stk[iPre,\"t\"]=SE_VALU;\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP 0,stk,iPre);\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP 1,stk,iVal);\n-        stk[iPre]=_rhs;\n-        stk[iPre,\"T\"]=_rhsT;\n-        stk[iPre,\"M\"]=MOD_ARG;\n-        stk[iPre,\"A\"]=2;\n+    } else if (_pW == \", \") {\n+      if (stk[iPre, \"M\"] == MOD_ARG) {\n+        stk[iPre] = _rhs;\n+        stk[iPre, \"t\"] = SE_VALU;\n+        stk[iPre, \"T\"] = _rhsT;\n+        _i = stk[iPre, \"A\"]++;\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP _i, stk, iVal);\n+      } else {\n+        stk[iPre, \"t\"] = SE_VALU;\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP 0, stk, iPre);\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP 1, stk, iVal);\n+        stk[iPre] = _rhs;\n+        stk[iPre, \"T\"] = _rhsT;\n+        stk[iPre, \"M\"] = MOD_ARG;\n+        stk[iPre, \"A\"] = 2;\n       }\n       return;\n-    }else if(_pW==\".\"){\n-      _a=and(stk[iVal,\"M\"],MOD_REF)?stk[iVal,ATTR_REF]:_rhs;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      ev2_memget(stk,iPre,stk,iPre,_a);\n+    } else if (_pW == \".\") {\n+      _a = and(stk[iVal, \"M\"], MOD_REF)? stk[iVal, ATTR_REF]: _rhs;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      ev2_memget(stk, iPre, stk, iPre, _a);\n       return;\n     }\n \n-    stk[iPre]=_result;\n-    stk[iPre,\"t\"]=SE_VALU;\n-    stk[iPre,\"T\"]=_resultT;\n-    stk[iPre,\"M\"]=MOD_NUL;\n-  }else if(_pT==\"u\"){\n-    _rhs=stk[iVal];\n-\n-    if(_pW==\"+\")_result=_rhs;\n-    else if(_pW==\"-\")_result=-_rhs;\n-    else if(_pW==\"!\")_result=!ev1scan_cast_bool(_rhs);\n-    else if(_pW==\"++\"){\n-      _result=_rhs+1;\n-      stk[iPre]=_result;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      stk[iPre,\"T\"]=TYPE_NUM;\n-      if(and(stk[iVal,\"M\"],MOD_REF)){\n-        stk[iPre,\"M\"]=MOD_REF;\n-        stk[iPre,\"R\"]=stk[iVal,\"R\"];\n-        d_data[stk[iPre,\"R\"]]=_result;\n-      }else{\n-        stk[iPre,\"M\"]=MOD_NUL;\n+    stk[iPre] = _result;\n+    stk[iPre, \"t\"] = SE_VALU;\n+    stk[iPre, \"T\"] = _resultT;\n+    stk[iPre, \"M\"] = MOD_NUL;\n+  } else if (_pT == \"u\") {\n+    _rhs = stk[iVal];\n+\n+    if (_pW == \"+\") _result = _rhs;\n+    else if (_pW == \"-\") _result = -_rhs;\n+    else if (_pW == \"!\") _result = !ev1scan_cast_bool(_rhs);\n+    else if (_pW == \"++\") {\n+      _result = _rhs+1;\n+      stk[iPre] = _result;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      stk[iPre, \"T\"] = TYPE_NUM;\n+      if (and(stk[iVal, \"M\"], MOD_REF)) {\n+        stk[iPre, \"M\"] = MOD_REF;\n+        stk[iPre, \"R\"] = stk[iVal, \"R\"];\n+        d_data[stk[iPre, \"R\"]] = _result;\n+      } else {\n+        stk[iPre, \"M\"] = MOD_NUL;\n       }\n       return;\n-    }else if(_pW==\"--\"){\n-      _result=_rhs-1;\n-      stk[iPre]=_result;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      stk[iPre,\"T\"]=TYPE_NUM;\n-      if(and(stk[iVal,\"M\"],MOD_REF)){\n-        stk[iPre,\"M\"]=MOD_REF;\n-        stk[iPre,\"R\"]=stk[iVal,\"R\"];\n-        d_data[stk[iPre,\"R\"]]=_result;\n-      }else{\n-        stk[iPre,\"M\"]=MOD_NUL;\n+    } else if (_pW == \"--\") {\n+      _result = _rhs-1;\n+      stk[iPre] = _result;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      stk[iPre, \"T\"] = TYPE_NUM;\n+      if (and(stk[iVal, \"M\"], MOD_REF)) {\n+        stk[iPre, \"M\"] = MOD_REF;\n+        stk[iPre, \"R\"] = stk[iVal, \"R\"];\n+        d_data[stk[iPre, \"R\"]] = _result;\n+      } else {\n+        stk[iPre, \"M\"] = MOD_NUL;\n       }\n       return;\n     }\n \n-    stk[iPre]=_result;\n-    stk[iPre,\"t\"]=SE_VALU;\n-    stk[iPre,\"T\"]=TYPE_NUM;\n-    stk[iPre,\"M\"]=MOD_NUL;\n-  }else if(_pT==\"?:\"){\n-    if(_pW==\"T\"){\n-      stk[iPre,\"t\"]=SE_VALU;\n-    }else{\n-      ev2_copy(stk,iPre,stk,iVal);\n-    }\n-  }else{\n-    ev2_copy(stk,iPre,stk,iVal);\n-  }\n-}\n-\n-function ev2_copy(dDict,dName,sDict,sName, _M,_t,_i,_iN){\n+    stk[iPre] = _result;\n+    stk[iPre, \"t\"] = SE_VALU;\n+    stk[iPre, \"T\"] = TYPE_NUM;\n+    stk[iPre, \"M\"] = MOD_NUL;\n+  } else if (_pT == \"?:\") {\n+    if (_pW == \"T\") {\n+      stk[iPre, \"t\"] = SE_VALU;\n+    } else {\n+      ev2_copy(stk, iPre, stk, iVal);\n+    }\n+  } else {\n+    ev2_copy(stk, iPre, stk, iVal);\n+  }\n+}\n+\n+function ev2_copy(dDict, dName, sDict, sName, _M, _t, _i, _iN) {\n   # assertion\n-  if(sDict[sName,\"t\"]!=SE_VALU){\n-    print_error(\"mwg_pp.eval:fatal\",\"copying not value element\");\n-  }\n-\n-  dDict[dName]=sDict[sName];            # value\n-  _t=dDict[dName,\"t\"]=sDict[sName,\"t\"]; # sttype\n-  _M=dDict[dName,\"M\"]=sDict[sName,\"M\"]; # mod\n-\n-  if(_t==SE_VALU)\n-    dDict[dName,\"T\"]=sDict[sName,\"T\"];  # datatype\n+  if (sDict[sName, \"t\"] != SE_VALU) {\n+    print_error(\"mwg_pp.eval:fatal\", \"copying not value element\");\n+  }\n+\n+  dDict[dName] = sDict[sName];                # value\n+  _t = dDict[dName, \"t\"] = sDict[sName, \"t\"]; # sttype\n+  _M = dDict[dName, \"M\"] = sDict[sName, \"M\"]; # mod\n+\n+  if (_t == SE_VALU)\n+    dDict[dName, \"T\"] = sDict[sName, \"T\"];  # datatype\n \n   # special data\n-  if(and(_M,MOD_REF)){\n+  if (and(_M, MOD_REF)) {\n     # reference\n-    dDict[dName,\"R\"]=sDict[sName,\"R\"]; # name in d_data\n-  }\n-  if(and(_M,MOD_ARG)||and(_M,MOD_ARR)){\n+    dDict[dName, \"R\"] = sDict[sName, \"R\"]; # name in d_data\n+  }\n+  if (and(_M, MOD_ARG) || and(_M, MOD_ARR)) {\n     # argument\/array\n-    _iN=dDict[dName,\"A\"]=sDict[sName,\"A\"]; # array length\n-    for(_i=0;_i<_iN;_i++)\n-      ev2_copy(dDict,dName SUBSEP \"A\" SUBSEP _i,sDict,sName SUBSEP \"A\" SUBSEP _i);\n-  }\n-  if(and(_M,MOD_MTH)){\n+    _iN = dDict[dName, \"A\"] = sDict[sName, \"A\"]; # array length\n+    for (_i = 0; _i < _iN; _i++)\n+      ev2_copy(dDict, dName SUBSEP \"A\" SUBSEP _i, sDict, sName SUBSEP \"A\" SUBSEP _i);\n+  }\n+  if (and(_M, MOD_MTH)) {\n     # member function\n-    dDict[dName,ATTR_MTH_MEM]=sDict[sName,ATTR_MTH_MEM];\n-    ev2_copy(dDict,dName SUBSEP ATTR_MTH_OBJ,sDict,sName SUBSEP ATTR_MTH_OBJ);\n-  }\n-}\n-\n-function ev2_delete(sDict,sName){\n-  if(sDict[sName,\"t\"]!=SE_VALU){\n-    print_error(\"mwg_pp.eval:fatal\",\"deleting not value element\");\n+    dDict[dName, ATTR_MTH_MEM] = sDict[sName, ATTR_MTH_MEM];\n+    ev2_copy(dDict, dName SUBSEP ATTR_MTH_OBJ, sDict, sName SUBSEP ATTR_MTH_OBJ);\n+  }\n+}\n+\n+function ev2_delete(sDict, sName) {\n+  if (sDict[sName, \"t\"] != SE_VALU) {\n+    print_error(\"mwg_pp.eval:fatal\", \"deleting not value element\");\n   }\n \n   delete sDict[sName];     # value\n-  delete sDict[sName,\"t\"]; # sttype\n-  delete sDict[sName,\"T\"]; # datatype\n-  _M=sDict[sName,\"M\"];     # mod\n-  delete sDict[sName,\"M\"];\n+  delete sDict[sName, \"t\"]; # sttype\n+  delete sDict[sName, \"T\"]; # datatype\n+  _M = sDict[sName, \"M\"];     # mod\n+  delete sDict[sName, \"M\"];\n \n   # special data\n-  if(_M==MOD_REF){\n+  if (_M == MOD_REF) {\n     # reference\n-    delete sDict[sName,\"R\"]; # name in d_data\n-  }else if(_M==MOD_ARG||_M==MOD_ARR){\n+    delete sDict[sName, \"R\"]; # name in d_data\n+  } else if (_M == MOD_ARG || _M == MOD_ARR) {\n     # argument\/array\n-    _iN=sDict[sName,\"A\"];\n-    delete sDict[sName,\"A\"]; # array length\n-    for(_i=0;_i<_iN;_i++)\n-      ev2_delete(sDict,sName SUBSEP \"A\" SUBSEP _i);\n-  }\n-}\n-\n-# TODO? Dict[sp]      -> Dict[sp,\"v\"]\n-# TODO? s[i,\"c\"]=\"b+\" -> s[i,\"k\"]=\"b\" s[\"o\"]=\"+\"\n+    _iN = sDict[sName, \"A\"];\n+    delete sDict[sName, \"A\"]; # array length\n+    for (_i = 0; _i < _iN; _i++)\n+      ev2_delete(sDict, sName SUBSEP \"A\" SUBSEP _i);\n+  }\n+}\n+\n+# TODO? Dict[sp]       -> Dict[sp, \"v\"]\n+# TODO? s[i, \"c\"]=\"b+\" -> s[i, \"k\"]=\"b\" s[\"o\"]=\"+\"\n \n #===============================================================================\n #  Parameter Expansion\n@@ -952,7 +952,7 @@\n       print \"(parameter expansion:\" _mtext \")! unrecognized expansion.\" > \"\/dev\/stderr\"\n       _r=_mtext;\n     }\n-        \n+\n     if(_mtext ~ \/^\\${\/){\n       # enable re-expansion ${}\n       _ret=_ret _ltext;\n@@ -1364,17 +1364,17 @@\n       _sep=substr(pair,2,RLENGTH-2);\n       pair=trim(substr(pair,RLENGTH+1));\n     }\n-        \n+\n     _i=_sep!=\"\"?index(pair,_sep):match(pair,\/[ \\t]\/);\n     if(_i<=0){\n       printf(\"(#%%data directive)! ill-formed. (pair=%s, _sep=%s)\\n\",pair,_sep) > \"\/dev\/stderr\"\n       return 0;\n     }\n-        \n+\n     _k=substr(pair,1,_i-1);\n     _v=trim(substr(pair,_i+length(_sep)))\n     d_data[_k]=_v;\n-        \n+\n     #_t[0];head_token(pair,_t);\n     #d_data[_t[0]]=_t[1];\n   }\n@@ -1551,14 +1551,15 @@\n }\n \n {\n-  if(NR==1){\n+  if(FNR==1){\n     if(ENVIRON[\"PPLINENO_FILE\"]!=\"\")\n       m_rfile=ENVIRON[\"PPLINENO_FILE\"];\n     else\n       m_rfile=FILENAME;\n+    dependency_add(m_rfile);\n   }\n   m_lineno_cfile=m_rfile;\n-  m_lineno_cline=NR;\n+  m_lineno_cline=FNR;\n   process_line($1);\n }\n \n@@ -1568,29 +1569,43 @@\n     m_dependency[m_dependency_count++]=file;\n   }\n }\n-function dependency_generate(output,target, _i,_iMax){\n-  if(!target){\n-    target=m_rfile;\n-    sub(\/\\.pp$\/,\"\",target);\n-    target=target \".out\";\n-  }\n-\n-  if(m_dependency_count==0){\n-    print target \": \" m_rfile > output\n-  }else{\n-    print target \": \" m_rfile \" \\\\\" > output\n-    _iMax=m_dependency_count-1;\n-    for(_i=0;_i<_iMax;_i++)\n-      print \"  \" m_dependency[_i] \" \\\\\" >> output;\n-    print \"  \" m_dependency[_iMax] >> output;\n-  }\n-}\n-\n-END{\n+function dependency_generate(output, target, is_phony, _i, _iMax, _line, _file){\n+  if (!target) {\n+    target = m_rfile;\n+    sub(\/\\.pp$\/, \"\", target);\n+    target = target \".out\";\n+  }\n+\n+  if (m_dependency_count == 0)\n+    print target \":\" > output;\n+  else {\n+    _iMax = m_dependency_count - 1;\n+    for (_i = 0; _i < m_dependency_count; _i++) {\n+      _file = m_dependency[_i];\n+      gsub(\/[[:space:]]\/, \"\\\\\\\\&\", _file);\n+      _line = _i == 0? target \": \": \"  \";\n+      _line = _line _file;\n+      if (_i < _iMax) _line = _line \" \\\\\";\n+      print _line > output;\n+    }\n+\n+    if (is_phony) {\n+      for (_i = 0; _i < m_dependency_count; _i++) {\n+        _file = m_dependency[_i];\n+        gsub(\/[[:space:]]\/, \"\\\\\\\\&\", _file);\n+        printf(\"%s:\\n\\n\", _file) > output;\n+      }\n+    }\n+  }\n+}\n+\n+END {\n   # output dependencies\n-  DEPENDENCIES_OUTPUT=ENVIRON[\"DEPENDENCIES_OUTPUT\"];\n-  if(DEPENDENCIES_OUTPUT)\n-    dependency_generate(DEPENDENCIES_OUTPUT,ENVIRON[\"DEPENDENCIES_TARGET\"]);\n-\n-  if(global_errorCount)exit(1);\n-}\n+  DEPENDENCIES_OUTPUT = ENVIRON[\"DEPENDENCIES_OUTPUT\"];\n+  if (DEPENDENCIES_OUTPUT) {\n+    is_phony = ENVIRON[\"DEPENDENCIES_PHONY\"];\n+    dependency_generate(DEPENDENCIES_OUTPUT, ENVIRON[\"DEPENDENCIES_TARGET\"], is_phony);\n+  }\n+\n+  if (global_errorCount) exit(1);\n+}\n"}
{"commit":"6d4f366de6ce1675d72964b3033b37e8b95f508e","subject":"Cast from the specific vop_*_args to vop_generic_args via a (void *) pointer to eliminate the hundreds of warnings that we have in tree at the moment.","message":"Cast from the specific vop_*_args to vop_generic_args via a (void *)\npointer to eliminate the hundreds of warnings that we have in tree at\nthe moment.\n\n# Chances are good that all the struct vop_*_args should have, as its\n# first element, the struct vop_generic_args, and when necessary to\n# reference it, we just take its address rather than going through\n# this double case.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -324,7 +324,7 @@\n \t\tprinth(\"\\t\\tif (vop->\"name\" != NULL)\")\n \t\tprinth(\"\\t\\t\\trc = vop->\"name\"(&a);\")\n \t\tprinth(\"\\t\\telse\")\n-\t\tprinth(\"\\t\\t\\trc = vop->vop_bypass((struct vop_generic_args *)&a);\")\n+\t\tprinth(\"\\t\\t\\trc = vop->vop_bypass((struct vop_generic_args *)(void *)&a);\")\n \t\tprinth(\"\\t}\")\n \t\tprinth(ctrstr);\n \t\tprinth(\"if (rc == 0) {\");\n"}
{"commit":"52d4a7f9d817c7aa22df660ca7727b7a615b514b","subject":"Bix broken times on Acorn website","message":"Bix broken times on Acorn website\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -169,6 +169,15 @@\n # Extract the episode duration\n \/<meta itemprop=\"timeRequired\"\/ {\n     split ($0,fld,\"\\\"\")\n+    # broken times in Jamaica Inn (may be temporary)\n+    if (episodeURL ~ \/\\\/jamaicainn\\\/\/ && fld[4] == \"T-1M57S\") {\n+        printf (\"==> Bad duration: %s  %s\\n\", episodeURL, fld[4]) >> ERROR_FILE\n+        fld[4] = \"T59M18S\"\n+    }\n+    if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/cast-and-crew-interviews\/ && fld[4] = \"T09M08S\") {\n+            printf (\"==> Bad duration: %s  %s\\n\", episodeURL, fld[4]) >> ERROR_FILE\n+        fld[4] = \"T25M54S\"\n+    }\n     split (fld[4],tm,\/[TMS]\/)\n     secs = tm[3]\n     mins = tm[2] + int(secs \/ 60)\n@@ -236,8 +245,13 @@\n     # Default bonus, parttwo, and christmasspecials episodeType to \"X\"\n     if (episodeURL ~ \/bonus\\\/|[0-9]{1,2}parttwo\\\/|christmasspecial\\\/\/)\n         episodeType = \"X\"\n-    # jamaicainn, newworlds & newtonslaw bonus seasonNumber should be 1\n-    if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/|\\\/newtonslaw\\\/bonus\\\/\/ && seasonNumber != 1) {\n+    # If episode is a Trailer, set episodeType to \"T\"\n+    if (episodeURL ~ \/\\\/trailer\/)\n+        episodeType = \"T\"\n+    # jamaicainn, newworlds & newtonslaw bonus or trailer seasonNumber should be 1\n+    if (episodeURL ~ \\\n+        \/\\\/jamaicainn\\\/bonus\\\/|\\\/jamaicainn\\\/trailer\\\/|\\\/newworlds\\\/bonus\\\/|\\\/newtonslaw\\\/bonus\\\/\/ \\\n+        && seasonNumber != 1) {\n         split (episodeURL, part, \"\/\")\n         printf (\"==> Corrected mismatch: https:\/\/acorn.tv\/%s\/%s was series %d\\n\", \\\n                part[4], part[5], seasonNumber) >> ERROR_FILE\n"}
{"commit":"fa13e625651892fe2099c628f9aab397d8997a64","subject":"tools: fix date detection","message":"tools: fix date detection\n\nThe date detection assumed month format as MM but it is actually\nM or MM.\n\nFixes: 7a3ed3640d65 (\"tools: introduce log analyzer\")\nSigned-off-by: Jan Viktorin <3eab6ac54c005c4408f608556a6663b7f2abede7@fit.vutbr.cz>\n","repos":"BeeeOn\/server,BeeeOn\/server,BeeeOn\/server,BeeeOn\/server","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/log-analyze.awk\n+++ tools\/log-analyze.awk\n@@ -168,11 +168,11 @@\n \tHAS_DATE = 0\n }\n \n-\/ (19[0-9]{2}|20[0-9]{2})-[012][0-9]-[0-3][0-9] \/ {\n+\/ (19[0-9]{2}|20[0-9]{2})-[012]?[0-9]-[0-3][0-9] \/ {\n \tHAS_DATE = 1\n }\n \n-!\/ (19[0-9]{2}|20[0-9]{2})-[012][0-9]-[0-3][0-9] \/ {\n+!\/ (19[0-9]{2}|20[0-9]{2})-[012]?[0-9]-[0-3][0-9] \/ {\n \tHAS_DATE = 0\n }\n \n"}
{"commit":"765fb3f623d8c7f9f40b60c058ebf0196ab45522","subject":"Add <th> support to amdtbl.awk","message":"Add <th> support to amdtbl.awk\n","repos":"JuEeHa\/scripts","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/amdtbl.awk\n+++ src\/amdtbl.awk\n@@ -3,6 +3,27 @@\n     FS=\"|\"\n     blank=\"[    ]\"\n     blanks=blank\"+\"\n+}\n+\n+# Table head\n+\/^\\{\\{.*\\|.*\\}\\}$\/ {\n+    if(! intable) print \"<table>\"\n+    intable=1\n+    print \"<tr>\"\n+\n+    $0 = substr($0, 2, length($0)-2)\n+    split($0, a)\n+    for(i in a) {\n+        align=\"center\"\n+        if(match(a[i], \"^\" blank blanks)) {\n+            if(! match(a[i], blanks blank \"$\"))\n+                align=\"right\"\n+        } else if(match(a[i], blanks blank \"$\"))\n+            align=\"left\"\n+        print \"<th align='\"align\"'>\" a[i] \"<\/th>\"\n+    }\n+    print \"<\/tr>\"\n+    next\n }\n \n # Table lines\n"}
{"commit":"cce7d8fffa7464d2856e0e94eaab524db46cf308","subject":"build.awk: update wiki generator","message":"build.awk: update wiki generator\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -117,12 +117,12 @@\n \n         split(getISO(code), group, \"-\")\n         iso = group[1]\n-        split(getName(code), group, \" \")\n-        language = length(group) == 1 ? group[1] \"_language\" :\n-            group[2] ~ \/^\\(.*\\)$\/ ? group[1] \"_language\" : join(group, \"_\")\n+        #split(getName(code), group, \" \")\n+        #language = length(group) == 1 ? group[1] \"_language\" :\n+        #    group[2] ~ \/^\\(.*\\)$\/ ? group[1] \"_language\" : join(group, \"_\")\n         print sprintf(\"| **`%s`** <br\/> [`%s`](%s) | **[%s](%s)** <br\/> **%s** | %s | `%s` | %s | %s |\",\n                       getCode(code), iso, \"http:\/\/www.ethnologue.com\/language\/\" iso,\n-                      getName(code), \"http:\/\/en.wikipedia.org\/wiki\/\" language, getEndonym(code),\n+                      getName(code), \"http:\/\/en.wikipedia.org\/wiki\/ISO_639:\" iso, getEndonym(code),\n                       getFamily(code), getScript(code),\n                       isRTL(code) ? \"\u2713\" : NULLSTR,\n                       hasDictionary(code) ? \"\u2713\" : NULLSTR) > WikiLanguages\n"}
{"commit":"168d350e277353e23650e371157b6bff98d3d424","subject":"bugfixing manual\/remove","message":"bugfixing manual\/remove\n","repos":"JoeKuan\/Network-Interfaces-Script","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changeInterface.awk\n+++ changeInterface.awk\n@@ -19,7 +19,7 @@\n function usage() {\n         print \"awk -f changeInterfaces.awk <interfaces file> dev=<eth device> \\n\" \\\n             \"       [address=<ip addr>] [gateway=<ip addr>] [netmask=<ip addr>]\\n\" \\\n-            \"       [network=<ip addr>] [mode=dhcp|static] [dns=<ip addr [ip addr ...]>] [arg=debug]\"\n+            \"       [network=<ip addr>] [mode=dhcp|static|remove|manual] [dns=<ip addr [ip addr ...]>] [arg=debug]\"\n }\n \n BEGIN { start = 0;\n@@ -57,6 +57,8 @@\n             static = 1;\n         else if (pair[1] == \"mode\" && pair[2] == \"remove\")\n             remove = 1;\n+        else if (pair[1] == \"mode\" && pair[2] == \"manual\")\n+            manual = 1;\n         else {\n             usage();\n             exit 1;\n@@ -72,11 +74,13 @@\n } \n \n {\n-    if ($1 == \"auto\" && remove) {\n-        gsub(device, \"\");\n-        print;\n-        next;\n-    }\n+    # maybe remove auto if manual is selected??\n+    if ($1 == \"auto\" && remove ) {\n+        if($2 != device) \n+            print;\n+        next;\n+    }\n+    \n  \n     # Look for iface line and if the interface comes with the device name\n     # scan whether it is dhcp or static \n@@ -124,6 +128,11 @@\n                     print $0;\n                     next;\n                 }\n+                if (manual) {\n+                    sub(\/ static\/, \" manual\");\n+                    print $0;\n+                    next;\n+                }\n             }\n \n         } \n@@ -158,7 +167,7 @@\n         # Already defined static, just changing the properties\n         # Otherwise omit everything until the iface section is\n         # finished\n-        if (!dhcp) {\n+        if (!dhcp && !manual) {\n \n             if (debug)\n                 print \"static - \", $0, $1;\n@@ -183,6 +192,8 @@\n                     # Important - to reset the dns. So that we know whether\n                     # dns has been updated to the interfaces file\n                     dnsVal = \"\";\n+                } else if (remove) {\n+                    dnsVal = \"\";    \n                 } else if (!length(dnsVal)) {\n                     print $0;\n                 }\n"}
{"commit":"38b5a93ee539af40d8d12c22163057d2b337acf1","subject":"Define KEY_MAX for Python. (dm)","message":"Define KEY_MAX for Python. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2776 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi.awk\n+++ Programs\/brlapi.awk\n@@ -14,6 +14,11 @@\n #\n # This software is maintained by Dave Mielke <dave@mielke.cc>.\n ###############################################################################\n+\n+\/#define[ \\t]*BRLAPI_KEY_MAX\/ {\n+  apiMask(substr($2, 12), $2, getDefineValue(), \"\")\n+  next\n+}\n \n \/#define[ \\t]*BRLAPI_KEY_[A-Z_]+_MASK\/ {\n   apiMask(substr($2, 12), $2, getDefineValue(), \"\")\n"}
{"commit":"94be2163fcb9434f9a3abbb24704b9b957f698a9","subject":"Use NF.","message":"Use NF.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -52,10 +52,12 @@\n \n ! \/^#\/ {\n     split($0, fieldsThisLine, \" \", sepsThrowAway)\n-    print \"\\t{\"\n-    for(i = 1; i < numFields; i++)\n-    {\n-        printf \"\\t\\t\\\"%s\\\": \\\"%s\\\",\\n\", fields[i], fieldsThisLine[i]\n+    if (NF == numFields) {\n+        print \"\\t{\"\n+        for(i = 1; i < NF; i++)\n+        {\n+            printf \"\\t\\t\\\"%s\\\": \\\"%s\\\",\\n\", fields[i], fieldsThisLine[i]\n+        }\n+        print \"\\t},\"\n     }\n-    print \"\\t},\"\n }\n"}
{"commit":"fee156374c1e3c9aa5e01069a5ab3b507c8728ff","subject":"Fix comments.","message":"Fix comments.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2domainlist.awk\n+++ gfwlist2domainlist.awk\n@@ -29,11 +29,21 @@\n \n # Extract domain name from non-regex line\n function extract(line) {\n-\tsub(\/.*:\\\/\\\/\/, \"\", line) # remove everything till :\/\/, such as http:\/\/ https:\/\/\n-\tsub(\/\\\/.*\/, \"\", line)    # remove everything from \/\n-\tsub(\/:.*\/, \"\", line)     # remove everything from :\n-\tsub(\/[^\\.]*\\*[^\\.]*\/, \"\", line)      # remove segments(dot separated) contain *\n-\tsub(\/^\\.\/, \"\", line)     # remove leading dot\n+\n+\t# Remove everything till :\/\/, such as http:\/\/ https:\/\/\n+\tsub(\/.*:\\\/\\\/\/, \"\", line)\n+\n+\t# Remove everything from \/\n+\tsub(\/\\\/.*\/, \"\", line)\n+\n+\t# Remove everything from :\n+\tsub(\/:.*\/, \"\", line)\n+\n+\t# Remove segments(dot separated) contain *\n+\tsub(\/[^\\.]*\\*[^\\.]*\/, \"\", line)\n+\n+\t# Remove leading dot\n+\tsub(\/^\\.\/, \"\", line)\n \n \tif (line ~ \/^((([0-9]{1,2})|(1[0-9]{2})|(2[0-4][0-9])|(25[0-5]))\\.){3}(([0-9]{1,2})|(1[0-9]{2})|(2[0-4][0-9])|(25[0-5]))$\/) {\n \t\t# IPv4 string\n@@ -60,11 +70,22 @@\n \t\t\textract_regex(expanded_line)\n \t\t}\n \t} else {\n-\t\tsub(\/.*:\\\\\\\/\\\\\\\/\/, \"\", line)    # remove everything till :\\\/\\\/ in regex(:\/\/ in plain text, such as http:\/\/ https:\/\/)\n-\t\tgsub(\/\\([^\\)]+\\)\\*?\/, \"\", line) # remove (...)*? such as ([^\\\/]+\\.)\n-\t\tgsub(\/\\[.*\\]\\+\/, \"\", line)      # remove [...]\n-\t\tsub(\/\\\\\\\/.*\/, \"\", line)         # remove everything from \\\/ in regex(\/ in plaint text)\n-\t\tgsub(\/\\\\\\.\/, \".\", line)         # replace \\. to .\n+\n+\t\t# Remove everything till :\\\/\\\/ in regex(:\/\/ in plain text, such as http:\/\/ https:\/\/)\n+\t\tsub(\/.*:\\\\\\\/\\\\\\\/\/, \"\", line)\n+\n+\t\t# Remove (...)*? such as ([^\\\/]+\\.)\n+\t\tgsub(\/\\([^\\)]+\\)\\*?\/, \"\", line)\n+\n+\t\t# Remove [...]\n+\t\tgsub(\/\\[.*\\]\\+\/, \"\", line)\n+\n+\t\t# Remove everything from \\\/ in regex(\/ in plaint text)\n+\t\tsub(\/\\\\\\\/.*\/, \"\", line)\n+\n+\t\t# Replace \\. to .\n+\t\tgsub(\/\\\\\\.\/, \".\", line)\n+\n \t\textract(line)\n \t}\n }\n"}
{"commit":"f82913c2ec536b49e21bb633841cd6ae0a449b8d","subject":"Commons: add escape(), enable double quotes for parameterize()","message":"Commons: add escape(), enable double quotes for parameterize()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -91,10 +91,24 @@\n     return string\n }\n \n-# Return the single-quoted string.\n-function parameterize(string) {\n-    gsub(\/'\/, \"'\\\\''\", string)\n-    return \"'\" string \"'\"\n+# Return the escaped string.\n+function escape(string) {\n+    gsub(\/\"\/, \"\\\\\\\"\", string)\n+    gsub(\/\\\\\/, \"\\\\\\\\\", string)\n+    return string\n+}\n+\n+# Return the escaped, quoted string.\n+function parameterize(string, quotationMark) {\n+    if (!quotationMark)\n+        quotationMark = \"'\"\n+\n+    if (quotationMark == \"'\") {\n+        gsub(\/'\/, \"'\\\\''\", string)\n+        return \"'\" string \"'\"\n+    } else {\n+        return \"\\\"\" escape(string) \"\\\"\"\n+    }\n }\n \n # Return the URL-encoded string.\n"}
{"commit":"0bd06655b7689a3231aa5badbd4cba3ad74a22b6","subject":"Commons: add assert()","message":"Commons: add assert()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -1,4 +1,15 @@\n #!\/usr\/bin\/gawk -f\n+\n+# Naive assertion.\n+function assert(x, message) {\n+    if (!message)\n+        message = \"[ERROR] Assertion failed.\"\n+\n+    if (x)\n+        return x\n+    else\n+        e(message)\n+}\n \n # Return the real character represented by an escape sequence.\n # Example: escapeChar(\"n\") returns \"\\n\".\n"}
{"commit":"0ec42f9f6180d897a23e0723746819f0569bf754","subject":"add another line","message":"add another line\n","repos":"rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/remove_license_block-helper.awk\n+++ utils\/remove_license_block-helper.awk\n@@ -16,6 +16,7 @@\n \tBLOCK[BLOCK_END++] = X \"BBN Address and AS Number PKI Database\/repository software\";\n \tBLOCK[BLOCK_END++] = X \"Version [^ ]*\";\n \tBLOCK[BLOCK_END++] = X;\n+\tBLOCK[BLOCK_END++] = X \"COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHTS.*\";\n \tBLOCK[BLOCK_END++] = X \"US government users are permitted unrestricted rights as\";\n \tBLOCK[BLOCK_END++] = X \"defined in the FAR.\";\n \tBLOCK[BLOCK_END++] = X;\n"}
{"commit":"dd05f09febea5c6b83b3ca6e14fc9803820e7075","subject":"handling #conversion:label","message":"handling #conversion:label\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/cell-ify-eparams.awk\n+++ bin\/util\/cell-ify-eparams.awk\n@@ -112,8 +112,8 @@\n    }\n    line=$0;\n \n-   if( length(label_up) > 0 && $1 == \"conversion:label\" ) {\n-      print annotate(\"         conversion:label  \\\"\"label_up\"\\\";\",PADDING,\"was \"$2);\n+   if( length(label_up) > 0 && $1 == \"conversion:label\" || $1 == \"#conversion:label\" ) {\n+      print annotate(\"         %s  \\\"\"label_up\"\\\";\",$1,PADDING,\"was \"$2);\n    }else if( length(out_range) > 0 && $1 == \"conversion:range\" ) {\n       print annotate(\"         conversion:range  \"out_range\";\",PADDING,\"was \"$2);\n    }else if( $1 == \"];\" ) {\n@@ -159,7 +159,7 @@\n END {\n    #if( num_cells == 0 ) {\n       print \"# params:\"\n-      print \"#   cellify=`jot -s \\\",\\\" 5 10` -v label_up=Year -v up_object={. : Blah} -v up_range=xsd:gYear -v out_range=xsd:decimal -v labels_up=Venue,Another,YAnother\"\n-      print \"#   cellify=`echo \\\"\\\" | awk '{for(i=5;i<=10;i++){printf(\\\",%s\\\",i)}}'` -v label_up=Year -v up_object=Blah -v up_range=xsd:gYear -v out_range=xsd:decimal -v labels_up=Venue,Another,YAnother\"\n+      print \"#   -v cellify=`jot -s \\\",\\\" 5 10` -v label_up=Year -v up_object={. : Blah} -v up_range=xsd:gYear -v out_range=xsd:decimal -v labels_up=Venue,Another,YAnother\"\n+      print \"#   -v cellify=`echo \\\"\\\" | awk '{for(i=5;i<=10;i++){printf(\\\",%s\\\",i)}}'` -v label_up=Year -v up_object=Blah -v up_range=xsd:gYear -v out_range=xsd:decimal -v labels_up=Venue,Another,YAnother\"\n    #}\n }\n"}
{"commit":"fae8b711bcf5ba4495d73960f0ec3061f4b63d77","subject":"Handle embedded tab in BBox description","message":"Handle embedded tab in BBox description\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFromSitemap.awk\n+++ getBBoxCatalogFromSitemap.awk\n@@ -101,6 +101,7 @@\n     description = fld[3]\n     # print \"description = \" description > \"\/dev\/stderr\"\n     gsub (\/&amp;\/,\"\\\\&\",description)\n+    gsub (\/\\t\/,\" \u2013 \",description)\n }\n \n # Grab rating\n"}
{"commit":"afd9104ac60528b26c46065868cee221cf0bc52e","subject":"Use URN in rdf-n3.awk","message":"Use URN in rdf-n3.awk\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/rdf-n3.awk\n+++ misc\/rdf-n3.awk\n@@ -25,7 +25,8 @@\n \n     if (nsenses == 0 || nisas == 0) next;\n \n-    print \":c\" $1, TYPE, CONCEPT, \".\";\n+    print \"<urn:linked:c\" $1 \">\", TYPE,  CONCEPT,           \".\";\n+    print \"<urn:linked:c\" $1 \">\", LABEL, \"\\\"synset\" $1 \"\\\"\", \".\";\n \n     for (sense_id in senses) {\n         sense = senses[sense_id];\n@@ -42,20 +43,20 @@\n             if (!(word in windex)) {\n                 windex[word] = wcount++;\n \n-                print \":w\" windex[word], TYPE,          WORD,              \".\";\n-                print \":w\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                print \":f\" windex[word], TYPE,          FORM,              \".\";\n-                print \":f\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                print \":f\" windex[word], WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n-                print \":w\" windex[word], CANONICALFORM, \":f\" windex[word], \".\";\n+                print \"<urn:linked:w\" windex[word] \">\", TYPE,          WORD,                             \".\";\n+                print \"<urn:linked:w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<urn:linked:f\" windex[word] \">\", TYPE,          FORM,                             \".\";\n+                print \"<urn:linked:f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<urn:linked:f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",                   \".\";\n+                print \"<urn:linked:w\" windex[word] \">\", CANONICALFORM, \"<urn:linked:f\" windex[word] \">\", \".\";\n             }\n \n-            print \":s\" sindex[sense], TYPE,          LEXICALSENSE,       \".\";\n-            print \":s\" sindex[sense], LABEL,         \"\\\"\" sense \"\\\"\",    \".\";\n-            print \":s\" sindex[sense], ISSENSEOF,     \":w\" windex[word],  \".\";\n-            print \":w\" windex[word],  SENSE,         \":s\" sindex[sense], \".\";\n-            print \":s\" sindex[sense], REFERENCE,     \":c\" $1,            \".\";\n-            print \":c\" $1,            ISREFERENCEOF, \":s\" sindex[sense], \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", TYPE,          LEXICALSENSE,       \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", LABEL,         \"\\\"\" sense \"\\\"\",    \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", ISSENSEOF,     \"<urn:linked:w\" windex[word] \">\",  \".\";\n+            print \"<urn:linked:w\" windex[word] \">\",  SENSE,         \"<urn:linked:s\" sindex[sense] \">\", \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", REFERENCE,     \"<urn:linked:c\" $1 \">\",            \".\";\n+            print \"<urn:linked:c\" $1 \">\",            ISREFERENCEOF, \"<urn:linked:s\" sindex[sense] \">\", \".\";\n         }\n \n         for (isa_id in isas) {\n@@ -73,22 +74,22 @@\n                 if (!(word in windex)) {\n                     windex[word] = wcount++;\n \n-                    print \":w\" windex[word], TYPE,          WORD,              \".\";\n-                    print \":w\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                    print \":f\" windex[word], TYPE,          FORM,              \".\";\n-                    print \":f\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n-                    print \":f\" windex[word], WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n-                    print \":w\" windex[word], CANONICALFORM, \":f\" windex[word], \".\";\n+                    print \"<urn:linked:w\" windex[word] \">\", TYPE,          WORD,              \".\";\n+                    print \"<urn:linked:w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                    print \"<urn:linked:f\" windex[word] \">\", TYPE,          FORM,              \".\";\n+                    print \"<urn:linked:f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                    print \"<urn:linked:f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n+                    print \"<urn:linked:w\" windex[word] \">\", CANONICALFORM, \"<urn:linked:f\" windex[word] \">\", \".\";\n                 }\n \n-                print \":s\" sindex[isa],  TYPE,      LEXICALSENSE,      \".\";\n-                print \":s\" sindex[isa],  LABEL,     \"\\\"\" isa \"\\\"\",     \".\";\n-                print \":s\" sindex[isa],  ISSENSEOF, \":w\" windex[word], \".\";\n-                print \":w\" windex[word], SENSE,     \":s\" sindex[isa],  \".\";\n+                print \"<urn:linked:s\" sindex[isa] \">\",  TYPE,      LEXICALSENSE,      \".\";\n+                print \"<urn:linked:s\" sindex[isa] \">\",  LABEL,     \"\\\"\" isa \"\\\"\",     \".\";\n+                print \"<urn:linked:s\" sindex[isa] \">\",  ISSENSEOF, \"<urn:linked:w\" windex[word] \">\", \".\";\n+                print \"<urn:linked:w\" windex[word] \">\", SENSE,     \"<urn:linked:s\" sindex[isa] \">\",  \".\";\n             }\n \n-            print \":s\" sindex[sense], BROADER,  \":s\" sindex[isa],   \".\";\n-            print \":s\" sindex[isa],   NARROWER, \":s\" sindex[sense], \".\";\n+            print \"<urn:linked:s\" sindex[sense] \">\", BROADER,  \"<urn:linked:s\" sindex[isa] \">\",   \".\";\n+            print \"<urn:linked:s\" sindex[isa] \">\",   NARROWER, \"<urn:linked:s\" sindex[sense] \">\", \".\";\n         }\n     }\n }\n"}
{"commit":"b05bf92b453535d2a51d9902ff82783113ed117f","subject":"Get USB F13 to F24 keys from the PS\/2 layout, rather than as extra entries, now.","message":"Get USB F13 to F24 keys from the PS\/2 layout, rather than as extra entries, now.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/makemap.awk\n+++ dev\/usb\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.12 2012\/04\/03 18:18:41 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.13 2013\/04\/14 19:33:46 miod Exp $\n #\n # Copyright (c) 2005, Miodrag Vallat\n #\n@@ -31,7 +31,7 @@\n #\n \n BEGIN {\n-\trcsid = \"$OpenBSD: makemap.awk,v 1.12 2012\/04\/03 18:18:41 miod Exp $\"\n+\trcsid = \"$OpenBSD: makemap.awk,v 1.13 2013\/04\/14 19:33:46 miod Exp $\"\n \tifdepth = 0\n \tignore = 0\n \tdeclk = 0\n@@ -129,6 +129,18 @@\n \tconv[86] = 100\n \tconv[87] = 68\n \tconv[88] = 69\n+\tconv[91] = 104\n+\tconv[92] = 105\n+\tconv[93] = 106\n+\tconv[99] = 107\n+\tconv[100] = 108\n+\tconv[101] = 109\n+\tconv[102] = 110\n+\tconv[103] = 111\n+\tconv[104] = 112\n+\tconv[105] = 113\n+\tconv[106] = 114\n+\tconv[107] = 115\n \tconv[112] = 135\n \tconv[115] = 136\n \tconv[121] = 137\n@@ -318,18 +330,6 @@\n \t\t#\n \t\tif (nmaps++ == 0) {\n \t\t\t# 102 Suspend\n-\t\t\tlines[104] = \"    KC(104),\\tKS_F13,\"\n-\t\t\tlines[105] = \"    KC(105),\\tKS_F14,\"\n-\t\t\tlines[106] = \"    KC(106),\\tKS_F15,\"\n-\t\t\tlines[107] = \"    KC(107),\\tKS_F16,\"\n-\t\t\tlines[108] = \"    KC(108),\\tKS_F17,\"\n-\t\t\tlines[109] = \"    KC(109),\\tKS_F18,\"\n-\t\t\tlines[110] = \"    KC(110),\\tKS_F19,\"\n-\t\t\tlines[111] = \"    KC(111),\\tKS_F20,\"\n-\t\t\tlines[112] = \"    KC(112),\\tKS_F21,\"\n-\t\t\tlines[113] = \"    KC(113),\\tKS_F22,\"\n-\t\t\tlines[114] = \"    KC(114),\\tKS_F23,\"\n-\t\t\tlines[115] = \"    KC(115),\\tKS_F24,\"\n \t\t\tlines[116] = \"    KC(116),\\tKS_Open,\"\n \t\t\tlines[117] = \"    KC(117),\\tKS_Help,\"\n \t\t\tlines[118] = \"    KC(118),\\tKS_Props,\"\n"}
{"commit":"0189ff919bfcb5e8339eb6c8eef0a1801201f647","subject":"sigaction test: support arches w\/out SA_RESTORER and swapped args","message":"sigaction test: support arches w\/out SA_RESTORER and swapped args\n\nRunning Linux 3.15 (sparc64) and glibc 2.17 (sparc32) triggers a\nrt_sigaction call that does not use SA_RESTORER and has an order\nwhere it inserts a restorer and a size.  The current tests don't\nsupport that ordering, so add another regex.\n\n* tests\/sigaction.awk: Support no SA_RESTORER and swapped args.\n","repos":"TeamExodus\/external_strace,Yu-AndroidM\/android_external_strace,Yu-AndroidM\/android_external_strace,MonkeyZZZZ\/platform_external_strace,TeamExodus\/external_strace,YUPlayGodDev\/platform_external_strace,lkundrak\/strace,Distrotech\/strace,kapdop\/android_external_strace,YUPlayGodDev\/platform_external_strace,geekboxzone\/mmallow_external_strace,Yu-AndroidM\/android_external_strace,geofft\/strace,Distrotech\/strace,bigzz\/strace_android,Saruta\/strace,bigzz\/strace_android,Saruta\/strace,xin3liang\/platform_external_strace,bnoordhuis\/strace,YUPlayGodDev\/platform_external_strace,geekboxzone\/mmallow_external_strace,cuviper\/strace,xin3liang\/platform_external_strace,vrastogi\/strace,cuviper\/strace,MonkeyZZZZ\/platform_external_strace,AOSP-YU\/platform_external_strace,Distrotech\/strace,AOSP-YU\/platform_external_strace,Distrotech\/strace,kapdop\/android_external_strace,AOSP-YU\/platform_external_strace,lkundrak\/strace,geekboxzone\/mmallow_external_strace,Infinitive-OS\/platform_external_strace,Infinitive-OS\/platform_external_strace,vrastogi\/strace,MonkeyZZZZ\/platform_external_strace,Infinitive-OS\/platform_external_strace,cuviper\/strace,xin3liang\/platform_external_strace,Saruta\/strace,bigzz\/strace_android,AOSP-YU\/platform_external_strace,cuviper\/strace,vrastogi\/strace,bnoordhuis\/strace,bigzz\/strace_android,lkundrak\/strace,YUPlayGodDev\/platform_external_strace,Saruta\/strace,TeamExodus\/external_strace,AOSP-YU\/platform_external_strace,kapdop\/android_external_strace,TeamExodus\/external_strace,lkundrak\/strace,bnoordhuis\/strace,geofft\/strace,geekboxzone\/mmallow_external_strace,MonkeyZZZZ\/platform_external_strace,bigzz\/strace_android,Distrotech\/strace,Yu-AndroidM\/android_external_strace,Infinitive-OS\/platform_external_strace,geekboxzone\/mmallow_external_strace,geofft\/strace,Saruta\/strace,YUPlayGodDev\/platform_external_strace,Yu-AndroidM\/android_external_strace,kapdop\/android_external_strace,Infinitive-OS\/platform_external_strace,geofft\/strace,MonkeyZZZZ\/platform_external_strace,vrastogi\/strace,bnoordhuis\/strace,xin3liang\/platform_external_strace,cuviper\/strace,vrastogi\/strace,kapdop\/android_external_strace,geofft\/strace,TeamExodus\/external_strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/sigaction.awk\n+++ tests\/sigaction.awk\n@@ -6,7 +6,8 @@\n #\n # There are two regexps for each test:\n # the 1st is for any architecture with SA_RESTORER, including SPARC;\n-# the 2nd is for any architecture without SA_RESTORER, including ALPHA.\n+# the 2nd is for any architecture without SA_RESTORER, including ALPHA;\n+# the 3rd is for any architecture without SA_RESTORER and swapped args.\n \n BEGIN {\n \tlines = 5\n@@ -16,18 +17,22 @@\n # Test 1.\n NR == 1 && \/^rt_sigaction\\(SIGUSR2, {SIG_IGN, \\[HUP INT\\], SA_RESTORER\\|SA_RESTART, 0x[0-9a-f]+}, {SIG_DFL, \\[\\], 0}, (0x[0-9a-f]+, )?(4|8|16)\\) = 0$\/ {next}\n NR == 1 && \/^rt_sigaction\\(SIGUSR2, {SIG_IGN, \\[HUP INT\\], SA_RESTART}, {SIG_DFL, \\[\\], 0}, (4|8|16)(, 0x[0-9a-f]+)?\\) = 0$\/ {next}\n+NR == 1 && \/^rt_sigaction\\(SIGUSR2, {SIG_IGN, \\[HUP INT\\], SA_RESTART}, {SIG_DFL, \\[\\], 0}, 0x[0-9a-f]+, (4|8|16)\\) = 0$\/ {next}\n \n # Test 2.\n NR == 2 && \/^rt_sigaction\\(SIGUSR2, {0x[0-9a-f]+, \\[QUIT TERM\\], SA_RESTORER\\|SA_SIGINFO, 0x[0-9a-f]+}, {SIG_IGN, \\[HUP INT\\], SA_RESTORER\\|SA_RESTART, 0x[0-9a-f]+}, (0x[0-9a-f]+, )?(4|8|16)\\) = 0$\/ {next}\n NR == 2 && \/^rt_sigaction\\(SIGUSR2, {0x[0-9a-f]+, \\[QUIT TERM\\], SA_SIGINFO}, {SIG_IGN, \\[HUP INT\\], SA_RESTART}, (4|8|16)(, 0x[0-9a-f]+)?\\) = 0$\/ {next}\n+NR == 2 && \/^rt_sigaction\\(SIGUSR2, {0x[0-9a-f]+, \\[QUIT TERM\\], SA_SIGINFO}, {SIG_IGN, \\[HUP INT\\], SA_RESTART}, 0x[0-9a-f]+, (4|8|16)\\) = 0$\/ {next}\n \n # Test 3.\n NR == 3 && \/^rt_sigaction\\(SIGUSR2, {SIG_DFL, \\[\\], SA_RESTORER, 0x[0-9a-f]+}, {0x[0-9a-f]+, \\[QUIT TERM\\], SA_RESTORER\\|SA_SIGINFO, 0x[0-9a-f]+}, (0x[0-9a-f]+, )?(4|8|16)\\) = 0$\/ {next}\n NR == 3 && \/^rt_sigaction\\(SIGUSR2, {SIG_DFL, \\[\\], 0}, {0x[0-9a-f]+, \\[QUIT TERM\\], SA_SIGINFO}, (4|8|16)(, 0x[0-9a-f]+)?\\) = 0$\/ {next}\n+NR == 3 && \/^rt_sigaction\\(SIGUSR2, {SIG_DFL, \\[\\], 0}, {0x[0-9a-f]+, \\[QUIT TERM\\], SA_SIGINFO}, 0x[0-9a-f]+, (4|8|16)\\) = 0$\/ {next}\n \n # Test 4.\n NR == 4 && \/^rt_sigaction\\(SIGUSR2, {SIG_DFL, ~\\[HUP( ((RT|SIGRT)[^] ]+|[3-9][0-9]|1[0-9][0-9]))*\\], SA_RESTORER, 0x[0-9a-f]+}, {SIG_DFL, \\[\\], SA_RESTORER, 0x[0-9a-f]+}, (0x[0-9a-f]+, )?(4|8|16)\\) = 0$\/ {next}\n NR == 4 && \/^rt_sigaction\\(SIGUSR2, {SIG_DFL, ~\\[HUP( ((RT|SIGRT)[^] ]+|[3-9][0-9]|1[0-9][0-9]))*\\], 0}, {SIG_DFL, \\[\\], 0}, (4|8|16)(, 0x[0-9a-f]+)?\\) = 0$\/ {next}\n+NR == 4 && \/^rt_sigaction\\(SIGUSR2, {SIG_DFL, ~\\[HUP( ((RT|SIGRT)[^] ]+|[3-9][0-9]|1[0-9][0-9]))*\\], 0}, {SIG_DFL, \\[\\], 0}, 0x[0-9a-f]+, (4|8|16)\\) = 0$\/ {next}\n \n # The last line.\n NR == lines && \/^\\+\\+\\+ exited with 0 \\+\\+\\+$\/ {next}\n"}
{"commit":"fd5811ff35ac12c28543019aeccc592a995ddfe0","subject":"Do not turn keypad delete key into the other delete key when creating the USB layouts; reported by opera@witworx.com, thanks!","message":"Do not turn keypad delete key into the other delete key when creating the\nUSB layouts; reported by opera@witworx.com, thanks!\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/makemap.awk\n+++ dev\/usb\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.11 2010\/07\/31 16:12:37 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.12 2012\/04\/03 18:18:41 miod Exp $\n #\n # Copyright (c) 2005, Miodrag Vallat\n #\n@@ -31,7 +31,7 @@\n #\n \n BEGIN {\n-\trcsid = \"$OpenBSD: makemap.awk,v 1.11 2010\/07\/31 16:12:37 miod Exp $\"\n+\trcsid = \"$OpenBSD: makemap.awk,v 1.12 2012\/04\/03 18:18:41 miod Exp $\"\n \tifdepth = 0\n \tignore = 0\n \tdeclk = 0\n@@ -153,7 +153,7 @@\n \tconv[208] = 81\n \tconv[209] = 78\n \tconv[210] = 73\n-\tconv[211] = 99\n+\tconv[211] = 76\n \tconv[219] = 227\n \tconv[220] = 231\n \tconv[221] = 101\n"}
{"commit":"f4bbf506d3f67ab7034a3385cb43c3a39598f276","subject":"[WASM] Remove old awk script for deobfuscation since binaryen already generates necessary debug info.","message":"[WASM] Remove old awk script for deobfuscation since binaryen already generates necessary debug info.\n\nPiperOrigin-RevId: 378259441\n","repos":"google\/j2cl,google\/j2cl,google\/j2cl,google\/j2cl,google\/j2cl","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- transpiler\/javatests\/com\/google\/j2cl\/integration\/deobfuscate_wasm_log.awk\n+++ transpiler\/javatests\/com\/google\/j2cl\/integration\/deobfuscate_wasm_log.awk\n@@ -1,19 +0,0 @@\n-# Usage:\n-# awk -f deobfuscate_wasm_log.awk <wat_file|symbol_map_file> <log_file>\n-\n-# Process the log file which is the 2nd argument.\n-FILENAME == ARGV[2] {\n-  match($0, \/<anonymous>:wasm-function\\[([0-9]+)\\]\/, groups)\n-  print $0, functions[groups[1]]\n-}\n-\n-# Collects function declarations from a wat file\n-\/^\\(func\/ {\n-  functions[last_function++] =  $2\n-}\n-\n-# Collects function declarations from a wasm-as symbol map\n-\/^[0-9]+:\/ {\n-  match($0,\/([0-9]+):(.*)\/, m)\n-  functions[m[1]] =  m[2]\n-}\n"}
{"commit":"13769a6dab87e2ad24cf33aa6d9feb1882daeffb","subject":"- correction","message":"- correction\n","repos":"0x7678\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -1210,8 +1210,7 @@\n     for (i = 1; i in modules; i++)\n \tprint modules[i] > \"modvers.list\"\n     close(\"modvers.list\")\n-    #command = \"cat modvers.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n-    command = \"cat modvers.list | while read f ; do case $f in (*.ko) echo $f ;; (*.ko.gz) gzip -dc $f >\/var\/tmp\/`basename $f .gz` ; echo \/var\/tmp\/`basename $f .gz` ;; esac ; done | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+    command = \"cat modvers.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n     read_modobject(command, \".\", values[\"pkgdirectory\"], src)\n     system(\"rm -f modvers.list\")\n     system(\"rm -f \/var\/tmp\/*.ko\")\n"}
{"commit":"6a632af969a36f707c6e26a3f05e89c66d49b97d","subject":"const'ify ps_txt move ps.txt and generated ps.h into core plugin, and initially copy to lasi plugin","message":"const'ify ps_txt\nmove ps.txt and generated ps.h into core plugin, and initially copy to lasi plugin\n","repos":"ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- awk\/stringize.awk\n+++ awk\/stringize.awk\n@@ -12,7 +12,7 @@\n # *              AT&T Research, Florham Park NJ             *\n # **********************************************************\/\n \n-BEGIN\t{ s = ARGV[1]; gsub (\".*\/\", \"\", s); gsub(\"\\\\.\",\"_\",s); printf(\"char *%s[] = {\\n\",s); }\n+BEGIN\t{ s = ARGV[1]; gsub (\".*\/\", \"\", s); gsub(\"\\\\.\",\"_\",s); printf(\"const char *%s[] = {\\n\",s); }\n \/^#\/\t{ print $0; next; }\n \t\t{ gsub(\"\\\\\\\\\",\"\\\\\\\\\",$0); printf(\"\\\"%s\\\",\\n\",$0); }\n END\t\t{ printf(\"(char*)0 };\\n\"); }\n"}
{"commit":"9927d4691add0361277acdda8da8583fedcfaaff","subject":"use default color in interactive shell","message":"use default color in interactive shell\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -44,7 +44,7 @@\n     Option[\"no-rlwrap\"] = 0\n     Option[\"emacs\"] = 0\n     Option[\"prompt\"] = ENVIRON[\"TRANS_PS\"] ? ENVIRON[\"TRANS_PS\"] : \"%s>\"\n-    Option[\"prompt-color\"] = ENVIRON[\"TRANS_PS_COLOR\"] ? ENVIRON[\"TRANS_PS_COLOR\"] : \"blue\"\n+    Option[\"prompt-color\"] = ENVIRON[\"TRANS_PS_COLOR\"] ? ENVIRON[\"TRANS_PS_COLOR\"] : \"default\"\n \n     Option[\"input\"] = \"\"\n     Option[\"output\"] = \"\/dev\/stdout\"\n"}
{"commit":"24187a26652b3d7b0d6d251a0e370fb16dfeb4e8","subject":"rlwrap done correctly","message":"rlwrap done correctly\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -75,10 +75,10 @@\n         # -H, -h, -help\n         match(ARGV[pos], \/^--?(h(e(lp?)?)?|H)$\/)\n         if (RSTART) {\n-            if (ENVIRON[\"MANPAGE\"])\n-                system(\"echo -E \\\"$MANPAGE\\\" | \" \\\n+            if (ENVIRON[\"TRANS_MANPAGE\"])\n+                system(\"echo -E \\\"${TRANS_MANPAGE}\\\" | \" \\\n                        \"groff -Wall -mtty-char -mandoc -Tutf8 -Dutf8 -rLL=${COLUMNS}n -rLT=${COLUMNS}n | \" \\\n-                       \"less -P\\\"\\\\ \\\\Manual page ${COMMAND}(1) line %lt (press h for help or q to quit)\\\"\")\n+                       \"less -P\\\"\\\\ \\\\Manual page ${TRANS_COMMAND}(1) line %lt (press h for help or q to quit)\\\"\")\n             else\n                 print getHelp()\n             exit\n@@ -253,12 +253,10 @@\n \n         # Try to call Rlwrap\n         if (Rlwrap) {\n-            # Get current script name if possible\n-            getline temp < \"\/proc\/self\/cmdline\"\n-            split(temp, group, \"\\0\")\n-\n-            # Be careful - never fork Rlwrap again in the next system call!\n-            command = Rlwrap \" \" Gawk \" -f \" (group[3] ? group[3] : Program) \" -- -no-rlwrap\"\n+            command = Rlwrap \" \" (ENVIRON[\"TRANS_SCRIPT\"] ?\n+                                  ENVIRON[\"TRANS_SCRIPT\"] :\n+                                  Gawk \" -f \" Program \" --\") \\\n+                \" -no-rlwrap\" # be careful - never fork Rlwrap recursively!\n             for (i = 1; i < length(ARGV); i++)\n                 if (ARGV[i])\n                     command = command \" \" parameterize(ARGV[i])\n"}
{"commit":"89ea4ea23c0faa35705c7dbbee3f7c39396a9b2c","subject":"now 20% +POSIX","message":"now 20% +POSIX\n","repos":"Hamcha\/dvx","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- prettyplz.awk\n+++ prettyplz.awk\n@@ -1,7 +1,7 @@\n #!\/usr\/bin\/awk -f\n # Prettifies a Haskell list\n \n-func print_indent(ind,    i) {\n+function print_indent(ind,    i) {\n \tfor (i = 0; i < ind; ++i)\n \t\tprintf \"\\t\"\n }\n"}
{"commit":"b3d0c2f035354694b1241b40b07c8cf75005c272","subject":"Utils: get rev padding right this time, hopefully (see also 6e630d9)","message":"Utils: get rev padding right this time, hopefully (see also 6e630d9)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -31,7 +31,7 @@\n     FriBidi = detectProgram(\"fribidi\", \"--version\", 1)\n     BiDiNoPad = FriBidi ? \"fribidi --nopad\" : \"rev\" SUPERR\n     BiDi = FriBidi ? \"fribidi --width %s\" :\n-        \"rev\" SUPERR \"| sed \\\"s\/'\/\\\\\\\\\\\\'\/\\\" | xargs printf '%%s '\"\n+        \"rev\" SUPERR \"| sed \\\"s\/'\/\\\\\\\\\\\\'\/\\\" | xargs -0 printf '%%%ss'\"\n }\n \n # Detect external readline wrapper (rlwrap).\n"}
{"commit":"84cff4f5e22a4897d32f9ac75bd5c1a6d94f7b4d","subject":"Revert \"Update min\/maxx to be inclusive\"","message":"Revert \"Update min\/maxx to be inclusive\"\n\nThis reverts commit 5485acdc307383322387471b0de5ce93d2bf896e.\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -140,7 +140,7 @@\n         msg         = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" is a duplicate and should be unique\"\n \n     } else if (rule_type ~ \/^minimum|maximum$\/) {\n-        comparator  = $2 == \"maximum\" ? \">=\" : \"<=\"\n+        comparator  = $2 == \"maximum\" ? \">\" : \"<\"\n         limit       = params[2]\n         term        = $2 == \"maximum\" ? \"less\" : \"greater\"\n \n"}
{"commit":"bface3c088e32e8f16166f7e39b96a3604cd84f9","subject":"Add remaining six fields","message":"Add remaining six fields\n\nThis will need optimizing after explorig the data\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -2,8 +2,9 @@\n \n BEGIN {\n     # Print header\n-    printf (\"contentType\\tcontentId\\tpubDate\\ttitle\\tEntityId\\t\")\n-    printf (\"genre\\trating\\tshowType\\tDuration\\tdescription\\n\")\n+    printf (\"contentType\\tcontentId\\tpubDate\\ttitle\\tEntityId\\tgenre\\trating\\t\")\n+    printf (\"showType\\tduration\\tdateType\\toriginalDate\\tshowContentId\\tseasonContentId\\t\")\n+    printf (\"seasonNumber\\tepisodeNumber\\tdescription\\n\")\n }\n \n # Don't process credits\n@@ -38,6 +39,12 @@\n     rating = \"\"\n     showType = \"\"\n     duration = \"\"\n+    dateType = \"\"\n+    originalDate = \"\"\n+    showContentId = \"\"\n+    seasonContentId = \"\"\n+    seasonNumber = \"\"\n+    episodeNumber = \"\"\n     description = \"\"\n }\n \n@@ -99,6 +106,48 @@\n     # print \"duration = \" duration\n }\n \n+# Grab originalDate\n+# <originalAirDate>1978-03-25<\/originalAirDate>\n+\/<original.*Date>\/ {\n+    split ($0,fld,\"[<>]\")\n+    dateType = fld[2]\n+    originalDate = fld[3]\n+    # print \"dateType = \" dateType\n+    # print \"originalDate = \" originalDate\n+}\n+\n+# Grab showContentId\n+# <showContentId>b008yjd9<\/showContentId>\n+\/<showContentId>\/ {\n+    split ($0,fld,\"[<>]\")\n+    showContentId = fld[3]\n+    # print \"showContentId = \" showContentId\n+}\n+\n+# Grab seasonContentId\n+# <seasonContentId>p0318ps9<\/seasonContentId>\n+\/<seasonContentId>\/ {\n+    split ($0,fld,\"[<>]\")\n+    seasonContentId = fld[3]\n+    # print \"seasonContentId = \" seasonContentId\n+}\n+\n+# Grab seasonNumber\n+# <seasonNumber>1<\/seasonNumber>\n+\/<seasonNumber>\/ {\n+    split ($0,fld,\"[<>]\")\n+    seasonNumber = fld[3]\n+    # print \"seasonNumber = \" seasonNumber\n+}\n+\n+# Grab episodeNumber\n+# <episodeNumber>10<\/episodeNumber>\n+\/<episodeNumber>\/ {\n+    split ($0,fld,\"[<>]\")\n+    episodeNumber = fld[3]\n+    # print \"episodeNumber = \" episodeNumber\n+}\n+\n # Grab EntityId from artwork\n # <artwork url=\"https:\/\/us.britbox.com\/isl\/api\/v1\/dataservice\/ResizeImage\/$value?Format=&apos;jpg&apos;&amp;Quality=45&amp;ImageId=&apos;176236&apos;&amp;EntityType=&apos;Item&apos;&amp;EntityId=&apos;16103&apos;&amp;Width=1920&amp;Height=1080&amp;ResizeAction=&apos;fit&apos;\" type=\"tile_artwork\" \/>\n \/<artwork url=.*EntityId=&apos;\/ {\n@@ -119,8 +168,9 @@\n         EntityId = \"_23842\"\n         # print \"EntityId = \" EntityId\n     }\n-    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", contentType, contentId, pubDate, title, EntityId, \\\n-            genre, rating, showType, duration, description)\n+    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", contentType, contentId, \\\n+            pubDate, title, EntityId, genre, rating, showType, duration, dateType, originalDate, \\\n+            showContentId, seasonContentId, seasonNumber, episodeNumber, description)\n }\n \n # <artwork url=\"https:\/\/us.britbox.com\/isl\/api\/v1\/dataservice\/ResizeImage\/$value?Format=&apos;jpg&apos;&amp;Quality=45&amp;ImageId=&apos;176236&apos;&amp;EntityType=&apos;Item&apos;&amp;EntityId=&apos;16103&apos;&amp;Width=1920&amp;Height=1080&amp;ResizeAction=&apos;fit&apos;\" type=\"tile_artwork\" \/>\n"}
{"commit":"c8107fe479c7a0540730853f652bb2a9aab89f8a","subject":"Help: fix showMan() (regression by 49c9b0)","message":"Help: fix showMan() (regression by 49c9b0)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -207,8 +207,8 @@\n             return\n         }\n     }\n-    if (fileExists(\"man\/\" Command \".1\"))\n-        system(\"man man\/\" Command \".1\" SUPERR)\n+    if (fileExists(ENVIRON[\"TRANS_DIR\"] \"\/man\/\" Command \".1\"))\n+        system(\"man \" parameterize(ENVIRON[\"TRANS_DIR\"] \"\/man\/\" Command \".1\") SUPERR)\n     else if (system(\"man \" Command SUPERR))\n         print getHelp()\n }\n"}
{"commit":"7dbbd48d45ece4c4f3d0c4996d83c6c2c6ddad04","subject":"Main: exit ExitCode for all information sessions","message":"Main: exit ExitCode for all information sessions\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -566,27 +566,27 @@\n     switch (InfoOnly) {\n     case \"version\":\n         print getVersion()\n-        exit\n+        exit ExitCode\n     case \"help\":\n         print getHelp()\n-        exit\n+        exit ExitCode\n     case \"manual\":\n         showMan()\n-        exit\n+        exit ExitCode\n     case \"reference\":\n         print getReference(\"endonym\")\n-        exit\n+        exit ExitCode\n     case \"reference-english\":\n         print getReference(\"name\")\n-        exit\n+        exit ExitCode\n     case \"list\":\n         print getList(Option[\"tl\"])\n-        exit\n+        exit ExitCode\n     case \"upgrade\":\n         upgrade()\n-        exit\n+        exit ExitCode\n     case \"nothing\":\n-        exit\n+        exit ExitCode\n     }\n \n     if (Option[\"interactive\"])\n"}
{"commit":"122ab1bce6e5b6299d3f5f89bdd7a8e535246e18","subject":"use portable whitespace regexp in proof timer annot","message":"use portable whitespace regexp in proof timer annot\n","repos":"DistributedComponents\/verdi-chord,uwplse\/verdi-raft,DistributedComponents\/verdi-chord,DistributedComponents\/verdi-chord,palmskog\/verdi,uwplse\/verdi,DistributedComponents\/verdi-aggregation,uwplse\/verdi-raft,uwplse\/verdi,DistributedComponents\/verdi-aggregation,uwplse\/verdi-raft,uwplse\/verdi-raft,DistributedComponents\/verdi-chord,palmskog\/verdi,DistributedComponents\/verdi-aggregation,uwplse\/verdi-raft,DistributedComponents\/verdi-aggregation,palmskog\/verdi,DistributedComponents\/verdi-chord","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- proofalytics\/proof-time-annot.awk\n+++ proofalytics\/proof-time-annot.awk\n@@ -1,10 +1,10 @@\n-\/Lemma|Theorem|Corollary|Remark|Definition\/ {\n+\/^[[:space:]]*(Lemma|Theorem|Corollary|Remark|Definition)\/ {\n   fn = FILENAME\n   sub(\/^..\/, \"\", fn)\n   tok = fn \"__PROOFALYTICS__\" $2 \"__PROOFALYTICS__\" FNR\n }\n \n-\/Qed\\.|Defined\\.\/ {\n+\/^[[:space:]]*(Qed|Defined)\\.\/ {\n   printf(\"Eval compute in ltac:(idtac \\\"%s\\\").\\n\", tok)\n }\n \n@@ -12,10 +12,10 @@\n   print $0\n }\n \n-\/^Proof\\.|\\sProof\\.\/ {\n+\/^[[:space:]]*Proof\\.\/ {\n   printf(\"Eval compute in ltac:(idtac \\\"%s\\\").\\n\", tok)\n }\n \n-\/Qed\\.|Defined\\.\/ {\n+\/^[[:space:]]*(Qed|Defined)\\.\/ {\n   printf(\"Eval compute in ltac:(idtac \\\"%s\\\").\\n\", tok)\n }\n"}
{"commit":"45faf96ce3fbceafeafd2f2ba41f86c49c3aad89","subject":"Fixed issue where fzn - Numberjack file did not have the objective variable added to output_vars.","message":"Fixed issue where fzn - Numberjack file did not have the objective variable added to output_vars.\n","repos":"eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -251,7 +251,7 @@\n \tn = asorti(output,varnames);\n \tfor (i=1; i<=n; i++) {\n \t\te = varnames[i];\n-\t\tif (output[e]!=1) {\n+\t\tif (output[e]!=1 || e == \"objective\") {\n \t\t\tif(e != objective) {\n \t\t\t\tif(length(output_vars) > 0) output_vars = output_vars \", \";\n \t\t\t\toutput_vars = output_vars e;\n"}
{"commit":"c19b57c31947e6c2b5258729d1e13074703778f9","subject":"ksymtab entries are extern for 3.14.28 kernels","message":"ksymtab entries are extern for 3.14.28 kernels\n","repos":"openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -822,6 +822,19 @@\n \t\t\t}\n \t\t    }\n \t\t    continue\n+\t\t}\n+\t\tif (substr(flags,1,1) == \"g\") {\n+\t\t    if (substr(flags,7,1) == \"O\") {\n+\t\t\tif (sub(\/^_?_?__ksymtab\/,\"\",sec)) {\n+\t\t\t    sub(\/\\+.*\/,\"\",sec)\n+\t\t\t    if (sub(\/^_?__ksymtab_\/,\"\",sym)) {\n+\t\t\t\tprint_debug(3,pfx \"symbol: \" sym)\n+\t\t\t\tset_symbol(sym, mod, \"\", \"EXPORT_SYMBOL\" toupper(sec), \"\", 0, own, \"\", 0, \"ko object\")\n+\t\t\t\tcount_syms++\n+\t\t\t    }\n+\t\t\t    continue\n+\t\t\t}\n+\t\t    }\n \t\t}\n \t\tif (sec == \"*ABS*\") {\n \t\t    if (substr(flags,1,1) == \"g\") {\n"}
{"commit":"f41c7c4896b266381900c98e5e41683350dac218","subject":"- updated modpost script for compressed kernel modules","message":"- updated modpost script for compressed kernel modules\n","repos":"kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -901,6 +901,7 @@\n \t\t}\n \t\tprint_debug(1,pfx \"module = \" $0)\n \t\tsub(\/(\\.mod)?\\.(k)?o(\\.gz)?$\/, \"\")\n+\t\tsub(\"^\" me \".\" PROCINFO[\"pid\"] \".modules\/\", \"\")\n \t\tif (own == values[\"pkgdirectory\"]) {\n \t\t    sub(\/.*\\\/\/, \"\")\n \t\t    $0 = values[\"pkgdirectory\"] \"\/\" $0\n@@ -1140,15 +1141,68 @@\n     close(command)\n     print_vinfo(1,\"r: dumpfiles, syms \" count_syms \", unds \" count_unds)\n }\n-function read_moduledir(directory, src,\t    dir,command)\n+function read_moduledir(directory, src,\t    dir,command,find,file,tmpdir,dirs,written)\n {\n     print_vinfo(1,\"r: moduledir, directory = \\\"\" directory \"\\\"\")\n+    tmpdir = me \".\" PROCINFO[\"pid\"] \".modules\"\n+    system_command(\"mkdir -p -- \" tmpdir)\n     dir = \"kernel\"\n-    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n-    read_modobject(command, dir, \"kernel\", src)\n+    find = \"find \" directory \"\/\" dir \" -type f \\\\( -name '*.ko' -o -name '*.ko.gz' \\\\) 2>\/dev\/null\"\n+    if (system(\"test -d \" directory \"\/\" dir) == 0) {\n+\tsystem_command(\"rm -f -- \" tmpdir \"\/modules.list 2>\/dev\/null\")\n+\twritten = 0\n+\twhile ((find | getline file) == 1) {\n+\t    if (file~\/\\.ko\\.gz$\/) {\n+\t\tdir = tmpdir \"\/\" file\n+\t\tsub(\/\\\/[^\\\/]*$\/, \"\", dir)\n+\t\tif (!(dir in dirs)) {\n+\t\t    system_command(\"mkdir -p -- \" dir)\n+\t\t    dirs[dir] = 1\n+\t\t}\n+\t\tsub(\/\\.ko\\.gz$\/, \".ko\", file)\n+\t\tsystem_command(\"gzip -dc \" file \".gz >\" tmpdir \"\/\" file)\n+\t\tprint tmpdir \"\/\" file >> tmpdir \"\/modules.list\"\n+\t    } else {\n+\t\tprint file >> tmpdir \"\/modules.list\"\n+\t    }\n+\t    written = 1\n+\t}\n+\tclose(find)\n+\tif (written) {\n+\t    close(tmpdir \"\/modules.list\")\n+\t    command = \"cat \" tmpdir \"\/modules.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+\t    read_modobject(command, dir, \"kernel\", src)\n+\t}\n+    }\n     dir = values[\"pkgdirectory\"]\n-    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n-    read_modobject(command, dir, values[\"pkgdirectory\"], \"pkgdirectory\")\n+    find = \"find \" directory \"\/\" dir \" -type f \\\\( -name '*.ko' -o -name '*.ko.gz' \\\\) 2>\/dev\/null\"\n+    if (system(\"test -d \" directory \"\/\" dir) == 0) {\n+\tsystem_command(\"rm -f -- \" tmpdir \"\/modules.list 2>\/dev\/null\")\n+\twritten = 0\n+\twhile ((find | getline file) == 1) {\n+\t    if (file~\/\\.ko\\.gz$\/) {\n+\t\tdir = tmpdir \"\/\" file\n+\t\tsub(\/\\\/[^\\\/]*$\/, \"\", dir)\n+\t\tif (!(dir in dirs)) {\n+\t\t    system_command(\"mkdir -p -- \" dir)\n+\t\t    dirs[dir] = 1\n+\t\t}\n+\t\tsub(\/\\.ko\\.gz$\/, \".ko\", file)\n+\t\tsystem_command(\"gzip -dc \" file \".gz >\" tmpdir \"\/\" file)\n+\t\tprint tmpdir \"\/\" file >> tmpdir \"\/modules.list\"\n+\t    } else {\n+\t\tprint file >> tmpdir \"\/modules.list\"\n+\t    }\n+\t    written = 1\n+\t}\n+\tclose(find)\n+\tif (written) {\n+\t    close(\"modules.list\")\n+\t    command = \"cat modules.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+\t    read_modobject(command, dir, values[\"pkgdirectory\"], \"pkgdirectory\")\n+\t}\n+    }\n+    system_command(\"rm -rf -- \" tmpdir)\n }\n function read_mymodules(modules, src,    i,pair,ind,base,name,sym,fmt) {\n     fmt = \"r: mymodules, %-20s: %14s; %-30s\"\n@@ -1156,9 +1210,11 @@\n     for (i = 1; i in modules; i++)\n \tprint modules[i] > \"modvers.list\"\n     close(\"modvers.list\")\n-    command = \"cat modvers.list | xargs objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+    #command = \"cat modvers.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+    command = \"cat modvers.list | while read f ; do case $f in (*.ko) echo $f ;; (*.ko.gz) gzip -dc $f >\/var\/tmp\/`basename $f .gz` ; echo \/var\/tmp\/`basename $f .gz` ;; esac ; done | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n     read_modobject(command, \".\", values[\"pkgdirectory\"], src)\n     system(\"rm -f modvers.list\")\n+    system(\"rm -f \/var\/tmp\/*.ko\")\n     # double check\n     for (pair in mod_unds) {\n \tsplit(pair, ind, SUBSEP); name = ind[1]; sym = ind[2]; base = name; gsub(\/^.*\\\/\/, \"\", base)\n"}
{"commit":"a3b9c3743ee2e623028cd7daf77f6da60e6a6b4b","subject":"[ru] remove deprecated scripts","message":"[ru] remove deprecated scripts","repos":"languagetool-org\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool","returncode":0,"stderr":"unknown","license":"lgpl-2.1","lang":"Awk","diff":""}
{"commit":"2507da50876028418beec2dd3257ccd1b0a1eff1","subject":"add duration, but it does not activate yet","message":"add duration, but it does not activate yet","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/slidy.awk\n+++ tools\/slidy.awk\n@@ -5,7 +5,7 @@\n {\n     sub(\/<title>Haskell: Functional Programming, Solid Code, Big Data<\\\/title>\/, \"<title>Intro \\\\&ldquo;Functional Programming\\\\&rdquo;<\/title>\")\n     sub(\/<meta name=\"date\" content=\"2011-09-18\" \\\/>\/, \"<meta name='date' content='2011-10-19' \/>\")\n-    sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name='author' content='Gabor Greif' \/>\")\n+    sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name='author' content='Gabor Greif' \/>\\n  <meta name='duration' content='45' \/>\")\n }\n \n \/^<body>\/ {\n"}
{"commit":"d998688ffb37e039566761c1c9b805166137c22d","subject":"Add date.","message":"Add date.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -3,6 +3,8 @@\n \n BEGIN {\n   #After July 1 of this year, start reporting on this year. Before that, ignore this year.\n+  str = \"date +%m-%d-%Y\";\n+  str | getline date;\n   str = \"date +%Y\";\n   str | getline current_year;\n   #close str;\n@@ -16,6 +18,7 @@\n   FS=\"\\t\"\n   pn = 0\n }\n+$3>date\n \n {\n   # add a loop to add line only if either status is (wanted or testing) or ending year is gt or eq to contract year\n@@ -148,7 +151,8 @@\n     }\n \n   printf \"\\n\"\n-  #printf \"%s\", date\n-  #printf \"\\n\"\n+  printf \"%s\", date\n+  printf \"\\n\"\n+\n }\n \n"}
{"commit":"f1f5ec90557b6e2d740e16a43957f933b39a2985","subject":"droid","message":"droid\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"d3e0836146addb62ba7b1b18e7bc17766460d5c3","subject":"Commons: handle Unicode '=' correctly, fix #420","message":"Commons: handle Unicode '=' correctly, fix #420\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -198,6 +198,8 @@\n         return \"&\" # Unicode Character 'AMPERSAND'\n     case \"u003c\":\n         return \"<\" # Unicode Character 'LESS-THAN SIGN'\n+    case \"u003d\":\n+        return \"=\" # Unicode Character 'EQUALS SIGN'\n     case \"u003e\":\n         return \">\" # Unicode Character 'GREATER-THAN SIGN'\n     case \"u200b\":\n"}
{"commit":"402974297ee7ce3dd8c802d1f92061dad714a12a","subject":"LanguageHelper: getDescription()","message":"LanguageHelper: getDescription()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageHelper.awk\n+++ include\/LanguageHelper.awk\n@@ -199,6 +199,11 @@\n     return r\n }\n \n+# Return the extra description of a language.\n+function getDescription(code) {\n+    return Locale[getCode(code)][\"description\"]\n+}\n+\n # Return 1 if a language is supported by Google; otherwise return 0.\n function isSupportedByGoogle(code,    engines, i, str) {\n     str = Locale[getCode(code)][\"supported-by\"]\n@@ -245,12 +250,17 @@\n \n     if (getBranch(code)) {\n         article = match(tolower(getBranch(code)), \/^[aeiou]\/) ? \"an\" : \"a\"\n-        desc = sprintf(\"%s is %s %s language spoken mainly in %s.\",\n-                       names, article, getBranch(code), getSpokenIn(code))\n-    } else if (getFamily(code) == NULLSTR || tolower(getFamily(code)) == \"language isolate\") {\n-        desc = sprintf(\"%s is a language spoken mainly in %s.\",\n-                       names, getSpokenIn(code))\n-    } else\n+        if (iso == \"eng\")\n+            desc = sprintf(\"%s is %s %s language spoken %s.\",\n+                           names, article, getBranch(code), getSpokenIn(code))\n+        else\n+            desc = sprintf(\"%s is %s %s language spoken mainly in %s.\",\n+                           names, article, getBranch(code), getSpokenIn(code))\n+    } else if (getFamily(code) == NULLSTR || tolower(getFamily(code)) == \"language isolate\")\n+        desc = sprintf(\"%s is a language spoken mainly in %s.\", names, getSpokenIn(code))\n+    else if (tolower(getFamily(code)) == \"constructed language\")\n+        desc = sprintf(\"%s is %s.\", names, getDescription(code))\n+    else\n         desc = sprintf(\"%s is a language of the %s family, spoken mainly in %s.\",\n                        names, getFamily(code), getSpokenIn(code))\n     if (writing && getWrittenIn(code))\n"}
{"commit":"065e80446e9315d736871728da26f0d01b82230a","subject":"Theme: 3 predefined themes (default, none, random)","message":"Theme: 3 predefined themes (default, none, random)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Theme.awk\n+++ include\/Theme.awk\n@@ -13,6 +13,89 @@\n     return temp\n }\n \n+function randomColor(    i) {\n+    i = int(5 * rand())\n+    switch (i) {\n+    case 0: return \"green\"\n+    case 1: return \"yellow\"\n+    case 2: return \"blue\"\n+    case 3: return \"magenta\"\n+    case 4: return \"cyan\"\n+    default: return \"default\"\n+    }\n+}\n+\n+function setRandomTheme(    i, n, temp) {\n+    srand(systime())\n+    for (i = 0; i < 3; i++) {\n+        do temp = randomColor(); while (belongsTo(temp, n))\n+        n[i] = temp\n+    }\n+\n+    Option[\"sgr-prompt-message\"] = Option[\"sgr-languages\"] = n[0]\n+    Option[\"sgr-original-dictionary-detailed-word-class\"][1] = n[0]\n+    Option[\"sgr-original-dictionary-detailed-word-class\"][2] = \"bold\"\n+    Option[\"sgr-original-dictionary-synonyms\"] = n[0]\n+    Option[\"sgr-original-dictionary-synonyms-word-class\"][1] = n[0]\n+    Option[\"sgr-original-dictionary-synonyms-word-class\"][2] = \"bold\"\n+    Option[\"sgr-original-dictionary-examples\"] = n[0]\n+    Option[\"sgr-original-dictionary-see-also\"] = n[0]\n+    Option[\"sgr-dictionary-word-class\"][1] = n[0]\n+    Option[\"sgr-dictionary-word-class\"][2] = \"bold\"\n+\n+    Option[\"sgr-original\"][1] = Option[\"sgr-original-phonetics\"][1] = n[1]\n+    Option[\"sgr-original\"][2] = Option[\"sgr-original-phonetics\"][2] = \"bold\"\n+    Option[\"sgr-prompt-message-original\"][1] = n[1]\n+    Option[\"sgr-prompt-message-original\"][2] = \"bold\"\n+    Option[\"sgr-languages-sl\"] = n[1]\n+    Option[\"sgr-original-dictionary-detailed-explanation\"][1] = n[1]\n+    Option[\"sgr-original-dictionary-detailed-explanation\"][2] = \"bold\"\n+    Option[\"sgr-original-dictionary-detailed-example\"] = n[1]\n+    Option[\"sgr-original-dictionary-detailed-synonyms\"] = n[1]\n+    Option[\"sgr-original-dictionary-detailed-synonyms-item\"][1] = n[1]\n+    Option[\"sgr-original-dictionary-detailed-synonyms-item\"][2] = \"bold\"\n+    Option[\"sgr-original-dictionary-synonyms-synonyms\"] = n[1]\n+    Option[\"sgr-original-dictionary-synonyms-synonyms-item\"][1] = n[1]\n+    Option[\"sgr-original-dictionary-synonyms-synonyms-item\"][2] = \"bold\"\n+    Option[\"sgr-original-dictionary-examples-example\"] = n[1]\n+    Option[\"sgr-original-dictionary-examples-original\"][1] = n[1]\n+    Option[\"sgr-original-dictionary-examples-original\"][2] = \"bold\"\n+    Option[\"sgr-original-dictionary-examples-original\"][3] = \"underline\"\n+    Option[\"sgr-original-dictionary-see-also-phrases\"] = n[1]\n+    Option[\"sgr-original-dictionary-see-also-phrases-item\"][1] = n[1]\n+    Option[\"sgr-original-dictionary-see-also-phrases-item\"][2] = \"bold\"\n+    Option[\"sgr-dictionary-explanation\"] = n[1]\n+    Option[\"sgr-dictionary-explanation-item\"][1] = n[1]\n+    Option[\"sgr-dictionary-explanation-item\"][2] = \"bold\"\n+    Option[\"sgr-alternatives-original\"][1] = n[1]\n+    Option[\"sgr-alternatives-original\"][2] = \"bold\"\n+\n+    Option[\"sgr-translation\"][1] = Option[\"sgr-translation-phonetics\"][1] = n[2]\n+    Option[\"sgr-translation\"][2] = Option[\"sgr-translation-phonetics\"][2] = \"bold\"\n+    Option[\"sgr-languages-tl\"] = n[2]\n+    Option[\"sgr-dictionary-word\"][1] = n[2]\n+    Option[\"sgr-dictionary-word\"][2] = \"bold\"\n+    Option[\"sgr-alternatives-translations\"] = n[2]\n+    Option[\"sgr-alternatives-translations-item\"][1] = n[2]\n+    Option[\"sgr-alternatives-translations-item\"][2] = \"bold\"\n+}\n+\n+function setDefaultTheme() {\n+    Option[\"sgr-translation\"] = Option[\"sgr-translation-phonetics\"] = \"bold\"\n+    Option[\"sgr-prompt-message-original\"] = \"underline\"\n+    Option[\"sgr-languages-sl\"] = \"underline\"\n+    Option[\"sgr-languages-tl\"] = \"bold\"\n+    Option[\"sgr-original-dictionary-detailed-explanation\"] = \"bold\"\n+    Option[\"sgr-original-dictionary-detailed-synonyms-item\"] = \"bold\"\n+    Option[\"sgr-original-dictionary-synonyms-synonyms-item\"] = \"bold\"\n+    Option[\"sgr-original-dictionary-examples-original\"][1] = \"bold\"\n+    Option[\"sgr-original-dictionary-examples-original\"][2] = \"underline\"\n+    Option[\"sgr-original-dictionary-see-also-phrases-item\"] = \"bold\"\n+    Option[\"sgr-dictionary-word\"] = \"bold\"\n+    Option[\"sgr-alternatives-original\"] = \"underline\"\n+    Option[\"sgr-alternatives-translations-item\"] = \"bold\"\n+}\n+\n function setTheme(    file, line, script) {\n     if (Option[\"theme\"] && Option[\"theme\"] != \"default\") {\n         file = Option[\"theme\"]\n@@ -26,22 +109,10 @@\n         while (getline line < file)\n             script = script \"\\n\" line\n         loadOptions(script)\n-    } else {\n-        # Default theme\n-        Option[\"sgr-translation\"] = \"bold\"\n-        Option[\"sgr-translation-phonetics\"] = \"bold\"\n-        Option[\"sgr-prompt-message-original\"] = \"underline\"\n-        Option[\"sgr-languages-sl\"] = \"underline\"\n-        Option[\"sgr-languages-tl\"] = \"bold\"\n-        Option[\"fmt-languages\"] = \"[ %s -> %t ]\"\n-        Option[\"sgr-original-dictionary-detailed-explanation\"] = \"bold\"\n-        Option[\"sgr-original-dictionary-detailed-synonyms-item\"] = \"bold\"\n-        Option[\"sgr-original-dictionary-synonyms-synonyms-item\"] = \"bold\"\n-        Option[\"sgr-original-dictionary-examples-original\"][1] = \"bold\"\n-        Option[\"sgr-original-dictionary-examples-original\"][2] = \"underline\"\n-        Option[\"sgr-original-dictionary-see-also-phrases-item\"] = \"bold\"\n-        Option[\"sgr-dictionary-word\"] = \"bold\"\n-        Option[\"sgr-alternatives-original\"] = \"underline\"\n-        Option[\"sgr-alternatives-translations-item\"] = \"bold\"\n-    }\n+    } else if (Option[\"theme\"] == \"none\")\n+        ;# skip\n+    else if (Option[\"theme\"] == \"random\")\n+        setRandomTheme()\n+    else\n+        setDefaultTheme()\n }\n"}
{"commit":"feb107421f91c5001dc3c580aa3a4ea237865f99","subject":"Use a file name prefix for generated labels","message":"Use a file name prefix for generated labels\n\nThis ensures labels are unique within the wider context of the doxygen\ndocumentation.\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doxy\/githublabels.awk\n+++ doxy\/githublabels.awk\n@@ -5,11 +5,27 @@\n #\n \n #\n+# Get file name prefix for references.\n+#\n+filename != FILENAME {\n+\tfilename = FILENAME\n+\t# strip path\n+\t\"pwd\" | getline path\n+\tpath = path \"\/\"\n+\tprefix = substr(filename, 1, length(path)) == path \\\n+\t         ? substr(filename, length(path) + 1) \\\n+\t         : filename\n+\tsub(\/\\.[^.]*$\/, \"\", prefix)\n+\tgsub(\/[^_a-z0-9]+\/, \"-\", prefix)\n+\tprefix = \"md_\" prefix \"_\"\n+}\n+\n+#\n # Substitute github references with doxygen references.\n #\n \/\\(#[_a-z0-9-]*\\)\/ {\n \tgsub(\/\\(#[_a-z0-9-]*\\)\/, \"<__REF__&__REF__>\")\n-\tgsub(\/<__REF__\\(#\/, \"(@ref \")\n+\tgsub(\/<__REF__\\(#\/, \"(@ref \" prefix)\n \tgsub(\/\\)__REF__>\/, \")\")\n }\n \n@@ -20,7 +36,7 @@\n line && (\/^===*$\/ || \/^---*$\/) {\n \tid = tolower(line)\n \tgsub(\/[^_a-z0-9]+\/, \"-\", id)\n-\tline = line \" {#\" id \"}\"\n+\tline = line \" {#\" prefix id \"}\"\n }\n \n #\n"}
{"commit":"2523808771635c19e0f745accb74f399cde21cd1","subject":"make-barcodes.awk: Allow 0 TAG_LEN or INVARIANT values, remove semicolons.","message":"make-barcodes.awk: Allow 0 TAG_LEN or INVARIANT values, remove semicolons.\n","repos":"makrutenko\/dunovo,makrutenko\/dunovo,makrutenko\/dunovo","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- make-barcodes.awk\n+++ make-barcodes.awk\n@@ -25,34 +25,35 @@\n # beta is first, but then you have bigger problems).\n \n BEGIN {\n-  FS = \"\\t\"; OFS = \"\\t\";\n+  FS = \"\\t\"\n+  OFS = \"\\t\"\n   # The number of bases from the start of each read that form the two halves of the barcode.\n   # (this should be half the size of the full, canonical barcode).\n-  if (! TAG_LEN) {\n-    TAG_LEN = 12;\n+  if (TAG_LEN == \"\") {\n+    TAG_LEN = 12\n   }\n   # The number of bases in the read that are between the barcode and the start of the actual sample\n   # sequence (the restriction site in the Loeb 2014 protocol).\n-  if (! INVARIANT) {\n-    INVARIANT = 5;\n+  if (INVARIANT == \"\") {\n+    INVARIANT = 5\n   }\n }\n \n $3 && $4 {\n-  alpha = substr($3, 1, TAG_LEN);\n-  beta = substr($4, 1, TAG_LEN);\n+  alpha = substr($3, 1, TAG_LEN)\n+  beta = substr($4, 1, TAG_LEN)\n   if (alpha > beta) {\n-    barcode = alpha beta;\n-    order = \"ab\";\n+    barcode = alpha beta\n+    order = \"ab\"\n   } else {\n-    barcode = beta alpha;\n-    order = \"ba\";\n+    barcode = beta alpha\n+    order = \"ba\"\n   }\n-  name1 = $1;\n-  name2 = $2;\n-  seq1 = substr($3, TAG_LEN + INVARIANT + 1);\n-  seq2 = substr($4, TAG_LEN + INVARIANT + 1);\n-  qual1 = substr($7, TAG_LEN + INVARIANT + 1);\n-  qual2 = substr($8, TAG_LEN + INVARIANT + 1);\n-  print barcode, order, name1, seq1, qual1, name2, seq2, qual2;\n+  name1 = $1\n+  name2 = $2\n+  seq1 = substr($3, TAG_LEN + INVARIANT + 1)\n+  seq2 = substr($4, TAG_LEN + INVARIANT + 1)\n+  qual1 = substr($7, TAG_LEN + INVARIANT + 1)\n+  qual2 = substr($8, TAG_LEN + INVARIANT + 1)\n+  print barcode, order, name1, seq1, qual1, name2, seq2, qual2\n }\n"}
{"commit":"b9679b33d2141d12f7feb959c11e1aa9316ac388","subject":"Reorder episode tests","message":"Reorder episode tests\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -211,7 +211,13 @@\n     gsub (\/&amp;\/,\"\\\\&\",episodeTitle)\n     sub (\/^[[:space:]]\/,\"\",episodeTitle)\n     sub (\/[[:space:]]+$\/,\"\",episodeTitle)\n-    #\n+\n+    # Make Montalbano titles agree with MHz listing\n+    if (episodeTitle ~ \/^Montalbano|^Detective Montalbano:\/) {\n+        sub (\/^Montalbano:\/,\"Detective Montalbano:\",episodeTitle)\n+        sub (\/^Montalbano and Me\/,\"Detective Montalbano: Montalbano and Me\",episodeTitle)\n+    }\n+\n     # Episode Types(s)\n     # Default episodeType to \"E\"\n     episodeType = \"E\"\n@@ -226,38 +232,27 @@\n         prEpisodeNumber += 1\n         # print shortEpisodeURL \" pr \" prEpisodeNumber >\"\/dev\/stderr\"\n     }\n-    # If episode is a upcoming, i.e. - EP 507\" Available... use its episode number\n+    # print \"==> episodeType = \" episodeType > \"\/dev\/stderr\"\n+\n+    # Season and episode numbers\n+    # If season only has one episode, set snEpisodeNumber to 1\n+    if (seasonEpisodes == 1)\n+        snEpisodeNumber = 1\n+    # If episode is upcoming, i.e. - EP 507\" Available... use its episode number\n         if (match (episodeTitle, \/-[[:space:]]{1,2}EP [[:digit:]]{3,4}\/)) {\n             snEpisodeNumber = substr(episodeTitle, RSTART+RLENGTH-2, 2)\n         # print shortEpisodeURL \" pr \" prEpisodeNumber >\"\/dev\/stderr\"\n     }\n-    # print \"==> episodeType = \" episodeType > \"\/dev\/stderr\"\n-    #\n-    # Season and episode numbers\n-    #\n-    # Special case episode numbers\n-    # Montalbano episodes have no season, make them season 1\n-    if (episodeTitle ~ \/^Montalbano|^Detective Montalbano:\/) {\n-        sub (\/\\(Ep\/,\"(Sn 1 Ep\",episodeTitle)\n-        sub (\/^Montalbano:\/,\"Detective Montalbano:\",episodeTitle)\n-        sub (\/^Montalbano and Me\/,\"Detective Montalbano: Montalbano and Me\",episodeTitle)\n-    }\n+    # Grab the Episode Number from the trailing (Sn 1 Ep 1)\n     # Baantjer Sn 1 Ep 12 is missing a parens\n     sub (\/Brotherhood of Blood Murder Sn\/, \"Brotherhood of Blood Murder (Sn\",episodeTitle)\n-    # A Night in ... is missing episode numbers\n-    if (shortEpisodeURL ~ \/season:1\\\/videos\\\/a-night-in\/)\n-        snEpisodeNumber = 1\n-\n-    # Grab the Episode Number from the trailing (Sn 1 Ep 1)\n     # Episode Number(s)\n     if (match (episodeTitle,\/\\(.*[Ee][Pp][ ]*[[:digit:]]+[[:space:]]*\\)\/)) {\n-        # print \"==> showTitle = \" showTitle > \"\/dev\/stderr\"\n         snEpisodeNumber = substr(episodeTitle, RSTART, RLENGTH)\n         sub (\/.*[[:space:]]\/,\"\",snEpisodeNumber)\n         sub (\/\\).*\/,\"\",snEpisodeNumber)\n         # print shortEpisodeURL \" sn \" snEpisodeNumber >\"\/dev\/stderr\"\n     }\n-\n     # Octopus and some others uses -c-0\n     if (match (shortEpisodeURL, \/-c-[[:digit:]]{5}\/)) {\n         if (snEpisodeNumber == \"\" && prEpisodeNumber == \"\") {\n@@ -265,6 +260,11 @@\n             # print shortEpisodeURL \" c- \" snEpisodeNumber >\"\/dev\/stderr\"\n          }\n     }\n+\n+    # Special case episode numbers\n+    # A Night in ... is missing episode numbers\n+    if (shortEpisodeURL ~ \/season:1\\\/videos\\\/a-night-in\/)\n+        snEpisodeNumber = 1\n \n     # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n     # Handle normal (Sn 1 Ep 1) with variations in spacing and capitalization\n"}
{"commit":"1737a611b7e44fc133e3b3c92605916c7044235e","subject":"Languages: add Mizo","message":"Languages: add Mizo\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1075,19 +1075,6 @@\n     Locale[\"mr\"][\"glotto\"]             = \"mara1378\"\n     Locale[\"mr\"][\"script\"]             = \"Deva\"\n \n-    #65 Mongolian, Cyrillic alphabet\n-    Locale[\"mn\"][\"name\"]               = \"Mongolian\"\n-    Locale[\"mn\"][\"endonym\"]            = \"\u041c\u043e\u043d\u0433\u043e\u043b\"\n-    Locale[\"mn\"][\"translations-of\"]    = \"%s-\u043d \u043e\u0440\u0447\u0443\u0443\u043b\u0433\u0430\"\n-    Locale[\"mn\"][\"definitions-of\"]     = \"%s \u04af\u0433\u0438\u0439\u043d \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439\u043b\u043e\u043b\u0442\"\n-    Locale[\"mn\"][\"synonyms\"]           = \"\u041e\u0439\u0440\u043e\u043b\u0446\u043e\u043e \u0443\u0442\u0433\u0430\u0442\u0430\u0439\"\n-    Locale[\"mn\"][\"examples\"]           = \"\u0416\u0438\u0448\u044d\u044d\u043d\u04af\u04af\u0434\"\n-    Locale[\"mn\"][\"see-also\"]           = \"\u041c\u04e9\u043d \u0445\u0430\u0440\u0430\u0445\"\n-    Locale[\"mn\"][\"family\"]             = \"Mongolic\"\n-    Locale[\"mn\"][\"iso\"]                = \"mon\"\n-    Locale[\"mn\"][\"glotto\"]             = \"mong1331\"\n-    Locale[\"mn\"][\"script\"]             = \"Cyrl\"\n-\n     # Meiteilon \/ Manipuri\n     Locale[\"mni-Mtei\"][\"name\"]         = \"Meiteilon\"\n     Locale[\"mni-Mtei\"][\"name2\"]        = \"Manipuri\"\n@@ -1103,6 +1090,32 @@\n     Locale[\"mni-Mtei\"][\"iso\"]          = \"mni\"\n     Locale[\"mni-Mtei\"][\"glotto\"]       = \"mani1292\"\n     Locale[\"mni-Mtei\"][\"script\"]       = \"Mtei\"\n+\n+    # Mizo\n+    Locale[\"lus\"][\"name\"]              = \"Mizo\"\n+    Locale[\"lus\"][\"endonym\"]           = \"Mizo \u1e6dawng\"\n+    #Locale[\"lus\"][\"translations-of\"]\n+    #Locale[\"lus\"][\"definitions-of\"]\n+    #Locale[\"lus\"][\"synonyms\"]\n+    #Locale[\"lus\"][\"examples\"]\n+    #Locale[\"lus\"][\"see-also\"]\n+    Locale[\"lus\"][\"family\"]            = \"Sino-Tibetan\"\n+    Locale[\"lus\"][\"iso\"]               = \"lus\"\n+    Locale[\"lus\"][\"glotto\"]            = \"lush1249\"\n+    Locale[\"lus\"][\"script\"]            = \"Latn\"\n+\n+    #65 Mongolian, Cyrillic alphabet\n+    Locale[\"mn\"][\"name\"]               = \"Mongolian\"\n+    Locale[\"mn\"][\"endonym\"]            = \"\u041c\u043e\u043d\u0433\u043e\u043b\"\n+    Locale[\"mn\"][\"translations-of\"]    = \"%s-\u043d \u043e\u0440\u0447\u0443\u0443\u043b\u0433\u0430\"\n+    Locale[\"mn\"][\"definitions-of\"]     = \"%s \u04af\u0433\u0438\u0439\u043d \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439\u043b\u043e\u043b\u0442\"\n+    Locale[\"mn\"][\"synonyms\"]           = \"\u041e\u0439\u0440\u043e\u043b\u0446\u043e\u043e \u0443\u0442\u0433\u0430\u0442\u0430\u0439\"\n+    Locale[\"mn\"][\"examples\"]           = \"\u0416\u0438\u0448\u044d\u044d\u043d\u04af\u04af\u0434\"\n+    Locale[\"mn\"][\"see-also\"]           = \"\u041c\u04e9\u043d \u0445\u0430\u0440\u0430\u0445\"\n+    Locale[\"mn\"][\"family\"]             = \"Mongolic\"\n+    Locale[\"mn\"][\"iso\"]                = \"mon\"\n+    Locale[\"mn\"][\"glotto\"]             = \"mong1331\"\n+    Locale[\"mn\"][\"script\"]             = \"Cyrl\"\n \n     #66 Myanmar \/ Burmese\n     Locale[\"my\"][\"name\"]               = \"Myanmar\"\n"}
{"commit":"cfe994df428b29f1422f4887f808b10e6e8c1736","subject":"Languages: adjust ordering","message":"Languages: adjust ordering\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -14,7 +14,33 @@\n #      <http:\/\/glottolog.org\/>\n function initLocale(    i) {\n \n-    # Amharic\n+    #1 Afrikaans\n+    Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n+    Locale[\"af\"][\"endonym\"]            = \"Afrikaans\"\n+    Locale[\"af\"][\"translations-of\"]    = \"Vertalings van %s\"\n+    Locale[\"af\"][\"definitions-of\"]     = \"Definisies van %s\"\n+    Locale[\"af\"][\"synonyms\"]           = \"Sinonieme\"\n+    Locale[\"af\"][\"examples\"]           = \"Voorbeelde\"\n+    Locale[\"af\"][\"see-also\"]           = \"Sien ook\"\n+    Locale[\"af\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"af\"][\"iso\"]                = \"afr\"\n+    Locale[\"af\"][\"glotto\"]             = \"afri1274\"\n+    Locale[\"af\"][\"script\"]             = \"Latn\"\n+\n+    #2 Albanian\n+    Locale[\"sq\"][\"name\"]               = \"Albanian\"\n+    Locale[\"sq\"][\"endonym\"]            = \"Shqip\"\n+    Locale[\"sq\"][\"translations-of\"]    = \"P\u00ebrkthimet e %s\"\n+    Locale[\"sq\"][\"definitions-of\"]     = \"P\u00ebrkufizime t\u00eb %s\"\n+    Locale[\"sq\"][\"synonyms\"]           = \"Sinonime\"\n+    Locale[\"sq\"][\"examples\"]           = \"Shembuj\"\n+    Locale[\"sq\"][\"see-also\"]           = \"Shihni gjithashtu\"\n+    Locale[\"sq\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sq\"][\"iso\"]                = \"sqi\"\n+    Locale[\"sq\"][\"glotto\"]             = \"alba1267\"\n+    Locale[\"sq\"][\"script\"]             = \"Latn\"\n+\n+    #3 Amharic\n     Locale[\"am\"][\"name\"]               = \"Amharic\"\n     Locale[\"am\"][\"endonym\"]            = \"\u12a0\u121b\u122d\u129b\"\n     Locale[\"am\"][\"translations-of\"]    = \"\u12e8 %s \u1275\u122d\u1309\u121e\u127d\"\n@@ -26,6 +52,1396 @@\n     Locale[\"am\"][\"iso\"]                = \"amh\"\n     Locale[\"am\"][\"glotto\"]             = \"amha1245\"\n     Locale[\"am\"][\"script\"]             = \"Ethi\"\n+\n+    #4 Arabic (Standard Arabic)\n+    Locale[\"ar\"][\"name\"]               = \"Arabic\"\n+    Locale[\"ar\"][\"endonym\"]            = \"\u0627\u0644\u0639\u0631\u0628\u064a\u0629\"\n+    Locale[\"ar\"][\"translations-of\"]    = \"\u062a\u0631\u062c\u0645\u0627\u062a %s\"\n+    Locale[\"ar\"][\"definitions-of\"]     = \"\u062a\u0639\u0631\u064a\u0641\u0627\u062a %s\"\n+    Locale[\"ar\"][\"synonyms\"]           = \"\u0645\u0631\u0627\u062f\u0641\u0627\u062a\"\n+    Locale[\"ar\"][\"examples\"]           = \"\u0623\u0645\u062b\u0644\u0629\"\n+    Locale[\"ar\"][\"see-also\"]           = \"\u0627\u0646\u0638\u0631 \u0623\u064a\u0636\u064b\u0627\"\n+    Locale[\"ar\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"ar\"][\"iso\"]                = \"ara\"\n+    Locale[\"ar\"][\"glotto\"]             = \"stan1318\"\n+    Locale[\"ar\"][\"script\"]             = \"Arab\"\n+    Locale[\"ar\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #5 Armenian (Modern Armenian)\n+    Locale[\"hy\"][\"name\"]               = \"Armenian\"\n+    Locale[\"hy\"][\"endonym\"]            = \"\u0540\u0561\u0575\u0565\u0580\u0565\u0576\"\n+    Locale[\"hy\"][\"translations-of\"]    = \"%s-\u056b \u0569\u0561\u0580\u0563\u0574\u0561\u0576\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0576\u0565\u0580\u0568\"\n+    Locale[\"hy\"][\"definitions-of\"]     = \"%s-\u056b \u057d\u0561\u0570\u0574\u0561\u0576\u0578\u0582\u0574\u0576\u0565\u0580\u0568\"\n+    Locale[\"hy\"][\"synonyms\"]           = \"\u0540\u0578\u0574\u0561\u0576\u056b\u0577\u0576\u0565\u0580\"\n+    Locale[\"hy\"][\"examples\"]           = \"\u0555\u0580\u056b\u0576\u0561\u056f\u0576\u0565\u0580\"\n+    Locale[\"hy\"][\"see-also\"]           = \"\u054f\u0565\u057d \u0576\u0561\u0587\"\n+    Locale[\"hy\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"hy\"][\"iso\"]                = \"hye\"\n+    Locale[\"hy\"][\"glotto\"]             = \"nucl1235\"\n+    Locale[\"hy\"][\"script\"]             = \"Armn\"\n+\n+    #6 Azerbaijani (North Azerbaijani)\n+    Locale[\"az\"][\"name\"]               = \"Azerbaijani\"\n+    Locale[\"az\"][\"endonym\"]            = \"Az\u0259rbaycanca\"\n+    Locale[\"az\"][\"translations-of\"]    = \"%s s\u00f6z\u00fcn\u00fcn t\u0259rc\u00fcm\u0259si\"\n+    Locale[\"az\"][\"definitions-of\"]     = \"%s s\u00f6z\u00fcn\u00fcn t\u0259rifl\u0259ri\"\n+    Locale[\"az\"][\"synonyms\"]           = \"Sinoniml\u0259r\"\n+    Locale[\"az\"][\"examples\"]           = \"N\u00fcmun\u0259l\u0259r\"\n+    Locale[\"az\"][\"see-also\"]           = \"H\u0259m\u00e7inin, bax\u0131n:\"\n+    Locale[\"az\"][\"family\"]             = \"Turkic\"\n+    Locale[\"az\"][\"iso\"]                = \"aze\"\n+    Locale[\"az\"][\"glotto\"]             = \"nort2697\"\n+    Locale[\"az\"][\"script\"]             = \"Latn\"\n+\n+    #7 Basque\n+    Locale[\"eu\"][\"name\"]               = \"Basque\"\n+    Locale[\"eu\"][\"endonym\"]            = \"Euskara\"\n+    Locale[\"eu\"][\"translations-of\"]    = \"%s esapidearen itzulpena\"\n+    Locale[\"eu\"][\"definitions-of\"]     = \"Honen definizioak: %s\"\n+    Locale[\"eu\"][\"synonyms\"]           = \"Sinonimoak\"\n+    Locale[\"eu\"][\"examples\"]           = \"Adibideak\"\n+    Locale[\"eu\"][\"see-also\"]           = \"Ikusi hauek ere\"\n+    Locale[\"eu\"][\"family\"]             = \"Language Isolate\"\n+    Locale[\"eu\"][\"iso\"]                = \"eus\"\n+    Locale[\"eu\"][\"glotto\"]             = \"basq1248\"\n+    Locale[\"eu\"][\"script\"]             = \"Latn\"\n+\n+    #8 Belarusian, Cyrillic alphabet\n+    Locale[\"be\"][\"name\"]               = \"Belarusian\"\n+    Locale[\"be\"][\"endonym\"]            = \"\u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f\"\n+    Locale[\"be\"][\"translations-of\"]    = \"\u041f\u0435\u0440\u0430\u043a\u043b\u0430\u0434\u044b %s\"\n+    Locale[\"be\"][\"definitions-of\"]     = \"\u0412\u044b\u0437\u043d\u0430\u0447\u044d\u043d\u043di %s\"\n+    Locale[\"be\"][\"synonyms\"]           = \"\u0421\u0456\u043d\u043e\u043d\u0456\u043c\u044b\"\n+    Locale[\"be\"][\"examples\"]           = \"\u041f\u0440\u044b\u043a\u043b\u0430\u0434\u044b\"\n+    Locale[\"be\"][\"see-also\"]           = \"\u0413\u043b. \u0442\u0430\u043a\u0441\u0430\u043c\u0430\"\n+    Locale[\"be\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"be\"][\"iso\"]                = \"bel\"\n+    Locale[\"be\"][\"glotto\"]             = \"bela1254\"\n+    Locale[\"be\"][\"script\"]             = \"Cyrl\"\n+\n+    #9 Bengali\n+    Locale[\"bn\"][\"name\"]               = \"Bengali\"\n+    Locale[\"bn\"][\"endonym\"]            = \"\u09ac\u09be\u0982\u09b2\u09be\"\n+    Locale[\"bn\"][\"translations-of\"]    = \"%s \u098f\u09b0 \u0985\u09a8\u09c1\u09ac\u09be\u09a6\"\n+    Locale[\"bn\"][\"definitions-of\"]     = \"%s \u098f\u09b0 \u09b8\u0982\u099c\u09cd\u099e\u09be\"\n+    Locale[\"bn\"][\"synonyms\"]           = \"\u09aa\u09cd\u09b0\u09a4\u09bf\u09b6\u09ac\u09cd\u09a6\"\n+    Locale[\"bn\"][\"examples\"]           = \"\u0989\u09a6\u09be\u09b9\u09b0\u09a3\"\n+    Locale[\"bn\"][\"see-also\"]           = \"\u0986\u09b0\u09cb \u09a6\u09c7\u0996\u09c1\u09a8\"\n+    Locale[\"bn\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"bn\"][\"iso\"]                = \"ben\"\n+    Locale[\"bn\"][\"glotto\"]             = \"beng1280\"\n+    Locale[\"bn\"][\"script\"]             = \"Beng\"\n+\n+    #10 Bosnian, Latin alphabet\n+    Locale[\"bs\"][\"name\"]               = \"Bosnian\"\n+    Locale[\"bs\"][\"endonym\"]            = \"Bosanski\"\n+    Locale[\"bs\"][\"translations-of\"]    = \"Prijevod za: %s\"\n+    Locale[\"bs\"][\"definitions-of\"]     = \"Definicije za %s\"\n+    Locale[\"bs\"][\"synonyms\"]           = \"Sinonimi\"\n+    Locale[\"bs\"][\"examples\"]           = \"Primjeri\"\n+    Locale[\"bs\"][\"see-also\"]           = \"Pogledajte i\"\n+    Locale[\"bs\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"bs\"][\"iso\"]                = \"bos\"\n+    Locale[\"bs\"][\"glotto\"]             = \"bosn1245\"\n+    Locale[\"bs\"][\"script\"]             = \"Latn\"\n+\n+    #11 Bulgarian\n+    Locale[\"bg\"][\"name\"]               = \"Bulgarian\"\n+    Locale[\"bg\"][\"endonym\"]            = \"\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438\"\n+    Locale[\"bg\"][\"translations-of\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u043d\u0430 %s\"\n+    Locale[\"bg\"][\"definitions-of\"]     = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0438 \u0437\u0430 %s\"\n+    Locale[\"bg\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n+    Locale[\"bg\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n+    Locale[\"bg\"][\"see-also\"]           = \"\u0412\u0438\u0436\u0442\u0435 \u0441\u044a\u0449\u043e\"\n+    Locale[\"bg\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"bg\"][\"iso\"]                = \"bul\"\n+    Locale[\"bg\"][\"glotto\"]             = \"bulg1262\"\n+    Locale[\"bg\"][\"script\"]             = \"Cyrl\"\n+\n+    #12 Catalan (Standard Catalan)\n+    Locale[\"ca\"][\"name\"]               = \"Catalan\"\n+    Locale[\"ca\"][\"endonym\"]            = \"Catal\u00e0\"\n+    Locale[\"ca\"][\"translations-of\"]    = \"Traduccions per a %s\"\n+    Locale[\"ca\"][\"definitions-of\"]     = \"Definicions de: %s\"\n+    Locale[\"ca\"][\"synonyms\"]           = \"Sin\u00f2nims\"\n+    Locale[\"ca\"][\"examples\"]           = \"Exemples\"\n+    Locale[\"ca\"][\"see-also\"]           = \"Vegeu tamb\u00e9\"\n+    Locale[\"ca\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ca\"][\"iso\"]                = \"cat\"\n+    Locale[\"ca\"][\"glotto\"]             = \"stan1289\"\n+    Locale[\"ca\"][\"script\"]             = \"Latn\"\n+\n+    #13 Cebuano\n+    Locale[\"ceb\"][\"name\"]              = \"Cebuano\"\n+    Locale[\"ceb\"][\"endonym\"]           = \"Cebuano\"\n+    Locale[\"ceb\"][\"translations-of\"]   = \"%s Mga Paghubad sa PULONG_O_HUGPONG SA PAMULONG\"\n+    Locale[\"ceb\"][\"definitions-of\"]    = \"Mga kahulugan sa %s\"\n+    Locale[\"ceb\"][\"synonyms\"]          = \"Mga Kapulong\"\n+    Locale[\"ceb\"][\"examples\"]          = \"Mga pananglitan:\"\n+    Locale[\"ceb\"][\"see-also\"]          = \"Kitaa pag-usab\"\n+    Locale[\"ceb\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"ceb\"][\"iso\"]               = \"ceb\"\n+    Locale[\"ceb\"][\"glotto\"]            = \"cebu1242\"\n+    Locale[\"ceb\"][\"script\"]            = \"Latn\"\n+\n+    #14 Chichewa\n+    Locale[\"ny\"][\"name\"]               = \"Chichewa\"\n+    Locale[\"ny\"][\"endonym\"]            = \"Nyanja\"\n+    Locale[\"ny\"][\"translations-of\"]    = \"Matanthauzidwe a %s\"\n+    Locale[\"ny\"][\"definitions-of\"]     = \"Mamasulidwe a %s\"\n+    Locale[\"ny\"][\"synonyms\"]           = \"Mau ofanana\"\n+    Locale[\"ny\"][\"examples\"]           = \"Zitsanzo\"\n+    Locale[\"ny\"][\"see-also\"]           = \"Onaninso\"\n+    Locale[\"ny\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"ny\"][\"iso\"]                = \"nya\"\n+    Locale[\"ny\"][\"glotto\"]             = \"nyan1308\"\n+    Locale[\"ny\"][\"script\"]             = \"Latn\"\n+\n+    #15a Chinese (Mandarin), Simplified\n+    Locale[\"zh-CN\"][\"name\"]            = \"Chinese Simplified\"\n+    Locale[\"zh-CN\"][\"endonym\"]         = \"\u7b80\u4f53\u4e2d\u6587\"\n+    Locale[\"zh-CN\"][\"translations-of\"] = \"%s \u7684\u7ffb\u8bd1\"\n+    Locale[\"zh-CN\"][\"definitions-of\"]  = \"%s\u7684\u5b9a\u4e49\"\n+    Locale[\"zh-CN\"][\"synonyms\"]        = \"\u540c\u4e49\u8bcd\"\n+    Locale[\"zh-CN\"][\"examples\"]        = \"\u793a\u4f8b\"\n+    Locale[\"zh-CN\"][\"see-also\"]        = \"\u53e6\u8bf7\u53c2\u9605\"\n+    Locale[\"zh-CN\"][\"family\"]          = \"Sino-Tibetan\"\n+    Locale[\"zh-CN\"][\"iso\"]             = \"zho-CN\"\n+    Locale[\"zh-CN\"][\"glotto\"]          = \"mand1415\"\n+    Locale[\"zh-CN\"][\"script\"]          = \"Hans\"\n+    Locale[\"zh-CN\"][\"dictionary\"]      = \"true\" # has dictionary\n+\n+    #15b Chinese (Mandarin), Traditional\n+    Locale[\"zh-TW\"][\"name\"]            = \"Chinese Traditional\"\n+    Locale[\"zh-TW\"][\"endonym\"]         = \"\u6b63\u9ad4\u4e2d\u6587\"\n+    Locale[\"zh-TW\"][\"translations-of\"] = \"\u300c%s\u300d\u7684\u7ffb\u8b6f\"\n+    Locale[\"zh-TW\"][\"definitions-of\"]  = \"\u300c%s\u300d\u7684\u5b9a\u7fa9\"\n+    Locale[\"zh-TW\"][\"synonyms\"]        = \"\u540c\u7fa9\u8a5e\"\n+    Locale[\"zh-TW\"][\"examples\"]        = \"\u4f8b\u53e5\"\n+    Locale[\"zh-TW\"][\"see-also\"]        = \"\u53e6\u8acb\u53c3\u95b1\"\n+    Locale[\"zh-TW\"][\"family\"]          = \"Sino-Tibetan\"\n+    Locale[\"zh-TW\"][\"iso\"]             = \"zho-TW\"\n+    Locale[\"zh-TW\"][\"glotto\"]          = \"mand1415\"\n+    Locale[\"zh-TW\"][\"script\"]          = \"Hant\"\n+    Locale[\"zh-TW\"][\"dictionary\"]      = \"true\" # has dictionary\n+\n+    #16 Corsican\n+    Locale[\"co\"][\"name\"]               = \"Corsican\"\n+    Locale[\"co\"][\"endonym\"]            = \"Corsu\"\n+    Locale[\"co\"][\"translations-of\"]    = \"Traductions de %s\"\n+    Locale[\"co\"][\"definitions-of\"]     = \"D\u00e9finitions de %s\"\n+    Locale[\"co\"][\"synonyms\"]           = \"Synonymes\"\n+    Locale[\"co\"][\"examples\"]           = \"Exemples\"\n+    Locale[\"co\"][\"see-also\"]           = \"Voir aussi\"\n+    Locale[\"co\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"co\"][\"iso\"]                = \"cos\"\n+    Locale[\"co\"][\"glotto\"]             = \"cors1242\"\n+    Locale[\"co\"][\"script\"]             = \"Latn\"\n+\n+    #17 Croatian\n+    Locale[\"hr\"][\"name\"]               = \"Croatian\"\n+    Locale[\"hr\"][\"endonym\"]            = \"Hrvatski\"\n+    Locale[\"hr\"][\"translations-of\"]    = \"Prijevodi rije\u010di ili izraza %s\"\n+    Locale[\"hr\"][\"definitions-of\"]     = \"Definicije rije\u010di ili izraza %s\"\n+    Locale[\"hr\"][\"synonyms\"]           = \"Sinonimi\"\n+    Locale[\"hr\"][\"examples\"]           = \"Primjeri\"\n+    Locale[\"hr\"][\"see-also\"]           = \"Tako\u0111er pogledajte\"\n+    Locale[\"hr\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"hr\"][\"iso\"]                = \"hrv\"\n+    Locale[\"hr\"][\"glotto\"]             = \"croa1245\"\n+    Locale[\"hr\"][\"script\"]             = \"Latn\"\n+\n+    #18 Czech\n+    Locale[\"cs\"][\"name\"]               = \"Czech\"\n+    Locale[\"cs\"][\"endonym\"]            = \"\u010ce\u0161tina\"\n+    Locale[\"cs\"][\"translations-of\"]    = \"P\u0159eklad v\u00fdrazu %s\"\n+    Locale[\"cs\"][\"definitions-of\"]     = \"Definice v\u00fdrazu %s\"\n+    Locale[\"cs\"][\"synonyms\"]           = \"Synonyma\"\n+    Locale[\"cs\"][\"examples\"]           = \"P\u0159\u00edklady\"\n+    Locale[\"cs\"][\"see-also\"]           = \"Viz tak\u00e9\"\n+    Locale[\"cs\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"cs\"][\"iso\"]                = \"ces\"\n+    Locale[\"cs\"][\"glotto\"]             = \"czec1258\"\n+    Locale[\"cs\"][\"script\"]             = \"Latn\"\n+\n+    #19 Danish\n+    Locale[\"da\"][\"name\"]               = \"Danish\"\n+    Locale[\"da\"][\"endonym\"]            = \"Dansk\"\n+    Locale[\"da\"][\"translations-of\"]    = \"Overs\u00e6ttelser af %s\"\n+    Locale[\"da\"][\"definitions-of\"]     = \"Definitioner af %s\"\n+    Locale[\"da\"][\"synonyms\"]           = \"Synonymer\"\n+    Locale[\"da\"][\"examples\"]           = \"Eksempler\"\n+    Locale[\"da\"][\"see-also\"]           = \"Se ogs\u00e5\"\n+    Locale[\"da\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"da\"][\"iso\"]                = \"dan\"\n+    Locale[\"da\"][\"glotto\"]             = \"dani1285\"\n+    Locale[\"da\"][\"script\"]             = \"Latn\"\n+\n+    #20 Dutch\n+    Locale[\"nl\"][\"name\"]               = \"Dutch\"\n+    Locale[\"nl\"][\"endonym\"]            = \"Nederlands\"\n+    Locale[\"nl\"][\"translations-of\"]    = \"Vertalingen van %s\"\n+    Locale[\"nl\"][\"definitions-of\"]     = \"Definities van %s\"\n+    Locale[\"nl\"][\"synonyms\"]           = \"Synoniemen\"\n+    Locale[\"nl\"][\"examples\"]           = \"Voorbeelden\"\n+    Locale[\"nl\"][\"see-also\"]           = \"Zie ook\"\n+    Locale[\"nl\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"nl\"][\"iso\"]                = \"nld\"\n+    Locale[\"nl\"][\"glotto\"]             = \"dutc1256\"\n+    Locale[\"nl\"][\"script\"]             = \"Latn\"\n+    Locale[\"nl\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #21 English (Standard English)\n+    Locale[\"en\"][\"name\"]               = \"English\"\n+    Locale[\"en\"][\"endonym\"]            = \"English\"\n+    Locale[\"en\"][\"translations-of\"]    = \"Translations of %s\"\n+    Locale[\"en\"][\"definitions-of\"]     = \"Definitions of %s\"\n+    Locale[\"en\"][\"synonyms\"]           = \"Synonyms\"\n+    Locale[\"en\"][\"examples\"]           = \"Examples\"\n+    Locale[\"en\"][\"see-also\"]           = \"See also\"\n+    Locale[\"en\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"en\"][\"iso\"]                = \"eng\"\n+    Locale[\"en\"][\"glotto\"]             = \"stan1293\"\n+    Locale[\"en\"][\"script\"]             = \"Latn\"\n+    Locale[\"en\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #22 Esperanto\n+    Locale[\"eo\"][\"name\"]               = \"Esperanto\"\n+    Locale[\"eo\"][\"endonym\"]            = \"Esperanto\"\n+    Locale[\"eo\"][\"translations-of\"]    = \"Tradukoj de %s\"\n+    Locale[\"eo\"][\"definitions-of\"]     = \"Difinoj de %s\"\n+    Locale[\"eo\"][\"synonyms\"]           = \"Sinonimoj\"\n+    Locale[\"eo\"][\"examples\"]           = \"Ekzemploj\"\n+    Locale[\"eo\"][\"see-also\"]           = \"Vidu anka\u016d\"\n+    Locale[\"eo\"][\"family\"]             = \"Artificial Language\"\n+    Locale[\"eo\"][\"iso\"]                = \"epo\"\n+    Locale[\"eo\"][\"glotto\"]             = \"espe1235\"\n+    Locale[\"eo\"][\"script\"]             = \"Latn\"\n+\n+    #23 Estonian\n+    Locale[\"et\"][\"name\"]               = \"Estonian\"\n+    Locale[\"et\"][\"endonym\"]            = \"Eesti\"\n+    Locale[\"et\"][\"translations-of\"]    = \"S\u00f5na(de) %s t\u00f5lked\"\n+    Locale[\"et\"][\"definitions-of\"]     = \"S\u00f5na(de) %s definitsioonid\"\n+    Locale[\"et\"][\"synonyms\"]           = \"S\u00fcnon\u00fc\u00fcmid\"\n+    Locale[\"et\"][\"examples\"]           = \"N\u00e4ited\"\n+    Locale[\"et\"][\"see-also\"]           = \"Vt ka\"\n+    Locale[\"et\"][\"family\"]             = \"Uralic\"\n+    Locale[\"et\"][\"iso\"]                = \"est\"\n+    Locale[\"et\"][\"glotto\"]             = \"esto1258\"\n+    Locale[\"et\"][\"script\"]             = \"Latn\"\n+\n+    #24 Filipino \/ Tagalog\n+    Locale[\"tl\"][\"name\"]               = \"Filipino\"\n+    Locale[\"tl\"][\"endonym\"]            = \"Tagalog\"\n+    Locale[\"tl\"][\"translations-of\"]    = \"Mga pagsasalin ng %s\"\n+    Locale[\"tl\"][\"definitions-of\"]     = \"Mga kahulugan ng %s\"\n+    Locale[\"tl\"][\"synonyms\"]           = \"Mga Kasingkahulugan\"\n+    Locale[\"tl\"][\"examples\"]           = \"Mga Halimbawa\"\n+    Locale[\"tl\"][\"see-also\"]           = \"Tingnan rin ang\"\n+    Locale[\"tl\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"tl\"][\"iso\"]                = \"tgl\"\n+    Locale[\"tl\"][\"glotto\"]             = \"taga1270\"\n+    Locale[\"tl\"][\"script\"]             = \"Latn\"\n+\n+    #25 Finnish\n+    Locale[\"fi\"][\"name\"]               = \"Finnish\"\n+    Locale[\"fi\"][\"endonym\"]            = \"Suomi\"\n+    Locale[\"fi\"][\"translations-of\"]    = \"K\u00e4\u00e4nn\u00f6kset tekstille %s\"\n+    Locale[\"fi\"][\"definitions-of\"]     = \"M\u00e4\u00e4ritelm\u00e4t kohteelle %s\"\n+    Locale[\"fi\"][\"synonyms\"]           = \"Synonyymit\"\n+    Locale[\"fi\"][\"examples\"]           = \"Esimerkkej\u00e4\"\n+    Locale[\"fi\"][\"see-also\"]           = \"Katso my\u00f6s\"\n+    Locale[\"fi\"][\"family\"]             = \"Uralic\"\n+    Locale[\"fi\"][\"iso\"]                = \"fin\"\n+    Locale[\"fi\"][\"glotto\"]             = \"finn1318\"\n+    Locale[\"fi\"][\"script\"]             = \"Latn\"\n+\n+    #26 French (Standard French)\n+    Locale[\"fr\"][\"name\"]               = \"French\"\n+    Locale[\"fr\"][\"endonym\"]            = \"Fran\u00e7ais\"\n+    Locale[\"fr\"][\"translations-of\"]    = \"Traductions de %s\"\n+    Locale[\"fr\"][\"definitions-of\"]     = \"D\u00e9finitions de %s\"\n+    Locale[\"fr\"][\"synonyms\"]           = \"Synonymes\"\n+    Locale[\"fr\"][\"examples\"]           = \"Exemples\"\n+    Locale[\"fr\"][\"see-also\"]           = \"Voir aussi\"\n+    Locale[\"fr\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fr\"][\"iso\"]                = \"fra\"\n+    Locale[\"fr\"][\"glotto\"]             = \"stan1290\"\n+    Locale[\"fr\"][\"script\"]             = \"Latn\"\n+    Locale[\"fr\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #27 Galician\n+    Locale[\"gl\"][\"name\"]               = \"Galician\"\n+    Locale[\"gl\"][\"endonym\"]            = \"Galego\"\n+    Locale[\"gl\"][\"translations-of\"]    = \"Traduci\u00f3ns de %s\"\n+    Locale[\"gl\"][\"definitions-of\"]     = \"Definici\u00f3ns de %s\"\n+    Locale[\"gl\"][\"synonyms\"]           = \"Sin\u00f3nimos\"\n+    Locale[\"gl\"][\"examples\"]           = \"Exemplos\"\n+    Locale[\"gl\"][\"see-also\"]           = \"Ver tam\u00e9n\"\n+    Locale[\"gl\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"gl\"][\"iso\"]                = \"glg\"\n+    Locale[\"gl\"][\"glotto\"]             = \"gali1258\"\n+    Locale[\"gl\"][\"script\"]             = \"Latn\"\n+\n+    #28 Georgian (Modern Georgian)\n+    Locale[\"ka\"][\"name\"]               = \"Georgian\"\n+    Locale[\"ka\"][\"endonym\"]            = \"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8\"\n+    Locale[\"ka\"][\"translations-of\"]    = \"%s-\u10d8\u10e1 \u10d7\u10d0\u10e0\u10d2\u10db\u10d0\u10dc\u10d4\u10d1\u10d8\"\n+    Locale[\"ka\"][\"definitions-of\"]     = \"%s-\u10d8\u10e1 \u10d2\u10d0\u10dc\u10e1\u10d0\u10d6\u10e6\u10d5\u10e0\u10d4\u10d1\u10d4\u10d1\u10d8\"\n+    Locale[\"ka\"][\"synonyms\"]           = \"\u10e1\u10d8\u10dc\u10dd\u10dc\u10d8\u10db\u10d4\u10d1\u10d8\"\n+    Locale[\"ka\"][\"examples\"]           = \"\u10db\u10d0\u10d2\u10d0\u10da\u10d8\u10d7\u10d4\u10d1\u10d8\"\n+    Locale[\"ka\"][\"see-also\"]           = \"\u10d0\u10e1\u10d4\u10d5\u10d4 \u10d8\u10ee\u10d8\u10da\u10d4\u10d7\"\n+    Locale[\"ka\"][\"family\"]             = \"Kartvelian\"\n+    Locale[\"ka\"][\"iso\"]                = \"kat\"\n+    Locale[\"ka\"][\"glotto\"]             = \"nucl1302\"\n+    Locale[\"ka\"][\"script\"]             = \"Geor\"\n+\n+    #29 German (Standard German)\n+    Locale[\"de\"][\"name\"]               = \"German\"\n+    Locale[\"de\"][\"endonym\"]            = \"Deutsch\"\n+    Locale[\"de\"][\"translations-of\"]    = \"\u00dcbersetzungen f\u00fcr %s\"\n+    Locale[\"de\"][\"definitions-of\"]     = \"Definitionen von %s\"\n+    Locale[\"de\"][\"synonyms\"]           = \"Synonyme\"\n+    Locale[\"de\"][\"examples\"]           = \"Beispiele\"\n+    Locale[\"de\"][\"see-also\"]           = \"Siehe auch\"\n+    Locale[\"de\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"de\"][\"iso\"]                = \"deu\"\n+    Locale[\"de\"][\"glotto\"]             = \"stan1295\"\n+    Locale[\"de\"][\"script\"]             = \"Latn\"\n+    Locale[\"de\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #30 Greek (Modern Greek)\n+    Locale[\"el\"][\"name\"]               = \"Greek\"\n+    Locale[\"el\"][\"endonym\"]            = \"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac\"\n+    Locale[\"el\"][\"translations-of\"]    = \"\u039c\u03b5\u03c4\u03b1\u03c6\u03c1\u03ac\u03c3\u03b5\u03b9\u03c2 \u03c4\u03bf\u03c5 %s\"\n+    Locale[\"el\"][\"definitions-of\"]     = \"\u038c\u03c1\u03b9\u03c3\u03bc\u03bf\u03af %s\"\n+    Locale[\"el\"][\"synonyms\"]           = \"\u03a3\u03c5\u03bd\u03ce\u03bd\u03c5\u03bc\u03b1\"\n+    Locale[\"el\"][\"examples\"]           = \"\u03a0\u03b1\u03c1\u03b1\u03b4\u03b5\u03af\u03b3\u03bc\u03b1\u03c4\u03b1\"\n+    Locale[\"el\"][\"see-also\"]           = \"\u0394\u03b5\u03af\u03c4\u03b5 \u03b5\u03c0\u03af\u03c3\u03b7\u03c2\"\n+    Locale[\"el\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"el\"][\"iso\"]                = \"ell\"\n+    Locale[\"el\"][\"glotto\"]             = \"mode1248\"\n+    Locale[\"el\"][\"script\"]             = \"Grek\"\n+\n+    #31 Gujarati\n+    Locale[\"gu\"][\"name\"]               = \"Gujarati\"\n+    Locale[\"gu\"][\"endonym\"]            = \"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0\"\n+    Locale[\"gu\"][\"translations-of\"]    = \"%s \u0aa8\u0abe \u0a85\u0aa8\u0ac1\u0ab5\u0abe\u0aa6\"\n+    Locale[\"gu\"][\"definitions-of\"]     = \"%s \u0aa8\u0ac0 \u0ab5\u0acd\u0aaf\u0abe\u0a96\u0acd\u0aaf\u0abe\u0a93\"\n+    Locale[\"gu\"][\"synonyms\"]           = \"\u0ab8\u0aae\u0abe\u0aa8\u0abe\u0ab0\u0acd\u0aa5\u0ac0\"\n+    Locale[\"gu\"][\"examples\"]           = \"\u0a89\u0aa6\u0abe\u0ab9\u0ab0\u0aa3\u0acb\"\n+    Locale[\"gu\"][\"see-also\"]           = \"\u0a86 \u0aaa\u0aa3 \u0a9c\u0ac1\u0a93\"\n+    Locale[\"gu\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"gu\"][\"iso\"]                = \"guj\"\n+    Locale[\"gu\"][\"glotto\"]             = \"guja1252\"\n+    Locale[\"gu\"][\"script\"]             = \"Gujr\"\n+\n+    #32 Haitian Creole\n+    Locale[\"ht\"][\"name\"]               = \"Haitian Creole\"\n+    Locale[\"ht\"][\"endonym\"]            = \"Krey\u00f2l Ayisyen\"\n+    Locale[\"ht\"][\"translations-of\"]    = \"Tradiksyon %s\"\n+    Locale[\"ht\"][\"definitions-of\"]     = \"Definisyon nan %s\"\n+    Locale[\"ht\"][\"synonyms\"]           = \"Sinonim\"\n+    Locale[\"ht\"][\"examples\"]           = \"Egzanp:\"\n+    Locale[\"ht\"][\"see-also\"]           = \"W\u00e8 tou\"\n+    Locale[\"ht\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ht\"][\"iso\"]                = \"hat\"\n+    Locale[\"ht\"][\"glotto\"]             = \"hait1244\"\n+    Locale[\"ht\"][\"script\"]             = \"Latn\"\n+\n+    #33 Hawaiian\n+    Locale[\"haw\"][\"name\"]              = \"Hawaiian\"\n+    Locale[\"haw\"][\"endonym\"]           = \"\u02bb\u014clelo Hawai\u02bbi\"\n+    #Locale[\"haw\"][\"translations-of\"]\n+    #Locale[\"haw\"][\"definitions-of\"]\n+    #Locale[\"haw\"][\"synonyms\"]\n+    #Locale[\"haw\"][\"examples\"]\n+    #Locale[\"haw\"][\"see-also\"]\n+    Locale[\"haw\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"haw\"][\"iso\"]               = \"haw\"\n+    Locale[\"haw\"][\"glotto\"]            = \"hawa1245\"\n+    Locale[\"haw\"][\"script\"]            = \"Latn\"\n+\n+    #34 Hausa, Latin alphabet\n+    Locale[\"ha\"][\"name\"]               = \"Hausa\"\n+    Locale[\"ha\"][\"endonym\"]            = \"Hausa\"\n+    Locale[\"ha\"][\"translations-of\"]    = \"Fassarar %s\"\n+    Locale[\"ha\"][\"definitions-of\"]     = \"Ma'anoni na %s\"\n+    Locale[\"ha\"][\"synonyms\"]           = \"Masu kamancin ma'ana\"\n+    Locale[\"ha\"][\"examples\"]           = \"Misalai\"\n+    Locale[\"ha\"][\"see-also\"]           = \"Duba kuma\"\n+    Locale[\"ha\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"ha\"][\"iso\"]                = \"hau\"\n+    Locale[\"ha\"][\"glotto\"]             = \"haus1257\"\n+    Locale[\"ha\"][\"script\"]             = \"Latn\"\n+\n+    #35 Hebrew\n+    Locale[\"he\"][\"name\"]               = \"Hebrew\"\n+    Locale[\"he\"][\"endonym\"]            = \"\u05e2\u05b4\u05d1\u05b0\u05e8\u05b4\u05d9\u05ea\"\n+    Locale[\"he\"][\"translations-of\"]    = \"\u05ea\u05e8\u05d2\u05d5\u05de\u05d9\u05dd \u05e9\u05dc %s\"\n+    Locale[\"he\"][\"definitions-of\"]     = \"\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05e9\u05dc %s\"\n+    Locale[\"he\"][\"synonyms\"]           = \"\u05de\u05d9\u05dc\u05d9\u05dd \u05e0\u05e8\u05d3\u05e4\u05d5\u05ea\"\n+    Locale[\"he\"][\"examples\"]           = \"\u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea\"\n+    Locale[\"he\"][\"see-also\"]           = \"\u05e8\u05d0\u05d4 \u05d2\u05dd\"\n+    Locale[\"he\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"he\"][\"iso\"]                = \"heb\"\n+    Locale[\"he\"][\"glotto\"]             = \"hebr1245\"\n+    Locale[\"he\"][\"script\"]             = \"Hebr\"\n+    Locale[\"he\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #36 Hindi\n+    Locale[\"hi\"][\"name\"]               = \"Hindi\"\n+    Locale[\"hi\"][\"endonym\"]            = \"\u0939\u093f\u0928\u094d\u0926\u0940\"\n+    Locale[\"hi\"][\"translations-of\"]    = \"%s \u0915\u0947 \u0905\u0928\u0941\u0935\u093e\u0926\"\n+    Locale[\"hi\"][\"definitions-of\"]     = \"%s \u0915\u0940 \u092a\u0930\u093f\u092d\u093e\u0937\u093e\u090f\u0902\"\n+    Locale[\"hi\"][\"synonyms\"]           = \"\u0938\u092e\u093e\u0928\u093e\u0930\u094d\u0925\u0940\"\n+    Locale[\"hi\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\"\n+    Locale[\"hi\"][\"see-also\"]           = \"\u092f\u0939 \u092d\u0940 \u0926\u0947\u0916\u0947\u0902\"\n+    Locale[\"hi\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"hi\"][\"iso\"]                = \"hin\"\n+    Locale[\"hi\"][\"glotto\"]             = \"hind1269\"\n+    Locale[\"hi\"][\"script\"]             = \"Deva\"\n+\n+    #37 Hmong (First Vernacular Hmong)\n+    Locale[\"hmn\"][\"name\"]              = \"Hmong\"\n+    Locale[\"hmn\"][\"endonym\"]           = \"Hmoob\"\n+    Locale[\"hmn\"][\"translations-of\"]   = \"Lus txhais: %s\"\n+    #Locale[\"hmn\"][\"definitions-of\"]\n+    #Locale[\"hmn\"][\"synonyms\"]\n+    #Locale[\"hmn\"][\"examples\"]\n+    #Locale[\"hmn\"][\"see-also\"]\n+    Locale[\"hmn\"][\"family\"]            = \"Hmong-Mien\"\n+    Locale[\"hmn\"][\"iso\"]               = \"hmn\"\n+    Locale[\"hmn\"][\"glotto\"]            = \"firs1234\"\n+    Locale[\"hmn\"][\"script\"]            = \"Latn\"\n+\n+    #38 Hungarian\n+    Locale[\"hu\"][\"name\"]               = \"Hungarian\"\n+    Locale[\"hu\"][\"endonym\"]            = \"Magyar\"\n+    Locale[\"hu\"][\"translations-of\"]    = \"%s ford\u00edt\u00e1sai\"\n+    Locale[\"hu\"][\"definitions-of\"]     = \"%s jelent\u00e9sei\"\n+    Locale[\"hu\"][\"synonyms\"]           = \"Szinonim\u00e1k\"\n+    Locale[\"hu\"][\"examples\"]           = \"P\u00e9ld\u00e1k\"\n+    Locale[\"hu\"][\"see-also\"]           = \"L\u00e1sd m\u00e9g\"\n+    Locale[\"hu\"][\"family\"]             = \"Uralic\"\n+    Locale[\"hu\"][\"iso\"]                = \"hun\"\n+    Locale[\"hu\"][\"glotto\"]             = \"hung1274\"\n+    Locale[\"hu\"][\"script\"]             = \"Latn\"\n+\n+    #39 Icelandic\n+    Locale[\"is\"][\"name\"]               = \"Icelandic\"\n+    Locale[\"is\"][\"endonym\"]            = \"\u00cdslenska\"\n+    Locale[\"is\"][\"translations-of\"]    = \"\u00de\u00fd\u00f0ingar \u00e1 %s\"\n+    Locale[\"is\"][\"definitions-of\"]     = \"Skilgreiningar \u00e1\"\n+    Locale[\"is\"][\"synonyms\"]           = \"Samheiti\"\n+    Locale[\"is\"][\"examples\"]           = \"D\u00e6mi\"\n+    Locale[\"is\"][\"see-also\"]           = \"Sj\u00e1 einnig\"\n+    Locale[\"is\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"is\"][\"iso\"]                = \"isl\"\n+    Locale[\"is\"][\"glotto\"]             = \"icel1247\"\n+    Locale[\"is\"][\"script\"]             = \"Latn\"\n+\n+    #40 Igbo\n+    Locale[\"ig\"][\"name\"]               = \"Igbo\"\n+    Locale[\"ig\"][\"endonym\"]            = \"Igbo\"\n+    Locale[\"ig\"][\"translations-of\"]    = \"Nt\u1ee5ghar\u1ecb as\u1ee5s\u1ee5 nke %s\"\n+    Locale[\"ig\"][\"definitions-of\"]     = \"Nk\u1ecdwap\u1ee5ta nke %s\"\n+    Locale[\"ig\"][\"synonyms\"]           = \"Okwu oyiri\"\n+    Locale[\"ig\"][\"examples\"]           = \"\u1eccm\u1ee5maat\u1ee5\"\n+    Locale[\"ig\"][\"see-also\"]           = \"H\u1ee5kwuo\"\n+    Locale[\"ig\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"ig\"][\"iso\"]                = \"ibo\"\n+    Locale[\"ig\"][\"glotto\"]             = \"nucl1417\"\n+    Locale[\"ig\"][\"script\"]             = \"Latn\"\n+\n+    #41 Indonesian\n+    Locale[\"id\"][\"name\"]               = \"Indonesian\"\n+    Locale[\"id\"][\"endonym\"]            = \"Bahasa Indonesia\"\n+    Locale[\"id\"][\"translations-of\"]    = \"Terjemahan dari %s\"\n+    Locale[\"id\"][\"definitions-of\"]     = \"Definisi %s\"\n+    Locale[\"id\"][\"synonyms\"]           = \"Sinonim\"\n+    Locale[\"id\"][\"examples\"]           = \"Contoh\"\n+    Locale[\"id\"][\"see-also\"]           = \"Lihat juga\"\n+    Locale[\"id\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"id\"][\"iso\"]                = \"ind\"\n+    Locale[\"id\"][\"glotto\"]             = \"indo1316\"\n+    Locale[\"id\"][\"script\"]             = \"Latn\"\n+\n+    #42 Irish\n+    Locale[\"ga\"][\"name\"]               = \"Irish\"\n+    Locale[\"ga\"][\"endonym\"]            = \"Gaeilge\"\n+    Locale[\"ga\"][\"translations-of\"]    = \"Aistri\u00fach\u00e1in ar %s\"\n+    Locale[\"ga\"][\"definitions-of\"]     = \"Sainmh\u00ednithe ar %s\"\n+    Locale[\"ga\"][\"synonyms\"]           = \"Comhchiallaigh\"\n+    Locale[\"ga\"][\"examples\"]           = \"Sampla\u00ed\"\n+    Locale[\"ga\"][\"see-also\"]           = \"f\u00e9ach freisin\"\n+    Locale[\"ga\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ga\"][\"iso\"]                = \"gle\"\n+    Locale[\"ga\"][\"glotto\"]             = \"iris1253\"\n+    Locale[\"ga\"][\"script\"]             = \"Latn\"\n+\n+    #43 Italian\n+    Locale[\"it\"][\"name\"]               = \"Italian\"\n+    Locale[\"it\"][\"endonym\"]            = \"Italiano\"\n+    Locale[\"it\"][\"translations-of\"]    = \"Traduzioni di %s\"\n+    Locale[\"it\"][\"definitions-of\"]     = \"Definizioni di %s\"\n+    Locale[\"it\"][\"synonyms\"]           = \"Sinonimi\"\n+    Locale[\"it\"][\"examples\"]           = \"Esempi\"\n+    Locale[\"it\"][\"see-also\"]           = \"Vedi anche\"\n+    Locale[\"it\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"it\"][\"iso\"]                = \"ita\"\n+    Locale[\"it\"][\"glotto\"]             = \"ital1282\"\n+    Locale[\"it\"][\"script\"]             = \"Latn\"\n+    Locale[\"it\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #44 Japanese\n+    Locale[\"ja\"][\"name\"]               = \"Japanese\"\n+    Locale[\"ja\"][\"endonym\"]            = \"\u65e5\u672c\u8a9e\"\n+    Locale[\"ja\"][\"translations-of\"]    = \"\u300c%s\u300d\u306e\u7ffb\u8a33\"\n+    Locale[\"ja\"][\"definitions-of\"]     = \"%s \u306e\u5b9a\u7fa9\"\n+    Locale[\"ja\"][\"synonyms\"]           = \"\u540c\u7fa9\u8a9e\"\n+    Locale[\"ja\"][\"examples\"]           = \"\u4f8b\"\n+    Locale[\"ja\"][\"see-also\"]           = \"\u95a2\u9023\u9805\u76ee\"\n+    Locale[\"ja\"][\"family\"]             = \"Japonic\"\n+    Locale[\"ja\"][\"iso\"]                = \"jpn\"\n+    Locale[\"ja\"][\"glotto\"]             = \"nucl1643\"\n+    Locale[\"ja\"][\"script\"]             = \"Jpan\"\n+    Locale[\"ja\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #45 Javanese, Latin alphabet\n+    Locale[\"jv\"][\"name\"]               = \"Javanese\"\n+    Locale[\"jv\"][\"endonym\"]            = \"Basa Jawa\"\n+    Locale[\"jv\"][\"translations-of\"]    = \"Terjemahan %s\"\n+    Locale[\"jv\"][\"definitions-of\"]     = \"Arti %s\"\n+    Locale[\"jv\"][\"synonyms\"]           = \"Sinonim\"\n+    Locale[\"jv\"][\"examples\"]           = \"Conto\"\n+    Locale[\"jv\"][\"see-also\"]           = \"Deleng uga\"\n+    Locale[\"jv\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"jv\"][\"iso\"]                = \"jav\"\n+    Locale[\"jv\"][\"glotto\"]             = \"java1254\"\n+    Locale[\"jv\"][\"script\"]             = \"Latn\"\n+\n+    #46 Kannada (Modern Kannada)\n+    Locale[\"kn\"][\"name\"]               = \"Kannada\"\n+    Locale[\"kn\"][\"endonym\"]            = \"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1\"\n+    Locale[\"kn\"][\"translations-of\"]    = \"%s \u0ca8 \u0c85\u0ca8\u0cc1\u0cb5\u0cbe\u0ca6\u0c97\u0cb3\u0cc1\"\n+    Locale[\"kn\"][\"definitions-of\"]     = \"%s \u0ca8 \u0cb5\u0ccd\u0caf\u0cbe\u0c96\u0ccd\u0caf\u0cbe\u0ca8\u0c97\u0cb3\u0cc1\"\n+    Locale[\"kn\"][\"synonyms\"]           = \"\u0cb8\u0cae\u0cbe\u0ca8\u0cbe\u0cb0\u0ccd\u0ca5\u0c95\u0c97\u0cb3\u0cc1\"\n+    Locale[\"kn\"][\"examples\"]           = \"\u0c89\u0ca6\u0cbe\u0cb9\u0cb0\u0ca3\u0cc6\u0c97\u0cb3\u0cc1\"\n+    Locale[\"kn\"][\"see-also\"]           = \"\u0c87\u0ca6\u0ca8\u0ccd\u0ca8\u0cc2 \u0c97\u0cae\u0ca8\u0cbf\u0cb8\u0cbf\"\n+    Locale[\"kn\"][\"family\"]             = \"Dravidian\"\n+    Locale[\"kn\"][\"iso\"]                = \"kan\"\n+    Locale[\"kn\"][\"glotto\"]             = \"nucl1305\"\n+    Locale[\"kn\"][\"script\"]             = \"Knda\"\n+\n+    #47 Kazakh, Cyrillic alphabet\n+    Locale[\"kk\"][\"name\"]               = \"Kazakh\"\n+    Locale[\"kk\"][\"endonym\"]            = \"\u049a\u0430\u0437\u0430\u049b \u0442\u0456\u043b\u0456\"\n+    Locale[\"kk\"][\"translations-of\"]    = \"%s \u0430\u0443\u0434\u0430\u0440\u043c\u0430\u043b\u0430\u0440\u044b\"\n+    Locale[\"kk\"][\"definitions-of\"]     = \"%s \u0430\u043d\u044b\u049b\u0442\u0430\u043c\u0430\u043b\u0430\u0440\u044b\"\n+    Locale[\"kk\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0434\u0435\u0440\"\n+    Locale[\"kk\"][\"examples\"]           = \"\u041c\u044b\u0441\u0430\u043b\u0434\u0430\u0440\"\n+    Locale[\"kk\"][\"see-also\"]           = \"\u041a\u0435\u043b\u0435\u0441\u0456 \u0442\u0456\u0437\u0456\u043c\u0434\u0456 \u0434\u0435 \u043a\u04e9\u0440\u0456\u04a3\u0456\u0437:\"\n+    Locale[\"kk\"][\"family\"]             = \"Turkic\"\n+    Locale[\"kk\"][\"iso\"]                = \"kaz\"\n+    Locale[\"kk\"][\"glotto\"]             = \"kaza1248\"\n+    Locale[\"kk\"][\"script\"]             = \"Cyrl\"\n+\n+    #48 Khmer (Central Khmer)\n+    Locale[\"km\"][\"name\"]               = \"Khmer\"\n+    Locale[\"km\"][\"endonym\"]            = \"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a\"\n+    Locale[\"km\"][\"translations-of\"]    = \"\u1780\u17b6\u179a\u200b\u1794\u1780\u200b\u1794\u17d2\u179a\u17c2\u200b\u1793\u17c3 %s\"\n+    Locale[\"km\"][\"definitions-of\"]     = \"\u1793\u17b7\u1799\u1798\u1793\u17d0\u1799\u200b\u1793\u17c3\u200b %s\"\n+    Locale[\"km\"][\"synonyms\"]           = \"\u179f\u1791\u17b7\u179f\u1793\u17d0\u1799\"\n+    Locale[\"km\"][\"examples\"]           = \"\u17a7\u1791\u17b6\u17a0\u179a\u178e\u17cd\"\n+    Locale[\"km\"][\"see-also\"]           = \"\u1798\u17be\u179b\u200b\u1795\u1784\u200b\u178a\u17c2\u179a\"\n+    Locale[\"km\"][\"family\"]             = \"Austroasiatic\"\n+    Locale[\"km\"][\"iso\"]                = \"khm\"\n+    Locale[\"km\"][\"glotto\"]             = \"cent1989\"\n+    Locale[\"km\"][\"script\"]             = \"Khmr\"\n+\n+    #49 Korean\n+    Locale[\"ko\"][\"name\"]               = \"Korean\"\n+    Locale[\"ko\"][\"endonym\"]            = \"\ud55c\uad6d\uc5b4\"\n+    Locale[\"ko\"][\"translations-of\"]    = \"%s\uc758 \ubc88\uc5ed\"\n+    Locale[\"ko\"][\"definitions-of\"]     = \"%s\uc758 \uc815\uc758\"\n+    Locale[\"ko\"][\"synonyms\"]           = \"\ub3d9\uc758\uc5b4\"\n+    Locale[\"ko\"][\"examples\"]           = \"\uc608\ubb38\"\n+    Locale[\"ko\"][\"see-also\"]           = \"\ucc38\uc870\"\n+    Locale[\"ko\"][\"family\"]             = \"Koreanic\"\n+    Locale[\"ko\"][\"iso\"]                = \"kor\"\n+    Locale[\"ko\"][\"glotto\"]             = \"kore1280\"\n+    Locale[\"ko\"][\"script\"]             = \"Kore\"\n+    Locale[\"ko\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #50 Kurdish (Central Kurdish, Sorani), Latin alphabet\n+    Locale[\"ku\"][\"name\"]               = \"Kurdish\"\n+    Locale[\"ku\"][\"endonym\"]            = \"Kurd\u00ee\"\n+    #Locale[\"ku\"][\"translations-of\"]\n+    #Locale[\"ku\"][\"definitions-of\"]\n+    #Locale[\"ku\"][\"synonyms\"]\n+    #Locale[\"ku\"][\"examples\"]\n+    #Locale[\"ku\"][\"see-also\"]\n+    Locale[\"ku\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ku\"][\"iso\"]                = \"kur\"\n+    Locale[\"ku\"][\"glotto\"]             = \"kurd1259\"\n+    Locale[\"ku\"][\"script\"]             = \"Latn\"\n+\n+    #51 Kyrgyz\n+    Locale[\"ky\"][\"name\"]               = \"Kyrgyz\"\n+    Locale[\"ky\"][\"endonym\"]            = \"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430\"\n+    Locale[\"ky\"][\"translations-of\"]    = \"%s \u043a\u043e\u0442\u043e\u0440\u043c\u043e\u0441\u0443\"\n+    Locale[\"ky\"][\"definitions-of\"]     = \"%s \u0430\u043d\u044b\u043a\u0442\u0430\u043c\u0430\u0441\u044b\"\n+    Locale[\"ky\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0434\u0435\u0440\"\n+    Locale[\"ky\"][\"examples\"]           = \"\u041c\u0438\u0441\u0430\u043b\u0434\u0430\u0440\"\n+    Locale[\"ky\"][\"see-also\"]           = \"\u0414\u0430\u0433\u044b \u043a\u0430\u0440\u0430\u04a3\u044b\u0437\"\n+    Locale[\"ky\"][\"family\"]             = \"Turkic\"\n+    Locale[\"ky\"][\"iso\"]                = \"kir\"\n+    Locale[\"ky\"][\"glotto\"]             = \"kirg1245\"\n+    Locale[\"ky\"][\"script\"]             = \"Cyrl\"\n+\n+    #52 Lao\n+    Locale[\"lo\"][\"name\"]               = \"Lao\"\n+    Locale[\"lo\"][\"endonym\"]            = \"\u0ea5\u0eb2\u0ea7\"\n+    Locale[\"lo\"][\"translations-of\"]    = \"\u0e84\u0eb3\u200b\u0ec1\u0e9b\u200b\u0eaa\u0eb3\u0ea5\u0eb1\u0e9a %s\"\n+    Locale[\"lo\"][\"definitions-of\"]     = \"\u0e84\u0ea7\u0eb2\u0ea1\u0edd\u0eb2\u0e8d\u0e82\u0ead\u0e87 %s\"\n+    Locale[\"lo\"][\"synonyms\"]           = \"\u0e84\u0eb3\u0e97\u0eb5\u0ec8\u0e84\u0ec9\u0eb2\u0e8d\u0e81\u0eb1\u0e99 %s\"\n+    Locale[\"lo\"][\"examples\"]           = \"\u0e95\u0ebb\u0ea7\u0ea2\u0ec8\u0eb2\u0e87\"\n+    Locale[\"lo\"][\"see-also\"]           = \"\u0ec0\u0e9a\u0eb4\u0ec8\u0e87\u200b\u0ec0\u0e9e\u0eb5\u0ec8\u0ea1\u200b\u0ec0\u0e95\u0eb5\u0ea1\"\n+    Locale[\"lo\"][\"family\"]             = \"Tai-Kadai\"\n+    Locale[\"lo\"][\"iso\"]                = \"lao\"\n+    Locale[\"lo\"][\"glotto\"]             = \"laoo1244\"\n+    Locale[\"lo\"][\"script\"]             = \"Laoo\"\n+\n+    #53 Latin\n+    Locale[\"la\"][\"name\"]               = \"Latin\"\n+    Locale[\"la\"][\"endonym\"]            = \"Latina\"\n+    Locale[\"la\"][\"translations-of\"]    = \"Versio de %s\"\n+    #Locale[\"la\"][\"definitions-of\"]\n+    #Locale[\"la\"][\"synonyms\"]\n+    #Locale[\"la\"][\"examples\"]\n+    #Locale[\"la\"][\"see-also\"]\n+    Locale[\"la\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"la\"][\"iso\"]                = \"lat\"\n+    Locale[\"la\"][\"glotto\"]             = \"lati1261\"\n+    Locale[\"la\"][\"script\"]             = \"Latn\"\n+\n+    #54 Latvian\n+    Locale[\"lv\"][\"name\"]               = \"Latvian\"\n+    Locale[\"lv\"][\"endonym\"]            = \"Latvie\u0161u\"\n+    Locale[\"lv\"][\"translations-of\"]    = \"%s tulkojumi\"\n+    Locale[\"lv\"][\"definitions-of\"]     = \"%s defin\u012bcijas\"\n+    Locale[\"lv\"][\"synonyms\"]           = \"Sinon\u012bmi\"\n+    Locale[\"lv\"][\"examples\"]           = \"Piem\u0113ri\"\n+    Locale[\"lv\"][\"see-also\"]           = \"Skatiet ar\u012b\"\n+    Locale[\"lv\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"lv\"][\"iso\"]                = \"lav\"\n+    Locale[\"lv\"][\"glotto\"]             = \"latv1249\"\n+    Locale[\"lv\"][\"script\"]             = \"Latn\"\n+\n+    #55 Lithuanian\n+    Locale[\"lt\"][\"name\"]               = \"Lithuanian\"\n+    Locale[\"lt\"][\"endonym\"]            = \"Lietuvi\u0173\"\n+    Locale[\"lt\"][\"translations-of\"]    = \"\u201e%s\u201c vertimai\"\n+    Locale[\"lt\"][\"definitions-of\"]     = \"\u201e%s\u201c apibr\u0117\u017eimai\"\n+    Locale[\"lt\"][\"synonyms\"]           = \"Sinonimai\"\n+    Locale[\"lt\"][\"examples\"]           = \"Pavyzd\u017eiai\"\n+    Locale[\"lt\"][\"see-also\"]           = \"Taip pat \u017ei\u016br\u0117kite\"\n+    Locale[\"lt\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"lt\"][\"iso\"]                = \"lit\"\n+    Locale[\"lt\"][\"glotto\"]             = \"lith1251\"\n+    Locale[\"lt\"][\"script\"]             = \"Latn\"\n+\n+    #56 Luxembourgish\n+    Locale[\"lb\"][\"name\"]               = \"Luxembourgish\"\n+    Locale[\"lb\"][\"endonym\"]            = \"L\u00ebtzebuergesch\"\n+    #Locale[\"lb\"][\"translations-of\"]\n+    #Locale[\"lb\"][\"definitions-of\"]\n+    #Locale[\"lb\"][\"synonyms\"]\n+    #Locale[\"lb\"][\"examples\"]\n+    #Locale[\"lb\"][\"see-also\"]\n+    Locale[\"lb\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"lb\"][\"iso\"]                = \"ltz\"\n+    Locale[\"lb\"][\"glotto\"]             = \"luxe1241\"\n+    Locale[\"lb\"][\"script\"]             = \"Latn\"\n+\n+    #57 Macedonian\n+    Locale[\"mk\"][\"name\"]               = \"Macedonian\"\n+    Locale[\"mk\"][\"endonym\"]            = \"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438\"\n+    Locale[\"mk\"][\"translations-of\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u043d\u0430 %s\"\n+    Locale[\"mk\"][\"definitions-of\"]     = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0438 \u043d\u0430 %s\"\n+    Locale[\"mk\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n+    Locale[\"mk\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n+    Locale[\"mk\"][\"see-also\"]           = \"\u0412\u0438\u0434\u0438 \u0438\"\n+    Locale[\"mk\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"mk\"][\"iso\"]                = \"mkd\"\n+    Locale[\"mk\"][\"glotto\"]             = \"mace1250\"\n+    Locale[\"mk\"][\"script\"]             = \"Cyrl\"\n+\n+    #58 Malagasy (Plateau Malagasy)\n+    Locale[\"mg\"][\"name\"]               = \"Malagasy\"\n+    Locale[\"mg\"][\"endonym\"]            = \"Malagasy\"\n+    Locale[\"mg\"][\"translations-of\"]    = \"Dikan'ny %s\"\n+    Locale[\"mg\"][\"definitions-of\"]     = \"Famaritana ny %s\"\n+    Locale[\"mg\"][\"synonyms\"]           = \"Mitovy hevitra\"\n+    Locale[\"mg\"][\"examples\"]           = \"Ohatra\"\n+    Locale[\"mg\"][\"see-also\"]           = \"Jereo ihany koa\"\n+    Locale[\"mg\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"mg\"][\"iso\"]                = \"mlg\"\n+    Locale[\"mg\"][\"glotto\"]             = \"plat1254\"\n+    Locale[\"mg\"][\"script\"]             = \"Latn\"\n+\n+    #59 Malay (Standard Malay)\n+    Locale[\"ms\"][\"name\"]               = \"Malay\"\n+    Locale[\"ms\"][\"endonym\"]            = \"Bahasa Melayu\"\n+    Locale[\"ms\"][\"translations-of\"]    = \"Terjemahan %s\"\n+    Locale[\"ms\"][\"definitions-of\"]     = \"Takrif %s\"\n+    Locale[\"ms\"][\"synonyms\"]           = \"Sinonim\"\n+    Locale[\"ms\"][\"examples\"]           = \"Contoh\"\n+    Locale[\"ms\"][\"see-also\"]           = \"Lihat juga\"\n+    Locale[\"ms\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"ms\"][\"iso\"]                = \"msa\"\n+    Locale[\"ms\"][\"glotto\"]             = \"stan1306\"\n+    Locale[\"ms\"][\"script\"]             = \"Latn\"\n+\n+    #60 Malayalam\n+    Locale[\"ml\"][\"name\"]               = \"Malayalam\"\n+    Locale[\"ml\"][\"endonym\"]            = \"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02\"\n+    Locale[\"ml\"][\"translations-of\"]    = \"%s \u0d0e\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d35\u0d3f\u0d35\u0d7c\u0d24\u0d4d\u0d24\u0d28\u0d19\u0d4d\u0d19\u0d7e\"\n+    Locale[\"ml\"][\"definitions-of\"]     = \"%s \u0d0e\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d28\u0d3f\u0d7c\u0d35\u0d4d\u0d35\u0d1a\u0d28\u0d19\u0d4d\u0d19\u0d7e\"\n+    Locale[\"ml\"][\"synonyms\"]           = \"\u0d2a\u0d30\u0d4d\u0d2f\u0d3e\u0d2f\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d\"\n+    Locale[\"ml\"][\"examples\"]           = \"\u0d09\u0d26\u0d3e\u0d39\u0d30\u0d23\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d\"\n+    Locale[\"ml\"][\"see-also\"]           = \"\u0d07\u0d24\u0d41\u0d02 \u0d15\u0d3e\u0d23\u0d41\u0d15\"\n+    Locale[\"ml\"][\"family\"]             = \"Dravidian\"\n+    Locale[\"ml\"][\"iso\"]                = \"mal\"\n+    Locale[\"ml\"][\"glotto\"]             = \"mala1464\"\n+    Locale[\"ml\"][\"script\"]             = \"Mlym\"\n+\n+    #61 Maltese\n+    Locale[\"mt\"][\"name\"]               = \"Maltese\"\n+    Locale[\"mt\"][\"endonym\"]            = \"Malti\"\n+    Locale[\"mt\"][\"translations-of\"]    = \"Traduzzjonijiet ta' %s\"\n+    Locale[\"mt\"][\"definitions-of\"]     = \"Definizzjonijiet ta' %s\"\n+    Locale[\"mt\"][\"synonyms\"]           = \"Sinonimi\"\n+    Locale[\"mt\"][\"examples\"]           = \"E\u017cempji\"\n+    Locale[\"mt\"][\"see-also\"]           = \"Ara wkoll\"\n+    Locale[\"mt\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"mt\"][\"iso\"]                = \"mlt\"\n+    Locale[\"mt\"][\"glotto\"]             = \"malt1254\"\n+    Locale[\"mt\"][\"script\"]             = \"Latn\"\n+\n+    #62 Maori\n+    Locale[\"mi\"][\"name\"]               = \"Maori\"\n+    Locale[\"mi\"][\"endonym\"]            = \"M\u0101ori\"\n+    Locale[\"mi\"][\"translations-of\"]    = \"Ng\u0101 whakam\u0101oritanga o %s\"\n+    Locale[\"mi\"][\"definitions-of\"]     = \"Ng\u0101 whakam\u0101rama o %s\"\n+    Locale[\"mi\"][\"synonyms\"]           = \"Ng\u0101 Kupu Taurite\"\n+    Locale[\"mi\"][\"examples\"]           = \"Ng\u0101 Tauira:\"\n+    Locale[\"mi\"][\"see-also\"]           = \"Tiro hoki:\"\n+    Locale[\"mi\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"mi\"][\"iso\"]                = \"mri\"\n+    Locale[\"mi\"][\"glotto\"]             = \"maor1246\"\n+    Locale[\"mi\"][\"script\"]             = \"Latn\"\n+\n+    #63 Marathi\n+    Locale[\"mr\"][\"name\"]               = \"Marathi\"\n+    Locale[\"mr\"][\"endonym\"]            = \"\u092e\u0930\u093e\u0920\u0940\"\n+    Locale[\"mr\"][\"translations-of\"]    = \"%s \u091a\u0940 \u092d\u093e\u0937\u093e\u0902\u0924\u0930\u0947\"\n+    Locale[\"mr\"][\"definitions-of\"]     = \"%s \u091a\u094d\u092f\u093e \u0935\u094d\u092f\u093e\u0916\u094d\u092f\u093e\"\n+    Locale[\"mr\"][\"synonyms\"]           = \"\u0938\u092e\u093e\u0928\u093e\u0930\u094d\u0925\u0940 \u0936\u092c\u094d\u0926\"\n+    Locale[\"mr\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\u0947\"\n+    Locale[\"mr\"][\"see-also\"]           = \"\u0939\u0947 \u0926\u0947\u0916\u0940\u0932 \u092a\u0939\u093e\"\n+    Locale[\"mr\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"mr\"][\"iso\"]                = \"mar\"\n+    Locale[\"mr\"][\"glotto\"]             = \"mara1378\"\n+    Locale[\"mr\"][\"script\"]             = \"Deva\"\n+\n+    #64 Mongolian, Cyrillic alphabet\n+    Locale[\"mn\"][\"name\"]               = \"Mongolian\"\n+    Locale[\"mn\"][\"endonym\"]            = \"\u041c\u043e\u043d\u0433\u043e\u043b\"\n+    Locale[\"mn\"][\"translations-of\"]    = \"%s-\u043d \u043e\u0440\u0447\u0443\u0443\u043b\u0433\u0430\"\n+    Locale[\"mn\"][\"definitions-of\"]     = \"%s \u04af\u0433\u0438\u0439\u043d \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439\u043b\u043e\u043b\u0442\"\n+    Locale[\"mn\"][\"synonyms\"]           = \"\u041e\u0439\u0440\u043e\u043b\u0446\u043e\u043e \u0443\u0442\u0433\u0430\u0442\u0430\u0439\"\n+    Locale[\"mn\"][\"examples\"]           = \"\u0416\u0438\u0448\u044d\u044d\u043d\u04af\u04af\u0434\"\n+    Locale[\"mn\"][\"see-also\"]           = \"\u041c\u04e9\u043d \u0445\u0430\u0440\u0430\u0445\"\n+    Locale[\"mn\"][\"family\"]             = \"Mongolic\"\n+    Locale[\"mn\"][\"iso\"]                = \"mon\"\n+    Locale[\"mn\"][\"glotto\"]             = \"mong1331\"\n+    Locale[\"mn\"][\"script\"]             = \"Cyrl\"\n+\n+    #65 Myanmar \/ Burmese\n+    Locale[\"my\"][\"name\"]               = \"Myanmar\"\n+    Locale[\"my\"][\"endonym\"]            = \"\u1019\u103c\u1014\u103a\u1019\u102c\u1005\u102c\"\n+    Locale[\"my\"][\"translations-of\"]    = \"%s\u104f \u1018\u102c\u101e\u102c\u1015\u103c\u1014\u103a\u1006\u102d\u102f\u1001\u103b\u1000\u103a\u1019\u103b\u102c\u1038\"\n+    Locale[\"my\"][\"definitions-of\"]     = \"%s\u104f \u1021\u1014\u1000\u103a\u1016\u103d\u1004\u103a\u1037\u1006\u102d\u102f\u1001\u103b\u1000\u103a\u1019\u103b\u102c\u1038\"\n+    Locale[\"my\"][\"synonyms\"]           = \"\u1000\u103c\u1031\u102c\u1004\u103a\u1038\u1010\u1030\u101e\u1036\u1000\u103d\u1032\u1019\u103b\u102c\u1038\"\n+    Locale[\"my\"][\"examples\"]           = \"\u1025\u1015\u1019\u102c\"\n+    Locale[\"my\"][\"see-also\"]           = \"\u1016\u1031\u102c\u103a\u1015\u103c\u1015\u102b\u1019\u103b\u102c\u1038\u1000\u102d\u102f\u101c\u1032 \u1000\u103c\u100a\u103a\u1037\u1015\u102b\"\n+    Locale[\"my\"][\"family\"]             = \"Sino-Tibetan\"\n+    Locale[\"my\"][\"iso\"]                = \"mya\"\n+    Locale[\"my\"][\"glotto\"]             = \"nucl1310\"\n+    Locale[\"my\"][\"script\"]             = \"Mymr\"\n+\n+    #66 Nepali\n+    Locale[\"ne\"][\"name\"]               = \"Nepali\"\n+    Locale[\"ne\"][\"endonym\"]            = \"\u0928\u0947\u092a\u093e\u0932\u0940\"\n+    Locale[\"ne\"][\"translations-of\"]    = \"%s\u0915\u093e \u0905\u0928\u0941\u0935\u093e\u0926\"\n+    Locale[\"ne\"][\"definitions-of\"]     = \"%s\u0915\u094b \u092a\u0930\u093f\u092d\u093e\u0937\u093e\"\n+    Locale[\"ne\"][\"synonyms\"]           = \"\u0938\u092e\u093e\u0928\u093e\u0930\u094d\u0925\u0940\u0939\u0930\u0942\"\n+    Locale[\"ne\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\u0939\u0930\u0941\"\n+    Locale[\"ne\"][\"see-also\"]           = \"\u092f\u094b \u092a\u0928\u093f \u0939\u0947\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d\"\n+    Locale[\"ne\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ne\"][\"iso\"]                = \"nep\"\n+    Locale[\"ne\"][\"glotto\"]             = \"nepa1254\"\n+    Locale[\"ne\"][\"script\"]             = \"Deva\"\n+\n+    #67 Norwegian\n+    Locale[\"no\"][\"name\"]               = \"Norwegian\"\n+    Locale[\"no\"][\"endonym\"]            = \"Norsk\"\n+    Locale[\"no\"][\"translations-of\"]    = \"Oversettelser av %s\"\n+    Locale[\"no\"][\"definitions-of\"]     = \"Definisjoner av %s\"\n+    Locale[\"no\"][\"synonyms\"]           = \"Synonymer\"\n+    Locale[\"no\"][\"examples\"]           = \"Eksempler\"\n+    Locale[\"no\"][\"see-also\"]           = \"Se ogs\u00e5\"\n+    Locale[\"no\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"no\"][\"iso\"]                = \"nor\"\n+    Locale[\"no\"][\"glotto\"]             = \"norw1258\"\n+    Locale[\"no\"][\"script\"]             = \"Latn\"\n+\n+    #68 Pashto\n+    Locale[\"ps\"][\"name\"]               = \"Pashto\"\n+    Locale[\"ps\"][\"endonym\"]            = \"\u067e\u069a\u062a\u0648\"\n+    Locale[\"ps\"][\"translations-of\"]    = \"\u062f %s\u0698\u0628\u0627\u0693\u06d0\"\n+    Locale[\"ps\"][\"definitions-of\"]     = \"\u062f%s \u062a\u0639\u0631\u06cc\u0641\u0648\u0646\u0647\"\n+    Locale[\"ps\"][\"synonyms\"]           = \"\u0645\u062a\u0631\u0627\u062f\u0641 \u0644\u063a\u062a\u0648\u0646\u0647\"\n+    Locale[\"ps\"][\"examples\"]           = \"\u0628\u06d0\u0644\u06ab\u06d0\"\n+    Locale[\"ps\"][\"see-also\"]           = \"\u062f\u0627 \u0647\u0645 \u0648\u0648\u06cc\u0646\u0626\"\n+    Locale[\"ps\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ps\"][\"iso\"]                = \"pus\"\n+    Locale[\"ps\"][\"glotto\"]             = \"pash1269\"\n+    Locale[\"ps\"][\"script\"]             = \"Arab\"\n+    Locale[\"ps\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #69 Persian (Western Farsi)\n+    Locale[\"fa\"][\"name\"]               = \"Persian\"\n+    Locale[\"fa\"][\"endonym\"]            = \"\u0641\u0627\u0631\u0633\u06cc\"\n+    Locale[\"fa\"][\"translations-of\"]    = \"\u062a\u0631\u062c\u0645\u0647\u200c\u0647\u0627\u06cc %s\"\n+    Locale[\"fa\"][\"definitions-of\"]     = \"\u062a\u0639\u0631\u06cc\u0641\u200c\u0647\u0627\u06cc %s\"\n+    Locale[\"fa\"][\"synonyms\"]           = \"\u0645\u062a\u0631\u0627\u062f\u0641\u200c\u0647\u0627\"\n+    Locale[\"fa\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u200c\u0647\u0627\"\n+    Locale[\"fa\"][\"see-also\"]           = \"\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647\"\n+    Locale[\"fa\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fa\"][\"iso\"]                = \"fas\"\n+    Locale[\"fa\"][\"glotto\"]             = \"west2369\"\n+    Locale[\"fa\"][\"script\"]             = \"Arab\"\n+    Locale[\"fa\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #70 Polish\n+    Locale[\"pl\"][\"name\"]               = \"Polish\"\n+    Locale[\"pl\"][\"endonym\"]            = \"Polski\"\n+    Locale[\"pl\"][\"translations-of\"]    = \"T\u0142umaczenia %s\"\n+    Locale[\"pl\"][\"definitions-of\"]     = \"%s \u2013 definicje\"\n+    Locale[\"pl\"][\"synonyms\"]           = \"Synonimy\"\n+    Locale[\"pl\"][\"examples\"]           = \"Przyk\u0142ady\"\n+    Locale[\"pl\"][\"see-also\"]           = \"Zobacz te\u017c\"\n+    Locale[\"pl\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"pl\"][\"iso\"]                = \"pol\"\n+    Locale[\"pl\"][\"glotto\"]             = \"poli1260\"\n+    Locale[\"pl\"][\"script\"]             = \"Latn\"\n+\n+    #71 Portuguese\n+    Locale[\"pt\"][\"name\"]               = \"Portuguese\"\n+    Locale[\"pt\"][\"endonym\"]            = \"Portugu\u00eas\"\n+    Locale[\"pt\"][\"translations-of\"]    = \"Tradu\u00e7\u00f5es de %s\"\n+    Locale[\"pt\"][\"definitions-of\"]     = \"Defini\u00e7\u00f5es de %s\"\n+    Locale[\"pt\"][\"synonyms\"]           = \"Sin\u00f4nimos\"\n+    Locale[\"pt\"][\"examples\"]           = \"Exemplos\"\n+    Locale[\"pt\"][\"see-also\"]           = \"Veja tamb\u00e9m\"\n+    Locale[\"pt\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"pt\"][\"iso\"]                = \"por\"\n+    Locale[\"pt\"][\"glotto\"]             = \"port1283\"\n+    Locale[\"pt\"][\"script\"]             = \"Latn\"\n+    Locale[\"pt\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #72 Punjabi, Gurmukh\u012b alphabet\n+    Locale[\"pa\"][\"name\"]               = \"Punjabi\"\n+    Locale[\"pa\"][\"endonym\"]            = \"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40\"\n+    Locale[\"pa\"][\"translations-of\"]    = \"\u0a26\u0a47 \u0a05\u0a28\u0a41\u0a35\u0a3e\u0a26%s\"\n+    Locale[\"pa\"][\"definitions-of\"]     = \"\u0a26\u0a40\u0a06\u0a02 \u0a2a\u0a30\u0a3f\u0a2d\u0a3e\u0a38\u0a3c\u0a3e %s\"\n+    Locale[\"pa\"][\"synonyms\"]           = \"\u0a38\u0a2e\u0a3e\u0a28\u0a3e\u0a30\u0a25\u0a15 \u0a36\u0a2c\u0a26\"\n+    Locale[\"pa\"][\"examples\"]           = \"\u0a09\u0a26\u0a3e\u0a39\u0a30\u0a23\u0a3e\u0a02\"\n+    Locale[\"pa\"][\"see-also\"]           = \"\u0a07\u0a39 \u0a35\u0a40 \u0a35\u0a47\u0a16\u0a4b\"\n+    Locale[\"pa\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"pa\"][\"iso\"]                = \"pan\"\n+    Locale[\"pa\"][\"glotto\"]             = \"panj1256\"\n+    Locale[\"pa\"][\"script\"]             = \"Guru\"\n+\n+    #73 Romanian\n+    Locale[\"ro\"][\"name\"]               = \"Romanian\"\n+    Locale[\"ro\"][\"endonym\"]            = \"Rom\u00e2n\u0103\"\n+    Locale[\"ro\"][\"translations-of\"]    = \"Traduceri pentru %s\"\n+    Locale[\"ro\"][\"definitions-of\"]     = \"Defini\u021bii pentru %s\"\n+    Locale[\"ro\"][\"synonyms\"]           = \"Sinonime\"\n+    Locale[\"ro\"][\"examples\"]           = \"Exemple\"\n+    Locale[\"ro\"][\"see-also\"]           = \"Vede\u021bi \u0219i\"\n+    Locale[\"ro\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ro\"][\"iso\"]                = \"ron\"\n+    Locale[\"ro\"][\"glotto\"]             = \"roma1327\"\n+    Locale[\"ro\"][\"script\"]             = \"Latn\"\n+\n+    #74 Russian\n+    Locale[\"ru\"][\"name\"]               = \"Russian\"\n+    Locale[\"ru\"][\"endonym\"]            = \"\u0420\u0443\u0441\u0441\u043a\u0438\u0439\"\n+    Locale[\"ru\"][\"translations-of\"]    = \"%s: \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430\"\n+    Locale[\"ru\"][\"definitions-of\"]     = \"%s \u2013 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f\"\n+    Locale[\"ru\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u044b\"\n+    Locale[\"ru\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u044b\"\n+    Locale[\"ru\"][\"see-also\"]           = \"\u041f\u043e\u0445\u043e\u0436\u0438\u0435 \u0441\u043b\u043e\u0432\u0430\"\n+    Locale[\"ru\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ru\"][\"iso\"]                = \"rus\"\n+    Locale[\"ru\"][\"glotto\"]             = \"russ1263\"\n+    Locale[\"ru\"][\"script\"]             = \"Cyrl\"\n+    Locale[\"ru\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #75 Samoan\n+    Locale[\"sm\"][\"name\"]               = \"Samoan\"\n+    Locale[\"sm\"][\"endonym\"]            = \"Gagana S\u0101moa\"\n+    #Locale[\"sm\"][\"translations-of\"]\n+    #Locale[\"sm\"][\"definitions-of\"]\n+    #Locale[\"sm\"][\"synonyms\"]\n+    #Locale[\"sm\"][\"examples\"]\n+    #Locale[\"sm\"][\"see-also\"]\n+    Locale[\"sm\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"sm\"][\"iso\"]                = \"smo\"\n+    Locale[\"sm\"][\"glotto\"]             = \"samo1305\"\n+    Locale[\"sm\"][\"script\"]             = \"Latn\"\n+\n+    #76 Scots Gaelic\n+    Locale[\"gd\"][\"name\"]               = \"Scots Gaelic\"\n+    Locale[\"gd\"][\"endonym\"]            = \"G\u00e0idhlig\"\n+    Locale[\"gd\"][\"translations-of\"]    = \"Eadar-theangachadh airson %s\"\n+    Locale[\"gd\"][\"definitions-of\"]     = \"Deifiniseanan airson %s\"\n+    Locale[\"gd\"][\"synonyms\"]           = \"Co-fhaclan\"\n+    Locale[\"gd\"][\"examples\"]           = \"Buill-eisimpleir\"\n+    Locale[\"gd\"][\"see-also\"]           = \"Faic na leanas cuideachd\"\n+    Locale[\"gd\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"gd\"][\"iso\"]                = \"gla\"\n+    Locale[\"gd\"][\"glotto\"]             = \"scot1245\"\n+    Locale[\"gd\"][\"script\"]             = \"Latn\"\n+\n+    #77a Serbian, Cyrillic alphabet\n+    Locale[\"sr-Cyrl\"][\"name\"]          = \"Serbian (Cyrillic)\"\n+    Locale[\"sr-Cyrl\"][\"endonym\"]       = \"\u0441\u0440\u043f\u0441\u043a\u0438\"\n+    Locale[\"sr-Cyrl\"][\"translations-of\"] = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u0437\u0430 \u201e%s\u201c\"\n+    Locale[\"sr-Cyrl\"][\"definitions-of\"]  = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0458\u0435 \u0437\u0430 %s\"\n+    Locale[\"sr-Cyrl\"][\"synonyms\"]      = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n+    Locale[\"sr-Cyrl\"][\"examples\"]      = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n+    Locale[\"sr-Cyrl\"][\"see-also\"]      = \"\u041f\u043e\u0433\u043b\u0435\u0434\u0430\u0458\u0442\u0435 \u0442\u0430\u043a\u043e\u0452\u0435\"\n+    Locale[\"sr-Cyrl\"][\"family\"]        = \"Indo-European\"\n+    Locale[\"sr-Cyrl\"][\"iso\"]           = \"srp-Cyrl\"\n+    Locale[\"sr-Cyrl\"][\"glotto\"]        = \"serb1264\"\n+    Locale[\"sr-Cyrl\"][\"script\"]        = \"Cyrl\"\n+\n+    #77b Serbian, Latin alphabet\n+    Locale[\"sr-Latn\"][\"name\"]          = \"Serbian (Latin)\"\n+    Locale[\"sr-Latn\"][\"endonym\"]       = \"srpski\"\n+    Locale[\"sr-Latn\"][\"translations-of\"] = \"Prevodi za \u201e%s\u201c\"\n+    Locale[\"sr-Latn\"][\"definitions-of\"]  = \"Definicije za %s\"\n+    Locale[\"sr-Latn\"][\"synonyms\"]      = \"Sinonimi\"\n+    Locale[\"sr-Latn\"][\"examples\"]      = \"Primeri\"\n+    Locale[\"sr-Latn\"][\"see-also\"]      = \"Pogledajte tako\u0111e\"\n+    Locale[\"sr-Latn\"][\"family\"]        = \"Indo-European\"\n+    Locale[\"sr-Latn\"][\"iso\"]           = \"srp-Latn\"\n+    Locale[\"sr-Latn\"][\"glotto\"]        = \"serb1264\"\n+    Locale[\"sr-Latn\"][\"script\"]        = \"Latn\"\n+\n+    #78 Sesotho (Southern Sotho)\n+    Locale[\"st\"][\"name\"]               = \"Sesotho\"\n+    Locale[\"st\"][\"endonym\"]            = \"Sesotho\"\n+    Locale[\"st\"][\"translations-of\"]    = \"Liphetolelo tsa %s\"\n+    Locale[\"st\"][\"definitions-of\"]     = \"Meelelo ea %s\"\n+    Locale[\"st\"][\"synonyms\"]           = \"Mantsoe a t\u0161oanang ka moelelo\"\n+    Locale[\"st\"][\"examples\"]           = \"Mehlala\"\n+    Locale[\"st\"][\"see-also\"]           = \"Bona hape\"\n+    Locale[\"st\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"st\"][\"iso\"]                = \"sot\"\n+    Locale[\"st\"][\"glotto\"]             = \"sout2807\"\n+    Locale[\"st\"][\"script\"]             = \"Latn\"\n+\n+    #79 Shona\n+    Locale[\"sn\"][\"name\"]               = \"Shona\"\n+    Locale[\"sn\"][\"endonym\"]            = \"chiShona\"\n+    Locale[\"sn\"][\"translations-of\"]    = \"Shanduro dze %s\"\n+    Locale[\"sn\"][\"definitions-of\"]     = \"Zvinoreva %s\"\n+    Locale[\"sn\"][\"synonyms\"]           = \"Mashoko anoreva zvakafana nemamwe\"\n+    Locale[\"sn\"][\"examples\"]           = \"Mienzaniso\"\n+    Locale[\"sn\"][\"see-also\"]           = \"Onawo\"\n+    Locale[\"sn\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"sn\"][\"iso\"]                = \"sna\"\n+    Locale[\"sn\"][\"glotto\"]             = \"core1255\"\n+    Locale[\"sn\"][\"script\"]             = \"Latn\"\n+\n+    #80 Sindhi\n+    Locale[\"sd\"][\"name\"]               = \"Sindhi\"\n+    Locale[\"sd\"][\"endonym\"]            = \"\u0633\u0646\u068c\u064a\"\n+    Locale[\"sd\"][\"translations-of\"]    = \"%s \u062c\u0648 \u062a\u0631\u062c\u0645\u0648\"\n+    Locale[\"sd\"][\"definitions-of\"]     = \"%s \u062c\u0648\u0646 \u0648\u0635\u0641\u0648\u0646\"\n+    Locale[\"sd\"][\"synonyms\"]           = \"\u0647\u0645 \u0645\u0639\u0646\u064a\"\n+    Locale[\"sd\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u0648\u0646\"\n+    Locale[\"sd\"][\"see-also\"]           = \"\u0628\u0647 \u068f\u0633\u0648\"\n+    Locale[\"sd\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sd\"][\"iso\"]                = \"snd\"\n+    Locale[\"sd\"][\"glotto\"]             = \"sind1272\"\n+    Locale[\"sd\"][\"script\"]             = \"Arab\"\n+    Locale[\"sd\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #81 Sinhala\n+    Locale[\"si\"][\"name\"]               = \"Sinhala\"\n+    Locale[\"si\"][\"endonym\"]            = \"\u0dc3\u0dd2\u0d82\u0dc4\u0dbd\"\n+    Locale[\"si\"][\"translations-of\"]    = \"%s \u0dc4\u0dd2 \u0db4\u0dbb\u0dd2\u0dc0\u0dbb\u0dca\u0dad\u0db1\"\n+    Locale[\"si\"][\"definitions-of\"]     = \"%s \u0dc4\u0dd2 \u0db1\u0dd2\u0dbb\u0dca\u0dc0\u0da0\u0db1\"\n+    Locale[\"si\"][\"synonyms\"]           = \"\u0dc3\u0db8\u0dcf\u0db1\u0dcf\u0dbb\u0dca\u0dae \u0db4\u0daf\"\n+    Locale[\"si\"][\"examples\"]           = \"\u0d8b\u0daf\u0dcf\u0dc4\u0dbb\u0dab\"\n+    Locale[\"si\"][\"see-also\"]           = \"\u0db8\u0dd9\u0dba\u0dad\u0dca \u0db6\u0dbd\u0db1\u0dca\u0db1\"\n+    Locale[\"si\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"si\"][\"iso\"]                = \"sin\"\n+    Locale[\"si\"][\"glotto\"]             = \"sinh1246\"\n+    Locale[\"si\"][\"script\"]             = \"Sinh\"\n+\n+    #82 Slovak\n+    Locale[\"sk\"][\"name\"]               = \"Slovak\"\n+    Locale[\"sk\"][\"endonym\"]            = \"Sloven\u010dina\"\n+    Locale[\"sk\"][\"translations-of\"]    = \"Preklady v\u00fdrazu: %s\"\n+    Locale[\"sk\"][\"definitions-of\"]     = \"Defin\u00edcie v\u00fdrazu %s\"\n+    Locale[\"sk\"][\"synonyms\"]           = \"Synonym\u00e1\"\n+    Locale[\"sk\"][\"examples\"]           = \"Pr\u00edklady\"\n+    Locale[\"sk\"][\"see-also\"]           = \"Pozrite tie\u017e\"\n+    Locale[\"sk\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sk\"][\"iso\"]                = \"slk\"\n+    Locale[\"sk\"][\"glotto\"]             = \"slov1269\"\n+    Locale[\"sk\"][\"script\"]             = \"Latn\"\n+\n+    #83 Slovenian \/ Slovene\n+    Locale[\"sl\"][\"name\"]               = \"Slovenian\"\n+    Locale[\"sl\"][\"endonym\"]            = \"Sloven\u0161\u010dina\"\n+    Locale[\"sl\"][\"translations-of\"]    = \"Prevodi za %s\"\n+    Locale[\"sl\"][\"definitions-of\"]     = \"Razlage za %s\"\n+    Locale[\"sl\"][\"synonyms\"]           = \"Sopomenke\"\n+    Locale[\"sl\"][\"examples\"]           = \"Primeri\"\n+    Locale[\"sl\"][\"see-also\"]           = \"Glejte tudi\"\n+    Locale[\"sl\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sl\"][\"iso\"]                = \"slv\"\n+    Locale[\"sl\"][\"glotto\"]             = \"slov1268\"\n+    Locale[\"sl\"][\"script\"]             = \"Latn\"\n+\n+    #84 Somali\n+    Locale[\"so\"][\"name\"]               = \"Somali\"\n+    Locale[\"so\"][\"endonym\"]            = \"Soomaali\"\n+    Locale[\"so\"][\"translations-of\"]    = \"Turjumaada %s\"\n+    Locale[\"so\"][\"definitions-of\"]     = \"Qeexitaannada %s\"\n+    Locale[\"so\"][\"synonyms\"]           = \"La micne ah\"\n+    Locale[\"so\"][\"examples\"]           = \"Tusaalooyin\"\n+    Locale[\"so\"][\"see-also\"]           = \"Sidoo kale eeg\"\n+    Locale[\"so\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"so\"][\"iso\"]                = \"som\"\n+    Locale[\"so\"][\"glotto\"]             = \"soma1255\"\n+    Locale[\"so\"][\"script\"]             = \"Latn\"\n+\n+    #85 Spanish\n+    Locale[\"es\"][\"name\"]               = \"Spanish\"\n+    Locale[\"es\"][\"endonym\"]            = \"Espa\u00f1ol\"\n+    Locale[\"es\"][\"translations-of\"]    = \"Traducciones de %s\"\n+    Locale[\"es\"][\"definitions-of\"]     = \"Definiciones de %s\"\n+    Locale[\"es\"][\"synonyms\"]           = \"Sin\u00f3nimos\"\n+    Locale[\"es\"][\"examples\"]           = \"Ejemplos\"\n+    Locale[\"es\"][\"see-also\"]           = \"Ver tambi\u00e9n\"\n+    Locale[\"es\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"es\"][\"iso\"]                = \"spa\"\n+    Locale[\"es\"][\"glotto\"]             = \"stan1288\"\n+    Locale[\"es\"][\"script\"]             = \"Latn\"\n+    Locale[\"es\"][\"dictionary\"]         = \"true\" # has dictionary\n+\n+    #86 Sundanese, Latin alphabet\n+    Locale[\"su\"][\"name\"]               = \"Sundanese\"\n+    Locale[\"su\"][\"endonym\"]            = \"Basa Sunda\"\n+    Locale[\"su\"][\"translations-of\"]    = \"Tarjamahan tina %s\"\n+    Locale[\"su\"][\"definitions-of\"]     = \"Panjelasan tina %s\"\n+    Locale[\"su\"][\"synonyms\"]           = \"Sinonim\"\n+    Locale[\"su\"][\"examples\"]           = \"Conto\"\n+    Locale[\"su\"][\"see-also\"]           = \"Tingali og\u00e9\"\n+    Locale[\"su\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"su\"][\"iso\"]                = \"sun\"\n+    Locale[\"su\"][\"glotto\"]             = \"sund1252\"\n+    Locale[\"su\"][\"script\"]             = \"Latn\"\n+\n+    #87 Swahili\n+    Locale[\"sw\"][\"name\"]               = \"Swahili\"\n+    Locale[\"sw\"][\"endonym\"]            = \"Kiswahili\"\n+    Locale[\"sw\"][\"translations-of\"]    = \"Tafsiri ya %s\"\n+    Locale[\"sw\"][\"definitions-of\"]     = \"Ufafanuzi wa %s\"\n+    Locale[\"sw\"][\"synonyms\"]           = \"Visawe\"\n+    Locale[\"sw\"][\"examples\"]           = \"Mifano\"\n+    Locale[\"sw\"][\"see-also\"]           = \"Angalia pia\"\n+    Locale[\"sw\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"sw\"][\"iso\"]                = \"swa\"\n+    Locale[\"sw\"][\"glotto\"]             = \"swah1253\"\n+    Locale[\"sw\"][\"script\"]             = \"Latn\"\n+\n+    #88 Swedish\n+    Locale[\"sv\"][\"name\"]               = \"Swedish\"\n+    Locale[\"sv\"][\"endonym\"]            = \"Svenska\"\n+    Locale[\"sv\"][\"translations-of\"]    = \"\u00d6vers\u00e4ttningar av %s\"\n+    Locale[\"sv\"][\"definitions-of\"]     = \"Definitioner av %s\"\n+    Locale[\"sv\"][\"synonyms\"]           = \"Synonymer\"\n+    Locale[\"sv\"][\"examples\"]           = \"Exempel\"\n+    Locale[\"sv\"][\"see-also\"]           = \"Se \u00e4ven\"\n+    Locale[\"sv\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sv\"][\"iso\"]                = \"swe\"\n+    Locale[\"sv\"][\"glotto\"]             = \"swed1254\"\n+    Locale[\"sv\"][\"script\"]             = \"Latn\"\n+\n+    #89 Tajik, Cyrillic alphabet\n+    Locale[\"tg\"][\"name\"]               = \"Tajik\"\n+    Locale[\"tg\"][\"endonym\"]            = \"\u0422\u043e\u04b7\u0438\u043a\u04e3\"\n+    Locale[\"tg\"][\"translations-of\"]    = \"\u0422\u0430\u0440\u04b7\u0443\u043c\u0430\u04b3\u043e\u0438 %s\"\n+    Locale[\"tg\"][\"definitions-of\"]     = \"\u0422\u0430\u044a\u0440\u0438\u0444\u04b3\u043e\u0438 %s\"\n+    Locale[\"tg\"][\"synonyms\"]           = \"\u041c\u0443\u0440\u043e\u0434\u0438\u0444\u04b3\u043e\"\n+    Locale[\"tg\"][\"examples\"]           = \"\u041d\u0430\u043c\u0443\u043d\u0430\u04b3\u043e:\"\n+    Locale[\"tg\"][\"see-also\"]           = \"\u04b2\u0430\u043c\u0447\u0443\u043d\u0438\u043d \u0411\u0438\u043d\u0435\u0434\"\n+    Locale[\"tg\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"tg\"][\"iso\"]                = \"tgk\"\n+    Locale[\"tg\"][\"glotto\"]             = \"taji1245\"\n+    Locale[\"tg\"][\"script\"]             = \"Cyrl\"\n+\n+    #90 Tamil\n+    Locale[\"ta\"][\"name\"]               = \"Tamil\"\n+    Locale[\"ta\"][\"endonym\"]            = \"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd\"\n+    Locale[\"ta\"][\"translations-of\"]    = \"%s \u0b87\u0ba9\u0bcd \u0bae\u0bca\u0bb4\u0bbf\u0baa\u0bc6\u0baf\u0bb0\u0bcd\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bcd\"\n+    Locale[\"ta\"][\"definitions-of\"]     = \"%s \u0b87\u0ba9\u0bcd \u0bb5\u0bb0\u0bc8\u0baf\u0bb1\u0bc8\u0b95\u0bb3\u0bcd\"\n+    Locale[\"ta\"][\"synonyms\"]           = \"\u0b87\u0ba3\u0bc8\u0b9a\u0bcd\u0b9a\u0bca\u0bb1\u0bcd\u0b95\u0bb3\u0bcd\"\n+    Locale[\"ta\"][\"examples\"]           = \"\u0b8e\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4\u0bc1\u0b95\u0bcd\u0b95\u0bbe\u0b9f\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd\"\n+    Locale[\"ta\"][\"see-also\"]           = \"\u0b87\u0ba4\u0bc8\u0baf\u0bc1\u0bae\u0bcd \u0b95\u0bbe\u0ba3\u0bcd\u0b95\"\n+    Locale[\"ta\"][\"family\"]             = \"Dravidian\"\n+    Locale[\"ta\"][\"iso\"]                = \"tam\"\n+    Locale[\"ta\"][\"glotto\"]             = \"tami1289\"\n+    Locale[\"ta\"][\"script\"]             = \"Taml\"\n+\n+    #91 Telugu\n+    Locale[\"te\"][\"name\"]               = \"Telugu\"\n+    Locale[\"te\"][\"endonym\"]            = \"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41\"\n+    Locale[\"te\"][\"translations-of\"]    = \"%s \u0c2f\u0c4a\u0c15\u0c4d\u0c15 \u0c05\u0c28\u0c41\u0c35\u0c3e\u0c26\u0c3e\u0c32\u0c41\"\n+    Locale[\"te\"][\"definitions-of\"]     = \"%s \u0c2f\u0c4a\u0c15\u0c4d\u0c15 \u0c28\u0c3f\u0c30\u0c4d\u0c35\u0c1a\u0c28\u0c3e\u0c32\u0c41\"\n+    Locale[\"te\"][\"synonyms\"]           = \"\u0c2a\u0c30\u0c4d\u0c2f\u0c3e\u0c2f\u0c2a\u0c26\u0c3e\u0c32\u0c41\"\n+    Locale[\"te\"][\"examples\"]           = \"\u0c09\u0c26\u0c3e\u0c39\u0c30\u0c23\u0c32\u0c41\"\n+    Locale[\"te\"][\"see-also\"]           = \"\u0c35\u0c40\u0c1f\u0c3f\u0c28\u0c3f \u0c15\u0c42\u0c21\u0c3e \u0c1a\u0c42\u0c21\u0c02\u0c21\u0c3f\"\n+    Locale[\"te\"][\"family\"]             = \"Dravidian\"\n+    Locale[\"te\"][\"iso\"]                = \"tel\"\n+    Locale[\"te\"][\"glotto\"]             = \"telu1262\"\n+    Locale[\"te\"][\"script\"]             = \"Telu\"\n+\n+    #92 Thai\n+    Locale[\"th\"][\"name\"]               = \"Thai\"\n+    Locale[\"th\"][\"endonym\"]            = \"\u0e44\u0e17\u0e22\"\n+    Locale[\"th\"][\"translations-of\"]    = \"\u0e04\u0e33\u0e41\u0e1b\u0e25\u0e02\u0e2d\u0e07 %s\"\n+    Locale[\"th\"][\"definitions-of\"]     = \"\u0e04\u0e33\u0e08\u0e33\u0e01\u0e31\u0e14\u0e04\u0e27\u0e32\u0e21\u0e02\u0e2d\u0e07 %s\"\n+    Locale[\"th\"][\"synonyms\"]           = \"\u0e04\u0e33\u0e1e\u0e49\u0e2d\u0e07\u0e04\u0e27\u0e32\u0e21\u0e2b\u0e21\u0e32\u0e22\"\n+    Locale[\"th\"][\"examples\"]           = \"\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\"\n+    Locale[\"th\"][\"see-also\"]           = \"\u0e14\u0e39\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\"\n+    Locale[\"th\"][\"family\"]             = \"Tai-Kadai\"\n+    Locale[\"th\"][\"iso\"]                = \"tha\"\n+    Locale[\"th\"][\"glotto\"]             = \"thai1261\"\n+    Locale[\"th\"][\"script\"]             = \"Thai\"\n+\n+    #93 Turkish\n+    Locale[\"tr\"][\"name\"]               = \"Turkish\"\n+    Locale[\"tr\"][\"endonym\"]            = \"T\u00fcrk\u00e7e\"\n+    Locale[\"tr\"][\"translations-of\"]    = \"%s \u00e7evirileri\"\n+    Locale[\"tr\"][\"definitions-of\"]     = \"%s i\u00e7in tan\u0131mlar\"\n+    Locale[\"tr\"][\"synonyms\"]           = \"E\u015f anlaml\u0131lar\"\n+    Locale[\"tr\"][\"examples\"]           = \"\u00d6rnekler\"\n+    Locale[\"tr\"][\"see-also\"]           = \"Ayr\u0131ca bkz.\"\n+    Locale[\"tr\"][\"family\"]             = \"Turkic\"\n+    Locale[\"tr\"][\"iso\"]                = \"tur\"\n+    Locale[\"tr\"][\"glotto\"]             = \"nucl1301\"\n+    Locale[\"tr\"][\"script\"]             = \"Latn\"\n+\n+    #94 Ukrainian\n+    Locale[\"uk\"][\"name\"]               = \"Ukrainian\"\n+    Locale[\"uk\"][\"endonym\"]            = \"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430\"\n+    Locale[\"uk\"][\"translations-of\"]    = \"\u041f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u0438 \u0441\u043b\u043e\u0432\u0430 \u0430\u0431\u043e \u0432\u0438\u0440\u0430\u0437\u0443 \\\"%s\\\"\"\n+    Locale[\"uk\"][\"definitions-of\"]     = \"\\\"%s\\\" \u2013 \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\"\n+    Locale[\"uk\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0456\u043c\u0438\"\n+    Locale[\"uk\"][\"examples\"]           = \"\u041f\u0440\u0438\u043a\u043b\u0430\u0434\u0438\"\n+    Locale[\"uk\"][\"see-also\"]           = \"\u0414\u0438\u0432\u0456\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u043e\u0436\"\n+    Locale[\"uk\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"uk\"][\"iso\"]                = \"ukr\"\n+    Locale[\"uk\"][\"glotto\"]             = \"ukra1253\"\n+    Locale[\"uk\"][\"script\"]             = \"Cyrl\"\n+\n+    #95 Urdu\n+    Locale[\"ur\"][\"name\"]               = \"Urdu\"\n+    Locale[\"ur\"][\"endonym\"]            = \"\u0627\u064f\u0631\u062f\u064f\u0648\"\n+    Locale[\"ur\"][\"translations-of\"]    = \"\u06a9\u06d2 \u062a\u0631\u062c\u0645\u06d2 %s\"\n+    Locale[\"ur\"][\"definitions-of\"]     = \"\u06a9\u06cc \u062a\u0639\u0631\u06cc\u0641\u0627\u062a %s\"\n+    Locale[\"ur\"][\"synonyms\"]           = \"\u0645\u062a\u0631\u0627\u062f\u0641\u0627\u062a\"\n+    Locale[\"ur\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u06cc\u06ba\"\n+    Locale[\"ur\"][\"see-also\"]           = \"\u0646\u06cc\u0632 \u062f\u06cc\u06a9\u06be\u06cc\u06ba\"\n+    Locale[\"ur\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ur\"][\"iso\"]                = \"urd\"\n+    Locale[\"ur\"][\"glotto\"]             = \"urdu1245\"\n+    Locale[\"ur\"][\"script\"]             = \"Arab\"\n+    Locale[\"ur\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #96 Uzbek, Latin alphabet\n+    Locale[\"uz\"][\"name\"]               = \"Uzbek\"\n+    Locale[\"uz\"][\"endonym\"]            = \"O\u02bbzbek tili\"\n+    Locale[\"uz\"][\"translations-of\"]    = \"%s: tarjima variantlari\"\n+    Locale[\"uz\"][\"definitions-of\"]     = \"%s \u2013 ta\u2019riflar\"\n+    Locale[\"uz\"][\"synonyms\"]           = \"Sinonimlar\"\n+    Locale[\"uz\"][\"examples\"]           = \"Namunalar\"\n+    Locale[\"uz\"][\"see-also\"]           = \"O\u2018xshash so\u2018zlar\"\n+    Locale[\"uz\"][\"family\"]             = \"Turkic\"\n+    Locale[\"uz\"][\"iso\"]                = \"uzb\"\n+    Locale[\"uz\"][\"glotto\"]             = \"uzbe1247\"\n+    Locale[\"uz\"][\"script\"]             = \"Latn\"\n+\n+    #97 Vietnamese\n+    Locale[\"vi\"][\"name\"]               = \"Vietnamese\"\n+    Locale[\"vi\"][\"endonym\"]            = \"Ti\u1ebfng Vi\u1ec7t\"\n+    Locale[\"vi\"][\"translations-of\"]    = \"B\u1ea3n d\u1ecbch c\u1ee7a %s\"\n+    Locale[\"vi\"][\"definitions-of\"]     = \"Ngh\u0129a c\u1ee7a %s\"\n+    Locale[\"vi\"][\"synonyms\"]           = \"T\u1eeb \u0111\u1ed3ng ngh\u0129a\"\n+    Locale[\"vi\"][\"examples\"]           = \"V\u00ed d\u1ee5\"\n+    Locale[\"vi\"][\"see-also\"]           = \"Xem th\u00eam\"\n+    Locale[\"vi\"][\"family\"]             = \"Austroasiatic\"\n+    Locale[\"vi\"][\"iso\"]                = \"vie\"\n+    Locale[\"vi\"][\"glotto\"]             = \"viet1252\"\n+    Locale[\"vi\"][\"script\"]             = \"Latn\"\n+\n+    #98 Welsh\n+    Locale[\"cy\"][\"name\"]               = \"Welsh\"\n+    Locale[\"cy\"][\"endonym\"]            = \"Cymraeg\"\n+    Locale[\"cy\"][\"translations-of\"]    = \"Cyfieithiadau %s\"\n+    Locale[\"cy\"][\"definitions-of\"]     = \"Diffiniadau %s\"\n+    Locale[\"cy\"][\"synonyms\"]           = \"Cyfystyron\"\n+    Locale[\"cy\"][\"examples\"]           = \"Enghreifftiau\"\n+    Locale[\"cy\"][\"see-also\"]           = \"Gweler hefyd\"\n+    Locale[\"cy\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"cy\"][\"iso\"]                = \"cym\"\n+    Locale[\"cy\"][\"glotto\"]             = \"wels1247\"\n+    Locale[\"cy\"][\"script\"]             = \"Latn\"\n+\n+    #99 West Frisian\n+    Locale[\"fy\"][\"name\"]               = \"Frisian\"\n+    Locale[\"fy\"][\"endonym\"]            = \"Frysk\"\n+    Locale[\"fy\"][\"translations-of\"]    = \"Oersettings fan %s\"\n+    Locale[\"fy\"][\"definitions-of\"]     = \"Definysjes fan %s\"\n+    Locale[\"fy\"][\"synonyms\"]           = \"Synonimen\"\n+    Locale[\"fy\"][\"examples\"]           = \"Foarbylden\"\n+    Locale[\"fy\"][\"see-also\"]           = \"Sjoch ek\"\n+    Locale[\"fy\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fy\"][\"iso\"]                = \"fry\"\n+    Locale[\"fy\"][\"glotto\"]             = \"west2354\"\n+    Locale[\"fy\"][\"script\"]             = \"Latn\"\n+\n+    #100 Xhosa\n+    Locale[\"xh\"][\"name\"]               = \"Xhosa\"\n+    Locale[\"xh\"][\"endonym\"]            = \"isiXhosa\"\n+    Locale[\"xh\"][\"translations-of\"]    = \"Iinguqulelo zika-%s\"\n+    Locale[\"xh\"][\"definitions-of\"]     = \"Iingcaciso zika-%s\"\n+    Locale[\"xh\"][\"synonyms\"]           = \"Izithethantonye\"\n+    Locale[\"xh\"][\"examples\"]           = \"Imizekelo\"\n+    Locale[\"xh\"][\"see-also\"]           = \"Kwakhona bona\"\n+    Locale[\"xh\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"xh\"][\"iso\"]                = \"xho\"\n+    Locale[\"xh\"][\"glotto\"]             = \"xhos1239\"\n+    Locale[\"xh\"][\"script\"]             = \"Latn\"\n+\n+    #101 Yiddish\n+    Locale[\"yi\"][\"name\"]               = \"Yiddish\"\n+    Locale[\"yi\"][\"endonym\"]            = \"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9\"\n+    Locale[\"yi\"][\"translations-of\"]    = \"\u05d0\u05d9\u05d1\u05e2\u05e8\u05d6\u05e2\u05e6\u05d5\u05e0\u05d2\u05e2\u05df \u05e4\u05d5\u05df %s\"\n+    Locale[\"yi\"][\"definitions-of\"]     = \"\u05d3\u05e4\u05d9\u05e0\u05d9\u05e6\u05d9\u05d5\u05e0\u05e2\u05df %s\"\n+    Locale[\"yi\"][\"synonyms\"]           = \"\u05e1\u05d9\u05e0\u05d0\u05b8\u05e0\u05d9\u05de\u05e2\u05df\"\n+    Locale[\"yi\"][\"examples\"]           = \"\u05d1\u05d9\u05d9\u05e9\u05e4\u05d9\u05dc\u05e2\"\n+    Locale[\"yi\"][\"see-also\"]           = \"\u05d6\u05d9\u05d9\u05e2\u05df \u05d0\u05d5\u05d9\u05da\"\n+    Locale[\"yi\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"yi\"][\"iso\"]                = \"yid\"\n+    Locale[\"yi\"][\"glotto\"]             = \"yidd1255\"\n+    Locale[\"yi\"][\"script\"]             = \"Hebr\"\n+    Locale[\"yi\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #102 Yoruba\n+    Locale[\"yo\"][\"name\"]               = \"Yoruba\"\n+    Locale[\"yo\"][\"endonym\"]            = \"Yor\u00f9b\u00e1\"\n+    Locale[\"yo\"][\"translations-of\"]    = \"Aw\u1ecdn itum\u1ecd ti %s\"\n+    Locale[\"yo\"][\"definitions-of\"]     = \"Aw\u1ecdn itum\u1ecd ti %s\"\n+    Locale[\"yo\"][\"synonyms\"]           = \"Aw\u1ecdn \u1ecdr\u1ecd onitum\u1ecd\"\n+    Locale[\"yo\"][\"examples\"]           = \"Aw\u1ecdn ap\u1eb9r\u1eb9\"\n+    Locale[\"yo\"][\"see-also\"]           = \"Tun wo\"\n+    Locale[\"yo\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"yo\"][\"iso\"]                = \"yor\"\n+    Locale[\"yo\"][\"glotto\"]             = \"yoru1245\"\n+    Locale[\"yo\"][\"script\"]             = \"Latn\"\n+\n+    #103 Zulu\n+    Locale[\"zu\"][\"name\"]               = \"Zulu\"\n+    Locale[\"zu\"][\"endonym\"]            = \"isiZulu\"\n+    Locale[\"zu\"][\"translations-of\"]    = \"Ukuhumusha i-%s\"\n+    Locale[\"zu\"][\"definitions-of\"]     = \"Izincazelo ze-%s\"\n+    Locale[\"zu\"][\"synonyms\"]           = \"Amagama afanayo\"\n+    Locale[\"zu\"][\"examples\"]           = \"Izibonelo\"\n+    Locale[\"zu\"][\"see-also\"]           = \"Bheka futhi\"\n+    Locale[\"zu\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"zu\"][\"iso\"]                = \"zul\"\n+    Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n+    Locale[\"zu\"][\"script\"]             = \"Latn\"\n+\n+    #* Hmong Daw\n+    Locale[\"mww\"][\"support\"]           = \"bing-only\"\n+    Locale[\"mww\"][\"name\"]              = \"Hmong Daw\"\n+    Locale[\"mww\"][\"endonym\"]           = \"Hmoob Daw\"\n+    Locale[\"mww\"][\"family\"]            = \"Hmong-Mien\"\n+    Locale[\"mww\"][\"iso\"]               = \"mww\"\n+    Locale[\"mww\"][\"glotto\"]            = \"hmon1333\"\n+    Locale[\"mww\"][\"script\"]            = \"Latn\"\n+\n+    #* Quer\u00e9taro Otomi\n+    Locale[\"otq\"][\"support\"]           = \"bing-only\"\n+    Locale[\"otq\"][\"name\"]              = \"Quer\u00e9taro Otomi\"\n+    Locale[\"otq\"][\"endonym\"]           = \"H\u00f1\u0105\u00f1ho\"\n+    Locale[\"otq\"][\"family\"]            = \"Oto-Manguean\"\n+    Locale[\"otq\"][\"iso\"]               = \"otq\"\n+    Locale[\"otq\"][\"glotto\"]            = \"quer1236\"\n+    Locale[\"otq\"][\"script\"]            = \"Latn\"\n+\n+    #* Yucatec Maya\n+    Locale[\"yua\"][\"support\"]           = \"bing-only\"\n+    Locale[\"yua\"][\"name\"]              = \"Yucatec Maya\"\n+    Locale[\"yua\"][\"endonym\"]           = \"M\u00e0aya T'\u00e0an\"\n+    Locale[\"yua\"][\"family\"]            = \"Mayan\"\n+    Locale[\"yua\"][\"iso\"]               = \"yua\"\n+    Locale[\"yua\"][\"glotto\"]            = \"yuca1254\"\n+    Locale[\"yua\"][\"script\"]            = \"Latn\"\n+\n+    #* Klingon, Latin alphabet\n+    Locale[\"tlh\"][\"support\"]           = \"bing-only\"\n+    Locale[\"tlh\"][\"name\"]              = \"Klingon\"\n+    Locale[\"tlh\"][\"endonym\"]           = \"tlhIngan Hol\"\n+    Locale[\"tlh\"][\"family\"]            = \"Artificial Language\"\n+    Locale[\"tlh\"][\"iso\"]               = \"tlh\"\n+    #Locale[\"tlh\"][\"glotto\"]\n+    Locale[\"tlh\"][\"script\"]            = \"Latn\"\n+\n+    #* Klingon, pIqaD\n+    Locale[\"tlh-Qaak\"][\"support\"]      = \"bing-only\"\n+    Locale[\"tlh-Qaak\"][\"name\"]         = \"Klingon (pIqaD)\"\n+    Locale[\"tlh-Qaak\"][\"endonym\"]      = \"\uf8e4\uf8d7\uf8dc\uf8d0\uf8db \uf8d6\uf8dd\uf8d9\"\n+    Locale[\"tlh-Qaak\"][\"family\"]       = \"Artificial Language\"\n+    Locale[\"tlh-Qaak\"][\"iso\"]          = \"tlh\"\n+    #Locale[\"tlh-Qaak\"][\"glotto\"]\n+    Locale[\"tlh-Qaak\"][\"script\"]       = \"Piqd\"\n \n     #? Assamese\n     Locale[\"as\"][\"support\"]            = \"unstable\"\n@@ -69,19 +1485,6 @@\n     Locale[\"br\"][\"glotto\"]             = \"bret1244\"\n     Locale[\"br\"][\"script\"]             = \"Latn\"\n \n-    # Corsican\n-    Locale[\"co\"][\"name\"]               = \"Corsican\"\n-    Locale[\"co\"][\"endonym\"]            = \"Corsu\"\n-    Locale[\"co\"][\"translations-of\"]    = \"Traductions de %s\"\n-    Locale[\"co\"][\"definitions-of\"]     = \"D\u00e9finitions de %s\"\n-    Locale[\"co\"][\"synonyms\"]           = \"Synonymes\"\n-    Locale[\"co\"][\"examples\"]           = \"Exemples\"\n-    Locale[\"co\"][\"see-also\"]           = \"Voir aussi\"\n-    Locale[\"co\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"co\"][\"iso\"]                = \"cos\"\n-    Locale[\"co\"][\"glotto\"]             = \"cors1242\"\n-    Locale[\"co\"][\"script\"]             = \"Latn\"\n-\n     #? Dzongkha\n     Locale[\"dz\"][\"support\"]            = \"unstable\"\n     Locale[\"dz\"][\"name\"]               = \"Dzongkha\"\n@@ -166,45 +1569,6 @@\n     Locale[\"rw\"][\"glotto\"]             = \"kiny1244\"\n     Locale[\"rw\"][\"script\"]             = \"Latn\"\n \n-    # Kyrgyz\n-    Locale[\"ky\"][\"name\"]               = \"Kyrgyz\"\n-    Locale[\"ky\"][\"endonym\"]            = \"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430\"\n-    Locale[\"ky\"][\"translations-of\"]    = \"%s \u043a\u043e\u0442\u043e\u0440\u043c\u043e\u0441\u0443\"\n-    Locale[\"ky\"][\"definitions-of\"]     = \"%s \u0430\u043d\u044b\u043a\u0442\u0430\u043c\u0430\u0441\u044b\"\n-    Locale[\"ky\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0434\u0435\u0440\"\n-    Locale[\"ky\"][\"examples\"]           = \"\u041c\u0438\u0441\u0430\u043b\u0434\u0430\u0440\"\n-    Locale[\"ky\"][\"see-also\"]           = \"\u0414\u0430\u0433\u044b \u043a\u0430\u0440\u0430\u04a3\u044b\u0437\"\n-    Locale[\"ky\"][\"family\"]             = \"Turkic\"\n-    Locale[\"ky\"][\"iso\"]                = \"kir\"\n-    Locale[\"ky\"][\"glotto\"]             = \"kirg1245\"\n-    Locale[\"ky\"][\"script\"]             = \"Cyrl\"\n-\n-    # Kurdish (Central Kurdish, Sorani), Latin alphabet\n-    Locale[\"ku\"][\"name\"]               = \"Kurdish\"\n-    Locale[\"ku\"][\"endonym\"]            = \"Kurd\u00ee\"\n-    #Locale[\"ku\"][\"translations-of\"]\n-    #Locale[\"ku\"][\"definitions-of\"]\n-    #Locale[\"ku\"][\"synonyms\"]\n-    #Locale[\"ku\"][\"examples\"]\n-    #Locale[\"ku\"][\"see-also\"]\n-    Locale[\"ku\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ku\"][\"iso\"]                = \"kur\"\n-    Locale[\"ku\"][\"glotto\"]             = \"kurd1259\"\n-    Locale[\"ku\"][\"script\"]             = \"Latn\"\n-\n-    # Luxembourgish\n-    Locale[\"lb\"][\"name\"]               = \"Luxembourgish\"\n-    Locale[\"lb\"][\"endonym\"]            = \"L\u00ebtzebuergesch\"\n-    #Locale[\"lb\"][\"translations-of\"]\n-    #Locale[\"lb\"][\"definitions-of\"]\n-    #Locale[\"lb\"][\"synonyms\"]\n-    #Locale[\"lb\"][\"examples\"]\n-    #Locale[\"lb\"][\"see-also\"]\n-    Locale[\"lb\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"lb\"][\"iso\"]                = \"ltz\"\n-    Locale[\"lb\"][\"glotto\"]             = \"luxe1241\"\n-    Locale[\"lb\"][\"script\"]             = \"Latn\"\n-\n     #? Occitan\n     Locale[\"oc\"][\"support\"]            = \"unstable\"\n     Locale[\"oc\"][\"name\"]               = \"Occitan\"\n@@ -247,20 +1611,6 @@\n     Locale[\"or\"][\"glotto\"]             = \"macr1269\"\n     Locale[\"or\"][\"script\"]             = \"Orya\"\n \n-    # Pashto\n-    Locale[\"ps\"][\"name\"]               = \"Pashto\"\n-    Locale[\"ps\"][\"endonym\"]            = \"\u067e\u069a\u062a\u0648\"\n-    Locale[\"ps\"][\"translations-of\"]    = \"\u062f %s\u0698\u0628\u0627\u0693\u06d0\"\n-    Locale[\"ps\"][\"definitions-of\"]     = \"\u062f%s \u062a\u0639\u0631\u06cc\u0641\u0648\u0646\u0647\"\n-    Locale[\"ps\"][\"synonyms\"]           = \"\u0645\u062a\u0631\u0627\u062f\u0641 \u0644\u063a\u062a\u0648\u0646\u0647\"\n-    Locale[\"ps\"][\"examples\"]           = \"\u0628\u06d0\u0644\u06ab\u06d0\"\n-    Locale[\"ps\"][\"see-also\"]           = \"\u062f\u0627 \u0647\u0645 \u0648\u0648\u06cc\u0646\u0626\"\n-    Locale[\"ps\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ps\"][\"iso\"]                = \"pus\"\n-    Locale[\"ps\"][\"glotto\"]             = \"pash1269\"\n-    Locale[\"ps\"][\"script\"]             = \"Arab\"\n-    Locale[\"ps\"][\"rtl\"]                = \"true\" # RTL language\n-\n     #? Romansh\n     Locale[\"rm\"][\"support\"]            = \"unstable\"\n     Locale[\"rm\"][\"name\"]               = \"Romansh\"\n@@ -274,59 +1624,6 @@\n     Locale[\"rm\"][\"iso\"]                = \"roh\"\n     Locale[\"rm\"][\"glotto\"]             = \"roma1326\"\n     Locale[\"rm\"][\"script\"]             = \"Latn\"\n-\n-    # Sindhi\n-    Locale[\"sd\"][\"name\"]               = \"Sindhi\"\n-    Locale[\"sd\"][\"endonym\"]            = \"\u0633\u0646\u068c\u064a\"\n-    Locale[\"sd\"][\"translations-of\"]    = \"%s \u062c\u0648 \u062a\u0631\u062c\u0645\u0648\"\n-    Locale[\"sd\"][\"definitions-of\"]     = \"%s \u062c\u0648\u0646 \u0648\u0635\u0641\u0648\u0646\"\n-    Locale[\"sd\"][\"synonyms\"]           = \"\u0647\u0645 \u0645\u0639\u0646\u064a\"\n-    Locale[\"sd\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u0648\u0646\"\n-    Locale[\"sd\"][\"see-also\"]           = \"\u0628\u0647 \u068f\u0633\u0648\"\n-    Locale[\"sd\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"sd\"][\"iso\"]                = \"snd\"\n-    Locale[\"sd\"][\"glotto\"]             = \"sind1272\"\n-    Locale[\"sd\"][\"script\"]             = \"Arab\"\n-    Locale[\"sd\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    # Samoan\n-    Locale[\"sm\"][\"name\"]               = \"Samoan\"\n-    Locale[\"sm\"][\"endonym\"]            = \"Gagana S\u0101moa\"\n-    #Locale[\"sm\"][\"translations-of\"]\n-    #Locale[\"sm\"][\"definitions-of\"]\n-    #Locale[\"sm\"][\"synonyms\"]\n-    #Locale[\"sm\"][\"examples\"]\n-    #Locale[\"sm\"][\"see-also\"]\n-    Locale[\"sm\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"sm\"][\"iso\"]                = \"smo\"\n-    Locale[\"sm\"][\"glotto\"]             = \"samo1305\"\n-    Locale[\"sm\"][\"script\"]             = \"Latn\"\n-\n-    # Scots Gaelic\n-    Locale[\"gd\"][\"name\"]               = \"Scots Gaelic\"\n-    Locale[\"gd\"][\"endonym\"]            = \"G\u00e0idhlig\"\n-    Locale[\"gd\"][\"translations-of\"]    = \"Eadar-theangachadh airson %s\"\n-    Locale[\"gd\"][\"definitions-of\"]     = \"Deifiniseanan airson %s\"\n-    Locale[\"gd\"][\"synonyms\"]           = \"Co-fhaclan\"\n-    Locale[\"gd\"][\"examples\"]           = \"Buill-eisimpleir\"\n-    Locale[\"gd\"][\"see-also\"]           = \"Faic na leanas cuideachd\"\n-    Locale[\"gd\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"gd\"][\"iso\"]                = \"gla\"\n-    Locale[\"gd\"][\"glotto\"]             = \"scot1245\"\n-    Locale[\"gd\"][\"script\"]             = \"Latn\"\n-\n-    # Shona\n-    Locale[\"sn\"][\"name\"]               = \"Shona\"\n-    Locale[\"sn\"][\"endonym\"]            = \"chiShona\"\n-    Locale[\"sn\"][\"translations-of\"]    = \"Shanduro dze %s\"\n-    Locale[\"sn\"][\"definitions-of\"]     = \"Zvinoreva %s\"\n-    Locale[\"sn\"][\"synonyms\"]           = \"Mashoko anoreva zvakafana nemamwe\"\n-    Locale[\"sn\"][\"examples\"]           = \"Mienzaniso\"\n-    Locale[\"sn\"][\"see-also\"]           = \"Onawo\"\n-    Locale[\"sn\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"sn\"][\"iso\"]                = \"sna\"\n-    Locale[\"sn\"][\"glotto\"]             = \"core1255\"\n-    Locale[\"sn\"][\"script\"]             = \"Latn\"\n \n     #? Tigrinya\n     Locale[\"ti\"][\"support\"]            = \"unstable\"\n@@ -427,32 +1724,6 @@\n     Locale[\"wo\"][\"glotto\"]             = \"wolo1247\"\n     Locale[\"wo\"][\"script\"]             = \"Latn\"\n \n-    # West Frisian\n-    Locale[\"fy\"][\"name\"]               = \"Frisian\"\n-    Locale[\"fy\"][\"endonym\"]            = \"Frysk\"\n-    Locale[\"fy\"][\"translations-of\"]    = \"Oersettings fan %s\"\n-    Locale[\"fy\"][\"definitions-of\"]     = \"Definysjes fan %s\"\n-    Locale[\"fy\"][\"synonyms\"]           = \"Synonimen\"\n-    Locale[\"fy\"][\"examples\"]           = \"Foarbylden\"\n-    Locale[\"fy\"][\"see-also\"]           = \"Sjoch ek\"\n-    Locale[\"fy\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"fy\"][\"iso\"]                = \"fry\"\n-    Locale[\"fy\"][\"glotto\"]             = \"west2354\"\n-    Locale[\"fy\"][\"script\"]             = \"Latn\"\n-\n-    # Xhosa\n-    Locale[\"xh\"][\"name\"]               = \"Xhosa\"\n-    Locale[\"xh\"][\"endonym\"]            = \"isiXhosa\"\n-    Locale[\"xh\"][\"translations-of\"]    = \"Iinguqulelo zika-%s\"\n-    Locale[\"xh\"][\"definitions-of\"]     = \"Iingcaciso zika-%s\"\n-    Locale[\"xh\"][\"synonyms\"]           = \"Izithethantonye\"\n-    Locale[\"xh\"][\"examples\"]           = \"Imizekelo\"\n-    Locale[\"xh\"][\"see-also\"]           = \"Kwakhona bona\"\n-    Locale[\"xh\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"xh\"][\"iso\"]                = \"xho\"\n-    Locale[\"xh\"][\"glotto\"]             = \"xhos1239\"\n-    Locale[\"xh\"][\"script\"]             = \"Latn\"\n-\n     #? Cherokee\n     Locale[\"chr\"][\"support\"]           = \"unstable\"\n     Locale[\"chr\"][\"name\"]              = \"Cherokee\"\n@@ -466,1277 +1737,6 @@\n     Locale[\"chr\"][\"iso\"]               = \"chr\"\n     Locale[\"chr\"][\"glotto\"]            = \"cher1273\"\n     Locale[\"chr\"][\"script\"]            = \"Cher\"\n-\n-    # Hawaiian\n-    Locale[\"haw\"][\"name\"]              = \"Hawaiian\"\n-    Locale[\"haw\"][\"endonym\"]           = \"\u02bb\u014clelo Hawai\u02bbi\"\n-    #Locale[\"haw\"][\"translations-of\"]\n-    #Locale[\"haw\"][\"definitions-of\"]\n-    #Locale[\"haw\"][\"synonyms\"]\n-    #Locale[\"haw\"][\"examples\"]\n-    #Locale[\"haw\"][\"see-also\"]\n-    Locale[\"haw\"][\"family\"]            = \"Austronesian\"\n-    Locale[\"haw\"][\"iso\"]               = \"haw\"\n-    Locale[\"haw\"][\"glotto\"]            = \"hawa1245\"\n-    Locale[\"haw\"][\"script\"]            = \"Latn\"\n-\n-    #1 Afrikaans\n-    Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n-    Locale[\"af\"][\"endonym\"]            = \"Afrikaans\"\n-    Locale[\"af\"][\"translations-of\"]    = \"Vertalings van %s\"\n-    Locale[\"af\"][\"definitions-of\"]     = \"Definisies van %s\"\n-    Locale[\"af\"][\"synonyms\"]           = \"Sinonieme\"\n-    Locale[\"af\"][\"examples\"]           = \"Voorbeelde\"\n-    Locale[\"af\"][\"see-also\"]           = \"Sien ook\"\n-    Locale[\"af\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"af\"][\"iso\"]                = \"afr\"\n-    Locale[\"af\"][\"glotto\"]             = \"afri1274\"\n-    Locale[\"af\"][\"script\"]             = \"Latn\"\n-\n-    #2 Albanian\n-    Locale[\"sq\"][\"name\"]               = \"Albanian\"\n-    Locale[\"sq\"][\"endonym\"]            = \"Shqip\"\n-    Locale[\"sq\"][\"translations-of\"]    = \"P\u00ebrkthimet e %s\"\n-    Locale[\"sq\"][\"definitions-of\"]     = \"P\u00ebrkufizime t\u00eb %s\"\n-    Locale[\"sq\"][\"synonyms\"]           = \"Sinonime\"\n-    Locale[\"sq\"][\"examples\"]           = \"Shembuj\"\n-    Locale[\"sq\"][\"see-also\"]           = \"Shihni gjithashtu\"\n-    Locale[\"sq\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"sq\"][\"iso\"]                = \"sqi\"\n-    Locale[\"sq\"][\"glotto\"]             = \"alba1267\"\n-    Locale[\"sq\"][\"script\"]             = \"Latn\"\n-\n-    #3 Arabic (Standard Arabic)\n-    Locale[\"ar\"][\"name\"]               = \"Arabic\"\n-    Locale[\"ar\"][\"endonym\"]            = \"\u0627\u0644\u0639\u0631\u0628\u064a\u0629\"\n-    Locale[\"ar\"][\"translations-of\"]    = \"\u062a\u0631\u062c\u0645\u0627\u062a %s\"\n-    Locale[\"ar\"][\"definitions-of\"]     = \"\u062a\u0639\u0631\u064a\u0641\u0627\u062a %s\"\n-    Locale[\"ar\"][\"synonyms\"]           = \"\u0645\u0631\u0627\u062f\u0641\u0627\u062a\"\n-    Locale[\"ar\"][\"examples\"]           = \"\u0623\u0645\u062b\u0644\u0629\"\n-    Locale[\"ar\"][\"see-also\"]           = \"\u0627\u0646\u0638\u0631 \u0623\u064a\u0636\u064b\u0627\"\n-    Locale[\"ar\"][\"family\"]             = \"Afro-Asiatic\"\n-    Locale[\"ar\"][\"iso\"]                = \"ara\"\n-    Locale[\"ar\"][\"glotto\"]             = \"stan1318\"\n-    Locale[\"ar\"][\"script\"]             = \"Arab\"\n-    Locale[\"ar\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #4 Armenian (Modern Armenian)\n-    Locale[\"hy\"][\"name\"]               = \"Armenian\"\n-    Locale[\"hy\"][\"endonym\"]            = \"\u0540\u0561\u0575\u0565\u0580\u0565\u0576\"\n-    Locale[\"hy\"][\"translations-of\"]    = \"%s-\u056b \u0569\u0561\u0580\u0563\u0574\u0561\u0576\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0576\u0565\u0580\u0568\"\n-    Locale[\"hy\"][\"definitions-of\"]     = \"%s-\u056b \u057d\u0561\u0570\u0574\u0561\u0576\u0578\u0582\u0574\u0576\u0565\u0580\u0568\"\n-    Locale[\"hy\"][\"synonyms\"]           = \"\u0540\u0578\u0574\u0561\u0576\u056b\u0577\u0576\u0565\u0580\"\n-    Locale[\"hy\"][\"examples\"]           = \"\u0555\u0580\u056b\u0576\u0561\u056f\u0576\u0565\u0580\"\n-    Locale[\"hy\"][\"see-also\"]           = \"\u054f\u0565\u057d \u0576\u0561\u0587\"\n-    Locale[\"hy\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"hy\"][\"iso\"]                = \"hye\"\n-    Locale[\"hy\"][\"glotto\"]             = \"nucl1235\"\n-    Locale[\"hy\"][\"script\"]             = \"Armn\"\n-\n-    #5 Azerbaijani (North Azerbaijani)\n-    Locale[\"az\"][\"name\"]               = \"Azerbaijani\"\n-    Locale[\"az\"][\"endonym\"]            = \"Az\u0259rbaycanca\"\n-    Locale[\"az\"][\"translations-of\"]    = \"%s s\u00f6z\u00fcn\u00fcn t\u0259rc\u00fcm\u0259si\"\n-    Locale[\"az\"][\"definitions-of\"]     = \"%s s\u00f6z\u00fcn\u00fcn t\u0259rifl\u0259ri\"\n-    Locale[\"az\"][\"synonyms\"]           = \"Sinoniml\u0259r\"\n-    Locale[\"az\"][\"examples\"]           = \"N\u00fcmun\u0259l\u0259r\"\n-    Locale[\"az\"][\"see-also\"]           = \"H\u0259m\u00e7inin, bax\u0131n:\"\n-    Locale[\"az\"][\"family\"]             = \"Turkic\"\n-    Locale[\"az\"][\"iso\"]                = \"aze\"\n-    Locale[\"az\"][\"glotto\"]             = \"nort2697\"\n-    Locale[\"az\"][\"script\"]             = \"Latn\"\n-\n-    #6 Basque\n-    Locale[\"eu\"][\"name\"]               = \"Basque\"\n-    Locale[\"eu\"][\"endonym\"]            = \"Euskara\"\n-    Locale[\"eu\"][\"translations-of\"]    = \"%s esapidearen itzulpena\"\n-    Locale[\"eu\"][\"definitions-of\"]     = \"Honen definizioak: %s\"\n-    Locale[\"eu\"][\"synonyms\"]           = \"Sinonimoak\"\n-    Locale[\"eu\"][\"examples\"]           = \"Adibideak\"\n-    Locale[\"eu\"][\"see-also\"]           = \"Ikusi hauek ere\"\n-    Locale[\"eu\"][\"family\"]             = \"Language Isolate\"\n-    Locale[\"eu\"][\"iso\"]                = \"eus\"\n-    Locale[\"eu\"][\"glotto\"]             = \"basq1248\"\n-    Locale[\"eu\"][\"script\"]             = \"Latn\"\n-\n-    #7 Belarusian, Cyrillic alphabet\n-    Locale[\"be\"][\"name\"]               = \"Belarusian\"\n-    Locale[\"be\"][\"endonym\"]            = \"\u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f\"\n-    Locale[\"be\"][\"translations-of\"]    = \"\u041f\u0435\u0440\u0430\u043a\u043b\u0430\u0434\u044b %s\"\n-    Locale[\"be\"][\"definitions-of\"]     = \"\u0412\u044b\u0437\u043d\u0430\u0447\u044d\u043d\u043di %s\"\n-    Locale[\"be\"][\"synonyms\"]           = \"\u0421\u0456\u043d\u043e\u043d\u0456\u043c\u044b\"\n-    Locale[\"be\"][\"examples\"]           = \"\u041f\u0440\u044b\u043a\u043b\u0430\u0434\u044b\"\n-    Locale[\"be\"][\"see-also\"]           = \"\u0413\u043b. \u0442\u0430\u043a\u0441\u0430\u043c\u0430\"\n-    Locale[\"be\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"be\"][\"iso\"]                = \"bel\"\n-    Locale[\"be\"][\"glotto\"]             = \"bela1254\"\n-    Locale[\"be\"][\"script\"]             = \"Cyrl\"\n-\n-    #8 Bengali\n-    Locale[\"bn\"][\"name\"]               = \"Bengali\"\n-    Locale[\"bn\"][\"endonym\"]            = \"\u09ac\u09be\u0982\u09b2\u09be\"\n-    Locale[\"bn\"][\"translations-of\"]    = \"%s \u098f\u09b0 \u0985\u09a8\u09c1\u09ac\u09be\u09a6\"\n-    Locale[\"bn\"][\"definitions-of\"]     = \"%s \u098f\u09b0 \u09b8\u0982\u099c\u09cd\u099e\u09be\"\n-    Locale[\"bn\"][\"synonyms\"]           = \"\u09aa\u09cd\u09b0\u09a4\u09bf\u09b6\u09ac\u09cd\u09a6\"\n-    Locale[\"bn\"][\"examples\"]           = \"\u0989\u09a6\u09be\u09b9\u09b0\u09a3\"\n-    Locale[\"bn\"][\"see-also\"]           = \"\u0986\u09b0\u09cb \u09a6\u09c7\u0996\u09c1\u09a8\"\n-    Locale[\"bn\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"bn\"][\"iso\"]                = \"ben\"\n-    Locale[\"bn\"][\"glotto\"]             = \"beng1280\"\n-    Locale[\"bn\"][\"script\"]             = \"Beng\"\n-\n-    #9 Bosnian, Latin alphabet\n-    Locale[\"bs\"][\"name\"]               = \"Bosnian\"\n-    Locale[\"bs\"][\"endonym\"]            = \"Bosanski\"\n-    Locale[\"bs\"][\"translations-of\"]    = \"Prijevod za: %s\"\n-    Locale[\"bs\"][\"definitions-of\"]     = \"Definicije za %s\"\n-    Locale[\"bs\"][\"synonyms\"]           = \"Sinonimi\"\n-    Locale[\"bs\"][\"examples\"]           = \"Primjeri\"\n-    Locale[\"bs\"][\"see-also\"]           = \"Pogledajte i\"\n-    Locale[\"bs\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"bs\"][\"iso\"]                = \"bos\"\n-    Locale[\"bs\"][\"glotto\"]             = \"bosn1245\"\n-    Locale[\"bs\"][\"script\"]             = \"Latn\"\n-\n-    #10 Bulgarian\n-    Locale[\"bg\"][\"name\"]               = \"Bulgarian\"\n-    Locale[\"bg\"][\"endonym\"]            = \"\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438\"\n-    Locale[\"bg\"][\"translations-of\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u043d\u0430 %s\"\n-    Locale[\"bg\"][\"definitions-of\"]     = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0438 \u0437\u0430 %s\"\n-    Locale[\"bg\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n-    Locale[\"bg\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n-    Locale[\"bg\"][\"see-also\"]           = \"\u0412\u0438\u0436\u0442\u0435 \u0441\u044a\u0449\u043e\"\n-    Locale[\"bg\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"bg\"][\"iso\"]                = \"bul\"\n-    Locale[\"bg\"][\"glotto\"]             = \"bulg1262\"\n-    Locale[\"bg\"][\"script\"]             = \"Cyrl\"\n-\n-    #11 Catalan (Standard Catalan)\n-    Locale[\"ca\"][\"name\"]               = \"Catalan\"\n-    Locale[\"ca\"][\"endonym\"]            = \"Catal\u00e0\"\n-    Locale[\"ca\"][\"translations-of\"]    = \"Traduccions per a %s\"\n-    Locale[\"ca\"][\"definitions-of\"]     = \"Definicions de: %s\"\n-    Locale[\"ca\"][\"synonyms\"]           = \"Sin\u00f2nims\"\n-    Locale[\"ca\"][\"examples\"]           = \"Exemples\"\n-    Locale[\"ca\"][\"see-also\"]           = \"Vegeu tamb\u00e9\"\n-    Locale[\"ca\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ca\"][\"iso\"]                = \"cat\"\n-    Locale[\"ca\"][\"glotto\"]             = \"stan1289\"\n-    Locale[\"ca\"][\"script\"]             = \"Latn\"\n-\n-    #12 Cebuano\n-    Locale[\"ceb\"][\"name\"]              = \"Cebuano\"\n-    Locale[\"ceb\"][\"endonym\"]           = \"Cebuano\"\n-    Locale[\"ceb\"][\"translations-of\"]   = \"%s Mga Paghubad sa PULONG_O_HUGPONG SA PAMULONG\"\n-    Locale[\"ceb\"][\"definitions-of\"]    = \"Mga kahulugan sa %s\"\n-    Locale[\"ceb\"][\"synonyms\"]          = \"Mga Kapulong\"\n-    Locale[\"ceb\"][\"examples\"]          = \"Mga pananglitan:\"\n-    Locale[\"ceb\"][\"see-also\"]          = \"Kitaa pag-usab\"\n-    Locale[\"ceb\"][\"family\"]            = \"Austronesian\"\n-    Locale[\"ceb\"][\"iso\"]               = \"ceb\"\n-    Locale[\"ceb\"][\"glotto\"]            = \"cebu1242\"\n-    Locale[\"ceb\"][\"script\"]            = \"Latn\"\n-\n-    #13 Chichewa\n-    Locale[\"ny\"][\"name\"]               = \"Chichewa\"\n-    Locale[\"ny\"][\"endonym\"]            = \"Nyanja\"\n-    Locale[\"ny\"][\"translations-of\"]    = \"Matanthauzidwe a %s\"\n-    Locale[\"ny\"][\"definitions-of\"]     = \"Mamasulidwe a %s\"\n-    Locale[\"ny\"][\"synonyms\"]           = \"Mau ofanana\"\n-    Locale[\"ny\"][\"examples\"]           = \"Zitsanzo\"\n-    Locale[\"ny\"][\"see-also\"]           = \"Onaninso\"\n-    Locale[\"ny\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"ny\"][\"iso\"]                = \"nya\"\n-    Locale[\"ny\"][\"glotto\"]             = \"nyan1308\"\n-    Locale[\"ny\"][\"script\"]             = \"Latn\"\n-\n-    #14a Chinese (Mandarin), Simplified\n-    Locale[\"zh-CN\"][\"name\"]            = \"Chinese Simplified\"\n-    Locale[\"zh-CN\"][\"endonym\"]         = \"\u7b80\u4f53\u4e2d\u6587\"\n-    Locale[\"zh-CN\"][\"translations-of\"] = \"%s \u7684\u7ffb\u8bd1\"\n-    Locale[\"zh-CN\"][\"definitions-of\"]  = \"%s\u7684\u5b9a\u4e49\"\n-    Locale[\"zh-CN\"][\"synonyms\"]        = \"\u540c\u4e49\u8bcd\"\n-    Locale[\"zh-CN\"][\"examples\"]        = \"\u793a\u4f8b\"\n-    Locale[\"zh-CN\"][\"see-also\"]        = \"\u53e6\u8bf7\u53c2\u9605\"\n-    Locale[\"zh-CN\"][\"family\"]          = \"Sino-Tibetan\"\n-    Locale[\"zh-CN\"][\"iso\"]             = \"zho-CN\"\n-    Locale[\"zh-CN\"][\"glotto\"]          = \"mand1415\"\n-    Locale[\"zh-CN\"][\"script\"]          = \"Hans\"\n-    Locale[\"zh-CN\"][\"dictionary\"]      = \"true\" # has dictionary\n-\n-    #14b Chinese (Mandarin), Traditional\n-    Locale[\"zh-TW\"][\"name\"]            = \"Chinese Traditional\"\n-    Locale[\"zh-TW\"][\"endonym\"]         = \"\u6b63\u9ad4\u4e2d\u6587\"\n-    Locale[\"zh-TW\"][\"translations-of\"] = \"\u300c%s\u300d\u7684\u7ffb\u8b6f\"\n-    Locale[\"zh-TW\"][\"definitions-of\"]  = \"\u300c%s\u300d\u7684\u5b9a\u7fa9\"\n-    Locale[\"zh-TW\"][\"synonyms\"]        = \"\u540c\u7fa9\u8a5e\"\n-    Locale[\"zh-TW\"][\"examples\"]        = \"\u4f8b\u53e5\"\n-    Locale[\"zh-TW\"][\"see-also\"]        = \"\u53e6\u8acb\u53c3\u95b1\"\n-    Locale[\"zh-TW\"][\"family\"]          = \"Sino-Tibetan\"\n-    Locale[\"zh-TW\"][\"iso\"]             = \"zho-TW\"\n-    Locale[\"zh-TW\"][\"glotto\"]          = \"mand1415\"\n-    Locale[\"zh-TW\"][\"script\"]          = \"Hant\"\n-    Locale[\"zh-TW\"][\"dictionary\"]      = \"true\" # has dictionary\n-\n-    #15 Croatian\n-    Locale[\"hr\"][\"name\"]               = \"Croatian\"\n-    Locale[\"hr\"][\"endonym\"]            = \"Hrvatski\"\n-    Locale[\"hr\"][\"translations-of\"]    = \"Prijevodi rije\u010di ili izraza %s\"\n-    Locale[\"hr\"][\"definitions-of\"]     = \"Definicije rije\u010di ili izraza %s\"\n-    Locale[\"hr\"][\"synonyms\"]           = \"Sinonimi\"\n-    Locale[\"hr\"][\"examples\"]           = \"Primjeri\"\n-    Locale[\"hr\"][\"see-also\"]           = \"Tako\u0111er pogledajte\"\n-    Locale[\"hr\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"hr\"][\"iso\"]                = \"hrv\"\n-    Locale[\"hr\"][\"glotto\"]             = \"croa1245\"\n-    Locale[\"hr\"][\"script\"]             = \"Latn\"\n-\n-    #16 Czech\n-    Locale[\"cs\"][\"name\"]               = \"Czech\"\n-    Locale[\"cs\"][\"endonym\"]            = \"\u010ce\u0161tina\"\n-    Locale[\"cs\"][\"translations-of\"]    = \"P\u0159eklad v\u00fdrazu %s\"\n-    Locale[\"cs\"][\"definitions-of\"]     = \"Definice v\u00fdrazu %s\"\n-    Locale[\"cs\"][\"synonyms\"]           = \"Synonyma\"\n-    Locale[\"cs\"][\"examples\"]           = \"P\u0159\u00edklady\"\n-    Locale[\"cs\"][\"see-also\"]           = \"Viz tak\u00e9\"\n-    Locale[\"cs\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"cs\"][\"iso\"]                = \"ces\"\n-    Locale[\"cs\"][\"glotto\"]             = \"czec1258\"\n-    Locale[\"cs\"][\"script\"]             = \"Latn\"\n-\n-    #17 Danish\n-    Locale[\"da\"][\"name\"]               = \"Danish\"\n-    Locale[\"da\"][\"endonym\"]            = \"Dansk\"\n-    Locale[\"da\"][\"translations-of\"]    = \"Overs\u00e6ttelser af %s\"\n-    Locale[\"da\"][\"definitions-of\"]     = \"Definitioner af %s\"\n-    Locale[\"da\"][\"synonyms\"]           = \"Synonymer\"\n-    Locale[\"da\"][\"examples\"]           = \"Eksempler\"\n-    Locale[\"da\"][\"see-also\"]           = \"Se ogs\u00e5\"\n-    Locale[\"da\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"da\"][\"iso\"]                = \"dan\"\n-    Locale[\"da\"][\"glotto\"]             = \"dani1285\"\n-    Locale[\"da\"][\"script\"]             = \"Latn\"\n-\n-    #18 Dutch\n-    Locale[\"nl\"][\"name\"]               = \"Dutch\"\n-    Locale[\"nl\"][\"endonym\"]            = \"Nederlands\"\n-    Locale[\"nl\"][\"translations-of\"]    = \"Vertalingen van %s\"\n-    Locale[\"nl\"][\"definitions-of\"]     = \"Definities van %s\"\n-    Locale[\"nl\"][\"synonyms\"]           = \"Synoniemen\"\n-    Locale[\"nl\"][\"examples\"]           = \"Voorbeelden\"\n-    Locale[\"nl\"][\"see-also\"]           = \"Zie ook\"\n-    Locale[\"nl\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"nl\"][\"iso\"]                = \"nld\"\n-    Locale[\"nl\"][\"glotto\"]             = \"dutc1256\"\n-    Locale[\"nl\"][\"script\"]             = \"Latn\"\n-    Locale[\"nl\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #19 English (Standard English)\n-    Locale[\"en\"][\"name\"]               = \"English\"\n-    Locale[\"en\"][\"endonym\"]            = \"English\"\n-    Locale[\"en\"][\"translations-of\"]    = \"Translations of %s\"\n-    Locale[\"en\"][\"definitions-of\"]     = \"Definitions of %s\"\n-    Locale[\"en\"][\"synonyms\"]           = \"Synonyms\"\n-    Locale[\"en\"][\"examples\"]           = \"Examples\"\n-    Locale[\"en\"][\"see-also\"]           = \"See also\"\n-    Locale[\"en\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"en\"][\"iso\"]                = \"eng\"\n-    Locale[\"en\"][\"glotto\"]             = \"stan1293\"\n-    Locale[\"en\"][\"script\"]             = \"Latn\"\n-    Locale[\"en\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #20 Esperanto\n-    Locale[\"eo\"][\"name\"]               = \"Esperanto\"\n-    Locale[\"eo\"][\"endonym\"]            = \"Esperanto\"\n-    Locale[\"eo\"][\"translations-of\"]    = \"Tradukoj de %s\"\n-    Locale[\"eo\"][\"definitions-of\"]     = \"Difinoj de %s\"\n-    Locale[\"eo\"][\"synonyms\"]           = \"Sinonimoj\"\n-    Locale[\"eo\"][\"examples\"]           = \"Ekzemploj\"\n-    Locale[\"eo\"][\"see-also\"]           = \"Vidu anka\u016d\"\n-    Locale[\"eo\"][\"family\"]             = \"Artificial Language\"\n-    Locale[\"eo\"][\"iso\"]                = \"epo\"\n-    Locale[\"eo\"][\"glotto\"]             = \"espe1235\"\n-    Locale[\"eo\"][\"script\"]             = \"Latn\"\n-\n-    #21 Estonian\n-    Locale[\"et\"][\"name\"]               = \"Estonian\"\n-    Locale[\"et\"][\"endonym\"]            = \"Eesti\"\n-    Locale[\"et\"][\"translations-of\"]    = \"S\u00f5na(de) %s t\u00f5lked\"\n-    Locale[\"et\"][\"definitions-of\"]     = \"S\u00f5na(de) %s definitsioonid\"\n-    Locale[\"et\"][\"synonyms\"]           = \"S\u00fcnon\u00fc\u00fcmid\"\n-    Locale[\"et\"][\"examples\"]           = \"N\u00e4ited\"\n-    Locale[\"et\"][\"see-also\"]           = \"Vt ka\"\n-    Locale[\"et\"][\"family\"]             = \"Uralic\"\n-    Locale[\"et\"][\"iso\"]                = \"est\"\n-    Locale[\"et\"][\"glotto\"]             = \"esto1258\"\n-    Locale[\"et\"][\"script\"]             = \"Latn\"\n-\n-    #22 Filipino \/ Tagalog\n-    Locale[\"tl\"][\"name\"]               = \"Filipino\"\n-    Locale[\"tl\"][\"endonym\"]            = \"Tagalog\"\n-    Locale[\"tl\"][\"translations-of\"]    = \"Mga pagsasalin ng %s\"\n-    Locale[\"tl\"][\"definitions-of\"]     = \"Mga kahulugan ng %s\"\n-    Locale[\"tl\"][\"synonyms\"]           = \"Mga Kasingkahulugan\"\n-    Locale[\"tl\"][\"examples\"]           = \"Mga Halimbawa\"\n-    Locale[\"tl\"][\"see-also\"]           = \"Tingnan rin ang\"\n-    Locale[\"tl\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"tl\"][\"iso\"]                = \"tgl\"\n-    Locale[\"tl\"][\"glotto\"]             = \"taga1270\"\n-    Locale[\"tl\"][\"script\"]             = \"Latn\"\n-\n-    #23 Finnish\n-    Locale[\"fi\"][\"name\"]               = \"Finnish\"\n-    Locale[\"fi\"][\"endonym\"]            = \"Suomi\"\n-    Locale[\"fi\"][\"translations-of\"]    = \"K\u00e4\u00e4nn\u00f6kset tekstille %s\"\n-    Locale[\"fi\"][\"definitions-of\"]     = \"M\u00e4\u00e4ritelm\u00e4t kohteelle %s\"\n-    Locale[\"fi\"][\"synonyms\"]           = \"Synonyymit\"\n-    Locale[\"fi\"][\"examples\"]           = \"Esimerkkej\u00e4\"\n-    Locale[\"fi\"][\"see-also\"]           = \"Katso my\u00f6s\"\n-    Locale[\"fi\"][\"family\"]             = \"Uralic\"\n-    Locale[\"fi\"][\"iso\"]                = \"fin\"\n-    Locale[\"fi\"][\"glotto\"]             = \"finn1318\"\n-    Locale[\"fi\"][\"script\"]             = \"Latn\"\n-\n-    #24 French (Standard French)\n-    Locale[\"fr\"][\"name\"]               = \"French\"\n-    Locale[\"fr\"][\"endonym\"]            = \"Fran\u00e7ais\"\n-    Locale[\"fr\"][\"translations-of\"]    = \"Traductions de %s\"\n-    Locale[\"fr\"][\"definitions-of\"]     = \"D\u00e9finitions de %s\"\n-    Locale[\"fr\"][\"synonyms\"]           = \"Synonymes\"\n-    Locale[\"fr\"][\"examples\"]           = \"Exemples\"\n-    Locale[\"fr\"][\"see-also\"]           = \"Voir aussi\"\n-    Locale[\"fr\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"fr\"][\"iso\"]                = \"fra\"\n-    Locale[\"fr\"][\"glotto\"]             = \"stan1290\"\n-    Locale[\"fr\"][\"script\"]             = \"Latn\"\n-    Locale[\"fr\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #25 Galician\n-    Locale[\"gl\"][\"name\"]               = \"Galician\"\n-    Locale[\"gl\"][\"endonym\"]            = \"Galego\"\n-    Locale[\"gl\"][\"translations-of\"]    = \"Traduci\u00f3ns de %s\"\n-    Locale[\"gl\"][\"definitions-of\"]     = \"Definici\u00f3ns de %s\"\n-    Locale[\"gl\"][\"synonyms\"]           = \"Sin\u00f3nimos\"\n-    Locale[\"gl\"][\"examples\"]           = \"Exemplos\"\n-    Locale[\"gl\"][\"see-also\"]           = \"Ver tam\u00e9n\"\n-    Locale[\"gl\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"gl\"][\"iso\"]                = \"glg\"\n-    Locale[\"gl\"][\"glotto\"]             = \"gali1258\"\n-    Locale[\"gl\"][\"script\"]             = \"Latn\"\n-\n-    #26 Georgian (Modern Georgian)\n-    Locale[\"ka\"][\"name\"]               = \"Georgian\"\n-    Locale[\"ka\"][\"endonym\"]            = \"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8\"\n-    Locale[\"ka\"][\"translations-of\"]    = \"%s-\u10d8\u10e1 \u10d7\u10d0\u10e0\u10d2\u10db\u10d0\u10dc\u10d4\u10d1\u10d8\"\n-    Locale[\"ka\"][\"definitions-of\"]     = \"%s-\u10d8\u10e1 \u10d2\u10d0\u10dc\u10e1\u10d0\u10d6\u10e6\u10d5\u10e0\u10d4\u10d1\u10d4\u10d1\u10d8\"\n-    Locale[\"ka\"][\"synonyms\"]           = \"\u10e1\u10d8\u10dc\u10dd\u10dc\u10d8\u10db\u10d4\u10d1\u10d8\"\n-    Locale[\"ka\"][\"examples\"]           = \"\u10db\u10d0\u10d2\u10d0\u10da\u10d8\u10d7\u10d4\u10d1\u10d8\"\n-    Locale[\"ka\"][\"see-also\"]           = \"\u10d0\u10e1\u10d4\u10d5\u10d4 \u10d8\u10ee\u10d8\u10da\u10d4\u10d7\"\n-    Locale[\"ka\"][\"family\"]             = \"Kartvelian\"\n-    Locale[\"ka\"][\"iso\"]                = \"kat\"\n-    Locale[\"ka\"][\"glotto\"]             = \"nucl1302\"\n-    Locale[\"ka\"][\"script\"]             = \"Geor\"\n-\n-    #27 German (Standard German)\n-    Locale[\"de\"][\"name\"]               = \"German\"\n-    Locale[\"de\"][\"endonym\"]            = \"Deutsch\"\n-    Locale[\"de\"][\"translations-of\"]    = \"\u00dcbersetzungen f\u00fcr %s\"\n-    Locale[\"de\"][\"definitions-of\"]     = \"Definitionen von %s\"\n-    Locale[\"de\"][\"synonyms\"]           = \"Synonyme\"\n-    Locale[\"de\"][\"examples\"]           = \"Beispiele\"\n-    Locale[\"de\"][\"see-also\"]           = \"Siehe auch\"\n-    Locale[\"de\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"de\"][\"iso\"]                = \"deu\"\n-    Locale[\"de\"][\"glotto\"]             = \"stan1295\"\n-    Locale[\"de\"][\"script\"]             = \"Latn\"\n-    Locale[\"de\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #28 Greek (Modern Greek)\n-    Locale[\"el\"][\"name\"]               = \"Greek\"\n-    Locale[\"el\"][\"endonym\"]            = \"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac\"\n-    Locale[\"el\"][\"translations-of\"]    = \"\u039c\u03b5\u03c4\u03b1\u03c6\u03c1\u03ac\u03c3\u03b5\u03b9\u03c2 \u03c4\u03bf\u03c5 %s\"\n-    Locale[\"el\"][\"definitions-of\"]     = \"\u038c\u03c1\u03b9\u03c3\u03bc\u03bf\u03af %s\"\n-    Locale[\"el\"][\"synonyms\"]           = \"\u03a3\u03c5\u03bd\u03ce\u03bd\u03c5\u03bc\u03b1\"\n-    Locale[\"el\"][\"examples\"]           = \"\u03a0\u03b1\u03c1\u03b1\u03b4\u03b5\u03af\u03b3\u03bc\u03b1\u03c4\u03b1\"\n-    Locale[\"el\"][\"see-also\"]           = \"\u0394\u03b5\u03af\u03c4\u03b5 \u03b5\u03c0\u03af\u03c3\u03b7\u03c2\"\n-    Locale[\"el\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"el\"][\"iso\"]                = \"ell\"\n-    Locale[\"el\"][\"glotto\"]             = \"mode1248\"\n-    Locale[\"el\"][\"script\"]             = \"Grek\"\n-\n-    #29 Gujarati\n-    Locale[\"gu\"][\"name\"]               = \"Gujarati\"\n-    Locale[\"gu\"][\"endonym\"]            = \"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0\"\n-    Locale[\"gu\"][\"translations-of\"]    = \"%s \u0aa8\u0abe \u0a85\u0aa8\u0ac1\u0ab5\u0abe\u0aa6\"\n-    Locale[\"gu\"][\"definitions-of\"]     = \"%s \u0aa8\u0ac0 \u0ab5\u0acd\u0aaf\u0abe\u0a96\u0acd\u0aaf\u0abe\u0a93\"\n-    Locale[\"gu\"][\"synonyms\"]           = \"\u0ab8\u0aae\u0abe\u0aa8\u0abe\u0ab0\u0acd\u0aa5\u0ac0\"\n-    Locale[\"gu\"][\"examples\"]           = \"\u0a89\u0aa6\u0abe\u0ab9\u0ab0\u0aa3\u0acb\"\n-    Locale[\"gu\"][\"see-also\"]           = \"\u0a86 \u0aaa\u0aa3 \u0a9c\u0ac1\u0a93\"\n-    Locale[\"gu\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"gu\"][\"iso\"]                = \"guj\"\n-    Locale[\"gu\"][\"glotto\"]             = \"guja1252\"\n-    Locale[\"gu\"][\"script\"]             = \"Gujr\"\n-\n-    #30 Haitian Creole\n-    Locale[\"ht\"][\"name\"]               = \"Haitian Creole\"\n-    Locale[\"ht\"][\"endonym\"]            = \"Krey\u00f2l Ayisyen\"\n-    Locale[\"ht\"][\"translations-of\"]    = \"Tradiksyon %s\"\n-    Locale[\"ht\"][\"definitions-of\"]     = \"Definisyon nan %s\"\n-    Locale[\"ht\"][\"synonyms\"]           = \"Sinonim\"\n-    Locale[\"ht\"][\"examples\"]           = \"Egzanp:\"\n-    Locale[\"ht\"][\"see-also\"]           = \"W\u00e8 tou\"\n-    Locale[\"ht\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ht\"][\"iso\"]                = \"hat\"\n-    Locale[\"ht\"][\"glotto\"]             = \"hait1244\"\n-    Locale[\"ht\"][\"script\"]             = \"Latn\"\n-\n-    #31 Hausa, Latin alphabet\n-    Locale[\"ha\"][\"name\"]               = \"Hausa\"\n-    Locale[\"ha\"][\"endonym\"]            = \"Hausa\"\n-    Locale[\"ha\"][\"translations-of\"]    = \"Fassarar %s\"\n-    Locale[\"ha\"][\"definitions-of\"]     = \"Ma'anoni na %s\"\n-    Locale[\"ha\"][\"synonyms\"]           = \"Masu kamancin ma'ana\"\n-    Locale[\"ha\"][\"examples\"]           = \"Misalai\"\n-    Locale[\"ha\"][\"see-also\"]           = \"Duba kuma\"\n-    Locale[\"ha\"][\"family\"]             = \"Afro-Asiatic\"\n-    Locale[\"ha\"][\"iso\"]                = \"hau\"\n-    Locale[\"ha\"][\"glotto\"]             = \"haus1257\"\n-    Locale[\"ha\"][\"script\"]             = \"Latn\"\n-\n-    #32 Hebrew\n-    Locale[\"he\"][\"name\"]               = \"Hebrew\"\n-    Locale[\"he\"][\"endonym\"]            = \"\u05e2\u05b4\u05d1\u05b0\u05e8\u05b4\u05d9\u05ea\"\n-    Locale[\"he\"][\"translations-of\"]    = \"\u05ea\u05e8\u05d2\u05d5\u05de\u05d9\u05dd \u05e9\u05dc %s\"\n-    Locale[\"he\"][\"definitions-of\"]     = \"\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05e9\u05dc %s\"\n-    Locale[\"he\"][\"synonyms\"]           = \"\u05de\u05d9\u05dc\u05d9\u05dd \u05e0\u05e8\u05d3\u05e4\u05d5\u05ea\"\n-    Locale[\"he\"][\"examples\"]           = \"\u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea\"\n-    Locale[\"he\"][\"see-also\"]           = \"\u05e8\u05d0\u05d4 \u05d2\u05dd\"\n-    Locale[\"he\"][\"family\"]             = \"Afro-Asiatic\"\n-    Locale[\"he\"][\"iso\"]                = \"heb\"\n-    Locale[\"he\"][\"glotto\"]             = \"hebr1245\"\n-    Locale[\"he\"][\"script\"]             = \"Hebr\"\n-    Locale[\"he\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #33 Hindi\n-    Locale[\"hi\"][\"name\"]               = \"Hindi\"\n-    Locale[\"hi\"][\"endonym\"]            = \"\u0939\u093f\u0928\u094d\u0926\u0940\"\n-    Locale[\"hi\"][\"translations-of\"]    = \"%s \u0915\u0947 \u0905\u0928\u0941\u0935\u093e\u0926\"\n-    Locale[\"hi\"][\"definitions-of\"]     = \"%s \u0915\u0940 \u092a\u0930\u093f\u092d\u093e\u0937\u093e\u090f\u0902\"\n-    Locale[\"hi\"][\"synonyms\"]           = \"\u0938\u092e\u093e\u0928\u093e\u0930\u094d\u0925\u0940\"\n-    Locale[\"hi\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\"\n-    Locale[\"hi\"][\"see-also\"]           = \"\u092f\u0939 \u092d\u0940 \u0926\u0947\u0916\u0947\u0902\"\n-    Locale[\"hi\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"hi\"][\"iso\"]                = \"hin\"\n-    Locale[\"hi\"][\"glotto\"]             = \"hind1269\"\n-    Locale[\"hi\"][\"script\"]             = \"Deva\"\n-\n-    #34 Hmong (First Vernacular Hmong)\n-    Locale[\"hmn\"][\"name\"]              = \"Hmong\"\n-    Locale[\"hmn\"][\"endonym\"]           = \"Hmoob\"\n-    Locale[\"hmn\"][\"translations-of\"]   = \"Lus txhais: %s\"\n-    #Locale[\"hmn\"][\"definitions-of\"]\n-    #Locale[\"hmn\"][\"synonyms\"]\n-    #Locale[\"hmn\"][\"examples\"]\n-    #Locale[\"hmn\"][\"see-also\"]\n-    Locale[\"hmn\"][\"family\"]            = \"Hmong-Mien\"\n-    Locale[\"hmn\"][\"iso\"]               = \"hmn\"\n-    Locale[\"hmn\"][\"glotto\"]            = \"firs1234\"\n-    Locale[\"hmn\"][\"script\"]            = \"Latn\"\n-\n-    #35 Hungarian\n-    Locale[\"hu\"][\"name\"]               = \"Hungarian\"\n-    Locale[\"hu\"][\"endonym\"]            = \"Magyar\"\n-    Locale[\"hu\"][\"translations-of\"]    = \"%s ford\u00edt\u00e1sai\"\n-    Locale[\"hu\"][\"definitions-of\"]     = \"%s jelent\u00e9sei\"\n-    Locale[\"hu\"][\"synonyms\"]           = \"Szinonim\u00e1k\"\n-    Locale[\"hu\"][\"examples\"]           = \"P\u00e9ld\u00e1k\"\n-    Locale[\"hu\"][\"see-also\"]           = \"L\u00e1sd m\u00e9g\"\n-    Locale[\"hu\"][\"family\"]             = \"Uralic\"\n-    Locale[\"hu\"][\"iso\"]                = \"hun\"\n-    Locale[\"hu\"][\"glotto\"]             = \"hung1274\"\n-    Locale[\"hu\"][\"script\"]             = \"Latn\"\n-\n-    #36 Icelandic\n-    Locale[\"is\"][\"name\"]               = \"Icelandic\"\n-    Locale[\"is\"][\"endonym\"]            = \"\u00cdslenska\"\n-    Locale[\"is\"][\"translations-of\"]    = \"\u00de\u00fd\u00f0ingar \u00e1 %s\"\n-    Locale[\"is\"][\"definitions-of\"]     = \"Skilgreiningar \u00e1\"\n-    Locale[\"is\"][\"synonyms\"]           = \"Samheiti\"\n-    Locale[\"is\"][\"examples\"]           = \"D\u00e6mi\"\n-    Locale[\"is\"][\"see-also\"]           = \"Sj\u00e1 einnig\"\n-    Locale[\"is\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"is\"][\"iso\"]                = \"isl\"\n-    Locale[\"is\"][\"glotto\"]             = \"icel1247\"\n-    Locale[\"is\"][\"script\"]             = \"Latn\"\n-\n-    #37 Igbo\n-    Locale[\"ig\"][\"name\"]               = \"Igbo\"\n-    Locale[\"ig\"][\"endonym\"]            = \"Igbo\"\n-    Locale[\"ig\"][\"translations-of\"]    = \"Nt\u1ee5ghar\u1ecb as\u1ee5s\u1ee5 nke %s\"\n-    Locale[\"ig\"][\"definitions-of\"]     = \"Nk\u1ecdwap\u1ee5ta nke %s\"\n-    Locale[\"ig\"][\"synonyms\"]           = \"Okwu oyiri\"\n-    Locale[\"ig\"][\"examples\"]           = \"\u1eccm\u1ee5maat\u1ee5\"\n-    Locale[\"ig\"][\"see-also\"]           = \"H\u1ee5kwuo\"\n-    Locale[\"ig\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"ig\"][\"iso\"]                = \"ibo\"\n-    Locale[\"ig\"][\"glotto\"]             = \"nucl1417\"\n-    Locale[\"ig\"][\"script\"]             = \"Latn\"\n-\n-    #38 Indonesian\n-    Locale[\"id\"][\"name\"]               = \"Indonesian\"\n-    Locale[\"id\"][\"endonym\"]            = \"Bahasa Indonesia\"\n-    Locale[\"id\"][\"translations-of\"]    = \"Terjemahan dari %s\"\n-    Locale[\"id\"][\"definitions-of\"]     = \"Definisi %s\"\n-    Locale[\"id\"][\"synonyms\"]           = \"Sinonim\"\n-    Locale[\"id\"][\"examples\"]           = \"Contoh\"\n-    Locale[\"id\"][\"see-also\"]           = \"Lihat juga\"\n-    Locale[\"id\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"id\"][\"iso\"]                = \"ind\"\n-    Locale[\"id\"][\"glotto\"]             = \"indo1316\"\n-    Locale[\"id\"][\"script\"]             = \"Latn\"\n-\n-    #39 Irish\n-    Locale[\"ga\"][\"name\"]               = \"Irish\"\n-    Locale[\"ga\"][\"endonym\"]            = \"Gaeilge\"\n-    Locale[\"ga\"][\"translations-of\"]    = \"Aistri\u00fach\u00e1in ar %s\"\n-    Locale[\"ga\"][\"definitions-of\"]     = \"Sainmh\u00ednithe ar %s\"\n-    Locale[\"ga\"][\"synonyms\"]           = \"Comhchiallaigh\"\n-    Locale[\"ga\"][\"examples\"]           = \"Sampla\u00ed\"\n-    Locale[\"ga\"][\"see-also\"]           = \"f\u00e9ach freisin\"\n-    Locale[\"ga\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ga\"][\"iso\"]                = \"gle\"\n-    Locale[\"ga\"][\"glotto\"]             = \"iris1253\"\n-    Locale[\"ga\"][\"script\"]             = \"Latn\"\n-\n-    #40 Italian\n-    Locale[\"it\"][\"name\"]               = \"Italian\"\n-    Locale[\"it\"][\"endonym\"]            = \"Italiano\"\n-    Locale[\"it\"][\"translations-of\"]    = \"Traduzioni di %s\"\n-    Locale[\"it\"][\"definitions-of\"]     = \"Definizioni di %s\"\n-    Locale[\"it\"][\"synonyms\"]           = \"Sinonimi\"\n-    Locale[\"it\"][\"examples\"]           = \"Esempi\"\n-    Locale[\"it\"][\"see-also\"]           = \"Vedi anche\"\n-    Locale[\"it\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"it\"][\"iso\"]                = \"ita\"\n-    Locale[\"it\"][\"glotto\"]             = \"ital1282\"\n-    Locale[\"it\"][\"script\"]             = \"Latn\"\n-    Locale[\"it\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #41 Japanese\n-    Locale[\"ja\"][\"name\"]               = \"Japanese\"\n-    Locale[\"ja\"][\"endonym\"]            = \"\u65e5\u672c\u8a9e\"\n-    Locale[\"ja\"][\"translations-of\"]    = \"\u300c%s\u300d\u306e\u7ffb\u8a33\"\n-    Locale[\"ja\"][\"definitions-of\"]     = \"%s \u306e\u5b9a\u7fa9\"\n-    Locale[\"ja\"][\"synonyms\"]           = \"\u540c\u7fa9\u8a9e\"\n-    Locale[\"ja\"][\"examples\"]           = \"\u4f8b\"\n-    Locale[\"ja\"][\"see-also\"]           = \"\u95a2\u9023\u9805\u76ee\"\n-    Locale[\"ja\"][\"family\"]             = \"Japonic\"\n-    Locale[\"ja\"][\"iso\"]                = \"jpn\"\n-    Locale[\"ja\"][\"glotto\"]             = \"nucl1643\"\n-    Locale[\"ja\"][\"script\"]             = \"Jpan\"\n-    Locale[\"ja\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #42 Javanese, Latin alphabet\n-    Locale[\"jv\"][\"name\"]               = \"Javanese\"\n-    Locale[\"jv\"][\"endonym\"]            = \"Basa Jawa\"\n-    Locale[\"jv\"][\"translations-of\"]    = \"Terjemahan %s\"\n-    Locale[\"jv\"][\"definitions-of\"]     = \"Arti %s\"\n-    Locale[\"jv\"][\"synonyms\"]           = \"Sinonim\"\n-    Locale[\"jv\"][\"examples\"]           = \"Conto\"\n-    Locale[\"jv\"][\"see-also\"]           = \"Deleng uga\"\n-    Locale[\"jv\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"jv\"][\"iso\"]                = \"jav\"\n-    Locale[\"jv\"][\"glotto\"]             = \"java1254\"\n-    Locale[\"jv\"][\"script\"]             = \"Latn\"\n-\n-    #43 Kannada (Modern Kannada)\n-    Locale[\"kn\"][\"name\"]               = \"Kannada\"\n-    Locale[\"kn\"][\"endonym\"]            = \"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1\"\n-    Locale[\"kn\"][\"translations-of\"]    = \"%s \u0ca8 \u0c85\u0ca8\u0cc1\u0cb5\u0cbe\u0ca6\u0c97\u0cb3\u0cc1\"\n-    Locale[\"kn\"][\"definitions-of\"]     = \"%s \u0ca8 \u0cb5\u0ccd\u0caf\u0cbe\u0c96\u0ccd\u0caf\u0cbe\u0ca8\u0c97\u0cb3\u0cc1\"\n-    Locale[\"kn\"][\"synonyms\"]           = \"\u0cb8\u0cae\u0cbe\u0ca8\u0cbe\u0cb0\u0ccd\u0ca5\u0c95\u0c97\u0cb3\u0cc1\"\n-    Locale[\"kn\"][\"examples\"]           = \"\u0c89\u0ca6\u0cbe\u0cb9\u0cb0\u0ca3\u0cc6\u0c97\u0cb3\u0cc1\"\n-    Locale[\"kn\"][\"see-also\"]           = \"\u0c87\u0ca6\u0ca8\u0ccd\u0ca8\u0cc2 \u0c97\u0cae\u0ca8\u0cbf\u0cb8\u0cbf\"\n-    Locale[\"kn\"][\"family\"]             = \"Dravidian\"\n-    Locale[\"kn\"][\"iso\"]                = \"kan\"\n-    Locale[\"kn\"][\"glotto\"]             = \"nucl1305\"\n-    Locale[\"kn\"][\"script\"]             = \"Knda\"\n-\n-    #44 Kazakh, Cyrillic alphabet\n-    Locale[\"kk\"][\"name\"]               = \"Kazakh\"\n-    Locale[\"kk\"][\"endonym\"]            = \"\u049a\u0430\u0437\u0430\u049b \u0442\u0456\u043b\u0456\"\n-    Locale[\"kk\"][\"translations-of\"]    = \"%s \u0430\u0443\u0434\u0430\u0440\u043c\u0430\u043b\u0430\u0440\u044b\"\n-    Locale[\"kk\"][\"definitions-of\"]     = \"%s \u0430\u043d\u044b\u049b\u0442\u0430\u043c\u0430\u043b\u0430\u0440\u044b\"\n-    Locale[\"kk\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0434\u0435\u0440\"\n-    Locale[\"kk\"][\"examples\"]           = \"\u041c\u044b\u0441\u0430\u043b\u0434\u0430\u0440\"\n-    Locale[\"kk\"][\"see-also\"]           = \"\u041a\u0435\u043b\u0435\u0441\u0456 \u0442\u0456\u0437\u0456\u043c\u0434\u0456 \u0434\u0435 \u043a\u04e9\u0440\u0456\u04a3\u0456\u0437:\"\n-    Locale[\"kk\"][\"family\"]             = \"Turkic\"\n-    Locale[\"kk\"][\"iso\"]                = \"kaz\"\n-    Locale[\"kk\"][\"glotto\"]             = \"kaza1248\"\n-    Locale[\"kk\"][\"script\"]             = \"Cyrl\"\n-\n-    #45 Khmer (Central Khmer)\n-    Locale[\"km\"][\"name\"]               = \"Khmer\"\n-    Locale[\"km\"][\"endonym\"]            = \"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a\"\n-    Locale[\"km\"][\"translations-of\"]    = \"\u1780\u17b6\u179a\u200b\u1794\u1780\u200b\u1794\u17d2\u179a\u17c2\u200b\u1793\u17c3 %s\"\n-    Locale[\"km\"][\"definitions-of\"]     = \"\u1793\u17b7\u1799\u1798\u1793\u17d0\u1799\u200b\u1793\u17c3\u200b %s\"\n-    Locale[\"km\"][\"synonyms\"]           = \"\u179f\u1791\u17b7\u179f\u1793\u17d0\u1799\"\n-    Locale[\"km\"][\"examples\"]           = \"\u17a7\u1791\u17b6\u17a0\u179a\u178e\u17cd\"\n-    Locale[\"km\"][\"see-also\"]           = \"\u1798\u17be\u179b\u200b\u1795\u1784\u200b\u178a\u17c2\u179a\"\n-    Locale[\"km\"][\"family\"]             = \"Austroasiatic\"\n-    Locale[\"km\"][\"iso\"]                = \"khm\"\n-    Locale[\"km\"][\"glotto\"]             = \"cent1989\"\n-    Locale[\"km\"][\"script\"]             = \"Khmr\"\n-\n-    #46 Korean\n-    Locale[\"ko\"][\"name\"]               = \"Korean\"\n-    Locale[\"ko\"][\"endonym\"]            = \"\ud55c\uad6d\uc5b4\"\n-    Locale[\"ko\"][\"translations-of\"]    = \"%s\uc758 \ubc88\uc5ed\"\n-    Locale[\"ko\"][\"definitions-of\"]     = \"%s\uc758 \uc815\uc758\"\n-    Locale[\"ko\"][\"synonyms\"]           = \"\ub3d9\uc758\uc5b4\"\n-    Locale[\"ko\"][\"examples\"]           = \"\uc608\ubb38\"\n-    Locale[\"ko\"][\"see-also\"]           = \"\ucc38\uc870\"\n-    Locale[\"ko\"][\"family\"]             = \"Koreanic\"\n-    Locale[\"ko\"][\"iso\"]                = \"kor\"\n-    Locale[\"ko\"][\"glotto\"]             = \"kore1280\"\n-    Locale[\"ko\"][\"script\"]             = \"Kore\"\n-    Locale[\"ko\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #47 Lao\n-    Locale[\"lo\"][\"name\"]               = \"Lao\"\n-    Locale[\"lo\"][\"endonym\"]            = \"\u0ea5\u0eb2\u0ea7\"\n-    Locale[\"lo\"][\"translations-of\"]    = \"\u0e84\u0eb3\u200b\u0ec1\u0e9b\u200b\u0eaa\u0eb3\u0ea5\u0eb1\u0e9a %s\"\n-    Locale[\"lo\"][\"definitions-of\"]     = \"\u0e84\u0ea7\u0eb2\u0ea1\u0edd\u0eb2\u0e8d\u0e82\u0ead\u0e87 %s\"\n-    Locale[\"lo\"][\"synonyms\"]           = \"\u0e84\u0eb3\u0e97\u0eb5\u0ec8\u0e84\u0ec9\u0eb2\u0e8d\u0e81\u0eb1\u0e99 %s\"\n-    Locale[\"lo\"][\"examples\"]           = \"\u0e95\u0ebb\u0ea7\u0ea2\u0ec8\u0eb2\u0e87\"\n-    Locale[\"lo\"][\"see-also\"]           = \"\u0ec0\u0e9a\u0eb4\u0ec8\u0e87\u200b\u0ec0\u0e9e\u0eb5\u0ec8\u0ea1\u200b\u0ec0\u0e95\u0eb5\u0ea1\"\n-    Locale[\"lo\"][\"family\"]             = \"Tai-Kadai\"\n-    Locale[\"lo\"][\"iso\"]                = \"lao\"\n-    Locale[\"lo\"][\"glotto\"]             = \"laoo1244\"\n-    Locale[\"lo\"][\"script\"]             = \"Laoo\"\n-\n-    #48 Latin\n-    Locale[\"la\"][\"name\"]               = \"Latin\"\n-    Locale[\"la\"][\"endonym\"]            = \"Latina\"\n-    Locale[\"la\"][\"translations-of\"]    = \"Versio de %s\"\n-    #Locale[\"la\"][\"definitions-of\"]\n-    #Locale[\"la\"][\"synonyms\"]\n-    #Locale[\"la\"][\"examples\"]\n-    #Locale[\"la\"][\"see-also\"]\n-    Locale[\"la\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"la\"][\"iso\"]                = \"lat\"\n-    Locale[\"la\"][\"glotto\"]             = \"lati1261\"\n-    Locale[\"la\"][\"script\"]             = \"Latn\"\n-\n-    #49 Latvian\n-    Locale[\"lv\"][\"name\"]               = \"Latvian\"\n-    Locale[\"lv\"][\"endonym\"]            = \"Latvie\u0161u\"\n-    Locale[\"lv\"][\"translations-of\"]    = \"%s tulkojumi\"\n-    Locale[\"lv\"][\"definitions-of\"]     = \"%s defin\u012bcijas\"\n-    Locale[\"lv\"][\"synonyms\"]           = \"Sinon\u012bmi\"\n-    Locale[\"lv\"][\"examples\"]           = \"Piem\u0113ri\"\n-    Locale[\"lv\"][\"see-also\"]           = \"Skatiet ar\u012b\"\n-    Locale[\"lv\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"lv\"][\"iso\"]                = \"lav\"\n-    Locale[\"lv\"][\"glotto\"]             = \"latv1249\"\n-    Locale[\"lv\"][\"script\"]             = \"Latn\"\n-\n-    #50 Lithuanian\n-    Locale[\"lt\"][\"name\"]               = \"Lithuanian\"\n-    Locale[\"lt\"][\"endonym\"]            = \"Lietuvi\u0173\"\n-    Locale[\"lt\"][\"translations-of\"]    = \"\u201e%s\u201c vertimai\"\n-    Locale[\"lt\"][\"definitions-of\"]     = \"\u201e%s\u201c apibr\u0117\u017eimai\"\n-    Locale[\"lt\"][\"synonyms\"]           = \"Sinonimai\"\n-    Locale[\"lt\"][\"examples\"]           = \"Pavyzd\u017eiai\"\n-    Locale[\"lt\"][\"see-also\"]           = \"Taip pat \u017ei\u016br\u0117kite\"\n-    Locale[\"lt\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"lt\"][\"iso\"]                = \"lit\"\n-    Locale[\"lt\"][\"glotto\"]             = \"lith1251\"\n-    Locale[\"lt\"][\"script\"]             = \"Latn\"\n-\n-    #51 Macedonian\n-    Locale[\"mk\"][\"name\"]               = \"Macedonian\"\n-    Locale[\"mk\"][\"endonym\"]            = \"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438\"\n-    Locale[\"mk\"][\"translations-of\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u043d\u0430 %s\"\n-    Locale[\"mk\"][\"definitions-of\"]     = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0438 \u043d\u0430 %s\"\n-    Locale[\"mk\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n-    Locale[\"mk\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n-    Locale[\"mk\"][\"see-also\"]           = \"\u0412\u0438\u0434\u0438 \u0438\"\n-    Locale[\"mk\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"mk\"][\"iso\"]                = \"mkd\"\n-    Locale[\"mk\"][\"glotto\"]             = \"mace1250\"\n-    Locale[\"mk\"][\"script\"]             = \"Cyrl\"\n-\n-    #52 Malagasy (Plateau Malagasy)\n-    Locale[\"mg\"][\"name\"]               = \"Malagasy\"\n-    Locale[\"mg\"][\"endonym\"]            = \"Malagasy\"\n-    Locale[\"mg\"][\"translations-of\"]    = \"Dikan'ny %s\"\n-    Locale[\"mg\"][\"definitions-of\"]     = \"Famaritana ny %s\"\n-    Locale[\"mg\"][\"synonyms\"]           = \"Mitovy hevitra\"\n-    Locale[\"mg\"][\"examples\"]           = \"Ohatra\"\n-    Locale[\"mg\"][\"see-also\"]           = \"Jereo ihany koa\"\n-    Locale[\"mg\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"mg\"][\"iso\"]                = \"mlg\"\n-    Locale[\"mg\"][\"glotto\"]             = \"plat1254\"\n-    Locale[\"mg\"][\"script\"]             = \"Latn\"\n-\n-    #53 Malay (Standard Malay)\n-    Locale[\"ms\"][\"name\"]               = \"Malay\"\n-    Locale[\"ms\"][\"endonym\"]            = \"Bahasa Melayu\"\n-    Locale[\"ms\"][\"translations-of\"]    = \"Terjemahan %s\"\n-    Locale[\"ms\"][\"definitions-of\"]     = \"Takrif %s\"\n-    Locale[\"ms\"][\"synonyms\"]           = \"Sinonim\"\n-    Locale[\"ms\"][\"examples\"]           = \"Contoh\"\n-    Locale[\"ms\"][\"see-also\"]           = \"Lihat juga\"\n-    Locale[\"ms\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"ms\"][\"iso\"]                = \"msa\"\n-    Locale[\"ms\"][\"glotto\"]             = \"stan1306\"\n-    Locale[\"ms\"][\"script\"]             = \"Latn\"\n-\n-    #54 Malayalam\n-    Locale[\"ml\"][\"name\"]               = \"Malayalam\"\n-    Locale[\"ml\"][\"endonym\"]            = \"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02\"\n-    Locale[\"ml\"][\"translations-of\"]    = \"%s \u0d0e\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d35\u0d3f\u0d35\u0d7c\u0d24\u0d4d\u0d24\u0d28\u0d19\u0d4d\u0d19\u0d7e\"\n-    Locale[\"ml\"][\"definitions-of\"]     = \"%s \u0d0e\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d28\u0d3f\u0d7c\u0d35\u0d4d\u0d35\u0d1a\u0d28\u0d19\u0d4d\u0d19\u0d7e\"\n-    Locale[\"ml\"][\"synonyms\"]           = \"\u0d2a\u0d30\u0d4d\u0d2f\u0d3e\u0d2f\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d\"\n-    Locale[\"ml\"][\"examples\"]           = \"\u0d09\u0d26\u0d3e\u0d39\u0d30\u0d23\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d\"\n-    Locale[\"ml\"][\"see-also\"]           = \"\u0d07\u0d24\u0d41\u0d02 \u0d15\u0d3e\u0d23\u0d41\u0d15\"\n-    Locale[\"ml\"][\"family\"]             = \"Dravidian\"\n-    Locale[\"ml\"][\"iso\"]                = \"mal\"\n-    Locale[\"ml\"][\"glotto\"]             = \"mala1464\"\n-    Locale[\"ml\"][\"script\"]             = \"Mlym\"\n-\n-    #55 Maltese\n-    Locale[\"mt\"][\"name\"]               = \"Maltese\"\n-    Locale[\"mt\"][\"endonym\"]            = \"Malti\"\n-    Locale[\"mt\"][\"translations-of\"]    = \"Traduzzjonijiet ta' %s\"\n-    Locale[\"mt\"][\"definitions-of\"]     = \"Definizzjonijiet ta' %s\"\n-    Locale[\"mt\"][\"synonyms\"]           = \"Sinonimi\"\n-    Locale[\"mt\"][\"examples\"]           = \"E\u017cempji\"\n-    Locale[\"mt\"][\"see-also\"]           = \"Ara wkoll\"\n-    Locale[\"mt\"][\"family\"]             = \"Afro-Asiatic\"\n-    Locale[\"mt\"][\"iso\"]                = \"mlt\"\n-    Locale[\"mt\"][\"glotto\"]             = \"malt1254\"\n-    Locale[\"mt\"][\"script\"]             = \"Latn\"\n-\n-    #56 Maori\n-    Locale[\"mi\"][\"name\"]               = \"Maori\"\n-    Locale[\"mi\"][\"endonym\"]            = \"M\u0101ori\"\n-    Locale[\"mi\"][\"translations-of\"]    = \"Ng\u0101 whakam\u0101oritanga o %s\"\n-    Locale[\"mi\"][\"definitions-of\"]     = \"Ng\u0101 whakam\u0101rama o %s\"\n-    Locale[\"mi\"][\"synonyms\"]           = \"Ng\u0101 Kupu Taurite\"\n-    Locale[\"mi\"][\"examples\"]           = \"Ng\u0101 Tauira:\"\n-    Locale[\"mi\"][\"see-also\"]           = \"Tiro hoki:\"\n-    Locale[\"mi\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"mi\"][\"iso\"]                = \"mri\"\n-    Locale[\"mi\"][\"glotto\"]             = \"maor1246\"\n-    Locale[\"mi\"][\"script\"]             = \"Latn\"\n-\n-    #57 Marathi\n-    Locale[\"mr\"][\"name\"]               = \"Marathi\"\n-    Locale[\"mr\"][\"endonym\"]            = \"\u092e\u0930\u093e\u0920\u0940\"\n-    Locale[\"mr\"][\"translations-of\"]    = \"%s \u091a\u0940 \u092d\u093e\u0937\u093e\u0902\u0924\u0930\u0947\"\n-    Locale[\"mr\"][\"definitions-of\"]     = \"%s \u091a\u094d\u092f\u093e \u0935\u094d\u092f\u093e\u0916\u094d\u092f\u093e\"\n-    Locale[\"mr\"][\"synonyms\"]           = \"\u0938\u092e\u093e\u0928\u093e\u0930\u094d\u0925\u0940 \u0936\u092c\u094d\u0926\"\n-    Locale[\"mr\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\u0947\"\n-    Locale[\"mr\"][\"see-also\"]           = \"\u0939\u0947 \u0926\u0947\u0916\u0940\u0932 \u092a\u0939\u093e\"\n-    Locale[\"mr\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"mr\"][\"iso\"]                = \"mar\"\n-    Locale[\"mr\"][\"glotto\"]             = \"mara1378\"\n-    Locale[\"mr\"][\"script\"]             = \"Deva\"\n-\n-    #58 Mongolian, Cyrillic alphabet\n-    Locale[\"mn\"][\"name\"]               = \"Mongolian\"\n-    Locale[\"mn\"][\"endonym\"]            = \"\u041c\u043e\u043d\u0433\u043e\u043b\"\n-    Locale[\"mn\"][\"translations-of\"]    = \"%s-\u043d \u043e\u0440\u0447\u0443\u0443\u043b\u0433\u0430\"\n-    Locale[\"mn\"][\"definitions-of\"]     = \"%s \u04af\u0433\u0438\u0439\u043d \u0442\u043e\u0434\u043e\u0440\u0445\u043e\u0439\u043b\u043e\u043b\u0442\"\n-    Locale[\"mn\"][\"synonyms\"]           = \"\u041e\u0439\u0440\u043e\u043b\u0446\u043e\u043e \u0443\u0442\u0433\u0430\u0442\u0430\u0439\"\n-    Locale[\"mn\"][\"examples\"]           = \"\u0416\u0438\u0448\u044d\u044d\u043d\u04af\u04af\u0434\"\n-    Locale[\"mn\"][\"see-also\"]           = \"\u041c\u04e9\u043d \u0445\u0430\u0440\u0430\u0445\"\n-    Locale[\"mn\"][\"family\"]             = \"Mongolic\"\n-    Locale[\"mn\"][\"iso\"]                = \"mon\"\n-    Locale[\"mn\"][\"glotto\"]             = \"mong1331\"\n-    Locale[\"mn\"][\"script\"]             = \"Cyrl\"\n-\n-    #59 Myanmar \/ Burmese\n-    Locale[\"my\"][\"name\"]               = \"Myanmar\"\n-    Locale[\"my\"][\"endonym\"]            = \"\u1019\u103c\u1014\u103a\u1019\u102c\u1005\u102c\"\n-    Locale[\"my\"][\"translations-of\"]    = \"%s\u104f \u1018\u102c\u101e\u102c\u1015\u103c\u1014\u103a\u1006\u102d\u102f\u1001\u103b\u1000\u103a\u1019\u103b\u102c\u1038\"\n-    Locale[\"my\"][\"definitions-of\"]     = \"%s\u104f \u1021\u1014\u1000\u103a\u1016\u103d\u1004\u103a\u1037\u1006\u102d\u102f\u1001\u103b\u1000\u103a\u1019\u103b\u102c\u1038\"\n-    Locale[\"my\"][\"synonyms\"]           = \"\u1000\u103c\u1031\u102c\u1004\u103a\u1038\u1010\u1030\u101e\u1036\u1000\u103d\u1032\u1019\u103b\u102c\u1038\"\n-    Locale[\"my\"][\"examples\"]           = \"\u1025\u1015\u1019\u102c\"\n-    Locale[\"my\"][\"see-also\"]           = \"\u1016\u1031\u102c\u103a\u1015\u103c\u1015\u102b\u1019\u103b\u102c\u1038\u1000\u102d\u102f\u101c\u1032 \u1000\u103c\u100a\u103a\u1037\u1015\u102b\"\n-    Locale[\"my\"][\"family\"]             = \"Sino-Tibetan\"\n-    Locale[\"my\"][\"iso\"]                = \"mya\"\n-    Locale[\"my\"][\"glotto\"]             = \"nucl1310\"\n-    Locale[\"my\"][\"script\"]             = \"Mymr\"\n-\n-    #60 Nepali\n-    Locale[\"ne\"][\"name\"]               = \"Nepali\"\n-    Locale[\"ne\"][\"endonym\"]            = \"\u0928\u0947\u092a\u093e\u0932\u0940\"\n-    Locale[\"ne\"][\"translations-of\"]    = \"%s\u0915\u093e \u0905\u0928\u0941\u0935\u093e\u0926\"\n-    Locale[\"ne\"][\"definitions-of\"]     = \"%s\u0915\u094b \u092a\u0930\u093f\u092d\u093e\u0937\u093e\"\n-    Locale[\"ne\"][\"synonyms\"]           = \"\u0938\u092e\u093e\u0928\u093e\u0930\u094d\u0925\u0940\u0939\u0930\u0942\"\n-    Locale[\"ne\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\u0939\u0930\u0941\"\n-    Locale[\"ne\"][\"see-also\"]           = \"\u092f\u094b \u092a\u0928\u093f \u0939\u0947\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d\"\n-    Locale[\"ne\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ne\"][\"iso\"]                = \"nep\"\n-    Locale[\"ne\"][\"glotto\"]             = \"nepa1254\"\n-    Locale[\"ne\"][\"script\"]             = \"Deva\"\n-\n-    #61 Norwegian\n-    Locale[\"no\"][\"name\"]               = \"Norwegian\"\n-    Locale[\"no\"][\"endonym\"]            = \"Norsk\"\n-    Locale[\"no\"][\"translations-of\"]    = \"Oversettelser av %s\"\n-    Locale[\"no\"][\"definitions-of\"]     = \"Definisjoner av %s\"\n-    Locale[\"no\"][\"synonyms\"]           = \"Synonymer\"\n-    Locale[\"no\"][\"examples\"]           = \"Eksempler\"\n-    Locale[\"no\"][\"see-also\"]           = \"Se ogs\u00e5\"\n-    Locale[\"no\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"no\"][\"iso\"]                = \"nor\"\n-    Locale[\"no\"][\"glotto\"]             = \"norw1258\"\n-    Locale[\"no\"][\"script\"]             = \"Latn\"\n-\n-    #62 Persian (Western Farsi)\n-    Locale[\"fa\"][\"name\"]               = \"Persian\"\n-    Locale[\"fa\"][\"endonym\"]            = \"\u0641\u0627\u0631\u0633\u06cc\"\n-    Locale[\"fa\"][\"translations-of\"]    = \"\u062a\u0631\u062c\u0645\u0647\u200c\u0647\u0627\u06cc %s\"\n-    Locale[\"fa\"][\"definitions-of\"]     = \"\u062a\u0639\u0631\u06cc\u0641\u200c\u0647\u0627\u06cc %s\"\n-    Locale[\"fa\"][\"synonyms\"]           = \"\u0645\u062a\u0631\u0627\u062f\u0641\u200c\u0647\u0627\"\n-    Locale[\"fa\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u200c\u0647\u0627\"\n-    Locale[\"fa\"][\"see-also\"]           = \"\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0647\"\n-    Locale[\"fa\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"fa\"][\"iso\"]                = \"fas\"\n-    Locale[\"fa\"][\"glotto\"]             = \"west2369\"\n-    Locale[\"fa\"][\"script\"]             = \"Arab\"\n-    Locale[\"fa\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #63 Polish\n-    Locale[\"pl\"][\"name\"]               = \"Polish\"\n-    Locale[\"pl\"][\"endonym\"]            = \"Polski\"\n-    Locale[\"pl\"][\"translations-of\"]    = \"T\u0142umaczenia %s\"\n-    Locale[\"pl\"][\"definitions-of\"]     = \"%s \u2013 definicje\"\n-    Locale[\"pl\"][\"synonyms\"]           = \"Synonimy\"\n-    Locale[\"pl\"][\"examples\"]           = \"Przyk\u0142ady\"\n-    Locale[\"pl\"][\"see-also\"]           = \"Zobacz te\u017c\"\n-    Locale[\"pl\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"pl\"][\"iso\"]                = \"pol\"\n-    Locale[\"pl\"][\"glotto\"]             = \"poli1260\"\n-    Locale[\"pl\"][\"script\"]             = \"Latn\"\n-\n-    #64 Portuguese\n-    Locale[\"pt\"][\"name\"]               = \"Portuguese\"\n-    Locale[\"pt\"][\"endonym\"]            = \"Portugu\u00eas\"\n-    Locale[\"pt\"][\"translations-of\"]    = \"Tradu\u00e7\u00f5es de %s\"\n-    Locale[\"pt\"][\"definitions-of\"]     = \"Defini\u00e7\u00f5es de %s\"\n-    Locale[\"pt\"][\"synonyms\"]           = \"Sin\u00f4nimos\"\n-    Locale[\"pt\"][\"examples\"]           = \"Exemplos\"\n-    Locale[\"pt\"][\"see-also\"]           = \"Veja tamb\u00e9m\"\n-    Locale[\"pt\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"pt\"][\"iso\"]                = \"por\"\n-    Locale[\"pt\"][\"glotto\"]             = \"port1283\"\n-    Locale[\"pt\"][\"script\"]             = \"Latn\"\n-    Locale[\"pt\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #65 Punjabi, Gurmukh\u012b alphabet\n-    Locale[\"pa\"][\"name\"]               = \"Punjabi\"\n-    Locale[\"pa\"][\"endonym\"]            = \"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40\"\n-    Locale[\"pa\"][\"translations-of\"]    = \"\u0a26\u0a47 \u0a05\u0a28\u0a41\u0a35\u0a3e\u0a26%s\"\n-    Locale[\"pa\"][\"definitions-of\"]     = \"\u0a26\u0a40\u0a06\u0a02 \u0a2a\u0a30\u0a3f\u0a2d\u0a3e\u0a38\u0a3c\u0a3e %s\"\n-    Locale[\"pa\"][\"synonyms\"]           = \"\u0a38\u0a2e\u0a3e\u0a28\u0a3e\u0a30\u0a25\u0a15 \u0a36\u0a2c\u0a26\"\n-    Locale[\"pa\"][\"examples\"]           = \"\u0a09\u0a26\u0a3e\u0a39\u0a30\u0a23\u0a3e\u0a02\"\n-    Locale[\"pa\"][\"see-also\"]           = \"\u0a07\u0a39 \u0a35\u0a40 \u0a35\u0a47\u0a16\u0a4b\"\n-    Locale[\"pa\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"pa\"][\"iso\"]                = \"pan\"\n-    Locale[\"pa\"][\"glotto\"]             = \"panj1256\"\n-    Locale[\"pa\"][\"script\"]             = \"Guru\"\n-\n-    #66 Romanian\n-    Locale[\"ro\"][\"name\"]               = \"Romanian\"\n-    Locale[\"ro\"][\"endonym\"]            = \"Rom\u00e2n\u0103\"\n-    Locale[\"ro\"][\"translations-of\"]    = \"Traduceri pentru %s\"\n-    Locale[\"ro\"][\"definitions-of\"]     = \"Defini\u021bii pentru %s\"\n-    Locale[\"ro\"][\"synonyms\"]           = \"Sinonime\"\n-    Locale[\"ro\"][\"examples\"]           = \"Exemple\"\n-    Locale[\"ro\"][\"see-also\"]           = \"Vede\u021bi \u0219i\"\n-    Locale[\"ro\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ro\"][\"iso\"]                = \"ron\"\n-    Locale[\"ro\"][\"glotto\"]             = \"roma1327\"\n-    Locale[\"ro\"][\"script\"]             = \"Latn\"\n-\n-    #67 Russian\n-    Locale[\"ru\"][\"name\"]               = \"Russian\"\n-    Locale[\"ru\"][\"endonym\"]            = \"\u0420\u0443\u0441\u0441\u043a\u0438\u0439\"\n-    Locale[\"ru\"][\"translations-of\"]    = \"%s: \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430\"\n-    Locale[\"ru\"][\"definitions-of\"]     = \"%s \u2013 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f\"\n-    Locale[\"ru\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u044b\"\n-    Locale[\"ru\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u044b\"\n-    Locale[\"ru\"][\"see-also\"]           = \"\u041f\u043e\u0445\u043e\u0436\u0438\u0435 \u0441\u043b\u043e\u0432\u0430\"\n-    Locale[\"ru\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ru\"][\"iso\"]                = \"rus\"\n-    Locale[\"ru\"][\"glotto\"]             = \"russ1263\"\n-    Locale[\"ru\"][\"script\"]             = \"Cyrl\"\n-    Locale[\"ru\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #68a Serbian, Cyrillic alphabet\n-    Locale[\"sr-Cyrl\"][\"name\"]          = \"Serbian (Cyrillic)\"\n-    Locale[\"sr-Cyrl\"][\"endonym\"]       = \"\u0441\u0440\u043f\u0441\u043a\u0438\"\n-    Locale[\"sr-Cyrl\"][\"translations-of\"] = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u0437\u0430 \u201e%s\u201c\"\n-    Locale[\"sr-Cyrl\"][\"definitions-of\"]  = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0458\u0435 \u0437\u0430 %s\"\n-    Locale[\"sr-Cyrl\"][\"synonyms\"]      = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n-    Locale[\"sr-Cyrl\"][\"examples\"]      = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n-    Locale[\"sr-Cyrl\"][\"see-also\"]      = \"\u041f\u043e\u0433\u043b\u0435\u0434\u0430\u0458\u0442\u0435 \u0442\u0430\u043a\u043e\u0452\u0435\"\n-    Locale[\"sr-Cyrl\"][\"family\"]        = \"Indo-European\"\n-    Locale[\"sr-Cyrl\"][\"iso\"]           = \"srp-Cyrl\"\n-    Locale[\"sr-Cyrl\"][\"glotto\"]        = \"serb1264\"\n-    Locale[\"sr-Cyrl\"][\"script\"]        = \"Cyrl\"\n-\n-    #68b Serbian, Latin alphabet\n-    Locale[\"sr-Latn\"][\"name\"]          = \"Serbian (Latin)\"\n-    Locale[\"sr-Latn\"][\"endonym\"]       = \"srpski\"\n-    Locale[\"sr-Latn\"][\"translations-of\"] = \"Prevodi za \u201e%s\u201c\"\n-    Locale[\"sr-Latn\"][\"definitions-of\"]  = \"Definicije za %s\"\n-    Locale[\"sr-Latn\"][\"synonyms\"]      = \"Sinonimi\"\n-    Locale[\"sr-Latn\"][\"examples\"]      = \"Primeri\"\n-    Locale[\"sr-Latn\"][\"see-also\"]      = \"Pogledajte tako\u0111e\"\n-    Locale[\"sr-Latn\"][\"family\"]        = \"Indo-European\"\n-    Locale[\"sr-Latn\"][\"iso\"]           = \"srp-Latn\"\n-    Locale[\"sr-Latn\"][\"glotto\"]        = \"serb1264\"\n-    Locale[\"sr-Latn\"][\"script\"]        = \"Latn\"\n-\n-    #69 Sesotho (Southern Sotho)\n-    Locale[\"st\"][\"name\"]               = \"Sesotho\"\n-    Locale[\"st\"][\"endonym\"]            = \"Sesotho\"\n-    Locale[\"st\"][\"translations-of\"]    = \"Liphetolelo tsa %s\"\n-    Locale[\"st\"][\"definitions-of\"]     = \"Meelelo ea %s\"\n-    Locale[\"st\"][\"synonyms\"]           = \"Mantsoe a t\u0161oanang ka moelelo\"\n-    Locale[\"st\"][\"examples\"]           = \"Mehlala\"\n-    Locale[\"st\"][\"see-also\"]           = \"Bona hape\"\n-    Locale[\"st\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"st\"][\"iso\"]                = \"sot\"\n-    Locale[\"st\"][\"glotto\"]             = \"sout2807\"\n-    Locale[\"st\"][\"script\"]             = \"Latn\"\n-\n-    #70 Sinhala\n-    Locale[\"si\"][\"name\"]               = \"Sinhala\"\n-    Locale[\"si\"][\"endonym\"]            = \"\u0dc3\u0dd2\u0d82\u0dc4\u0dbd\"\n-    Locale[\"si\"][\"translations-of\"]    = \"%s \u0dc4\u0dd2 \u0db4\u0dbb\u0dd2\u0dc0\u0dbb\u0dca\u0dad\u0db1\"\n-    Locale[\"si\"][\"definitions-of\"]     = \"%s \u0dc4\u0dd2 \u0db1\u0dd2\u0dbb\u0dca\u0dc0\u0da0\u0db1\"\n-    Locale[\"si\"][\"synonyms\"]           = \"\u0dc3\u0db8\u0dcf\u0db1\u0dcf\u0dbb\u0dca\u0dae \u0db4\u0daf\"\n-    Locale[\"si\"][\"examples\"]           = \"\u0d8b\u0daf\u0dcf\u0dc4\u0dbb\u0dab\"\n-    Locale[\"si\"][\"see-also\"]           = \"\u0db8\u0dd9\u0dba\u0dad\u0dca \u0db6\u0dbd\u0db1\u0dca\u0db1\"\n-    Locale[\"si\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"si\"][\"iso\"]                = \"sin\"\n-    Locale[\"si\"][\"glotto\"]             = \"sinh1246\"\n-    Locale[\"si\"][\"script\"]             = \"Sinh\"\n-\n-    #71 Slovak\n-    Locale[\"sk\"][\"name\"]               = \"Slovak\"\n-    Locale[\"sk\"][\"endonym\"]            = \"Sloven\u010dina\"\n-    Locale[\"sk\"][\"translations-of\"]    = \"Preklady v\u00fdrazu: %s\"\n-    Locale[\"sk\"][\"definitions-of\"]     = \"Defin\u00edcie v\u00fdrazu %s\"\n-    Locale[\"sk\"][\"synonyms\"]           = \"Synonym\u00e1\"\n-    Locale[\"sk\"][\"examples\"]           = \"Pr\u00edklady\"\n-    Locale[\"sk\"][\"see-also\"]           = \"Pozrite tie\u017e\"\n-    Locale[\"sk\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"sk\"][\"iso\"]                = \"slk\"\n-    Locale[\"sk\"][\"glotto\"]             = \"slov1269\"\n-    Locale[\"sk\"][\"script\"]             = \"Latn\"\n-\n-    #72 Slovenian \/ Slovene\n-    Locale[\"sl\"][\"name\"]               = \"Slovenian\"\n-    Locale[\"sl\"][\"endonym\"]            = \"Sloven\u0161\u010dina\"\n-    Locale[\"sl\"][\"translations-of\"]    = \"Prevodi za %s\"\n-    Locale[\"sl\"][\"definitions-of\"]     = \"Razlage za %s\"\n-    Locale[\"sl\"][\"synonyms\"]           = \"Sopomenke\"\n-    Locale[\"sl\"][\"examples\"]           = \"Primeri\"\n-    Locale[\"sl\"][\"see-also\"]           = \"Glejte tudi\"\n-    Locale[\"sl\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"sl\"][\"iso\"]                = \"slv\"\n-    Locale[\"sl\"][\"glotto\"]             = \"slov1268\"\n-    Locale[\"sl\"][\"script\"]             = \"Latn\"\n-\n-    #73 Somali\n-    Locale[\"so\"][\"name\"]               = \"Somali\"\n-    Locale[\"so\"][\"endonym\"]            = \"Soomaali\"\n-    Locale[\"so\"][\"translations-of\"]    = \"Turjumaada %s\"\n-    Locale[\"so\"][\"definitions-of\"]     = \"Qeexitaannada %s\"\n-    Locale[\"so\"][\"synonyms\"]           = \"La micne ah\"\n-    Locale[\"so\"][\"examples\"]           = \"Tusaalooyin\"\n-    Locale[\"so\"][\"see-also\"]           = \"Sidoo kale eeg\"\n-    Locale[\"so\"][\"family\"]             = \"Afro-Asiatic\"\n-    Locale[\"so\"][\"iso\"]                = \"som\"\n-    Locale[\"so\"][\"glotto\"]             = \"soma1255\"\n-    Locale[\"so\"][\"script\"]             = \"Latn\"\n-\n-    #74 Spanish\n-    Locale[\"es\"][\"name\"]               = \"Spanish\"\n-    Locale[\"es\"][\"endonym\"]            = \"Espa\u00f1ol\"\n-    Locale[\"es\"][\"translations-of\"]    = \"Traducciones de %s\"\n-    Locale[\"es\"][\"definitions-of\"]     = \"Definiciones de %s\"\n-    Locale[\"es\"][\"synonyms\"]           = \"Sin\u00f3nimos\"\n-    Locale[\"es\"][\"examples\"]           = \"Ejemplos\"\n-    Locale[\"es\"][\"see-also\"]           = \"Ver tambi\u00e9n\"\n-    Locale[\"es\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"es\"][\"iso\"]                = \"spa\"\n-    Locale[\"es\"][\"glotto\"]             = \"stan1288\"\n-    Locale[\"es\"][\"script\"]             = \"Latn\"\n-    Locale[\"es\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #75 Sundanese, Latin alphabet\n-    Locale[\"su\"][\"name\"]               = \"Sundanese\"\n-    Locale[\"su\"][\"endonym\"]            = \"Basa Sunda\"\n-    Locale[\"su\"][\"translations-of\"]    = \"Tarjamahan tina %s\"\n-    Locale[\"su\"][\"definitions-of\"]     = \"Panjelasan tina %s\"\n-    Locale[\"su\"][\"synonyms\"]           = \"Sinonim\"\n-    Locale[\"su\"][\"examples\"]           = \"Conto\"\n-    Locale[\"su\"][\"see-also\"]           = \"Tingali og\u00e9\"\n-    Locale[\"su\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"su\"][\"iso\"]                = \"sun\"\n-    Locale[\"su\"][\"glotto\"]             = \"sund1252\"\n-    Locale[\"su\"][\"script\"]             = \"Latn\"\n-\n-    #76 Swahili\n-    Locale[\"sw\"][\"name\"]               = \"Swahili\"\n-    Locale[\"sw\"][\"endonym\"]            = \"Kiswahili\"\n-    Locale[\"sw\"][\"translations-of\"]    = \"Tafsiri ya %s\"\n-    Locale[\"sw\"][\"definitions-of\"]     = \"Ufafanuzi wa %s\"\n-    Locale[\"sw\"][\"synonyms\"]           = \"Visawe\"\n-    Locale[\"sw\"][\"examples\"]           = \"Mifano\"\n-    Locale[\"sw\"][\"see-also\"]           = \"Angalia pia\"\n-    Locale[\"sw\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"sw\"][\"iso\"]                = \"swa\"\n-    Locale[\"sw\"][\"glotto\"]             = \"swah1253\"\n-    Locale[\"sw\"][\"script\"]             = \"Latn\"\n-\n-    #77 Swedish\n-    Locale[\"sv\"][\"name\"]               = \"Swedish\"\n-    Locale[\"sv\"][\"endonym\"]            = \"Svenska\"\n-    Locale[\"sv\"][\"translations-of\"]    = \"\u00d6vers\u00e4ttningar av %s\"\n-    Locale[\"sv\"][\"definitions-of\"]     = \"Definitioner av %s\"\n-    Locale[\"sv\"][\"synonyms\"]           = \"Synonymer\"\n-    Locale[\"sv\"][\"examples\"]           = \"Exempel\"\n-    Locale[\"sv\"][\"see-also\"]           = \"Se \u00e4ven\"\n-    Locale[\"sv\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"sv\"][\"iso\"]                = \"swe\"\n-    Locale[\"sv\"][\"glotto\"]             = \"swed1254\"\n-    Locale[\"sv\"][\"script\"]             = \"Latn\"\n-\n-    #78 Tajik, Cyrillic alphabet\n-    Locale[\"tg\"][\"name\"]               = \"Tajik\"\n-    Locale[\"tg\"][\"endonym\"]            = \"\u0422\u043e\u04b7\u0438\u043a\u04e3\"\n-    Locale[\"tg\"][\"translations-of\"]    = \"\u0422\u0430\u0440\u04b7\u0443\u043c\u0430\u04b3\u043e\u0438 %s\"\n-    Locale[\"tg\"][\"definitions-of\"]     = \"\u0422\u0430\u044a\u0440\u0438\u0444\u04b3\u043e\u0438 %s\"\n-    Locale[\"tg\"][\"synonyms\"]           = \"\u041c\u0443\u0440\u043e\u0434\u0438\u0444\u04b3\u043e\"\n-    Locale[\"tg\"][\"examples\"]           = \"\u041d\u0430\u043c\u0443\u043d\u0430\u04b3\u043e:\"\n-    Locale[\"tg\"][\"see-also\"]           = \"\u04b2\u0430\u043c\u0447\u0443\u043d\u0438\u043d \u0411\u0438\u043d\u0435\u0434\"\n-    Locale[\"tg\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"tg\"][\"iso\"]                = \"tgk\"\n-    Locale[\"tg\"][\"glotto\"]             = \"taji1245\"\n-    Locale[\"tg\"][\"script\"]             = \"Cyrl\"\n-\n-    #79 Tamil\n-    Locale[\"ta\"][\"name\"]               = \"Tamil\"\n-    Locale[\"ta\"][\"endonym\"]            = \"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd\"\n-    Locale[\"ta\"][\"translations-of\"]    = \"%s \u0b87\u0ba9\u0bcd \u0bae\u0bca\u0bb4\u0bbf\u0baa\u0bc6\u0baf\u0bb0\u0bcd\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bcd\"\n-    Locale[\"ta\"][\"definitions-of\"]     = \"%s \u0b87\u0ba9\u0bcd \u0bb5\u0bb0\u0bc8\u0baf\u0bb1\u0bc8\u0b95\u0bb3\u0bcd\"\n-    Locale[\"ta\"][\"synonyms\"]           = \"\u0b87\u0ba3\u0bc8\u0b9a\u0bcd\u0b9a\u0bca\u0bb1\u0bcd\u0b95\u0bb3\u0bcd\"\n-    Locale[\"ta\"][\"examples\"]           = \"\u0b8e\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4\u0bc1\u0b95\u0bcd\u0b95\u0bbe\u0b9f\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd\"\n-    Locale[\"ta\"][\"see-also\"]           = \"\u0b87\u0ba4\u0bc8\u0baf\u0bc1\u0bae\u0bcd \u0b95\u0bbe\u0ba3\u0bcd\u0b95\"\n-    Locale[\"ta\"][\"family\"]             = \"Dravidian\"\n-    Locale[\"ta\"][\"iso\"]                = \"tam\"\n-    Locale[\"ta\"][\"glotto\"]             = \"tami1289\"\n-    Locale[\"ta\"][\"script\"]             = \"Taml\"\n-\n-    #80 Telugu\n-    Locale[\"te\"][\"name\"]               = \"Telugu\"\n-    Locale[\"te\"][\"endonym\"]            = \"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41\"\n-    Locale[\"te\"][\"translations-of\"]    = \"%s \u0c2f\u0c4a\u0c15\u0c4d\u0c15 \u0c05\u0c28\u0c41\u0c35\u0c3e\u0c26\u0c3e\u0c32\u0c41\"\n-    Locale[\"te\"][\"definitions-of\"]     = \"%s \u0c2f\u0c4a\u0c15\u0c4d\u0c15 \u0c28\u0c3f\u0c30\u0c4d\u0c35\u0c1a\u0c28\u0c3e\u0c32\u0c41\"\n-    Locale[\"te\"][\"synonyms\"]           = \"\u0c2a\u0c30\u0c4d\u0c2f\u0c3e\u0c2f\u0c2a\u0c26\u0c3e\u0c32\u0c41\"\n-    Locale[\"te\"][\"examples\"]           = \"\u0c09\u0c26\u0c3e\u0c39\u0c30\u0c23\u0c32\u0c41\"\n-    Locale[\"te\"][\"see-also\"]           = \"\u0c35\u0c40\u0c1f\u0c3f\u0c28\u0c3f \u0c15\u0c42\u0c21\u0c3e \u0c1a\u0c42\u0c21\u0c02\u0c21\u0c3f\"\n-    Locale[\"te\"][\"family\"]             = \"Dravidian\"\n-    Locale[\"te\"][\"iso\"]                = \"tel\"\n-    Locale[\"te\"][\"glotto\"]             = \"telu1262\"\n-    Locale[\"te\"][\"script\"]             = \"Telu\"\n-\n-    #81 Thai\n-    Locale[\"th\"][\"name\"]               = \"Thai\"\n-    Locale[\"th\"][\"endonym\"]            = \"\u0e44\u0e17\u0e22\"\n-    Locale[\"th\"][\"translations-of\"]    = \"\u0e04\u0e33\u0e41\u0e1b\u0e25\u0e02\u0e2d\u0e07 %s\"\n-    Locale[\"th\"][\"definitions-of\"]     = \"\u0e04\u0e33\u0e08\u0e33\u0e01\u0e31\u0e14\u0e04\u0e27\u0e32\u0e21\u0e02\u0e2d\u0e07 %s\"\n-    Locale[\"th\"][\"synonyms\"]           = \"\u0e04\u0e33\u0e1e\u0e49\u0e2d\u0e07\u0e04\u0e27\u0e32\u0e21\u0e2b\u0e21\u0e32\u0e22\"\n-    Locale[\"th\"][\"examples\"]           = \"\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\"\n-    Locale[\"th\"][\"see-also\"]           = \"\u0e14\u0e39\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\"\n-    Locale[\"th\"][\"family\"]             = \"Tai-Kadai\"\n-    Locale[\"th\"][\"iso\"]                = \"tha\"\n-    Locale[\"th\"][\"glotto\"]             = \"thai1261\"\n-    Locale[\"th\"][\"script\"]             = \"Thai\"\n-\n-    #82 Turkish\n-    Locale[\"tr\"][\"name\"]               = \"Turkish\"\n-    Locale[\"tr\"][\"endonym\"]            = \"T\u00fcrk\u00e7e\"\n-    Locale[\"tr\"][\"translations-of\"]    = \"%s \u00e7evirileri\"\n-    Locale[\"tr\"][\"definitions-of\"]     = \"%s i\u00e7in tan\u0131mlar\"\n-    Locale[\"tr\"][\"synonyms\"]           = \"E\u015f anlaml\u0131lar\"\n-    Locale[\"tr\"][\"examples\"]           = \"\u00d6rnekler\"\n-    Locale[\"tr\"][\"see-also\"]           = \"Ayr\u0131ca bkz.\"\n-    Locale[\"tr\"][\"family\"]             = \"Turkic\"\n-    Locale[\"tr\"][\"iso\"]                = \"tur\"\n-    Locale[\"tr\"][\"glotto\"]             = \"nucl1301\"\n-    Locale[\"tr\"][\"script\"]             = \"Latn\"\n-\n-    #83 Ukrainian\n-    Locale[\"uk\"][\"name\"]               = \"Ukrainian\"\n-    Locale[\"uk\"][\"endonym\"]            = \"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430\"\n-    Locale[\"uk\"][\"translations-of\"]    = \"\u041f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u0438 \u0441\u043b\u043e\u0432\u0430 \u0430\u0431\u043e \u0432\u0438\u0440\u0430\u0437\u0443 \\\"%s\\\"\"\n-    Locale[\"uk\"][\"definitions-of\"]     = \"\\\"%s\\\" \u2013 \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\"\n-    Locale[\"uk\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0456\u043c\u0438\"\n-    Locale[\"uk\"][\"examples\"]           = \"\u041f\u0440\u0438\u043a\u043b\u0430\u0434\u0438\"\n-    Locale[\"uk\"][\"see-also\"]           = \"\u0414\u0438\u0432\u0456\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u043e\u0436\"\n-    Locale[\"uk\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"uk\"][\"iso\"]                = \"ukr\"\n-    Locale[\"uk\"][\"glotto\"]             = \"ukra1253\"\n-    Locale[\"uk\"][\"script\"]             = \"Cyrl\"\n-\n-    #84 Urdu\n-    Locale[\"ur\"][\"name\"]               = \"Urdu\"\n-    Locale[\"ur\"][\"endonym\"]            = \"\u0627\u064f\u0631\u062f\u064f\u0648\"\n-    Locale[\"ur\"][\"translations-of\"]    = \"\u06a9\u06d2 \u062a\u0631\u062c\u0645\u06d2 %s\"\n-    Locale[\"ur\"][\"definitions-of\"]     = \"\u06a9\u06cc \u062a\u0639\u0631\u06cc\u0641\u0627\u062a %s\"\n-    Locale[\"ur\"][\"synonyms\"]           = \"\u0645\u062a\u0631\u0627\u062f\u0641\u0627\u062a\"\n-    Locale[\"ur\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u06cc\u06ba\"\n-    Locale[\"ur\"][\"see-also\"]           = \"\u0646\u06cc\u0632 \u062f\u06cc\u06a9\u06be\u06cc\u06ba\"\n-    Locale[\"ur\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"ur\"][\"iso\"]                = \"urd\"\n-    Locale[\"ur\"][\"glotto\"]             = \"urdu1245\"\n-    Locale[\"ur\"][\"script\"]             = \"Arab\"\n-    Locale[\"ur\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #85 Uzbek, Latin alphabet\n-    Locale[\"uz\"][\"name\"]               = \"Uzbek\"\n-    Locale[\"uz\"][\"endonym\"]            = \"O\u02bbzbek tili\"\n-    Locale[\"uz\"][\"translations-of\"]    = \"%s: tarjima variantlari\"\n-    Locale[\"uz\"][\"definitions-of\"]     = \"%s \u2013 ta\u2019riflar\"\n-    Locale[\"uz\"][\"synonyms\"]           = \"Sinonimlar\"\n-    Locale[\"uz\"][\"examples\"]           = \"Namunalar\"\n-    Locale[\"uz\"][\"see-also\"]           = \"O\u2018xshash so\u2018zlar\"\n-    Locale[\"uz\"][\"family\"]             = \"Turkic\"\n-    Locale[\"uz\"][\"iso\"]                = \"uzb\"\n-    Locale[\"uz\"][\"glotto\"]             = \"uzbe1247\"\n-    Locale[\"uz\"][\"script\"]             = \"Latn\"\n-\n-    #86 Vietnamese\n-    Locale[\"vi\"][\"name\"]               = \"Vietnamese\"\n-    Locale[\"vi\"][\"endonym\"]            = \"Ti\u1ebfng Vi\u1ec7t\"\n-    Locale[\"vi\"][\"translations-of\"]    = \"B\u1ea3n d\u1ecbch c\u1ee7a %s\"\n-    Locale[\"vi\"][\"definitions-of\"]     = \"Ngh\u0129a c\u1ee7a %s\"\n-    Locale[\"vi\"][\"synonyms\"]           = \"T\u1eeb \u0111\u1ed3ng ngh\u0129a\"\n-    Locale[\"vi\"][\"examples\"]           = \"V\u00ed d\u1ee5\"\n-    Locale[\"vi\"][\"see-also\"]           = \"Xem th\u00eam\"\n-    Locale[\"vi\"][\"family\"]             = \"Austroasiatic\"\n-    Locale[\"vi\"][\"iso\"]                = \"vie\"\n-    Locale[\"vi\"][\"glotto\"]             = \"viet1252\"\n-    Locale[\"vi\"][\"script\"]             = \"Latn\"\n-\n-    #87 Welsh\n-    Locale[\"cy\"][\"name\"]               = \"Welsh\"\n-    Locale[\"cy\"][\"endonym\"]            = \"Cymraeg\"\n-    Locale[\"cy\"][\"translations-of\"]    = \"Cyfieithiadau %s\"\n-    Locale[\"cy\"][\"definitions-of\"]     = \"Diffiniadau %s\"\n-    Locale[\"cy\"][\"synonyms\"]           = \"Cyfystyron\"\n-    Locale[\"cy\"][\"examples\"]           = \"Enghreifftiau\"\n-    Locale[\"cy\"][\"see-also\"]           = \"Gweler hefyd\"\n-    Locale[\"cy\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"cy\"][\"iso\"]                = \"cym\"\n-    Locale[\"cy\"][\"glotto\"]             = \"wels1247\"\n-    Locale[\"cy\"][\"script\"]             = \"Latn\"\n-\n-    #88 Yiddish\n-    Locale[\"yi\"][\"name\"]               = \"Yiddish\"\n-    Locale[\"yi\"][\"endonym\"]            = \"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9\"\n-    Locale[\"yi\"][\"translations-of\"]    = \"\u05d0\u05d9\u05d1\u05e2\u05e8\u05d6\u05e2\u05e6\u05d5\u05e0\u05d2\u05e2\u05df \u05e4\u05d5\u05df %s\"\n-    Locale[\"yi\"][\"definitions-of\"]     = \"\u05d3\u05e4\u05d9\u05e0\u05d9\u05e6\u05d9\u05d5\u05e0\u05e2\u05df %s\"\n-    Locale[\"yi\"][\"synonyms\"]           = \"\u05e1\u05d9\u05e0\u05d0\u05b8\u05e0\u05d9\u05de\u05e2\u05df\"\n-    Locale[\"yi\"][\"examples\"]           = \"\u05d1\u05d9\u05d9\u05e9\u05e4\u05d9\u05dc\u05e2\"\n-    Locale[\"yi\"][\"see-also\"]           = \"\u05d6\u05d9\u05d9\u05e2\u05df \u05d0\u05d5\u05d9\u05da\"\n-    Locale[\"yi\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"yi\"][\"iso\"]                = \"yid\"\n-    Locale[\"yi\"][\"glotto\"]             = \"yidd1255\"\n-    Locale[\"yi\"][\"script\"]             = \"Hebr\"\n-    Locale[\"yi\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #89 Yoruba\n-    Locale[\"yo\"][\"name\"]               = \"Yoruba\"\n-    Locale[\"yo\"][\"endonym\"]            = \"Yor\u00f9b\u00e1\"\n-    Locale[\"yo\"][\"translations-of\"]    = \"Aw\u1ecdn itum\u1ecd ti %s\"\n-    Locale[\"yo\"][\"definitions-of\"]     = \"Aw\u1ecdn itum\u1ecd ti %s\"\n-    Locale[\"yo\"][\"synonyms\"]           = \"Aw\u1ecdn \u1ecdr\u1ecd onitum\u1ecd\"\n-    Locale[\"yo\"][\"examples\"]           = \"Aw\u1ecdn ap\u1eb9r\u1eb9\"\n-    Locale[\"yo\"][\"see-also\"]           = \"Tun wo\"\n-    Locale[\"yo\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"yo\"][\"iso\"]                = \"yor\"\n-    Locale[\"yo\"][\"glotto\"]             = \"yoru1245\"\n-    Locale[\"yo\"][\"script\"]             = \"Latn\"\n-\n-    #90 Zulu\n-    Locale[\"zu\"][\"name\"]               = \"Zulu\"\n-    Locale[\"zu\"][\"endonym\"]            = \"isiZulu\"\n-    Locale[\"zu\"][\"translations-of\"]    = \"Ukuhumusha i-%s\"\n-    Locale[\"zu\"][\"definitions-of\"]     = \"Izincazelo ze-%s\"\n-    Locale[\"zu\"][\"synonyms\"]           = \"Amagama afanayo\"\n-    Locale[\"zu\"][\"examples\"]           = \"Izibonelo\"\n-    Locale[\"zu\"][\"see-also\"]           = \"Bheka futhi\"\n-    Locale[\"zu\"][\"family\"]             = \"Atlantic-Congo\"\n-    Locale[\"zu\"][\"iso\"]                = \"zul\"\n-    Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n-    Locale[\"zu\"][\"script\"]             = \"Latn\"\n-\n-    #* Hmong Daw\n-    Locale[\"mww\"][\"support\"]           = \"bing-only\"\n-    Locale[\"mww\"][\"name\"]              = \"Hmong Daw\"\n-    Locale[\"mww\"][\"endonym\"]           = \"Hmoob Daw\"\n-    Locale[\"mww\"][\"family\"]            = \"Hmong-Mien\"\n-    Locale[\"mww\"][\"iso\"]               = \"mww\"\n-    Locale[\"mww\"][\"glotto\"]            = \"hmon1333\"\n-    Locale[\"mww\"][\"script\"]            = \"Latn\"\n-\n-    #* Quer\u00e9taro Otomi\n-    Locale[\"otq\"][\"support\"]           = \"bing-only\"\n-    Locale[\"otq\"][\"name\"]              = \"Quer\u00e9taro Otomi\"\n-    Locale[\"otq\"][\"endonym\"]           = \"H\u00f1\u0105\u00f1ho\"\n-    Locale[\"otq\"][\"family\"]            = \"Oto-Manguean\"\n-    Locale[\"otq\"][\"iso\"]               = \"otq\"\n-    Locale[\"otq\"][\"glotto\"]            = \"quer1236\"\n-    Locale[\"otq\"][\"script\"]            = \"Latn\"\n-\n-    #* Yucatec Maya\n-    Locale[\"yua\"][\"support\"]           = \"bing-only\"\n-    Locale[\"yua\"][\"name\"]              = \"Yucatec Maya\"\n-    Locale[\"yua\"][\"endonym\"]           = \"M\u00e0aya T'\u00e0an\"\n-    Locale[\"yua\"][\"family\"]            = \"Mayan\"\n-    Locale[\"yua\"][\"iso\"]               = \"yua\"\n-    Locale[\"yua\"][\"glotto\"]            = \"yuca1254\"\n-    Locale[\"yua\"][\"script\"]            = \"Latn\"\n-\n-    #* Klingon, Latin alphabet\n-    Locale[\"tlh\"][\"support\"]           = \"bing-only\"\n-    Locale[\"tlh\"][\"name\"]              = \"Klingon\"\n-    Locale[\"tlh\"][\"endonym\"]           = \"tlhIngan Hol\"\n-    Locale[\"tlh\"][\"family\"]            = \"Artificial Language\"\n-    Locale[\"tlh\"][\"iso\"]               = \"tlh\"\n-    #Locale[\"tlh\"][\"glotto\"]\n-    Locale[\"tlh\"][\"script\"]            = \"Latn\"\n-\n-    #* Klingon, pIqaD\n-    Locale[\"tlh-Qaak\"][\"support\"]      = \"bing-only\"\n-    Locale[\"tlh-Qaak\"][\"name\"]         = \"Klingon (pIqaD)\"\n-    Locale[\"tlh-Qaak\"][\"endonym\"]      = \"\uf8e4\uf8d7\uf8dc\uf8d0\uf8db \uf8d6\uf8dd\uf8d9\"\n-    Locale[\"tlh-Qaak\"][\"family\"]       = \"Artificial Language\"\n-    Locale[\"tlh-Qaak\"][\"iso\"]          = \"tlh\"\n-    #Locale[\"tlh-Qaak\"][\"glotto\"]\n-    Locale[\"tlh-Qaak\"][\"script\"]       = \"Piqd\"\n \n     for (i in Locale) {\n         # Initialize strings for displaying endonyms of locales\n"}
{"commit":"9f03ce9432ccd3c616f5effe7ea52984a3fafbec","subject":"tweak","message":"tweak\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/cr-droid.awk\n+++ bin\/util\/cr-droid.awk\n@@ -13,7 +13,7 @@\n       sub(\/^.*:\\\/\/,\"\", container)\n \n       contained=$0\n-      sub(\/^.*!\\\/\/,\"\", contained)\n+      sub(\/^.*!\\\/\/,\"\",  contained)\n       sub(\/,[^,].*$\/,\"\",contained)\n \n       format=$0\n"}
{"commit":"765cb63514dc7cdf661e7cccab0bbc1282450bdc","subject":"Languages: add Occitan language","message":"Languages: add Occitan language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -195,6 +195,19 @@\n     Locale[\"lb\"][\"iso\"]                = \"ltz\"\n     Locale[\"lb\"][\"glotto\"]             = \"luxe1241\"\n     Locale[\"lb\"][\"script\"]             = \"Latn\"\n+\n+    #? Occitan\n+    Locale[\"oc\"][\"name\"]               = \"Occitan\"\n+    Locale[\"oc\"][\"endonym\"]            = \"Occitan\"\n+    #Locale[\"oc\"][\"translations-of\"]\n+    #Locale[\"oc\"][\"definitions-of\"]\n+    #Locale[\"oc\"][\"synonyms\"]\n+    #Locale[\"oc\"][\"examples\"]\n+    #Locale[\"oc\"][\"see-also\"]\n+    Locale[\"oc\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"oc\"][\"iso\"]                = \"oci\"\n+    Locale[\"oc\"][\"glotto\"]             = \"occi1239\"\n+    Locale[\"oc\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"4c48b243726bc6285cc6aa6ad84192053f95e3c8","subject":"Add Proxy-Authenticate as SIP tag","message":"Add Proxy-Authenticate as SIP tag\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@135 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/long2html.awk\n+++ scripts\/long2html.awk\n@@ -114,6 +114,7 @@\n       if ($1 ~ \"Min-SE:\" ) MARK = \"sip\"\n       if ($1 ~ \"P-[A-Z][a-z].*:\" ) MARK = \"sip\"\n       if ($1 ~ \"Privacy:\" ) MARK = \"sip\"\n+      if ($1 ~ \"Proxy-Authenticate:\" ) MARK = \"sip\"\n       if ($1 ~ \"RAck:\" ) MARK = \"sip\"\n       if ($1 ~ \"Remote-Party-ID:\" ) MARK = \"sip\"\n       if ($1 ~ \"Require:\" ) MARK = \"sip\"\n"}
{"commit":"931e1902f6efb78a5094342a516d08147a2fcddb","subject":"convert edge lables from quoted strings to 'html-like' to highlight losses","message":"convert edge lables from quoted strings to 'html-like' to highlight losses\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/label_dot_edge.awk\n+++ scripts\/label_dot_edge.awk\n@@ -4,35 +4,39 @@\n # Augment ontological terms with their label\n # example usage:\n # ${DIPPER}\/scripts\/label_dot_edge.awk\n-#\t${DIPPER}\/translationtable\/GLOBAL_TERMS.yaml  in.dot > out.dot\n+#    ${DIPPER}\/translationtable\/GLOBAL_TERMS.yaml  in.dot > out.dot\n #\n # Arguments: two files\n # Loads the first file as a map from  to curie to label :\n- # (expects: \"label\": \"curie:term\",)\n+# (expects: \"label\": \"curie:term\",)\n # Reads the second Graphviz digraph dot format file:\n # looks for <term> as edge-text\n # and appends \"! <label> (Iff curie:term is found in the translation table)\n # note: This \"<term> ! <label>\" structure is a convention used by Ontologists.\n \n-\n-BEGIN{FS=\"\\\"\"; OFS=\"\\t\"}\n+BEGIN{\n+    FS=\"\\\"\"q\n+    # EDGE = \/^[^ ]+ -> [^ ]+ [[]label=[<][^:]+:[^ ]+ [(][0-9]*[)]>[]];$\/\n+}\n # load label->curie:term  as curie:term -> label\n-FNR == NR && \/^\"\/{label[$4]=$2}\n+FNR == NR && \/^\"\/{\n+    label[$4]=$2\n+}\n \n # output graphviz lines that do not get labels\n-FNR != NR && ! \/.* -> .* [label=<.*>];\/ {print}\n+FNR != NR && !\/^[^ ]+ -> [^ ]+ [[]label=[<][^:]+:[^ ]+ [(][0-9]*[)]>[]];$\/\n \n # output lines w\/labels if they are available\n-FNR != NR && \/.* -> .* [label=<.*>];\/ {\n-\tline=\"\";\n-\tsplit($0, row, \/ \/)\n-\tsplit(row[4], term, \/<>\/)\n-\tsplit(term[2], lclid, \":\")\n+FNR != NR && \/^[^ ]+ -> [^ ]+ [[]label=[<][^:]+:[^ ]+ [(][0-9]*[)]>[]];$\/{\n+    line=\"\";\n+    split($0, row, \" \")\n+    split(row[4], term, \/[><]\/)\n+    split(term[2], lclid, \":\")\n \n-\tif (term[2] in label && lclid[2] != label[term[2]])\n-\t\trow[4] = term[1] \"<\" term[2] \" ! \" label[term[2]] \">\" term[3]\n-\tline = row[1]\n-\tfor(i=2;i<=length(row);i++)\n-\t\tline = line \" \" row[i]\n-\tprint  line\n+    if(term[2] in label && lclid[2] != label[term[2]])\n+        row[4] = term[1] \"<\" term[2] \" ! \" label[term[2]]\n+    line = row[1]\n+    for(i=2;i<=length(row);i++)\n+        line = line \" \" row[i]\n+    print line\n }\n"}
{"commit":"a88df3b10a02f24b9a81a5ec05533d710e6715c9","subject":"better handling of locale * fix Debian#768217 (https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=768217)","message":"better handling of locale\n* fix Debian#768217 (https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=768217)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -526,6 +526,6 @@\n          parseLang(ENVIRON[\"LANG\"]) :\n          \"en\")\n \n-    if (ENVIRON[\"LANG\"] !~ \/UTF-8$\/ && ENVIRON[\"LC_CTYPE\"] !~ \/UTF-8$\/)\n+    if (tolower(ENVIRON[\"LANG\"]) !~ \/utf-?8$\/ && tolower(ENVIRON[\"LC_CTYPE\"]) !~ \/utf-?8$\/)\n         w(\"[WARNING] Your locale codeset (\" ENVIRON[\"LANG\"] \") is not UTF-8. You have been warned.\")\n }\n"}
{"commit":"a840a14f1fa770dddc8f5413c06a88bab0c209b4","subject":"mpers.awk: remove unnecessary type attribute retrieval","message":"mpers.awk: remove unnecessary type attribute retrieval\n\n* mpers.awk (what_is): Do not retrieve \"type\" attribute\nfor \"enumeration_type\".\n","repos":"cuviper\/strace,Saruta\/strace,cuviper\/strace,cuviper\/strace,cuviper\/strace,Saruta\/strace,Saruta\/strace,Saruta\/strace,Saruta\/strace,cuviper\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mpers.awk\n+++ mpers.awk\n@@ -90,7 +90,6 @@\n \t\treturned_size = array_get(what_idx, \"byte_size\")\n \t\tbreak\n \tcase \"enumeration_type\":\n-\t\ttype_idx = array_get(what_idx, \"type\")\n \t\treturned_size = array_get(what_idx, \"byte_size\")\n \t\tprintf(\"uint%s_t \", 8 * returned_size)\n \t\tbreak\n"}
{"commit":"778a0d5f8d567d9375758536bfaac77586128d1d","subject":"Tweak indentation in .awk","message":"Tweak indentation in .awk\n","repos":"qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin,qjcg\/CO2Aldrin","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/fizzbuzz.awk\n+++ bin\/fizzbuzz.awk\n@@ -1,15 +1,17 @@\n #!\/usr\/bin\/awk -f\n \n BEGIN {\n-\tfor (i=1; i<=100; i++) {\n-\t\tif (i % 15 == 0) {\n-\t\t\tprint \"fizzbuzz\"\n-\t\t} else if (i % 3 == 0) {\n-\t\t\tprint \"fizz\"\n-\t\t} else if (i % 5 == 0) {\n-\t\t\tprint \"buzz\"\n-\t\t} else {\n-\t\t\tprint i\n-\t\t}\n+\n+for (i=1; i<=100; i++) {\n+\tif (i % 15 == 0) {\n+\t\tprint \"fizzbuzz\"\n+\t} else if (i % 3 == 0) {\n+\t\tprint \"fizz\"\n+\t} else if (i % 5 == 0) {\n+\t\tprint \"buzz\"\n+\t} else {\n+\t\tprint i\n \t}\n }\n+\n+}\n"}
{"commit":"06a10cd6eb4d2447ed962c469d74a867efceb10b","subject":"(BEGIN): Fix regluar expression for extracting an English name. (\/^[a-z][a-z][a-z]\\|\/): Don't modify English names extracted from \"en.lnm\".","message":"(BEGIN): Fix regluar expression for\nextracting an English name.\n(\/^[a-z][a-z][a-z]\\|\/): Don't modify English names extracted from\n\"en.lnm\".\n","repos":"sanskrit-coders\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- LANGDATA\/LANGUAGE.awk\n+++ LANGDATA\/LANGUAGE.awk\n@@ -72,8 +72,10 @@\n \t}\n     }\n     while (getline < \"en.lnm\") {\n-\tsplit($0, array, \"\\(| \\\"|\\\" \\\"|\\\"\\)\")\n-\tENGLISH[array[2]] = array[3];\n+\tsplit($0, array, \"[( ]\");\n+\tcode = array[2];\n+\tsplit($0, array, \"\\\"\");\n+\tENGLISH[code] = array[2];\n     }\n }\n \n@@ -90,19 +92,20 @@\n     name = ENGLISH[code2];\n     if (! name)\n \tname = ENGLISH[code3];\n-    if (name == \"Greek, Modern (1453-)\")\n-\tname = \"Greek\";\n-    else {\n-\tgsub(\"; .*\", \"\", name);\n-\tgsub(\" \\\\(Other\\\\)$\", \"\", name);\n-\tgsub(\" languages$\", \"\", name);\n-\tif (name ~ \/\\(.*[0-9].*\\)$\/)\n-\t    gsub(\" \\\\([^)]*\\\\)$\", \"\", name);\n-\tif (name ~ \", \") {\n-\t    split(name, array, \", \");\n-\t    name = array[2] \" \" array[1];\n-\t}\n-    }\n+#     if (name == \"Greek, Modern (1453-)\")\n+# \tname = \"Greek\";\n+#     else {\n+# \tgsub(\"; .*\", \"\", name);\n+# \tgsub(\" \\\\(Other\\\\)$\", \"\", name);\n+# \tgsub(\" languages$\", \"\", name);\n+# \tgsub(\" Languages$\", \"\", name);\n+# \tif (name ~ \/\\(.*[0-9].*\\)$\/)\n+# \t    gsub(\" \\\\([^)]*\\\\)$\", \"\", name);\n+# \tif (name ~ \", \") {\n+# \t    split(name, array, \", \");\n+# \t    name = array[2] \" \" array[1];\n+# \t}\n+#     }\n     printf \"(%s %-3s \\\"%s\\\"\", code3, code2, name;\n     if (native != \"\")\n \tprintf \" \\\"%s\\\"\", native;\n"}
{"commit":"c0cd0d9bf65be4b5916a67bfbac0eb2ea2587400","subject":"fix line endings hopefully","message":"fix line endings hopefully\n","repos":"rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/remove_license_block-helper.awk\n+++ utils\/remove_license_block-helper.awk\n@@ -32,13 +32,13 @@\n \t\tif ($0 ~ PRE_LINE BLOCK[0] POST_LINE) {\n \t\t\tIN_BLOCK = 1;\n \t\t\tBLOCK_LINENO = 0;\n-\t\t\tSAVED_BLOCK = $0;\n+\t\t\tSAVED_BLOCK = $0 RS;\n \t\t} else {\n \t\t\tprint;\n \t\t}\n \t} else {\n \t\tif ($0 ~ PRE_LINE BLOCK[BLOCK_LINENO + 1] POST_LINE) {\n-\t\t\tSAVED_BLOCK = SAVED_BLOCK $0;\n+\t\t\tSAVED_BLOCK = SAVED_BLOCK $0 RS;\n \t\t\tBLOCK_LINENO += 1;\n \t\t\tif (BLOCK_LINENO == BLOCK_END) {\n \t\t\t\tIN_BLOCK = 0;\n"}
{"commit":"9b72a692ee3ef3381a0881ead4afa5bd73fff776","subject":"don't let the Mac\/PPC linker complain when the symbol isn't used","message":"don't let the Mac\/PPC linker complain when the symbol isn't used\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"unknown","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"ed7813d0cdd40efa6817337c8d1fbcce335bbb4a","subject":"size reducage and constify","message":"size reducage and constify\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/isa\/devlist2h.awk\n+++ dev\/isa\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.4 1998\/12\/28 09:15:16 hugh Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.5 2001\/01\/29 05:47:03 mickey Exp $\n #\t$NetBSD: devlist2h.awk,v 1.2 1996\/01\/22 21:08:09 cgd Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n@@ -74,15 +74,15 @@\n \n \tprintf(\"\\n\") > dfile\n \n-\tprintf(\"struct isapnp_knowndev isapnp_knowndevs[] = {\\n\") > dfile\n+\tprintf(\"const struct isapnp_knowndev isapnp_knowndevs[] = {\\n\") > dfile\n \tfor (i = 1; i <= nproducts; i++) {\n-\t\tprintf(\"\\t{ \\\"%s\\\", \\\"%s\\\" },\",\n+\t\tprintf(\"\\t{ {\\\"%s\\\"}, {\\\"%s\\\"} },\",\n \t\t    products[i, 2], products[i, 1]) \\\n \t\t    > dfile\n \t\tif (products[i, 3])\n \t\t\tprintf(\"\\t\/* %s *\/\", products[i, 3]) > dfile\n \t\tprintf(\"\\n\") > dfile\n \t}\n-\tprintf(\"\\t{ NULL, NULL, }\\n\") > dfile\n+\tprintf(\"\\t{ {\"\"}, {\"\"}, }\\n\") > dfile\n \tprintf(\"};\\n\") > dfile\n }\n"}
{"commit":"2b5ba76d9d7024b5877b13f5f899da764aa26992","subject":"Help: fix formatting of reference table","message":"Help: fix formatting of reference table\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -270,7 +270,10 @@\n                     if (length(t1) > 17)\n                         t1 = substr(t1, 1, 14) \"...\"\n                     switch (cols[j][i]) { # fix rendered text width\n-                    case \"he\":\n+                    case \"sa\":\n+                        t1 = sprintf(\" %-21s\", t1)\n+                        break\n+                    case \"he\": case \"dv\":\n                         t1 = sprintf(\" %-20s\", t1)\n                         break\n                     case \"or\": case \"ur\":\n@@ -278,7 +281,8 @@\n                         break\n                     case \"hi\": case \"gu\": case \"km\": case \"kn\":\n                     case \"my\": case \"ne\": case \"pa\": case \"si\":\n-                    case \"ta\": case \"te\": case \"yi\":\n+                    case \"ta\": case \"te\": case \"yi\": case \"as\":\n+                    case \"bho\": case \"mai\": case \"gom\":\n                         t1 = sprintf(\" %-18s\", t1)\n                         break\n                     case \"yue\":\n"}
{"commit":"6aa18ce8c8cf866585d463a80c563955ba30647b","subject":"handle end-of-options option: --","message":"handle end-of-options option: --\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -227,12 +227,19 @@\n         }\n \n         # Shortcut format\n-        # '{[code]=[code]+...}'\n+        # '[code]:[code]+...' or '[code]=[code]+...'\n         match(ARGV[pos], \/^[{([]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\\]]?$\/, group)\n         if (RSTART) {\n             if (group[1]) Option[\"sl\"] = group[1]\n             if (group[4]) split(group[4], Option[\"tl\"], \"+\")\n             continue\n+        }\n+\n+        # --\n+        match(ARGV[pos], \/^--$\/)\n+        if (RSTART) {\n+            ++pos # skip the end-of-options option\n+            break # no more option from here\n         }\n \n         break # no more option from here\n"}
{"commit":"7c8cf36bc5f6bc380b59b856c44cb72ea8d895de","subject":"Main: set default user-agent, close #67","message":"Main: set default user-agent, close #67\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -44,7 +44,7 @@\n \n     # Networking\n     Option[\"proxy\"] = ENVIRON[\"HTTP_PROXY\"] ? ENVIRON[\"HTTP_PROXY\"] : ENVIRON[\"http_proxy\"]\n-    Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"]\n+    Option[\"user-agent\"] = ENVIRON[\"USER_AGENT\"] ? ENVIRON[\"USER_AGENT\"] : \"Mozilla\/5.0 (X11; Linux x86_64; rv:40.0) Gecko\/20100101 Firefox\/40.0\"\n \n     # Interactive shell\n     Option[\"no-rlwrap\"] = 0\n"}
{"commit":"ee76c11e8345aa5706a68ab3cfae38e3b83f2ba0","subject":"fixed spacing and added domain_template, domain_name and class_name, subclass_of","message":"fixed spacing and added domain_template, domain_name and class_name, subclass_of\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -61,6 +61,7 @@\n       print \"@prefix vs:            <http:\/\/www.w3.org\/2003\/06\/sw-vocab-status\/ns#> .\"\n       print \"@prefix frbr:          <http:\/\/purl.org\/vocab\/frbr\/core#> .\"\n       print \"@prefix bibo:          <http:\/\/purl.org\/ontology\/bibo\/> .\"\n+      print \"@prefix doap:          <http:\/\/usefulinc.com\/ns\/doap#> .\"\n       print \"@prefix dgtwc:         <http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#> .\"\n    }\n    print \"@prefix dcterms:       <http:\/\/purl.org\/dc\/terms\/> .\"\n@@ -171,16 +172,24 @@\n                                     printf(\"      ];                            \\n\");\n    }\n    comment_out = length(interpretAsNull) && length(conversionID) ? \"\" : \"#\"; # We want to put in the template so it is easy to uncomment.\n-                                    printf(\"      %sconversion:interpret [          \\n\",             comment_out);\n-                                    printf(\"      %s   conversion:symbol        \\\"%s\\\";\\n\",                 comment_out,interpretAsNull);\n+                                    printf(\"      %sconversion:interpret [\\n\",                        comment_out);\n+                                    printf(\"      %s   conversion:symbol        \\\"%s\\\";\\n\",           comment_out,interpretAsNull);\n                                     printf(\"      %s   conversion:interpretation conversion:null; \\n\",comment_out);\n-                                    printf(\"      %s];                            \\n\",               comment_out);\n+                                    printf(\"      %s];\\n\",                                            comment_out);\n    if(length(dataEnd)) {\n                                     printf(\"      conversion:enhance [        \\n\");\n                                     printf(\"         ov:csvRow %s;\\n\",dataEnd);\n                                     printf(\"         a conversion:DataEndRow; \\n\");\n                                     printf(\"      ];                          \\n\");\n    }\n+                                    printf(\"      #conversion:enhance [\\n\");\n+                                    printf(\"      #   conversion:domain_template \\\"tool_[r]\\\";\\n\");\n+                                    printf(\"      #   conversion:domain_name     \\\"Tool\\\";\\n\");\n+                                    printf(\"      #];\\n\");\n+                                    printf(\"      #conversion:enhance [\\n\");\n+                                    printf(\"      #   conversion:class_name \\\"Tool\\\";\\n\");\n+                                    printf(\"      #   conversion:subclass_of <http:\/\/purl.org\/...>;\\n\");\n+                                    printf(\"      #];\\n\");\n }\n \n { # length(conversionID) {\n"}
{"commit":"ff3f4611992f1447a660174215bf9b678caf48d5","subject":"disable __gmon_start__ symbol","message":"disable __gmon_start__ symbol\n","repos":"groundwater\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ChickenRunjyd\/klee-uclibc,brgl\/uclibc-ng,brgl\/uclibc-ng,mephi42\/uClibc,hjl-tools\/uClibc,atgreen\/uClibc-moxie,ddcc\/klee-uclibc-0.9.33.2,waweber\/uclibc-clang,atgreen\/uClibc-moxie,wbx-github\/uclibc-ng,waweber\/uclibc-clang,ysat0\/uClibc,m-labs\/uclibc-lm32,hwoarang\/uClibc,waweber\/uclibc-clang,klee\/klee-uclibc,OpenInkpot-archive\/iplinux-uclibc,klee\/klee-uclibc,skristiansson\/uClibc-or1k,hjl-tools\/uClibc,majek\/uclibc-vx32,atgreen\/uClibc-moxie,gittup\/uClibc,kraj\/uClibc,skristiansson\/uClibc-or1k,ChickenRunjyd\/klee-uclibc,OpenInkpot-archive\/iplinux-uclibc,foss-xtensa\/uClibc,ddcc\/klee-uclibc-0.9.33.2,mephi42\/uClibc,groundwater\/uClibc,groundwater\/uClibc,hwoarang\/uClibc,m-labs\/uclibc-lm32,m-labs\/uclibc-lm32,czankel\/xtensa-uclibc,kraj\/uClibc,wbx-github\/uclibc-ng,kraj\/uclibc-ng,ffainelli\/uClibc,ddcc\/klee-uclibc-0.9.33.2,skristiansson\/uClibc-or1k,foss-for-synopsys-dwc-arc-processors\/uClibc,m-labs\/uclibc-lm32,kraj\/uClibc,wbx-github\/uclibc-ng,wbx-github\/uclibc-ng,klee\/klee-uclibc,majek\/uclibc-vx32,hwoarang\/uClibc,groundwater\/uClibc,ffainelli\/uClibc,brgl\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,groundwater\/uClibc,majek\/uclibc-vx32,gittup\/uClibc,ysat0\/uClibc,gittup\/uClibc,hwoarang\/uClibc,hjl-tools\/uClibc,brgl\/uclibc-ng,ndmsystems\/uClibc,OpenInkpot-archive\/iplinux-uclibc,foss-xtensa\/uClibc,gittup\/uClibc,kraj\/uClibc,majek\/uclibc-vx32,ChickenRunjyd\/klee-uclibc,klee\/klee-uclibc,atgreen\/uClibc-moxie,kraj\/uclibc-ng,foss-xtensa\/uClibc,ysat0\/uClibc,hjl-tools\/uClibc,ndmsystems\/uClibc,skristiansson\/uClibc-or1k,kraj\/uclibc-ng,kraj\/uclibc-ng,ffainelli\/uClibc,mephi42\/uClibc,czankel\/xtensa-uclibc,ChickenRunjyd\/klee-uclibc,czankel\/xtensa-uclibc,ndmsystems\/uClibc,czankel\/xtensa-uclibc,waweber\/uclibc-clang,foss-for-synopsys-dwc-arc-processors\/uClibc,ndmsystems\/uClibc,ysat0\/uClibc,ffainelli\/uClibc,hjl-tools\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,mephi42\/uClibc,OpenInkpot-archive\/iplinux-uclibc,foss-xtensa\/uClibc","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- extra\/scripts\/defs.awk\n+++ extra\/scripts\/defs.awk\n@@ -23,5 +23,5 @@\n \tprint \"#define ALIGN\";\n \n     print \"#include <libc-symbols.h>\";\n-    print \"weak_extern (__gmon_start__)\";\n+    #print \"weak_extern (__gmon_start__)\";\n }\n"}
{"commit":"53ebd3c781649cac6c44057bb5e160011bfd408b","subject":"Commons: add wtf(text)","message":"Commons: add wtf(text)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -328,6 +328,11 @@\n \n # Print error message.\n function e(text) {\n+    print ansi(\"bold\", ansi(\"yellow\", text)) > STDERR\n+}\n+\n+# What a terrible failure.\n+function wtf(text) {\n     print ansi(\"bold\", ansi(\"red\", text)) > STDERR\n }\n \n"}
{"commit":"d4e7700827f5fa62b11655867c146f78167d48af","subject":"Languages: divide the Serbian language into sr-Cyrl (default) and sr-Latn","message":"Languages: divide the Serbian language into sr-Cyrl (default) and sr-Latn\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1391,18 +1391,31 @@\n     Locale[\"ru\"][\"script\"]             = \"Cyrl\"\n     Locale[\"ru\"][\"dictionary\"]         = \"true\" # has dictionary\n \n-    #68 Serbian, Cyrillic alphabet\n-    Locale[\"sr\"][\"name\"]               = \"Serbian\"\n-    Locale[\"sr\"][\"endonym\"]            = \"\u0441\u0440\u043f\u0441\u043a\u0438\"\n-    Locale[\"sr\"][\"translations-of\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u0437\u0430 \u201e%s\u201c\"\n-    Locale[\"sr\"][\"definitions-of\"]     = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0458\u0435 \u0437\u0430 %s\"\n-    Locale[\"sr\"][\"synonyms\"]           = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n-    Locale[\"sr\"][\"examples\"]           = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n-    Locale[\"sr\"][\"see-also\"]           = \"\u041f\u043e\u0433\u043b\u0435\u0434\u0430\u0458\u0442\u0435 \u0442\u0430\u043a\u043e\u0452\u0435\"\n-    Locale[\"sr\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"sr\"][\"iso\"]                = \"srp\"\n-    Locale[\"sr\"][\"glotto\"]             = \"serb1264\"\n-    Locale[\"sr\"][\"script\"]             = \"Cyrl\"\n+    #68a Serbian, Cyrillic alphabet\n+    Locale[\"sr-Cyrl\"][\"name\"]          = \"Serbian (Cyrillic)\"\n+    Locale[\"sr-Cyrl\"][\"endonym\"]       = \"\u0441\u0440\u043f\u0441\u043a\u0438\"\n+    Locale[\"sr-Cyrl\"][\"translations-of\"] = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u0437\u0430 \u201e%s\u201c\"\n+    Locale[\"sr-Cyrl\"][\"definitions-of\"]  = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0458\u0435 \u0437\u0430 %s\"\n+    Locale[\"sr-Cyrl\"][\"synonyms\"]      = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n+    Locale[\"sr-Cyrl\"][\"examples\"]      = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n+    Locale[\"sr-Cyrl\"][\"see-also\"]      = \"\u041f\u043e\u0433\u043b\u0435\u0434\u0430\u0458\u0442\u0435 \u0442\u0430\u043a\u043e\u0452\u0435\"\n+    Locale[\"sr-Cyrl\"][\"family\"]        = \"Indo-European\"\n+    Locale[\"sr-Cyrl\"][\"iso\"]           = \"srp-Cyrl\"\n+    Locale[\"sr-Cyrl\"][\"glotto\"]        = \"serb1264\"\n+    Locale[\"sr-Cyrl\"][\"script\"]        = \"Cyrl\"\n+\n+    #68b Serbian, Latin alphabet\n+    Locale[\"sr-Latn\"][\"name\"]          = \"Serbian (Latin)\"\n+    Locale[\"sr-Latn\"][\"endonym\"]       = \"srpski\"\n+    Locale[\"sr-Latn\"][\"translations-of\"] = \"Prevodi za \u201e%s\u201c\"\n+    Locale[\"sr-Latn\"][\"definitions-of\"]  = \"Definicije za %s\"\n+    Locale[\"sr-Latn\"][\"synonyms\"]      = \"Sinonimi\"\n+    Locale[\"sr-Latn\"][\"examples\"]      = \"Primeri\"\n+    Locale[\"sr-Latn\"][\"see-also\"]      = \"Pogledajte tako\u0111e\"\n+    Locale[\"sr-Latn\"][\"family\"]        = \"Indo-European\"\n+    Locale[\"sr-Latn\"][\"iso\"]           = \"srp-Latn\"\n+    Locale[\"sr-Latn\"][\"glotto\"]        = \"serb1264\"\n+    Locale[\"sr-Latn\"][\"script\"]        = \"Latn\"\n \n     #69 Sesotho (Southern Sotho)\n     Locale[\"st\"][\"name\"]               = \"Sesotho\"\n@@ -1714,9 +1727,12 @@\n     LocaleAlias[\"mo\"] = \"ro\" # Moldavian or Moldovan considered a variant of the Romanian language\n     LocaleAlias[\"nb\"] = \"no\" # Google Translate does not distinguish between Bokm\u00e5l and Nynorsk\n     LocaleAlias[\"nn\"] = \"no\"\n-    LocaleAlias[\"sh\"] = \"sr\" # Serbo-Croatian: default to Serbian\n-    LocaleAlias[\"zh\"] = \"zh-CN\" # Chinese: default to Chinese Simplified\n-    LocaleAlias[\"zho\"] = \"zh-CN\"\n+    LocaleAlias[\"sh\"]      = \"sr-Cyrl\" # Serbo-Croatian: default to Serbian\n+    LocaleAlias[\"sr\"]      = \"sr-Cyrl\" # Serbian: default to Serbian Cyrillic\n+    LocaleAlias[\"srp\"]     = \"sr-Cyrl\"\n+    LocaleAlias[\"serbian\"] = \"sr-Cyrl\"\n+    LocaleAlias[\"zh\"]      = \"zh-CN\" # Chinese: default to Chinese Simplified\n+    LocaleAlias[\"zho\"]     = \"zh-CN\"\n     LocaleAlias[\"chinese\"] = \"zh-CN\"\n     # TODO: more aliases\n }\n"}
{"commit":"e714d8ac62904a0d8af7aa463ff47c5357346f6f","subject":"Update generate_netbsd_ioctls.awk for NetBSD 9.99.3","message":"Update generate_netbsd_ioctls.awk for NetBSD 9.99.3\n\nRegister new ioctl argument types passed in ioctl(2) calls.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@368246 91177308-0d34-0410-b5e6-96231b3b80d8\n","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- utils\/generate_netbsd_ioctls.awk\n+++ utils\/generate_netbsd_ioctls.awk\n@@ -482,6 +482,8 @@\n     return \"sizeof(u16)\"\n   } else if (string == \"u_int32_t\" || string == \"uint32_t\") {\n     return \"sizeof(u32)\"\n+  } else if (string == \"u_int64_t\" || string == \"uint64_t\") {\n+    return \"sizeof(u64)\"\n   } else if (string ~ \/\\*$\/) {\n     return \"sizeof(uptr)\"\n   } else if (string == \"off_t\") {\n@@ -623,6 +625,10 @@\n     return \"struct_RF_ProgressInfo_sz\"\n   } else if (string == \"nvlist_ref_t\") {\n     return \"struct_nvlist_ref_sz\"\n+  } else if (string == \"spi_ioctl_transfer_t\") {\n+    return \"struct_spi_ioctl_transfer_sz\"\n+  } else if (string == \"spi_ioctl_configure_t\") {\n+    return \"struct_spi_ioctl_configure_sz\"\n   } else {\n     print \"Unrecognized entry: \" string\n     print \"Aborting\"\n"}
{"commit":"ea12bd93e4859022ab4a0bc40a5f235624736915","subject":"Fix obvious typo (use long name if short name isn't provided).","message":"Fix obvious typo (use long name if short name isn't provided).\n\nReviewed by:\tsam\nMFC after:\t3 days\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"6daf2770c601c4e057c47a5199c40c7dc5a10298","subject":"ahrf.awk: Remove old debug lines","message":"ahrf.awk: Remove old debug lines\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -50,11 +50,8 @@\n \tfor (l=1; l<=NF; l++) {\n \t\tgsub(\/^[\\t ]*\/,\"\",$l)\n \t\tif ($l ~ \/\\* +\/) {\n-\t\t\t# Temporary!!!\n \t\t\tmatch($l,\"\\\\* +\")\n \t\t\tstr = substr($l,RSTART+RLENGTH)\n-\t\t\t# Debug\n-\t\t\t#print str\n \t\t\tprintf(\"\\t<li>%s<\/li>\\n\", str)\n \t\t}\n \t}\n"}
{"commit":"5c71a5b1f91442c824166f8918263862e92b19fe","subject":"TestUtils: test a command pipeline twice","message":"TestUtils: test a command pipeline twice\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestUtils.awk\n+++ test\/TestUtils.awk\n@@ -70,6 +70,7 @@\n     T(\"uprintf\", 1)\n     {\n         assertEqual(uprintf(\"Ma\\\\u00f1ana\"), \"Ma\u00f1ana\")\n+        assertEqual(uprintf(\"Ma\\\\u00f1ana\"), \"Ma\u00f1ana\")\n     }\n \n     END_TEST()\n"}
{"commit":"5951763807c9b6250b4836e194dfec959d4b5be6","subject":"emit a \"typedef vop_foo_t(struct vop_foo_args *);\" which we can use to prototype VOP functions with.","message":"emit a \"typedef vop_foo_t(struct vop_foo_args *);\" which we can use\nto prototype VOP functions with.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -297,6 +297,7 @@\n \t\tprinth(\"}\");\n \t\tadd_debug_post(name);\n \t\tprinth(\"\\treturn (rc);\\n}\");\n+\t\tprinth(\"typedef int \"name\"_t(struct \"name\"_args *);\\n\")\n \t}\n \n \tif (cfile) {\n"}
{"commit":"876b0c213a6582b0b7aee26b3d52dccaa7b5b042","subject":"Simplify output of print-results.awk","message":"Simplify output of print-results.awk\n\n- Make test outputs more compact\n  - Only print \"FAILED a,b,c\" OR \"OK\"\n  - Followed by the number of passed tests as \"(n\/m)\"\n  - On a single line\n- Remove \"Failed %d\/%d\" message\n- Remove \"NO PLAN\" message, instead show \"(n\/???)\" on the first line\n- Exit error code is the number of tests that failed\n- Change verbose output of skipped tests: also contain test description\n- Bail out: print a colored message at the end\n- Repeated tests are now warning color, not error color\n- Minor refactoring\n","repos":"cventus\/otivm,cventus\/otivm,cventus\/otivm","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- ok\/bin\/print-results.awk\n+++ ok\/bin\/print-results.awk\n@@ -39,12 +39,14 @@\n }\n \n function print_table(msg, table, text, first) {\n-\tfirst = 1\n-\tfor (id in table) {\n-\t\tprint_test(msg, id, text, first)\n-\t\tfirst = 0\n+\tif (length(table)) {\n+\t\tfirst = 1\n+\t\tfor (id in table) {\n+\t\t\tprint_test(msg, id, text, first)\n+\t\t\tfirst = 0\n+\t\t}\n+\t\tprintf \"\\n\"\n \t}\n-\tprintf \"\\n\"\n }\n \n BEGIN {\n@@ -101,17 +103,18 @@\n \t# The test has passed\n \tmessage[id] = $3\n \texplain[id] = $5\n+\tfail = $1 ~ \/^not\/\n \n \tif (is_todo($4)) {\n \t\t# TODO directive. These tests count as passed no matter what\n \t\tpassed[id] = 1\n-\n \t\t# If it was successful, then notify user at the end\n \t\tif (!fail) done[id] = 1\n \t} else if (is_skip($4)) {\n \t\t# SKIP directive\n \t\tskipped[id] = 1\n-\t} else if ($1 ~ \/^not\/) {\n+\t\tskip_msg[id] = message[id] \"-- \" explain[id]\n+\t} else if (fail) {\n \t\t# Test failed\n \t\tfailed[id] = 1\n \t\tprint_test(failcol(\"FAILED\"), id, message, length(failed) == 1)\n@@ -122,7 +125,9 @@\n \n \/Bail out!\/ {\n \t# Bail out\n-\tprint\n+\tbail_out = 1\n+\tbail_out_message = $0\n+\tsub(\/^[^!]*![ \t]*\/, \"\", bail_out_message)\n \texit\n }\n \n@@ -138,55 +143,50 @@\n \t\tprint_test(failcol(\"FAILED\"), id, message, length(failed) == 1)\n \t}\n \n-\t# End line of failures\n-\tnfail = length(failed)\n-\tif (nfail > 0) {\n-\t\tprintf \"\\n\"\n+\t# Check for tests that aren't part of any plan\n+\tfor (id in passed) {\n+\t\tif (!(id in planned)) { noplan[i] = 1 }\n \t}\n \n-\t# Check whether there was a plan at all\n-\tif (length(planned) == 0 && !skip_all) {\n-\t\tprint failcol(\"NO PLAN\")\n-\t}\n-\n-\tif (info) {\n-\t\t# Check special cases\n-\t\tif (length(repeat)) {\n-\t\t\tprint_table(failcol(\"Repeated\"), repeat, repeat_text);\n-\t\t}\n-\t\tif (length(skipped)) {\n-\t\t\tprint_table(noticecol(\"Skipped\"), skipped, explain);\n-\t\t}\n-\t\tif (length(done)) {\n-\t\t\tprint_table(warncol(\"Passed\"), done, explain);\n-\t\t}\n-\t}\n-\n-\t# Were there any unplanned tests?\n-\tfirst = 1\n-\tfor (id in passed) {\n-\t\tif (!(id in planned)) {\n-\t\t\tprint_test(warncol(\"Not planned\"), id, message, first)\n-\t\t\tfirst = 0\n-\t\t}\n-\t}\n-\tif (!first) printf \"\\n\"\n-\n-\t# Print test summary\n+\t# Print test summary (finish failed tests)\n+\tno_plan = length(planned) == 0 && !skip_all\n+\tnfail = length(failed)\n \tnpass = length(passed) + length(skipped)\n-\tndone = length(done) # Not exclusive list\n \tn = npass + nfail\n \tif (n > 0) {\n \t\tif (nfail) {\n-\t\t\tpercent = npass*100.0\/n\n-\t\t\tprintf \"Failed %d\/%d tests\\n\", nfail, n\n+\t\t\tprintf (verbose ? \"\\n\\t\" : \" \")\n \t\t} else {\n-\t\t\tprint okcol(\"OK\")\n+\t\t\tif (length(done) || length(repeat) || length(noplan)) {\n+\t\t\t\tprintf warncol(\"OK\")\n+\t\t\t} else if (length (skipped)) {\n+\t\t\t\tprintf noticecol(\"OK\")\n+\t\t\t} else {\n+\t\t\t\tprintf okcol(\"OK\")\n+\t\t\t}\n+\t\t\tprintf \" \"\n \t\t}\n+\t\tprintf \"(%d\/%s)\\n\", npass, (no_plan ? failcol(\"???\") : n \"\")\n \t} else if (skip_all) {\n-\t\tprint okcol(\"OK\")\n+\t\tprint noticecol(\"OK\") \" (\" noticecol(\"skip\") \")\"\n \t} else {\n \t\tprint warncol(\"NO TESTS\")\n \t}\n+\n+\t# Print additional information (possibly one line each)\n+\tif (info) {\n+\t\tprint_table(noticecol(\"Skipped\"), skipped, skip_msg);\n+\t\tprint_table(warncol(\"Repeated\"), repeat, repeat_text);\n+\t\tprint_table(warncol(\"Passed\"), done, explain);\n+\t\tprint_table(warncol(\"Not planned\"), noplan, explain);\n+\t}\n+\n+\t# Did the test intentionally exit early?\n+\tif (bail_out) {\n+\t\tprint failcol(\"BAILED\") \" \" bail_out_message\n+\t}\n+\n+\t# Report the number of failed tests in the exit code\n+\texit nfail\n }\n \n"}
{"commit":"21740f8564b0464c4a7de62f19bc2aba43543d1b","subject":"GNU awk does not output escaped newlines in multi-line printc statements. This leads to compile errors when trying to compile firmware(9) stubs created with gawk, as multiple #include statements end up on the same line.  Replace the multi-line printc statement that outputs all of the #includes with one printc per #include.  This allows modules compatible with firmware(9) to be cross-built from a Linux machine without requiring the one true awk to be installed.","message":"GNU awk does not output escaped newlines in multi-line printc statements. This\nleads to compile errors when trying to compile firmware(9) stubs created with\ngawk, as multiple #include statements end up on the same line.  Replace the\nmulti-line printc statement that outputs all of the #includes with one printc\nper #include.  This allows modules compatible with firmware(9) to be cross-built\nfrom a Linux machine without requiring the one true awk to be installed.\n\nI've intentionally done the minimal set of changes necessary to make gawk\nproduce valid (but not pretty) C code, to reduce the churn and keep fw_stubs.awk\nas readable as possible.\n\nApproved by:\temaste (mentor)\nMFC after:\t2 weeks\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"9ca5eaa6eb971c399624ab8edda443bd7b8a172a","subject":"Improve testsuite generation a bit further.","message":"Improve testsuite generation a bit further.\n","repos":"winlinvip\/feng,lscube\/feng,winlinvip\/feng,winlinvip\/feng,lscube\/feng,lscube\/feng","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- tests\/genmain.awk\n+++ tests\/genmain.awk\n@@ -33,10 +33,12 @@\n     suitename = $2;\n     subsuitename = $2;\n     sub(\"^.*tests\/\", \"\", suitename);\n-    sub(\"\/[_a-z0-9-]+\\\\.c$\", \"\", suitename);\n+    sub(\"[_a-z0-9-]+\\\\.c$\", \"\", suitename);\n \n-    sub(\"^.*tests\/[_a-z0-9-]+\/\", \"\", subsuitename);\n+    sub(\"^.*tests\/\", \"\", subsuitename);\n+    sub(\"\/?[_a-z0-9-]+\/\", \"\", subsuitename);\n     sub(\"\\\\.c$\", \"\", subsuitename);\n+    sub(\"^\/\/\", \"\/\", subsuitename);\n \n     testname = $1;\n     sub(\"test_\", \"\", testname);\n"}
{"commit":"53aa5c30e6a167ccef94e6b5def257413939a6bf","subject":"handle one line struct {}, multiline comments, whitespaces when parsing header for structs","message":"handle one line struct {}, multiline comments, whitespaces when parsing header for structs\n","repos":"LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache,LTD-Beget\/xcache","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -2,11 +2,35 @@\n # vim:ts=4:sw=4\n BEGIN {\n \tbrace = 0;\n+\tincomment = 0;\n \tbuffer_len = 0;\n }\n+\n+# multiline comment handling\n+{\n+\t# removes one line comment\n+\tgsub(\/\\\/\\*(.+?)\\*\\\/\/, \" \");\n+}\n+\/\\*\\\/\/ {\n+\tif (incomment) {\n+\t\tsub(\/.*\\*\\\/\/, \"\");\n+\t\tincomment = 0;\n+\t}\n+}\n+incomment {\n+\tnext;\n+}\n+\/\\\/\\*\/ {\n+\tsub(\/\\\/\\*.*\/, \"\");\n+\tincomment = 1;\n+\t# fall through\n+}\n+\n+# skip file\/line mark here to be faster\n \/^#\/ {\n \tnext;\n }\n+\n \/^}.*;\/ {\n \tif (instruct) {\n \t\tsub(\";\", \"\");\n@@ -53,7 +77,7 @@\n \n {\n \tif (brace == 1 && instruct) {\n-\t\tgsub(\/\\\/\\*(.+?)\\*\\\/\/, \" \"); # removes one line comment\n+\t\tgsub(\/(^[\\t ]+|[\\t ]+$)\/, \"\"); # trim whitespaces\n \t\tsub(\/.*[{}]\/, \"\");\n \t\tgsub(\/\\[[^\\]]+\\]\/, \"\"); # ignore [...]\n \t\tgsub(\/:[0-9]+\/, \"\"); # ignore struct bit\n@@ -66,6 +90,8 @@\n \t\t\tbuffer_len ++;\n \t\t}\n \t\telse {\n+\t\t\t# process normal variables\n+\n \t\t\t# ignore any ()s\n \t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\")) {\n \t\t\t}\n@@ -82,6 +108,7 @@\n \t\t\tif (!match($0, \/;\/)) {\n \t\t\t\tnext;\n \t\t\t}\n+\t\t\t# print \"=DEBUG=\" $0 \"==\";\n \t\t\tsplit($0, chunks, \";\");\n \t\t\t# [unsigned int a, b, c]\n \n@@ -101,7 +128,9 @@\n \t\t\t\t\tdelete pieces[j];\n \t\t\t\t}\n \t\t\t\tif (last_piece == \"\") {\n-\t\t\t\t\tprint \"=====\" chunks[i];\n+\t\t\t\t\t# print \"=ERROR=\" chunks[i] \"==\";\n+\t\t\t\t\tdelete chunks[i];\n+\t\t\t\t\tcontinue;\n \t\t\t\t}\n \t\t\t\t# a\n \t\t\t\t# b\n@@ -122,7 +151,7 @@\n \ttypedefs[$3] = $4;\n \tnext;\n }\n-\/^typedef struct .*\\{\/ {\n+\/^typedef struct .*\\{[^}]*$\/ {\n \tbrace = 1;\n \tinstruct = 1;\n \tnext;\n"}
{"commit":"dcb95368caa7c66e47b9e64dd82fedef92945652","subject":"Create gld with correct regions on GT.CM server remote hosts even if test output directory on one remote host has a substring (e.g. userid nars in \/testarea2\/nars\/...) that matches the hostname of the other remote host (hostname nars)","message":"Create gld with correct regions on GT.CM server remote hosts even if test output directory on one remote host has a substring (e.g. userid nars in \/testarea2\/nars\/...) that matches the hostname of the other remote host (hostname nars)\n","repos":"nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- com\/dbcreate_multi.awk\n+++ com\/dbcreate_multi.awk\n@@ -2,6 +2,9 @@\n #\t\t\t\t\t\t\t\t#\n # Copyright (c) 2002-2016 Fidelity National Information\t\t#\n # Services, Inc. and\/or its subsidiaries. All rights reserved.\t#\n+#\t\t\t\t\t\t\t\t#\n+# Copyright (c) 2017 YottaDB LLC. and\/or its subsidiaries.\t#\n+# All rights reserved.                                          #\n #\t\t\t\t\t\t\t\t#\n #\tThis source code contains the intellectual property\t#\n #\tof its copyright holder(s), and is made available\t#\n@@ -90,7 +93,7 @@\n \ttotal_gtcm_serv_no=split(value[\"test_gtcm\"],gtcm_servers,\",\")\n \tif (this_is_a_gtcm_server)\n \t\tfor (serv in gtcm_servers)\n-\t\t\tif (!index(gtcm_servers[serv],this_host)) gtcm_servers[serv]=\"\"\n+\t\t\tif (!index(gtcm_servers[serv],this_host\":\")) gtcm_servers[serv]=\"\"\n \tgtcm_serv_no=1\n \tcur_gtcm_server = gtcm_servers[gtcm_serv_no++]\n       }\n"}
{"commit":"f630fe3c228226b0f6e797dbd0d62db431b93dc1","subject":"fix: Fix broken changelog links when repo has been cloned via https URL","message":"fix: Fix broken changelog links when repo has been cloned via https URL\n","repos":"ianhenderson\/simple-git-changelog","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changelog.awk\n+++ changelog.awk\n@@ -44,7 +44,7 @@\n function getRepoURL() {\n \t\"git config --get remote.upstream.url || git config --get remote.origin.url || git config --get remote.dev.url\" | getline REPO_URL\n \tsub(\/:\/, \"\/\", REPO_URL)\n-\tsub(\/git@\/, \"https:\/\/\", REPO_URL)\n+\tsub(\/git@|https?:?\\\/+\/, \"https:\/\/\", REPO_URL)\n \tsub(\/\\.git\/, \"\", REPO_URL)\n \treturn REPO_URL\n }\n"}
{"commit":"6d815e22c8451ce09ffca1d09a4731eb294032a1","subject":"Ticket #2002: Update libvirt_awk_script param check to lower case as add will always be lower case","message":"Ticket #2002: Update libvirt_awk_script param check to lower case as add\nwill always be lower case\n","repos":"clalancette\/condor-dcloud,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/condor,htcondor\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,djw8605\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,neurodebian\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_vm-gahp\/libvirt_simple_script.awk\n+++ src\/condor_vm-gahp\/libvirt_simple_script.awk\n@@ -97,7 +97,9 @@\n \n     print \"<devices>\" ;\n     print \"<console type='pty'><source path='\/dev\/ptmx'\/><\/console>\" ;\n-    if(attrs[\"JobVMNetworking\"] == \"TRUE\")\n+    \n+    # To see full input ad to script set D_FULLDEBUG\n+    if(attrs[\"JobVMNetworking\"] == \"true\")\n     {\n \tif(index(attrs[\"JobVMNetworkingType\"],\"nat\") != 0)\n \t{\n"}
{"commit":"074af727cfcacc74faa8ae5d1274ba15a3f9c92d","subject":"Languages: add Meiteilon","message":"Languages: add Meiteilon\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1087,6 +1087,22 @@\n     Locale[\"mn\"][\"iso\"]                = \"mon\"\n     Locale[\"mn\"][\"glotto\"]             = \"mong1331\"\n     Locale[\"mn\"][\"script\"]             = \"Cyrl\"\n+\n+    # Meiteilon \/ Manipuri\n+    Locale[\"mni-Mtei\"][\"name\"]         = \"Meiteilon\"\n+    Locale[\"mni-Mtei\"][\"name2\"]        = \"Manipuri\"\n+    Locale[\"mni-Mtei\"][\"name3\"]        = \"Meitei\"\n+    Locale[\"mni-Mtei\"][\"name4\"]        = \"Meetei\"\n+    Locale[\"mni-Mtei\"][\"endonym\"]      = \"\uabc3\uabe4\uabc7\uabe9\uabc2\uabe3\uabdf\"\n+    #Locale[\"mni-Mtei\"][\"translations-of\"]\n+    #Locale[\"mni-Mtei\"][\"definitions-of\"]\n+    #Locale[\"mni-Mtei\"][\"synonyms\"]\n+    #Locale[\"mni-Mtei\"][\"examples\"]\n+    #Locale[\"mni-Mtei\"][\"see-also\"]\n+    Locale[\"mni-Mtei\"][\"family\"]       = \"Sino-Tibetan\"\n+    Locale[\"mni-Mtei\"][\"iso\"]          = \"mni\"\n+    Locale[\"mni-Mtei\"][\"glotto\"]       = \"mani1292\"\n+    Locale[\"mni-Mtei\"][\"script\"]       = \"Mtei\"\n \n     #66 Myanmar \/ Burmese\n     Locale[\"my\"][\"name\"]               = \"Myanmar\"\n@@ -2064,6 +2080,7 @@\n     LocaleAlias[\"chinese\"] = \"zh-CN\"\n     LocaleAlias[\"tlh-Latn\"] = \"tlh\"\n     LocaleAlias[\"tlh-Piqd\"] = \"tlh-Qaak\"\n+    LocaleAlias[\"mni\"] = \"mni-Mtei\" # Meitei: default to Meitei Mayek\n     # TODO: more aliases\n }\n \n@@ -2213,6 +2230,7 @@\n     case \"Kore\": return \"Korean (Hangul + Han)\"\n     case \"Laoo\": return \"Lao\"\n     case \"Latn\": return \"Latin\"\n+    case \"Mtei\": return \"Meitei Mayek\"\n     case \"Mlym\": return \"Malayalam\"\n     case \"Mymr\": return \"Myanmar\"\n     case \"Orya\": return \"Oriya\"\n"}
{"commit":"0ace728abb9accb61fc6c3ad265f021070507146","subject":"mk: add missing environment exports to make eclipse-projects of dry packages build","message":"mk: add missing environment exports to make eclipse-projects of dry packages build\n\nSigned-off-by: Ruben Smits <6137c241211d138ebe4dbe0d7e3c754757a92498@intermodalics.eu>\n","repos":"ros\/ros,ros\/ros,ros\/ros","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- core\/mk\/eclipse.awk\n+++ core\/mk\/eclipse.awk\n@@ -5,6 +5,9 @@\n                 printf \"ROS_PACKAGE_PATH=\"ENVIRON[\"ROS_PACKAGE_PATH\"]\"|\"\n                 printf \"PYTHONPATH=\"ENVIRON[\"PYTHONPATH\"]\"|\"\n                 printf \"PATH=\"ENVIRON[\"PATH\"]\"|\"\n+                printf \"LD_LIBRARY_PATH=\"ENVIRON[\"LD_LIBRARY_PATH\"]\"|\"\n+                printf \"PKG_CONFIG_PATH=\"ENVIRON[\"PKG_CONFIG_PATH\"]\"|\"\n+                printf \"CMAKE_PREFIX_PATH=\"ENVIRON[\"CMAKE_PREFIX_PATH\"]\"|\"\n                 print \"<\/value>\"\n         } else {\n                 print $0\n"}
{"commit":"87c9651df317d11c3a30e7ffa83edd37002513ce","subject":"INTEGRATION: CWS ooo19126 (1.4.704); FILE MERGED 2005\/09\/05 14:33:02 rt 1.4.704.1: #i54170# Change license header: remove SISSL","message":"INTEGRATION: CWS ooo19126 (1.4.704); FILE MERGED\n2005\/09\/05 14:33:02 rt 1.4.704.1: #i54170# Change license header: remove SISSL\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/getcsym.awk\n+++ solenv\/bin\/getcsym.awk\n@@ -1,62 +1,35 @@\n #*************************************************************************\n+#\n+#   OpenOffice.org - a multi-platform office productivity suite\n #\n #   $RCSfile: getcsym.awk,v $\n #\n-#   $Revision: 1.4 $\n+#   $Revision: 1.5 $\n #\n-#   last change: $Author: hr $ $Date: 2003-03-27 11:47:52 $\n+#   last change: $Author: rt $ $Date: 2005-09-07 22:09:22 $\n #\n-#   The Contents of this file are made available subject to the terms of\n-#   either of the following licenses\n-#\n-#          - GNU Lesser General Public License Version 2.1\n-#          - Sun Industry Standards Source License Version 1.1\n-#\n-#   Sun Microsystems Inc., October, 2000\n-#\n-#   GNU Lesser General Public License Version 2.1\n-#   =============================================\n-#   Copyright 2000 by Sun Microsystems, Inc.\n-#   901 San Antonio Road, Palo Alto, CA 94303, USA\n-#\n-#   This library is free software; you can redistribute it and\/or\n-#   modify it under the terms of the GNU Lesser General Public\n-#   License version 2.1, as published by the Free Software Foundation.\n-#\n-#   This library is distributed in the hope that it will be useful,\n-#   but WITHOUT ANY WARRANTY; without even the implied warranty of\n-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n-#   Lesser General Public License for more details.\n-#\n-#   You should have received a copy of the GNU Lesser General Public\n-#   License along with this library; if not, write to the Free Software\n-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n-#   MA  02111-1307  USA\n+#   The Contents of this file are made available subject to\n+#   the terms of GNU Lesser General Public License Version 2.1.\n #\n #\n-#   Sun Industry Standards Source License Version 1.1\n-#   =================================================\n-#   The contents of this file are subject to the Sun Industry Standards\n-#   Source License Version 1.1 (the \"License\"); You may not use this file\n-#   except in compliance with the License. You may obtain a copy of the\n-#   License at http:\/\/www.openoffice.org\/license.html.\n+#     GNU Lesser General Public License Version 2.1\n+#     =============================================\n+#     Copyright 2005 by Sun Microsystems, Inc.\n+#     901 San Antonio Road, Palo Alto, CA 94303, USA\n #\n-#   Software provided under this License is provided on an \"AS IS\" basis,\n-#   WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,\n-#   WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,\n-#   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.\n-#   See the License for the specific provisions governing your rights and\n-#   obligations concerning the Software.\n+#     This library is free software; you can redistribute it and\/or\n+#     modify it under the terms of the GNU Lesser General Public\n+#     License version 2.1, as published by the Free Software Foundation.\n #\n-#   The Initial Developer of the Original Code is: Sun Microsystems, Inc..\n+#     This library is distributed in the hope that it will be useful,\n+#     but WITHOUT ANY WARRANTY; without even the implied warranty of\n+#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+#     Lesser General Public License for more details.\n #\n-#   Copyright: 2000 by Sun Microsystems, Inc.\n-#\n-#   All Rights Reserved.\n-#\n-#   Contributor(s): _______________________________________\n-#\n-#\n+#     You should have received a copy of the GNU Lesser General Public\n+#     License along with this library; if not, write to the Free Software\n+#     Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n+#     MA  02111-1307  USA\n #\n #*************************************************************************\n \n"}
{"commit":"2cf2853161000c699eacf98bab725dd41fc8c5a2","subject":"Languages: add Kyrgyz language","message":"Languages: add Kyrgyz language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -156,6 +156,19 @@\n     Locale[\"rw\"][\"iso\"]                = \"kin\"\n     Locale[\"rw\"][\"glotto\"]             = \"kiny1244\"\n     Locale[\"rw\"][\"script\"]             = \"Latn\"\n+\n+    #? Kyrgyz\n+    Locale[\"ky\"][\"name\"]               = \"Kyrgyz\"\n+    Locale[\"ky\"][\"endonym\"]            = \"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430\"\n+    #Locale[\"ky\"][\"translations-of\"]\n+    #Locale[\"ky\"][\"definitions-of\"]\n+    #Locale[\"ky\"][\"synonyms\"]\n+    #Locale[\"ky\"][\"examples\"]\n+    #Locale[\"ky\"][\"see-also\"]\n+    Locale[\"ky\"][\"family\"]             = \"Turkic\"\n+    Locale[\"ky\"][\"iso\"]                = \"kir\"\n+    Locale[\"ky\"][\"glotto\"]             = \"kirg1245\"\n+    Locale[\"ky\"][\"script\"]             = \"Cyrl\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"1daa342602bfc9aff2e9c44a4c36a6500fe09390","subject":"Parser script displays number of compiler warnings","message":"Parser script displays number of compiler warnings\n","repos":"jsconan\/camelSCAD","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/parse-test.awk\n+++ scripts\/parse-test.awk\n@@ -41,6 +41,7 @@\n     assertCount  = 0\n     successCount = 0\n     failedCount  = 0\n+    warningCount = 0\n \n     # define ANSI colors\n     BLACK    = \"\\033[0;30m\"\n@@ -64,6 +65,7 @@\n \n # detect compiler warnings\n $0~\/^WARNING:\/ {\n+    warningCount = warningCount + 1\n     printf(\"\\n%s%s\\n\", LRED, $0)\n }\n \n@@ -184,6 +186,10 @@\n     printf(\"%s%d\/%d asserts\\n\", GREEN, successCount, assertCount)\n     printf(separator, GREY)\n \n+    if (warningCount > 0) {\n+        printf(\"%s%d warnings!\\n\", RED, warningCount)\n+    }\n+\n     if (failedCount == 0) {\n         printf(\"%sAll successful!\\n\", GREEN)\n     } else {\n"}
{"commit":"03c26b679f23f6dad765acf48bad3c6873c63521","subject":"http txn tweak filtering","message":"http txn tweak filtering\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- doc\/examples\/source\/data-gov\/1554-frbr-demo-explore\/version\/2011-Sep-19-frbr\/doc\/filter.awk\n+++ doc\/examples\/source\/data-gov\/1554-frbr-demo-explore\/version\/2011-Sep-19-frbr\/doc\/filter.awk\n@@ -3,7 +3,8 @@\n    else if ( $0~\/#TabularDigest\/ ) {}\n    else if ( $0~\/#hashAlgorithm\/ ) {}\n    else if ( $0~\/#hashValue\/ ) {}\n-   else if ( $0~\/hash:Item\/ ) {}\n+   else if ( $0~\/#reproductionOf>.*<hash:Item\/ ) {}\n+   else if ( $0~\/<hash:Item.*frbr.core#>\/ ) {}\n    else if ( $0~\/p.surfrdf\/ ) {}\n    else { print }\n }\n"}
{"commit":"c0aa17d97d172fce23937d65a8807ceabce60e6f","subject":"TestCommons: test reverse()","message":"TestCommons: test reverse()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestCommons.awk\n+++ test\/TestCommons.awk\n@@ -70,6 +70,13 @@\n         assertEqual(replicate(\"\", 2), \"\")\n         assertEqual(replicate(\"foo bar\", 1), \"foo bar\")\n         assertEqual(replicate(\"foo bar\", 3), \"foo barfoo barfoo bar\")\n+    }\n+    T(\"reverse()\", 4)\n+    {\n+        assertEqual(reverse(\"\"), \"\")\n+        assertEqual(reverse(\"god\"), \"dog\")\n+        assertEqual(reverse(\"0123456789\"), \"9876543210\")\n+        assertEqual(reverse(\"\u3055\u3057\u3059\u305b\u305d\"), \"\u305d\u305b\u3059\u3057\u3055\")\n     }\n     T(\"join()\", 4)\n     {\n"}
{"commit":"cfa8af2ce0557b2bff53c417d54d61b259bdd5e6","subject":"build.awk: readme() uses number of language codes with stable support","message":"build.awk: readme() uses number of language codes with stable support\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -50,14 +50,19 @@\n     return system(\"pandoc -s -t man \" ManMarkdown \" -o \" Man)\n }\n \n-function readme(    code, col, cols, content, group, i, j, language, r, rows, text) {\n+function readme(    code, col, cols, content, group, i, j, num, language, r, rows, text) {\n     text = readFrom(ReadmeTemplate)\n \n     content = getOutput(\"gawk -f translate.awk -- -no-ansi -h\")\n     gsub(\/\\$usage\\$\/, content, text)\n \n     initBiDi(); initLocale()\n-    rows = int(length(Locale) \/ 3) + 1\n+    # number of language codes with stable support\n+    num = 0\n+    for (code in Locale)\n+        if (Locale[code][\"support\"] != \"unstable\")\n+            num++\n+    rows = int(num \/ 3) + 1\n     cols[0][0] = cols[1][0] = cols[2][0] = NULLSTR\n     i = 0\n     saveSortedIn = PROCINFO[\"sorted_in\"]\n"}
{"commit":"35a14572bcb860a2979a29d6e307eef8549b01de","subject":"UTF-8 errors are non-fatal","message":"UTF-8 errors are non-fatal\n\nJust skip broken characters and put the message on stderr.\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doxy\/mantohtml.awk\n+++ doxy\/mantohtml.awk\n@@ -42,8 +42,7 @@\n \n function u8error(msg)\n {\n-\tprintf(\"utf-8 error:%d:%d:%d: %s\\n\\n%s\\n% \" p \"s\\n\", NR, p, i, msg, $0, \"^\")\n-\texit 1\n+\tprintf(\"utf-8 error:%d:%d:%d: %s\\n\\n%s\\n% \" p \"s\\n\", NR, p, i, msg, $0, \"^\") > \"\/dev\/stderr\"\n }\n \n {\n@@ -65,6 +64,8 @@\n \t\t{\n \t\t\tif (chars[i] < \"\\x80\" || chars[i] >= \"\\xc0\") {\n \t\t\t\tu8error(\"unexected byte in multibyte character\")\n+\t\t\t\tmbyte = 0\n+\t\t\t\tcontinue\n \t\t\t}\n \t\t\tuchars[p] = uchars[p] chars[i]\n \t\t\tp += !--mbyte\n"}
{"commit":"b05f2ad810fc52bbee030f6edea0ef155aa19c46","subject":"Beta release, add support for header files.","message":"Beta release, add support for header files.\n","repos":"lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- linkparser\/linkparser.awk\n+++ linkparser\/linkparser.awk\n@@ -1,10 +1,14 @@\n #!@include \"functions.awk\"\n \n BEGIN {\n+\tversion = \"0.1.2\"\n+\tprintf(\"link-parser, v%s\\n\", version)\n+\n \ttrue = 1\n \tfalse = 0\n \tg_pat_srccommon = \"\\\\\/sw\\\\\/vobs.+\"\n \tg_sroot = \"\"\n+\tinst_root = \"\"\n \ttar_root = \"\"\n \n \t# Colors\n@@ -19,7 +23,14 @@\n \t\tSKIP_END = true\n \t\texit 0\n \t}\n+\n+\tif (arg ~ \/pretend\/) {\n+\t\tpretend = true\n+\t}\n \tcount = 0\n+\n+\t# Skip head lines\n+\tgetline\n }\n \n \/^[^-]\/ {\n@@ -28,43 +39,76 @@\n \tgsub(\/[ \\t]+\\\\$\/, \"\", link)\n \n \tif (g_sroot == \"\") {\n+\t\tprintf(\"Grabbing sources and headers ...\\n\")\n \t\tg_sroot = get_sroot(link)\n-\t\tsystem(\"mkdir .\" g_sroot)\n+\t\t\"date +%Y%m%d%H-%M%S\" | getline date\n+\t\tinst_root = g_sroot\"-\"date\n \t}\n+\n+\t# ---------\n+\t# Sources\n+\t# ---------\n \n \tcmd_file = link\".cmd\"\n \twhile ((getline line < cmd_file) > 0) {\n \t\t# abosolute path\n \t\tif (line ~ \/[ \\t]+-c[ \\t]+\\\/.+$\/)\n \t\t\tsource = gensub(\/^.+[ \\t]+-c[ \\t]+(.+)$\/, \"\\\\1\", \"g\", line)\n-\t\t# relative path\n-\t\telse\n+\t\telse # relative path\n \t\t\tsource = gensub(\/^cd (.+);.+-c (.+)\/, \"\\\\1\/\\\\2\", \"g\", line)\n \n-\t\tprint BLU source NC\n-\t\tif (source == \"\") {\n-\t\t\tprint RED \"+++++++\"line NC\n+\t\trel_install(source, g_sroot, inst_root)\n+\t}\n+\tclose(cmd_file)\n+\n+\t# ---------\n+\t# Headers\n+\t# ---------\n+\n+\tgsub(\/\\.(obj|o|lib)$\/, \"\", link)\n+\tdep_file = link \".D\"\n+\n+\tif ((getline < dep_file) < 0)\n+\t\tnext\n+\n+\t# Get path prefix\n+\tcur_path = $1\n+\tgsub(\/^#\/, \"\", cur_path)\n+\n+\twhile ((getline < dep_file) > 0) {\n+\t\tgsub(\/:\/, \" \")\n+\t\tfor (i = 1; i <= NF; i++) {\n+\t\t\tif ($i !~ \/\\.(h|hpp)$\/)\n+\t\t\t\tcontinue\n+\t\t\theader = cur_path \"\/\" $i\n+\t\t\trel_install(header, g_sroot, inst_root)\n \t\t}\n-\n-\t\tdir = dirname(source)\n-\t\tbase = basename(source)\n-\t\tpatt = \"^.+\\\\\/\"g_sroot\"\\\\\/(sw.+)\"\n-\t\trel_path = gensub(patt, \"\\\\1\", \"g\", dir)\n-\n-\t\tsystem(\"mkdir -p .\" g_sroot \"\/\" rel_path)\n-\t\tsystem(\"cp \" source \" .\" g_sroot \"\/\" rel_path)\n-\n-\t\tcount = count + 1\n \t}\n+\tclose(dep_file)\n }\n \n END {\n \tprint \"Total dumped files: \" count\n-\t\"date +%Y%m%d%H%M%S\" | getline date\n-\ttarball = g_sroot \".\" date \".tar.gz\"\n+\tif (pretend)\n+\t\texit 0\n+\n+\ttarball = inst_root \".tar.gz\"\n \tprintf(\"Generating source tarball %s%s%s%s ...\\n\", RED, BOL, tarball, NC)\n-\tsystem(\"tar zcf \" tarball \" .\" g_sroot)\n-\tsystem(\"rm -r .\"g_sroot)\n+\tsystem(\"tar zcf \" tarball \" \" inst_root)\n+\tsystem(\"rm -r \"inst_root)\n+}\n+\n+function rel_install(source, rel_root, new_root) {\n+\tcount++\n+\tdir = dirname(source)\n+\tbase = basename(source)\n+\tpatt = \"^.+\\\\\/\"rel_root\"\\\\\/(sw.+)\"\n+\trel_path = gensub(patt, \"\\\\1\", \"g\", dir)\n+\n+\tif (pretend)\n+\t\treturn 0\n+\tsystem(\"mkdir -p \" new_root \"\/\" rel_path)\n+\tsystem(\"cp -L \" source \" \" new_root \"\/\" rel_path)\n }\n \n function get_sroot(line) {\n"}
{"commit":"0dff235badb0fdb473791bcee6a9b94e73fa7350","subject":" - Add automatic post vop debug checks.  These work in both the success and    failure cases.","message":" - Add automatic post vop debug checks.  These work in both the success and\n   failure cases.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/vnode_if.awk\n+++ sys\/tools\/vnode_if.awk\n@@ -63,13 +63,13 @@\n function printc(s) {print s > cfile;}\n function printh(s) {print s > hfile;}\n \n-function add_debug_code(name, arg)\n-{\n-\tif (lockdata[name, arg, \"Entry\"]) {\n+function add_debug_code(name, arg, pos)\n+{\n+\tif (lockdata[name, arg, pos]) {\n \t\t# Add assertions for locking\n-\t\tif (lockdata[name, arg, \"Entry\"] == \"L\")\n+\t\tif (lockdata[name, arg, pos] == \"L\")\n \t\t\tprinth(\"\\tASSERT_VOP_LOCKED(\"arg\", \\\"\"uname\"\\\");\");\n-\t\telse if (lockdata[name, arg, \"Entry\"] == \"U\")\n+\t\telse if (lockdata[name, arg, pos] == \"U\")\n \t\t\tprinth(\"\\tASSERT_VOP_UNLOCKED(\"arg\", \\\"\"uname\"\\\");\");\n \t\telse if (0) {\n \t\t\t# XXX More checks!\n@@ -168,6 +168,8 @@\n \t\t    $2 !~ \/^[a-z]+$\/  ||  $3 !~ \/^[a-z]+$\/  || \\\n \t\t    $4 !~ \/^.$\/  ||  $5 !~ \/^.$\/  ||  $6 !~ \/^.$\/)\n \t\t\tcontinue;\n+\t\tif ($3 == \"vpp\")\n+\t\t\t$3 = \"*vpp\";\n \t\tlockdata[\"vop_\" $2, $3, \"Entry\"] = $4;\n \t\tlockdata[\"vop_\" $2, $3, \"OK\"]    = $5;\n \t\tlockdata[\"vop_\" $2, $3, \"Error\"] = $6;\t\t\t\n@@ -254,9 +256,16 @@\n \t\tfor (i = 0; i < numargs; ++i)\n \t\t\tprinth(\"\\ta.a_\" args[i] \" = \" args[i] \";\");\n \t\tfor (i = 0; i < numargs; ++i)\n-\t\t\tadd_debug_code(name, args[i]);\n+\t\t\tadd_debug_code(name, args[i], \"Entry\");\n \t\tadd_debug_pre(name);\n \t\tprinth(\"\\trc = VCALL(\" args[0] \", VOFFSET(\" name \"), &a);\");\n+\t\tprinth(\"if (rc == 0) {\");\n+\t\tfor (i = 0; i < numargs; ++i)\n+\t\t\tadd_debug_code(name, args[i], \"OK\");\n+\t\tprinth(\"} else {\");\n+\t\tfor (i = 0; i < numargs; ++i)\n+\t\t\tadd_debug_code(name, args[i], \"Error\");\n+\t\tprinth(\"}\");\n \t\tadd_debug_post(name);\n \t\tprinth(\"\\treturn (rc);\\n}\");\n \t}\n"}
{"commit":"6261fcdb02ea30793e627db2e1c46b0cd39eca44","subject":"added two prefixes for geonamesid and govtrack","message":"added two prefixes for geonamesid and govtrack\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -37,33 +37,35 @@\n    #print \"#AWK: cellDelimiter:\",cellDelimiter,\" DELIMITER: \",DELIMITER,\" comment: \",commentDELIMITER\n \n    if(length(showConversionProcess)) {\n-      print \"@prefix rdf:        <http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#> .\"\n-      print \"@prefix rdfs:       <http:\/\/www.w3.org\/2000\/01\/rdf-schema#> .\"\n+      print \"@prefix rdf:           <http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#> .\"\n+      print \"@prefix rdfs:          <http:\/\/www.w3.org\/2000\/01\/rdf-schema#> .\"\n    }\n    RDFS=\"rdfs\"\n    if(length(conversionID)) {\n-      print \"@prefix todo:       <http:\/\/www.w3.org\/2000\/01\/rdf-schema#> .\"\n+      print \"@prefix todo:          <http:\/\/www.w3.org\/2000\/01\/rdf-schema#> .\"\n       RDFS=\"todo\"\n    }\n    print \"@prefix xsd:        <http:\/\/www.w3.org\/2001\/XMLSchema#> .\"\n    if(length(conversionID)) {\n-      print \"@prefix owl:        <http:\/\/www.w3.org\/2002\/07\/owl#> .\"\n-      print \"@prefix vann:       <http:\/\/purl.org\/vocab\/vann\/> .\"\n-      print \"@prefix skos:       <http:\/\/www.w3.org\/2004\/02\/skos\/core#> .\"\n-      print \"@prefix time:       <http:\/\/www.w3.org\/2006\/time#> .\"\n-      print \"@prefix wgs:        <http:\/\/www.w3.org\/2003\/01\/geo\/wgs84_pos#> .\"\n-      print \"@prefix geonames:   <http:\/\/www.geonames.org\/ontology#> .\"\n-      print \"@prefix dbpedia:    <http:\/\/dbpedia.org\/resource\/> .\"\n-      print \"@prefix con:        <http:\/\/www.w3.org\/2000\/10\/swap\/pim\/contact#> .\"\n-      print \"@prefix muo:        <http:\/\/purl.oclc.org\/NET\/muo\/muo#> .\"\n-   }\n-   print \"@prefix dcterms:    <http:\/\/purl.org\/dc\/terms\/> .\"\n-   print \"@prefix void:       <http:\/\/rdfs.org\/ns\/void#> .\"\n-   print \"@prefix scovo:      <http:\/\/purl.org\/NET\/scovo#> .\"\n-   print \"@prefix sioc:       <http:\/\/rdfs.org\/sioc\/ns#> .\"\n-   print \"@prefix foaf:       <http:\/\/xmlns.com\/foaf\/0.1\/> .\"\n-   print \"@prefix ov:         <http:\/\/open.vocab.org\/terms\/> .\"\n-   print \"@prefix conversion: <http:\/\/purl.org\/twc\/vocab\/conversion\/> .\"\n+      print \"@prefix owl:           <http:\/\/www.w3.org\/2002\/07\/owl#> .\"\n+      print \"@prefix vann:          <http:\/\/purl.org\/vocab\/vann\/> .\"\n+      print \"@prefix skos:          <http:\/\/www.w3.org\/2004\/02\/skos\/core#> .\"\n+      print \"@prefix time:          <http:\/\/www.w3.org\/2006\/time#> .\"\n+      print \"@prefix wgs:           <http:\/\/www.w3.org\/2003\/01\/geo\/wgs84_pos#> .\"\n+      print \"@prefix geonames:      <http:\/\/www.geonames.org\/ontology#> .\"\n+      print \"@prefix geonamesid:    <http:\/\/sws.geonames.org\/> .\"\n+      print \"@prefix govtrackusgov: <http:\/\/www.rdfabout.com\/rdf\/usgov\/geo\/us\/> .\"\n+      print \"@prefix dbpedia:       <http:\/\/dbpedia.org\/resource\/> .\"\n+      print \"@prefix con:           <http:\/\/www.w3.org\/2000\/10\/swap\/pim\/contact#> .\"\n+      print \"@prefix muo:           <http:\/\/purl.oclc.org\/NET\/muo\/muo#> .\"\n+   }\n+   print \"@prefix dcterms:       <http:\/\/purl.org\/dc\/terms\/> .\"\n+   print \"@prefix void:          <http:\/\/rdfs.org\/ns\/void#> .\"\n+   print \"@prefix scovo:         <http:\/\/purl.org\/NET\/scovo#> .\"\n+   print \"@prefix sioc:          <http:\/\/rdfs.org\/sioc\/ns#> .\"\n+   print \"@prefix foaf:          <http:\/\/xmlns.com\/foaf\/0.1\/> .\"\n+   print \"@prefix ov:            <http:\/\/open.vocab.org\/terms\/> .\"\n+   print \"@prefix conversion:    <http:\/\/purl.org\/twc\/vocab\/conversion\/> .\"\n \n    # Converter produces URIs for the LayerDatasets:\n    #\n@@ -72,7 +74,7 @@\n    #\n    # To make the params more connected to the datasets, we're replacing this:\n    #### NOTE: brought this back for a place for implicit bundles to be named, HOWEVER, the dataset is NOT being named within this:\n-   printf(\"@prefix :           <%s\/source\/%s\/dataset\/%s\/version\/%s\/params\/%s\/> .\\n\",surrogate,sourceID,datasetID,datasetVersion,STEP);\n+   printf(\"@prefix :              <%s\/source\/%s\/dataset\/%s\/version\/%s\/params\/%s\/> .\\n\",surrogate,sourceID,datasetID,datasetVersion,STEP);\n    # with this:\n    # Still not right; moved down to subject:\n    #printf(\"@prefix :           <%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/%s> .\\n\",surrogate,sourceID,datasetID,datasetVersion,STEP);\n"}
{"commit":"cdb0178120d38a5fb124931b2e6bb7b4dfe3e121","subject":"remove hardcoded mappings now correctly in curie_map.yaml","message":"remove hardcoded mappings now correctly in curie_map.yaml\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -10,8 +10,8 @@\n \n #  This may over generalize in some cases because I do not have\n #  a handy way to differentiate uri for subjects and objects\n-#  which may belong to a \"structural\" ontology as opposed to\n-#  a data uri.\n+#  which may belong to a \"structural\" ontology (t-box) as opposed to\n+#  a data uri (a-box).\n \n #  Post processing to augment predicate identifiers\n #  with their labels seems to improve usefulness.\n@@ -20,8 +20,6 @@\n function usage(){\n \tprint \"usage: ntriple2dot.awk curie_map.yaml rdf.nt > rdf.dot\"\n }\n-\n-\n \n ##########################################################\n # remove first and last chars from input string <>\n@@ -59,7 +57,7 @@\n \n # keep underscore, letters & numbers\n # change the rest to (a single) underscore sans leading & trailing\n-# this passes valid node labels from dot's perspective\n+# this passes valid node labels from dot's perspective (C-lang identifier rules)\n function simplify(str){\n \tgsub(\/[^[:alpha:][:digit:]_]+\/,\"_\",str)\n \tgsub(\/^_*|_*$\/, \"\",str)\n@@ -94,32 +92,24 @@\n BEGIN{\n \t# exceptions\n \tprefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n-\t# prefix[\"https:\/\/monarchinitiative.org\/_\"]=\"BNODE\"\n-\t# just until skolemized bnodes get in the curie map?\n \tprefix[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n \t############################################################\n-\t# revisit whether these exceptions are still necessary often\n-\t# they may have been moved into the  prefix mapping file\n-\tprefix[\"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#\"]=\"rdf\"\n-\tprefix[\"http:\/\/www.w3.org\/2000\/01\/rdf-schema#\"]=\"rdfs\"\n-\tprefix[\"http:\/\/www.w3.org\/2002\/07\/owl#\"]=\"owl\"\n+\t# re-visit whether these exceptions are still necessary often\n+\t# they may have been moved into the curie prefix mapping file\n+    # https:\/\/raw.githubusercontent.com\/monarch-initiative\/dipper\/master\/dipper\/curie_map.yaml\n+\n \t# in mgi\n \tprefix[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n+    \t# in IMPC\n+\tprefix[\"http:\/\/www.mousephenotype.org\"]=\"IMPC\"\n+\n     # http:\/\/www.mousephenotype.org\/data\/genes\n \t# in panther\n-\tprefix[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n-\t# in IMPC\n-\tprefix[\"http:\/\/www.mousephenotype.org\"]=\"IMPC\"\n+\t# prefix[\"http:\/\/identifiers.org\/wormbase\/\"]=\"WormBase\"\n+\n \t# in GWAScatalog\n \tprefix[\"http:\/\/www.ncbi.nlm.nih.gov\/SNP\/\"]=\"dbSNP\"\n-\t# till all non httpS: are purged\n-\tprefix[\"http:\/\/monarchinitiative.org\/\"]=\"BASE\"\n-\tprefix[\"http:\/\/www.monarchinitiative.org\/\"]=\"BASE\"\n-\tprefix[\"http:\/\/monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n-\tprefix[\"http:\/\/www.monarchinitiative.org\/MONARCH\"]=\"\"\n-\tprefix[\"http:\/\/www.monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n-\tprefix[\"http:\/\/data.monarchinitiative.org\/ttl\"]=\"MonarchData\"\n-\tprefix[\"http:\/\/archive.monarchinitiative.org\/ttl\"]=\"MonarchArchive\"\n+\n }\n \n # main loop\n"}
{"commit":"6f77c765cd8791a8daa94b439906c6c1c09ca436","subject":"un optimization","message":"un optimization\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/sameasInNT.awk\n+++ bin\/util\/sameasInNT.awk\n@@ -1,6 +1,9 @@\n # sameasFromNT\n #\n \n-$2 == \"<http:\/\/purl.org\/dc\/terms\/isReferencedBy>\" || $2 == \"<http:\/\/www.w3.org\/2002\/07\/owl#sameAs>\" {\n+$2 == \"<http:\/\/www.w3.org\/2002\/07\/owl#sameAs>\" {\n    print\n }\n+$2 == \"<http:\/\/purl.org\/dc\/terms\/isReferencedBy>\" {\n+   print\n+}\n"}
{"commit":"3c2732297b8bd915594a385e91b735c0091329da","subject":"PLTokenizer: header comment","message":"PLTokenizer: header comment\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/PLTokenizer.awk\n+++ include\/PLTokenizer.awk\n@@ -1,4 +1,6 @@\n-#!\/usr\/bin\/gawk -f\n+####################################################################\n+# PLTokenizer.awk                                                  #\n+####################################################################\n \n # Tokenize a string.\n function plTokenize(returnTokens, string,\n"}
{"commit":"e3be4fe3c6be4dcdffb98f060eaf0422a0775fc2","subject":"Fix an awk script that doesn't seem to be very portable","message":"Fix an awk script that doesn't seem to be very portable\n","repos":"jargv\/dotfiles,jargv\/dotfiles,jargv\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/stats-aggregate.awk\n+++ bin\/stats-aggregate.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n }\n \n-function extension(str){\n+function getExtension(str){\n   n = split(str, parts, \".\")\n   if (n == 1){\n     return \"<NO EXTENSION>\"\n@@ -11,7 +11,7 @@\n }\n \n $2 != \"total\" {\n-  by_type[extension($2)] += $1\n+  by_type[getExtension($2)] += $1\n }\n \n $2 ~ \"CMakeLists.txt\" {\n@@ -21,7 +21,7 @@\n }\n \n $2 ~ \"test\" {\n-  by_type[extension($2)] -= $1\n+  by_type[getExtension($2)] -= $1\n   by_type[\"TEST\"] += $1\n }\n \n@@ -38,7 +38,7 @@\n   delete by_type[\"ttf\"]\n   delete by_type[\"pdf\"]\n \n-  #print each extension, collect the total\n+  #print each getExtension, collect the total\n   total=0\n   for (x in by_type) {\n     if (by_type[x] > 0) {\n"}
{"commit":"c617e10a4bcc30f93fdc3c8077893a5ad706dee1","subject":"Translators\/YandexTranslate: fix #111","message":"Translators\/YandexTranslate: fix #111\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/YandexTranslate.awk\n+++ include\/Translators\/YandexTranslate.awk\n@@ -2,15 +2,16 @@\n # YandexTranslate.awk                                              #\n ####################################################################\n #\n-# Last Updated: 1 Jan 2016\n+# Last Updated: 11 Mar 2016\n BEGIN { provides(\"yandex\") }\n \n-function genSID(    content, group) {\n+function genSID(    content, group, temp) {\n     content = curl(\"http:\/\/translate.yandex.com\")\n \n     match(content, \/SID:[[:space:]]*'([^']+)'\/, group)\n     if (group[1]) {\n-        SID = group[1]\n+        split(group[1], temp, \".\")\n+        SID = reverse(temp[1]) \".\" reverse(temp[2]) \".\" reverse(temp[3])\n     } else {\n         e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n         exit 1\n"}
{"commit":"d309dbfb126a456836840d017cea184198e44132","subject":"added basic filtering by user","message":"added basic filtering by user\n","repos":"camwebb\/treemap","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- lib\/obs.awk\n+++ lib\/obs.awk\n@@ -125,14 +125,10 @@\n   print \"<p>Thanks for your observation on plant <a href=\\\"map?method=info&amp;tag=\" tag \"\\\">\" tag \"<\/a><\/p>\";\n   print \"<p align=\\\"right\\\">[ <a href=\\\"map\\\">home<\/a> ]<\/p>\";\n \n-  # make thumb\n+  # make thumb (of main photo only)\n   if (outfile[\"photo\"] != \"\")\n   {\n       system(\"convert 'obsdata\/\" outfile[\"photo\"] \"' -resize 50x50 'obsdata\/sm_\" outfile[\"photo\"] \"'\");\n-  }\n-  if (outfile[\"tagphoto\"] != \"\")\n-  {\n-      system(\"convert 'obsdata\/\" outfile[\"tagphoto\"] \"' -resize 50x50 'obsdata\/sm_\" outfile[\"tagphoto\"] \"'\");\n   }\n \n }\n@@ -164,6 +160,7 @@\n \t\t}\n \t}\n \n+  # if a tag argument is given\n   if ((f[\"tag\"] != \"\") && (tagDataFound != 1))\n \t{\n \t  print \"<p>Sorry, no citizen science records for this plant.<br\/>  Why not <a href=\\\"map?method=obs&amp;tag=\" f[\"tag\"] \"\\\">make one?<\/a><\/p>\" ;\n@@ -194,26 +191,44 @@\n \t}\n   else\n \t{\n-\t    print \"<h1>Recent observations<\/h1>\" ;\n+\t  if (f[\"email\"] != \"\") \n+\t\t{\n+\t\t  print \"<h1>Your observations<\/h1>\" ;\n+\t\t  print \"<h2>\" f[\"email\"] \"<\/h2>\" ;\n+\t\t  start = 1;\n+\t\t}\n+\t  else \n+\t\t{\n+\t\t  print \"<h1>Recent observations<\/h1>\" ;\n+\t\t  if (n > 10) start = n-10 ;\n+\t\t  else start = 1;\n+\t\t}\n+\t  # print the table header\n \t  print \"<table cellpadding=\\\"5\\\" width=\\\"400\\\">\";\n \t  print \"<tr><td><i>Tag<\/i><\/td><td><i>Taxon<\/i><\/td><td><i>Info<\/i><\/td><td><i>Date<\/i><\/td><td><i>Notes<\/i><\/td><td><i>Photo<\/i><\/td><\/tr>\";\n-\t  if (n > 10) start = n-10 ;\n-\t  else start = 1;\n+\n \t  for (i = start; i <= n ; i++)\n \t\t{\n-\t\t  print \"<tr><td><a href=\\\"map?method=mapLo&amp;tag=\" XML[i,\"tag\"] \"\\\">\" XML[i,\"tag\"] \"<\/td>\" ;\n-\t\t  print \"<td><a href=\\\"map?method=mapLo&amp;sp=\" sp[XML[i,\"tag\"]] \"\\\">\" sp[XML[i,\"tag\"]] \"<\/td>\" ;\n-\n-\t\t  print \"<td>\" stages[XML[i,\"obstype\"]] \"<\/td>\" ;\n-\t\t  print \"<td>\" XML[i,\"date\"] \"<\/td>\" ;\n-\t\t  print \"<td>\" gensub(\/\\\\n\/,\"\\\\&#160;\", \"G\", XML[i,\"notes\"]) \"<\/td>\" ;\n-\t\t  if (XML[i,\"outfile\"] != \"\")\n-\t\t\t{\n-\t\t\t  print \"<td><a href=\\\"obsdata\/\" XML[i,\"outfile\"] \"\\\"><img src=\\\"obsdata\/sm_\" XML[i,\"outfile\"] \"\\\" \/><\/a><\/td><\/tr>\" ;\n-\t\t\t}\n-\t\t  else print \"<td>&#160;<\/td><\/tr>\" ;\n+\t\t  if (((f[\"email\"] != \"\") && (f[\"email\"] == XML[i,\"email\"])) \\\n+\t\t\t  || (f[\"email\"] == \"\"))\n+\t\t\t{\n+\t\t\t  print \"<tr><td><a href=\\\"map?method=mapLo&amp;tag=\" XML[i,\"tag\"] \"\\\">\" XML[i,\"tag\"] \"<\/td>\" ;\n+\t\t\t  print \"<td><a href=\\\"map?method=mapLo&amp;sp=\" sp[XML[i,\"tag\"]] \"\\\">\" sp[XML[i,\"tag\"]] \"<\/td>\" ;\n+\n+\t\t\t  print \"<td>\" stages[XML[i,\"obstype\"]] \"<\/td>\" ;\n+\t\t\t  print \"<td>\" XML[i,\"date\"] \"<\/td>\" ;\n+\t\t\t  print \"<td>\" gensub(\/\\\\n\/,\"\\\\&#160;\", \"G\", XML[i,\"notes\"]) \"<\/td>\" ;\n+\t\t\t  if (XML[i,\"outfile\"] != \"\")\n+\t\t\t\t{\n+\t\t\t\t  print \"<td><a href=\\\"obsdata\/\" XML[i,\"outfile\"] \"\\\"><img src=\\\"obsdata\/sm_\" XML[i,\"outfile\"] \"\\\" \/><\/a><\/td><\/tr>\" ;\n+\t\t\t\t}\n+\t\t\t  else print \"<td>&#160;<\/td><\/tr>\" ;\n+\t\t\t}\n \t\t}\n \t  print \"<\/table>\";\n+\t  \n+\t  # user form\n+\t  print \"<hr\/><p>To see your own images (if tagged with your email address), enter your email address here:<\/p><form method=\\\"get\\\" action=\\\"map\\\"><input name=\\\"method\\\" type=\\\"hidden\\\" value=\\\"obsS\\\" \/><input type=\\\"text\\\" name=\\\"email\\\" length=\\\"20\\\"\/><input type=\\\"submit\\\" value=\\\"Go\\\" \/><\/form>\" ;\n \t}\n \n }\n"}
{"commit":"f929a53d9238aba059f8976c86c30c8eb6181340","subject":"This should have been JAVA_EXTRA_ARGUMENTS.","message":"This should have been JAVA_EXTRA_ARGUMENTS.\n\nThis reverts commit b71ab57ccb7ec5435e4d6ed3cfbe8e5be2bcb673.\n","repos":"zhangzhehust\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -94,12 +94,6 @@\n \tnext\n }\n \n-# Default to -Xmx1024m\n-\/^JAVA_MAXHEAP_ARGUMENT\/ {\n-\tprintf \"%s= -Xmx1024m\\n\", $1\n-\tnext\n-}\n-\n # Win32 has a path separator of ';', while on Unix it is ':'\n \/^JAVA_CLASSPATH_SEPARATOR\/ {\n \tprintf \"%s= ;\\n\", $1\n"}
{"commit":"0e2a8eeb08fc831802fb514f5c2d6dee1505e9c1","subject":"Added more \"Not available in Canada\" strings","message":"Added more \"Not available in Canada\" strings\n\nAcorn found two more ways to screw up my filtering. Fixed both.\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- fetchAcorn-episodes.awk\n+++ fetchAcorn-episodes.awk\n@@ -25,6 +25,7 @@\n     # get rid of unnecessary characters and text\n     gsub (\/\\\\\/,\"\")\n     if (IN_CANADA != \"yes\") {\n+        sub (\/Series 1 not available in Canada\\.\/,\"\")\n         sub (\/Not [Aa]vailable in Canada\\.\/,\"\")\n         sub (\/NOT AVAILABLE IN CANADA\\.\/,\"\")\n     }\n@@ -33,6 +34,7 @@\n     sub (\/\\.CC Available\/,\". CC Available\")\n     gsub (\/ \\.\/,\".\")\n     gsub (\/  *\/,\" \")\n+    sub (\/^ *\/,\"\")\n     sub (\/ *$\/,\"\")\n     # fix funky HTML characters\n     gsub (\/&#39;\/,\"'\")\n"}
{"commit":"c0abd3908cab0265218716e4a69e5b5b49e50695","subject":"Parser script displays number of compiler errors","message":"Parser script displays number of compiler errors\n","repos":"jsconan\/camelSCAD","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/parse-test.awk\n+++ scripts\/parse-test.awk\n@@ -42,6 +42,7 @@\n     successCount = 0\n     failedCount  = 0\n     warningCount = 0\n+    errorCount   = 0\n \n     # define ANSI colors\n     BLACK    = \"\\033[0;30m\"\n@@ -63,6 +64,11 @@\n     RESET    = \"\\033[0m\"\n }\n \n+# detect compiler errors\n+$0~\/^ERROR:\/ {\n+    errorCount = errorCount + 1\n+    printf(\"\\n%s%s\\n\", LRED, $0)\n+}\n # detect compiler warnings\n $0~\/^WARNING:\/ {\n     warningCount = warningCount + 1\n@@ -186,6 +192,9 @@\n     printf(\"%s%d\/%d asserts\\n\", GREEN, successCount, assertCount)\n     printf(separator, GREY)\n \n+    if (errorCount > 0) {\n+        printf(\"%s%d errors!\\n\", RED, errorCount)\n+    }\n     if (warningCount > 0) {\n         printf(\"%s%d warnings!\\n\", RED, warningCount)\n     }\n"}
{"commit":"ddf7675b3169c383f6b69816a1a8febc96242b7f","subject":"Languages: add Quer\u00e9taro Otomi language","message":"Languages: add Quer\u00e9taro Otomi language\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1714,6 +1714,15 @@\n     Locale[\"mww\"][\"iso\"]               = \"mww\"\n     Locale[\"mww\"][\"glotto\"]            = \"hmon1333\"\n     Locale[\"mww\"][\"script\"]            = \"Latn\"\n+\n+    #* Quer\u00e9taro Otomi\n+    Locale[\"otq\"][\"support\"]           = \"bing-only\"\n+    Locale[\"otq\"][\"name\"]              = \"Quer\u00e9taro Otomi\"\n+    Locale[\"otq\"][\"endonym\"]           = \"H\u00f1\u0105\u00f1ho\"\n+    Locale[\"otq\"][\"family\"]            = \"Oto-Manguean\"\n+    Locale[\"otq\"][\"iso\"]               = \"otq\"\n+    Locale[\"otq\"][\"glotto\"]            = \"quer1236\"\n+    Locale[\"otq\"][\"script\"]            = \"Latn\"\n \n     for (i in Locale) {\n         # Initialize strings for displaying endonyms of locales\n"}
{"commit":"654779c14fdfd657be0c44dd05b8b5cb41e8dc67","subject":"Languages: add Bashkir language","message":"Languages: add Bashkir language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -39,6 +39,19 @@\n     Locale[\"as\"][\"iso\"]                = \"asm\"\n     Locale[\"as\"][\"glotto\"]             = \"assa1263\"\n     Locale[\"as\"][\"script\"]             = \"Beng\"\n+\n+    #? Bashkir\n+    Locale[\"ba\"][\"name\"]               = \"Bashkir\"\n+    Locale[\"ba\"][\"endonym\"]            = \"\u0431\u0430\u0448\u04a1\u043e\u0440\u0442 \u0442\u0435\u043b\u0435\"\n+    #Locale[\"ba\"][\"translations-of\"]\n+    #Locale[\"ba\"][\"definitions-of\"]\n+    #Locale[\"ba\"][\"synonyms\"]\n+    #Locale[\"ba\"][\"examples\"]\n+    #Locale[\"ba\"][\"see-also\"]\n+    Locale[\"ba\"][\"family\"]             = \"Turkic\"\n+    Locale[\"ba\"][\"iso\"]                = \"bak\"\n+    Locale[\"ba\"][\"glotto\"]             = \"bash1264\"\n+    Locale[\"ba\"][\"script\"]             = \"Cyrl\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"e9b5c3f9cf4c3df7554a0009bef8dfc4b8722abf","subject":"Languages: add Quechua","message":"Languages: add Quechua\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1253,6 +1253,19 @@\n     Locale[\"pa\"][\"iso\"]                = \"pan\"\n     Locale[\"pa\"][\"glotto\"]             = \"panj1256\"\n     Locale[\"pa\"][\"script\"]             = \"Guru\"\n+\n+    # Quechua\n+    Locale[\"qu\"][\"name\"]               = \"Quechua\"\n+    Locale[\"qu\"][\"endonym\"]            = \"Runasimi\"\n+    #Locale[\"qu\"][\"translations-of\"]\n+    #Locale[\"qu\"][\"definitions-of\"]\n+    #Locale[\"qu\"][\"synonyms\"]\n+    #Locale[\"qu\"][\"examples\"]\n+    #Locale[\"qu\"][\"see-also\"]\n+    Locale[\"qu\"][\"family\"]             = \"Quechuan\"\n+    Locale[\"qu\"][\"iso\"]                = \"que\"\n+    Locale[\"qu\"][\"glotto\"]             = \"quec1387\"\n+    Locale[\"qu\"][\"script\"]             = \"Latn\"\n \n     #75 Romanian\n     Locale[\"ro\"][\"name\"]               = \"Romanian\"\n"}
{"commit":"0b31f620c1c936a19af7e501413994ab5024c7a6","subject":"query_json: clear destination array","message":"query_json: clear destination array\n","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -720,6 +720,7 @@\n     }\n     # split(\"\", B)\n     # split(\"\", C)\n+    split(\"\", X)\n     B[k] = \"\"\n     C[k] = 0\n     C[0] = k\n"}
{"commit":"20d979414fee6c4ffe8cd634db5a602ae8730030","subject":"build.awk: remove findIncludes()","message":"build.awk: remove findIncludes()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -159,19 +159,6 @@\n     return ret\n }\n \n-function findIncludes(fileName,    line) {\n-    if (fileExists(fileName))\n-        while (getline line < fileName) {\n-            match(line, \/^[[:space:]]*@include[[:space:]]*\"(.*)\"$\/, group)\n-            if (RSTART) { # @include\n-                if (group[1] ~ \/\\*$\/)\n-                    findIncludes(group[1] \".awk\")\n-                else\n-                    append(Includes, group[1])\n-            }\n-        }\n-}\n-\n function build(target, type,    i, group, inline, line, temp) {\n     # Default target: bash\n     if (!target) target = \"bash\"\n"}
{"commit":"984c643cbd2ceb764fc280e6ac612666d357f148","subject":"Set missing Christmas Specials episodeType to \"X\"","message":"Set missing Christmas Specials episodeType to \"X\"\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -243,8 +243,8 @@\n         showType = \"S\"\n     # Default episodeType to \"E\"\n     episodeType = \"E\"\n-    # Default bonus, parttwo, and christmasspecials episodeType to \"X\"\n-    if (episodeURL ~ \/bonus\\\/|[0-9]{1,2}parttwo\\\/|christmasspecial\\\/\/)\n+    # Default bonus, parttwo, and christmas specials episodeType to \"X\"\n+    if (episodeURL ~ \/\\\/bonus|[0-9]{1,2}parttwo\\\/|christmas[-]?special\/)\n         episodeType = \"X\"\n     # If episode is a Trailer, set episodeType to \"T\"\n     if (episodeURL ~ \/\\\/trailer\/)\n"}
{"commit":"15ab7689de86da15d4a309e345dd00169f3b500f","subject":"Fix for changes in Acorn page layout","message":"Fix for changes in Acorn page layout\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -70,24 +70,24 @@\n #\n \n # Extract the series title\n-\/<title>\/ {\n-    sub (\/.*<title>\/,\"\")\n-    sub (\/ \\| Acorn TV<.*\/,\"\")\n-    gsub (\/&amp;\/,\"\\\\&\")\n-    gsub (\/&quot;\/,\"\\\"\\\"\")\n-    gsub (\/&#039;\/,\"'\")\n-    gsub (\/&#8217;\/,\"'\")\n-    gsub (\/&#8211;\/,\"-\")\n-    # gsub (\/&#x27;\/,\"'\")\n-    if (match ($0, \/^The \/)) {\n-        $0 = substr($0, 5) \", The\"\n+\/span itemprop=\"name\"\/ {\n+    split ($0,fld,\"[<>]\")\n+    seriesTitle = fld[3]\n+    gsub (\/&amp;\/,\"\\\\&\",seriesTitle)\n+    gsub (\/&quot;\/,\"\\\"\\\"\",seriesTitle)\n+    gsub (\/\"\/,\"\\\"\\\"\",seriesTitle)\n+    gsub (\/&#039;\/,\"'\",seriesTitle)\n+    gsub (\/&#8217;\/,\"'\",seriesTitle)\n+    gsub (\/&#8211;\/,\"-\",seriesTitle)\n+    # gsub (\/&#x27;\/,\"'\",seriesTitle)\n+    if (match (seriesTitle, \/^The \/)) {\n+        seriesTitle = substr(seriesTitle, 5) \", The\"\n     }\n     episodeLinesFound = 0\n     seasonLinesFound = 0\n     descriptionLinesFound = 0\n     durationLinesFound = 0\n     numEpisodesStr = \"\"\n-    seriesTitle = $0\n     print seriesTitle >> TITLE_FILE\n     next\n }\n"}
{"commit":"6cfec3e1612f60d19983a6ab0defbecbfd07a12d","subject":"Remove some unused and broken code that attempted to not invoke locking asserts on NULL vnode pointers.  All the vnode assertion routines already check for NULL vnode pointers.","message":"Remove some unused and broken code that attempted to not invoke locking\nasserts on NULL vnode pointers.  All the vnode assertion routines already\ncheck for NULL vnode pointers.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"419c7daeafa3e11ecf2a0193d8ece17d90d2dad4","subject":"+docs","message":"+docs\n\nFastQ.toFastA.awk has now help message.\n","repos":"lmrodriguezr\/enveomics,lmrodriguezr\/enveomics,lmrodriguezr\/enveomics,lmrodriguezr\/enveomics","returncode":0,"stderr":"","license":"artistic-2.0","lang":"Awk","diff":"--- Scripts\/FastQ.toFastA.awk\n+++ Scripts\/FastQ.toFastA.awk\n@@ -1,9 +1,21 @@\n #!\/usr\/bin\/env awk -f\n #\n-# @author: Luis M. Rodriguez-R\n-# @update: May-10-2015\n-# @license: artistic license 2.0\n+# @author  Luis M. Rodriguez-R\n+# @update  Dec-26-2015\n+# @license artistic license 2.0\n #\n+\n+BEGIN {\n+  for (i = 0; i < ARGC; i++) {\n+     if(ARGV[i] == \"--help\"){\n+       print \"Description:\\n\"\n+       print \"  Translates FastQ files into FastA.\\n\"\n+       print \"Usage:\\n\"\n+       print \"  FastQ.toFastA.awk < in.fq > out.fa\\n\"\n+       exit\n+     }\n+  }\n+}\n \n NR%4 == 1, NR%4 == 2 {\n    if(NR%4 == 1){ gsub(\/^@\/,\">\") }\n"}
{"commit":"a4077d797e04548206f59d28d7ccd3d059bde63f","subject":"Use functions to make the program clearer.","message":"Use functions to make the program clearer.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/usbdevs2h.awk\n+++ sys\/tools\/usbdevs2h.awk\n@@ -30,10 +30,212 @@\n # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n #\n+\n function usage()\n {\n \tprint \"usage: usbdevs2h.awk <srcfile> [-d|-h]\";\n \texit 1;\n+}\n+\n+function dheader(dfile)\n+{\n+\tif (os == \"NetBSD\")\n+\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > dfile\n+\telse if (os == \"FreeBSD\")\n+\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > dfile\n+\telse if (os == \"OpenBSD\")\n+\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > dfile\n+\telse\n+\t\tprintf(\"\/* ??? *\/\\n\\n\") > dfile\n+\tprintf(\"\/*\\n\") > dfile\n+\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n+\t    > dfile\n+\tprintf(\" *\\n\") > dfile\n+\tprintf(\" * generated from:\\n\") > dfile\n+\tprintf(\" *\\t%s\\n\", VERSION) > dfile\n+\tprintf(\" *\/\\n\") > dfile\n+}\n+\n+function hheader(hfile)\n+{\n+\tif (os == \"NetBSD\")\n+\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > hfile\n+\telse if (os == \"FreeBSD\")\n+\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > hfile\n+\telse if (os == \"OpenBSD\")\n+\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > hfile\n+\telse\n+\t\tprintf(\"\/* ??? *\/\\n\\n\") > hfile\n+\tprintf(\"\/*\\n\") > hfile\n+\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n+\t    > hfile\n+\tprintf(\" *\\n\") > hfile\n+\tprintf(\" * generated from:\\n\") > hfile\n+\tprintf(\" *\\t%s\\n\", VERSION) > hfile\n+\tprintf(\" *\/\\n\") > hfile\n+}\n+\n+\n+function vendor(hfile)\n+{\n+\tnvendors++\n+\n+\tvendorindex[$2] = nvendors;\t\t# record index for this name, for later.\n+\tvendors[nvendors, 1] = $2;\t\t# name\n+\tvendors[nvendors, 2] = $3;\t\t# id\n+\tif (hfile)\n+\t\tprintf(\"#define\\tUSB_VENDOR_%s\\t%s\\t\", vendors[nvendors, 1],\n+\t\t    vendors[nvendors, 2]) > hfile\n+\ti = 3; f = 4;\n+\n+\t# comments\n+\tocomment = oparen = 0\n+\tif (f <= NF) {\n+\t\tif (hfile)\n+\t\t\tprintf(\"\\t\/* \") > hfile\n+\t\tocomment = 1;\n+\t}\n+\twhile (f <= NF) {\n+\t\tif ($f == \"#\") {\n+\t\t\tif (hfile)\n+\t\t\t\tprintf(\"(\") > hfile\n+\t\t\toparen = 1\n+\t\t\tf++\n+\t\t\tcontinue\n+\t\t}\n+\t\tif (oparen) {\n+\t\t\tif (hfile)\n+\t\t\t\tprintf(\"%s\", $f) > hfile\n+\t\t\tif (f < NF && hfile)\n+\t\t\t\tprintf(\" \") > hfile\n+\t\t\tf++\n+\t\t\tcontinue\n+\t\t}\n+\t\tvendors[nvendors, i] = $f\n+\t\tif (hfile)\n+\t\t\tprintf(\"%s\", vendors[nvendors, i]) > hfile\n+\t\tif (f < NF && hfile)\n+\t\t\tprintf(\" \") > hfile\n+\t\ti++; f++;\n+\t}\n+\tif (oparen && hfile)\n+\t\tprintf(\")\") > hfile\n+\tif (ocomment && hfile)\n+\t\tprintf(\" *\/\") > hfile\n+\tif (hfile)\n+\t\tprintf(\"\\n\") > hfile\n+}\n+\n+function product(hfile)\n+{\n+\tnproducts++\n+\n+\tproducts[nproducts, 1] = $2;\t\t# vendor name\n+\tproducts[nproducts, 2] = $3;\t\t# product id\n+\tproducts[nproducts, 3] = $4;\t\t# id\n+\tif (hfile)\n+\t\tprintf(\"#define\\tUSB_PRODUCT_%s_%s\\t%s\\t\", \\\n+\t\t  products[nproducts, 1], products[nproducts, 2], \\\n+\t\t  products[nproducts, 3]) > hfile\n+\n+\ti=4; f = 5;\n+\n+\t# comments\n+\tocomment = oparen = 0\n+\tif (f <= NF) {\n+\t\tif (hfile)\n+\t\t\tprintf(\"\\t\/* \") > hfile\n+\t\tocomment = 1;\n+\t}\n+\twhile (f <= NF) {\n+\t\tif ($f == \"#\") {\n+\t\t\tif (hfile)\n+\t\t\t\tprintf(\"(\") > hfile\n+\t\t\toparen = 1\n+\t\t\tf++\n+\t\t\tcontinue\n+\t\t}\n+\t\tif (oparen) {\n+\t\t\tif (hfile)\n+\t\t\t\tprintf(\"%s\", $f) > hfile\n+\t\t\tif (f < NF && hfile)\n+\t\t\t\tprintf(\" \") > hfile\n+\t\t\tf++\n+\t\t\tcontinue\n+\t\t}\n+\t\tproducts[nproducts, i] = $f\n+\t\tif (hfile)\n+\t\t\tprintf(\"%s\", products[nproducts, i]) > hfile\n+\t\tif (f < NF && hfile)\n+\t\t\tprintf(\" \") > hfile\n+\t\ti++; f++;\n+\t}\n+\tif (oparen && hfile)\n+\t\tprintf(\")\") > hfile\n+\tif (ocomment && hfile)\n+\t\tprintf(\" *\/\") > hfile\n+\tif (hfile)\n+\t\tprintf(\"\\n\") > hfile\n+}\n+\n+function dump_dfile(dfile)\n+{\n+\tprintf(\"\\n\") > dfile\n+\tprintf(\"const struct usb_knowndev usb_knowndevs[] = {\\n\") > dfile\n+\tfor (i = 1; i <= nproducts; i++) {\n+\t\tprintf(\"\\t{\\n\") > dfile\n+\t\tprintf(\"\\t    USB_VENDOR_%s, USB_PRODUCT_%s_%s,\\n\",\n+\t\t    products[i, 1], products[i, 1], products[i, 2]) > dfile\n+\t\tprintf(\"\\t    \") > dfile\n+\t\tprintf(\"0\") > dfile\n+\t\tprintf(\",\\n\") > dfile\n+\n+\t\tvendi = vendorindex[products[i, 1]];\n+\t\tprintf(\"\\t    \\\"\") > dfile\n+\t\tj = 3;\n+\t\tneedspace = 0;\n+\t\twhile (vendors[vendi, j] != \"\") {\n+\t\t\tif (needspace)\n+\t\t\t\tprintf(\" \") > dfile\n+\t\t\tprintf(\"%s\", vendors[vendi, j]) > dfile\n+\t\t\tneedspace = 1\n+\t\t\tj++\n+\t\t}\n+\t\tprintf(\"\\\",\\n\") > dfile\n+\n+\t\tprintf(\"\\t    \\\"\") > dfile\n+\t\tj = 4;\n+\t\tneedspace = 0;\n+\t\twhile (products[i, j] != \"\") {\n+\t\t\tif (needspace)\n+\t\t\t\tprintf(\" \") > dfile\n+\t\t\tprintf(\"%s\", products[i, j]) > dfile\n+\t\t\tneedspace = 1\n+\t\t\tj++\n+\t\t}\n+\t\tprintf(\"\\\",\\n\") > dfile\n+\t\tprintf(\"\\t},\\n\") > dfile\n+\t}\n+\tfor (i = 1; i <= nvendors; i++) {\n+\t\tprintf(\"\\t{\\n\") > dfile\n+\t\tprintf(\"\\t    USB_VENDOR_%s, 0,\\n\", vendors[i, 1]) > dfile\n+\t\tprintf(\"\\t    USB_KNOWNDEV_NOPROD,\\n\") > dfile\n+\t\tprintf(\"\\t    \\\"\") > dfile\n+\t\tj = 3;\n+\t\tneedspace = 0;\n+\t\twhile (vendors[i, j] != \"\") {\n+\t\t\tif (needspace)\n+\t\t\t\tprintf(\" \") > dfile\n+\t\t\tprintf(\"%s\", vendors[i, j]) > dfile\n+\t\t\tneedspace = 1\n+\t\t\tj++\n+\t\t}\n+\t\tprintf(\"\\\",\\n\") > dfile\n+\t\tprintf(\"\\t    NULL,\\n\") > dfile\n+\t\tprintf(\"\\t},\\n\") > dfile\n+\t}\n+\tprintf(\"\\t{ 0, 0, 0, NULL, NULL, }\\n\") > dfile\n+\tprintf(\"};\\n\") > dfile\n }\n \n BEGIN {\n@@ -55,150 +257,26 @@\n line=0;\n \n while ((getline < srcfile) > 0) {\n-    line++;\n-    if (line == 1) {\n-\tVERSION = $0\n-\tgsub(\"\\\\$\", \"\", VERSION)\n-\n-\tif (dfile) {\n-\t\tif (os == \"NetBSD\")\n-\t\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > dfile\n-\t\telse if (os == \"FreeBSD\")\n-\t\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > dfile\n-\t\telse if (os == \"OpenBSD\")\n-\t\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > dfile\n-\t\telse\n-\t\t\tprintf(\"\/* ??? *\/\\n\\n\") > dfile\n-\t\tprintf(\"\/*\\n\") > dfile\n-\t\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n-\t\t    > dfile\n-\t\tprintf(\" *\\n\") > dfile\n-\t\tprintf(\" * generated from:\\n\") > dfile\n-\t\tprintf(\" *\\t%s\\n\", VERSION) > dfile\n-\t\tprintf(\" *\/\\n\") > dfile\n-\t}\n-\t\n-\tif (hfile) {\n-\t\tif (os == \"NetBSD\")\n-\t\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > hfile\n-\t\telse if (os == \"FreeBSD\")\n-\t\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > hfile\n-\t\telse if (os == \"OpenBSD\")\n-\t\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > hfile\n-\t\telse\n-\t\t\tprintf(\"\/* ??? *\/\\n\\n\") > hfile\n-\t\tprintf(\"\/*\\n\") > hfile\n-\t\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n-\t\t    > hfile\n-\t\tprintf(\" *\\n\") > hfile\n-\t\tprintf(\" * generated from:\\n\") > hfile\n-\t\tprintf(\" *\\t%s\\n\", VERSION) > hfile\n-\t\tprintf(\" *\/\\n\") > hfile\n-\t}\n-\tcontinue;\n-    }\n-   if ($1 == \"vendor\") {\n-\tnvendors++\n-\n-\tvendorindex[$2] = nvendors;\t\t# record index for this name, for later.\n-\tvendors[nvendors, 1] = $2;\t\t# name\n-\tvendors[nvendors, 2] = $3;\t\t# id\n-\tif (hfile)\n-\t\tprintf(\"#define\\tUSB_VENDOR_%s\\t%s\\t\", vendors[nvendors, 1],\n-\t\t    vendors[nvendors, 2]) > hfile\n-\ti = 3; f = 4;\n-\n-\t# comments\n-\tocomment = oparen = 0\n-\tif (f <= NF) {\n-\t\tif (hfile)\n-\t\t\tprintf(\"\\t\/* \") > hfile\n-\t\tocomment = 1;\n-\t}\n-\twhile (f <= NF) {\n-\t\tif ($f == \"#\") {\n-\t\t\tif (hfile)\n-\t\t\t\tprintf(\"(\") > hfile\n-\t\t\toparen = 1\n-\t\t\tf++\n-\t\t\tcontinue\n-\t\t}\n-\t\tif (oparen) {\n-\t\t\tif (hfile)\n-\t\t\t\tprintf(\"%s\", $f) > hfile\n-\t\t\tif (f < NF && hfile)\n-\t\t\t\tprintf(\" \") > hfile\n-\t\t\tf++\n-\t\t\tcontinue\n-\t\t}\n-\t\tvendors[nvendors, i] = $f\n-\t\tif (hfile)\n-\t\t\tprintf(\"%s\", vendors[nvendors, i]) > hfile\n-\t\tif (f < NF && hfile)\n-\t\t\tprintf(\" \") > hfile\n-\t\ti++; f++;\n-\t}\n-\tif (oparen && hfile)\n-\t\tprintf(\")\") > hfile\n-\tif (ocomment && hfile)\n-\t\tprintf(\" *\/\") > hfile\n-\tif (hfile)\n-\t\tprintf(\"\\n\") > hfile\n-\n-\tcontinue;\n-    }\n-    if ($1 == \"product\") {\n-\tnproducts++\n-\n-\tproducts[nproducts, 1] = $2;\t\t# vendor name\n-\tproducts[nproducts, 2] = $3;\t\t# product id\n-\tproducts[nproducts, 3] = $4;\t\t# id\n-\tif (hfile)\n-\t\tprintf(\"#define\\tUSB_PRODUCT_%s_%s\\t%s\\t\", \\\n-\t\t  products[nproducts, 1], products[nproducts, 2], \\\n-\t\t  products[nproducts, 3]) > hfile\n-\n-\ti=4; f = 5;\n-\n-\t# comments\n-\tocomment = oparen = 0\n-\tif (f <= NF) {\n-\t\tif (hfile)\n-\t\t\tprintf(\"\\t\/* \") > hfile\n-\t\tocomment = 1;\n-\t}\n-\twhile (f <= NF) {\n-\t\tif ($f == \"#\") {\n-\t\t\tif (hfile)\n-\t\t\t\tprintf(\"(\") > hfile\n-\t\t\toparen = 1\n-\t\t\tf++\n-\t\t\tcontinue\n-\t\t}\n-\t\tif (oparen) {\n-\t\t\tif (hfile)\n-\t\t\t\tprintf(\"%s\", $f) > hfile\n-\t\t\tif (f < NF && hfile)\n-\t\t\t\tprintf(\" \") > hfile\n-\t\t\tf++\n-\t\t\tcontinue\n-\t\t}\n-\t\tproducts[nproducts, i] = $f\n-\t\tif (hfile)\n-\t\t\tprintf(\"%s\", products[nproducts, i]) > hfile\n-\t\tif (f < NF && hfile)\n-\t\t\tprintf(\" \") > hfile\n-\t\ti++; f++;\n-\t}\n-\tif (oparen && hfile)\n-\t\tprintf(\")\") > hfile\n-\tif (ocomment && hfile)\n-\t\tprintf(\" *\/\") > hfile\n-\tif (hfile)\n-\t\tprintf(\"\\n\") > hfile\n-\n-\tcontinue;\n-    }\n+\tline++;\n+\tif (line == 1) {\n+\t\tVERSION = $0\n+\t\tgsub(\"\\\\$\", \"\", VERSION)\n+\n+\t\tif (dfile)\n+\t\t\tdheader(dfile)\n+\n+\t\tif (hfile)\n+\t\t\thheader(hfile)\n+\t\tcontinue;\n+\t}\n+\tif ($1 == \"vendor\") {\n+\t\tvendor(hfile)\n+\t\tcontinue\n+\t}\n+\tif ($1 == \"product\") {\n+\t\tproduct(hfile)\n+\t\tcontinue\n+\t}\n \tif ($0 == \"\")\n \t\tblanklines++\n \tif (hfile)\n@@ -206,68 +284,9 @@\n \tif (blanklines < 2 && dfile)\n \t    print $0 > dfile\n }\n-\t# print out the match tables\n-\n-\tif (dfile) {\n-\t\tprintf(\"\\n\") > dfile\n-\n-\t\tprintf(\"const struct usb_knowndev usb_knowndevs[] = {\\n\") > dfile\n-\t\tfor (i = 1; i <= nproducts; i++) {\n-\t\t\tprintf(\"\\t{\\n\") > dfile\n-\t\t\tprintf(\"\\t    USB_VENDOR_%s, USB_PRODUCT_%s_%s,\\n\",\n-\t\t\t    products[i, 1], products[i, 1], products[i, 2]) \\\n-\t\t\t    > dfile\n-\t\t\tprintf(\"\\t    \") > dfile\n-\t\t\tprintf(\"0\") > dfile\n-\t\t\tprintf(\",\\n\") > dfile\n-\n-\t\t\tvendi = vendorindex[products[i, 1]];\n-\t\t\tprintf(\"\\t    \\\"\") > dfile\n-\t\t\tj = 3;\n-\t\t\tneedspace = 0;\n-\t\t\twhile (vendors[vendi, j] != \"\") {\n-\t\t\t\tif (needspace)\n-\t\t\t\t\tprintf(\" \") > dfile\n-\t\t\t\tprintf(\"%s\", vendors[vendi, j]) > dfile\n-\t\t\t\tneedspace = 1\n-\t\t\t\tj++\n-\t\t\t}\n-\t\t\tprintf(\"\\\",\\n\") > dfile\n-\n-\t\t\tprintf(\"\\t    \\\"\") > dfile\n-\t\t\tj = 4;\n-\t\t\tneedspace = 0;\n-\t\t\twhile (products[i, j] != \"\") {\n-\t\t\t\tif (needspace)\n-\t\t\t\t\tprintf(\" \") > dfile\n-\t\t\t\tprintf(\"%s\", products[i, j]) > dfile\n-\t\t\t\tneedspace = 1\n-\t\t\t\tj++\n-\t\t\t}\n-\t\t\tprintf(\"\\\",\\n\") > dfile\n-\t\t\tprintf(\"\\t},\\n\") > dfile\n-\t\t}\n-\t\tfor (i = 1; i <= nvendors; i++) {\n-\t\t\tprintf(\"\\t{\\n\") > dfile\n-\t\t\tprintf(\"\\t    USB_VENDOR_%s, 0,\\n\", vendors[i, 1]) \\\n-\t\t\t    > dfile\n-\t\t\tprintf(\"\\t    USB_KNOWNDEV_NOPROD,\\n\") \\\n-\t\t\t    > dfile\n-\t\t\tprintf(\"\\t    \\\"\") > dfile\n-\t\t\tj = 3;\n-\t\t\tneedspace = 0;\n-\t\t\twhile (vendors[i, j] != \"\") {\n-\t\t\t\tif (needspace)\n-\t\t\t\t\tprintf(\" \") > dfile\n-\t\t\t\tprintf(\"%s\", vendors[i, j]) > dfile\n-\t\t\t\tneedspace = 1\n-\t\t\t\tj++\n-\t\t\t}\n-\t\t\tprintf(\"\\\",\\n\") > dfile\n-\t\t\tprintf(\"\\t    NULL,\\n\") > dfile\n-\t\t\tprintf(\"\\t},\\n\") > dfile\n-\t\t}\n-\t\tprintf(\"\\t{ 0, 0, 0, NULL, NULL, }\\n\") > dfile\n-\t\tprintf(\"};\\n\") > dfile\n-\t}\n-}\n+\n+# print out the match tables\n+\n+if (dfile)\n+\tdump_dfile(dfile)\n+}\n"}
{"commit":"63a1f76823be670080d4c8c292d740123899bd3b","subject":"close verbatim blocks more faithfully","message":"close verbatim blocks more faithfully","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -22,6 +22,8 @@\n   print \"%\";\n }\n \n+{ origLine = $0; }\n+\n ## HANDLE CODING\n ## make sure that control sequences are always at the front\n \/ *{{{\/ { sub(\/ *\/, \"\") }\n@@ -41,7 +43,13 @@\n }\n \n coding && \/^}}}\/ {\n+  sub(\/}}}.*$\/, \"\", origLine);\n+  if (origLine) {\n+    print \"{\\\\small \" origLine\n+    print \"}\"\n+  }\n   print \"\\\\end{verbatim}\";\n+  print \"\"\n   coding = 0;\n   next;\n }\n@@ -75,6 +83,7 @@\n \n itemizing && !inItem {\n   print \"\\\\end{itemize}\";\n+  print \"\";\n   itemizing = 0;\n }\n \n"}
{"commit":"7a09e3dfee10ee24a14cb89cd31b67829bdc583a","subject":"Friendly hint in sanitycheck\/filter as for why a core file may be missing","message":"Friendly hint in sanitycheck\/filter as for why a core file may be missing\n","repos":"mattiash\/crpcut,mattiash\/crpcut,mattiash\/crpcut,mattiash\/crpcut","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- filter.awk\n+++ filter.awk\n@@ -30,6 +30,9 @@\n             if (testname ~ \/left_behind\/)\n             {\n                 unexpected_clean[unexpected_clean_count++]=testname;\n+                if (testname ~ \/core\/) {\n+                    core_msg=\"Is your ulimit setting preventing core dumps?\";\n+                }\n             }\n         }\n         files_left=0;\n@@ -61,15 +64,14 @@\n }\n \/<test name=.*succ.*OK\\\">\/,\/<\\\/test>\/ {\n     if ($0 ~ \/<\\\/test>\/) {\n-        if (files_left)\n-        {\n+        if (files_left) {\n             unexpected_files_behind[unexpected_files_behind_count++]=testname;\n-        }\n-        else\n-        {\n-            if (testname ~ \/left_behind\/)\n-            {\n+        } else  {\n+            if (testname ~ \/left_behind\/) {\n                 unexpected_clean[unexpected_clean_count++]=testname;\n+                if (testname ~ \/core\/) {\n+                    core_msg=\"Is your ulimit setting preventing core dumps?\";\n+                }\n             }\n         }\n         files_left=0;\n@@ -152,9 +154,6 @@\n         {\n             reason=\"\"\n             line=unexpected_success[a]\n-            if (line ~ \/core\/) {\n-                reason=\"\\n     (is your ulimit setting preventing core dumps?)\"\n-            }\n             print line reason\n         }\n     }\n@@ -197,6 +196,7 @@\n         {\n             print unexpected_clean[a];\n         }\n+        print \"    \" core_msg\n     }\n     if (report)\n     {\n"}
{"commit":"134b552b4a33a0fd1bc69a67fd2b9d6f40a13ee7","subject":"Cleanup.","message":"Cleanup.\n","repos":"eggrobin\/Principia,mockingbirdnest\/Principia,mockingbirdnest\/Principia,mockingbirdnest\/Principia,mockingbirdnest\/Principia,Norgg\/Principia,Norgg\/Principia,pleroy\/Principia,pleroy\/Principia,Norgg\/Principia,eggrobin\/Principia,pleroy\/Principia,eggrobin\/Principia,Norgg\/Principia,pleroy\/Principia","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- astronomy\/generate_initial_state.awk\n+++ astronomy\/generate_initial_state.awk\n@@ -2,49 +2,49 @@\n # in query.f, and produces a protocol buffer text format file for a\n # |principia.serialization.SolarSystemFile| containing an |initial_state| field.\n BEGIN {\n-  print \"initial_state {\";\n-  print \"  needs : \\\"RealSolarSystem\\\"\";\n-  print \"  frame : ICRF_J2000_EQUATOR\";\n-  n = 0;\n+  print \"initial_state {\"\n+  print \"  needs : \\\"RealSolarSystem\\\"\"\n+  print \"  frame : ICRF_J2000_EQUATOR\"\n+  n = 0\n }\n \/^Target body name:\/ {\n-  body = $0;\n-  sub(\/ +\\{.*\/, \"\", body);\n-  sub(\/ \\(.*\/, \"\", body);\n+  body = $0\n+  sub(\/ +\\{.*\/, \"\", body)\n+  sub(\/ \\(.*\/, \"\", body)\n   sub(\/.*: ([0-9]+ )?\/, \"\", body)\n-  bodies[n++] = body;\n+  bodies[n++] = body\n }\n \/^[0-9]+\\.[0-9]+ = .* \\(CT\\)\/ {\n   if (jd == \"\") {\n-    jd = $1;\n+    jd = $1\n   } else if (jd != $1) {\n-    print \"ERROR: inconsistent dates\";\n-    exit 1;\n+    print \"ERROR: inconsistent dates\"\n+    exit 1\n   }\n }\n \/^ *X = \/ {\n-  x[body] = $3;\n-  y[body] = $6;\n+  x[body] = $3\n+  y[body] = $6\n   z[body] = $9\n }\n \/^ *VX=\/ {\n-  vx[body] = $2;\n-  vy[body] = $4;\n-  vz[body] = $6;\n+  vx[body] = $2\n+  vy[body] = $4\n+  vz[body] = $6\n }\n END {\n-  print \"  # The time of the initial state, as a TDB Julian date.\";\n+  print \"  # The time of the initial state, as a TDB Julian date.\"\n   if (jd == \"2433282.500000000\") {\n-    print \"  # This is 1950-01-01T00:00:00 TDB.\";\n+    print \"  # This is 1950-01-01T00:00:00 TDB.\"\n     print \"  epoch : \" jd\n   } else {\n-    print \"ERROR: unexpected epoch\";\n+    print \"ERROR: unexpected epoch\"\n     exit 1\n   }\n \n   # The year is 2015 and I am writing a Bubble Sort.  I kid you not.\n   do {\n-    swapped = 0;\n+    swapped = 0\n     for (i = 0; i < n; ++i) {\n       if (bodies[i - 1] > bodies[i]) {\n         t = bodies[i]\n@@ -53,18 +53,18 @@\n         swapped = 1\n       }\n     }\n-  } while (swapped);\n+  } while (swapped)\n \n   for (i = 0; i < n; ++i) {\n-    b = bodies[i];\n-    print \"  body {\";\n-    print \"    name : \\\"\" b \"\\\"\";\n-    print \"    x    : \\\"\" x[b] \" km\\\"\";\n-    print \"    y    : \\\"\" y[b] \" km\\\"\";\n-    print \"    z    : \\\"\" z[b] \" km\\\"\";\n-    print \"    vx   : \\\"\" vx[b] \" km\/s\\\"\";\n-    print \"    vy   : \\\"\" vy[b] \" km\/s\\\"\";\n-    print \"    vz   : \\\"\" vz[b] \" km\/s\\\"\";\n+    b = bodies[i]\n+    print \"  body {\"\n+    print \"    name : \\\"\" b \"\\\"\"\n+    print \"    x    : \\\"\" x[b] \" km\\\"\"\n+    print \"    y    : \\\"\" y[b] \" km\\\"\"\n+    print \"    z    : \\\"\" z[b] \" km\\\"\"\n+    print \"    vx   : \\\"\" vx[b] \" km\/s\\\"\"\n+    print \"    vy   : \\\"\" vy[b] \" km\/s\\\"\"\n+    print \"    vz   : \\\"\" vz[b] \" km\/s\\\"\"\n     print \"  }\"\n   }\n \n"}
{"commit":"64dfa57093b39126647175847d091c99a28595e5","subject":"Do not remove underscores","message":"Do not remove underscores\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- data\/en\/wiktionary-edges.awk\n+++ data\/en\/wiktionary-edges.awk\n@@ -8,7 +8,7 @@\n     for (i = 1; i <= 3; i += 2) {\n         gsub(\/([A-Z][a-z]+):\/, \"\", $i);\n         gsub(\/ \/, \"_\", $i);\n-        gsub(\/[^[:alnum:]]\/, \"\", $i);\n+        gsub(\/[^[:alnum:]_]\/, \"\", $i);\n     }\n \n     if ($1 && $3 && $1 != $3) print $1, $3 ORS $3, $1;\n"}
{"commit":"1c472690b3a4a4428d15ec816c30a22f7eb94540","subject":"LanguageData: update section S","message":"LanguageData: update section S\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1968,9 +1968,7 @@\n     Locale[\"ru\"][\"spoken-in\"]          = \"the Russian-speaking world\"\n     Locale[\"ru\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #77 Samoan\n+    # Samoan\n     Locale[\"sm\"][\"name\"]               = \"Samoan\"\n     Locale[\"sm\"][\"endonym\"]            = \"Gagana S\u0101moa\"\n     #Locale[\"sm\"][\"translations-of\"]\n@@ -1979,9 +1977,12 @@\n     #Locale[\"sm\"][\"examples\"]\n     #Locale[\"sm\"][\"see-also\"]\n     Locale[\"sm\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"sm\"][\"branch\"]             = \"Malayo-Polynesian\"\n     Locale[\"sm\"][\"iso\"]                = \"smo\"\n     Locale[\"sm\"][\"glotto\"]             = \"samo1305\"\n     Locale[\"sm\"][\"script\"]             = \"Latn\"\n+    Locale[\"sm\"][\"spoken-in\"]          = \"the Samoan Islands\"\n+    Locale[\"sm\"][\"supported-by\"]       = \"google; bing\"\n \n     # Sanskrit\n     Locale[\"sa\"][\"name\"]               = \"Sanskrit\"\n@@ -1992,11 +1993,14 @@\n     #Locale[\"sa\"][\"examples\"]\n     #Locale[\"sa\"][\"see-also\"]\n     Locale[\"sa\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sa\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"sa\"][\"iso\"]                = \"san\"\n     Locale[\"sa\"][\"glotto\"]             = \"sans1269\"\n     Locale[\"sa\"][\"script\"]             = \"Deva\"\n-\n-    #78 Scots Gaelic\n+    Locale[\"sa\"][\"spoken-in\"]          = \"ancient India\"\n+    Locale[\"sa\"][\"supported-by\"]       = \"google\"\n+\n+    # Scots Gaelic \/ Scottish Gaelic\n     Locale[\"gd\"][\"name\"]               = \"Scots Gaelic\"\n     Locale[\"gd\"][\"endonym\"]            = \"G\u00e0idhlig\"\n     Locale[\"gd\"][\"translations-of\"]    = \"Eadar-theangachadh airson %s\"\n@@ -2005,11 +2009,14 @@\n     Locale[\"gd\"][\"examples\"]           = \"Buill-eisimpleir\"\n     Locale[\"gd\"][\"see-also\"]           = \"Faic na leanas cuideachd\"\n     Locale[\"gd\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"gd\"][\"branch\"]             = \"Celtic\"\n     Locale[\"gd\"][\"iso\"]                = \"gla\"\n     Locale[\"gd\"][\"glotto\"]             = \"scot1245\"\n     Locale[\"gd\"][\"script\"]             = \"Latn\"\n-\n-    #80 Sepedi (Northern Sotho)\n+    Locale[\"gd\"][\"spoken-in\"]          = \"Scotland\"\n+    Locale[\"gd\"][\"supported-by\"]       = \"google; yandex\"\n+\n+    # Sepedi (Northern Sotho)\n     Locale[\"nso\"][\"name\"]              = \"Sepedi\"\n     Locale[\"nso\"][\"name2\"]             = \"Pedi\"\n     Locale[\"nso\"][\"name3\"]             = \"Northern Sotho\"\n@@ -2020,38 +2027,46 @@\n     #Locale[\"nso\"][\"examples\"]\n     #Locale[\"nso\"][\"see-also\"]\n     Locale[\"nso\"][\"family\"]            = \"Atlantic-Congo\"\n+    Locale[\"nso\"][\"branch\"]            = \"Bantu\"\n     Locale[\"nso\"][\"iso\"]               = \"nso\"\n     Locale[\"nso\"][\"glotto\"]            = \"nort3233\"\n     Locale[\"nso\"][\"script\"]            = \"Latn\"\n-\n-    #79a Serbian, Cyrillic alphabet\n+    Locale[\"nso\"][\"spoken-in\"]         = \"the northeastern provinces of South Africa\"\n+    Locale[\"nso\"][\"supported-by\"]      = \"google\"\n+\n+    # Serbian, Cyrillic alphabet\n     Locale[\"sr-Cyrl\"][\"name\"]          = \"Serbian (Cyrillic)\"\n-    Locale[\"sr-Cyrl\"][\"endonym\"]       = \"\u0441\u0440\u043f\u0441\u043a\u0438\"\n+    Locale[\"sr-Cyrl\"][\"endonym\"]       = \"\u0421\u0440\u043f\u0441\u043a\u0438\"\n     Locale[\"sr-Cyrl\"][\"translations-of\"] = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u0437\u0430 \u201e%s\u201c\"\n     Locale[\"sr-Cyrl\"][\"definitions-of\"]  = \"\u0414\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0458\u0435 \u0437\u0430 %s\"\n     Locale[\"sr-Cyrl\"][\"synonyms\"]      = \"\u0421\u0438\u043d\u043e\u043d\u0438\u043c\u0438\"\n     Locale[\"sr-Cyrl\"][\"examples\"]      = \"\u041f\u0440\u0438\u043c\u0435\u0440\u0438\"\n     Locale[\"sr-Cyrl\"][\"see-also\"]      = \"\u041f\u043e\u0433\u043b\u0435\u0434\u0430\u0458\u0442\u0435 \u0442\u0430\u043a\u043e\u0452\u0435\"\n     Locale[\"sr-Cyrl\"][\"family\"]        = \"Indo-European\"\n+    Locale[\"sr-Cyrl\"][\"branch\"]        = \"South Slavic\"\n     Locale[\"sr-Cyrl\"][\"iso\"]           = \"srp-Cyrl\"\n     Locale[\"sr-Cyrl\"][\"glotto\"]        = \"serb1264\"\n     Locale[\"sr-Cyrl\"][\"script\"]        = \"Cyrl\"\n-\n-    #79b Serbian, Latin alphabet\n-    Locale[\"sr-Latn\"][\"support\"]       = \"bing-only\"\n+    Locale[\"sr-Cyrl\"][\"spoken-in\"]     = \"Serbia; Bosnia and Herzegovina; Montenegro; Kosovo\"\n+    Locale[\"sr-Cyrl\"][\"supported-by\"]  = \"google; bing; yandex\"\n+\n+    # Serbian, Latin alphabet\n     Locale[\"sr-Latn\"][\"name\"]          = \"Serbian (Latin)\"\n-    Locale[\"sr-Latn\"][\"endonym\"]       = \"srpski\"\n+    Locale[\"sr-Latn\"][\"endonym\"]       = \"Srpski\"\n     Locale[\"sr-Latn\"][\"translations-of\"] = \"Prevodi za \u201e%s\u201c\"\n     Locale[\"sr-Latn\"][\"definitions-of\"]  = \"Definicije za %s\"\n     Locale[\"sr-Latn\"][\"synonyms\"]      = \"Sinonimi\"\n     Locale[\"sr-Latn\"][\"examples\"]      = \"Primeri\"\n     Locale[\"sr-Latn\"][\"see-also\"]      = \"Pogledajte tako\u0111e\"\n     Locale[\"sr-Latn\"][\"family\"]        = \"Indo-European\"\n+    Locale[\"sr-Latn\"][\"branch\"]        = \"South Slavic\"\n     Locale[\"sr-Latn\"][\"iso\"]           = \"srp-Latn\"\n     Locale[\"sr-Latn\"][\"glotto\"]        = \"serb1264\"\n     Locale[\"sr-Latn\"][\"script\"]        = \"Latn\"\n-\n-    #80 Sesotho (Southern Sotho)\n+    Locale[\"sr-Latn\"][\"spoken-in\"]     = \"Serbia; Bosnia and Herzegovina; Montenegro; Kosovo\"\n+    Locale[\"sr-Latn\"][\"supported-by\"]  = \"bing\"\n+\n+    # Sesotho (Southern Sotho)\n     Locale[\"st\"][\"name\"]               = \"Sesotho\"\n     Locale[\"st\"][\"name2\"]              = \"Sotho\"\n     Locale[\"st\"][\"name3\"]              = \"Southern Sotho\"\n@@ -2062,11 +2077,26 @@\n     Locale[\"st\"][\"examples\"]           = \"Mehlala\"\n     Locale[\"st\"][\"see-also\"]           = \"Bona hape\"\n     Locale[\"st\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"st\"][\"branch\"]             = \"Bantu\"\n     Locale[\"st\"][\"iso\"]                = \"sot\"\n     Locale[\"st\"][\"glotto\"]             = \"sout2807\"\n     Locale[\"st\"][\"script\"]             = \"Latn\"\n-\n-    #81 Shona\n+    Locale[\"st\"][\"spoken-in\"]          = \"Lesotho; South Africa; Zimbabwe\"\n+    Locale[\"st\"][\"supported-by\"]       = \"google\"\n+\n+    # Setswana\n+    Locale[\"tn\"][\"name\"]               = \"Setswana\"\n+    Locale[\"tn\"][\"name2\"]              = \"Tswana\"\n+    Locale[\"tn\"][\"endonym\"]            = \"Setswana\"\n+    Locale[\"tn\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"tn\"][\"branch\"]             = \"Bantu\"\n+    Locale[\"tn\"][\"iso\"]                = \"tsn\"\n+    Locale[\"tn\"][\"glotto\"]             = \"tswa1253\"\n+    Locale[\"tn\"][\"script\"]             = \"Latn\"\n+    Locale[\"tn\"][\"spoken-in\"]          = \"Botswana; South Africa\"\n+    Locale[\"tn\"][\"supported-by\"]       = \"\"\n+\n+    # Shona\n     Locale[\"sn\"][\"name\"]               = \"Shona\"\n     Locale[\"sn\"][\"endonym\"]            = \"chiShona\"\n     Locale[\"sn\"][\"translations-of\"]    = \"Shanduro dze %s\"\n@@ -2075,11 +2105,14 @@\n     Locale[\"sn\"][\"examples\"]           = \"Mienzaniso\"\n     Locale[\"sn\"][\"see-also\"]           = \"Onawo\"\n     Locale[\"sn\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"sn\"][\"branch\"]             = \"Bantu\"\n     Locale[\"sn\"][\"iso\"]                = \"sna\"\n     Locale[\"sn\"][\"glotto\"]             = \"core1255\"\n     Locale[\"sn\"][\"script\"]             = \"Latn\"\n-\n-    #82 Sindhi\n+    Locale[\"sn\"][\"spoken-in\"]          = \"Zimbabwe\"\n+    Locale[\"sn\"][\"supported-by\"]       = \"google\"\n+\n+    # Sindhi\n     Locale[\"sd\"][\"name\"]               = \"Sindhi\"\n     Locale[\"sd\"][\"endonym\"]            = \"\u0633\u0646\u068c\u064a\"\n     Locale[\"sd\"][\"translations-of\"]    = \"%s \u062c\u0648 \u062a\u0631\u062c\u0645\u0648\"\n@@ -2088,13 +2121,17 @@\n     Locale[\"sd\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u0648\u0646\"\n     Locale[\"sd\"][\"see-also\"]           = \"\u0628\u0647 \u068f\u0633\u0648\"\n     Locale[\"sd\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sd\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"sd\"][\"iso\"]                = \"snd\"\n     Locale[\"sd\"][\"glotto\"]             = \"sind1272\"\n     Locale[\"sd\"][\"script\"]             = \"Arab\"\n     Locale[\"sd\"][\"rtl\"]                = \"true\" # RTL language\n-\n-    #83 Sinhala\n+    Locale[\"sd\"][\"spoken-in\"]          = \"the region of Sindh in Pakistan; India\"\n+    Locale[\"sd\"][\"supported-by\"]       = \"google\"\n+\n+    # Sinhala \/ Sinhalese\n     Locale[\"si\"][\"name\"]               = \"Sinhala\"\n+    Locale[\"si\"][\"name2\"]              = \"Sinhalese\"\n     Locale[\"si\"][\"endonym\"]            = \"\u0dc3\u0dd2\u0d82\u0dc4\u0dbd\"\n     Locale[\"si\"][\"translations-of\"]    = \"%s \u0dc4\u0dd2 \u0db4\u0dbb\u0dd2\u0dc0\u0dbb\u0dca\u0dad\u0db1\"\n     Locale[\"si\"][\"definitions-of\"]     = \"%s \u0dc4\u0dd2 \u0db1\u0dd2\u0dbb\u0dca\u0dc0\u0da0\u0db1\"\n@@ -2102,11 +2139,14 @@\n     Locale[\"si\"][\"examples\"]           = \"\u0d8b\u0daf\u0dcf\u0dc4\u0dbb\u0dab\"\n     Locale[\"si\"][\"see-also\"]           = \"\u0db8\u0dd9\u0dba\u0dad\u0dca \u0db6\u0dbd\u0db1\u0dca\u0db1\"\n     Locale[\"si\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"si\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"si\"][\"iso\"]                = \"sin\"\n     Locale[\"si\"][\"glotto\"]             = \"sinh1246\"\n     Locale[\"si\"][\"script\"]             = \"Sinh\"\n-\n-    #84 Slovak\n+    Locale[\"si\"][\"spoken-in\"]          = \"Sri Lanka\"\n+    Locale[\"si\"][\"supported-by\"]       = \"google; yandex\"\n+\n+    # Slovak\n     Locale[\"sk\"][\"name\"]               = \"Slovak\"\n     Locale[\"sk\"][\"endonym\"]            = \"Sloven\u010dina\"\n     Locale[\"sk\"][\"translations-of\"]    = \"Preklady v\u00fdrazu: %s\"\n@@ -2115,11 +2155,14 @@\n     Locale[\"sk\"][\"examples\"]           = \"Pr\u00edklady\"\n     Locale[\"sk\"][\"see-also\"]           = \"Pozrite tie\u017e\"\n     Locale[\"sk\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sk\"][\"branch\"]             = \"West Slavic\"\n     Locale[\"sk\"][\"iso\"]                = \"slk\"\n     Locale[\"sk\"][\"glotto\"]             = \"slov1269\"\n     Locale[\"sk\"][\"script\"]             = \"Latn\"\n-\n-    #85 Slovenian \/ Slovene\n+    Locale[\"sk\"][\"spoken-in\"]          = \"Slovakia\"\n+    Locale[\"sk\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Slovenian \/ Slovene\n     Locale[\"sl\"][\"name\"]               = \"Slovenian\"\n     Locale[\"sl\"][\"name2\"]              = \"Slovene\"\n     Locale[\"sl\"][\"endonym\"]            = \"Sloven\u0161\u010dina\"\n@@ -2129,11 +2172,14 @@\n     Locale[\"sl\"][\"examples\"]           = \"Primeri\"\n     Locale[\"sl\"][\"see-also\"]           = \"Glejte tudi\"\n     Locale[\"sl\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sl\"][\"branch\"]             = \"South Slavic\"\n     Locale[\"sl\"][\"iso\"]                = \"slv\"\n     Locale[\"sl\"][\"glotto\"]             = \"slov1268\"\n     Locale[\"sl\"][\"script\"]             = \"Latn\"\n-\n-    #86 Somali\n+    Locale[\"sl\"][\"spoken-in\"]          = \"Slovenia\"\n+    Locale[\"sl\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Somali\n     Locale[\"so\"][\"name\"]               = \"Somali\"\n     Locale[\"so\"][\"endonym\"]            = \"Soomaali\"\n     Locale[\"so\"][\"translations-of\"]    = \"Turjumaada %s\"\n@@ -2142,11 +2188,14 @@\n     Locale[\"so\"][\"examples\"]           = \"Tusaalooyin\"\n     Locale[\"so\"][\"see-also\"]           = \"Sidoo kale eeg\"\n     Locale[\"so\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"so\"][\"branch\"]             = \"Cushitic\"\n     Locale[\"so\"][\"iso\"]                = \"som\"\n     Locale[\"so\"][\"glotto\"]             = \"soma1255\"\n     Locale[\"so\"][\"script\"]             = \"Latn\"\n-\n-    #87 Spanish\n+    Locale[\"so\"][\"spoken-in\"]          = \"Somalia; Somaliland; Ethiopia; Djibouti\"\n+    Locale[\"so\"][\"supported-by\"]       = \"google; bing\"\n+\n+    # Spanish\n     Locale[\"es\"][\"name\"]               = \"Spanish\"\n     Locale[\"es\"][\"endonym\"]            = \"Espa\u00f1ol\"\n     Locale[\"es\"][\"translations-of\"]    = \"Traducciones de %s\"\n@@ -2155,12 +2204,15 @@\n     Locale[\"es\"][\"examples\"]           = \"Ejemplos\"\n     Locale[\"es\"][\"see-also\"]           = \"Ver tambi\u00e9n\"\n     Locale[\"es\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"es\"][\"branch\"]             = \"Western Romance\"\n     Locale[\"es\"][\"iso\"]                = \"spa\"\n     Locale[\"es\"][\"glotto\"]             = \"stan1288\"\n     Locale[\"es\"][\"script\"]             = \"Latn\"\n     Locale[\"es\"][\"dictionary\"]         = \"true\" # has dictionary\n-\n-    #88 Sundanese, Latin alphabet\n+    Locale[\"es\"][\"spoken-in\"]          = \"Spain; the Americas\"\n+    Locale[\"es\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Sundanese, Latin alphabet\n     Locale[\"su\"][\"name\"]               = \"Sundanese\"\n     Locale[\"su\"][\"endonym\"]            = \"Basa Sunda\"\n     Locale[\"su\"][\"translations-of\"]    = \"Tarjamahan tina %s\"\n@@ -2169,11 +2221,14 @@\n     Locale[\"su\"][\"examples\"]           = \"Conto\"\n     Locale[\"su\"][\"see-also\"]           = \"Tingali og\u00e9\"\n     Locale[\"su\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"su\"][\"branch\"]             = \"Malayo-Polynesian\"\n     Locale[\"su\"][\"iso\"]                = \"sun\"\n     Locale[\"su\"][\"glotto\"]             = \"sund1252\"\n     Locale[\"su\"][\"script\"]             = \"Latn\"\n-\n-    #89 Swahili \/ Kiswahili\n+    Locale[\"su\"][\"spoken-in\"]          = \"Java, Indonesia\"\n+    Locale[\"su\"][\"supported-by\"]       = \"google; yandex\"\n+\n+    # Swahili \/ Kiswahili\n     Locale[\"sw\"][\"name\"]               = \"Swahili\"\n     Locale[\"sw\"][\"name2\"]              = \"Kiswahili\"\n     Locale[\"sw\"][\"endonym\"]            = \"Kiswahili\"\n@@ -2183,11 +2238,14 @@\n     Locale[\"sw\"][\"examples\"]           = \"Mifano\"\n     Locale[\"sw\"][\"see-also\"]           = \"Angalia pia\"\n     Locale[\"sw\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"sw\"][\"branch\"]             = \"Bantu\"\n     Locale[\"sw\"][\"iso\"]                = \"swa\"\n     Locale[\"sw\"][\"glotto\"]             = \"swah1253\"\n     Locale[\"sw\"][\"script\"]             = \"Latn\"\n-\n-    #90 Swedish\n+    Locale[\"sw\"][\"spoken-in\"]          = \"the East African coast and litoral islands\"\n+    Locale[\"sw\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Swedish\n     Locale[\"sv\"][\"name\"]               = \"Swedish\"\n     Locale[\"sv\"][\"endonym\"]            = \"Svenska\"\n     Locale[\"sv\"][\"translations-of\"]    = \"\u00d6vers\u00e4ttningar av %s\"\n@@ -2196,9 +2254,14 @@\n     Locale[\"sv\"][\"examples\"]           = \"Exempel\"\n     Locale[\"sv\"][\"see-also\"]           = \"Se \u00e4ven\"\n     Locale[\"sv\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"sv\"][\"branch\"]             = \"North Germanic\"\n     Locale[\"sv\"][\"iso\"]                = \"swe\"\n     Locale[\"sv\"][\"glotto\"]             = \"swed1254\"\n     Locale[\"sv\"][\"script\"]             = \"Latn\"\n+    Locale[\"sv\"][\"spoken-in\"]          = \"Sweden; Finland; Estonia\"\n+    Locale[\"sv\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #91 Tajik \/ Tajiki (Tajiki Persian), Cyrillic alphabet\n     Locale[\"tg\"][\"name\"]               = \"Tajik\"\n"}
{"commit":"67ae898581e25464a2ec321ab39a4e124223743f","subject":"Enhanced to be usable for python objects in addition to C++ objects.","message":"Enhanced to be usable for python objects in addition to C++ objects.\n","repos":"TheHubbit\/PyInventor,TheHubbit\/PyInventor","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/pydoc2html.awk\n+++ utils\/pydoc2html.awk\n@@ -36,7 +36,7 @@\n           print \"<\/body><\/html>\";\n         }\n \n-        { sub(\/^[ \\t]\\|  \/, \"\"); }\n+        { sub(\/^[ \\t]\\|  \/, \"\"); gsub(\/[\\<\\>]\/, \"\"); }\n \/^Help on\/ { getline; next; }\n \/ = class \/ { print \"<h1>\" $1 \"<\/h1><p><em>\" $3 \" \" $4 \"<\/em><\/p>\"; module = substr($1, 0, index($1, \".\") - 1); next; }\n \/^[ ]*FILE$\/ { getline; next; }\n@@ -49,16 +49,18 @@\n             while (!match($0, \/^[ \\|\\t]*$\/)) \n             { \n               getline;\n-              #if (match($2, \/^object\/)) print \"<li>\" $2; else if (length($2) > 0) print \"<li><a href='\" module \".\" $2 \".html'>\" $2 \"<\/a>\";\n+              if (match($2, \/PySide\\.\/)) { link = $2; gsub(\/\\.\/, \"\/\", link); print \"<li><a href='http:\/\/srinikom.github.io\/pyside-docs\/\" link \"'>\" $2 \"<\/a>\"; } else\n+              if (match($2, \/FieldContainer\/)) print \"<li><a href='\" module \".\" $2 \".html'>\" $2 \"<\/a>\"; else\n               if (length($2) > 0) print \"<li>\" $2;\n             } \n             print \"<\/ul>\"; \n             isBullet = 0; next; \n           }\n-\/Data descriptors defined here:$\/ { header = \"<h2> \" $0 \"<\/h2>\"; eatEmptyLines = 1; dataDesc = 1; next; }\n-\/^[ ]*[A-Z][a-z]+ [A-Za-z ]+:$\/ { header = \"<h2> \" $0 \"<\/h2>\"; eatEmptyLines = 1; next; }\n+\/Methods inherited from PySide\/ { exit; }\n+\/^[ ]*[A-Z][a-z]+ [A-Za-z \\.]+:$\/ { header = \"<h2> \" $0 \"<\/h2>\"; eatEmptyLines = 1; if (match($0, \/[ ]*Data \/)) dataDesc = 1; next; }\n \/__\/    { getline; next; }\n-\/\\(\\.\\.\\.\\)\/ {\n+\/^[ \\t]*[a-zA-Z0-9_]+\\([A-Za-z0-9_\\., ]+\\)$\/ {\n+          sub(\/^[ \\t]*\/, \"\");\n           if (indendet)\n           {\n             indendet = 0;\n@@ -69,7 +71,7 @@\n             print header;\n             header = \"\";\n           }\n-          print \"<h3>\" $1 \"<\/h3>\"; next;\n+          print \"<h3>\" $0 \"<\/h3>\"; next;\n         }\n \/Args:|Returns:|Note:\/ {\n           if (indendet)\n@@ -97,7 +99,7 @@\n               indendet = 0;\n               print \"<\/ul>\";\n             }\n-            if (length(header) > 0)\n+            if ((length(header) > 0) && (length($0) > 0))\n             {\n               print header;\n               header = \"\";\n@@ -108,7 +110,11 @@\n             }\n             else if (length($0) > 0)\n             {\n-              print $0;\n+              if (index($0, \" = \") > 0)\n+              {\n+                print $0 \"<br \/>\";\n+              }\n+              else print $0;\n             }\n           }\n           else if (!eatEmptyLines || length($0) > 0)\n@@ -119,7 +125,6 @@\n           {\n             print \"<\/ul>\";\n             isBullet = 0;\n-            #print \"<br \/><br \/>\";\n           }\n         }\n \n"}
{"commit":"f596cb5f3f45922815aacf1bdbe07ad0dbfe08f1","subject":"addr_utils.awk\t-- oops used = instead of ==","message":"addr_utils.awk\t-- oops used = instead of ==\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -221,7 +221,7 @@\n \tif(!AU_rtabs_intersect(n_cand_rtab, cand_rtab, n_ref_rtab, ref_rtab))\n \t\treturn 0\n \n-\treturn cand[\"town\"] = ref[\"town\"]\n+\treturn cand[\"town\"] == ref[\"town\"]\n }\n function AU_get_rtab(street, rtab,   n_rtab, i, nw, work) {\n \n"}
{"commit":"9be7e41b6a34f707ef31960d296922fa6e7fecaa","subject":"Default missing 'PR |' episode descriptions to Title","message":"Default missing 'PR |' episode descriptions to Title\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -163,8 +163,13 @@\n         episodeDescription = episodeDescription (descriptionLinesFound == 1 ? \"\" : \" \") paragraph\n     }\n     if ($0 ~ \/<\\\/div>\/) {\n-        if (episodeDescription == \"\")\n+        if (episodeDescription == \"\") {\n+            if (episodeType == \"T\") {\n+                episodeDescription = episodeTitle\n+            } else {\n             print \"==> No description: \" shortURL >> ERROR_FILE\n+            }\n+        }\n         sub (\/^PR \\| \/,\"\",episodeDescription)\n         print episodeDescription >> EPISODE_INFO_FILE\n     }\n"}
{"commit":"33a9cb488019002f381acf1f7b3b2c99d8e8278d","subject":"pass on less that three, order by howmany","message":"pass on less that three, order by howmany\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -272,11 +272,11 @@\n     # FNR gives at least half the number ot URI attempted to resolve for %s\n     # FILENAME gives filename we know where they were generated\n     # have warn[uri] = count\n-    toofew = 10\n-\n-    n = asorti(warn, wsort, \"@ind_str_desc\")\n+    toofew = 3\n+\n+    n = asorti(warn, wsort, \"@val_num_desc\")\n     for(i=1;i<=n;i++){\n-        if(warn[wsort[i]] > toofew)\n+        if(warn[wsort[i]] >= toofew)\n             printf(\"%s\\t%s\\t%i\\n\", FILENAME, wsort[i], warn[wsort[i]]) > \"\/dev\/stderr\"\n         else\n             i = n + 1\n"}
{"commit":"a5826724a2dd06c2d8701221d8f89ea79f1d749b","subject":"Make sure to not add empty strings into file list.","message":"Make sure to not add empty strings into file list.\n\n\tmodified:   code\/awk\/generate_source_list_from_make_output.awk\n","repos":"nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- code\/awk\/generate_source_list_from_make_output.awk\n+++ code\/awk\/generate_source_list_from_make_output.awk\n@@ -19,7 +19,7 @@\n     cpp_filename = substr($0, RSTART, RLENGTH);\n     new_filename = current_dir \"\/\" cpp_filename;\n \n-    if (new_filename != current_filename)\n+    if (new_filename != current_filename && new_filename != \"\")\n     {\n         current_filename = new_filename;\n \n"}
{"commit":"534a37e45a6ce188496209e4352d4c72da750c53","subject":"Languages: add Xhosa language","message":"Languages: add Xhosa language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -419,6 +419,19 @@\n     Locale[\"fy\"][\"iso\"]                = \"fry\"\n     Locale[\"fy\"][\"glotto\"]             = \"west2354\"\n     Locale[\"fy\"][\"script\"]             = \"Latn\"\n+\n+    #? Xhosa\n+    Locale[\"xh\"][\"name\"]               = \"Xhosa\"\n+    Locale[\"xh\"][\"endonym\"]            = \"isiXhosa\"\n+    #Locale[\"xh\"][\"translations-of\"]\n+    #Locale[\"xh\"][\"definitions-of\"]\n+    #Locale[\"xh\"][\"synonyms\"]\n+    #Locale[\"xh\"][\"examples\"]\n+    #Locale[\"xh\"][\"see-also\"]\n+    Locale[\"xh\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"xh\"][\"iso\"]                = \"xho\"\n+    Locale[\"xh\"][\"glotto\"]             = \"xhos1239\"\n+    Locale[\"xh\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"10b9059377cd577a4d77b0cef0cfeffc311d9ff4","subject":"Handle \": \" and \" - \" as redundancy separators","message":"Handle \": \" and \" - \" as redundancy separators\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -202,8 +202,9 @@\n     gsub (\/&quot;\/,\"\\\"\\\"\",episodeTitle)\n     gsub (\/&amp;\/,\"\\\\&\",episodeTitle)\n     sub (\/[[:space:]]+$\/,\"\",episodeTitle)\n-    # If start of episodeTitle == showTitle \": \", remove the redundant part.\n-    if ((match (episodeTitle, showTitle \": \")) == 1) {\n+    # If start of episodeTitle == showTitle followed by \": \" or \" - \", remove the redundant part.\n+    if ((match (episodeTitle, showTitle \": \")) == 1 || \\\n+         ((match (episodeTitle, showTitle \" - \")) == 1)) {\n         episodeTitle = substr(episodeTitle, RLENGTH + 1)\n     }\n     # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n"}
{"commit":"e6a8f019a8785c1c33b91c1a92ccc56e57decbeb","subject":"library.awk: fix issue #3","message":"library.awk: fix issue #3","repos":"dubiousjim\/awkenough","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -501,7 +501,7 @@\n \n function has_value(A, value,   k) {\n     for (k in A)\n-        if (k[A] == value)\n+        if (A[k] == value)\n             return true\n     return false\n }\n@@ -1279,7 +1279,7 @@\n #         gsub(\/\\a\/, \"\\\\a\", j)\n #         gsub(\/\\v\/, \"\\\\v\", j)\n         gsub(SUBSEP, \",\", j)\n-        gsub(\/[\\001-\\037]\/, \"\", j) # TODO: convert to octal?\n+        gsub(\/[\\001-\\037]\/, \"\u00bf\", j) # TODO: convert to octal?\n         printf \"%s[%s]=<%s>\\n\", prefix, j, array[i]\n     }\n }\n"}
{"commit":"1cbc993bf253e04d88dd7e92fba7dcbb19a01b3e","subject":"Languages: update Oromo (Google support)","message":"Languages: update Oromo (Google support)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1170,6 +1170,19 @@\n     Locale[\"or\"][\"glotto\"]             = \"macr1269\"\n     Locale[\"or\"][\"script\"]             = \"Orya\"\n \n+    # Oromo\n+    Locale[\"om\"][\"name\"]               = \"Oromo\"\n+    Locale[\"om\"][\"endonym\"]            = \"Afaan Oromoo\"\n+    #Locale[\"om\"][\"translations-of\"]\n+    #Locale[\"om\"][\"definitions-of\"]\n+    #Locale[\"om\"][\"synonyms\"]\n+    #Locale[\"om\"][\"examples\"]\n+    #Locale[\"om\"][\"see-also\"]\n+    Locale[\"om\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"om\"][\"iso\"]                = \"orm\"\n+    Locale[\"om\"][\"glotto\"]             = \"nucl1736\"\n+    Locale[\"om\"][\"script\"]             = \"Latn\"\n+\n     #70 Pashto \/ Pushto\n     Locale[\"ps\"][\"name\"]               = \"Pashto\"\n     Locale[\"ps\"][\"name2\"]              = \"Pushto\"\n@@ -1921,20 +1934,6 @@\n     Locale[\"oc\"][\"iso\"]                = \"oci\"\n     Locale[\"oc\"][\"glotto\"]             = \"occi1239\"\n     Locale[\"oc\"][\"script\"]             = \"Latn\"\n-\n-    #? Oromo\n-    Locale[\"om\"][\"support\"]            = \"unstable\"\n-    Locale[\"om\"][\"name\"]               = \"Oromo\"\n-    Locale[\"om\"][\"endonym\"]            = \"Afaan Oromoo\"\n-    #Locale[\"om\"][\"translations-of\"]\n-    #Locale[\"om\"][\"definitions-of\"]\n-    #Locale[\"om\"][\"synonyms\"]\n-    #Locale[\"om\"][\"examples\"]\n-    #Locale[\"om\"][\"see-also\"]\n-    Locale[\"om\"][\"family\"]             = \"Afro-Asiatic\"\n-    Locale[\"om\"][\"iso\"]                = \"orm\"\n-    Locale[\"om\"][\"glotto\"]             = \"nucl1736\"\n-    Locale[\"om\"][\"script\"]             = \"Latn\"\n \n     #? Papiamento\n     Locale[\"pap\"][\"support\"]           = \"yandex-only\"\n"}
{"commit":"138e57e9c80a5d12db7a34b9e920b9b2e8570c92","subject":"add_utils.awk\t-- allow street num w\/trailing letter","message":"add_utils.awk\t-- allow street num w\/trailing letter\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -102,15 +102,15 @@\n \n \ttown = ary[nf-1]\n \n-\tf_st = 0\n-\n \t# find the street:\n-\t# street is the last element in ary[1:nf-1] that begins with an integer and has more\n+\t# street is the LAST element in ary[1:nf-1] that begins with an integer and has more\n \t# than one word so, 200 by itself is not a street, but 200 Broadway is\n \tf_st = 0\n \tfor(i = 1; i < nf - 1; i++){\n \t\tnf2 = split(ary[i], ary2, \/  *\/)\n \t\tif(ary2[1] ~ \/^[1-9][0-9]*$\/ && nf2 > 1){\n+\t\t\tf_st = i\n+\t\t}else if(ary2[1] ~ \/^[1-9][0-9]*[A-Z]$\/ && nf2 > 1){\n \t\t\tf_st = i\n \t\t}\n \t}\n"}
{"commit":"c312924f2d9921133f9fcf4bcc365f997b1f75ac","subject":"Add VOP_FOO_APV() which takes a pointer to the vop_vector.","message":"Add VOP_FOO_APV() which takes a pointer to the vop_vector.\n\nThis allows stacked or partitioned filesystems to say \"Continue\nthe normal resolution from here\", for instace from FFS to UFS.\n\nUse VNASSERT() instead of KASSERT().\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"unknown","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"581dc01845e8f2d29d4017d2acac5f7defe289e5","subject":"Help: enable 4-column reference tables","message":"Help: enable 4-column reference tables\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -237,22 +237,30 @@\n #     displayName = \"endonym\" or \"name\"\n function getReference(displayName,\n                       ####\n-                      code, col, cols, i, j, name, num, r, rows, saveSortedIn,\n+                      code, col, cols, colNum, i, j, name, num, offset, r, rows, saveSortedIn,\n                       t1, t2) {\n     # number of language codes with stable support\n     num = 0\n-    for (code in Locale)\n-        if (Locale[code][\"support\"] != \"unstable\")\n-            num++\n-    rows = int(num \/ 3) + (num % 3 ? 1 : 0)\n-    cols[0][0] = cols[1][0] = cols[2][0] = NULLSTR\n+    for (code in Locale) {\n+        # only show languages that are supported\n+        if (Locale[code][\"supported-by\"])\n+           num++\n+    }\n+    colNum = (Option[\"width\"] >= 104) ? 4 : 3\n+    if (colNum == 4) {\n+        rows = int(num \/ 4) + (num % 4 ? 1 : 0)\n+        cols[0][0] = cols[1][0] = cols[2][0] = cols[3][0] = NULLSTR\n+    } else {\n+        rows = int(num \/ 3) + (num % 3 ? 1 : 0)\n+        cols[0][0] = cols[1][0] = cols[2][0] = NULLSTR\n+    }\n     i = 0\n     saveSortedIn = PROCINFO[\"sorted_in\"]\n     PROCINFO[\"sorted_in\"] = displayName == \"endonym\" ? \"@ind_num_asc\" :\n         \"compName\"\n     for (code in Locale) {\n-        # show languages only with stable support\n-        if (Locale[code][\"support\"] != \"unstable\") {\n+        # only show languages that are supported\n+        if (Locale[code][\"supported-by\"]) {\n             col = int(i \/ rows)\n             append(cols[col], code)\n             i++\n@@ -261,99 +269,205 @@\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n \n     if (displayName == \"endonym\") {\n-        r = \"\u250c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u2510\" RS\n-        for (i = 0; i < rows; i++) {\n-            r = r \"\u2502\"\n-            for (j = 0; j < 3; j++) {\n-                if (cols[j][i]) {\n-                    t1 = getDisplay(cols[j][i])\n-                    if (length(t1) > 17)\n-                        t1 = substr(t1, 1, 14) \"...\"\n-                    switch (cols[j][i]) { # fix rendered text width\n-                    case \"sa\":\n-                        t1 = sprintf(\" %-21s\", t1)\n-                        break\n-                    case \"he\": case \"dv\":\n-                        t1 = sprintf(\" %-20s\", t1)\n-                        break\n-                    case \"or\": case \"ur\":\n-                        t1 = sprintf(\" %-19s\", t1)\n-                        break\n-                    case \"hi\": case \"gu\": case \"km\": case \"kn\":\n-                    case \"my\": case \"ne\": case \"pa\": case \"si\":\n-                    case \"ta\": case \"te\": case \"yi\": case \"as\":\n-                    case \"bho\": case \"mai\": case \"gom\":\n-                        t1 = sprintf(\" %-18s\", t1)\n-                        break\n-                    case \"yue\":\n-                        t1 = sprintf(\" %-15s\", t1)\n-                        break\n-                    case \"ja\": case \"ko\":\n-                        t1 = sprintf(\" %-14s\", t1)\n-                        break\n-                    case \"zh-CN\": case \"zh-TW\":\n-                        t1 = sprintf(\" %-13s\", t1)\n-                        break\n-                    default:\n-                        if (length(t1) <= 17)\n-                            t1 = sprintf(\" %-17s\", t1)\n-                    }\n-                    switch (length(cols[j][i])) {\n-                    case 1: case 2: case 3: case 4:\n-                        t2 = sprintf(\"- %s \u2502\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n-                        break\n-                    case 5:\n-                        t2 = sprintf(\"- %s\u2502\", ansi(\"bold\", cols[j][i]))\n-                        break\n-                    case 6:\n-                        t2 = sprintf(\"-%s\u2502\", ansi(\"bold\", cols[j][i]))\n-                        break\n-                    case 7:\n-                        t2 = sprintf(\"-%s\", ansi(\"bold\", cols[j][i]))\n-                        break\n-                    default:\n-                        t2 = ansi(\"bold\", cols[j][i])\n-                    }\n-                    r = r t1 t2\n-                } else\n-                    r = r sprintf(\"%25s\u2502\", NULLSTR)\n+        if (colNum == 4) {  # 4-column\n+            offset = int((Option[\"width\"] - 104) \/ 4)\n+            r = \"\u250c\" replicate(\"\u2500\", 25 + offset) \"\u252c\" replicate(\"\u2500\", 25 + offset) \\\n+                \"\u252c\" replicate(\"\u2500\", 25 + offset) \"\u252c\" replicate(\"\u2500\", 25 + offset) \"\u2510\" RS\n+            for (i = 0; i < rows; i++) {\n+                r = r \"\u2502\"\n+                for (j = 0; j < 4; j++) {\n+                    if (cols[j][i]) {\n+                        t1 = getDisplay(cols[j][i])\n+                        if (length(t1) > 17 + offset)\n+                            t1 = substr(t1, 1, 14 + offset) \"...\"\n+                        switch (cols[j][i]) { # fix rendered text width\n+                            case \"sa\":\n+                                t1 = sprintf(\" %-\"21+offset\"s\", t1)\n+                                break\n+                            case \"he\": case \"dv\":\n+                                t1 = sprintf(\" %-\"20+offset\"s\", t1)\n+                                break\n+                            case \"bo\": case \"or\": case \"ur\":\n+                                t1 = sprintf(\" %-\"19+offset\"s\", t1)\n+                                break\n+                            case \"as\": case \"gom\": case \"mai\":\n+                            case \"gu\": case \"hi\": case \"bho\":\n+                            case \"ta\": case \"te\": case \"my\":\n+                            case \"ne\": case \"pa\": case \"km\":\n+                            case \"kn\": case \"yi\": case \"si\":\n+                                t1 = sprintf(\" %-\"18+offset\"s\", t1)\n+                                break\n+                            case \"lzh\": case \"yue\":\n+                                t1 = sprintf(\" %-\"15+offset\"s\", t1)\n+                                break\n+                            case \"ja\": case \"ko\":\n+                                t1 = sprintf(\" %-\"14+offset\"s\", t1)\n+                                break\n+                            case \"zh-CN\": case \"zh-TW\":\n+                                t1 = sprintf(\" %-\"13+offset\"s\", t1)\n+                                break\n+                            default:\n+                                if (length(t1) <= 17+offset)\n+                                    t1 = sprintf(\" %-\"17+offset\"s\", t1)\n+                        }\n+                        switch (length(cols[j][i])) {\n+                            case 1: case 2: case 3: case 4:\n+                                t2 = sprintf(\"- %s \u2502\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n+                                break\n+                            case 5:\n+                                t2 = sprintf(\"- %s\u2502\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            case 6:\n+                                t2 = sprintf(\"-%s\u2502\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            case 7:\n+                                t2 = sprintf(\"-%s\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            default:\n+                                t2 = ansi(\"bold\", cols[j][i])\n+                        }\n+                        r = r t1 t2\n+                    } else\n+                        r = r sprintf(\"%\"25+offset\"s\u2502\", NULLSTR)\n+                }\n+                r = r RS\n             }\n-            r = r RS\n+            r = r \"\u2514\" replicate(\"\u2500\", 25 + offset) \"\u2534\" replicate(\"\u2500\", 25 + offset) \\\n+                \"\u2534\" replicate(\"\u2500\", 25 + offset) \"\u2534\" replicate(\"\u2500\", 25 + offset) \"\u2518\"\n+        } else {  # fixed-width 3-column\n+            r = \"\u250c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u2510\" RS\n+            for (i = 0; i < rows; i++) {\n+                r = r \"\u2502\"\n+                for (j = 0; j < 3; j++) {\n+                    if (cols[j][i]) {\n+                        t1 = getDisplay(cols[j][i])\n+                        if (length(t1) > 17)\n+                            t1 = substr(t1, 1, 14) \"...\"\n+                        switch (cols[j][i]) { # fix rendered text width\n+                            case \"sa\":\n+                                t1 = sprintf(\" %-21s\", t1)\n+                                break\n+                            case \"he\": case \"dv\":\n+                                t1 = sprintf(\" %-20s\", t1)\n+                                break\n+                            case \"bo\": case \"or\": case \"ur\":\n+                                t1 = sprintf(\" %-19s\", t1)\n+                                break\n+                            case \"as\": case \"gom\": case \"mai\":\n+                            case \"gu\": case \"hi\": case \"bho\":\n+                            case \"ta\": case \"te\": case \"my\":\n+                            case \"ne\": case \"pa\": case \"km\":\n+                            case \"kn\": case \"yi\": case \"si\":\n+                                t1 = sprintf(\" %-18s\", t1)\n+                                break\n+                            case \"lzh\": case \"yue\":\n+                                t1 = sprintf(\" %-15s\", t1)\n+                                break\n+                            case \"ja\": case \"ko\":\n+                                t1 = sprintf(\" %-14s\", t1)\n+                                break\n+                            case \"zh-CN\": case \"zh-TW\":\n+                                t1 = sprintf(\" %-13s\", t1)\n+                                break\n+                            default:\n+                                if (length(t1) <= 17)\n+                                    t1 = sprintf(\" %-17s\", t1)\n+                        }\n+                        switch (length(cols[j][i])) {\n+                            case 1: case 2: case 3: case 4:\n+                                t2 = sprintf(\"- %s \u2502\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n+                                break\n+                            case 5:\n+                                t2 = sprintf(\"- %s\u2502\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            case 6:\n+                                t2 = sprintf(\"-%s\u2502\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            case 7:\n+                                t2 = sprintf(\"-%s\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            default:\n+                                t2 = ansi(\"bold\", cols[j][i])\n+                        }\n+                        r = r t1 t2\n+                    } else\n+                        r = r sprintf(\"%25s\u2502\", NULLSTR)\n+                }\n+                r = r RS\n+            }\n+            r = r \"\u2514\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2518\"\n         }\n-        r = r \"\u2514\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2518\"\n     } else {\n-        r = \"\u250c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u2510\" RS\n-        for (i = 0; i < rows; i++) {\n-            r = r \"\u2502\"\n-            for (j = 0; j < 3; j++) {\n-                if (cols[j][i]) {\n-                    t1 = getName(cols[j][i])\n-                    if (length(t1) > 17)\n-                        t1 = substr(t1, 1, 14) \"...\"\n-                    t1 = sprintf(\" %-17s\", t1)\n-                    switch (length(cols[j][i])) {\n-                    case 1: case 2: case 3: case 4:\n-                        t2 = sprintf(\"- %s \u2502\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n-                        break\n-                    case 5:\n-                        t2 = sprintf(\"- %s\u2502\", ansi(\"bold\", cols[j][i]))\n-                        break\n-                    case 6:\n-                        t2 = sprintf(\"-%s\u2502\", ansi(\"bold\", cols[j][i]))\n-                        break\n-                    case 7:\n-                        t2 = sprintf(\"-%s\", ansi(\"bold\", cols[j][i]))\n-                        break\n-                    default:\n-                        t2 = ansi(\"bold\", cols[j][i])\n-                    }\n-                    r = r t1 t2\n-                } else\n-                    r = r sprintf(\"%25s\u2502\", NULLSTR)\n+        if (colNum == 4) {  # 4-column\n+            offset = int((Option[\"width\"] - 104) \/ 4)\n+            r = \"\u250c\" replicate(\"\u2500\", 25 + offset) \"\u252c\" replicate(\"\u2500\", 25 + offset) \\\n+                \"\u252c\" replicate(\"\u2500\", 25 + offset) \"\u252c\" replicate(\"\u2500\", 25 + offset) \"\u2510\" RS\n+            for (i = 0; i < rows; i++) {\n+                r = r \"\u2502\"\n+                for (j = 0; j < 4; j++) {\n+                    if (cols[j][i]) {\n+                        t1 = getName(cols[j][i])\n+                        if (length(t1) > 17 + offset)\n+                            t1 = substr(t1, 1, 14 + offset) \"...\"\n+                        t1 = sprintf(\" %-\"17+offset\"s\", t1)\n+                        switch (length(cols[j][i])) {\n+                            case 1: case 2: case 3: case 4:\n+                                t2 = sprintf(\"- %s \u2502\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n+                                break\n+                            case 5:\n+                                t2 = sprintf(\"- %s\u2502\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            case 6:\n+                                t2 = sprintf(\"-%s\u2502\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            case 7:\n+                                t2 = sprintf(\"-%s\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            default:\n+                                t2 = ansi(\"bold\", cols[j][i])\n+                        }\n+                        r = r t1 t2\n+                    } else\n+                        r = r sprintf(\"%\"25+offset\"s\u2502\", NULLSTR)\n+                }\n+                r = r RS\n             }\n-            r = r RS\n+            r = r \"\u2514\" replicate(\"\u2500\", 25 + offset) \"\u2534\" replicate(\"\u2500\", 25 + offset) \\\n+                \"\u2534\" replicate(\"\u2500\", 25 + offset) \"\u2534\" replicate(\"\u2500\", 25 + offset) \"\u2518\"\n+        } else {  # fixed-width 3-column\n+            r = \"\u250c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u252c\" replicate(\"\u2500\", 25) \"\u2510\" RS\n+            for (i = 0; i < rows; i++) {\n+                r = r \"\u2502\"\n+                for (j = 0; j < 3; j++) {\n+                    if (cols[j][i]) {\n+                        t1 = getName(cols[j][i])\n+                        if (length(t1) > 17)\n+                            t1 = substr(t1, 1, 14) \"...\"\n+                        t1 = sprintf(\" %-17s\", t1)\n+                        switch (length(cols[j][i])) {\n+                            case 1: case 2: case 3: case 4:\n+                                t2 = sprintf(\"- %s \u2502\", ansi(\"bold\", sprintf(\"%4s\", cols[j][i])))\n+                                break\n+                            case 5:\n+                                t2 = sprintf(\"- %s\u2502\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            case 6:\n+                                t2 = sprintf(\"-%s\u2502\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            case 7:\n+                                t2 = sprintf(\"-%s\", ansi(\"bold\", cols[j][i]))\n+                                break\n+                            default:\n+                                t2 = ansi(\"bold\", cols[j][i])\n+                        }\n+                        r = r t1 t2\n+                    } else\n+                        r = r sprintf(\"%25s\u2502\", NULLSTR)\n+                }\n+                r = r RS\n+            }\n+            r = r \"\u2514\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2518\"\n         }\n-        r = r \"\u2514\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2534\" replicate(\"\u2500\", 25) \"\u2518\"\n     }\n     return r\n }\n"}
{"commit":"feabcdc885718f766dde9e48950b4e74d8da5c2a","subject":"Whitespace","message":"Whitespace\n","repos":"stephenchu\/awsm-cli","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- files\/awsm-cli\/resources_by_region.awk\n+++ files\/awsm-cli\/resources_by_region.awk\n@@ -9,7 +9,7 @@\n     for (i = 2; i <= NF; i++) {\n       if ($i ~ \/^arn:\/) {\n         split($i, arn_parts, \/:\/)\n-        aws_service = arn_parts[3]\n+        aws_service             = arn_parts[3]\n         aws_resource_identifier = arn_parts[6]\n \n         switch(aws_service) {\n"}
{"commit":"47e63c9131117e209f98dd749e49b2cfcaae98bf","subject":"TestCommons: add toString()","message":"TestCommons: add toString()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestCommons.awk\n+++ test\/TestCommons.awk\n@@ -125,6 +125,13 @@\n         assertEqual(parameterize(\"foo 'bar\", \"\\\"\"), \"\\\"foo 'bar\\\"\")\n         assertEqual(parameterize(\"foo \\\"bar\\\"\", \"\\\"\"), \"\\\"foo \\\\\\\\\\\"bar\\\\\\\\\\\"\\\"\")\n     }\n+    T(\"toString()\", 4)\n+    {\n+        assertEqual(toString(\"\"), \"\")\n+        assertEqual(toString(42), \"42\")\n+        assertEqual(toString(\"foo\"), \"foo\")\n+        assertEqual(toString(\"\\\"foo bar\\\"\"), \"\\\"foo bar\\\"\")\n+    }\n     T(\"squeeze()\", 4)\n     {\n         assertEqual(squeeze(\"\"), \"\")\n"}
{"commit":"ad8a8aff125cd9bf7c6cf77903e2d7ffeec2bb47","subject":"TestParser: remove invalid JSON (hopefully get things right this time)","message":"TestParser: remove invalid JSON (hopefully get things right this time)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestParser.awk\n+++ test\/TestParser.awk\n@@ -107,17 +107,15 @@\n         assertEqual(ast, expected)\n \n         delete tokens; delete ast; delete expected\n-        tokenize(tokens, \"{\\\"answer\\\": {42}, \\\"Answer\\\": null}\")\n+        tokenize(tokens, \"{\\\"answer\\\": {\\\"everything\\\": 42}}\")\n         parseJson(ast, tokens)\n-        expected[0 SUBSEP \"answer\" SUBSEP] = 42\n-        expected[0 SUBSEP \"Answer\"] = \"null\"\n+        expected[0 SUBSEP \"answer\" SUBSEP \"everything\"] = \"42\"\n         assertEqual(ast, expected)\n \n         delete tokens; delete ast; delete expected\n-        tokenize(tokens, \"{\\\"answer\\\": {[42]}, \\\"Answer\\\": null}\")\n+        tokenize(tokens, \"{\\\"answer\\\": {\\\"everything\\\": [42]}}\")\n         parseJson(ast, tokens)\n-        expected[0 SUBSEP \"answer\" SUBSEP SUBSEP 0] = 42\n-        expected[0 SUBSEP \"Answer\"] = \"null\"\n+        expected[0 SUBSEP \"answer\" SUBSEP \"everything\" SUBSEP 0] = \"42\"\n         assertEqual(ast, expected)\n \n         # empty object - what is the \"correct\" parsing result?\n"}
{"commit":"58bb337c22ced7948c7fd8e80b5e5077e6e03064","subject":"add|sub rsp alter the indent","message":"add|sub rsp alter the indent\n","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tools\/push_pop_indent.awk\n+++ tools\/push_pop_indent.awk\n@@ -1,7 +1,7 @@\n #!\/bin\/sh\n \n exec awk '\n-\/pop\/ {\n+\/pop|leave\/ {\n \tif(--indent < 0)\n \t\tprint \"AWK: indent less than zero (\" indent \")\" #| \"cat >&2\"\n }\n@@ -17,4 +17,11 @@\n \/push\/ {\n \tindent++\n }\n+\n+\/(add|sub) rsp\/ {\n+\tn = $3 \/ 8\n+\tif($1 == \"sub\")\n+\t\tn = -n\n+\tindent -= n\n+}\n '\n"}
{"commit":"98b4273c5a4afe045ec0ecdcd5a83a2f79791517","subject":"ahrf.awk: Silence gawk(1) forever","message":"ahrf.awk: Silence gawk(1) forever\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -68,7 +68,7 @@\n \tprintf(\"<ul>\\n\")\n \tfor (u=1; u<=NF; u++) {\n \t\tgsub(\/^[\\t ]*\/,\"\",$u)\n-\t\tif (match($u, \"\\[[0-9]+\\]\")) {\n+\t\tif (match($u, \"\\\\[[0-9]+\\\\]\")) {\n \t\t\t# RSTART can be replaced by 1, because we removed useless tabs\/spaces\n \t\t\tnum = substr($u,RSTART,RLENGTH)\n \t\t\turl = substr($u,RSTART+RLENGTH+1)\n"}
{"commit":"a7e27ac1d9f65858ac467648d2f0ea421708674d","subject":"interp_utils.awk\t-- added code to support log scales","message":"interp_utils.awk\t-- added code to support log scales\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/interp_utils.awk\n+++ lib\/interp_utils.awk\n@@ -254,7 +254,7 @@\n \t\t\t\tn_ary = split(work, ary, \":\")\n \t\t\t\treturn ary[2]\n \t\t\t}else\t\n-\t\t\t\treturn IU_interpolate_grad(interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n+\t\t\t\treturn IU_interpolate_grad(interp, interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n \t\t}else if(interp[\"v_ob_info\"] == \"^\"){\t# ^bgg*$, lower out of bounds specified, take higher ob from last grad element\n \t\t\tif(idx == 1)\n \t\t\t\treturn interp[\"values\", 1]\n@@ -263,7 +263,7 @@\n \t\t\t\tn_ary = split(work, ary, \":\")\n \t\t\t\treturn ary[2]\n \t\t\t}else\n-\t\t\t\treturn IU_interpolate_grad(interp[\"values\", idx], v, interp[\"breaks\", idx], interp[\"breaks\", idx + 1])\n+\t\t\t\treturn IU_interpolate_grad(interp, interp[\"values\", idx], v, interp[\"breaks\", idx], interp[\"breaks\", idx + 1])\n \t\t}else if(interp[\"v_ob_info\"] == \"$\"){\t# ^gg*b$, upper out of bounds specified, take lower ob from first grad element\n \t\t\tif(idx == 1){\n \t\t\t\twork = interp[\"values\", 1]\n@@ -272,12 +272,12 @@\n \t\t\t}else if(idx == interp[\"nbreaks\"] + 1)\n \t\t\t\treturn interp[\"values\", idx - 1]\n \t\t\telse\n-\t\t\t\treturn IU_interpolate_grad(interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n+\t\t\t\treturn IU_interpolate_grad(interp, interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n \t\t}else{\t# ^bgg*b$, lower & upper ob info specified\n \t\t\tif(idx == 1 || idx == interp[\"nbreaks\"] + 1)\n \t\t\t\treturn interp[\"values\", idx]\n \t\t\telse\n-\t\t\t\treturn IU_interpolate_grad(interp[\"values\", idx], v, interp[\"breaks\", idx], interp[\"breaks\", idx + 1])\n+\t\t\t\treturn IU_interpolate_grad(interp, interp[\"values\", idx], v, interp[\"breaks\", idx], interp[\"breaks\", idx + 1])\n \t\t}\n \t}\n }\n@@ -313,7 +313,7 @@\n \treturn \"\"\n }\n \n-function IU_interpolate_grad(grad, v, v_min, v_max,   n_ary, ary, n_ary2, ary2, i, g_min, g_max, f, rstr) {\n+function IU_interpolate_grad(interp, grad, v, v_min, v_max,   n_ary, ary, n_ary2, ary2, i, g_min, g_max, f, rstr) {\n \n \t# grad is well formed or IU_init() would have failed\n \tn_ary = split(grad, ary, \":\")\n@@ -323,6 +323,15 @@\n \tn_ary2 = split(ary[2], ary2, \",\")\n \tfor(i = 1; i <= n_ary2; i++)\n \t\tg_max[i] = ary2[i] + 0\t# force numeric\n+\n+\t# other scales may be possible but for now\n+\tif(interp[\"scale_type\"] == \"log\"){\n+\t\tlog10 = log(10)\n+\t\tv = log(v)\/log10\n+\t\tv_min = log(v_min)\/log10\n+\t\tv_max = log(v_max)\/log10\n+\t}\n+\n \tf = (v - v_min) \/ (v_max - v_min)\t# safe b\/c IU_init() checked that v_max > v_min\n \trstr = \"\"\n \tfor(i = 1; i <= n_ary2; i++){\n"}
{"commit":"3b1e6951c210c4326a3dfff0cffcbf06945f6b65","subject":"Translators\/YandexTranslate: mark dictionary as broken","message":"Translators\/YandexTranslate: mark dictionary as broken\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/YandexTranslate.awk\n+++ include\/Translators\/YandexTranslate.awk\n@@ -216,7 +216,7 @@\n             r = r prettify(\"languages\", group[3])\n         }\n \n-        if (wShowDictionary) {\n+        if (wShowDictionary && false) { # FIXME!\n             # Dictionary API\n             dicContent = yandexGetDictionaryResponse(text, _sl, _tl, _hl)\n             tokenize(dicTokens, dicContent)\n"}
{"commit":"e88137a51223b6d196fb14ab9a9c28689e23d1e5","subject":"Report all malformed Sn\/Ep strings in MHz","message":"Report all malformed Sn\/Ep strings in MHz\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -213,8 +213,8 @@\n     # and ones missing the second letter (Sn 1 E 1), (S1 E1), or wrong second letter (Sm 1 Ep 1)\n     if (match (episodeTitle,\\\n         \/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]{1,2}[ ]+[Ee][Pp]*[ ]*[[:digit:]]{1,3}[[:space:]]*\\)\/))  {\n-            if (episodeTitle ~ \/\\(Sm \/)\n-                printf (\"==> Malformed Sn in \\\"%s: %s\\\"\\n\", showTitle, episodeTitle) >> ERRORS\n+            if (episodeTitle !~ \/ \\(Sn [[:digit:]]{1,2} Ep [[:digit:]]{1,3}\\)\/)\n+                printf (\"==> Malformed Sn\/Ep in \\\"%s: %s\\\"\\n\", showTitle, episodeTitle) >> ERRORS\n             sub (\/[ ]*\\(S[Nnm]*[ ]*[[:digit:]]{1,2}[ ]+[Ee][Pp]*[ ]*[[:digit:]]{1,3}[[:space:]]*\\)\/,\\\n                 \"\",episodeTitle)\n             # print \"==> episodeTitle = \" episodeTitle > \"\/dev\/stderr\"\n"}
{"commit":"20aeeb090a9a7a50b0269dcd7c24371d6aa0154f","subject":"bugfix","message":"bugfix\n","repos":"amamama\/hairy-octo-sansa,amamama\/hairy-octo-sansa","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- md2slide.awk\n+++ md2slide.awk\n@@ -1,16 +1,16 @@\n function parse_line(line,   ret) {\n-\tif (line ~ \/^#[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h1\", parse_line(gensub(\/^#[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^##[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h2\", parse_line(gensub(\/^##[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^###[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h3\", parse_line(gensub(\/^###[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^####[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h4\", parse_line(gensub(\/^####[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^#####[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h5\", parse_line(gensub(\/^#####[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n-\t} else if (line ~ \/^######[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n-\t\tret = ret tag(\"h6\", parse_line(gensub(\/^######[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n+\tif (line ~ \/^#[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h1\", parse_line(gensub(\/^#[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n+\t} else if (line ~ \/^##[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h2\", parse_line(gensub(\/^##[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n+\t} else if (line ~ \/^###[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h3\", parse_line(gensub(\/^###[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n+\t} else if (line ~ \/^####[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h4\", parse_line(gensub(\/^####[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n+\t} else if (line ~ \/^#####[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h5\", parse_line(gensub(\/^#####[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n+\t} else if (line ~ \/^######[[:space:]]+[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h6\", parse_line(gensub(\/^######[[:space:]]+([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)))\n \t} else if (line ~ \/\\*\\*[^[:space:]].*[^[:space:]]\\*\\*\/) {\n \t\tret = ret parse_line(gensub(\/\\*\\*([^[:space:]].*[^[:space:]])\\*\\*\/, \"<strong>\\\\1<\/strong>\", \"g\", line))\n \t} else if (line ~ \/__[^[:space:]].*[^[:space:]]__\/) {\n"}
{"commit":"c7387d204f75ed1125fe50e448aadbc92ab10ebc","subject":"include statuses gt 0 only","message":"include statuses gt 0 only\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@20999 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -31,28 +31,28 @@\n   s[0] = \"expected\"\n   s[1] = \"exists\"\n   s[2] = \"manifest\"\n-#  s[3] = \"wanted\"\n-  s[3] = \"crawling\"\n-  s[4] = \"testing\"\n-  s[5] = \"notReady\"\n-  s[6] = \"released\"\n-  s[7] = \"down\"\n-#  s[9] = \"superseded\"\n-#  s[10] = \"zapped\"\n-  sn = 8\n+  s[3] = \"wanted\"\n+  s[4] = \"crawling\"\n+  s[5] = \"testing\"\n+  s[6] = \"notReady\"\n+  s[7] = \"released\"\n+  s[8] = \"down\"\n+  s[9] = \"superseded\"\n+  s[10] = \"zapped\"\n+  sn = 11\n   \n   sc[0] = \"expe\"\n   sc[1] = \"exis\"\n   sc[2] = \"mani\"\n-#  sc[3] = \"want\"\n-  sc[3] = \"craw\"\n-  sc[4] = \"test\"\n-  sc[5] = \"notR\"\n-  sc[6] = \"rele\"\n-  sc[7] = \"down\"\n-#  sc[9] = \"supe\"\n-#  sc[10] = \"zapp\"\n-  scn = 8\n+  sc[3] = \"want\"\n+  sc[4] = \"craw\"\n+  sc[5] = \"test\"\n+  sc[6] = \"notR\"\n+  sc[7] = \"rele\"\n+  sc[8] = \"down\"\n+  sc[9] = \"supe\"\n+  sc[10] = \"zapp\"\n+  scn = 11\n \n   #print out header\n   printf \"Publisher\\tPlugin\\tContr\\tYear\\tT\\tTotal\"\n@@ -65,18 +65,22 @@\n   for (i = 0 ; i < pn ; i++) {\n     printf \"%s\\t%s\\t%s\\t%s\\t%s\\t%d\", p[i], n[i], t[i], d[i], r[i], b[p[i],n[i],t[i],d[i]]\n     for (j = 0 ; j < sn ; j++) {\n+      if (x[s[j]] > 0){\n       if (c[p[i],n[i],t[i],d[i],s[j]] == 0) {\n       printf \"\\t..\" \n     } else {\n         printf \"\\t%d\", c[p[i],n[i],t[i],d[i],s[j]]\n       }\n     }\n+    }\n     printf \"\\n\"\n   }\n     #print out bottom line sums\n     printf \"Publisher\\tPlugin\\tContr\\tYear\\tT\\t%d\", tt\n     for (j = 0 ; j < sn ; j++) {\n-    \tprintf \"\\t%d\", x[s[j]]\n+    \tif (x[s[j]] > 0) {\n+    \t\tprintf \"\\t%d\", x[s[j]]\n+      }\n     }\n \n   printf \"\\n\"\n"}
{"commit":"eeda15a606ff69e896439edcf047e695ecf47320","subject":"Add headers","message":"Add headers\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@17555 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -39,10 +39,23 @@\n   s[9] = \"superseded\"\n   s[10] = \"zapped\"\n   sn = 11\n+  \n+  sc[0] = \"expe\"\n+  sc[1] = \"exis\"\n+  sc[2] = \"mani\"\n+  sc[3] = \"want\"\n+  sc[4] = \"craw\"\n+  sc[5] = \"test\"\n+  sc[6] = \"notR\"\n+  sc[7] = \"rele\"\n+  sc[8] = \"down\"\n+  sc[9] = \"supe\"\n+  sc[10] = \"zapp\"\n+  scn = 11\n \n-  printf \"Publisher\\tPlugin\\tContract\\tYear\\tTotal\"\n-  for (j = 0 ; j < sn ; j++) {\n-    printf \"\\t%s\", s[j]\n+  printf \"Publisher\\tPlugin\\tContr\\tYear\\tTotal\"\n+  for (j = 0 ; j < scn ; j++) {\n+    printf \"\\t%s\", sc[j]\n   }\n   printf \"\\n\"\n \n"}
{"commit":"e60a1885b92bcd4589074d3c28f89ecb290a545d","subject":"It seems SCO puts touch in a wierd place","message":"It seems SCO puts touch in a wierd place\n","repos":"m-labs\/uclibc-lm32,hwoarang\/uClibc,klee\/klee-uclibc,ddcc\/klee-uclibc-0.9.33.2,m-labs\/uclibc-lm32,kraj\/uclibc-ng,ffainelli\/uClibc,ChickenRunjyd\/klee-uclibc,ysat0\/uClibc,majek\/uclibc-vx32,atgreen\/uClibc-moxie,gittup\/uClibc,hwoarang\/uClibc,kraj\/uClibc,ChickenRunjyd\/klee-uclibc,ddcc\/klee-uclibc-0.9.33.2,ChickenRunjyd\/klee-uclibc,skristiansson\/uClibc-or1k,ddcc\/klee-uclibc-0.9.33.2,czankel\/xtensa-uclibc,mephi42\/uClibc,ndmsystems\/uClibc,mephi42\/uClibc,hjl-tools\/uClibc,groundwater\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ysat0\/uClibc,groundwater\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,atgreen\/uClibc-moxie,mephi42\/uClibc,ysat0\/uClibc,ddcc\/klee-uclibc-0.9.33.2,m-labs\/uclibc-lm32,waweber\/uclibc-clang,klee\/klee-uclibc,atgreen\/uClibc-moxie,brgl\/uclibc-ng,foss-xtensa\/uClibc,skristiansson\/uClibc-or1k,m-labs\/uclibc-lm32,waweber\/uclibc-clang,foss-for-synopsys-dwc-arc-processors\/uClibc,skristiansson\/uClibc-or1k,majek\/uclibc-vx32,foss-xtensa\/uClibc,ndmsystems\/uClibc,czankel\/xtensa-uclibc,ndmsystems\/uClibc,kraj\/uClibc,foss-xtensa\/uClibc,gittup\/uClibc,ffainelli\/uClibc,ffainelli\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ffainelli\/uClibc,brgl\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,wbx-github\/uclibc-ng,mephi42\/uClibc,waweber\/uclibc-clang,wbx-github\/uclibc-ng,groundwater\/uClibc,hjl-tools\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ffainelli\/uClibc,brgl\/uclibc-ng,hwoarang\/uClibc,wbx-github\/uclibc-ng,atgreen\/uClibc-moxie,ndmsystems\/uClibc,kraj\/uclibc-ng,brgl\/uclibc-ng,kraj\/uClibc,kraj\/uclibc-ng,ChickenRunjyd\/klee-uclibc,skristiansson\/uClibc-or1k,klee\/klee-uclibc,kraj\/uClibc,ysat0\/uClibc,wbx-github\/uclibc-ng,majek\/uclibc-vx32,waweber\/uclibc-clang,groundwater\/uClibc,hjl-tools\/uClibc,czankel\/xtensa-uclibc,OpenInkpot-archive\/iplinux-uclibc,hjl-tools\/uClibc,groundwater\/uClibc,gittup\/uClibc,klee\/klee-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,hwoarang\/uClibc,hjl-tools\/uClibc,kraj\/uclibc-ng,gittup\/uClibc,czankel\/xtensa-uclibc,majek\/uclibc-vx32,foss-xtensa\/uClibc","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- extra\/scripts\/initfini.awk\n+++ extra\/scripts\/initfini.awk\n@@ -8,7 +8,7 @@\n { alignval=\"\";\n   endp=0;\n   end=0;\n-  system(\"\/bin\/touch crt[in].S\");\n+  system(\"touch crt[in].S\");\n   system(\"\/bin\/rm -f crt[in].S\");\n   omitcrti=0;\n   omitcrtn=0;\n"}
{"commit":"564a49e8234adf53bf7cab63d07b52ff7766d6c4","subject":"minor edits","message":"minor edits\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/deltadot.awk\n+++ scripts\/deltadot.awk\n@@ -39,9 +39,8 @@\n }\n \n END{\n-\n \tfor(e in edge1){\n-\t\tif(! (e in edge2)) edges[e \"(\" edge1[e] \")\\\", color=\\\"orange\\\"];\"];\n+\t\tif(!(e in edge2)) edges[e \"(\" edge1[e] \")\\\", color=\\\"orange\\\"];\"];\n \t\telse {\n \t\t\t# TODO flag losses?\n \t\t\tdiff =  edge2[e] - edge1[e];\n"}
{"commit":"10e56a5c21673e20f40dba9c65cbc89999c1bbb9","subject":"this almost does the job","message":"this almost does the job","repos":"ggreif\/al4nin,ggreif\/al4nin","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- purgatory\/BibTeX2lout.awk\n+++ purgatory\/BibTeX2lout.awk\n@@ -1,51 +1,54 @@\n-  {\t\"Book\",\t\t\"Book\",\t\t\"B\",\t\t},\n-  {\t\"Book\",\t\t\"Booklet\",\t\"B\",\t\t},\n-  {\t\"Proceedings\",\t\"Proceedings\",\t\"\",\t\t},\n-  {\t\"Proceedings\",\t\"Conference\",\t\"\",\t\t},\n-  {\t\"PhDThesis\",\t\"PhdThesis\",\t\"D\",\t\t},\n-  {\t\"TechReport\",\t\"TechReport\",\t\"R\",\t\t},\n-  {\t\"TechReport\",\t\"Manual\",\t\"R\",\t\t},\n-  {\t\"MastersThesis\",\"MastersThesis\",\"D\",\t\t},\n-  {\t\"Misc\",\t\t\"Misc\", \t\"O\",\t\t},\n-  {\t\"Misc\",\t\t\"Unpublished\", \t\"\",\t\t},\n-  {\t\"Article\",\t\"Article\",\t\"J\",\t\t},\n-  {\t\"InBook\",\t\"InBook\",\t\"P\",\t\t},\n-  {\t\"InBook\",\t\"InCollection\",\t\"P\",\t\t},\n-  {\t\"InProceedings\",\"InProceedings\",\"C\",\t\n+# \/Book.*=.*\/ {print \"Book { \" $4 \" }\"; next}\n+# \/Booklet.*=.*\/ {print \"Book { \" $4 \" }\"; next}\n+# \/Proceedings.*=.*\/ {print \"Proceedings { \" $4 \" }\"; next}\n+# \/Conference.*=.*\/ {print \"Proceedings { \" $4 \" }\"; next}\n+# \/PhdThesis.*=.*\/ {print \"PhDThesis { \" $4 \" }\"; next}\n+# \/TechReport.*=.*\/ {print \"TechReport { \" $4 \" }\"; next}\n+# \/Manual.*=.*\/ {print \"TechReport { \" $4 \" }\"; next}\n+# \/MastersThesis.*=.*\/ {print \"MastersThesis { \" $4 \" }\"; next}\n+# \/Misc.*=.*\/ {print \"Misc { \" $4 \" }\"; next}\n+# \/Unpublished.*=.*\/ {print \"Misc { \" $4 \" }\"; next}\n+# \/Article.*=.*\/ {print \"Article { \" $4 \" }\"; next}\n+# \/InBook.*=.*\/ {print \"InBook { \" $4 \" }\"; next}\n+# \/InCollection.*=.*\/ {print \"InBook { \" $4 \" }\"; next}\n+\/@inproceedings[ \\t]*{.*\/ {print \"{ @Reference\\n   @Type { InProceedings }\"; have = 1; next}\n \n+{ split($0, arr, \"{\"); split(arr[2], brr, \"}\"); cont = brr[1] }\n \n+\/typ.*=.*\/ {print \"   @Type { \" cont \" }\"; next}\n+\/tag.*=.*\/ {print \"   @Tag { \" cont \" }\"; next}\n+# \/.*=.*\/ {print \"   @Abstract { \" cont \" }\"; next}\n+\/address.*=.*\/ {print \"   @Address { \" cont \" }\"; next}\n+\/annote.*=.*\/ {print \"   @Annote { \" cont \" }\"; next}\n+\/author.*=.*\/ {print \"   @Author { \" cont \" }\"; next}\n+\/chapter.*=.*\/ {} # print \" { \" cont \" }\"\n+# \/.*=.*\/ {print \"   @Day { \" cont \" }\"; next}\n+\/edition.*=.*\/ {print \"   @Edition { \" cont \" }\"; next}\n+\/howpublished.*=.*\/ {print \"   @HowPublished { \" cont \" }\"; next}\n+\/editor.*=.*\/ {print \"   @InAuthor { \" cont \" }\"; next}\n+\/booktitle.*=.*\/ {print \"   @InTitle { \" cont \" }\"; next}\n+\/institution.*=.*\/ {print \"   @Institution { \" cont \" }\"; next}\n+\/journal.*=.*\/ {print \"   @Journal { \" cont \" }\"; next}\n+\/key.*=.*\/ {print \" { \" cont \" }\"; next}\n+# \/.*=.*\/ {print \"   @Keywords { \" cont \" }\"; next}\n+# \/.*=.*\/ {print \"   @Label { \" cont \" }\"; next}\n+\/month.*=.*\/ {print \"   @Month { \" cont \" }\"; next}\n+\/note.*=.*\/ {print \"   @Note { \" cont \" }\"; next}\n+\/number.*=.*\/ {print \"   @Number { \" cont \" }\"; next}\n+\/organization.*=.*\/ {print \"   @Organization { \" cont \" }\"; next}\n+\/pages.*=.*\/ {print \"   @Pages { \" cont \" }\"; next}\n+#\/pages.*=.*\/ {print \"   @Page { \" cont \" }\"; next}\n+# \/.*=.*\/ {print \"   @Pinpoint { \" cont \" }\"; next}\n+\/location.*=.*\/ {print \"   # @Location { \" cont \" }\"; next}\n+\/doi.*=.*\/ {print \"   # @Doi { \" cont \" }\"; next}\n+\/publisher.*=.*\/ {print \"   @Publisher { \" cont \" }\"; next}\n+\/title.*=.*\/ {print \"   @Title { \" cont \" }\"; next}\n+# \/.*=.*\/ {print \"   @TitleNote { \" cont \" }\"; next}\n+\/type.*=.*\/ {print \"   @TRType { \" cont \" }\"; next}\n+\/url.*=.*\/ {print \"   @URL { \" cont \" }\"; next}\n+\/volume.*=.*\/ {print \"   @Volume { \" cont \" }\"; next}\n+\/year.*=.*\/ {print \"   @Year { \" cont \" }\"; next}\n+\/isbn.*=.*\/ {print \"   @ISBN { \" cont \" }\"; next}\n \n-\n-\n-\n-  {\t\"@Type\",\t\"typ\",\t\t\"TYPE\",\t\t},\n-  {\t\"@Tag\",\t\t\"tag\",\t\t\"NUMBER\",\t},\n-  {\t\"@Abstract\",\t\"\",\t\t\"\",\t\t},\n-  {\t\"@Address\",\t\"address\",\t\"\",\t\t},\n-  {\t\"@Annote\",\t\"annote\",\t\"PROBLEM\",\t},\n-  {\t\"@Author\",\t\"author\",\t\"AUTHOR\",\t},\n-  {\t\"\",\t\t\"chapter\",\t\"\",\t\t},\n-  {\t\"@Day\",\t\t\"\",\t\t\"\",\t\t},\n-  {\t\"@Edition\",\t\"edition\",\t\"\",\t\t},\n-  {\t\"@HowPublished\",\"howpublished\",\t\"\",\t\t},\n-  {\t\"@InAuthor\",\t\"editor\",\t\"\",\t\t},\n-  {\t\"@InTitle\",\t\"booktitle\",\t\"\",\t\t},\n-  {\t\"@Institution\",\t\"institution\",\t\"INSTIT\",\t},\n-  {\t\"@Journal\",\t\"journal\",\t\"SOURCE\",\t},\n-  {\t\"\",\t\t\"key\",\t\t\"\",\t\t},\n-  {\t\"@Keywords\",\t\"\",\t\t\"\",\t\t},\n-  {\t\"@Label\",\t\"\",\t\t\"\",\t\t},\n-  {\t\"@Month\",\t\"month\",\t\"\",\t\t},\n-  {\t\"@Note\",\t\"note\",\t\t\"\",\t\t},\n-  {\t\"@Number\",\t\"number\",\t\"ISSUE\",\t},\n-  {\t\"@Organization\",\"organization\",\t\"\",\t\t},\n-  {\t\"@Pages\",\t\"pages\",\t\"FIRSTPAGE\",\t},\n-  {\t\"@Page\",\t\"pages\",\t\"\",\t\t},\n-  {\t\"@Pinpoint\",\t\"\",\t\t\"\",\t\t},\n-  {\t\"@Publisher\",\t\"publisher\",\t\"PUBLISHER\",\t},\n-  {\t\"@Title\",\t\"title\",\t\"NAME\",\t\t},\n-  {\t\"@TitleNote\",\t\"\",\t\t\"\",\t\t},\n-  {\t\"@TRType\",\t\"type\",\t\t\"\",\t\t},\n-  {\t\"@URL\",\t\t\"url\",\t\t\"\",\t\t},\n-  {\t\"@Volume\",\t\"volume\",\t\"VOL\",\t\t},\n-  {\t\"@Year\",\t\"year\", \t\"YEAR\",\t\t},\n+## close the record\n+{if (have) print \"}\\n\\n\"; have = 0; next}\n"}
{"commit":"99f238132aef287feb6edd5274848d27cf53693e","subject":"Languages: add Kurdish language","message":"Languages: add Kurdish language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -169,6 +169,19 @@\n     Locale[\"ky\"][\"iso\"]                = \"kir\"\n     Locale[\"ky\"][\"glotto\"]             = \"kirg1245\"\n     Locale[\"ky\"][\"script\"]             = \"Cyrl\"\n+\n+    #? Kurdish, Latin alphabet\n+    Locale[\"ku\"][\"name\"]               = \"Kurdish\"\n+    Locale[\"ku\"][\"endonym\"]            = \"Kurd\u00ee\"\n+    #Locale[\"ku\"][\"translations-of\"]\n+    #Locale[\"ku\"][\"definitions-of\"]\n+    #Locale[\"ku\"][\"synonyms\"]\n+    #Locale[\"ku\"][\"examples\"]\n+    #Locale[\"ku\"][\"see-also\"]\n+    Locale[\"ku\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ku\"][\"iso\"]                = \"kur\"\n+    Locale[\"ku\"][\"glotto\"]             = \"kurd1259\"\n+    Locale[\"ku\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"3304b30c6fc3b58e417d99b5d18233b0be25ac0a","subject":"Languages: Google Translate does not distinguish between Bokm\u00e5l and Nynorsk","message":"Languages: Google Translate does not distinguish between Bokm\u00e5l and Nynorsk\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1411,6 +1411,8 @@\n     LocaleAlias[\"ji\"] = \"yi\" # withdrawn language code for Yiddish\n     LocaleAlias[\"jw\"] = \"jv\" # withdrawn language code for Javanese\n     LocaleAlias[\"mo\"] = \"ro\" # Moldavian or Moldovan considered a variant of the Romanian language\n+    LocaleAlias[\"nb\"] = \"no\" # Google Translate does not distinguish between Bokm\u00e5l and Nynorsk\n+    LocaleAlias[\"nn\"] = \"no\"\n     LocaleAlias[\"sh\"] = \"sr\" # Serbo-Croatian: default to Serbian\n     LocaleAlias[\"zh\"] = \"zh-CN\" # Chinese: default to Chinese Simplified\n     LocaleAlias[\"zho\"] = \"zh-CN\"\n"}
{"commit":"b4b9f101da33163cef6d5bda3841daceccada6e8","subject":"Allow generated python file to accept a -threads argument to limit the number of threads a solver uses.","message":"Allow generated python file to accept a -threads argument to limit the number of threads a solver uses.\n","repos":"eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -245,12 +245,14 @@\n END {\n \tif (!error) {\n \tprint \"solvers = ['Mistral', 'SCIP', 'MiniSat', 'Toulbar2', 'Gurobi']\";\n-\tprint \"default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2)])\";\n+\tprint \"default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1)])\";\n \tprint \"param = input(default)\";\n \tprint \"solver = model.load(param['solver'])\";\n \tprint \"solver.setVerbosity(param['verbose'])\";\n \tprint \"solver.setTimeLimit(param['tcutoff'] - int(time.clock()+0.5))\";\n \tprint \"solver.setHeuristic(param['var'], param['val'], param['rand'])\";\n+\tprint \"if param['solver'] == 'Gurobi':\";\n+\tprint \"    solver.setThreadCount(param['threads'])\";\n \tprint \"if param['solver'] == 'Mistral':\";\n \tprint \"    solver.solveAndRestart(GEOMETRIC, 256, 1.3)\";\n \tprint \"else:\";\n"}
{"commit":"a8d5abaeaf9b9563a31053743d59dabe3af1e824","subject":"Python model, generated from Flatzinc, is now wrapped in a get_model() function so it can be imported easily.","message":"Python model, generated from Flatzinc, is now wrapped in a get_model() function so it can be imported easily.\n","repos":"eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -8,7 +8,8 @@\n \tprint \"from Numberjack import *\"\n \tsystem(\"cat \" MZNNJ_DIR \"\/fzn2py.py\");\n \tprint \"\";\n-\tprint \"model = Model()\";\t\n+\tprint \"def get_model():\"\n+\tprint \"    model = Model()\";\t\n \tparameter = 1;\n \terror = 0;\n }\n@@ -53,36 +54,36 @@\n \n parameter {\n \tsub(\".*: \",\"\");\n-\tif ($2 == \"=\") print $0; # it might be a predicate instead if no =\n+\tif ($2 == \"=\") print \"    \" $0; # it might be a predicate instead if no =\n }\n \n \/^var bool:\/{\n-\tprint $3 \" = Variable('\" $3 \"')\";\n+\tprint \"    \" $3 \" = Variable('\" $3 \"')\";\n \tif (match($0,\"::_output_\")) output[$3] = 1;\n-\tif ($4 == \"=\") print \"model.add(\" $3 \" == \" $5 \")\";\n+\tif ($4 == \"=\") print \"    model.add(\" $3 \" == \" $5 \")\";\n }\n \n \/^var int:\/{\n-\tprint $3 \" = Variable(-\" MAXINT \",\" MAXINT \",'\" $3 \"')\";\n+\tprint \"    \" $3 \" = Variable(-\" MAXINT \",\" MAXINT \",'\" $3 \"')\";\n \tif (match($0,\"::_output_\")) output[$3] = 1;\n-\tif ($4 == \"=\") print \"model.add(\" $3 \" == \" $5 \")\";\n+\tif ($4 == \"=\") print \"    model.add(\" $3 \" == \" $5 \")\";\n }\n \n \/^var range[(][-]*[0-9]+,1[+][-]*[0-9]+[)]:\/{\n \tsub(\"range[(]\",\"\",$2);\n \tsub(\"[)]:\",\"\",$2);\n \tsub(\",1[+]\",\",\",$2);\n-\tprint $3 \" = Variable(\" $2 \",'\" $3 \"')\";\n+\tprint \"    \" $3 \" = Variable(\" $2 \",'\" $3 \"')\";\n \tif (match($0,\"::_output_\")) output[$3] = 1;\n-\tif ($4 == \"=\") print \"model.add(\" $3 \" == \" $5 \")\";\n+\tif ($4 == \"=\") print \"    model.add(\" $3 \" == \" $5 \")\";\n }\n \n \/^var {[-]*[0-9]+(,[-]*[0-9]+)*}:\/{\n \tsub(\"{\",\"[\",$2);\n \tsub(\"}:\",\"]\",$2);\n-\tprint $3 \" = Variable(\" $2 \",'\" $3 \"')\";\n+\tprint \"    \" $3 \" = Variable(\" $2 \",'\" $3 \"')\";\n \tif (match($0,\"::_output_\")) output[$3] = 1;\n-\tif ($4 == \"=\") print \"model.add(\" $3 \" == \" $5 \")\";\n+\tif ($4 == \"=\") print \"    model.add(\" $3 \" == \" $5 \")\";\n }\n \n \/^array [[]range[(][-]*[0-9]+,1[+][-]*[0-9]+[)][]] of var bool:\/{\n@@ -104,7 +105,7 @@\n \t\texit(2);\n \t}\n \tname = $6;\n-\tprint name \" = VarArray(\" isup \",'\" name \"')\";\n+\tprint \"    \" name \" = VarArray(\" isup \",'\" name \"')\";\n \tif (match($0,\"::_output_\")) {\n \t\toutput[ name ] = isup;\n \t\toutputstring[ name ] = substr($0, RSTART+RLENGTH);\n@@ -114,7 +115,7 @@\n \t\tsub(\"::_output_.*\",\"\");\n \t\tgsub(\" \",\"\");\n \t\tfor (i=0; i<isup; i++) {\n-\t\t\tprint \"model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n+\t\t\tprint \"    model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n \t\t}\n \t}\n }\n@@ -138,7 +139,7 @@\n \t\texit(2);\n \t}\n \tname = $6;\n-\tprint name \" = VarArray(\" isup \",-\" MAXINT \",\" MAXINT \",'\" name \"')\";\n+\tprint \"    \" name \" = VarArray(\" isup \",-\" MAXINT \",\" MAXINT \",'\" name \"')\";\n \tif (match($0,\"::_output_\")) {\n \t\toutput[ name ] = isup;\n \t\toutputstring[ name ] = substr($0, RSTART+RLENGTH);\n@@ -148,7 +149,7 @@\n \t\tsub(\"::_output_.*\",\"\");\n \t\tgsub(\" \",\"\");\n \t\tfor (i=0; i<isup; i++) {\n-\t\t\tprint \"model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n+\t\t\tprint \"    model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n \t\t}\n \t}\n }\n@@ -175,7 +176,7 @@\n \tsub(\"[)]:\",\"\",$5);\n \tsub(\",1[+]\",\",\",$5);\n \tname = $6;\n-\tprint name \" = VarArray(\" isup \",\" $5 \",'\" name \"')\";\n+\tprint \"    \" name \" = VarArray(\" isup \",\" $5 \",'\" name \"')\";\n \tif (match($0,\"::_output_\")) {\n \t\toutput[ name ] = isup;\n \t\toutputstring[ name ] = substr($0, RSTART+RLENGTH);\n@@ -185,7 +186,7 @@\n \t\tsub(\"::_output_.*\",\"\");\n \t\tgsub(\" \",\"\");\n \t\tfor (i=0; i<isup; i++) {\n-\t\t\tprint \"model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n+\t\t\tprint \"    model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n \t\t}\n \t}\n }\n@@ -211,7 +212,7 @@\n \tsub(\"{\",\"[\",$5);\n \tsub(\"}:\",\"]\",$5);\n \tname = $6;\n-\tprint name \" = [Variable(\" $5 \",'\" name \"_\" i \"') for i in range(\" isup \")]\";\n+\tprint \"    \" name \" = [Variable(\" $5 \",'\" name \"_\" i \"') for i in range(\" isup \")]\";\n \tif (match($0,\"::_output_\")) {\n \t\toutput[ name ] = isup;\n \t\toutputstring[ name ] = substr($0, RSTART+RLENGTH);\n@@ -221,29 +222,48 @@\n \t\tsub(\"::_output_.*\",\"\");\n \t\tgsub(\" \",\"\");\n \t\tfor (i=0; i<isup; i++) {\n-\t\t\tprint \"model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n+\t\t\tprint \"    model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n \t\t}\n \t}\n }\n \n \/^constraint \/{\n-\t$1 = \"model.add(\";\n+\t$1 = \"    model.add(\";\n     \t$NF = $NF \" )\";\n \tprint $0;\n }\n \n \/^solve \/ && \/ minimize \/{\n-\tprint \"model.add(Minimize(\" $NF \"))\";\n+\tprint \"    model.add(Minimize(\" $NF \"))\";\n \tobjective = $NF;\n }\n \n \/^solve \/ && \/ maximize \/{\n-\tprint \"model.add(Maximize(\" $NF \"))\";\n+\tprint \"    model.add(Maximize(\" $NF \"))\";\n \tobjective = $NF;\n }\n \n END {\n \tif (!error) {\n+\toutput_vars = \"\";\n+\tif(objective) output_vars = objective;\n+\n+\tn = asorti(output,varnames);\n+\tfor (i=1; i<=n; i++) {\n+\t\te = varnames[i];\n+\t\tif (output[e]!=1) {\n+\t\t\tif(e != objective) {\n+\t\t\t\tif(length(output_vars) > 0) output_vars = output_vars \", \";\n+\t\t\t\toutput_vars = output_vars e;\n+\t\t\t}\n+\t\t}\n+\t}\n+\tprint \"    output_vars = (\" output_vars \",)\";\n+\tprint \"    return model, output_vars\";\n+\n+\tprint \"\";\n+\tprint \"model, output_vars = get_model()\";\n+\tprint output_vars \" = output_vars\";\n \tprint \"solvers = ['Mistral', 'SCIP', 'MiniSat', 'Toulbar2', 'Gurobi']\";\n \tprint \"default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1)])\";\n \tprint \"param = input(default)\";\n@@ -258,7 +278,6 @@\n \tprint \"else:\";\n \tprint \"    solver.solve()\";\n \tprint \"if solver.is_sat():\"\n-\tn = asorti(output,varnames);\n \tfor (i=1; i<=n; i++) {\n \t\te = varnames[i];\n \t\tif (output[e]==1) {\n"}
{"commit":"4673f318b3dac4f28257ba78a57d94aeb28b2ccf","subject":"GenTK: log tk value for future debugging (see #94#issuecomment-165719346)","message":"GenTK: log tk value for future debugging (see #94#issuecomment-165719346)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/GenTK.awk\n+++ include\/GenTK.awk\n@@ -37,5 +37,10 @@\n     a = genRL(a, ub)\n     0 > a && (a = and(a, 2147483647) + 2147483648)\n     a %= 1e6\n-    return TK[text] = a \".\" xor(a, tkk)\n+    TK[text] = a \".\" xor(a, tkk)\n+\n+    l(text, \"text\")\n+    l(tkk, \"tkk\")\n+    l(TK[text], \"tk\")\n+    return TK[text]\n }\n"}
{"commit":"dd9de7a0e2983f06d0040dfa49c92fc42ddea7a4","subject":"Match pbxproj generated with SwiftPM command","message":"Match pbxproj generated with SwiftPM command\n","repos":"toshi0383\/xcconfig-extractor,toshi0383\/xcconfig-extractor","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/filter-build-settings.awk\n+++ scripts\/filter-build-settings.awk\n@@ -11,15 +11,15 @@\n # copyright:\n #     Copyright \u00a9 2017 Toshihiro Suzuki. All rights reserved.\n #\n-\/\\t\\t\\tbuildSettings\/ {\n+\/[ \\t][ \\t]*buildSettings\/ {\n     B=\"filter\"\n     print $0\n }\n-!\/\\t\\t\\tbuildSettings\/ {\n+!\/[ \\t][ \\t]*buildSettings\/ {\n     if (B != \"filter\") {\n         print $0\n     } else {\n-        if ($1 == \"\\t\\t\\t};\") {\n+        if ($1 == \"\\t\\t\\t};\" || $1 == \"         };\") {\n             B=\"\"\n             print $0\n         }\n"}
{"commit":"ec153aa9d431596813e41b12ccd457d425121926","subject":"Languages: add Cherokee language","message":"Languages: add Cherokee language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -432,6 +432,19 @@\n     Locale[\"xh\"][\"iso\"]                = \"xho\"\n     Locale[\"xh\"][\"glotto\"]             = \"xhos1239\"\n     Locale[\"xh\"][\"script\"]             = \"Latn\"\n+\n+    #? Cherokee\n+    Locale[\"chr\"][\"name\"]               = \"Cherokee\"\n+    Locale[\"chr\"][\"endonym\"]            = \"\u13e3\u13b3\u13a9\"\n+    #Locale[\"chr\"][\"translations-of\"]\n+    #Locale[\"chr\"][\"definitions-of\"]\n+    #Locale[\"chr\"][\"synonyms\"]\n+    #Locale[\"chr\"][\"examples\"]\n+    #Locale[\"chr\"][\"see-also\"]\n+    Locale[\"chr\"][\"family\"]             = \"Iroquoian\"\n+    Locale[\"chr\"][\"iso\"]                = \"chr\"\n+    Locale[\"chr\"][\"glotto\"]             = \"cher1273\"\n+    Locale[\"chr\"][\"script\"]             = \"Cher\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"1380cd27382bd1ecbec018cb950ad1e987f0a1e6","subject":"linkparser v0.3.1","message":"linkparser v0.3.1\n\n* Re-organize the code in a cleaner manner, which seems better\narchitectured.\n* Get dependence file(.d, or .D) from cmd file(.cmd), replacing the\nold algorithm.\n","repos":"lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- linkparser\/linkparser.awk\n+++ linkparser\/linkparser.awk\n@@ -1,12 +1,11 @@\n BEGIN {\n-\tversion = \"0.2.0\"\n+\tversion = \"0.3.1\"\n \tprintf(\"link-parser, v%s\\n\", version)\n \n \ttrue = 1\n \tfalse = 0\n-\tg_pat_srccommon = \"\\\\\/sw\\\\\/vobs.+\"\n-\tg_sroot = \"\"\n-\tinst_root = \"\"\n+\tg_srcroot = \"\"\n+\tg_instroot = \"\"\n \ttar_root = \"\"\n \n \t# Colors\n@@ -37,28 +36,57 @@\n \t\t}\n \t}\n \n-\t# Skip head lines\n-\tgetline\n+\t# Get g_srcroot\n+\tgetline line\n+\tget_g_srcroot(line)\n+\tprintf(\"Parsing and dumping, this may take for a while...\\n\")\n }\n \n \/^[^-]\/ {\n+\t# A link is a file name suffixed with '.o', '.lib' or '.obj' in a line.\n \tlink = $0\n \t# Remove the ending ' \\'\n \tgsub(\/[ \\t]+\\\\$\/, \"\", link)\n \n-\tif (g_sroot == \"\") {\n-\t\tprintf(\"Grabbing sources and headers ...\\n\")\n-\t\tg_sroot = get_sroot(link)\n-\t\t\"date +%Y%m%d-%H%M%S\" | getline date\n-\t\tinst_root = g_sroot\"-\"date\n-\t}\n-\n-\t# ---------\n-\t# Sources\n-\t# ---------\n-\n+\t# Parse .cmd files\n \tcmd_file = link\".cmd\"\n-\twhile ((getline line < cmd_file) > 0) {\n+\tparse_cmd(cmd_file)\n+}\n+\n+function get_g_srcroot(line) {\n+\tif (g_srcroot)\n+\t\treturn\n+\n+\tpatt = \"\\\\\/sw\\\\\/vobs.+\"\n+\tif (line !~ patt)\n+\t\treturn\n+\n+\tgsub(patt, \"\", line)\n+\tpatt = \".+\\\\\/\"\n+\tgsub(patt, \"\", line)\n+\tg_srcroot = line\n+\t\"date +%Y%m%d-%H%M%S\" | getline date\n+\tg_instroot = g_srcroot\"-\"date\n+\n+\tif (destdir)\n+\t\tg_instroot = destdir\"\/\"g_instroot\n+}\n+\n+function parse_cmd(cmd) {\n+\twhile ((getline line < cmd) > 0) {\n+\t\t# Get dependence file, in the argument of option '-Wp,-MD'\n+\t\tpatt = \"cd (.+);.+-MD,([^ \\t]+)\\\\.d.+\"\n+\t\tif (line ~ patt) {\n+\t\t\tdep = gensub(patt, \"\\\\1\/\\\\2.D\", \"g\", line)\n+\t\t\t# Parsing dependence file\n+\t\t\tparse_dep(dep)\n+\t\t} else if (pretend) {\n+\t\t\tprint RED line NC\n+\t\t}\n+\n+\t\t# Get source file, suffixed with '.c', '.cpp', or '.cc'\n+\t\t# ...\n+\n \t\t# abosolute path\n \t\tif (line ~ \/[ \\t]+-c[ \\t]+\\\/.+$\/)\n \t\t\tsource = gensub(\/^.+[ \\t]+-c[ \\t]+(.+)$\/, \"\\\\1\", \"g\", line)\n@@ -77,25 +105,19 @@\n \t\tif (source ~ patt)\n \t\t\tcontinue;\n \n-\t\trel_install(source, g_sroot, inst_root)\n-\t}\n-\tclose(cmd_file)\n-\n-\t# ---------\n-\t# Headers\n-\t# ---------\n-\n-\tgsub(\/\\.(obj|o|lib)$\/, \"\", link)\n-\tdep_file = link \".D\"\n-\n-\tif ((getline < dep_file) < 0)\n-\t\tnext\n-\n+\t\trel_install(source, g_srcroot, g_instroot)\n+\t}\n+\tclose(cmd)\n+}\n+\n+function parse_dep(dep) {\n \t# Get path prefix\n+\tif ((getline < dep) < 0)\n+\t\treturn\n \tcur_path = $1\n \tgsub(\/^#\/, \"\", cur_path)\n \n-\twhile ((getline < dep_file) > 0) {\n+\twhile ((getline < dep) > 0) {\n \t\tgsub(\/.+:\/, \" \")\n \t\tfor (i = 1; i <= NF; i++) {\n \t\t\t#if ($i !~ \/\\.(h|hpp)$\/)\n@@ -108,15 +130,15 @@\n \t\t\t\tif (header ~ patt) {\n \t\t\t\t\tbuildroot_host_path = gensub(patt, \"\\\\1\", \"g\", header)\n \n-\t\t\t\t\tpatt = \".+\\\\\/\"g_sroot\"\\\\\/sw\\\\\/vobs\"\n-\t\t\t\t\tgsub(patt, inst_root\"\/sw\/vobs\", buildroot_host_path)\n+\t\t\t\t\tpatt = \".+\\\\\/\"g_srcroot\"\\\\\/sw\\\\\/vobs\"\n+\t\t\t\t\tgsub(patt, g_instroot\"\/sw\/vobs\", buildroot_host_path)\n \t\t\t\t}\n \t\t\t}\n \n-\t\t\trel_install(header, g_sroot, inst_root)\n+\t\t\trel_install(header, g_srcroot, g_instroot)\n \t\t}\n \t}\n-\tclose(dep_file)\n+\tclose(dep)\n }\n \n END {\n@@ -125,7 +147,7 @@\n \tprint \"Total dumped files: \" count\n \n \tif (buildroot_host_path && arg !~ \/pretend\/)\n-\t\tsystem(\"mv \" buildroot_host_path \" \" inst_root)\n+\t\tsystem(\"mv \" buildroot_host_path \" \" g_instroot\"\/sw\/\")\n \n \tif (arg ~ \/tar\/)\n \t\tmake_tarball(arg)\n@@ -139,9 +161,6 @@\n \tpatt = \"^.+\\\\\/\"rel_root\"\\\\\/(sw.+)\"\n \trel_path = gensub(patt, \"\\\\1\", \"g\", dir)\n \n-\tif (destdir)\n-\t\tnew_root = destdir \"\/\" new_root\n-\n \tif (pretend) {\n \t\tprint source > rel_root\".source.list\"\n \t\tprint rel_path\"\/\"base > rel_root\".relative.list\"\n@@ -149,35 +168,29 @@\n \t}\n \n \tsystem(\"mkdir -p \" new_root \"\/\" rel_path)\n+\n+\tcmdline = \"if test -e \" new_root \"\/\" rel_path \"\/\" base \\\n+\t\t\";then echo yes;else echo no;fi\"\n+\tcmdline |getline ret\n+\tclose(cmdline)\n+\tif (ret == \"yes\") {\n+\t\tcount--\n+\t\treturn 0\n+\t}\n+\n \tsystem(\"cp -fL \" source \" \" new_root \"\/\" rel_path)\n }\n \n function make_tarball(flag) {\n-\ttarball = inst_root \".tar.gz\"\n+\ttarball = g_instroot \".tar.gz\"\n \tprintf(\"Generating source tarball %s%s%s%s ...\\n\", RED, BOL, tarball, NC)\n \n \tif (pretend || SKIP_END)\n \t\texit 0\n \n-\t\"pwd\" |getline oldpwd\n-\tif (destdir)\n-\t\tsystem(\"cd \" destdir)\n-\n-\tsystem(\"tar zcf \" tarball \" \" inst_root)\n+\tsystem(\"tar zcf \" tarball \" \" g_instroot)\n \tif (flag ~ \/purge\/)\n-\t\tsystem(\"rm -r \"inst_root)\n-\n-\tif (destdir)\n-\t\tsystem(\"cd \" oldpwd)\n-}\n-\n-function get_sroot(line) {\n-\tif (line !~ g_pat_srccommon)\n-\t\treturn \"\"\n-\n-\tgsub(g_pat_srccommon, \"\", line);\n-\tgsub(\/.+\\\/\/, \"\", line);\n-\treturn line;\n+\t\tsystem(\"rm -r \"g_instroot)\n }\n \n # dirname\n@@ -217,10 +230,6 @@\n \n ###### Test #########\n function do_test() {\n-\tprintf(\"%s%s%s%s\\n\", BLU, BOL, \"---- Test get_sroot ----\", NC)\n-\ttest_get_sroot(\"\/repo\/lulinw\/isam\/sw\/vobs\/esam\/build\");\n-\ttest_get_sroot(\"\/repo\/lulinw\/isam\/sw\/esam\/build\");\n-\n \tprintf(\"%s%s%s%s\\n\", BLU, BOL, \"---- Test dirname ----\", NC)\n \ttest_dirname(\"\/home\/abc\");\n \ttest_dirname(\"home\/\/\/abc\/\/\");\n@@ -240,14 +249,6 @@\n \ttest_basename(\"\/..\/abc\/efg\/\")\n }\n \n-function test_get_sroot(line) {\n-\tif ((ret = get_sroot(line)) == \"\") {\n-\t\tprintf(\"Unexpected line [PAT=%s]:\\n  %s%s%s\\n\",\n-\t\t\t\tg_pat_srccommon, RED, line, NC)\n-\t} else\n-\t\tprintf(\"Root of %s is\\n  %s%s%s\\n\", line, GRN, get_sroot(line), NC)\n-}\n-\n function test_dirname(path) {\n \tprintf(\"dirname(%s) is \\n  %s%s%s\\n\", path, GRN, dirname(path), NC)\n }\n"}
{"commit":"5c86756d5cf36e038608ab2591f6cb6b48484e69","subject":"Initialize first to -1; this will create a (nearly) empty file on failure, instead of looping until the disk is full.  This kind of failure can especially happen when a version of awk that doesn't support POSIX character classes is used.","message":"Initialize first to -1; this will create a (nearly) empty file on failure,\ninstead of looping until the disk is full.  This kind of failure can\nespecially happen when a version of awk that doesn't support POSIX\ncharacter classes is used.\n\nSubmitted by:\tDavid Wolfskill <david@catwhisker.org>\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/boot\/common\/merge_help.awk\n+++ sys\/boot\/common\/merge_help.awk\n@@ -8,7 +8,7 @@\n BEGIN \\\n {\n   state = 0;\n-  first = 0;\n+  first = -1;\n   ind = 0;\n }\n \n"}
{"commit":"2fd39f104698bdf410c2440fab45f61cdecbd590","subject":"Add information about the payload format","message":"Add information about the payload format\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@146 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/long2html.awk\n+++ scripts\/long2html.awk\n@@ -218,6 +218,12 @@\n       PL[id] = $0\n       id++\n \n+      # The payload has the following format:\n+      # 0000  74 2d 4c 65 6e 67 74 68 3a 20 32 31 33 0d 0a 50   t-Length: 213..P\n+      # 0010  2d 41 73 73 65 72 74 65 64 2d 49 64 65 6e 74 69   -Asserted-Identi\n+      # ....\n+      # 0160  76 65 64 2d 55 73 65 72 3a 20 3c 73 69 70 3a 62   ved-User: <sip:b\n+      # The following code block displays the data in a human readable format\n       if ((length($1) == 4) && ($1 != \"Data\")) {\n         PAYLOAD = substr($0, 7, 50)\n         L = split(PAYLOAD, CHARS, \" \")\n"}
{"commit":"2422c97e6126bfb3415660d0e5a005002d73bce4","subject":"Fix the modules path in the xpi chrome.manifests","message":"Fix the modules path in the xpi chrome.manifests\n","repos":"moonshadow\/dactyl,5digits\/dactyl,madand\/pentadactyl-pm,5digits\/dactyl,madand\/pentadactyl-pm,airodactyl\/dactyl,derenio\/vimperator-labs,zklinger\/vimperator-labs,5digits\/dactyl,Kjwon15\/dactyl,nathyong\/dactyl,Evidlo\/vimperator-labs,moonshadow\/dactyl,airodactyl\/dactyl,nullren\/vimperator-labs,invl\/dactyl,stemar94\/vimperator-labs,nathyong\/dactyl,invl\/dactyl,Kjwon15\/dactyl,invl\/dactyl,moonshadow\/dactyl,airodactyl\/dactyl,invl\/dactyl,5digits\/dactyl,madand\/pentadactyl-pm,moonshadow\/dactyl,Sheile\/vimperator-labs,mcarton\/vimperator-labs,airodactyl\/airodactyl,paretje\/vimperator-labs,Quicksaver\/vimperator-labs,Kjwon15\/dactyl,derenio\/vimperator-labs,seanmorton\/vimperator-labs,moonshadow\/dactyl,Sheile\/vimperator-labs,Quicksaver\/vimperator-labs,Kjwon15\/dactyl,nathyong\/dactyl,nathyong\/dactyl,seanmorton\/vimperator-labs,paretje\/vimperator-labs,Evidlo\/vimperator-labs,invl\/dactyl,invl\/dactyl,mcarton\/vimperator-labs,nullren\/vimperator-labs,nathyong\/dactyl,airodactyl\/airodactyl,Kjwon15\/dactyl,madand\/pentadactyl-pm,moonshadow\/dactyl,airodactyl\/dactyl,5digits\/dactyl,stemar94\/vimperator-labs,madand\/pentadactyl-pm,madand\/pentadactyl-pm,5digits\/dactyl,Kjwon15\/dactyl,nathyong\/dactyl,airodactyl\/dactyl,zklinger\/vimperator-labs,airodactyl\/dactyl","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- common\/process_manifest.awk\n+++ common\/process_manifest.awk\n@@ -5,7 +5,7 @@\n     $NF = \"jar:chrome\/\" name \".jar!\" $NF\n }\n {\n-    sub(\"^\\\\.\\\\.\/liberator\/\", \"\", $NF)\n+    sub(\"^\\\\.\\\\.\/common\/\", \"\", $NF)\n     print\n }\n \n"}
{"commit":"d88732a1e489cd5ceb3f8785dce86d4066065bab","subject":"change whitespace","message":"change whitespace\n","repos":"TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/label_dot_edge.awk\n+++ scripts\/label_dot_edge.awk\n@@ -18,7 +18,7 @@\n \n BEGIN{FS=\"\\t\"; OFS=\"\\t\"}\n # load labels\n-FNR == NR && $3 != \"null\"{label[$1$2]=$3}\n+FNR == NR && $3 != \"null\"{label[$1 $2]=$3}\n \n # output lines that do not get labels\n FNR != NR && !\/.* -> .*label=.*\/ {print}\n"}
{"commit":"0a0414b76a34ad1f72b0b406fe91b216170f2c9f","subject":"Split debug output into 4 files","message":"Split debug output into 4 files\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -13,7 +13,14 @@\n     FS=\"\\t\"\n     OFS=\"\\t\"\n     print \"Sortkey\\tTitle\\tSeasons\\tEpisodes\\tDuration\\tYear(s)\\tRating\\tDescription\"\n-    print \"Type\\t#\\tSortkey\\tURL\\tshowTitle\\tepisodeTitle\\tYear(s)\" > \"debug.csv\"\n+    # For debugging variations in seasons and episodes format\n+    str = \"date +%y%m%d.%H%M%S\"\n+    str | getline longdate\n+    close str\n+    for ( i = 1; i <= 4; i++ ) {\n+        outfile = \"BBox-scrapes\/c\" i \"-\" longdate \".csv\"\n+        print \"Type\\t#\\tSortkey\\tURL\\tshowTitle\\tepisodeTitle\\tYear(s)\" > outfile\n+    }\n }\n \n {\n@@ -43,7 +50,8 @@\n         episodeNumber = substr(fld[nflds-1], 2)\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c1Num += 1\n-        printf (\"c1\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c1Num,sortkey,URL,showTitle,episodeTitle,Years) >>\"debug.csv\"\n+        outfile = \"BBox-scrapes\/c1-\" longdate \".csv\"\n+        printf (\"c1\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c1Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     } else if (URL ~ \/_E[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/35_Hours_E1_26129\n         # 35 Hours, Episode 1\n@@ -51,7 +59,8 @@\n         episodeNumber = substr(fld[nflds-1], 2)\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c2Num += 2\n-        printf (\"c2\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c2Num,sortkey,URL,showTitle,episodeTitle,Years) >>\"debug.csv\"\n+        outfile = \"BBox-scrapes\/c2-\" longdate \".csv\"\n+        printf (\"c2\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c2Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     } else if (URL ~ \/Episode_[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/Episode_5_26089\n         # Season 4, Episode 5\n@@ -59,14 +68,16 @@\n         episodeNumber = substr(fld[nflds-1], 1)\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c3Num += 3\n-        printf (\"c3\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c3Num,sortkey,URL,showTitle,episodeTitle,Years) >>\"debug.csv\"\n+        outfile = \"BBox-scrapes\/c3-\" longdate \".csv\"\n+        printf (\"c3\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c3Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     } else {\n         URL ~ \/^\\\/us\\\/movie\\\/\/ ? showtype = \"M\" : showtype = \"E\"\n         # \/us\/episode\/Orkneys_Stone_Age_Temple_7144\n         # A History of Ancient Britain Special, Orkney's Stone Age Temple\n         sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n         c4Num += 4\n-        printf (\"c4\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c4Num,sortkey,URL,showTitle,episodeTitle,Years) >>\"debug.csv\"\n+        outfile = \"BBox-scrapes\/c4-\" longdate \".csv\"\n+        printf (\"c4\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c4Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     }\n \n     # Convert duration from minutes to HMS\n"}
{"commit":"0af1286da7bc43d9a6bb2e6facdd7cc1f89fd3df","subject":"Improving c2 but a few specials remaining","message":"Improving c2 but a few specials remaining\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -41,6 +41,7 @@\n     Description = $10\n     showtype = \"S\"\n \n+    shortURL = URL\n     if (match (episodeTitle, \/^Season [[:digit:]]+|^Series [[:digit:]]+\/))\n         episodeSeason = substr(episodeTitle,8,RLENGTH-7)\n     else\n@@ -56,7 +57,6 @@\n         # Give precedence to season number in episodeTitle over season number in URL \n         if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n             revisedSeasons1 += 1\n-            shortURL = URL\n             sub (\/^\\\/us\\\/episode\\\/\/,\"\",shortURL)\n             printf (\"==> Fixed c1 season: %02d-%02d\\t%s\\t%s\\n\", \\\n                     seasonNumber, episodeSeason, shortURL, episodeTitle) >> ERROR_FILE\n@@ -70,7 +70,12 @@\n         # \/us\/episode\/35_Hours_E1_26129\n         # 35 Hours, Episode 1\n         revisedSeasons2 += 1\n-        seasonNumber = \"99\"\n+        episodeSeason = Years\n+        if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n+            printf (\"==> Fixed c2 season: %02d-%02d\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, shortURL, episodeTitle) >> ERROR_FILE\n+            seasonNumber = episodeSeason\n+        }\n         episodeNumber = substr(fld[nflds-1], 2)\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c2Num += 1\n"}
{"commit":"af01fdb6e02ffe1a04fb53ab325f62dccacdb7d7","subject":"comments","message":"comments\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/label_dot_edge.awk\n+++ scripts\/label_dot_edge.awk\n@@ -1,16 +1,16 @@\n #! \/usr\/bin\/gawk -f\n \n # label_dot_edge.awk\n-# example:\n+# Attempts to augment opaque ontological terms with their current label\n+# example usage:\n # label_dot_edge.awk predicate_curie_term_label.tab  in.dot > out.dot\n #\n+# Arguments: two files\n # Loads the first file as a map from terms to labels:\n # (expects: [namespace:]<tab><term><tab><label>[<tab><whatever>])\n-# the first set was generated via cypher queries agains whr scigerph (neo4j)\n-# instance loaded with the ontologies we use.\n-\n- \n-# In the second Graphviz digraph dot format file:\n+# the first set was generated via cypher queries against our scigraph\n+# (neo4j) instance loaded with the ontologies we use.\n+# Reads the second Graphviz digraph dot format file:\n # looks for <term> as edge-text \n # and appends \"! <label> (Iff <term> is found in map)\n # note: This \"<term> ! <label>\" structure is a convention used by Ontologists.\n"}
{"commit":"2daacc035f4f229b6da702f29414411bcc891aae","subject":"Languages: add Oriya script","message":"Languages: add Oriya script\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1582,6 +1582,7 @@\n     case \"Latn\": return \"Latin\"\n     case \"Mlym\": return \"Malayalam\"\n     case \"Mymr\": return \"Myanmar\"\n+    case \"Orya\": return \"Oriya\"\n     case \"Sinh\": return \"Sinhala\"\n     case \"Taml\": return \"Tamil\"\n     case \"Telu\": return \"Telugu\"\n"}
{"commit":"de5d2d735003bc5b8912360a2bc03a983f37483e","subject":"Languages: mark as stable: Luxembourgish","message":"Languages: mark as stable: Luxembourgish\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -192,8 +192,7 @@\n     Locale[\"ku\"][\"glotto\"]             = \"kurd1259\"\n     Locale[\"ku\"][\"script\"]             = \"Latn\"\n \n-    #? Luxembourgish\n-    Locale[\"lb\"][\"support\"]            = \"unstable\"\n+    # Luxembourgish\n     Locale[\"lb\"][\"name\"]               = \"Luxembourgish\"\n     Locale[\"lb\"][\"endonym\"]            = \"L\u00ebtzebuergesch\"\n     #Locale[\"lb\"][\"translations-of\"]\n"}
{"commit":"7047ce459b8b18e4320b077ab809fc69b2064d02","subject":"Fixed problem of BSD awk returning -0 from 10 % 5.","message":"Fixed problem of BSD awk returning -0 from 10 % 5.\n\ndarcs-hash:20060228153855-65a35-bda8dcdb283315c33c9b00b1290057437185821d.gz\n","repos":"BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -411,7 +411,9 @@\n       if (h < 0)\n \tcontinue;\n \n-      for (j = h % MC_HASH_SIZE; j in header_hash;) {\n+      j = h % MC_HASH_SIZE; if (j == -0) j = 0;\n+\n+      for (; j in header_hash;) {\n \tif (++j == MC_HASH_SIZE) {\n \t  j = 0;\n \t}\n"}
{"commit":"dd71169d05a2364839382a2809015aceab6de14c","subject":"Fix bug","message":"Fix bug\n","repos":"holzman\/glideinwms-old,bbockelm\/glideinWMS,holzman\/glideinwms-old,holzman\/glideinwms-old,bbockelm\/glideinWMS,bbockelm\/glideinWMS,bbockelm\/glideinWMS","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- creation\/web_base\/parse_starterlog.awk\n+++ creation\/web_base\/parse_starterlog.awk\n@@ -1,5 +1,6 @@\n BEGIN {\n   year=strftime(\"%Y\");\n+  starttime=0;\n   ended_jobs=0;\n   total_used=0;\n   goodputZ=0;\n@@ -41,10 +42,10 @@\n     }    \n   }\n   shadow=$(changenr+3);\n-  shadow=substr(shadow,3,length(shadow)-4)\n+  shadow=substr(shadow,2,length(shadow)-2)\n   #print  $1,$2,\"Shadow:\",shadow\n }\n-\/ Starting .* job with ID \/{\n+\/ Starting .* job with ID: \/{\n   # 7\/17 10:42:21 (pid:26855) Starting a VANILLA universe job with ID: 40.0\n   # \n   for (i=1; i<NF; i++) {\n@@ -92,8 +93,14 @@\n   if (ended<starttime) { # around new year\n     ended=convert_date(year+1,$1,$2);\n   }\n-  joblength=ended-starttime;\n-  \n+\n+  if (starttime>0) {\n+    joblength=ended-starttime;\n+  } else {\n+    # protect from incomplete data\n+    joblength=0;\n+  }\n+\n   ended_jobs++;\n   total_used+=joblength;\n \n@@ -117,6 +124,7 @@\n   # cleanup, so it is not reused by accident\n   jid=\"\";\n   shadow=\"\";\n+  starttime=0;\n }\n \n ########################################################################  \n"}
{"commit":"ff8b3d44bf94964074ed6a9f140356094ee0c7ff","subject":"new: vendor id for Apple Inc.","message":"new: vendor id for Apple Inc.\n","repos":"farjump\/fwtr,farjump\/fwtr","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- scripts\/lib\/awk\/fwts\/bios_info.awk\n+++ scripts\/lib\/awk\/fwts\/bios_info.awk\n@@ -106,6 +106,10 @@\n   vendor = tolower(vendor);\n \n   switch (vendor) {\n+    # Apple Inc.\n+    case \/apple\/:\n+      return \"apple\";\n+\n     # Phoenix Technologies Ltd.\n     case \/phoenix\/:\n       return \"phoenix\"\n"}
{"commit":"cad0685ddd8560ba9cc20e303d77b54b0912813b","subject":"add awk program","message":"add awk program\n","repos":"CORDEA\/extract-sequences","returncode":0,"stderr":"unknown","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"c08fde42c507af04f6d4f506cff6379be42ecfe6","subject":"Print last two lines in Avg","message":"Print last two lines in Avg\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAvg.awk\n+++ getAvg.awk\n@@ -20,3 +20,6 @@\n     printf (\"%s\\t%s\\t%s\\t%s\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",\n             $1,$2,$3,$4,eplen,$5,$6,$7,$8,$9)\n }\n+\n+\/^Non-blank values\/ || \/^Total seasons & episodes\/ { print }\n+\n"}
{"commit":"7980550deb383027d89c91257b592146653e6dad","subject":"Do not check nisas","message":"Do not check nisas\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/rdf-nt.awk\n+++ misc\/rdf-nt.awk\n@@ -25,7 +25,7 @@\n     nsenses = split($3, senses, \", \");\n     nisas   = split($5, isas,   \", \");\n \n-    if (nsenses == 0 || nisas == 0) next;\n+    if (nsenses == 0) next;\n \n     print \"<\" URN \"c\" $1 \">\", TYPE,  CONCEPT,            \".\";\n     print \"<\" URN \"c\" $1 \">\", LABEL, \"\\\"synset\" $1 \"\\\"\", \".\";\n"}
{"commit":"a902086856681a8ea1af8e42b88b0e7bbe409192","subject":"Translators\/BingTranslator: fix for Hmong Daw","message":"Translators\/BingTranslator: fix for Hmong Daw\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -226,6 +226,7 @@\n     # See: <https:\/\/docs.microsoft.com\/en-us\/azure\/cognitive-services\/Translator\/language-support>\n     if (_sl == \"auto\")  _sl = \"auto-detect\"\n     if (_sl == \"tl\")    _sl = \"fil\" # Bing uses 'fil' for Filipino\n+    if (_sl == \"hmn\")   _sl = \"mww\" # Bing uses 'mww' for Hmong Daw\n     if (_sl == \"no\")    _sl = \"nb\"  # Bing uses Norwegian Bokm\u00e5l\n     # Bing uses 'pt' or 'pt-br' for Brazilian Portuguese, 'pt-pt' for European Portuguese\n     if (_sl == \"pt-BR\") _sl = \"pt\" # just pt-br\n@@ -233,6 +234,7 @@\n     if (_sl == \"zh-CN\") _sl = \"zh-Hans\"\n     if (_sl == \"zh-TW\") _sl = \"zh-Hant\"\n     if (_tl == \"tl\")    _tl = \"fil\"\n+    if (_tl == \"hmn\")   _tl = \"mww\"\n     if (_tl == \"no\")    _tl = \"nb\"\n     if (_tl == \"pt-BR\") _tl = \"pt\"\n     else if (_tl == \"pt-PT\") _tl = \"pt-pt\"\n"}
{"commit":"d637d4391f94e5d4a3c47055304c6e117c2862bb","subject":"Improve wording re bad durations","message":"Improve wording re bad durations\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -171,11 +171,11 @@\n     split ($0,fld,\"\\\"\")\n     # broken times in Jamaica Inn (may be temporary)\n     if (episodeURL ~ \/\\\/jamaicainn\\\/\/ && fld[4] == \"T-1M57S\") {\n-        printf (\"==> Bad duration: %s  %s\\n\", episodeURL, fld[4]) >> ERROR_FILE\n+        printf (\"==> Corrected duration: %s  %s\\n\", episodeURL, fld[4]) >> ERROR_FILE\n         fld[4] = \"T59M18S\"\n     }\n     if (episodeURL ~ \/\\\/jamaicainn\\\/bonus\\\/cast-and-crew-interviews\/ && fld[4] = \"T09M08S\") {\n-            printf (\"==> Bad duration: %s  %s\\n\", episodeURL, fld[4]) >> ERROR_FILE\n+            printf (\"==> Corrected duration: %s  %s\\n\", episodeURL, fld[4]) >> ERROR_FILE\n         fld[4] = \"T25M54S\"\n     }\n     split (fld[4],tm,\/[TMS]\/)\n"}
{"commit":"e85187e7b44481bb1a6781b4734f57ecb81ae146","subject":"dbcreate.csh -gld_has_db_fullpath now creates mumps.gld file with a pointer to corresponding mumps.repl file (#270)","message":"dbcreate.csh -gld_has_db_fullpath now creates mumps.gld file with a pointer to corresponding mumps.repl file (#270)\n\n","repos":"nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest,nars1\/YottaDBtest","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- com\/dbcreate_multi.awk\n+++ com\/dbcreate_multi.awk\n@@ -245,6 +245,8 @@\n \t    }\n \t    }\n       }\n+      if (value[\"gld_has_db_fullpath\"])\n+          print \"change -instance -file_name=\" ENVIRON[\"PWD\"] \"\/mumps.repl\"\n \n       print \"\\\\_GDE_EOF\"\n       print \"$gtm_tst\/com\/usesprgde.csh >> dbcreate.gde\"\n"}
{"commit":"0881e6a15734405e8d8135d9e0c9496d7dd0d701","subject":"SCCS mkdoc.awk 11\/01\/24 00:08:28: Updated Copyright","message":"SCCS mkdoc.awk 11\/01\/24 00:08:28: Updated Copyright\n","repos":"phorward\/phorward,phorward\/phorward","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- run\/mkdoc.awk\n+++ run\/mkdoc.awk\n@@ -1,6 +1,6 @@\n #-------------------------------------------------------------------------------\n # Phorward Software Development Kit\n-# Copyright (C) 2009, 2010 by Phorward Software Technologies, Jan Max Meyer\n+# Copyright (C) 2009-2011 by Phorward Software Technologies, Jan Max Meyer\n # http:\/\/www.phorward-software.com ++ contact<at>phorward<dash>software<dot>com\n # All rights reserved. See $PHOME\/LICENSE for more information.\n #\n"}
{"commit":"f1340e513b746868b31fd9d19447093e6f90f0c1","subject":"Use FILENAME built-in variable.","message":"Use FILENAME built-in variable.\n","repos":"xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- CASE-MAPPING.awk\n+++ CASE-MAPPING.awk\n@@ -22,8 +22,7 @@\n # 02111-1307, USA.\n \n BEGIN {\n-  FS = \";\";\n-  FILE = 1;\n+  FS = \"[ \\t]*;[ \\t]*\";\n }\n \n function mtext (str) {\n@@ -39,24 +38,21 @@\n   printf (\" \");\n }\n \n-FILE == 1 && \/^[^\\#]\/ && NF == 5 {\n-  printf (\"0x%s ( \", $1);\n-  mtext ($2);\n-  mtext ($3);\n-  mtext ($4);\n-  printf (\")\\n\");\n-  X[$1] = 1;\n-  next;\n+\/^[^\\#]\/ {\n+  if (FILENAME == \"UNIDATA\/SpecialCasing.txt\" && NF == 5) {\n+    printf (\"0x%s ( \", $1);\n+    mtext ($2);\n+    mtext ($3);\n+    mtext ($4);\n+    printf (\")\\n\");\n+    X[$1] = 1;\n+  }\n+\n+  else if (($13 || $14 || $15) && ! X[$1]) {\n+    if (! $13) $13 = $1;\n+    if (! $14) $14 = $1;\n+    if (! $15) $15 = $1;\n+    printf (\"0x%s ( \\\"\\\\u%s\\\" \\\"\\\\u%s\\\" \\\"\\\\u%s\\\" )\\n\",\n+\t    $1, $14, $15, $13);\n+  }\n }\n-\n-\/^0000;\/ {\n-  FILE = 2;\n-}\n-\n-FILE == 2 && \/^[^\\#]\/ && ($13 || $14 || $15) && ! X[$1] {\n-  if (! $13) $13 = $1;\n-  if (! $14) $14 = $1;\n-  if (! $15) $15 = $1;\n-  printf (\"0x%s ( \\\"\\\\u%s\\\" \\\"\\\\u%s\\\" \\\"\\\\u%s\\\" )\\n\",\n-\t  $1, $14, $15, $13);\n-}\n"}
{"commit":"02b624d7336022afc8c964c651ee7ddcb154edfb","subject":"Fix awk lint #chunks","message":"Fix awk lint #chunks\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- chunks\/chunks.awk\n+++ chunks\/chunks.awk\n@@ -5,5 +5,7 @@\n #\n # sub(regexp, replacement [, target])\n \n-print \"something\" > \"\/dev\/stderr\"\n+{\n+  print \"something\" > \"\/dev\/stderr\"\n+}\n \n"}
{"commit":"0242ad5fbdb9b5da859a9681fa9798ca53b5f676","subject":"Deleted awk script (old dependency)","message":"Deleted awk script (old dependency)","repos":"CrafterSvK\/spotify-lyrics","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- spotify_song.awk\n+++ spotify_song.awk\n@@ -1,23 +0,0 @@\n-\/string  *\"xesam:artist\/{\n-    while (1) {\n-        getline line\n-        if (line ~ \/string \"\/) {\n-            sub(\/.*string \"\/, \"artist:\", line)\n-            sub(\/\".*$\/, \"\", line)\n-            print line\n-            break\n-        }\n-    }\n-}\n-\/string  *\"xesam:title\/{\n-    while(1) {\n-        getline line\n-        if (line ~ \/string \"\/) {\n-            sub(\/.*string \"\/, \"title:\", line)\n-            sub(\/\".*$\/, \"\", line)\n-            print line\n-            break\n-        }\n-    }\n-}\n-\n"}
{"commit":"cdc4e0e2c9ccb461ef2be5870b668a8b389c284d","subject":"HvD: The SVN Id: string looks a little bit different from the CVS one. However, we cannot dispose of the CVS one as this appears in a quite a few Global Array files.  So I simply added a special set of commands to deal with SVN Id: strings to ensure they are properly extracted.","message":"HvD: The SVN Id: string looks a little bit different from the CVS one. However, we\ncannot dispose of the CVS one as this appears in a quite a few Global Array files. \nSo I simply added a special set of commands to deal with SVN Id: strings to ensure\nthey are properly extracted.\n\n\n\n\n","repos":"rangsimanketkaew\/NWChem","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/util\/ids.awk\n+++ src\/util\/ids.awk\n@@ -2,7 +2,8 @@\n # This script is used by the makefile in building util_version.f.\n # It expects on standard input lines containing\n #\n-# a CVS ID    -> produce a write statement with the ID\n+# a CVS ID    -> produce a write statement with the ID (\"Exp\" at the end)\n+# a SVN ID    -> produce a write statement with the ID (no \"Exp\" at the end)\n # module name -> produce a write statement for the module name\n # other       -> produce nothing\n # \n@@ -33,6 +34,13 @@\n \t\t\t\t printf(\"      write(6,*) ' %s'\\n\",substr($0,i,n));\n \t\t\t\t}\n \n+\/\\$\\I\\d: [^\\n]* \\$\/\t\t{\n+\t\t\t\t i = index($0, \"$Id: \") + 5;\n+\t\t\t\t n = index(substr($0,i), \" $\") - 1;\n+\t\t\t\t if (n > (72 - 20)) n = 72 - 20;\n+\t\t\t\t printf(\"      write(6,*) ' %s'\\n\",substr($0,i,n));\n+\t\t\t\t}\n+\n END {\n \t\tprintf(\"      write(6,*)\\n\");\n \t\tprintf(\"      call util_flush(6)\\n\");\n"}
{"commit":"4e4d12772baf4b0f0edf403866359490576d426e","subject":"For now, comment out the broken part","message":"For now, comment out the broken part\n","repos":"ysat0\/uClibc,foss-xtensa\/uClibc,czankel\/xtensa-uclibc,mephi42\/uClibc,groundwater\/uClibc,ndmsystems\/uClibc,gittup\/uClibc,m-labs\/uclibc-lm32,majek\/uclibc-vx32,kraj\/uClibc,brgl\/uclibc-ng,kraj\/uclibc-ng,kraj\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,hwoarang\/uClibc,mephi42\/uClibc,ysat0\/uClibc,skristiansson\/uClibc-or1k,ysat0\/uClibc,ChickenRunjyd\/klee-uclibc,ffainelli\/uClibc,ysat0\/uClibc,czankel\/xtensa-uclibc,klee\/klee-uclibc,skristiansson\/uClibc-or1k,waweber\/uclibc-clang,OpenInkpot-archive\/iplinux-uclibc,m-labs\/uclibc-lm32,mephi42\/uClibc,ChickenRunjyd\/klee-uclibc,groundwater\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ddcc\/klee-uclibc-0.9.33.2,ndmsystems\/uClibc,kraj\/uClibc,hjl-tools\/uClibc,kraj\/uClibc,czankel\/xtensa-uclibc,foss-xtensa\/uClibc,OpenInkpot-archive\/iplinux-uclibc,wbx-github\/uclibc-ng,klee\/klee-uclibc,OpenInkpot-archive\/iplinux-uclibc,groundwater\/uClibc,gittup\/uClibc,ddcc\/klee-uclibc-0.9.33.2,m-labs\/uclibc-lm32,waweber\/uclibc-clang,wbx-github\/uclibc-ng,ndmsystems\/uClibc,gittup\/uClibc,groundwater\/uClibc,brgl\/uclibc-ng,hwoarang\/uClibc,majek\/uclibc-vx32,ffainelli\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,kraj\/uClibc,wbx-github\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,foss-xtensa\/uClibc,hwoarang\/uClibc,hjl-tools\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,gittup\/uClibc,skristiansson\/uClibc-or1k,ffainelli\/uClibc,groundwater\/uClibc,hjl-tools\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,ndmsystems\/uClibc,czankel\/xtensa-uclibc,ffainelli\/uClibc,klee\/klee-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,skristiansson\/uClibc-or1k,klee\/klee-uclibc,brgl\/uclibc-ng,waweber\/uclibc-clang,mephi42\/uClibc,brgl\/uclibc-ng,atgreen\/uClibc-moxie,ChickenRunjyd\/klee-uclibc,wbx-github\/uclibc-ng,waweber\/uclibc-clang,m-labs\/uclibc-lm32,hwoarang\/uClibc,foss-xtensa\/uClibc,hjl-tools\/uClibc,atgreen\/uClibc-moxie,ChickenRunjyd\/klee-uclibc,hjl-tools\/uClibc,kraj\/uclibc-ng,majek\/uclibc-vx32,kraj\/uclibc-ng,atgreen\/uClibc-moxie,majek\/uclibc-vx32,atgreen\/uClibc-moxie","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- extra\/scripts\/initfini.awk\n+++ extra\/scripts\/initfini.awk\n@@ -19,12 +19,12 @@\n     if(\/\\.align\/) {alignval=$2}\n # here comes some special stuff for the SuperH targets\n # Search for all labels\n-    if(\/_GLOBAL_OFFSET_TABLE_\/) {\n-      sub (\":\",\"\",last);\n-      glb_label[glb_idx] = last;\n-      glb_idx += 1;\n-      glb = $0;\n-    }\n+#    if(\/_GLOBAL_OFFSET_TABLE_\/) {\n+#      sub (\":\",\"\",last);\n+#      glb_label[glb_idx] = last;\n+#      glb_idx += 1;\n+#      glb = $0;\n+#    }\n     last = $1;\n   }\n   close(\"initfini.s\");\n"}
{"commit":"91d2250fc75df2a332c61e9ea63a6968cd12caae","subject":"parsegaspriceshtml.awk: Updated to work with changed simpler HTML.","message":"parsegaspriceshtml.awk: Updated to work with changed simpler HTML.\n\nThey use to have tricky image offsets for the price.\nThey recently changed that to plain text. Thanks!\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -13,11 +13,9 @@\n    ai[i]=0\n }\n \n-inGasPriceRecord && \/<div class=\"sp_p\">\/ {\n-   sub(\"<div class=\\\"pd\\\">\",\"<div class=\\\"p.\\\">\")\n-   gsub(\"\\\"><\/div><div class=\\\"p\",\"\")\n-   sub(\"^.*<div class=\\\"sp_p\\\"><div class=\\\"p\",\"\")\n-   sub(\"\\\"><\/div><\/div>.*$\",\"\")\n+inGasPriceRecord && \/<div class=\"price_num\"[^>]*>\/ {\n+   sub(\"^.*<div class=\"price_num\"[^>]*>\",\"\")\n+   sub(\"<\/div>.*$\",\"\")\n    # print\n    price[i]=$0\n }\n"}
{"commit":"8e0ae047232df95fee0e23631e193e6857981184","subject":"addr_utils.awk\t\t-- fixed awkward comment","message":"addr_utils.awk\t\t-- fixed awkward comment\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -105,7 +105,7 @@\n \t# Street should be num [ dir ] str [ st ]\n \tstreet = ary2[1]\n \tif(options[\"do_subs\"]){\n-\t\t# This is amusing.  What is South Court? Is is S. Court or South Ct.  No idea so, leave such streets in long form\n+\t\t# This is amusing.  What is South Court? Is is S. Court or South Ct.  No idea so leave such streets in long form\n \t\tif(nf2 == 3 && (ary2[2] in dirs) && (ary2[3] in st_types)){\n \t\t\tfor(i = 2; i <= nf2; i++)\n \t\t\t\tstreet = street \" \" ary2[i]\n"}
{"commit":"581177a03937bfddebb8a27bcc815a7ffe2b2fce","subject":"MONDRIAN: Strict checks that Pentaho copyright is up to date; looks for spaces     after 'static' etc.","message":"MONDRIAN: Strict checks that Pentaho copyright is up to date; looks for spaces\n    after 'static' etc.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian\/\": change = 15005]\n","repos":"rfellows\/mondrian,pedrofvteixeira\/mondrian,nextelBIS\/mondrian,bmorrise\/mondrian,syncron\/mondrian,AvinashPD\/mondrian,ivanpogodin\/mondrian,Seiferxx\/mondrian,citycloud-bigdata\/mondrian,sayanh\/mondrian,cesarmarinhorj\/mondrian,lgrill-pentaho\/mondrian,openedbox\/mondrian,cocosli\/mondrian,nextelBIS\/mondrian,OSBI\/mondrian,julianhyde\/mondrian,OSBI\/mondrian,AvinashPD\/mondrian,bmorrise\/mondrian,citycloud-bigdata\/mondrian,wetet2\/mondrian,stiberger\/mondrian,citycloud-bigdata\/mondrian,sayanh\/mondrian,openedbox\/mondrian,syncron\/mondrian,cocosli\/mondrian,pentaho\/mondrian,cesarmarinhorj\/mondrian,mdamour1976\/mondrian,pedrofvteixeira\/mondrian,openedbox\/mondrian,wetet2\/mondrian,syncron\/mondrian,dkincade\/mondrian,wetet2\/mondrian,cocosli\/mondrian,sayanh\/mondrian,dkincade\/mondrian,mustangore\/mondrian,ivanpogodin\/mondrian,nextelBIS\/mondrian,stiberger\/mondrian,OSBI\/mondrian,pentaho\/mondrian,julianhyde\/mondrian,mustangore\/mondrian,Seiferxx\/mondrian,mdamour1976\/mondrian,lgrill-pentaho\/mondrian,AvinashPD\/mondrian,truvenganong\/mondrian,pedrofvteixeira\/mondrian,bmorrise\/mondrian,pentaho\/mondrian,cesarmarinhorj\/mondrian,mustangore\/mondrian,ivanpogodin\/mondrian,stiberger\/mondrian,preisanalytics\/mondrian,dkincade\/mondrian,preisanalytics\/mondrian,rfellows\/mondrian,truvenganong\/mondrian,mdamour1976\/mondrian,truvenganong\/mondrian,preisanalytics\/mondrian,Seiferxx\/mondrian,lgrill-pentaho\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -248,7 +248,9 @@\n     prevImport = thisImport;\n     prevImportGroup = importGroup;\n }\n-\/^\\\/\\\/ Copyright .* Julian\/ && strict > 1 {\n+\/^\\\/\\\/ Copyright .* Pentaho\/ && strict > 1 {\n+    # We assume that '--strict' is only invoked on files currently being\n+    # edited. Therefore we would expect the copyright to be current.\n     if ($0 !~ \/-2012\/) {\n         error(fname, FNR, \"copyright is not current\");\n     }\n@@ -257,22 +259,22 @@\n     # Order of qualifiers: \"public\/private\/protected static final abstract class ...\"\n     s2 = s;\n     gsub(\/\\(.*$\/, \"\", s2);\n-    if (s2 ~ \/abstract .*final\/) {\n+    if (s2 ~ \/abstract .*final \/) {\n         error(fname, FNR, \"'final' must come before 'abstract'\");\n     }\n-    if (s2 ~ \/final .*static\/) {\n+    if (s2 ~ \/final .*static \/) {\n         error(fname, FNR, \"'static' must come before 'final'\");\n     }\n-    if (s2 ~ \/abstract .*static\/) {\n+    if (s2 ~ \/abstract .*static \/) {\n         error(fname, FNR, \"'static' must come before 'abstract'\");\n     }\n-    if (s2 ~ \/static .*(public|protected|private)\/) {\n+    if (s2 ~ \/static .*(public|protected|private) \/) {\n         error(fname, FNR, \"'public\/private\/protected' must come before 'static'\");\n     }\n-    if (s2 ~ \/final .*(public|protected|private)\/) {\n+    if (s2 ~ \/final .*(public|protected|private) \/) {\n         error(fname, FNR, \"'public\/private\/protected' must come before 'final'\");\n     }\n-    if (s2 ~ \/abstract .*(public|protected|private)\/) {\n+    if (s2 ~ \/abstract .*(public|protected|private) \/) {\n         error(fname, FNR, \"'public\/private\/protected' must come before 'abstract'\");\n     }\n }\n"}
{"commit":"9c21290da3f63b9b8ee165040255a04620e341e7","subject":"Dredge out edge drawing common to loops and edges between nodes.","message":"Dredge out edge drawing common to loops and edges between nodes.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -78,6 +78,40 @@\n \tprint \"enddef;\";\n \n \n+\tprint \"vardef fsmedge(expr tail, head, e, lab) =\";\n+\n+\tprint \"\tdrawarrow e withpen pencircle scaled 1bp;\";\n+\n+\tprint \"\tif lab <> \\\"\\\":\"\n+\tprint \"\t\tpair bl;\";\n+\tprint \"\t\tpair ml; ml := .5[tail, head];\"\n+\n+\t# TODO: new idea; draw right angle from midpoint, and use that to find intersection with b\n+\t# this way it should always align for multiple edges, even if on a slant\n+\n+\tprint \"\t\tdraw point (length b \/ 2) of b withpen pencircle scaled 4bp withcolor blue;\"\n+#\tprint \"\t\tdraw tail -- head withpen pencircle scaled 1bp withcolor green;\"\n+#\tprint \"\t\tdraw ml withpen pencircle scaled 5bp withcolor green;\"\n+\n+\tprint \"\t\tbl := point (length b \/ 2) of b;\"\n+\n+\t# TODO: plus label delta, distancing it from point. make a label function\n+\t# TODO: maybe an \"extend\" function, to extend a path in its direction. use dotprod for that?\n+\n+\t# lft | rt | top | bot | ulft | urt | llft | lrt\n+\t# TODO: round label coordinates to grid? quantize rather\n+\n+\t# labels ought to be below, if they're below the straight line from head-tail, or above otherwise\n+\t# TODO: find what quadrant the line is, and make this .rt\/.lft instead of .top\/.bot\n+\tprint \"\t\tif ypart bl < ypart ml:\" # TODO: threshold for considering \"below\"\n+\tprint \"\t\t\tlabel.bot(lab, bl shifted (0, -3bp));\"\n+\tprint \"\t\telse:\"\n+\tprint \"\t\t\tlabel.top(lab, bl shifted (0, +3bp));\"\n+\tprint \"\t\tfi;\"\n+\tprint \"\tfi;\"\n+\n+\tprint \"enddef;\";\n+\n \tprint \"vardef fsmloop(expr node, diam, p, q, lab, loops) =\"\n \tprint \"\tpath pp; pp = node -- 0.5[p, q];\"\n \tprint \"\tdraw p -- q withpen pencircle scaled 0.5bp withcolor green;\"\n@@ -87,17 +121,12 @@\n \t# extend loop 1.25 * diameter\n \t# count number of self-loops for this node, and increment extension\n \tprint \"\tl := length pp;\"\n-\tprint \"\tpair m; m := (0.5 + 2 * mlog(loops + 1) \/ 256) * diam * unitvector(direction l of pp) shifted node;\"\n+\tprint \"\tpair m; m := (0.5 + 2 * mlog(loops + 2) \/ 256) * diam * unitvector(direction l of pp) shifted node;\"\n \t# u3 = u1 projectedalong u2;\n \tprint \"\tdraw node -- m withpen pencircle scaled 0.5bp withcolor green;\"\n \n-\tprint \"\tif lab <> \\\"\\\":\"\n-\t# TODO: top or bottom, depending on green line direction\n-\tprint \"\t\tlabel.top(lab, m);\"\n-\tprint \"\tfi;\"\n-\n \tprint \"\tpath b; b := node .. q .. m .. p .. node;\"\n-\tprint \"\tdrawarrow b cutbefore q cutafter p withpen pencircle scaled 1bp;\";\n+\tprint \"\tfsmedge(node, node, b cutbefore q cutafter p, lab);\"\n \n \tprint \"enddef;\";\n \n@@ -114,48 +143,15 @@\n \tprint \"\tif head = tail:\"\n \tprint \"\t\tfsmloop(head, headdiam, p, q, lab, loops);\"\n \tprint \"\telse:\"\n-\n \tprint \"\t\tpath b; b = tail .. q .. p .. head;\"\n-\n \t# TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n \t# this affects NFA especially\n+\t# XXX: or (arclength b > 6in), but wigglyness would be a better metric\n \tprint \"\t\tr := arclength b \/ arclength e;\";\n-\tprint \"\t\tboolean g; g := (r > 1.02) or (r < 0.93);\"; # XXX: or (arclength b > 6in);\"; - no, wigglyness instead\n-\n-\tprint \"\t\tif g:\"\n+\tprint \"\t\tif (r > 1.02) or (r < 0.93):\";\n \tprint \"\t\t\tb := e;\"\n \tprint \"\t\tfi;\"\n-\n-\tprint \"\t\tif lab <> \\\"\\\":\"\n-\tprint \"\t\t\tpair bl;\";\n-\tprint \"\t\t\tpair ml; ml := .5[tail, head];\"\n-\n-\t# TODO: new idea; draw right angle from midpoint, and use that to find intersection with b\n-\t# this way it should always align for multiple edges, even if on a slant\n-\n-\tprint \"\t\t\tdraw point (length b \/ 2) of b withpen pencircle scaled 4bp withcolor blue;\"\n-#\tprint \"\t\t\tdraw tail -- head withpen pencircle scaled 1bp withcolor green;\"\n-#\tprint \"\t\t\tdraw ml withpen pencircle scaled 5bp withcolor green;\"\n-\n-\tprint \"\t\t\tbl := point (length b \/ 2) of b;\"\n-\n-\t# TODO: plus label delta, distancing it from point. make a label function\n-\t# TODO: maybe an \"extend\" function, to extend a path in its direction. use dotprod for that?\n-\n-\t# lft | rt | top | bot | ulft | urt | llft | lrt\n-\t# TODO: round label coordinates to grid? quantize rather\n-\n-\t# labels ought to be below, if they're below the straight line from head-tail, or above otherwise\n-\t# TODO: find what quadrant the line is, and make this .rt\/.lft instead of .top\/.bot\n-\tprint \"\t\t\tif ypart bl < ypart ml:\" # TODO: threshold for considering \"below\"\n-\tprint \"\t\t\t\tlabel.bot(lab, bl shifted (0, -3bp));\"\n-\tprint \"\t\t\telse:\"\n-\tprint \"\t\t\t\tlabel.top(lab, bl shifted (0, +3bp));\"\n-\tprint \"\t\t\tfi;\"\n-\tprint \"\t\tfi;\"\n-\n-\tprint \"\tdrawarrow b cutbefore q cutafter p withpen pencircle scaled 1bp;\";\n-\n+\tprint \"\t\tfsmedge(tail, head, b cutbefore q cutafter p, lab);\"\n \tprint \"\tfi;\"\n \n \tprint \"enddef;\";\n@@ -263,6 +259,8 @@\n \n \t# TODO: find what time (lx,ly) is along graphviz's edge, e\n \t# then pass the time and use that for placing our label on our edge\n+\t# use intersectiontimes to find the time of (lx,ly) along e\n+\t# or find by e cutbefore (lx,ly) and use arctime to find the time wrt e\n \n \tprintf \"fsmgvedge(%s, %s.diam, %s, %s.diam, e, \\\"%s\\\", %s.loops);\", tail, tail, head, head, label, head;\n \n"}
{"commit":"1369e324745e129dc3e86c0a3a2632231b919437","subject":"mmake\/mwg_pp.awk (v2.1): Update.","message":"mmake\/mwg_pp.awk (v2.1): Update.\n","repos":"akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- mmake\/mwg_pp.awk\n+++ mmake\/mwg_pp.awk\n@@ -1474,6 +1474,8 @@\n     print_error(\"could not open the include file '\" file \"'\");\n   close(file);\n \n+  dependency_add(file);\n+\n   _originalFile=m_lineno_cfile;\n   _originalLine=m_lineno_cline;\n   for(_i=0;_i<_n;_i++){\n@@ -1618,7 +1620,7 @@\n   if(m_comment_cpp)\n     sub(\/^\\\/\\\/\/,\"#\",_line);\n   if(m_comment_pragma)\n-    sub(\/^\\#pragma\/,\"#\",_line);\n+    sub(\/^[[:space:]]*\\#[[:space:]]*pragma\/,\"#\",_line);\n   if(m_comment_c&&match(_line,\/^\\\/\\*(.+)\\*\\\/$\/,_cap)>0)\n     _line=\"#\" _cap[1];\n \n@@ -1695,6 +1697,10 @@\n   m_lineno        =int(ENVIRON[\"PPLINENO\"])!=0;\n \n   INCLUDE_DIRECTORY=ENVIRON[\"HOME\"] \"\/.mwg\/mwgpp\/include\"\n+\n+  m_dependency_count=0\n+  m_dependency_guard[\"\"]=1;\n+  m_dependency[0]=\"\";\n }\n \n {\n@@ -1709,4 +1715,35 @@\n   process_line($1);\n }\n \n-END{if(global_errorCount)exit(1);}\n+function dependency_add(file){\n+  if(!m_dependency_guard[file]){\n+    m_dependency_guard[file]=1;\n+    m_dependency[m_dependency_count++]=file;\n+  }\n+}\n+function dependency_generate(output,target, _i,_iMax){\n+  if(!target){\n+    target=m_rfile;\n+    sub(\/\\.pp$\/,\"\",target);\n+    target=target \".out\";\n+  }\n+\n+  if(m_dependency_count==0){\n+    print target \": \" m_rfile > output\n+  }else{\n+    print target \": \" m_rfile \" \\\\\" > output\n+    _iMax=m_dependency_count-1;\n+    for(_i=0;_i<_iMax;_i++)\n+      print \"  \" m_dependency[_i] \" \\\\\" >> output;\n+    print \"  \" m_dependency[_iMax] >> output;\n+  }\n+}\n+\n+END{\n+  # output dependencies\n+  DEPENDENCIES_OUTPUT=ENVIRON[\"DEPENDENCIES_OUTPUT\"];\n+  if(DEPENDENCIES_OUTPUT)\n+    dependency_generate(DEPENDENCIES_OUTPUT,ENVIRON[\"DEPENDENCIES_TARGET\"]);\n+\n+  if(global_errorCount)exit(1);\n+}\n"}
{"commit":"d9860914ea0b23351cc28d542f3fb1a0dfe7d829","subject":"Add usual string functions link to awk #chunks","message":"Add usual string functions link to awk #chunks\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- chunks\/chunks.awk\n+++ chunks\/chunks.awk\n@@ -1,3 +1,7 @@\n \n match($0, \/^mix ([^ ]+) +# +(.*)\/, arr) { print arr[1] \"\\t\" arr[2] }\n \n+# https:\/\/www.gnu.org\/software\/gawk\/manual\/html_node\/String-Functions.html\n+#\n+# sub(regexp, replacement [, target])\n+\n"}
{"commit":"af64dcbb994bf70138c8502d73b3772a589e10c2","subject":"bump version to 0.9.1-dev","message":"bump version to 0.9.1-dev\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- metainfo.awk\n+++ metainfo.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n     Name        = \"Translate Shell\"\n     Description = \"Google Translate to serve as a command-line tool\"\n-    Version     = \"0.9.0.5\"\n+    Version     = \"0.9.1-dev\"\n     ReleaseDate = \"2015-05-29\"\n     Command     = \"trans\"\n     EntryPoint  = \"translate.awk\"\n"}
{"commit":"e5a3790cee7766778f00250be6805bb0caba8bff","subject":"layerman: don't use env to find awk","message":"layerman: don't use env to find awk\n\nlinux and osx treat it differently :(\n\nSigned-off-by: Koen Kooi <42e3d96910f922bdd7dd1805fe3f8aff634f391d@dominion.thruhere.net>\n","repos":"Ambertec\/setup-scripts,wwright2\/angstrom-setup.methode,Angstrom-distribution\/setup-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/layers.awk\n+++ scripts\/layers.awk\n@@ -1,4 +1,4 @@\n-#!\/usr\/bin\/env awk -f\n+#!\/usr\/bin\/awk -f\n \n BEGIN { \n \tFS =\",\";\n"}
{"commit":"ae8e8f3664330480f907302f53f944dc5790548c","subject":"Revert \"ahrf.awk: Enable comment exported to HTML. This is not final\" This reverts commit bf2753dc3852b74d87001eb74526587eb8f87654.","message":"Revert \"ahrf.awk: Enable comment exported to HTML. This is not final\"\nThis reverts commit bf2753dc3852b74d87001eb74526587eb8f87654.\n\nRemove this commit. It is just bloat and it won't be enough used.\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -8,13 +8,6 @@\n \tgsub(\/\\&\/,\"\\\\&amp;\")\n \tgsub(\/<\/,\"\\\\&lt;\")\n \tgsub(\/>\/,\"\\\\&gt;\")\n-}\n-\n-# UGLY WIP\n-\/^[\\t ]*%+\/ {\n-\tgsub(\/^[\\t ]*%+[\\t ]*\/,\"\")\n-\tprintf(\"<!-- %s -->\\n\", $0)\n-\tnext\n }\n \n # h1, h2, h3, h4, h5, h6\n"}
{"commit":"c50e8a2df2e04d9d2c225df0ea648f0501acc250","subject":"CWS-TOOLING: integrate CWS hr75","message":"CWS-TOOLING: integrate CWS hr75","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- sw\/inc\/poolfmt.awk\n+++ sw\/inc\/poolfmt.awk\n@@ -1,15 +1,28 @@\n #*************************************************************************\n-#*\n-#*    $Workfile:        dbgxtor.awk\n-#*\n-#*    Ersterstellung    JP  05.10.95\n-#*    Letzte Aenderung  $Author: hr $ $Date: 2000-09-18 17:14:27 $\n-#*    $Revision: 1.1.1.1 $\n-#*\n-#*    $Logfile:   T:\/sw\/inc\/poolfmt.awv  $\n-#*\n-#*    Copyright (c) 1990-1996, STAR DIVISION\n-#*\n+#\n+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n+# \n+# Copyright 2000, 2010 Oracle and\/or its affiliates.\n+#\n+# OpenOffice.org - a multi-platform office productivity suite\n+#\n+# This file is part of OpenOffice.org.\n+#\n+# OpenOffice.org is free software: you can redistribute it and\/or modify\n+# it under the terms of the GNU Lesser General Public License version 3\n+# only, as published by the Free Software Foundation.\n+#\n+# OpenOffice.org is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU Lesser General Public License version 3 for more details\n+# (a copy is included in the LICENSE file that accompanied this code).\n+#\n+# You should have received a copy of the GNU Lesser General Public License\n+# version 3 along with OpenOffice.org.  If not, see\n+# <http:\/\/www.openoffice.org\/license.html>\n+# for a copy of the LGPLv3 License.\n+#\n #*************************************************************************\n \n #\n"}
{"commit":"d2bcb1639e1f8abde3210f170c28015b264a4bde","subject":"mpers.awk: add support for DWARF version 2 format","message":"mpers.awk: add support for DWARF version 2 format\n\n* mpers.awk: Handle DW_AT_data_member_location in DWARF v2 format.\n","repos":"cuviper\/strace,Distrotech\/strace,Distrotech\/strace,cuviper\/strace,Distrotech\/strace,Saruta\/strace,cuviper\/strace,Distrotech\/strace,Saruta\/strace,Distrotech\/strace,Saruta\/strace,cuviper\/strace,Saruta\/strace,cuviper\/strace,Saruta\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mpers.awk\n+++ mpers.awk\n@@ -158,8 +158,9 @@\n \t}\n }\n \/^DW_AT_data_member_location\/ {\n-\tmatch($0, \/[[:digit:]]+\/, temparray)\n-\tarray[idx][\"location\"] = temparray[0]\n+\tif (!match($0, \/\\(DW_OP_plus_uconst:[[:space:]]+([[:digit:]]+)\\)\/, temparray))\n+\t\tmatch($0, \/([[:digit:]]+)\/, temparray)\n+\tarray[idx][\"location\"] = temparray[1]\n }\n \/^DW_AT_name\/ {\n \tmatch($0, \/:[[:space:]]+([[:alpha:]_][[:alnum:]_[:space:]]*)\/, \\\n"}
{"commit":"c6fc62f22f2a11d456449e955d9b7f4ecf611a50","subject":"s\/CID\/CIS\/","message":"s\/CID\/CIS\/\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/sdmmc\/devlist2h.awk\n+++ dev\/sdmmc\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.1 2006\/06\/01 21:15:40 uwe Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.2 2006\/06\/02 21:16:44 uwe Exp $\n #\t$NetBSD: devlist2h.awk,v 1.2 1998\/07\/22 11:47:13 christos Exp $\n #\n # Copyright (c) 1998, Christos Zoulas\n@@ -122,7 +122,7 @@\n \telse {\n \t\tproducts[nproducts, 4] = \"{ NULL, NULL, NULL, NULL }\"\n \t}\n-\tprintf(\"#define\\tSDMMC_CID_%s_%s\\t%s\\n\",\n+\tprintf(\"#define\\tSDMMC_CIS_%s_%s\\t%s\\n\",\n \t    products[nproducts, 1], products[nproducts, 2],\n \t    products[nproducts, 4]) > hfile\n \tprintf(\"#define\\tSDMMC_PRODUCT_%s_%s\\t%s\\n\", products[nproducts, 1],\n"}
{"commit":"aef8437e8f720aa7805883827c695e3119a66cac","subject":"TINKERPOP-2073 Generate tabs for static code blocks","message":"TINKERPOP-2073 Generate tabs for static code blocks\n","repos":"apache\/tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,krlohnes\/tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop,apache\/incubator-tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,robertdale\/tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,robertdale\/tinkerpop,krlohnes\/tinkerpop,pluradj\/incubator-tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/preprocessor\/awk\/tabify.awk\n+++ docs\/preprocessor\/awk\/tabify.awk\n@@ -63,9 +63,17 @@\n   status = 1\n   lang = gensub(\/^\\[gremlin-([^,\\]]+).*\/, \"\\\\1\", \"g\", $0)\n   code = \"\"\n+  evaluate = 1\n }\n \n-\/^\\[source,(csharp|groovy|java|python)\/ {\n+\/^\\[source,(csharp|groovy|java|javascript|python),tab\\]\/ {\n+  status = 1\n+  lang = gensub(\/^\\[source,([^,\\]]+).*\/, \"\\\\1\", \"g\", $0)\n+  code = \"\"\n+  evaluate = 0\n+}\n+\n+\/^\\[source,(csharp|groovy|java|javascript|python)\\]\/ {\n   if (status == 3) {\n     status = 1\n     lang = gensub(\/^\\[source,([^\\]]+).*\/, \"\\\\1\", \"g\", $0)\n@@ -73,7 +81,7 @@\n   }\n }\n \n-! \/^\\[source,(csharp|groovy|java|python)\/ {\n+! \/^\\[source,(csharp|groovy|java|javascript|python)\/ {\n   if (status == 3 && $0 != \"\") {\n     print_tabs(next_id, tabs, blocks)\n     next_id = next_id + length(tabs)\n@@ -96,7 +104,7 @@\n { if (status == 3) {\n     if ($0 == \"----\") {\n       i = length(blocks) + 1\n-      if (i == 1) {\n+      if (i == 1 && evaluate == 1) {\n         tabs[i] = \"console (\" lang \")\"\n         blocks[i] = code_header code \"\\n\" $0 \"\\n\"\n         i++\n@@ -114,7 +122,7 @@\n     }\n   } else {\n     if (status == 0) print\n-    else if (status == 1) code_header = $0\n+    else if (status == 1) code_header = gensub(\/,tab\/, \"\", \"g\", $0)\n     else code = code \"\\n\" $0\n   }\n }\n"}
{"commit":"fdcd141c67f8ffc8c1e9ddcc70bfbb83c324ba76","subject":"doc: remove ~ from sphinx refs","message":"doc: remove ~ from sphinx refs\n","repos":"markokr\/rarfile,markokr\/rarfile","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doc\/note.awk\n+++ doc\/note.awk\n@@ -14,7 +14,7 @@\n {\n     if (good) {\n         # also remove sphinx syntax\n-        print gensub(\/:(\\w+):`([^`]+)`\/, \"``\\\\2``\", \"g\")\n+        print gensub(\/:(\\w+):`~?([^`]+)`\/, \"``\\\\2``\", \"g\")\n     }\n }\n \n"}
{"commit":"7b2a7fb05887c227dc6f71ef2d8c8860a4ee425a","subject":"MONDRIAN: New checkFile rule. Mainline mondrian code already complies.","message":"MONDRIAN: New checkFile rule. Mainline mondrian code already complies.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian\/\": change = 13245]\n","repos":"inevo\/mondrian,inevo\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -22,13 +22,13 @@\n     return !isCpp(fname);\n }\n function push(val) {\n-   switchStack[switchStackLen++] = val;\n+    switchStack[switchStackLen++] = val;\n }\n function pop() {\n-   --switchStackLen\n-   val = switchStack[switchStackLen];\n-   delete switchStack[switchStackLen];\n-   return val;\n+    --switchStackLen\n+    val = switchStack[switchStackLen];\n+    delete switchStack[switchStackLen];\n+    return val;\n }\n BEGIN {\n     # pre-compute regexp for single-quoted strings\n@@ -163,36 +163,47 @@\n s ~ \/[[:alnum:]]\\(\/ &&\n s !~ \/\\<(if|while|for|switch|assert)\\>\/ {\n     ss = s;\n-    gsub(\/.*[[:alnum:]]\\(\/, \"(\", ss);\n-    opens = ss;\n-    gsub(\/[^(]\/, \"\", opens);\n-    closes = ss;\n-    gsub(\/[^)]\/, \"\", closes);\n-    if (length(opens) > length(closes)) {\n-        if (s ~ \/,$\/) {\n-            bras = s;\n-            gsub(\/[^<]\/, \"\", bras);\n-            kets = s;\n-            gsub(\/[^>]\/, \"\", kets);\n-            if (length(bras) > length(kets)) {\n-                # Ignore case like 'for (Map.Entry<Foo,{nl} Bar> entry : ...'\n-            } else if (s ~ \/ for \/) {\n-                # Ignore case like 'for (int i = 1,{nl} j = 2; i < j; ...'\n+    while (match(ss, \/[[:alnum:]]\\(\/)) {\n+        ss = substr(ss, RSTART + RLENGTH - 1);\n+        parens = ss;\n+        gsub(\/[^()]\/, \"\", parens);\n+        while (substr(parens, 1, 2) == \"()\") {\n+            parens = substr(parens, 3);\n+        }\n+        opens = parens;\n+        gsub(\/[^(]\/, \"\", opens);\n+        closes = parens;\n+        gsub(\/[^)]\/, \"\", closes);\n+        if (length(opens) > length(closes)) {\n+            if (ss ~ \/,$\/) {\n+                bras = ss;\n+                gsub(\/[^<]\/, \"\", bras);\n+                kets = ss;\n+                gsub(\/->\/, \"\", kets);\n+                gsub(\/[^>]\/, \"\", kets);\n+                if (length(bras) > length(kets)) {\n+                    # Ignore case like 'for (Map.Entry<Foo,{nl} Bar> entry : ...'\n+                } else if (s ~ \/ for \/) {\n+                    # Ignore case like 'for (int i = 1,{nl} j = 2; i < j; ...'\n+                } else {\n+                    error(                                              \\\n+                        fname, FNR,                                     \\\n+                        \"multi-line parameter list should start with newline\");\n+                    break;\n+                }\n+            } else if (s ~ \/[;(]( *\\\\)?$\/) {\n+                # If open paren is at end of line (with optional backslash\n+                # for macros), we're fine.\n+            } else if (s ~ \/@.*\\({\/) {\n+                # Ignore Java annotations.\n             } else {\n                 error(                                                  \\\n                     fname, FNR,                                         \\\n-                    \"multi-line parameter list should start with newline\");\n+                    \"Open parenthesis should be at end of line (function call spans several lines)\");\n+                break;\n             }\n-        } else if (s ~ \/[;(]( *\\\\)?$\/) {\n-            # If open paren is at end of line (with optional backslash\n-            # for macros), we're fine.\n-        } else if (s ~ \/@.*\\({\/) {\n-            # Ignore Java annotations.\n-        } else {\n-            error(                                                      \\\n-                fname, FNR,                                             \\\n-                \"Open parenthesis should be at end of line (function call spans several lines)\");\n         }\n+        ss = substr(ss, 2); # remove initial \"(\"\n     }\n }\n s ~ \/\\<switch\\>\/ {\n@@ -309,6 +320,13 @@\n     else if (lenient && fname ~ \/(fennel)\/ && a[1] = \",\") {} # not enabled yet\n     else {\n         error(fname, FNR, \"operator '\" a[2] \"' must be followed by space\");\n+    }\n+}\n+match(s, \/( )(,)\/, a) {\n+    # < and > are not handled here - they have special treatment below\n+    if (!matchFile(fname)) {}\n+    else {\n+        error(fname, FNR, \"operator '\" a[2] \"' must not be preceded by space\");\n     }\n }\n match(s, \/ (+|-|\\*|\\\/|==|>=|<=|!=|<<|<<<|>>|&|&&|\\|\\||\\?|:)$\/, a) || \\\n"}
{"commit":"6352dccb41ad459e1837c53af0e6546818fe3254","subject":"Utils: ignore stderr when invoking `rev`","message":"Utils: ignore stderr when invoking `rev`\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -20,9 +20,9 @@\n # Fallback to Unix `rev` if not found.\n function initBiDi() {\n     FriBidi = detectProgram(\"fribidi\", \"--version\", 1)\n-    BiDiNoPad = FriBidi ? \"fribidi --nopad\" : \"rev\"\n+    BiDiNoPad = FriBidi ? \"fribidi --nopad\" : \"rev\" SUPERR\n     BiDi = FriBidi ? \"fribidi --width %s\" :\n-        \"rev | sed \\\"s\/'\/\\\\\\\\\\\\'\/\\\" | xargs printf '%%s '\"\n+        \"rev\" SUPERR \"| sed \\\"s\/'\/\\\\\\\\\\\\'\/\\\" | xargs printf '%%s '\"\n }\n \n # Detect external readline wrapper (rlwrap).\n"}
{"commit":"8fd0f67652c050e67b1d6986ef3ec5e2aad08e46","subject":"Commons: add join() and da()","message":"Commons: add join() and da()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -29,3 +29,44 @@\n         if (string ~ \"^\" patterns[i]) return patterns[i]\n     return \"\"\n }\n+\n+# Join an array into one string;\n+# Return the string.\n+function join(array, separator, sortedIn,\n+              ####\n+              i, j, saveSortedIn, temp) {\n+    # Default parameters\n+    if (!separator)\n+        separator = \" \"\n+    if (!sortedIn)\n+        sortedIn = \"@ind_num_asc\"\n+\n+    temp = \"\"\n+    j = 0\n+    saveSortedIn = PROCINFO[\"sorted_in\"]\n+    PROCINFO[\"sorted_in\"] = sortedIn\n+    for (i in array)\n+        temp = j++ ? temp separator array[i] : array[i]\n+    PROCINFO[\"sorted_in\"] = saveSortedIn\n+\n+    return temp\n+}\n+\n+# Debug an array.\n+function da(array, formatString, sortedIn,\n+                ####\n+                i, j, saveSortedIn) {\n+    # Default parameters\n+    if (!formatString)\n+        formatString = \"_[%s]='%s'\"\n+    if (!sortedIn)\n+        sortedIn = \"@ind_num_asc\"\n+\n+    saveSortedIn = PROCINFO[\"sorted_in\"]\n+    PROCINFO[\"sorted_in\"] = sortedIn\n+    for (i in array) {\n+        split(i, j, SUBSEP)\n+        d(sprintf(formatString, join(j, \",\"), array[i]))\n+    }\n+    PROCINFO[\"sorted_in\"] = saveSortedIn\n+}\n"}
{"commit":"866d41b4a11599ba81d25668af2f722b4e8d68d0","subject":"Now 2014.","message":"Now 2014.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@34005 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if ending year is gt or eq to contract year\n-  current_year = 2013\n+  current_year = 2014\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"768ae7e8057032b448ee310b05f561443c04d398","subject":"Account for change in episode files","message":"Account for change in episode files\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-episodePages.awk\n+++ getAcornFrom-episodePages.awk\n@@ -40,7 +40,7 @@\n }\n \n # When we get to the bottom of the episode\n-\/^ Served from:\/ {\n+\/<div class=\"container footer\"\/ {\n     printf (\"%s\\n\", episodeDescription) >> EPISODE_DESCRIPTION_FILE\n     #\n     # Grab the URL from the EPISODE_CURL_FILE - you can't dig it out from here\n"}
{"commit":"62087cca180c5a5d0a9cc7d722cc719703891df2","subject":"Commons: add literal()","message":"Commons: add literal()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -1,4 +1,29 @@\n #!\/usr\/bin\/gawk -f\n+\n+# Convert a literal-formatted string into its original string.\n+function literal(string,\n+                 ####\n+                 c, escaping, i, s) {\n+    if (string !~ \/^\".*\"$\/)\n+        return string\n+\n+    split(string, s, \"\")\n+    string = \"\"\n+    escaping = 0\n+    for (i = 2; i < length(s); i++) {\n+        c = s[i]\n+        if (escaping) {\n+            string = string c\n+            escaping = 0 # escape ends\n+        } else {\n+            if (c == \"\\\\\")\n+                escaping = 1 # escape begins\n+            else\n+                string = string c\n+        }\n+    }\n+    return string\n+}\n \n # Append an element into an array (zero-based).\n function append(array, element) {\n"}
{"commit":"332002b7f9f97f9b63a8a5c069a00b09f95974f7","subject":"Commons: add NULLSTR","message":"Commons: add NULLSTR\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -13,6 +13,8 @@\n     SUPOUT = \" > \/dev\/null \"  # suppress output\n     SUPERR = \" 2> \/dev\/null \" # suppress error\n     PIPE = \" | \"\n+\n+    NULLSTR = \"\"\n }\n \n # Initialize `UrlEncoding`.\n"}
{"commit":"9f62a69f165e0610e9d7f9d58596222344b53df7","subject":"Replace iterator with a diff.","message":"Replace iterator with a diff.\n","repos":"bbockelm\/glideinWMS,bbockelm\/glideinWMS,bbockelm\/glideinWMS,bbockelm\/glideinWMS","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- creation\/web_base\/parse_starterlog.awk\n+++ creation\/web_base\/parse_starterlog.awk\n@@ -151,16 +151,16 @@\n   #since it is rounded, the sum could exceed tj\n   tcnt=0; \n   tgnz=updiv(goodjobsNZ,parallelism);tcnt=tcnt+tgnz;\n-  while (tcnt>tj) {tgnz=tgnz-1; tcnt=tcnt-1;}\n+  if (tcnt>tj) {tgnz=tgnz-(tcnt-tj); tcnt=tj;}\n   tbjs=updiv(badjobsSignal,parallelism);tcnt=tcnt+tbjs;\n-  while (tcnt>tj) {tbjs=tbjs-1; tcnt=tcnt-1;}\n+  if (tcnt>tj) {tbjs=tbjs-(tcnt-tj); tcnt=tj;}\n   tbjo=updiv(badjobsOther,parallelism);tcnt=tcnt+tbjo;\n-  while (tcnt>tj) {tbjo=tbjo-1; tcnt=tcnt-1;}\n+  if (tcnt>tj) {tbjo=tbjo-(tcnt-tj); tcnt=tj;}\n \n   # if needed, penalize the \"good jobs\" the most\n   # we mostly want to monitor failures\n   tgz=updiv(goodjobsZ,parallelism); tcnt=tcnt+tgz;\n-  while (tcnt>tj) {tgz=tgz-1; tcnt=tcnt-1;}\n+  if (tcnt>tj) {tgz=tgz-(tcnt-tj); tcnt=tj;}\n   # please notice that the percentages will still be accurate\n \n   print \"=================\";\n"}
{"commit":"c5064a3cbac8f4af4ac54b334ea290519fc288c6","subject":"Fix executing movingavg filter using mawk","message":"Fix executing movingavg filter using mawk\n\nThe mawk interpreter does not support lshift().\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- tools\/playfilter.movingavg.awk\n+++ tools\/playfilter.movingavg.awk\n@@ -85,7 +85,7 @@\n \t}\n \n \t# use 20 fix-point fraction bits to calculate the buffer sum\n-\tSUM_TO   = lshift(1, 20)\n+\tSUM_TO   = 1048576\n \tSUM_FROM = 1. \/ SUM_TO\n }\n \n"}
{"commit":"f529b57b9a047b37f2c4674873a43be6ed98438a","subject":"fix comment that mislabeled field numbers","message":"fix comment that mislabeled field numbers\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -6,7 +6,7 @@\n # Field numbers\n #     1 Sortkey       2 Title           3 Seasons          4 Episodes      5 Duration     6 Year\n #     7 Rating        8 Description     9 Content Type    10 Content ID   11 Entity ID   12 Genre\n-#    13 Show Type    14 Date Type      15 Original Date   16 Show ID      16 Season ID   13 Sn #   14 Ep #\n+#    13 Show Type    14 Date Type      15 Original Date   16 Show ID      17 Season ID   18 Sn #   19 Ep #\n \n BEGIN {\n     # Print header\n"}
{"commit":"ae584ce977f01e84318a512e41bc40c2acde3f50","subject":"Remove if statement.","message":"Remove if statement.\n\nUnnecessary if statement.","repos":"kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld,kunaltyagi\/helloworld","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- awk.awk\n+++ awk.awk\n@@ -1 +1 @@\n-BEGIN { if ( NF == 0 ) print \"Hello, world!\" }\r\n+BEGIN { print \"Hello, world!\" }\r\n"}
{"commit":"07bc26326cb423ce33fe783ebe8ae444a8000027","subject":"ahrf.awk: Reduce URL length, in case it's >60","message":"ahrf.awk: Reduce URL length, in case it's >60\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -72,7 +72,11 @@\n \t\t\t# RSTART can be replaced by 1, because we removed useless tabs\/spaces\n \t\t\tnum = substr($u,RSTART,RLENGTH)\n \t\t\turl = substr($u,RSTART+RLENGTH+1)\n-\t\t\tprintf(\"\\t<li>%s <a href=\\\"%s\\\">%s<\/a><\/li>\\n\", num, url, url)\n+\t\t\tif (length(url) >= 60) {\n+\t\t\t\tprintf(\"\\t<li>%s <a href=\\\"%s\\\">%.60s...<\/a><\/li>\\n\", num, url, url)\n+\t\t\t} else {\n+\t\t\t\tprintf(\"\\t<li>%s <a href=\\\"%s\\\">%s<\/a><\/li>\\n\", num, url, url)\n+\t\t\t}\n \t\t}\n \t}\n \tprintf(\"<\/ul>\\n\")\n"}
{"commit":"97dc61b6b7b84e196f935d8140f84ef14e2b13a7","subject":"use `0-9` instead of [:digit:] to match digit char","message":"use `0-9` instead of [:digit:] to match digit char\n","repos":"KeenS\/CIM,KeenS\/CIM,KeenS\/CIM,KeenS\/CIM","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/split_version.awk\n+++ scripts\/split_version.awk\n@@ -3,8 +3,8 @@\n     if (arr[2] == \"\") {\n \twhile ((getline line < ARGV[2]) > 0) {\n \t    if (line ~ arr[1]) {\n-\t\tif (line ~ \/\\[-[[:digit:].]*\\]\/) {\n-\t\t    match(line, \/[[:digit:].]+\/);\n+\t\tif (line ~ \/\\[-[0-9.]+\\]\/) {\n+\t\t    match(line, \/[0-9.]+\/);\n \t\t    print arr[1], substr(line, RSTART, RLENGTH);\n \t\t}\n \t    }\n"}
{"commit":"91a45b85622a229c150a6d11b2fcdc96196dbda9","subject":"sysconfig -> rc.conf Submitted by:\tIgor Vinokurov <igor@cs.ibank.ru>","message":"sysconfig -> rc.conf\nSubmitted by:\tIgor Vinokurov <igor@cs.ibank.ru>\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- usr.sbin\/ndc\/ndcedit.awk\n+++ usr.sbin\/ndc\/ndcedit.awk\n@@ -1,4 +1,4 @@\n-# $Id$\n+# $Id: ndcedit.awk,v 1.4 1997\/02\/22 16:08:19 peter Exp $\n NR == 3 {\n \tprint \"#\"\n \tprint \"# This file is generated automatically, do not edit it here!\"\n@@ -7,15 +7,15 @@\n \tprint \"\"\n \n \tprint \"# If there is a global system configuration file, suck it in.\"\n-\tprint \"if [ -f \/etc\/sysconfig ]; then\"\n-\tprint \"\\t. \/etc\/sysconfig\"\n+\tprint \"if [ -f \/etc\/rc.conf ]; then\"\n+\tprint \"\\t. \/etc\/rc.conf\"\n \tprint \"fi\\n\"\n }\n {\n \tif ($1 == \"named\") {\n-\t\tprintf \"\\t\\t# $namedflags is imported from \/etc\/sysconfig\\n\"\n-\t\tprintf \"\\t\\tif [ \\\"X${namedflags}\\\" != \\\"XNO\\\" ]; then\\n\"\n-\t\tprintf \"\\t\\t\\tnamed ${namedflags} && {\\n\"\n+\t\tprintf \"\\t\\t# $namedflags is imported from \/etc\/rc.conf\\n\"\n+\t\tprintf \"\\t\\tif [ \\\"X${named_flags}\\\" != X\\\"NO\\\" ]; then\\n\"\n+\t\tprintf \"\\t\\t\\tnamed ${named_flags} && {\\n\"\n \t\tgetline\n \t\tprintf \"\\t%s\\n\", $0\n \t\tgetline\n"}
{"commit":"e6360e6dc7a7e8a2602ddcfe98073682d5e6085a","subject":"Fix .rc processing issue on FreeBSD","message":"Fix .rc processing issue on FreeBSD\n\nThis change fixes issue that occurs on FreeBSD when compiling the\n.rc files into the gettext format. For some reason, the shell\nexpression evaluation returns the resulting resource id as a string\ndatatype. That leads to a failure when trying to format the result\nas a hex number using sprintf.\nThe change ensures that if that happens, the type is changed to numeric.\n","repos":"sperling\/coreclr,KrzysztofCwalina\/coreclr,MCGPPeters\/coreclr,KrzysztofCwalina\/coreclr,taylorjonl\/coreclr,GuilhermeSa\/coreclr,krixalis\/coreclr,vinnyrom\/coreclr,martinwoodward\/coreclr,ragmani\/coreclr,wtgodbe\/coreclr,James-Ko\/coreclr,YongseopKim\/coreclr,sperling\/coreclr,KrzysztofCwalina\/coreclr,chrishaly\/coreclr,stormleoxia\/coreclr,Samana\/coreclr,cydhaselton\/coreclr,josteink\/coreclr,wkchoy74\/coreclr,krixalis\/coreclr,serenabenny\/coreclr,libengu\/coreclr,qiudesong\/coreclr,apanda\/coreclr,chuck-mitchell\/coreclr,AlfredoMS\/coreclr,LLITCHEV\/coreclr,pgavlin\/coreclr,yeaicc\/coreclr,gitchomik\/coreclr,neurospeech\/coreclr,DickvdBrink\/coreclr,gitchomik\/coreclr,geertdoornbos\/coreclr,andschwa\/coreclr,sperling\/coreclr,benpye\/coreclr,swgillespie\/coreclr,libengu\/coreclr,bjjones\/coreclr,chuck-mitchell\/coreclr,James-Ko\/coreclr,bitcrazed\/coreclr,SlavaRa\/coreclr,schellap\/coreclr,matthubin\/coreclr,shana\/coreclr,apanda\/coreclr,blackdwarf\/coreclr,manu-silicon\/coreclr,mskvortsov\/coreclr,chrishaly\/coreclr,JosephTremoulet\/coreclr,misterzik\/coreclr,Godin\/coreclr,DasAllFolks\/coreclr,mmitche\/coreclr,josteink\/coreclr,chrishaly\/coreclr,KrzysztofCwalina\/coreclr,GuilhermeSa\/coreclr,krytarowski\/coreclr,krk\/coreclr,dkorolev\/coreclr,SlavaRa\/coreclr,gitchomik\/coreclr,perfectphase\/coreclr,iamjasonp\/coreclr,richardlford\/coreclr,spoiledsport\/coreclr,mokchhya\/coreclr,andschwa\/coreclr,libengu\/coreclr,geertdoornbos\/coreclr,JonHanna\/coreclr,mokchhya\/coreclr,russellhadley\/coreclr,ganeshran\/coreclr,bjjones\/coreclr,Sridhar-MS\/coreclr,gkhanna79\/coreclr,botaberg\/coreclr,jhendrixMSFT\/coreclr,LLITCHEV\/coreclr,hanu412\/coreclr,misterzik\/coreclr,vinnyrom\/coreclr,swgillespie\/coreclr,naamunds\/coreclr,fernando-rodriguez\/coreclr,hseok-oh\/coreclr,vinnyrom\/coreclr,bartonjs\/coreclr,xoofx\/coreclr,russellhadley\/coreclr,serenabenny\/coreclr,xoofx\/coreclr,JosephTremoulet\/coreclr,orthoxerox\/coreclr,chuck-mitchell\/coreclr,KrzysztofCwalina\/coreclr,ramarag\/coreclr,Lucrecious\/coreclr,DasAllFolks\/coreclr,chenxizhang\/coreclr,chaos7theory\/coreclr,lzcj4\/coreclr,bartonjs\/coreclr,cshung\/coreclr,xoofx\/coreclr,cshung\/coreclr,fffej\/coreclr,yeaicc\/coreclr,naamunds\/coreclr,gkhanna79\/coreclr,dasMulli\/coreclr,jakesays\/coreclr,fernando-rodriguez\/coreclr,bartonjs\/coreclr,ZhichengZhu\/coreclr,mocsy\/coreclr,apanda\/coreclr,alexperovich\/coreclr,mocsy\/coreclr,zmaruo\/coreclr,ytechie\/coreclr,neurospeech\/coreclr,Djuffin\/coreclr,benpye\/coreclr,DasAllFolks\/coreclr,LLITCHEV\/coreclr,cydhaselton\/coreclr,kyulee1\/coreclr,Lucrecious\/coreclr,ktos\/coreclr,chenxizhang\/coreclr,rartemev\/coreclr,ZhichengZhu\/coreclr,stormleoxia\/coreclr,Lucrecious\/coreclr,YongseopKim\/coreclr,parjong\/coreclr,krk\/coreclr,LLITCHEV\/coreclr,krytarowski\/coreclr,josteink\/coreclr,andschwa\/coreclr,Djuffin\/coreclr,JonHanna\/coreclr,bartonjs\/coreclr,richardlford\/coreclr,SlavaRa\/coreclr,sergey-raevskiy\/coreclr,alexperovich\/coreclr,rartemev\/coreclr,pgavlin\/coreclr,yizhang82\/coreclr,roncain\/coreclr,mocsy\/coreclr,xtypebee\/coreclr,Dmitry-Me\/coreclr,JosephTremoulet\/coreclr,fernando-rodriguez\/coreclr,KrzysztofCwalina\/coreclr,neurospeech\/coreclr,andschwa\/coreclr,Lucrecious\/coreclr,stormleoxia\/coreclr,poizan42\/coreclr,xtypebee\/coreclr,iamjasonp\/coreclr,shana\/coreclr,neurospeech\/coreclr,roncain\/coreclr,tijoytom\/coreclr,krytarowski\/coreclr,perfectphase\/coreclr,dasMulli\/coreclr,tijoytom\/coreclr,YongseopKim\/coreclr,swgillespie\/coreclr,benpye\/coreclr,AlexGhiondea\/coreclr,yizhang82\/coreclr,david-mitchell\/coreclr,krk\/coreclr,geertdoornbos\/coreclr,shahid-pk\/coreclr,blackdwarf\/coreclr,mmitche\/coreclr,vinnyrom\/coreclr,manu-silicon\/coreclr,alexperovich\/coreclr,misterzik\/coreclr,cmckinsey\/coreclr,mokchhya\/coreclr,hseok-oh\/coreclr,DasAllFolks\/coreclr,Dmitry-Me\/coreclr,gkhanna79\/coreclr,mokchhya\/coreclr,sejongoh\/coreclr,neurospeech\/coreclr,wkchoy74\/coreclr,grokys\/coreclr,lzcj4\/coreclr,hanu412\/coreclr,sagood\/coreclr,dkorolev\/coreclr,mskvortsov\/coreclr,bartonjs\/coreclr,bartdesmet\/coreclr,MCGPPeters\/coreclr,mmitche\/coreclr,ericeil\/coreclr,david-mitchell\/coreclr,AlfredoMS\/coreclr,ktos\/coreclr,tijoytom\/coreclr,shana\/coreclr,Lucrecious\/coreclr,cshung\/coreclr,cshung\/coreclr,ytechie\/coreclr,matthubin\/coreclr,richardlford\/coreclr,stormleoxia\/coreclr,DickvdBrink\/coreclr,ericeil\/coreclr,sagood\/coreclr,shana\/coreclr,mmitche\/coreclr,JosephTremoulet\/coreclr,iamjasonp\/coreclr,swgillespie\/coreclr,mokchhya\/coreclr,GuilhermeSa\/coreclr,Alcaro\/coreclr,DasAllFolks\/coreclr,LLITCHEV\/coreclr,spoiledsport\/coreclr,zmaruo\/coreclr,pgavlin\/coreclr,ytechie\/coreclr,cshung\/coreclr,orthoxerox\/coreclr,shahid-pk\/coreclr,martinwoodward\/coreclr,wtgodbe\/coreclr,wateret\/coreclr,hseok-oh\/coreclr,vinnyrom\/coreclr,ramarag\/coreclr,blackdwarf\/coreclr,SpotLabsNET\/coreclr,ZhichengZhu\/coreclr,hanu412\/coreclr,roncain\/coreclr,ramarag\/coreclr,mskvortsov\/coreclr,alexperovich\/coreclr,MCGPPeters\/coreclr,sergey-raevskiy\/coreclr,richardlford\/coreclr,SpotLabsNET\/coreclr,rartemev\/coreclr,russellhadley\/coreclr,parjong\/coreclr,lzcj4\/coreclr,kyulee1\/coreclr,AlexGhiondea\/coreclr,ragmani\/coreclr,mskvortsov\/coreclr,Samana\/coreclr,naamunds\/coreclr,James-Ko\/coreclr,poizan42\/coreclr,chrishaly\/coreclr,manu-silicon\/coreclr,bjjones\/coreclr,bjjones\/coreclr,kyulee1\/coreclr,shahid-pk\/coreclr,lzcj4\/coreclr,cmckinsey\/coreclr,Sridhar-MS\/coreclr,dpodder\/coreclr,xtypebee\/coreclr,dkorolev\/coreclr,bartdesmet\/coreclr,Godin\/coreclr,yeaicc\/coreclr,fernando-rodriguez\/coreclr,fffej\/coreclr,jhendrixMSFT\/coreclr,swgillespie\/coreclr,LLITCHEV\/coreclr,bjjones\/coreclr,LLITCHEV\/coreclr,dkorolev\/coreclr,ktos\/coreclr,jamesqo\/coreclr,James-Ko\/coreclr,swgillespie\/coreclr,blackdwarf\/coreclr,benpye\/coreclr,botaberg\/coreclr,xtypebee\/coreclr,martinwoodward\/coreclr,JosephTremoulet\/coreclr,ramarag\/coreclr,sperling\/coreclr,taylorjonl\/coreclr,hseok-oh\/coreclr,Samana\/coreclr,YongseopKim\/coreclr,schellap\/coreclr,dkorolev\/coreclr,krixalis\/coreclr,mmitche\/coreclr,ramarag\/coreclr,misterzik\/coreclr,wateret\/coreclr,krytarowski\/coreclr,GuilhermeSa\/coreclr,xoofx\/coreclr,bitcrazed\/coreclr,libengu\/coreclr,OryJuVog\/coreclr,Alcaro\/coreclr,chaos7theory\/coreclr,hanu412\/coreclr,wkchoy74\/coreclr,wateret\/coreclr,taylorjonl\/coreclr,schellap\/coreclr,qiudesong\/coreclr,SlavaRa\/coreclr,krytarowski\/coreclr,DickvdBrink\/coreclr,dasMulli\/coreclr,Dmitry-Me\/coreclr,ktos\/coreclr,tijoytom\/coreclr,libengu\/coreclr,sperling\/coreclr,shahid-pk\/coreclr,matthubin\/coreclr,AlfredoMS\/coreclr,jhendrixMSFT\/coreclr,mokchhya\/coreclr,schellap\/coreclr,sjsinju\/coreclr,rartemev\/coreclr,orthoxerox\/coreclr,jamesqo\/coreclr,ytechie\/coreclr,cydhaselton\/coreclr,fernando-rodriguez\/coreclr,cmckinsey\/coreclr,wtgodbe\/coreclr,sagood\/coreclr,andschwa\/coreclr,iamjasonp\/coreclr,ZhichengZhu\/coreclr,sergey-raevskiy\/coreclr,ragmani\/coreclr,krk\/coreclr,jamesqo\/coreclr,sejongoh\/coreclr,MCGPPeters\/coreclr,OryJuVog\/coreclr,yeaicc\/coreclr,vinnyrom\/coreclr,bartdesmet\/coreclr,martinwoodward\/coreclr,SpotLabsNET\/coreclr,SpotLabsNET\/coreclr,tijoytom\/coreclr,mmitche\/coreclr,jhendrixMSFT\/coreclr,rartemev\/coreclr,jhendrixMSFT\/coreclr,sejongoh\/coreclr,chuck-mitchell\/coreclr,jhendrixMSFT\/coreclr,yeaicc\/coreclr,JonHanna\/coreclr,josteink\/coreclr,bitcrazed\/coreclr,perfectphase\/coreclr,chenxizhang\/coreclr,mocsy\/coreclr,parjong\/coreclr,AlfredoMS\/coreclr,chenxizhang\/coreclr,JonHanna\/coreclr,sagood\/coreclr,YongseopKim\/coreclr,naamunds\/coreclr,lzcj4\/coreclr,xoofx\/coreclr,wtgodbe\/coreclr,Samana\/coreclr,Alcaro\/coreclr,bjjones\/coreclr,ruben-ayrapetyan\/coreclr,geertdoornbos\/coreclr,chuck-mitchell\/coreclr,ytechie\/coreclr,chaos7theory\/coreclr,OryJuVog\/coreclr,taylorjonl\/coreclr,krk\/coreclr,josteink\/coreclr,matthubin\/coreclr,mokchhya\/coreclr,mocsy\/coreclr,gkhanna79\/coreclr,Godin\/coreclr,david-mitchell\/coreclr,stormleoxia\/coreclr,chaos7theory\/coreclr,Sridhar-MS\/coreclr,KrzysztofCwalina\/coreclr,AlexGhiondea\/coreclr,wateret\/coreclr,perfectphase\/coreclr,spoiledsport\/coreclr,sagood\/coreclr,ragmani\/coreclr,jakesays\/coreclr,yeaicc\/coreclr,schellap\/coreclr,Djuffin\/coreclr,SpotLabsNET\/coreclr,gitchomik\/coreclr,martinwoodward\/coreclr,iamjasonp\/coreclr,ruben-ayrapetyan\/coreclr,chuck-mitchell\/coreclr,wkchoy74\/coreclr,bartdesmet\/coreclr,wateret\/coreclr,Djuffin\/coreclr,manu-silicon\/coreclr,krixalis\/coreclr,DickvdBrink\/coreclr,kyulee1\/coreclr,ericeil\/coreclr,sjsinju\/coreclr,martinwoodward\/coreclr,sjsinju\/coreclr,misterzik\/coreclr,shana\/coreclr,zmaruo\/coreclr,grokys\/coreclr,ramarag\/coreclr,yizhang82\/coreclr,wtgodbe\/coreclr,iamjasonp\/coreclr,poizan42\/coreclr,yeaicc\/coreclr,ganeshran\/coreclr,GuilhermeSa\/coreclr,krytarowski\/coreclr,cmckinsey\/coreclr,blackdwarf\/coreclr,sejongoh\/coreclr,serenabenny\/coreclr,chenxizhang\/coreclr,dpodder\/coreclr,chrishaly\/coreclr,schellap\/coreclr,russellhadley\/coreclr,stormleoxia\/coreclr,qiudesong\/coreclr,ragmani\/coreclr,david-mitchell\/coreclr,sergey-raevskiy\/coreclr,andschwa\/coreclr,qiudesong\/coreclr,perfectphase\/coreclr,chaos7theory\/coreclr,josteink\/coreclr,sejongoh\/coreclr,serenabenny\/coreclr,blackdwarf\/coreclr,ericeil\/coreclr,qiudesong\/coreclr,AlexGhiondea\/coreclr,apanda\/coreclr,alexperovich\/coreclr,shahid-pk\/coreclr,dasMulli\/coreclr,ramarag\/coreclr,hseok-oh\/coreclr,orthoxerox\/coreclr,sjsinju\/coreclr,Dmitry-Me\/coreclr,poizan42\/coreclr,apanda\/coreclr,hanu412\/coreclr,Alcaro\/coreclr,ericeil\/coreclr,wkchoy74\/coreclr,ragmani\/coreclr,benpye\/coreclr,roncain\/coreclr,josteink\/coreclr,serenabenny\/coreclr,yizhang82\/coreclr,misterzik\/coreclr,bitcrazed\/coreclr,Alcaro\/coreclr,manu-silicon\/coreclr,cmckinsey\/coreclr,OryJuVog\/coreclr,russellhadley\/coreclr,jamesqo\/coreclr,stormleoxia\/coreclr,cmckinsey\/coreclr,cydhaselton\/coreclr,dpodder\/coreclr,Godin\/coreclr,grokys\/coreclr,tijoytom\/coreclr,Dmitry-Me\/coreclr,Godin\/coreclr,benpye\/coreclr,Dmitry-Me\/coreclr,sejongoh\/coreclr,sejongoh\/coreclr,xtypebee\/coreclr,manu-silicon\/coreclr,Dmitry-Me\/coreclr,AlexGhiondea\/coreclr,orthoxerox\/coreclr,Godin\/coreclr,dkorolev\/coreclr,taylorjonl\/coreclr,SlavaRa\/coreclr,wkchoy74\/coreclr,ZhichengZhu\/coreclr,JonHanna\/coreclr,sergey-raevskiy\/coreclr,gkhanna79\/coreclr,Djuffin\/coreclr,OryJuVog\/coreclr,Sridhar-MS\/coreclr,chuck-mitchell\/coreclr,pgavlin\/coreclr,botaberg\/coreclr,DasAllFolks\/coreclr,sperling\/coreclr,jakesays\/coreclr,roncain\/coreclr,cshung\/coreclr,blackdwarf\/coreclr,jakesays\/coreclr,richardlford\/coreclr,zmaruo\/coreclr,ganeshran\/coreclr,Samana\/coreclr,matthubin\/coreclr,spoiledsport\/coreclr,ktos\/coreclr,manu-silicon\/coreclr,grokys\/coreclr,ericeil\/coreclr,AlfredoMS\/coreclr,krixalis\/coreclr,mskvortsov\/coreclr,kyulee1\/coreclr,jakesays\/coreclr,Djuffin\/coreclr,fernando-rodriguez\/coreclr,roncain\/coreclr,jakesays\/coreclr,bartonjs\/coreclr,david-mitchell\/coreclr,spoiledsport\/coreclr,jamesqo\/coreclr,geertdoornbos\/coreclr,grokys\/coreclr,sjsinju\/coreclr,gitchomik\/coreclr,ktos\/coreclr,ZhichengZhu\/coreclr,gitchomik\/coreclr,mocsy\/coreclr,sperling\/coreclr,rartemev\/coreclr,ZhichengZhu\/coreclr,Lucrecious\/coreclr,Sridhar-MS\/coreclr,vinnyrom\/coreclr,cmckinsey\/coreclr,botaberg\/coreclr,russellhadley\/coreclr,James-Ko\/coreclr,poizan42\/coreclr,perfectphase\/coreclr,dasMulli\/coreclr,spoiledsport\/coreclr,taylorjonl\/coreclr,fffej\/coreclr,James-Ko\/coreclr,shahid-pk\/coreclr,geertdoornbos\/coreclr,roncain\/coreclr,benpye\/coreclr,gkhanna79\/coreclr,kyulee1\/coreclr,naamunds\/coreclr,bartdesmet\/coreclr,zmaruo\/coreclr,MCGPPeters\/coreclr,qiudesong\/coreclr,hanu412\/coreclr,bitcrazed\/coreclr,wkchoy74\/coreclr,matthubin\/coreclr,cydhaselton\/coreclr,zmaruo\/coreclr,bartdesmet\/coreclr,ganeshran\/coreclr,dpodder\/coreclr,fffej\/coreclr,botaberg\/coreclr,fffej\/coreclr,dpodder\/coreclr,bartdesmet\/coreclr,martinwoodward\/coreclr,swgillespie\/coreclr,parjong\/coreclr,schellap\/coreclr,grokys\/coreclr,shahid-pk\/coreclr,sagood\/coreclr,DickvdBrink\/coreclr,cydhaselton\/coreclr,neurospeech\/coreclr,AlexGhiondea\/coreclr,SlavaRa\/coreclr,DickvdBrink\/coreclr,poizan42\/coreclr,yizhang82\/coreclr,xoofx\/coreclr,mskvortsov\/coreclr,richardlford\/coreclr,botaberg\/coreclr,wateret\/coreclr,libengu\/coreclr,yizhang82\/coreclr,mocsy\/coreclr,pgavlin\/coreclr,AlfredoMS\/coreclr,chrishaly\/coreclr,jamesqo\/coreclr,lzcj4\/coreclr,ruben-ayrapetyan\/coreclr,jhendrixMSFT\/coreclr,JosephTremoulet\/coreclr,YongseopKim\/coreclr,parjong\/coreclr,wtgodbe\/coreclr,pgavlin\/coreclr,ganeshran\/coreclr,Lucrecious\/coreclr,OryJuVog\/coreclr,bitcrazed\/coreclr,bartonjs\/coreclr,ytechie\/coreclr,hseok-oh\/coreclr,Alcaro\/coreclr,ruben-ayrapetyan\/coreclr,david-mitchell\/coreclr,Godin\/coreclr,dasMulli\/coreclr,ganeshran\/coreclr,andschwa\/coreclr,SpotLabsNET\/coreclr,geertdoornbos\/coreclr,GuilhermeSa\/coreclr,naamunds\/coreclr,Sridhar-MS\/coreclr,bitcrazed\/coreclr,orthoxerox\/coreclr,alexperovich\/coreclr,ruben-ayrapetyan\/coreclr,taylorjonl\/coreclr,ktos\/coreclr,MCGPPeters\/coreclr,xtypebee\/coreclr,krixalis\/coreclr,chenxizhang\/coreclr,parjong\/coreclr,dasMulli\/coreclr,apanda\/coreclr,Samana\/coreclr,JonHanna\/coreclr,chaos7theory\/coreclr,fffej\/coreclr,dpodder\/coreclr,sergey-raevskiy\/coreclr,krk\/coreclr,serenabenny\/coreclr,ruben-ayrapetyan\/coreclr,naamunds\/coreclr,sjsinju\/coreclr,shana\/coreclr","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/dlls\/mscorrc\/processrc.awk\n+++ src\/dlls\/mscorrc\/processrc.awk\n@@ -45,6 +45,8 @@\n         cmd = \"echo $((\"expression\"))\";\n         cmd | getline var;\n         close(cmd);\n+        # in case shell returned the result as a string, ensure the var has numeric type\n+        var = var + 0;\n         # sprintf can only handle signed ints, so we need to convert\n         # values >= 0x80000000 to negative values\n         if (var >= 2147483648)\n"}
{"commit":"6e70cf0c83a938c0dd1db0cd4caadfdd36812b13","subject":"Print info on changed titles","message":"Print info on changed titles\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -1,8 +1,16 @@\n # Broduce a raw data spreadsheet of fields in BritBox Catalog --  apple_catalogue_feed.xml\n+\n+# INVOCATION\n+#   awk -v ERROR_FILE=$ERROR_FILE -f getBBoxCatalogFrom-sitemap.awk $SITEMAP_FILE >$CATALOG_SPREADSHEET\n+\n+# Field numbers\n+#     1 Sortkey       2 Title           3 Seasons          4 Episodes      5 Duration     6 Year\n+#     7 Rating        8 Description     9 Content Type    10 Content ID   11 Entity ID   12 Genre\n+#    13 Show Type    14 Date Type      15 Original Date   16 Show ID      16 Season ID   13 Sn #   14 Ep #\n \n BEGIN {\n     # Print header\n-    printf (\"Sortkey\\tTitle\\tSeasons\\tEpisodes\\tDuration\\tYear(s)\\tRating\\tDescription\\t\")\n+    printf (\"Sortkey\\tTitle\\tSeasons\\tEpisodes\\tDuration\\tYear\\tRating\\tDescription\\t\")\n     printf (\"Content Type\\tContent ID\\tEntity ID\\tGenre\\tShow Type\\tDate Type\\tOriginal Date\\t\")\n     printf (\"Show ID\\tSeason ID\\tSn #\\tEp #\\n\")\n }\n@@ -53,7 +61,7 @@\n     episodeNumber = \"\"\n     description = \"\"\n     # Generated fields\n-    years = \"\"\n+    year = \"\"\n     # New fields that haven't been created yet\n     numSeasons = 111\n     numEpisodes = 222\n@@ -116,10 +124,10 @@\n     dateType = fld[2]\n     sub (\/original\/,\"\",dateType)\n     originalDate = fld[3]\n-    years = substr (originalDate,1,4)\n+    year = substr (originalDate,1,4)\n     # print \"dateType = \" dateType\n     # print \"originalDate = \" originalDate\n-    # print \"years = \" years\n+    # print \"year = \" year\n }\n \n # Grab showContentId\n@@ -172,19 +180,29 @@\n     }\n \n     if (title == \"Porridge\") {\n-        if (EntityId == \"_9509\")\n+        if (EntityId == \"_9509\") {\n+            revisedTitles += 1\n+            printf (\"==> Changed title '%s' to 'Porridge (1974-1977)'\\n\", title) >> ERROR_FILE\n             title = \"Porridge (1974-1977)\"\n-        else if (EntityId == \"_14747\")\n+        } else if (EntityId == \"_14747\") {\n+            revisedTitles += 1\n+            printf (\"==> Changed title '%s' to 'Porridge (2016-2017)'\\n\", title) >> ERROR_FILE\n             title = \"Porridge (2016-2017)\"\n+        }\n         # print \"==> title = \" title\n         # print \"==> EntityId = \" EntityId\n     }\n \n     if (title == \"A Midsummer Night's Dream\") {\n-        if (EntityId == \"_26179\")\n+        if (EntityId == \"_26179\") {\n+            revisedTitles += 1\n+            printf (\"==> Changed title '%s' to 'A Midsummer Night\\'s Dream (1981)'\\n\", title) >> ERROR_FILE\n             title = \"A Midsummer Night's Dream (1981)\"\n-        else if (EntityId == \"_15999\")\n+        } else if (EntityId == \"_15999\") {\n+            revisedTitles += 1\n+            printf (\"==> Changed title '%s' to 'A Midsummer Night\\'s Dream (2016)'\\n\", title) >> ERROR_FILE\n             title = \"A Midsummer Night's Dream (2016)\"\n+        }\n         # print \"==> title = \" title\n         # print \"==> EntityId = \" EntityId\n     }\n@@ -218,7 +236,7 @@\n     # printf (\"Show ID\\tSeason ID\\tSn #\\tEp #\\n\")\n \n     printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", \\\n-            sortkey, title, numSeasons, numEpisodes, duration, years, rating, description, \\\n+            sortkey, title, numSeasons, numEpisodes, duration, year, rating, description, \\\n             contentType, contentId, EntityId, genre, showType, dateType, originalDate, \\\n             showContentId, seasonContentId, seasonNumber, episodeNumber)\n }\n@@ -228,3 +246,11 @@\n \/<item contentType=\"movie\"\/,\/<\\\/item>\/ {\n     # print\n }\n+\n+END {\n+    printf (\"In getBBoxCatalogFrom-sitemap.awk\\n\") > \"\/dev\/stderr\"\n+    if (revisedTitles > 0 ) {\n+        revisedTitles == 1 ? field = \"title\" : field = \"titles\"\n+        printf (\"    %2d %s revised in %s\\n\", revisedTitles, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+}\n"}
{"commit":"689af785fc763009ae8468e84435e85828891ce3","subject":"mmake\/mwg_pp: fix","message":"mmake\/mwg_pp: fix\n","repos":"akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- mmake\/mwg_pp.awk\n+++ mmake\/mwg_pp.awk\n@@ -1593,7 +1593,7 @@\n       for (_i = 0; _i < m_dependency_count; _i++) {\n         _file = m_dependency[_i];\n         gsub(\/[[:space:]]\/, \"\\\\\\\\&\", _file);\n-        printf(\"%s:\\n\\n\", _file);\n+        printf(\"%s:\\n\\n\", _file) > output;\n       }\n     }\n   }\n"}
{"commit":"6773e7554c43e65ed73db037963838d6cecccafe","subject":"Look specifically for schemes in xcodebuild -list","message":"Look specifically for schemes in xcodebuild -list\n\nTargets may not have identical names, and we should prefer schemes.\n","repos":"jspahrsummers\/objc-build-scripts,hsavit1\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- schemes.awk\n+++ schemes.awk\n@@ -2,10 +2,8 @@\n     FS = \"\\n\";\n }\n \n-\/Targets:\/ {\n+\/Schemes:\/ {\n     while (getline && $0 != \"\") {\n-        if ($0 ~ \/Test\/) continue;\n-\n         sub(\/^ +\/, \"\");\n         print \"'\" $0 \"'\";\n     }\n"}
{"commit":"53883964d094f42d145b062f0b41af73ad71b506","subject":"Fixed formatting.","message":"Fixed formatting.","repos":"NaokiStones\/hivemall,naritta\/hivemall,tempbottle\/hivemall,naritta\/hivemall,daijyc\/hivemall,daijyc\/hivemall,tempbottle\/hivemall,daijyc\/hivemall,tempbottle\/hivemall,NaokiStones\/hivemall,naritta\/hivemall,NaokiStones\/hivemall","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- scripts\/misc\/one-vs-rest.awk\n+++ scripts\/misc\/one-vs-rest.awk\n@@ -1,17 +1,17 @@\n BEGIN{ FS=\"\\t\"; OFS=\"\\t\"; }\n {\n- \tpossible_labels=$1;\n- \trowid=$2;\n-    label=$3;\n+\tpossible_labels=$1;\n+\trowid=$2;\n+\tlabel=$3;\n     features=$4;\n \n- \tlabel_count = split(possible_labels, label_array, \",\");\n- \t\t\n+\tlabel_count = split(possible_labels, label_array, \",\");\n+ \t\n \tfor(i = 1; i <= label_count; i++) {\n-    \tif (label_array[i] == label)\n-      \t\tprint rowid, label, 1, features;\n-      \telse\n-      \t\tprint rowid, label_array[i], -1, features;\n+\t\tif (label_array[i] == label)\n+\t\t\tprint rowid, label, 1, features;\n+\t\telse\n+\t\t\tprint rowid, label_array[i], -1, features;\n \t}\n }\n END{}\n"}
{"commit":"3dac10ce4484490f336e757d696c9b6a9d3d18ff","subject":"Pulled all the recent changes to `d.awk` into `hashd.awk`","message":"Pulled all the recent changes to `d.awk` into `hashd.awk`\n","repos":"wernsey\/d.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- hashd.awk\n+++ hashd.awk\n@@ -18,13 +18,17 @@\n BEGIN {\n \n     # Configuration options\n-    if(Title==\"\") Title = \"Documentation\";\n-    if(Theme==\"\") Theme = 1;\n-    if(Pretty==\"\") Pretty = 0;\n-    if(HideToCLevel==\"\") HideToCLevel = 3;\n+    if(Title== \"\") Title = \"Documentation\";\n+    if(Theme== \"\") Theme = 1;\n+    if(Pretty== \"\") Pretty = 1;\n+    if(Mermaid== \"\") Mermaid = 1;\n+    if(HideToCLevel== \"\") HideToCLevel = 3;\n+    if(Lang == \"\") Lang = \"en\";\n     #TopLinks = 1;\n     #classic_underscore = 1;\n     if(MaxWidth==\"\") MaxWidth=\"1080px\";\n+    if(NumberHeadings==\"\") NumberHeadings = 1;\n+    if(NumberH1s==\"\") NumberH1s = 0;\n \n     Mode = (Clean)?\"p\":\"none\";\n     ToC = \"\"; ToCLevel = 1;\n@@ -76,32 +80,30 @@\n             Out = Out tag(Mode, Buf);\n     }\n \n-    print \"<!DOCTYPE html>\\n<html><head>\"\n+    print \"<!DOCTYPE html>\\n<html lang=\\\"\" Lang \"\\\"><head>\"\n+    print \"<meta http-equiv=\\\"Content-Type\\\" content=\\\"text\/html; charset=utf-8\\\">\";\n     print \"<title>\" Title \"<\/title>\";\n     if(StyleSheet)\n         print \"<link rel=\\\"stylesheet\\\" href=\\\"\" StyleSheet \"\\\">\";\n     else\n         print \"<style><!--\" CSS \"\\n--><\/style>\";\n-    print \"<meta http-equiv=\\\"Content-Type\\\" content=\\\"text\/html; charset=utf-8\\\">\";\n     if(ToC && match(Out, \/!\\[toc[-+]?\\]\/))\n-        print \"<script type=\\\"text\/javascript\\\"><!--\\n\" \\\n+        print \"<script><!--\\n\" \\\n             \"function toggle_toc(n) {\\n\" \\\n             \"    var toc=document.getElementById('table-of-contents-' + n);\\n\" \\\n             \"    var btn=document.getElementById('btn-text-' + n);\\n\" \\\n             \"    toc.style.display=(toc.style.display=='none')?'block':'none';\\n\" \\\n-            \"    btn.innerHTML=(toc.style.display=='none')?'&#x25BC;':'&#x25B2;';\\n\" \\\n+            \"    btn.innerHTML=(toc.style.display=='none')?'&#x25BA;':'&#x25BC;';\\n\" \\\n             \"}\\n\" \\\n             \"function toggle_toc_ul(n) {   \\n\" \\\n             \"    var toc=document.getElementById('toc-ul-' + n);   \\n\" \\\n             \"    var btn=document.getElementById('toc-btn-' + n);   \\n\" \\\n             \"    if(toc) {\\n\" \\\n             \"        toc.style.display=(toc.style.display=='none')?'block':'none';   \\n\" \\\n-            \"        btn.innerHTML=(toc.style.display=='none')?'&#x25BC;':'&#x25B2;';\\n\" \\\n+            \"        btn.innerHTML=(toc.style.display=='none')?'&#x25BA;':'&#x25BC;';\\n\" \\\n             \"    }\\n\" \\\n             \"}\\n\" \\\n             \"\/\/-->\\n<\/script>\";\n-    if(Pretty && HasCode)\n-        print \"<script src=\\\"https:\/\/cdn.rawgit.com\/google\/code-prettify\/master\/loader\/run_prettify.js\\\"><\/script>\";\n     print \"<\/head><body>\";\n     if(Out) {\n         Out = fix_footnotes(Out);\n@@ -115,6 +117,14 @@\n             print \"<hr><ol class=\\\"footnotes\\\">\\n\" footnotes \"<\/ol>\";\n         }\n     }\n+\n+    if(Pretty && HasPretty) {\n+        print \"<script src=\\\"https:\/\/cdn.jsdelivr.net\/gh\/google\/code-prettify@master\/loader\/run_prettify.js\\\"><\/script>\";\n+    }\n+    if(Mermaid && HasMermaid) {\n+        print \"<script src=\\\"https:\/\/cdn.jsdelivr.net\/npm\/mermaid\/dist\/mermaid.min.js\\\"><\/script>\";\n+        print \"<script>mermaid.initialize({ startOnLoad: true });<\/script>\";\n+    }\n     print \"<\/body><\/html>\"\n }\n \n@@ -133,7 +143,7 @@\n     sub(\/[[:space:]]+$\/, \"\", st);\n     return st;\n }\n-function filter(st,       res,tmp, linkdesc, url, delim, edelim, name, def) {\n+function filter(st,       res,tmp, linkdesc, url, delim, edelim, name, def, plang, mmaid) {\n     if(Mode == \"p\") {\n         if(match(st, \/^[[:space:]]*\\[[-._[:alnum:][:space:]]+\\]:\/)) {\n             linkdesc = \"\"; LastLink = 0;\n@@ -242,15 +252,26 @@\n         else {\n             gsub(\/\\t\/,\"    \",Buf);\n             if(length(trim(Buf)) > 0) {\n-                Lang = \"\";\n+                plang = \"\"; mmaid=0;\n                 if(match(Preterm, \/^[[:space:]]*```+\/)) {\n-                    Lang = trim(substr(Preterm, RSTART+RLENGTH));\n-                    if(Lang) {\n-                        Lang = \"class=\\\"prettyprint lang-\" Lang \"\\\"\";\n-                        HasCode=1;\n+                    plang = trim(substr(Preterm, RSTART+RLENGTH));\n+                    if(plang) {\n+                        if(plang == \"mermaid\") {\n+                            mmaid = 1;\n+                            HasMermaid = 1;\n+                        } else {\n+                            HasPretty = 1;\n+                            if(plang == \"auto\")\n+                                plang = \"class=\\\"prettyprint\\\"\";\n+                            else\n+                                plang = \"class=\\\"prettyprint lang-\" plang \"\\\"\";\n+                        }\n                     }\n                 }\n-                res = tag(\"pre\", tag(\"code\", escape(Buf), Lang));\n+                if(mmaid && Mermaid)\n+                    res = tag(\"div\", Buf, \"class=\\\"mermaid\\\"\");\n+                else\n+                    res = tag(\"pre\", tag(\"code\", escape(Buf), plang));\n             }\n             pop();\n             if(Preterm) sub(\/^[[:space:]]*```+[[:alnum:]]*\/,\"\",st);\n@@ -397,19 +418,30 @@\n             }\n             tg = substr(st, 1, p - 1);\n             if(match(tg,\/^[[:alpha:]]+[[:space:]]\/)) {\n-                a = substr(tg,RSTART+RLENGTH-1);\n+                a = trim(substr(tg,RSTART+RLENGTH-1));\n                 tg = substr(tg,1,RLENGTH-1);\n             } else\n                 a = \"\";\n \n             if(match(tolower(tg), \"^\/?(a|abbr|div|span|blockquote|pre|img|code|p|em|strong|sup|sub|del|ins|s|u|b|i|br|hr|ul|ol|li|table|thead|tfoot|tbody|tr|th|td|caption|column|col|colgroup|figure|figcaption|dl|dd|dt|mark|cite|q|var|samp|small|details|summary)$\")) {\n-                r = r \"<\" tg a \">\";\n+                if(!match(tg, \/\\\/\/)) {\n+                    if(match(a, \/class=\"\/)) {\n+                        sub(\/class=\"\/, \"class=\\\"dawk-ex \", a);\n+                    } else {\n+                        if(a)\n+                            a = a \" class=\\\"dawk-ex\\\"\"\n+                        else\n+                            a = \"class=\\\"dawk-ex\\\"\"\n+                    }\n+                    r = r \"<\" tg \" \" a \">\";\n+                } else\n+                    r = r \"<\" tg \">\";\n             } else if(match(tg, \"^[[:alpha:]]+:\/\/[[:graph:]]+$\")) {\n                 if(!a) a = tg;\n-                r = r \"<a href=\\\"\" tg \"\\\">\" a \"<\/a>\";\n+                r = r \"<a class=\\\"normal\\\" href=\\\"\" tg \"\\\">\" a \"<\/a>\";\n             } else if(match(tg, \"^[[:graph:]]+@[[:graph:]]+$\")) {\n                 if(!a) a = tg;\n-                r = r \"<a href=\\\"\" obfuscate(\"mailto:\" tg) \"\\\">\" obfuscate(a) \"<\/a>\";\n+                r = r \"<a class=\\\"normal\\\" href=\\\"\" obfuscate(\"mailto:\" tg) \"\\\">\" obfuscate(a) \"<\/a>\";\n             } else {\n                 r = r \"&lt;\";\n                 continue;\n@@ -430,29 +462,36 @@\n \n function push(newmode) {Stack[StackTop++] = Mode; Mode = newmode;}\n function pop() {Mode = Stack[--StackTop];Buf = \"\"; return Mode;}\n-function heading(level, st,       res, href) {\n+function heading(level, st,       res, href, u, text,svg) {\n+    if(level > 6) level = 6;\n     st = trim(st);\n-    if(level > 6) level = 6;\n     href = tolower(st);\n     href = strip_tags(href);\n-    gsub(\/[^ [:alnum:]]+\/, \"\", href);\n-    gsub(\/ +\/, \"-\", href);\n-    if(!LinkUrls[href]) LinkUrls[href] = \"#\" href;\n-    if(!LinkUrls[tolower(st)]) LinkUrls[tolower(st)] = \"#\" href;\n-    res = tag(\"h\" level, st (TopLinks?\"&nbsp;&nbsp;<a class=\\\"top\\\" title=\\\"Return to top\\\" href=\\\"#\\\">&#8593;&nbsp;Top<\/a>\":\"\"), \"id=\\\"\" href \"\\\"\");\n+    gsub(\/[^-_ [:alnum:]]+\/, \"\", href);\n+    gsub(\/[[:space:]]\/, \"-\", href);\n+    if(TitleUrls[href]) {\n+        for(u = 1; TitleUrls[href \"-\" u]; u++);\n+        href = href \"-\" u;\n+    }\n+    TitleUrls[href] = \"#\" href;\n+\n+    svg = \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http:\/\/www.w3.org\/2000\/svg\\\"><g transform=\\\"rotate(-30, 8, 8)\\\" stroke=\\\"#000000\\\" opacity=\\\"0.25\\\"><rect fill=\\\"none\\\" height=\\\"6\\\" width=\\\"8\\\" x=\\\"2\\\" y=\\\"6\\\" rx=\\\"1.5\\\"\/><rect fill=\\\"none\\\" height=\\\"6\\\" width=\\\"8\\\" x=\\\"6\\\" y=\\\"4\\\" rx=\\\"1.5\\\"\/><\/g><\/svg>\";\n+    text = \"<a href=\\\"#\" href \"\\\" class=\\\"header\\\">\" st \"&nbsp;\" svg \"<\/a>\" (TopLinks?\"&nbsp;&nbsp;<a class=\\\"top\\\" title=\\\"Return to top\\\" href=\\\"#\\\">&#8593;&nbsp;Top<\/a>\":\"\");\n+\n+    res = tag(\"h\" level, text, \"id=\\\"\" href \"\\\"\");\n     for(;ToCLevel < level; ToCLevel++) {\n         ToC_ID++;\n         if(ToCLevel < HideToCLevel) {\n-            ToC = ToC \"<a class=\\\"toc-button\\\" id=\\\"toc-btn-\" ToC_ID \"\\\" onclick=\\\"toggle_toc_ul('\" ToC_ID \"')\\\">&#x25B2;<\/a>\";\n-            ToC = ToC \"<ul class=\\\"toc-\" ToCLevel \"\\\" id=\\\"toc-ul-\" ToC_ID \"\\\">\";\n+            ToC = ToC \"<a class=\\\"toc-button\\\" id=\\\"toc-btn-\" ToC_ID \"\\\" onclick=\\\"toggle_toc_ul('\" ToC_ID \"')\\\">&#x25BC;<\/a>\";\n+            ToC = ToC \"<ul class=\\\"toc toc-\" ToCLevel \"\\\" id=\\\"toc-ul-\" ToC_ID \"\\\">\";\n         } else {\n-            ToC = ToC \"<a class=\\\"toc-button\\\" id=\\\"toc-btn-\" ToC_ID \"\\\" onclick=\\\"toggle_toc_ul('\" ToC_ID \"')\\\">&#x25BC;<\/a>\";\n-            ToC = ToC \"<ul style=\\\"display:none;\\\" class=\\\"toc-\" ToCLevel \"\\\" id=\\\"toc-ul-\" ToC_ID \"\\\">\";\n+            ToC = ToC \"<a class=\\\"toc toc-button\\\" id=\\\"toc-btn-\" ToC_ID \"\\\" onclick=\\\"toggle_toc_ul('\" ToC_ID \"')\\\">&#x25BA;<\/a>\";\n+            ToC = ToC \"<ul style=\\\"display:none;\\\" class=\\\"toc toc-\" ToCLevel \"\\\" id=\\\"toc-ul-\" ToC_ID \"\\\">\";\n         }\n     }\n     for(;ToCLevel > level; ToCLevel--)\n         ToC = ToC \"<\/ul>\";\n-    ToC = ToC \"<li class=\\\"toc-\" level \"\\\"><a class=\\\"toc-\" level \"\\\" href=\\\"#\" href \"\\\">\" st \"<\/a>\\n\";\n+    ToC = ToC \"<li class=\\\"toc-\" level \"\\\"><a class=\\\"toc toc-\" level \"\\\" href=\\\"#\" href \"\\\">\" st \"<\/a>\\n\";\n     ToCLevel = level;\n     return res;\n }\n@@ -471,8 +510,8 @@\n \n         ++n;\n         dis = index(substr(st,RSTART,RLENGTH),\"+\");\n-        t = \"<div>\\n<a id=\\\"toc-button-\" n \"\\\" class=\\\"toc-button\\\" onclick=\\\"toggle_toc(\" n \")\\\"><span id=\\\"btn-text-\" n \"\\\">\" (dis?\"&#x25B2;\":\"&#x25BC;\") \"<\/span>&nbsp;Contents<\/a>\\n\" \\\n-            \"<div id=\\\"table-of-contents-\" n \"\\\" style=\\\"display:\" (dis?\"block\":\"none\") \";\\\">\\n<ul class=\\\"toc-1\\\">\" ToC \"<\/ul>\\n<\/div>\\n<\/div>\";\n+        t = \"<div>\\n<a id=\\\"toc-button-\" n \"\\\" class=\\\"toc-button\\\" onclick=\\\"toggle_toc(\" n \")\\\"><span id=\\\"btn-text-\" n \"\\\">\" (dis?\"&#x25BC;\":\"&#x25BA;\") \"<\/span>&nbsp;Contents<\/a>\\n\" \\\n+            \"<div id=\\\"table-of-contents-\" n \"\\\" style=\\\"display:\" (dis?\"block\":\"none\") \";\\\">\\n<ul class=\\\"toc toc-1\\\">\" ToC \"<\/ul>\\n<\/div>\\n<\/div>\";\n         r = r substr(st,1,RSTART-1);\n         r = r t;\n         st = substr(st,RSTART+RLENGTH);\n@@ -482,13 +521,13 @@\n }\n function fix_links(st,          lt,ld,lr,url,img,res,rx,pos,pre) {\n     do {\n-        pre = match(st, \/<pre>\/); # Don't substitute in <pre> blocks\n+        pre = match(st, \/<(pre|code)>\/); # Don't substitute in <pre> or <code> blocks\n         pos = match(st, \/\\[[^\\]]+\\]\/);\n         if(!pos)break;\n         if(pre && pre < pos) {\n-            pre = match(st, \/<\\\/pre>\/);\n+            match(st, \/<\\\/(pre|code)>\/);\n             res = res substr(st,1,RSTART+RLENGTH);\n-            st = substr(st, RSTART+RLENGTH);\n+            st = substr(st, RSTART+RLENGTH+1);\n             continue;\n         }\n         img=substr(st,RSTART-1,1)==\"!\";\n@@ -519,7 +558,7 @@\n             if(img)\n                 res = res \"<img src=\\\"\" url \"\\\" title=\\\"\" ld \"\\\" alt=\\\"\" lt \"\\\">\";\n             else\n-                res = res \"<a href=\\\"\" url \"\\\" title=\\\"\" ld \"\\\">\" lt \"<\/a>\";\n+                res = res \"<a class=\\\"normal\\\" href=\\\"\" url \"\\\" title=\\\"\" ld \"\\\">\" lt \"<\/a>\";\n         } else if(match(st, \/^[[:space:]]*\\[[^\\]]*\\]\/)) {\n             lt = substr(rx, 2, length(rx) - 2);\n             match(st, \/\\[[^\\]]*\\]\/);\n@@ -533,8 +572,10 @@\n             ld = LinkDescs[lr];\n             if(img)\n                 res = res \"<img src=\\\"\" url \"\\\" title=\\\"\" ld \"\\\" alt=\\\"\" lt \"\\\">\";\n+            else if(url)\n+                res = res \"<a class=\\\"normal\\\" href=\\\"\" url \"\\\" title=\\\"\" ld \"\\\">\" lt \"<\/a>\";\n             else\n-                res = res \"<a href=\\\"\" url \"\\\" title=\\\"\" ld \"\\\">\" lt \"<\/a>\";\n+                res = res \"[\" lt \"][\" lr \"]\";\n         } else\n             res = res (img?\"!\":\"\") rx;\n     } while(pos > 0);\n@@ -619,34 +660,41 @@\n \n     css[\"body\"] = \"color:%color1%;font-family:%font-family%;font-size:%font-size%;line-height:1.5em;\" \\\n                 \"padding:1em 2em;width:80%;max-width:%maxwidth%;margin:0 auto;min-height:100%;float:none;\";\n-    css[\"h1\"] = \"color:%color1%;border-bottom:1px solid %color1%;padding:0.3em 0.1em;\";\n+    css[\"h1\"] = \"border-bottom:1px solid %color1%;padding:0.3em 0.1em;\";\n+    css[\"h1 a\"] = \"color:%color1%;\";\n     css[\"h2\"] = \"color:%color2%;border-bottom:1px solid %color2%;padding:0.2em 0.1em;\";\n+    css[\"h2 a\"] = \"color:%color2%;\";\n     css[\"h3\"] = \"color:%color3%;border-bottom:1px solid %color3%;padding:0.1em 0.1em;\";\n-    css[\"h4,h5,h6\"] = \"color:%color4%;padding:0.1em 0.1em;\";\n-    css[\"h1,h2,h3,h4,h5,h6\"] = \"font-weight:normal;line-height:1.2em;\";\n+    css[\"h3 a\"] = \"color:%color3%;\";\n+    css[\"h4,h5,h6\"] = \"padding:0.1em 0.1em;\";\n+    css[\"h4 a,h5 a,h6 a\"] = \"color:%color4%;\";\n+    css[\"h1,h2,h3,h4,h5,h6\"] = \"font-weight:bolder;line-height:1.2em;\";\n     css[\"h4\"] = \"border-bottom:1px solid %color4%\";\n     css[\"p\"] = \"margin:0.5em 0.1em;\"\n     css[\"hr\"] = \"background:%color1%;height:1px;border:0;\"\n-    css[\"a\"] = \"color:%color2%;\";\n-    css[\"a:visited\"] = \"color:%color2%;\";\n-    css[\"a:active\"] = \"color:%color4%;\";\n-    css[\"a:hover\"] = \"color:%color4%;\";\n+    css[\"a.normal, a.toc\"] = \"color:%color2%;\";\n+    #css[\"a.normal:visited\"] = \"color:%color2%;\";\n+    #css[\"a.normal:active\"] = \"color:%color4%;\";\n+    css[\"a.normal:hover, a.toc:hover\"] = \"color:%color4%;\";\n     css[\"a.top\"] = \"font-size:x-small;text-decoration:initial;float:right;\";\n+    css[\"a.header svg\"] = \"opacity:0;\";\n+    css[\"a.header:hover svg\"] = \"opacity:1;\";\n+    css[\"a.header\"] = \"text-decoration: none;\";\n     css[\"strong,b\"] = \"color:%color1%\";\n-    css[\"code\"] = \"color:%color2%;\";\n+    css[\"code\"] = \"color:%color2%;font-weight:bold;\";\n     css[\"blockquote\"] = \"margin-left:1em;color:%color2%;border-left:0.2em solid %color3%;padding:0.25em 0.5em;overflow-x:auto;\";\n     css[\"pre\"] = \"color:%color2%;background:%color5%;border:1px solid;border-radius:2px;line-height:1.25em;margin:0.25em 0.5em;padding:0.75em;overflow-x:auto;\";\n-    css[\"table\"] = \"border-collapse:collapse;margin:0.5em;\";\n-    css[\"th,td\"] = \"padding:0.5em 0.75em;border:1px solid %color4%;\";\n-    css[\"th\"] = \"color:%color2%;border:1px solid %color3%;border-bottom:2px solid %color3%;\";\n-    css[\"tr:nth-child(odd)\"] = \"background-color:%color5%;\";\n-    css[\"div\"] = \"padding:0.5em;\";\n-    css[\"caption\"] = \"padding:0.5em;font-style:italic;\";\n-    css[\"dl\"] = \"margin:0.5em;\";\n-    css[\"dt\"] = \"font-weight:bold;\";\n-    css[\"dd\"] = \"padding:0.3em;\";\n-    css[\"mark\"] = \"color:%color2%;background-color:%color5%;\";\n-    css[\"del,s\"] = \"color:%color4%;\";\n+    css[\"table.dawk-ex\"] = \"border-collapse:collapse;margin:0.5em;\";\n+    css[\"th.dawk-ex,td.dawk-ex\"] = \"padding:0.5em 0.75em;border:1px solid %color4%;\";\n+    css[\"th.dawk-ex\"] = \"color:%color2%;border:1px solid %color3%;border-bottom:2px solid %color3%;\";\n+    css[\"tr.dawk-ex:nth-child(odd)\"] = \"background-color:%color5%;\";\n+    css[\"div.dawk-ex\"] = \"padding:0.5em;\";\n+    css[\"caption.dawk-ex\"] = \"padding:0.5em;font-style:italic;\";\n+    css[\"dl.dawk-ex\"] = \"margin:0.5em;\";\n+    css[\"dt.dawk-ex\"] = \"font-weight:bold;\";\n+    css[\"dd.dawk-ex\"] = \"padding:0.3em;\";\n+    css[\"mark.dawk-ex\"] = \"color:%color5%;background-color:%color4%;\";\n+    css[\"del.dawk-ex,s.dawk-ex\"] = \"color:%color4%;\";\n     css[\"a.toc-button\"] = \"color:%color2%;cursor:pointer;font-size:small;padding: 0.3em 0.5em 0.5em 0.5em;font-family:monospace;border-radius:3px;\";\n     css[\"a.toc-button:hover\"] = \"color:%color4%;background:%color5%;\";\n     css[\"div#table-of-contents\"] = \"padding:0;font-size:smaller;\";\n@@ -656,10 +704,48 @@\n     css[\"a.footnote-back\"] = \"text-decoration:initial;font-size:x-small;\";\n     css[\".fade\"] = \"color:%color5%;\";\n     css[\".highlight\"] = \"color:%color2%;background-color:%color5%;\";\n-\tcss[\"summary\"] = \"cursor:pointer;\";\n+    css[\"summary\"] = \"cursor:pointer;\";\n+    css[\"ul.toc\"] = \"list-style-type:none;\";\n+\n+    if(NumberHeadings)  {\n+        if(NumberH1s) {\n+            css[\"body\"] = css[\"body\"] \"counter-reset: h1 toc1;\";\n+            css[\"h1\"] = css[\"h1\"] \"counter-reset: h2 h3 h4;\";\n+            css[\"h2\"] = css[\"h2\"] \"counter-reset: h3 h4;\";\n+            css[\"h3\"] = css[\"h3\"] \"counter-reset: h4;\";\n+            css[\"h1::before\"] = \"content: counter(h1) \\\" \\\"; counter-increment: h1; margin-right: 10px;\";\n+            css[\"h2::before\"] = \"content: counter(h1) \\\".\\\"counter(h2) \\\" \\\";counter-increment: h2; margin-right: 10px;\";\n+            css[\"h3::before\"] = \"content: counter(h1) \\\".\\\"counter(h2) \\\".\\\"counter(h3) \\\" \\\";counter-increment: h3; margin-right: 10px;\";\n+            css[\"h4::before\"] = \"content: counter(h1) \\\".\\\"counter(h2) \\\".\\\"counter(h3)\\\".\\\"counter(h4) \\\" \\\";counter-increment: h4; margin-right: 10px;\";\n+\n+            css[\"li.toc-1\"] = \"counter-reset: toc2 toc3 toc4;\";\n+            css[\"li.toc-2\"] = \"counter-reset: toc3 toc4;\";\n+            css[\"li.toc-3\"] = \"counter-reset: toc4;\";\n+            css[\"a.toc-1::before\"] = \"content: counter(h1) \\\"  \\\";counter-increment: toc1;\";\n+            css[\"a.toc-2::before\"] = \"content: counter(h1) \\\".\\\" counter(toc2) \\\"  \\\";counter-increment: toc2;\";\n+            css[\"a.toc-3::before\"] = \"content: counter(h1) \\\".\\\" counter(toc2) \\\".\\\" counter(toc3) \\\"  \\\";counter-increment: toc3;\";\n+            css[\"a.toc-4::before\"] = \"content: counter(h1) \\\".\\\" counter(toc2) \\\".\\\" counter(toc3) \\\".\\\" counter(toc4) \\\"  \\\";counter-increment: toc4;\";\n+\n+        } else {\n+            css[\"h1\"] = css[\"h1\"] \"counter-reset: h2 h3 h4;\";\n+            css[\"h2\"] = css[\"h2\"] \"counter-reset: h3 h4;\";\n+            css[\"h3\"] = css[\"h3\"] \"counter-reset: h4;\";\n+            css[\"h2::before\"] = \"content: counter(h2) \\\" \\\";counter-increment: h2; margin-right: 10px;\";\n+            css[\"h3::before\"] = \"content: counter(h2) \\\".\\\"counter(h3) \\\" \\\";counter-increment: h3; margin-right: 10px;\";\n+            css[\"h4::before\"] = \"content: counter(h2) \\\".\\\"counter(h3)\\\".\\\"counter(h4) \\\" \\\";counter-increment: h4; margin-right: 10px;\";\n+\n+            css[\"li.toc-1\"] = \"counter-reset: toc2 toc3 toc4;\";\n+            css[\"li.toc-2\"] = \"counter-reset: toc3 toc4;\";\n+            css[\"li.toc-3\"] = \"counter-reset: toc4;\";\n+            css[\"a.toc-2::before\"] = \"content: counter(toc2) \\\"  \\\";counter-increment: toc2;\";\n+            css[\"a.toc-3::before\"] = \"content: counter(toc2) \\\".\\\" counter(toc3) \\\"  \\\";counter-increment: toc3;\";\n+            css[\"a.toc-4::before\"] = \"content: counter(toc2) \\\".\\\" counter(toc3) \\\".\\\" counter(toc4) \\\"  \\\";counter-increment: toc4;\";\n+        }\n+    }\n \n     # Colors:\n-    c1=\"#314070\";c2=\"#465DA6\";c3=\"#6676A8\";c4=\"#A88C3F\";c5=\"#E8E4D9\";\n+    #c1=\"#314070\";c2=\"#465DA6\";c3=\"#6676A8\";c4=\"#A88C3F\";c5=\"#E8E4D9\";\n+    c1=\"#314070\";c2=\"#384877\";c3=\"#6676A8\";c4=\"#738FD0\";c5=\"#FBFCFF\";\n     # Font Family:\n     ff = \"sans-serif\";\n     fs = \"11pt\";\n"}
{"commit":"6b8a916e2bd40c6eb4080ecc586ca290e4d2c02b","subject":"gcj's javadoc wants lowercase hexadecimal constants. (dm)","message":"gcj's javadoc wants lowercase hexadecimal constants. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2659 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Bindings\/Java\/constants.awk\n+++ Bindings\/Java\/constants.awk\n@@ -32,7 +32,7 @@\n   if (name == \"PASSKEY\") return\n \n   if (value ~ \/^0[xX][0-9a-fA-F]+00$\/) {\n-    writeCommandDefinition(name, toupper(value) \"00\", help)\n+    writeCommandDefinition(name, hexadecimalValue(value) \"00\", help)\n   }\n }\n \n@@ -41,7 +41,7 @@\n \n function brlFlag(name, symbol, value, help) {\n   if (value ~ \/^0[xX][0-9a-fA-F]+0000$\/) {\n-    value = toupper(substr(value, 1, length(value)-4))\n+    value = hexadecimalValue(substr(value, 1, length(value)-4))\n     if (name ~ \/^CHAR_\/) {\n       name = substr(name, 6)\n     } else {\n@@ -52,15 +52,15 @@\n   } else {\n     return\n   }\n-  writeJavaConstant(\"KEY_FLG_\" name, value, help)\n+  writeJavaConstant(\"int\", \"KEY_FLG_\" name, value, help)\n }\n \n function brlDot(number, symbol, value, help) {\n-  writeJavaConstant(\"BRL_DOT\" number, value, help)\n+  writeJavaConstant(\"int\", \"BRL_DOT\" number, value, help)\n }\n \n function apiType(name, symbol, value, help) {\n-  writeJavaConstant(\"KEY_TYPE_\" name, hexadecimalValue(value));\n+  writeJavaConstant(\"int\", \"KEY_TYPE_\" name, hexadecimalValue(value));\n }\n \n function apiKey(name, symbol, value, help) {\n@@ -76,24 +76,26 @@\n }\n \n function writeCommandDefinition(name, value, help) {\n-  writeJavaConstant(\"KEY_CMD_\" name, \"(KEY_TYPE_CMD | \" value \")\", help)\n+  writeJavaConstant(\"int\", \"KEY_CMD_\" name, \"(KEY_TYPE_CMD | \" value \")\", help)\n }\n \n function writeKeyDefinition(name, value) {\n-  writeJavaConstant(\"KEY_SYM_\" name, \"(KEY_TYPE_SYM | \" value \")\")\n+  writeJavaConstant(\"int\", \"KEY_SYM_\" name, \"(KEY_TYPE_SYM | \" value \")\")\n }\n \n-function writeJavaConstant(name, value, help) {\n+function writeJavaConstant(type, name, value, help) {\n   writeJavadocComment(help)\n-  print \"  public static final int \" name \" = \" value \";\"\n+  print \"  public static final \" type \" \" name \" = \" value \";\"\n }\n \n function writeJavadocComment(text) {\n-  print \"  \/** \" text \" *\/\"\n+  if (length(text) > 0) print \"  \/** \" text \" *\/\"\n }\n \n function hexadecimalValue(value) {\n-  gsub(\"[uU]?[lL]*$\", \"\", value)\n+  value = tolower(value)\n+  gsub(\"u?l*$\", \"\", value)\n+  gsub(\"x0+\", \"x0\", value)\n   return value\n }\n \n"}
{"commit":"45d5b3a7c3b426965defd7b264d24ef00e955751","subject":"Const has static linkage","message":"Const has static linkage\n\nbin\/obj\/Linux.x64.Debug\/src\/dlls\/mscorrc\/full\/mscorrc_debug.cpp:1002:110: error: \u2018visibility\u2019 attribute ignored [-Werror=attributes]\n const NativeStringResourceTable nativeStringResourceTable_mscorrc_debug __attribute__((visibility(\"default\"))) = {\n","repos":"cshung\/coreclr,cshung\/coreclr,poizan42\/coreclr,wtgodbe\/coreclr,krk\/coreclr,wtgodbe\/coreclr,wtgodbe\/coreclr,cshung\/coreclr,krk\/coreclr,wtgodbe\/coreclr,cshung\/coreclr,krk\/coreclr,wtgodbe\/coreclr,cshung\/coreclr,poizan42\/coreclr,poizan42\/coreclr,poizan42\/coreclr,krk\/coreclr,wtgodbe\/coreclr,cshung\/coreclr,poizan42\/coreclr,poizan42\/coreclr,krk\/coreclr,krk\/coreclr","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/nativeresources\/rctocpp.awk\n+++ src\/nativeresources\/rctocpp.awk\n@@ -62,7 +62,7 @@\n     print \"\/\/ This code was generated by rctocpp.awk and is not meant to be modified manually.\"\n     print \"#include <resourcestring.h>\";\n     print \"\";\n-    print \"extern const NativeStringResourceTable \" tableName \";\";\n+    print \"extern NativeStringResourceTable \" tableName \";\";\n     print \"const NativeStringResource \" arrayName \"[] = {\";\n }\n \n@@ -78,7 +78,7 @@\n     print \"};\";\n     print \"\";\n \n-    print \"const NativeStringResourceTable \" tableName \" __attribute__((visibility(\\\"default\\\"))) = {\";\n+    print \"NativeStringResourceTable \" tableName \" __attribute__((visibility(\\\"default\\\"))) = {\";\n     print numEntries \",\";\n     print arrayName \"};\";\n }\n"}
{"commit":"700e7131426ae395d663a0cf999206210a063a83","subject":"Fix unterminated source lines","message":"Fix unterminated source lines\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- fixExtraLinesFrom-webscraper.awk\n+++ fixExtraLinesFrom-webscraper.awk\n@@ -1,16 +1,22 @@\n # Print lines from a WebScraper csv file after joining extra newlines\n+# Make sure lines have a terminating double quote (except header line)\n \n # INVOCATION:\n #   awk -f fixExtraLinesFrom-webscraper.awk BritBoxPrograms.csv\n \n {\n-    if (\/^\"\/)\n-        printf (\"\\n\" $0)\n-    else\n-        printf\n+    if (\/^\"\/) {\n+        if (line !~ \"\\\"$\" && NR != 2)\n+            line = line \"\\\"\"\n+        print line\n+        line = $0\n+    } else {\n+        line = line $0\n+    }\n }\n \n END {\n-    printf (\"\\n\")\n+    if (line !~ \"\\\"$\")\n+        line = line \"\\\"\"\n+    print line\n }\n-\n"}
{"commit":"edf3e4143e2bc3c7494182e089bc912f940f1d23","subject":"2.13.awk","message":"2.13.awk\n","repos":"kaiiak\/APUE","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- chapter2\/2.13.awk\n+++ chapter2\/2.13.awk\n@@ -15,7 +15,7 @@\n \tFS=\"\\t+\"\n \twhile (getline <\"sysconf.sym\" > 0) {\n \t\tprintf(\"#ifdef %s\\n\", $1)\n-\t\tprintf(\"\\tprintf(\\\"%s defined to be %%ld\\\\n\", (long)%s+0);\\n\", $1, $1)\n+\t\tprintf(\"\\tprintf(\\\"%s defined to be %%ld\\\\n\\\", (long)%s+0);\\n\", $1, $1)\n \t\tprintf(\"#else\\n\")\n \t\tprintf(\"\\tprintf(\\\"no symbol for %s\\\\n\");\\n\", $1)\n \t\tprintf(\"#endif\\n\")\n"}
{"commit":"417a9c29842043f30884372e9efa88035d8c8266","subject":"[as] Print proper error messages in gen.awk","message":"[as] Print proper error messages in gen.awk\n","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- as\/target\/gen.awk\n+++ as\/target\/gen.awk\n@@ -151,7 +151,7 @@\n \t\t} else if (a ~ \/^\\?$\/) {\n \t\t\treturn out \"|AOPT\"\n \t\t} else if (a != \"\") {\n-\t\t\tprint \"wrong arg\", a > \"\/dev\/stderr\"\n+\t\t\tprint FILENAME \":\" NR \":\" $0 \":wrong arg\", a > \"\/dev\/stderr\"\n \t\t\texit 1\n \t\t}\n \t\tout = out \",\"\n"}
{"commit":"97dd824d394a4ccd889673ed7ab0f0100f8bdc43","subject":"SHADOW_LIST was getting converted to SHADOWLIST by the awk script that converts configs to win32.","message":"SHADOW_LIST was getting converted to SHADOWLIST by the awk script\nthat converts configs to win32.\n","repos":"htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/condor,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,htcondor\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -77,7 +77,7 @@\n \tnext\n }\n \/^SHADOW_LIST\/ {\n-    printf \"SHADOWLIST = SHADOW\\n\"\n+    printf \"SHADOW_LIST = SHADOW\\n\"\n     next\n }\n \n"}
{"commit":"3bcb25d17e95434347327fe2b896102db3f5b952","subject":"MTEXT entities added","message":"MTEXT entities added\n","repos":"OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- english\/gawk\/code\/dxf_txt2csv.awk\n+++ english\/gawk\/code\/dxf_txt2csv.awk\n@@ -1,18 +1,25 @@\n BEGIN {\n \tprint \"EAST;NORTH;LAYER;DIRECTION;SIZE;TEXT\";\t# print header\n+\trad2deg = 180.0 \/ atan2(1.0, 1.0) \/ 4;\n }\n \/^ENTITIES\/,\/^EOF\/ {\n \tif ($0 == \"  0\") {\t\t\t\t\t# next entity reached\n-\t\tif (entity == \"TEXT\") {\t\t\t# output text data\n+\t\tif (entity == \"MTEXT\") {\t\t# calculate angle from dx, dy\n+\t\t\tangle = atan2(dy, dx) * rad2deg;\t# angle in deg\n+\t\t}\n+\t\tif (entity == \"TEXT\" || entity == \"MTEXT\") {\t# output text data\n \t\t\tprintf(\"%.2f;%.2f;%s;%.5f;%.2f;%s\\n\", x, y, layer, angle, size, txt);\n \t\t}\n \t\tentity = \"\"; txt = \"\"; angle = 0; size = 1; layer = \"\";\n+\t\tdx = dy = 0.0;\n \t\tlast = \"\";\t\t\t\t\t\t# initialize variables\n \t}\n \tif (last == \"  0\") { entity = $0; }\t# actual entity type\n \tif (last == \"  8\") { layer = $0; }\t# layer\n \tif (last == \" 10\") { x = $0; }\t\t# east\t\n \tif (last == \" 20\") { y = $0; }\t\t# north\n+\tif (last == \" 11\") { dx = $0; }\t\t# direction for MTEXT\t\n+\tif (last == \" 21\") { dy = $0; }\t\t# direction for MTEXT\n \tif (last == \" 40\") { size = $0; }\t# text size\n \tif (last == \" 50\") { angle = $0; }\t# text direction\n \tif (last == \"  1\") { txt = $0; }\t# text\n"}
{"commit":"a4929368ad06a4b50f9e212af8117b4e5f643b79","subject":"handle null explanation in dictionary entries (fix #33)","message":"handle null explanation in dictionary entries (fix #33)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -200,11 +200,14 @@\n     temp = \"\"\n     j = 0\n     saveSortedIn = PROCINFO[\"sorted_in\"]\n-    PROCINFO[\"sorted_in\"] = sortedIn\n-    for (i in array)\n-        if (preserveNull || array[i] != \"\")\n-            temp = j++ ? temp separator array[i] : array[i]\n-    PROCINFO[\"sorted_in\"] = saveSortedIn\n+    if (length(array)) {\n+        PROCINFO[\"sorted_in\"] = sortedIn\n+        for (i in array)\n+            if (preserveNull || array[i] != \"\")\n+                temp = j++ ? temp separator array[i] : array[i]\n+        PROCINFO[\"sorted_in\"] = saveSortedIn\n+    } else\n+        temp = array # array == \"\"\n \n     return temp\n }\n"}
{"commit":"32e0e6f806097bb2ba733de37880d5eff52aa26d","subject":"Escape '(' and ')' in regexp.  Don't delete \"languages\" from \"Multiple languages\".","message":"Escape '(' and ')' in regexp.  Don't delete\n\"languages\" from \"Multiple languages\".\n","repos":"sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- LANGNAME.awk\n+++ LANGNAME.awk\n@@ -87,6 +87,8 @@\n \t    name = array[idx]\n \t    if (name == \"Greek, Modern (1453-)\")\n \t\tname = \"Greek\";\n+\t    else if (name == \"Multiple languages\")\n+\t\t;\n \t    else {\n \t\tgsub(\" \\\\(Other\\\\)$\", \"\", name);\n \t\tgsub(\" languages$\", \"\", name);\n"}
{"commit":"fa5b920d4c656d1abae39e0172da51d9ecb7affb","subject":"- handle fedora no modversions","message":"- handle fedora no modversions\n","repos":"0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -1459,6 +1459,8 @@\n     }\n     if (count_syms)\n \tclose(file)\n+    else\n+\tsystem_command(\"touch \" file)\n     print_vinfo(1,\"w: syssymver, syms \" count_syms)\n }\n function write_modsymver(file,    sym,line,count_syms,mod)\n@@ -1485,6 +1487,8 @@\n     }\n     if (count_syms)\n \tclose(file)\n+    else\n+\tsystem_command(\"touch \" file)\n     print_vinfo(1,\"w: modsymver, syms \" count_syms)\n }\n function create_missing_symsets(\tprogress,count,count_syms,count_sets,sym,set,setmiss,n,symbols,hash,symfile,pos)\n"}
{"commit":"ffb3c36fb6e3cdac29a1fb69c476ddf62b58ec84","subject":"Languages: show \"Language not found\" error in getDetails()","message":"Languages: show \"Language not found\" error in getDetails()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1925,8 +1925,11 @@\n \n # Return detailed information of a language as a string.\n function getDetails(code,    group, iso, language, script) {\n-    if (code == \"auto\" || !getCode(code))\n-        return prettify(\"languages\", sprintf(\"%-22s%s\\n\", \"Unknown code\", ansi(\"bold\", code)))\n+    if (code == \"auto\" || !getCode(code)) {\n+        e(\"[ERROR] Language not found: \" code \"\\n\"                      \\\n+          \"        Run '-reference \/ -R' to see a list of available languages.\")\n+        exit 1\n+    }\n \n     script = scriptName(getScript(code))\n     if (isRTL(code)) script = script \" (R-to-L)\"\n"}
{"commit":"5126534cfb564c63c654881200a529f02441e9ef","subject":"Translate: for web translation, print translated URLs as reference (#295)","message":"Translate: for web translation, print translated URLs as reference (#295)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -273,8 +273,10 @@\n # Start a browser session and translate a web page.\n function webTranslation(uri, sl, tl, hl,    temp) {\n     temp = _WebTranslateUrl(uri, sl, tl, hl)\n-    if (temp)\n+    if (temp) {\n+        p(temp)\n         system(Option[\"browser\"] \" \" parameterize(temp) SUPOUT SUPERR)\n+    }\n }\n \n # Translate the source text (into all target languages).\n"}
{"commit":"8ec7c2993cdc75d39512cce5753b815dac6cd9a2","subject":"Update current year.","message":"Update current year.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@38823 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if ending year is gt or eq to contract year\n-  current_year = 2014\n+  current_year = 2015\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"75cef72fb9141af1731fd31470147538069d9f0b","subject":"Revert \"Properly indent awk script\"","message":"Revert \"Properly indent awk script\"\n\nThis reverts commit 060404588512e888d940693e132772e04596ac5f.\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -140,37 +140,37 @@\n                         episodeNumberFromURL, shortURL) >> ERROR_FILE\n                 episodeNumber = episodeNumberFromURL\n             } else {\n-            printf (\"==> Episode number is 00: %s\\n\", shortURL) >> ERROR_FILE\n+                printf (\"==> Episode number is 00: %s\\n\", shortURL) >> ERROR_FILE\n+            }\n         }\n+        printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, S%02d%s%02d, %s\\\"\\)\\t\\t\\t%s\\t\\t\\t\\t\\t\", \\\n+                SERIES_NUMBER, episodeURL, seriesTitle, seasonNumber, episodeType, episodeNumber, \\\n+                episodeTitle, episodeDuration) >> EPISODE_INFO_FILE\n+        # Need to account for multiple lines of description\n+        descriptionLinesFound = 0\n+        episodeDescription = \"\"\n+        # make sure there is no carryforward\n+        episodeNumber = \"\"\n+        episodeNumberFromURL = \"\"\n     }\n-    printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, S%02d%s%02d, %s\\\"\\)\\t\\t\\t%s\\t\\t\\t\\t\\t\", \\\n-               SERIES_NUMBER, episodeURL, seriesTitle, seasonNumber, episodeType, episodeNumber, \\\n-               episodeTitle, episodeDuration) >> EPISODE_INFO_FILE\n-    # Need to account for multiple lines of description\n-    descriptionLinesFound = 0\n-    episodeDescription = \"\"\n-    # make sure there is no carryforward\n-    episodeNumber = \"\"\n-    episodeNumberFromURL = \"\"\n-}\n-if ($0 ~ \/<p>\/) {\n-    split ($0,fld,\"[<>]\")\n-    paragraph = fld[3]\n-    gsub (\/&quot;\/,\"\\\"\",paragraph)\n-    gsub (\/&amp;\/,\"\\\\&\",paragraph)\n-    # Could be in multiple paragraphs\n-    descriptionLinesFound += 1\n-    episodeDescription = episodeDescription (descriptionLinesFound == 1 ? \"\" : \" \") paragraph\n-}\n-if ($0 ~ \/<\\\/div>\/) {\n-    if (episodeDescription == \"\") {\n-        if (episodeType == \"T\") {\n-            episodeDescription = episodeTitle\n-        } else {\n-        print \"==> No description: \" shortURL >> ERROR_FILE\n+    if ($0 ~ \/<p>\/) {\n+        split ($0,fld,\"[<>]\")\n+        paragraph = fld[3]\n+        gsub (\/&quot;\/,\"\\\"\",paragraph)\n+        gsub (\/&amp;\/,\"\\\\&\",paragraph)\n+        # Could be in multiple paragraphs\n+        descriptionLinesFound += 1\n+        episodeDescription = episodeDescription (descriptionLinesFound == 1 ? \"\" : \" \") paragraph\n+    }\n+    if ($0 ~ \/<\\\/div>\/) {\n+        if (episodeDescription == \"\") {\n+            if (episodeType == \"T\") {\n+                episodeDescription = episodeTitle\n+            } else {\n+            print \"==> No description: \" shortURL >> ERROR_FILE\n+            }\n+        }\n+        sub (\/^PR \\| \/,\"\",episodeDescription)\n+        print episodeDescription >> EPISODE_INFO_FILE\n     }\n }\n-sub (\/^PR \\| \/,\"\",episodeDescription)\n-print episodeDescription >> EPISODE_INFO_FILE\n-    }\n-}\n"}
{"commit":"3327a1655da5749a951c92abc6747ee01d9915e3","subject":"make-barcodes.awk: Greatly simplify ordering of tags (simple string compare).","message":"make-barcodes.awk: Greatly simplify ordering of tags (simple string compare).\n","repos":"makrutenko\/dunovo,makrutenko\/dunovo,makrutenko\/dunovo","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- make-barcodes.awk\n+++ make-barcodes.awk\n@@ -5,47 +5,35 @@\n #   1: the barcode, put into a canonical form\n #   2: the order of the barcode halves (\"ab\" or \"ba\")\n #   3: read1 name\n-#   4: sequence of read 1, minus the 12bp barcode and 5bp constant sequence\n+#   4: sequence of read 1, minus the 12bp barcode and 5bp invariant sequence\n #   5: read1 quality scores, minus the same first 17bp\n #   6: read2 name\n #   7: sequence of read 2, minus the first 17bp\n #   8: read2 quality scores, minus the first 17bp\n-# The canonical form of the barcode is composed of the first 12bp of each read. The 12bp from the\n-# first read is the \"alpha\" and the one from the second is the \"beta\". The barcode is formed by\n-# concatenating them in an order determined by summing the ASCII values of each 12bp sequence, then\n-# putting the one with a lower sum first. If the alpha is first, the value of the second column (the\n-# order) is \"ab\", and \"ba\" if the beta is first.\n+# The canonical form of the barcode is composed of two concatenated tags, one from each read.\n+# By default, each tag is the first 12bp of the read. The tag from the first read is the \"alpha\" and\n+# the tag from the second is the \"beta\". The barcode is formed by concatenating them in an order\n+# determined by a string comparison of the two. The greater tag is first (if they are equal, the\n+# beta is first, but then you have bigger problems).\n \n BEGIN {\n   FS = \"\\t\"; OFS = \"\\t\";\n-  if (! BAR_LEN) {\n-    BAR_LEN = 24;\n+  # The number of bases from the start of each read that form the two halves of the barcode.\n+  # (this should be half the size of the full, canonical barcode).\n+  if (! TAG_LEN) {\n+    TAG_LEN = 12;\n   }\n+  # The number of bases in the read that are between the barcode and the start of the actual sample\n+  # sequence (the restriction site in the Loeb 2014 protocol).\n   if (! INVARIANT) {\n     INVARIANT = 5;\n   }\n-  HALF = int(BAR_LEN\/2);\n-  # Fill an array mapping each character to its ASCII value.\n-  for (i = 0; i < 128; i++) {\n-    char = sprintf(\"%c\", i);\n-    ORD[char] = i;\n-  }\n-}\n-\n-function get_sum(seq) {\n-  sum = 0;\n-  for (i = 1; i <= length(seq); i++) {\n-    sum += ORD[substr(seq, i, 1)];\n-  }\n-  return sum;\n }\n \n {\n-  alpha = substr($2, 1, HALF);\n-  beta = substr($6, 1, HALF);\n-  alpha_sum = get_sum(alpha);\n-  beta_sum = get_sum(beta);\n-  if (alpha_sum < beta_sum) {\n+  alpha = substr($2, 1, TAG_LEN);\n+  beta = substr($6, 1, TAG_LEN);\n+  if (alpha > beta) {\n     barcode = alpha beta;\n     order = \"ab\";\n   } else {\n@@ -54,9 +42,9 @@\n   }\n   name1 = $1;\n   name2 = $5;\n-  seq1 = substr($2, HALF + INVARIANT + 1);\n-  seq2 = substr($6, HALF + INVARIANT + 1);\n-  qual1 = substr($4, HALF + INVARIANT + 1);\n-  qual2 = substr($8, HALF + INVARIANT + 1);\n+  seq1 = substr($2, TAG_LEN + INVARIANT + 1);\n+  seq2 = substr($6, TAG_LEN + INVARIANT + 1);\n+  qual1 = substr($4, TAG_LEN + INVARIANT + 1);\n+  qual2 = substr($8, TAG_LEN + INVARIANT + 1);\n   print barcode, order, name1, seq1, qual1, name2, seq2, qual2;\n }\n"}
{"commit":"78b2d4a9dbbbd98f5c8c1df4d04d3d3a26fa35a4","subject":"code optimization","message":"code optimization\n","repos":"OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials,OSGeoLabBp\/tutorials","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- english\/data_processing\/code\/numephem.awk\n+++ english\/data_processing\/code\/numephem.awk\n@@ -1,15 +1,11 @@\n-\/^G[0-9][0-9]\/ {\n-\tnumGPS++;\n+\/^[GREC][0-9][0-9]\/ {\n+\t# increment satelite specific array elements \n+\t# G - GPS, R - Glonass, E - Galielo, C - Beidou\n+\tnumsat[substr($0, 1, 1)]++;\n }\n-\/^R[0-9][0-9]\/ {\n-\tnumGLO++;\n+END { printf \"%s: \", FILENAME;\n+\tname[\"G\"] = \"GPS\"; name[\"R\"] = \"Glonass\"; name[\"E\"] = \"Galileo\";\n+\tname[\"C\"] = \"Beidou\";\n+\tfor (i in numsat) { printf \"%s %d \", name[i], numsat[i]};\n+\tprintf \"\\n\";\n }\n-\/^E[0-9][0-9]\/ {\n-\tnumGAL++;\n-}\n-\/^C[0-9][0-9]\/ {\n-\tnumBDS++;\n-}\n-END {\n-\tprint FILENAME, numGPS, numGLO, numGAL, numBDS;\n-}"}
{"commit":"9a191e0d7b7bc81e6367a3b8246d8db5675bb5ba","subject":"Translators\/BingTranslator: bs-Latn -> bs","message":"Translators\/BingTranslator: bs-Latn -> bs\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -149,11 +149,9 @@\n function bingWebTranslateUrl(uri, sl, tl, hl,    _sl, _tl) {\n     # Hot-patches for language codes\n     _sl = sl; _tl = tl\n-    if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code\n     if (_sl == \"zh\")    _sl = \"zh-CHS\" # still old format\n     if (_sl == \"zh-CN\") _sl = \"zh-CHS\"\n     if (_sl == \"zh-TW\") _sl = \"zh-CHT\"\n-    if (_tl == \"bs\")    _tl = \"bs-Latn\"\n     if (_tl == \"zh\")    _tl = \"zh-CHS\"\n     if (_tl == \"zh-CN\") _tl = \"zh-CHS\"\n     if (_tl == \"zh-TW\") _tl = \"zh-CHT\"\n@@ -225,16 +223,14 @@\n     bingSetup()\n \n     # Hot-patches for Bing's own translator language codes\n-    # See: <https:\/\/msdn.microsoft.com\/en-us\/library\/hh456380.aspx>\n+    # See: <https:\/\/docs.microsoft.com\/en-us\/azure\/cognitive-services\/Translator\/language-support>\n     if (_sl == \"auto\")  _sl = \"auto-detect\"\n-    if (_sl == \"bs\")    _sl = \"bs-Latn\"  # 'bs' is not recognized as valid code\n     if (_sl == \"no\")    _sl = \"nb\"  # Bing uses Norwegian Bokm\u00e5l\n     # Bing uses 'pt' or 'pt-br' for Brazilian Portuguese, 'pt-pt' for European Portuguese\n     if (_sl == \"pt-BR\") _sl = \"pt\" # just pt-br\n     else if (_sl == \"pt-PT\") _sl = \"pt\" # FIXME: support pt-pt\n     if (_sl == \"zh-CN\") _sl = \"zh-Hans\"\n     if (_sl == \"zh-TW\") _sl = \"zh-Hant\"\n-    if (_tl == \"bs\")    _tl = \"bs-Latn\"\n     if (_tl == \"no\")    _tl = \"nb\"\n     if (_tl == \"pt-BR\") _tl = \"pt\"\n     else if (_tl == \"pt-PT\") _tl = \"pt-pt\"\n"}
{"commit":"87e649f4b38e98490e5d84e47712d5276820740a","subject":"Commons: add fileExists()","message":"Commons: add fileExists()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -290,6 +290,11 @@\n         e(message)\n }\n \n+# Return non-zero if file exists, otherwise return 0.\n+function fileExists(file) {\n+    return !system(\"test -f \" file)\n+}\n+\n BEGIN {\n     initUrlEncoding()\n     initAnsiCode()\n"}
{"commit":"2a9d557c4e8cf7e2e6682d9a833878c718fc2e3d","subject":"Remove useless awk script.","message":"Remove useless awk script.\n","repos":"jacquerie\/IR","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- awk\/mean.awk\n+++ awk\/mean.awk\n@@ -1,2 +0,0 @@\n-    { sum += $2 }\n-END { printf(\"%.3f\\n\", sum \/ NR) }\n"}
{"commit":"7a1a5ef72c53613aafc8121822af97f835106e59","subject":"Add automated date.","message":"Add automated date.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -2,24 +2,33 @@\n # tdbout -t publisher,plugin,publisher:info[contract],year,publisher:info[tester],status,publisher:info[back],publisher:info[poller] *.tdb \n \n BEGIN {\n+  #After July 1 of this year, start reporting on this year. Before that, ignore this year.\n+  str = \"date +%Y\";\n+  str | getline current_year;\n+  #close str;\n+  str = \"date +%W\";\n+  str | getline week;\n+  #close str;\n+  if (week<26) {\n+  \tcurrent_year=current_year-1\n+  }\n+  #printf \"%s %s\", current_year, week;\n   FS=\"\\t\"\n   pn = 0\n-    #str = \"date +%m-%d-%Y\";\n-    #str | getline date;\n-    #close str;\n }\n-#$3>date\n+\n {\n   # add a loop to add line only if either status is (wanted or testing) or ending year is gt or eq to contract year\n \n-  #After July 1 of this year, start reporting on this year. Before that, ignore this year.\n-  current_year=`date +%Y`\n-  week=`date +%W`\n-  if [ $week -lt 26 ]\n-    then\n-    ((current_year--))\n+  #current_year=2018\n+\n+  #current_year=`date +%Y`\n+  #week=`date +%W`\n+  #if [ $week -lt 26 ]\n+  #  then\n+  #  ((current_year--))\n     #echo current_year $current_year\n-  fi\n+  #fi\n   #echo current_year $current_year\n   \n   # end_year is the AU year, or the second half of a range, ie 2014 in 2013-2014\n"}
{"commit":"55a51ae3e403cfc6cba306975826632ffc59c9e0","subject":"Record AUs that have a year range ending in the contract year","message":"Record AUs that have a year range ending in the contract year\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@17408 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,7 +8,8 @@\n }\n \n {\n-  if (substr($3,0,4) >= $2) {\n+if ((substr($3,0,4) >= $2) || ((length($3) == 9) && (substr($3,6,4) >= $2))) {\n+# if (substr($3,0,4) >= $2) {\n   if (!(($1,$2,$3) in b)) {\n     p[pn] = $1\n     t[pn] = $2\n@@ -53,5 +54,6 @@\n     \tprintf \"\\t%d\", x[s[j]]\n     }\n \n+  printf \"\\n\"\n }\n \n"}
{"commit":"1f44be6560a9b9fa6e22bdfb2d4a7406fc5dc0f8","subject":"Fix typo","message":"Fix typo\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFromSitemap.awk\n+++ getMHzFromSitemap.awk\n@@ -290,7 +290,7 @@\n         #\n         # Make sure episodeDuration is valid\n         if (split (episodeDuration, tm, \":\") == 3) {\n-            # Cannnocalize episodeDuration to 3 parts like other services\n+            # Canonicalize episodeDuration to 3 parts like other services\n             episodeDuration = sprintf (\"%02d:%02d:%02d\",tm[1],tm[2],tm[3])\n         } else {\n             printf (\"==> Bad episodeDuration %s in \\\"%s: %s\\\"\\n\", episodeDuration, showTitle,\n"}
{"commit":"28b543ce3df3399783f093bf4cff4a745be5ec02","subject":"gbuild: remove processdelivered.mk","message":"gbuild: remove processdelivered.mk\n\nobsolete since 6280f921050e6e879ca752abf4e8fb7553aba6f5.\n\nChange-Id: Idab0c904f05da66956ecbd8a01f3e9d2e2d7c605\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/gbuild\/processdelivered.awk\n+++ solenv\/gbuild\/processdelivered.awk\n@@ -1,27 +0,0 @@\n-#\n-# This file is part of the LibreOffice project.\n-#\n-# This Source Code Form is subject to the terms of the Mozilla Public\n-# License, v. 2.0. If a copy of the MPL was not distributed with this\n-# file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n-#\n-# This file incorporates work covered by the following license notice:\n-#\n-#   Licensed to the Apache Software Foundation (ASF) under one or more\n-#   contributor license agreements. See the NOTICE file distributed\n-#   with this work for additional information regarding copyright\n-#   ownership. The ASF licenses this file to you under the Apache\n-#   License, Version 2.0 (the \"License\"); you may not use this file\n-#   except in compliance with the License. You may obtain a copy of\n-#   the License at http:\/\/www.apache.org\/licenses\/LICENSE-2.0 .\n-#\n-\n-BEGIN {\n-    RS=\" \"\n-    FS=\":\"\n-}\n-\n-{\n-    if( NF == 2 )\n-        print \"COPY \" $1 \" \" $2;\n-}\n"}
{"commit":"71a67ccba4a3f6bb09682fc81cea37600b87357e","subject":"Clarified wrong number of episodes message","message":"Clarified wrong number of episodes message\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- verifyBBoxInfoFrom-webscraper.awk\n+++ verifyBBoxInfoFrom-webscraper.awk\n@@ -44,8 +44,9 @@\n \n     showTitle[numShows] = title\n     seas[numShows] = numSeasons\n-    doesHave[numShows] = numEpisodes\n-    shouldHave[numShows] = 0\n+    episodesInShow[numShows] = numEpisodes\n+    episodesInSeasons[numShows] = 0\n+    seasonsFound[numShows] = 0\n }\n \n \/^         \/ {\n@@ -53,7 +54,8 @@\n     if ($epis !~ \/^[[:digit:]]*$\/)\n         print \"    Bad input line \" NR \":\\n\" $0\n     else\n-        shouldHave[numShows] += $epis\n+        seasonsFound[numShows] += 1\n+    episodesInSeasons[numShows] += $epis\n }\n \n END {\n@@ -62,16 +64,17 @@\n         print \"\"\n     }\n     for ( i = 1; i <= numShows; i++ ) {\n-        if (seas[i] != 1 && doesHave[i] != shouldHave[i]) {\n+        if (seas[i] != 1 && episodesInShow[i] != episodesInSeasons[i]) {\n             badEpisodes += 1\n-            print \"    \"showTitle[i] \" should have \" shouldHave[i] \" instead of \" \\\n-                doesHave[i] \" episodes.\"\n+            print \"    \"showTitle[i] \"'s \" seasonsFound[i] \" seasons claim \"\\\n+                  episodesInSeasons[i] \" episodes, found \"\\\n+                  episodesInShow[i] \" in \" seas[i] \" seasons.\"\n             print showTitle[i] >> REPAIR_SHOWS\n         }\n     }\n     if (badEpisodes > 0 ) {\n         badEpisodes == 1 ? field = \"URL\" : field = \"URLs\"\n         printf (\"==> %2d shows with wrong number of episodes in %s\\n\", badEpisodes, FILENAME) \\\n-            > \"\/dev\/stderr\"\n+                > \"\/dev\/stderr\"\n     }\n }\n"}
{"commit":"6abf91bc891d203f05760d9db37f0e8a331b52ee","subject":"mawk doesn't recognize 0X constants within expressions. (dm)","message":"mawk doesn't recognize 0X constants within expressions. (dm)\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi_constants.awk\n+++ Programs\/brlapi_constants.awk\n@@ -89,5 +89,5 @@\n   print \"#define BRLAPI_DOTS(\" arguments \") (\\\\\\n\" expression \" \\\\\\n)\"\n \n   print \"\"\n-  writeMacroDefinition(\"BRLAPI_DOT_CHORD\", 0X100, \"space key\")\n+  writeMacroDefinition(\"BRLAPI_DOT_CHORD\", 256, \"space key\")\n }\n"}
{"commit":"6aeaf13fe40bfea24721444c1f24eeab7813392f","subject":"Added link to homepage in reference pages.","message":"Added link to homepage in reference pages.\n","repos":"TheHubbit\/PyInventor,TheHubbit\/PyInventor","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/pydoc2html.awk\n+++ utils\/pydoc2html.awk\n@@ -22,7 +22,7 @@\n           print \"<title>PyInventor<\/title><\/head>\";\n           print \"<body><div id='header_wrap' class='outer'><header class='inner'>\";\n           print \"<a id='forkme_banner' href='https:\/\/github.com\/TheHubbit\/PyInventor'>View on GitHub<\/a>\";\n-          print \"<h1 id='project_title'>PyInventor<\/h1><h2 id='project_tagline'>3D Graphics in Python with Open Inventor<\/h2>\";\n+          print \"<a href='http:\/\/thehubbit.github.io\/PyInventor\/'><h1 id='project_title'>PyInventor<\/h1><\/a><h2 id='project_tagline'>3D Graphics in Python with Open Inventor<\/h2>\";\n           print \"<\/header><\/div>\";\n \n           print \"<div id='main_content_wrap' class='outer'><section id='main_content' class='inner'>\";\n"}
{"commit":"0dddea32b0b654152ccdef65278a3b8c2b961d7d","subject":"Add WASM","message":"Add WASM\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- tools\/git\/scripts\/annotate_file_type.awk\n+++ tools\/git\/scripts\/annotate_file_type.awk\n@@ -140,6 +140,10 @@\n \tprint \"plaintext\" OFS $1 OFS $2\n \tnext\n }\n+\/\\.wasm$\/ {\n+\tprint \"WASM\" OFS $1 OFS $2\n+\tnext\n+}\n \/\\.woff$\/ {\n \tprint \"fonts\" OFS $1 OFS $2\n \tnext\n"}
{"commit":"6aa8af49f18bd99ea4aac1250efc6edf310c5e76","subject":"Fix extra quotes in BBox showTitle","message":"Fix extra quotes in BBox showTitle\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -74,6 +74,14 @@\n     if (match (episodeTitle, \/^Season [[:digit:]]*, |^Series [[:digit:]]*, \/))\n         episodeTitle = substr(episodeTitle,RLENGTH+1)\n \n+    # Get rid of initial\/trailing quotes in showTitle\n+    # \"BBC Three's \"\"Murdered By...\"\" Collection Trailer\"\n+    if (showTitle ~ \/^\".*\"$\/) {\n+        print \"    Correcting extra quotes in:\\n        \" showTitle >> ERROR_FILE\n+        sub (\/^\"\/,\"\",showTitle)\n+        sub (\/\"$\/,\"\",showTitle)\n+    }\n+\n     # Non-existent fields in movies or episodes\n     if (URL ~ \/^\\\/us\\\/movie\\\/\/) {\n         depth = \"1\"\n@@ -86,6 +94,9 @@\n         numEpisodes = \"\"\n         fullTitle = showTitle \", \" sortkey \", \" episodeTitle\n     }\n+\n+    # Fix two consecutive double quotes in showTitle, but leave in fullTitle \n+    gsub (\"\\\"\\\"\",\"\\\"\",showTitle)\n \n     # Create spreadsheet row in common format\n     savedLine = sprintf \\\n"}
{"commit":"583ba385952ae60ffc1438bea46b313d350ac172","subject":"Fix vim typo","message":"Fix vim typo\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxFrom-scrapy_xml.awk\n+++ getBritBoxFrom-scrapy_xml.awk\n@@ -12,7 +12,7 @@\n \n # Example input lines\n #\n-# <URL>\/us\/movie\/70_Glorious_Years_13550<\/URL><Title>70 Glorious Years<\/Title><Subtitle><\/Subtitle>i\\\n+# <URL>\/us\/movie\/70_Glorious_Years_13550<\/URL><Title>70 Glorious Years<\/Title><Subtitle><\/Subtitle>\\\n # <Duration>60<\/Duration><Year>1996<\/Year><Rating>TV-PG<\/Rating>\n #\n # <URL>\/us\/episode\/Vera_S3_E1_13502<\/URL><Title>Vera<\/Title><Subtitle>Season 3, Castles in The Air<\/Subtitle>\\\n"}
{"commit":"0e8b72f69e2ff7b76b6da8bfbef3cc341d7471ae","subject":"Take in the new data format.","message":"Take in the new data format.\n","repos":"lagerspetz\/TimeSeriesSpark,lagerspetz\/TimeSeriesSpark","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- energy-data-processing\/battery-drain-average.awk\n+++ energy-data-processing\/battery-drain-average.awk\n@@ -3,7 +3,7 @@\n # measurement number, timestamp, milliamperes, volts\n \n BEGIN{\n-  FS=\",\"\n+#  FS=\",\"\n   # With 5kHz, this gives 2 samples per second.\n   if ( span < 1){\n       span=2500\n@@ -29,9 +29,9 @@\n \n # Data lines:\n {\n-    sumA+=$3\n-    sumV+=$4\n-    sec+=$2\n+    sumA+=$2\n+#    sumV+=$4\n+    sec+=$1\n     count+=1\n }\n \n@@ -62,3 +62,4 @@\n     print hrs\":\"mins\":\"secs,(battery-prev-sumA\/count\/3600)\/battery*100,sumV\/count\n   }\n }\n+\n"}
{"commit":"01b913c144e303130fff27406692b460b363a3f8","subject":"Languages: add Shona language","message":"Languages: add Shona language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -301,6 +301,19 @@\n     Locale[\"gd\"][\"iso\"]                = \"gla\"\n     Locale[\"gd\"][\"glotto\"]             = \"scot1245\"\n     Locale[\"gd\"][\"script\"]             = \"Latn\"\n+\n+    #? Shona\n+    Locale[\"sn\"][\"name\"]               = \"Shona\"\n+    Locale[\"sn\"][\"endonym\"]            = \"ChiShona\"\n+    #Locale[\"sn\"][\"translations-of\"]\n+    #Locale[\"sn\"][\"definitions-of\"]\n+    #Locale[\"sn\"][\"synonyms\"]\n+    #Locale[\"sn\"][\"examples\"]\n+    #Locale[\"sn\"][\"see-also\"]\n+    Locale[\"sn\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"sn\"][\"iso\"]                = \"sna\"\n+    Locale[\"sn\"][\"glotto\"]             = \"core1255\"\n+    Locale[\"sn\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"354d59ed58e89bca9af12f60d978c695d30f498a","subject":"Made callouts in docs prettier and copy+paste friendly.","message":"Made callouts in docs prettier and copy+paste friendly.\n","repos":"artem-aliev\/tinkerpop,jorgebay\/tinkerpop,apache\/tinkerpop,artem-aliev\/tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,jorgebay\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,jorgebay\/tinkerpop,jorgebay\/tinkerpop,robertdale\/tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,krlohnes\/tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,pluradj\/incubator-tinkerpop,krlohnes\/tinkerpop,apache\/incubator-tinkerpop,robertdale\/tinkerpop,pluradj\/incubator-tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop,artem-aliev\/tinkerpop,artem-aliev\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/postprocessor\/processor.awk\n+++ docs\/postprocessor\/processor.awk\n@@ -19,13 +19,33 @@\n \n BEGIN {\n   firstMatch=1\n+  styled=0\n }\n \n \/Licensed to the Apache Software Foundation\/ {\n   isHeader=1\n }\n \n-firstMatch || !isHeader\n+\/<\\\/style>\/ {\n+  if (!styled) {\n+    print \".invisible {position: absolute; left: 9999px}\"\n+    styled=1\n+  }\n+}\n+\n+!\/<span class=\"comment\">\/ {\n+  if (firstMatch || !isHeader) {\n+    print gensub(\/(<b class=\"conum\">)\\(([0-9]+)\\)(<\\\/b>)\/,\n+                 \"<span class=\\\"invisible\\\">\/\/<\/span>\\\\1\\\\2\\\\3\", \"g\")\n+  }\n+}\n+\n+\/<span class=\"comment\">\/ {\n+  if (firstMatch || !isHeader) {\n+    print gensub(\/<span class=\"comment\">\\\/\\\/<\\\/span>(<b class=\"conum\">)\\(([0-9]+)\\)(<\\\/b>)\/,\n+                 \"<span class=\\\"invisible\\\">\/\/<\/span>\\\\1\\\\2\\\\3<span class=\\\"invisible\\\">\\\\\\\\<\\\/span>\", \"g\")\n+  }\n+}\n \n \/under the License\\.\/ {\n   firstMatch=0\n"}
{"commit":"66279fe7cc64a3ab1fe27143c68c64a44b26e214","subject":"repeated matching of backquoted stuff","message":"repeated matching of backquoted stuff","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -104,9 +104,10 @@\n \n \/`\/ {\n   line = $0;\n-  sub(\/`\/, \"\\\\texttt{\", line);\n-  sub(\/`\/, \"}\", line);\n-  $0 = line\n+  #sub(\/`\/, \"\\\\texttt{\", line);\n+  #sub(\/`\/, \"}\", line);\n+  $0 = gensub(\/`([^`]*)`\/,\"\\\\\\\\texttt{\\\\1}\",\"g\",line)\n+  #$0 = line\n   ## repeat!\n }\n \n"}
{"commit":"ee7bb8f644c2e1c2be51d914342382f8692ca93f","subject":"Fix license.","message":"Fix license.\n","repos":"pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- contrib\/gprof2dot.awk\n+++ contrib\/gprof2dot.awk\n@@ -1,7 +1,12 @@\n-# Copyright (c) AT&T Corp. 1994, 1995.\n-# This code is licensed by AT&T Corp.  For the\n-# terms and conditions of the license, see\n-# http:\/\/www.research.att.com\/orgs\/ssr\/book\/reuse\n+\/*************************************************************************\n+ * Copyright (c) 2011 AT&T Intellectual Property\n+ * All rights reserved. This program and the accompanying materials\n+ * are made available under the terms of the Eclipse Public License v1.0\n+ * which accompanies this distribution, and is available at\n+ * http:\/\/www.eclipse.org\/legal\/epl-v10.html\n+ *\n+ * Contributors: See CVS logs. Details at http:\/\/www.graphviz.org\/\n+ *************************************************************************\/\n \n # remove leading underscore, then translate leading dot to underscore\n function canon(s) {\n"}
{"commit":"bfc44cb96dc7a5abe71415b88e62e16aaf3b6f1e","subject":"updates to awk script","message":"updates to awk script\n","repos":"FactomProject\/Testing,FactomProject\/Testing,FactomProject\/Testing,FactomProject\/Testing","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- FactomTests\/FactoidTest\/validate.awk\n+++ FactomTests\/FactoidTest\/validate.awk\n@@ -1,4 +1,4 @@\n-\n+#!\\ \/bin\/gawk\n # This is to fix the fact that without modifing Factom, the Genesis block is already\n # complete before we can print.  So it already has the reward added.  But to make our\n # code work, we need to remove the reward.\n"}
{"commit":"304a886c08d3e2c320527e371e148265b37ff619","subject":"Little change to process.awk","message":"Little change to process.awk\n\nSigned-off-by: Lu Yong <3812e7ccba28440a3ea55b89d289fd7e0e30069d@cn.ibm.com>\n","repos":"open-power\/snap,open-power\/snap,open-power\/snap,open-power\/snap,open-power\/snap","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- actions\/hls_mm_test\/tests\/process.awk\n+++ actions\/hls_mm_test\/tests\/process.awk\n@@ -38,7 +38,8 @@\n   t=1\n   error=0\n \n-  printf \"---------------------- Process %s logs -------------------------------\\n\", iter\n+  printf \"---------------------- Process %s logs ----------------------------\\n\", iter\n+  printf \"                       (time in usec)\\n\", iter\n   while (t <= 10) {\n \ti=1\n \tmin = usec_table[t][1];\n"}
{"commit":"866cbf8378c93bd08a69d29b9496da23da382b6c","subject":"SCCS mkdoc.awk 10\/06\/22 08:50:28: Replaced script headers for Open Source release","message":"SCCS mkdoc.awk 10\/06\/22 08:50:28: Replaced script headers for Open Source release\n","repos":"phorward\/phorward,phorward\/phorward","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- run\/mkdoc.awk\n+++ run\/mkdoc.awk\n@@ -1,10 +1,12 @@\n #-------------------------------------------------------------------------------\n-# Phorward SDK - mkdoc :: Documentation Generator\n+# Phorward Software Development Kit\n # Copyright (C) 2009, 2010 by Phorward Software Technologies, Jan Max Meyer\n-# http:\/\/www.phorward-software.com ++ mail<<AT>>phorward-software<<DOT>>com\n+# http:\/\/www.phorward-software.com ++ contact<at>phorward<dash>software<dot>com\n+# All rights reserved. See $PHOME\/LICENSE for more information.\n #\n # Script:\t\tmkdoc.awk\n # Author:\t\tJan Max Meyer\n+# Usage:\t\tTemplate-based documentation generator\n #-------------------------------------------------------------------------------\n \n BEGIN\t{\n"}
{"commit":"7b72c95a9ff9facbd6e0f381975771dd102f09a5","subject":"addr_utils.awk\t\t-- new func AU_match() that handles street ranges","message":"addr_utils.awk\t\t-- new func AU_match() that handles street ranges\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/addr_utils.awk\n+++ lib\/addr_utils.awk\n@@ -1,4 +1,4 @@\n-function AU_parse(rply, addr, result, towns, st_types, st_quals, dirs,   nf, ary, i, f_st, nf2, ary2, i1, name, street, quals, town, k) {\n+function AU_parse(rply, do_subs, addr, result, towns, st_types, st_quals, dirs,   nf, ary, i, f_st, nf2, ary2, i1, name, street, quals, town, k) {\n \n \tresult[\"status\"] = \"B\"\n \tresult[\"emsg\"  ] = \"\"\n@@ -15,6 +15,7 @@\n \t}\n \n \tif(rply){\n+\t\t# TODO: generalize to all states?\n \t\tif(ary[nf] != \"United States of America\"){\n \t\t\tresult[\"emsg\"] = \"not.usa\"\n \t\t\treturn 1\n@@ -45,7 +46,7 @@\n \t\tresult[\"emsg\"] = \"bad.town\"\n \t\treturn 1\n \t}\n-\ttown = towns[ary[nf]]\n+\ttown = do_subs ? towns[ary[nf]] : ary[nf]\n \n \t# find the street.\n \t# street is 1) 1st elt of ary[1:nf-1] that begins w\/number & ends w\/st_type or 2) last elt of ary[1:nf-1] that begins w\/number\n@@ -92,30 +93,36 @@\n \t# Street Hacks: Probably should just compare ignore case but not ready for that step yet\n \t# change el Camino X to El Camino X\n \t# change el Monte X  to El Monte X\n-\tif(nf2 > 3){\n-\t\tif(ary2[nf2-2] == \"el\" && ary2[nf2-1] == \"Camino\")\n-\t\t\tary2[nf2-2] = \"El\"\n-\t\telse if(ary2[nf2-2] == \"el\" && ary2[nf2-1] == \"Monte\")\n-\t\t\tary2[nf2-2] =  \"El\"\n+\tif(do_subs){\n+\t\tif(nf2 > 3){\n+\t\t\tif(ary2[nf2-2] == \"el\" && ary2[nf2-1] == \"Camino\")\n+\t\t\t\tary2[nf2-2] = \"El\"\n+\t\t\telse if(ary2[nf2-2] == \"el\" && ary2[nf2-1] == \"Monte\")\n+\t\t\t\tary2[nf2-2] =  \"El\"\n+\t\t}\n \t}\n \n \t# Street should be num [ dir ] str [ st ]\n \tstreet = ary2[1]\n-\n-\t# This is amusing.  What is South Court? Is is S. Court or South Ct.  No idea so, leave such streets in long form\n-\tif(nf2 == 3 && (ary2[2] in dirs) && (ary2[3] in st_types)){\n+\tif(do_subs){\n+\t\t# This is amusing.  What is South Court? Is is S. Court or South Ct.  No idea so, leave such streets in long form\n+\t\tif(nf2 == 3 && (ary2[2] in dirs) && (ary2[3] in st_types)){\n+\t\t\tfor(i = 2; i <= nf2; i++)\n+\t\t\t\tstreet = street \" \" ary2[i]\n+\t\t}else{\n+\t\t\tif(ary2[2] in dirs){\n+\t\t\t\tstreet = street \" \" dirs[ary2[2]]\n+\t\t\t\ti1 = 3\n+\t\t\t}else\n+\t\t\t\ti1 = 2\n+\t\t\tfor(i = i1; i < nf2; i++){\n+\t\t\t\tstreet = street \" \" ary2[i]\n+\t\t\t}\n+\t\t\tstreet = street ((ary2[nf2] in st_types) ? (\" \" st_types[ary2[nf2]]) : (\" \" ary2[nf2]))\n+\t\t}\n+\t}else{\n \t\tfor(i = 2; i <= nf2; i++)\n \t\t\tstreet = street \" \" ary2[i]\n-\t}else{\n-\t\tif(ary2[2] in dirs){\n-\t\t\tstreet = street \" \" dirs[ary2[2]]\n-\t\t\ti1 = 3\n-\t\t}else\n-\t\t\ti1 = 2\n-\t\tfor(i = i1; i < nf2; i++){\n-\t\t\tstreet = street \" \" ary2[i]\n-\t\t}\n-\t\tstreet = street ((ary2[nf2] in st_types) ? (\" \" st_types[ary2[nf2]]) : (\" \" ary2[nf2]))\n \t}\n \n \tresult[\"status\"] = \"G\"\n@@ -138,3 +145,54 @@\n \t}\n \treturn n_data\n }\n+function AU_match(cand, ref,   is_mat, i, n_cand_st, cand_st, cand_odd, n_ref_st, ref_st, ref_odd) {\n+\n+\tis_mat = 0\n+\n+\t# deal with street ranges\n+\tn_cand_st = split(cand[\"street\"], cand_st, \/-\/)\n+\tn_ref_st = split(ref[\"street\"], ref_st, \/-\/)\n+\n+\t# US rule: require all numbers to be either odd or even\n+\tcand_odd = cand_st[1] % 2\n+\tfor(i = 2; i <= n_cand_st; i++){\n+\t\tif(cand_st[i] % 2 != cand_odd){\n+\t\t\tprintf(\"ERROR: odd\/even candidate address range: %s\\n\", cand[\"street\"]) > \"\/dev\/stderr\"\n+\t\t\treturn 0\n+\t\t}\n+\t}\n+\tn_ref_st = split(ref[\"street\"], ref_st, \/-\/)\n+\tref_odd = ref_st[1] % 2\n+\tfor(i = 2; i <= n_ref_st; i++){\n+\t\tif(ref_st[i] % 2 != ref_odd){\n+\t\t\tprintf(\"ERROR: odd\/even reference address range: %s\\n\", ref[\"street\"]) > \"\/dev\/stderr\"\n+\t\t\treturn 0\n+\t\t}\n+\t}\n+\tif(cand_odd != ref_off)\n+\t\treturn 0\n+\n+\t# odd\/even good, check the actual numbers\/ranges\n+\tif(n_cand_st == 1){\n+\t\tif(n_ref_st == 1){\n+\t\t\tprintf(\"DEBUG: AU_match: case 1: c.N v r.N: %d vs %d\\n\", cand_st[1], ref_st[1]) > \"\/dev\/stderr\"\n+\t\t\tis_mat = cand_st[1] == ref_st[1]\n+\t\t}else{\n+\t\t\tprintf(\"DEBUG: AU_match: case 2: c.N v r.R: %d vs %d-%d\\n\", cand_st[1], ref_st[1], ref_st[2]) > \"\/dev\/stderr\"\n+\t\t\tis_mat = cand_st[1] >= ref_st[1] && cand_st[1] <= ref_st[2];\n+\t\t}\n+\t}else if(n_ref_st == 1){\n+\t\tprintf(\"DEBUG: AU_match: case 3: c.R v r.N: %d-%d vs %d\\n\", cand_st[1], cand_st[2], ref_st[1]) > \"\/dev\/stderr\"\n+\t\tis_mat = ref_st[1] >= cand_st[1] && ref_st[1] <= cand_st[2]\n+\t}else{\n+\t\tprintf(\"DEBUG: AU_match: case 4: c.R v r.R: %d-%d vs %d-%d\\n\", cand_st[1], cand_st[2], ref_st[1], ref_st[2]) > \"\/dev\/stderr\"\n+\t\tis_mat = !(cand_st[2] < ref_st[1] || cand_st[1] > ref_st[2])\n+\t}\n+\n+\t# streets are good, deal with towns\n+\tif(is_mat){\n+\t\tis_mat = cand[\"town\"] == ref[\"town\"]\n+\t}\n+\n+\treturn is_mat\n+}\n"}
{"commit":"b4db60c2346b5cbfbb3f8d00c28e9635105deed1","subject":"TestCommons: add explode()","message":"TestCommons: add explode()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestCommons.awk\n+++ test\/TestCommons.awk\n@@ -72,6 +72,13 @@\n         delete array; array[0] = \"foo\"; array[1] = \"bar\"\n         assertEqual(join(array, \" \"), \"foo bar\")\n         assertEqual(join(array, \",\"), \"foo,bar\")\n+    }\n+    T(\"explode()\", 1)\n+    {\n+        delete array\n+        delete expected; expected[1] = \"f\"; expected[2] = \"o\"; expected[3] = \"o\"\n+        explode(\"foo\", array)\n+        assertTrue(identical(array, expected))\n     }\n     T(\"escapeChar()\", 8)\n     {\n"}
{"commit":"82685a6268f9b10b26987f272d202d8b1ca091b3","subject":"tag_dll.awk: tag exports work with Open C, too","message":"tag_dll.awk: tag exports work with Open C, too\n\ndarcs-hash:20070628122057-1b897-b8c8d7e541c699c1bb48f84b6e137bbae6fc7416.gz\n","repos":"xhook\/sofia-sip,erdincay\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/su\/tag_dll.awk\n+++ libsofia-sip-ua\/su\/tag_dll.awk\n@@ -92,7 +92,7 @@\n \t \"#include \\\"config.h\\\"\\n\\n\"\\\n \t \"#include <sofia-sip\/su_tag_class.h>\\n\"\\\n \t \"\\n\"\\\n-\t \"#ifdef _WIN32\\n\"\\\n+\t \"#if defined _WIN32 || defined HAVE_OPEN_C\\n\"\\\n \t \"#define EXPORT __declspec(dllexport)\\n\"\\\n \t \"#else\\n\"\\\n \t \"#define EXPORT\\n\"\\\n"}
{"commit":"080c4d6f60e45310d797fc9cb0636950b5403f94","subject":"Special case.","message":"Special case.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -56,15 +56,28 @@\n         printf \",\\n\"\n     }\n     split($0, fieldsThisLine, \" \")\n+    urlIndex = 0\n     if (NF == numFields) {\n         print \"\\t{\"\n         for(i = 1; i < NF; i++)\n         {\n-            printf \"\\t\\t\\\"%s\\\": \\\"%s\\\"\", fields[i], fieldsThisLine[i]\n-            if (i + 1 < NF) {\n+            fieldName = fields[i]\n+            if (fieldName == \"cs-uri-query\") {\n+                urlIndex = i;\n+                continue;\n+            }\n+            fieldValue = fieldsThisLine[i]\n+            maybeDecoded = (fieldName == \"cs-uri-query\" ? urlDecode(fieldValue) : fieldValue)\n+            printf \"\\t\\t\\\"%s\\\": \\\"%s\\\"\", fieldName, fieldValue\n+            if (i + 1 < NF && urlIndex > 0) {\n                 printf \",\"\n             }\n             printf \"\\n\"\n+        }\n+        if (urlIndex > 0) {\n+            printf \"\\t\\t\\\"cs-url-query\\\": {\\n\"\n+            printUrlQueryString(fieldsThisLine[urlIndex])\n+            printf \"}\\n\"\n         }\n         printf \"\\t}\"\n     }\n"}
{"commit":"4b8ce28fcf15b12aae6830767f23d75533c316bb","subject":"Fixed a test script.","message":"Fixed a test script.\n","repos":"mmd-osm\/Overpass-API,bhargavpanth\/Overpass-API,elbakai\/Overpass-API,bhargavpanth\/Overpass-API,elbakai\/Overpass-API,bhargavpanth\/Overpass-API,bhargavpanth\/Overpass-API,drolbr\/Overpass-API,mmd-osm\/Overpass-API,drolbr\/Overpass-API,drolbr\/Overpass-API,mmd-osm\/Overpass-API,elbakai\/Overpass-API,elbakai\/Overpass-API,bhargavpanth\/Overpass-API,mmd-osm\/Overpass-API,elbakai\/Overpass-API,drolbr\/Overpass-API,drolbr\/Overpass-API,drolbr\/Overpass-API,bhargavpanth\/Overpass-API,elbakai\/Overpass-API","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- osm-3s_testing\/expected\/set_variables.awk\n+++ osm-3s_testing\/expected\/set_variables.awk\n@@ -10,7 +10,7 @@\n     else\n       inner_line = 1;\n \n-    gsub(\"\\$\\{testdir\\}\",testdir);\n+    gsub(\"\\\\${testdir}\",testdir);\n     printf $0;\n   }\n }\n"}
{"commit":"50843a261bc2a25dd4d55361b7a7bf4069b92a12","subject":"tools: update log-analyze to search for GWRequestHandler","message":"tools: update log-analyze to search for GWRequestHandler\n\nSigned-off-by: Jan Viktorin <3eab6ac54c005c4408f608556a6663b7f2abede7@fit.vutbr.cz>\n","repos":"BeeeOn\/server,BeeeOn\/server,BeeeOn\/server,BeeeOn\/server","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/log-analyze.awk\n+++ tools\/log-analyze.awk\n@@ -448,7 +448,7 @@\n \trestui_clients[_ip] += 1\n }\n \n-\/WebSocketRequestHandler\/ && \/connection from \/ {\n+\/GWRequestHandler\/ && \/connection from \/ {\n \t$0 = log_trim_left($0)\n \n \tsplit($3, _addr, \":\")\n"}
{"commit":"95de9eb17ef6f198671b87f5daccbbf4686c4019","subject":"Translate: update using exists()","message":"Translate: update using exists()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -126,7 +126,7 @@\n     } else if (isRTL(tl)) {\n         # Check if target language is R-to-L\n         if (!FriBidi)\n-            w(\"[WARNING] \" getName(tl) \" is a right-to-left language, but FriBidi cannot be found.\")\n+            w(\"[WARNING] \" getName(tl) \" is a right-to-left language, but FriBidi is not found.\")\n     }\n \n     content = getResponse(text, sl, tl, hl)\n@@ -245,8 +245,8 @@\n             wShowOriginalDictionary = 1\n             wShowTranslation = 0\n         }\n-        hasWordClasses = isarray(wordClasses) && anything(wordClasses)\n-        hasAltTranslations = isarray(altTranslations[0]) && anything(altTranslations[0])\n+        hasWordClasses = exists(wordClasses)\n+        hasAltTranslations = exists(altTranslations[0])\n         if (!hasWordClasses && !hasAltTranslations)\n             wShowPromptMessage = wShowLanguages = 0\n         if (!hasWordClasses) wShowDictionary = 0\n@@ -313,7 +313,7 @@\n \n         if (wShowOriginalDictionary) {\n             # Display: original dictionary\n-            if (isarray(oWordClasses) && anything(oWordClasses)) {\n+            if (exists(oWordClasses)) {\n                 # Detailed explanations\n                 if (r) r = r RS\n                 r = r m(\"-- display original dictionary (detailed explanations)\")\n@@ -338,7 +338,7 @@\n                     }\n                 }\n             }\n-            if (isarray(oSynonymClasses) && anything(oSynonymClasses)) {\n+            if (exists(oSynonymClasses)) {\n                 # Synonyms\n                 r = r RS RS\n                 r = r m(\"-- display original dictionary (synonyms)\")\n@@ -355,7 +355,7 @@\n                     }\n                 }\n             }\n-            if (isarray(oExamples) && anything(oExamples)) {\n+            if (exists(oExamples)) {\n                 # Examples\n                 r = r RS RS\n                 r = r m(\"-- display original dictionary (examples)\")\n@@ -374,7 +374,7 @@\n                     r = (i > 0 ? r RS : r) RS temp\n                 }\n             }\n-            if (isarray(oSeeAlso) && anything(oSeeAlso)) {\n+            if (exists(oSeeAlso)) {\n                 # See also\n                 r = r RS RS\n                 r = r m(\"-- display original dictionary (see also)\")\n"}
{"commit":"90a5212a63904287b328b48083252c1e98a67145","subject":"Languages: mark as stable: Kurdish","message":"Languages: mark as stable: Kurdish\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -179,8 +179,7 @@\n     Locale[\"ky\"][\"glotto\"]             = \"kirg1245\"\n     Locale[\"ky\"][\"script\"]             = \"Cyrl\"\n \n-    #? Kurdish (Central Kurdish, Sorani), Latin alphabet\n-    Locale[\"ku\"][\"support\"]            = \"unstable\"\n+    # Kurdish (Central Kurdish, Sorani), Latin alphabet\n     Locale[\"ku\"][\"name\"]               = \"Kurdish\"\n     Locale[\"ku\"][\"endonym\"]            = \"Kurd\u00ee\"\n     #Locale[\"ku\"][\"translations-of\"]\n"}
{"commit":"28a793892296ca3367193c7a7de1714f80049fd0","subject":"x86: Fix the error of using \"const\" in gen-insn-attr-x86.awk","message":"x86: Fix the error of using \"const\" in gen-insn-attr-x86.awk\n\nThe original version code causes following sparse warnings:\narch\/x86\/lib\/inat-tables.c:1080:25: warning: duplicate const\narch\/x86\/lib\/inat-tables.c:1095:25: warning: duplicate const\narch\/x86\/lib\/inat-tables.c:1118:25: warning: duplicate const\n\nfor the variables inat_escape_tables, inat_group_tables, and inat_avx_tables\nin the code generated by gen-insn-attr-x86.awk.\n\nThe author Masami Hiramutsu says here is to make both the value pointed by the\npointers and the pointers itself read-only, so we move the \"const\" to be after\nthe \"*\".\n\nSigned-off-by: Cong Ding <8001b54ad539330acc19ca3e17ac1f04f07b36a6@gmail.com>\nLink: 3ec41833c29d285066dfad622a5b82e61ee0def7@gmail.com\nAcked-by: Masami Hiramatsu <60fcdccfd958d359debfe6e6e7417cd7f1aaa9e3@hitachi.com>\nSigned-off-by: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@linux.intel.com>\n","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- arch\/x86\/tools\/gen-insn-attr-x86.awk\n+++ arch\/x86\/tools\/gen-insn-attr-x86.awk\n@@ -356,7 +356,7 @@\n \t\texit 1\n \t# print escape opcode map's array\n \tprint \"\/* Escape opcode map array *\/\"\n-\tprint \"const insn_attr_t const *inat_escape_tables[INAT_ESC_MAX + 1]\" \\\n+\tprint \"const insn_attr_t * const inat_escape_tables[INAT_ESC_MAX + 1]\" \\\n \t      \"[INAT_LSTPFX_MAX + 1] = {\"\n \tfor (i = 0; i < geid; i++)\n \t\tfor (j = 0; j < max_lprefix; j++)\n@@ -365,7 +365,7 @@\n \tprint \"};\\n\"\n \t# print group opcode map's array\n \tprint \"\/* Group opcode map array *\/\"\n-\tprint \"const insn_attr_t const *inat_group_tables[INAT_GRP_MAX + 1]\"\\\n+\tprint \"const insn_attr_t * const inat_group_tables[INAT_GRP_MAX + 1]\"\\\n \t      \"[INAT_LSTPFX_MAX + 1] = {\"\n \tfor (i = 0; i < ggid; i++)\n \t\tfor (j = 0; j < max_lprefix; j++)\n@@ -374,7 +374,7 @@\n \tprint \"};\\n\"\n \t# print AVX opcode map's array\n \tprint \"\/* AVX opcode map array *\/\"\n-\tprint \"const insn_attr_t const *inat_avx_tables[X86_VEX_M_MAX + 1]\"\\\n+\tprint \"const insn_attr_t * const inat_avx_tables[X86_VEX_M_MAX + 1]\"\\\n \t      \"[INAT_LSTPFX_MAX + 1] = {\"\n \tfor (i = 0; i < gaid; i++)\n \t\tfor (j = 0; j < max_lprefix; j++)\n"}
{"commit":"fec40ce38445d91ff012233a76a86c5e6c7aef52","subject":"asdas","message":"asdas\n","repos":"timm\/16,timm\/16,timm\/16","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- awk\/nb.awk\n+++ awk\/nb.awk\n@@ -25,7 +25,7 @@\n     array0(count,i)\n     return i\n }\n-function sym(c,x,_Sym,   new) {\n+function sym1(c,x,_Sym,   new) {\n     n[c]++    \n     counts[c][x]++\n     new = counts[c][x]\n@@ -33,7 +33,7 @@\n         most[c] = new\n         mode[c] = x }   \n }\n-function num(c,x,_Num,   delta) {\n+function num1(c,x,_Num,   delta) {\n     if (n > up[c]) up[c] = n\n     if (n < lo[c]) lo[c] = n\n     delta = x - mu[c]\n@@ -43,38 +43,59 @@\n function sd(c,_Num) {\n     return (m2[c] \/ (n[c] - 1))^0.5\n }\n-function readcsv(com,m,_Num,_Sym,_Out,txt,    rows,i,_Num) {\n+function entireLine(line,   tmp) {\n+    gsub(\/[ \\t\\r]\/, \"\", line)\n+    gsub(\/##.*\/   , \"\", line)\n+    if ( line !~ \/,$\/ )\n+        return line\n+    if ((getline tmp) == 0)\n+        return line\n+    return line entireLine(tmp)\n+}\n+function using(cells0, use, cells) {\n+    for(c in use)\n+        cells[c] = cells0[ uses[c] ]\n+}\n+function usable(cells0, use,cells,  c0,c) {\n+    max = length(cells0)\n+    for(c0=1; c0 <= max; c0++)\n+        if (cells0[c0] !~ \/^X\/) \n+            use[++c] = c0;\n+    using(cells0,use,cells)\n+}\n+function readcsv(com,m,_Num,_Sym,_Out,txt, \\\n+                 cell,srows,i,use,_Num) {\n   com = com ? com : \"cat -\"\n   while((com | getline)  > 0)  {\n-    gsub(\/[ \\t\\r]\/,\"\")\n-    gsub(\/##.*\/,\"\")\n-    if ($0) {\n-        for(i=1;i<=NF;i++)\n-            line[i] = $i;\n-        if (rows)\n-            row(line,rows,m, _Num, _Sym)\n-        else\n-            header(line,r,m, _Num, _Sym, _Out);\n-        rows++ }}\n+      line = entireLine($0) \n+      if (line) {\n+          split(line,cells0,\",\")\n+          rows++\n+          if (rows==1) {\n+              usable(cells0, use, cells)\n+              head(cells,m,use, _Num, _Sym, _Out)\n+          }\n+          else {\n+              using(cells0, use, cells)\n+              row( cells,m, rows-1, _Num, _Sym) }}}\n }\n-function row(line,r,m, _Num,_Sym,  c) {\n-    for(c in line) {\n+function row(cells,m,r, _Num,_Sym,  c) {\n+    for(c in cells) {\n         if (c in lo) {\n-            line[c] += 0\n-            num(c, line[c], _Num)\n+            cells[c] += 0\n+            num1(c, cells[c], _Num)\n         } else\n-            sym(c, line[c], _Sym) \n+            sym1(c, cells[c], _Sym);\n         m[r][c] = line[c]}\n }\n-function header(line,txt,_Num,_Sym, _Out,   c) {\n-    for(c in line)\n+function head(line,m, _Num,_Sym, _Out,   c0,c) {\n+    for(c in line) {\n         if ( $c ~ \/^<\/ ) less[c]\n         if ( $c ~ \/^>\/ ) more[c]\n         if ( $c ~ \/^=\/ ) klass[c]\n-        if ( $c ~ \/^X\/ ) {\n-            txt[c] = line[c]\n-            if ( $c ~ \/^_\/ ) \n-               num0(_Num, c)\n-            else\n-                sym0(_Sym,c) }\n+        txt[c] = line[c]\n+        if ( $c ~ \/^_\/ ) \n+            num0(_Num, c)\n+        else\n+            sym0(_Sym,c) }\n }\n"}
{"commit":"1c1d7c98406873e0a6e1956e2f41f126b3f3d73b","subject":"Translators\/BingTranslator: fix original phonetics (purge old AST)","message":"Translators\/BingTranslator: fix original phonetics (purge old AST)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -278,11 +278,12 @@\n             split(_sl, group, \"-\")\n             #content = postResponse(text, group[1], group[1], _hl, \"transliterate\")\n             #oPhonetics = unparameterize(content)\n+            delete ast  # purge old AST\n             content = postResponse(text, il, il, _hl, \"translate\")\n             tokenize(tokens, content)\n             parseJson(ast, tokens)\n-            oPhonetics = unparameterize(ast[0 SUBSEP 0 SUBSEP \"translations\" SUBSEP 0 SUBSEP \"transliteration\" \\\n-                                            SUBSEP \"text\"])\n+            oPhonetics = unparameterize(ast[0 SUBSEP 0 SUBSEP \"translations\" SUBSEP 0 \\\n+                                            SUBSEP \"transliteration\" SUBSEP \"text\"])\n             if (oPhonetics == text) oPhonetics = \"\"\n         }\n \n"}
{"commit":"cc9d28ee1983404466960245e0373d5e6fc1c089","subject":"Commons: add \"\\t\" to initUrlEncoding (fix #108)","message":"Commons: add \"\\t\" to initUrlEncoding (fix #108)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -420,6 +420,7 @@\n # Initialize `UrlEncoding`.\n # See: <https:\/\/en.wikipedia.org\/wiki\/Percent-encoding>\n function initUrlEncoding() {\n+    UrlEncoding[\"\\t\"] = \"%09\"\n     UrlEncoding[\"\\n\"] = \"%0A\"\n     UrlEncoding[\" \"]  = \"%20\"\n     UrlEncoding[\"!\"]  = \"%21\"\n"}
{"commit":"cd64b09601a5b0d24f688a42d262d31e9853c075","subject":"parsegaspriceshtml.awk: Updated for Marathon. Disabled broken code for UDF.","message":"parsegaspriceshtml.awk: Updated for Marathon. Disabled broken code for UDF.\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -35,12 +35,13 @@\n }\n \n inGasPriceRecord && expectName && \/ <a href=\"\/ {\n-   gsub(\"<img src=\\\"http:\/\/mymarathonstation.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Marathon\")\n+   gsub(\"<img src=\\\"http:\/\/mymarathonapp.com\/images\/213\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Marathon\")\n    gsub(\"<img src=\\\"http:\/\/duchessshoppe.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"BP\")\n    gsub(\"<img src=\\\"http:\/\/thorntons.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    gsub(\"<img src=\\\"\/images\/brands\/199_p.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    gsub(\"<img src=\\\"http:\/\/mycertifiedoil.com\/images\/249\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Certified\")\n    gsub(\"<img src=\\\"http:\/\/bellstores.com\/images\/253\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Marathon\")\n+   # gsub(\"<img src=\\\"http:\/\/udfstores.com\/images\/1360\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"UDF\")\n    expectName=False\n    sub(\"<\/a>[ ]*$\",\"\")\n    sub(\"^.*>\",\"\")\n"}
{"commit":"0004d210ce914df83d6e7d3397a4c6eed1bd9491","subject":"Fix feature films, movies, and cryptoftears","message":"Fix feature films, movies, and cryptoftears\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -68,6 +68,10 @@\n #  OUTPUT:\n #       $EPISODE_INFO_FILE\n #\n+\n+BEGIN {\n+    SINGLES_FILE = \"single_episodes.txt\"\n+}\n \n # Extract the series title\n \/span itemprop=\"name\"\/ {\n@@ -171,12 +175,16 @@\n     # Create shorter URL by removing https:\/\/\n     shortURL = episodeURL\n     sub (\/.*acorn\\.tv\/,\"acorn.tv\",shortURL)\n-    # Feature films don't have episodes\n-    if (episodeURL ~ \/\\\/featurefilm\\\/\/)\n+    # Feature films and movies don't have episodes\n+    if (episodeURL ~ \/\\\/feature\\\/\/ || episodeURL ~ \/\\\/featurefilm\\\/\/ || episodeURL ~ \/\\\/movie\\\/\/) {\n+        print \"Feature\/Movie-1: \" episodeURL >> SINGLES_FILE\n         next\n+    }\n     # neither should single episode series\n-    if (totalEpisodes == 1)\n+    if (totalEpisodes == 1) {\n+        print \"SingleEpisode-1: \" episodeURL >> SINGLES_FILE\n         next\n+    }\n     print \"url = \\\"\" episodeURL \"\\\"\" >> EPISODE_CURL_FILE\n     next\n }\n@@ -254,11 +262,12 @@\n     if (episodeURL ~ \/\\\/bonus|[0-9]{1,2}parttwo\\\/|christmas[-]?special\/)\n         episodeType = \"X\"\n     # If episode is a Trailer, set episodeType to \"T\"\n-    if (episodeURL ~ \/\\\/trailer\/)\n+    if (episodeURL ~ \/_cs\\\/\/)\n         episodeType = \"T\"\n-    # jamaicainn, newworlds & newtonslaw bonus or trailer seasonNumber should be 1\n+    # cryptoftears, newworlds & newtonslaw bonus seasonNumber should be 1\n+    # jamaicainn bonus or trailer has been removed from Acorn TV\n     if (episodeURL ~ \\\n-        \/\\\/jamaicainn\\\/bonus\\\/|\\\/jamaicainn\\\/trailer\\\/|\\\/newworlds\\\/bonus\\\/|\\\/newtonslaw\\\/bonus\\\/\/ \\\n+        \/\\\/cryptoftears\\\/bonus\\\/|\\\/newworlds\\\/bonus\\\/|\\\/newtonslaw\\\/bonus\\\/\/ \\\n         && seasonNumber != 1) {\n         split (episodeURL, part, \"\/\")\n         printf (\"==> Changed S%02d to S01: acorn.tv\/%s\/%s\\n\", \\\n@@ -275,12 +284,16 @@\n     #\n     split ($0,fld,\"[<>]\")\n     episodeNumber = fld[5]\n-    # Feature films don't have episodes\n-    if (episodeURL ~ \/\\\/featurefilm\\\/\/)\n+    # Feature films and movies don't have episodes\n+    if (episodeURL ~ \/\\\/feature\\\/\/ || episodeURL ~ \/\\\/featurefilm\\\/\/ || episodeURL ~ \/\\\/movie\\\/\/) {\n+        print \"Feature\/Movie-2: \" episodeURL >> SINGLES_FILE\n         next\n+    }\n     # neither should single episode series\n-    if (totalEpisodes == 1)\n+    if (totalEpisodes == 1) {\n+        print \"SingleEpisode-2: \" episodeURL >> SINGLES_FILE\n         next\n+    }\n     # The season number should match that in the URL\n     # Birds of a Feather, Doc Martin, Murdoch, Poirot, Rebus, Vera, and others have problems\n     if (episodeURL ~ \\\n"}
{"commit":"b0c2a9dd5db760d2f5125604affcecd9ede24f9d","subject":"tests: tighten sigaction check","message":"tests: tighten sigaction check\n\n* tests\/sigaction.awk: Check that input conatins all expected lines.\n","repos":"YUPlayGodDev\/platform_external_strace,Saruta\/strace,Infinitive-OS\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,geekboxzone\/mmallow_external_strace,xin3liang\/platform_external_strace,kapdop\/android_external_strace,Distrotech\/strace,Saruta\/strace,Saruta\/strace,android-ia\/platform_external_strace,CyanogenMod\/android_external_strace,bnoordhuis\/strace,bigzz\/strace_android,android-ia\/platform_external_strace,Distrotech\/strace,android-ia\/platform_external_strace,TeamExodus\/external_strace,MonkeyZZZZ\/platform_external_strace,AOSP-YU\/platform_external_strace,Infinitive-OS\/platform_external_strace,Yu-AndroidM\/android_external_strace,Distrotech\/strace,bigzz\/strace_android,Distrotech\/strace,pombredanne\/strace,cuviper\/strace,geekboxzone\/mmallow_external_strace,cuviper\/strace,bigzz\/strace_android,vrastogi\/strace,Yu-AndroidM\/android_external_strace,AOSP-YU\/platform_external_strace,xin3liang\/platform_external_strace,geekboxzone\/lollipop_external_strace,DirtyUnicorns\/android_external_strace,CyanogenMod\/android_external_strace,bnoordhuis\/strace,CyanogenMod\/android_external_strace,Distrotech\/strace,geofft\/strace,geofft\/strace,Saruta\/strace,Infinitive-OS\/platform_external_strace,android-ia\/platform_external_strace,bnoordhuis\/strace,pombredanne\/strace,kapdop\/android_external_strace,cuviper\/strace,bigzz\/strace_android,geekboxzone\/mmallow_external_strace,cuviper\/strace,MonkeyZZZZ\/platform_external_strace,YUPlayGodDev\/platform_external_strace,kapdop\/android_external_strace,geekboxzone\/mmallow_external_strace,xin3liang\/platform_external_strace,pombredanne\/strace,vrastogi\/strace,pombredanne\/strace,geofft\/strace,android-ia\/platform_external_strace,MonkeyZZZZ\/platform_external_strace,AOSP-YU\/platform_external_strace,YUPlayGodDev\/platform_external_strace,Infinitive-OS\/platform_external_strace,kapdop\/android_external_strace,lkundrak\/strace,geofft\/strace,TeamExodus\/external_strace,MonkeyZZZZ\/platform_external_strace,kapdop\/android_external_strace,vrastogi\/strace,TeamExodus\/external_strace,bnoordhuis\/strace,geekboxzone\/lollipop_external_strace,AOSP-YU\/platform_external_strace,CyanogenMod\/android_external_strace,DirtyUnicorns\/android_external_strace,xin3liang\/platform_external_strace,YUPlayGodDev\/platform_external_strace,Infinitive-OS\/platform_external_strace,lkundrak\/strace,lkundrak\/strace,lkundrak\/strace,geekboxzone\/lollipop_external_strace,bigzz\/strace_android,Yu-AndroidM\/android_external_strace,CyanogenMod\/android_external_strace,TeamExodus\/external_strace,vrastogi\/strace,Yu-AndroidM\/android_external_strace,DirtyUnicorns\/android_external_strace,AOSP-YU\/platform_external_strace,Yu-AndroidM\/android_external_strace,geofft\/strace,YUPlayGodDev\/platform_external_strace,TeamExodus\/external_strace,geekboxzone\/lollipop_external_strace,vrastogi\/strace,DirtyUnicorns\/android_external_strace,DirtyUnicorns\/android_external_strace,geekboxzone\/lollipop_external_strace,geekboxzone\/mmallow_external_strace,cuviper\/strace,Saruta\/strace","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tests\/sigaction.awk\n+++ tests\/sigaction.awk\n@@ -24,7 +24,13 @@\n NR == 4 && \/^\\+\\+\\+ exited with 0 \\+\\+\\+$\/ {next}\n \n {\n-  print \"Line \" NR \" does not match:\"\n-  print\n+  print \"Line \" NR \" does not match: \" $0\n   exit 1\n }\n+\n+END {\n+  if (NR != 4) {\n+    print \"Expected 4 lines, found \" NR \" line(s).\"\n+    exit 1\n+  }\n+}\n"}
{"commit":"2e46c3c16514e3ab72257ab2c87ffa86586bc42b","subject":"fixing to work on ubuntu","message":"fixing to work on ubuntu\n","repos":"BenoitHiller\/shellby,StephenHamilton\/shellby,BenoitHiller\/shellby,StephenHamilton\/shellby","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/resplit.awk\n+++ lib\/resplit.awk\n@@ -1,6 +1,6 @@\n #!\/usr\/bin\/gawk -f\n \n-@include \"join\"\n+@include \"join.awk\"\n BEGIN {\n   true = 1\n   false = 0\n"}
{"commit":"be20abecbb473d54ca88859409180a5b96908ee9","subject":"Accumulate structure, print later.","message":"Accumulate structure, print later.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -1,17 +1,13 @@\n function printUrlQueryString(queryString, j)\n {\n     split(queryString, pairs, \"&\")\n-    len = length(pairs)\n     for (j = 1; j < len; ++j) {\n         split(pairs[j], keyValue, \"=\")\n         k = keyValue[1]\n         v = keyValue[2]\n-        printf \"\\t\\t\\t\\t\\\"%s\\\": \\\"%s\\\"\", k, urlDecode(urlDecode(v))\n-        if (j + 1 < len) {\n-            printf \",\"\n-        }\n-        printf \"\\n\"\n+        result[k] = v\n     }\n+    return result\n }\n \n function base64Decode(thing)\n@@ -33,24 +29,81 @@\n }\n \n BEGIN {\n-    logLineSeen = 0\n-    print \"{\";\n+\n+}\n+\n+function enrich(property, n, j)\n+{\n+    if (\"cs-uri-query\" == property) {\n+        queryString = logs[n][property]\n+        delete logs[n][property]\n+        parsed = urlDecode(queryString)\n+        split(queryString, pairs, \"&\")\n+        len = length(pairs)\n+        for (j = 1; j < len; ++j) {\n+            split(pairs[j], keyValue, \"=\")\n+            k = keyValue[1]\n+            v = keyValue[2]\n+            result[k] = v\n+            logs[n][property][k] = v\n+        }\n+    }\n }\n \n END {\n-    printf \"\\n\\t]\\n\"\n+    print \"{\"\n+    printf \"\\\"version\\\": \\\"%s\\\",\\n\", version\n+    print \"\\\"records\\\": [\"\n+    numLogs = length(logs)\n+    i = 1\n+    for (lineNr in logs)\n+    {\n+        printf \"{\\n\";\n+        j = 1\n+        for (j = 1; j < numFields; j++)\n+        {\n+            field = fields[j]\n+            enrich(field, lineNr)\n+            if(isarray(logs[lineNr][field])) {\n+                printf \"\\\"%s\\\": {\\n\", field\n+                k = 1\n+                numSubFields = length(logs[lineNr][field])\n+                for (subField in logs[lineNr][field]) {\n+                    printf \"\\\"%s\\\": \\\"%s\\\"\", subField, logs[lineNr][field][subField]\n+                    if (k < numSubFields) {\n+                        printf \",\"\n+                    }\n+                    k++\n+                    printf \"\\n\"\n+                }\n+                print \"}\"\n+            } else {\n+                printf \"\\\"%s\\\": \\\"%s\\\"\", field, logs[lineNr][field]\n+            }\n+            if (j + 1 < numFields) {\n+                printf \",\"\n+            }\n+            printf \"\\n\"\n+        }\n+        printf \"}\"\n+        if (i < numLogs) {\n+            printf \",\"\n+        }\n+        printf \"\\n\"\n+        i++\n+    }\n+    print \"]\"\n     print \"}\"\n }\n \n \/^#Version: \/ {\n-    printf \"\\t\\\"version\\\": \\\"%s\\\",\\n\", substr($0, length(\"#Version: \") + 1)\n+    version = substr($0, length(\"#Version: \") + 1)\n }\n \n \/^#Fields: \/ {\n     rest = substr($0, length(\"#Fields: \") + 1)\n     split(rest, fields, \" \")\n     numFields = length(fields)\n-    printf \"\\t\\\"records\\\": [\\n\"\n }\n \n \/^#\/ {\n@@ -58,34 +111,10 @@\n }\n \n ! \/^#\/ {\n-    if (logLineSeen == 1) {\n-        printf \",\\n\"\n+    split($0, fieldsThisLine, \" \")\n+    numFieldsThisLine = length(fieldsThisLine)\n+    for (i = 1; i < numFieldsThisLine; i++)\n+    {\n+         logs[NR][fields[i]] = fieldsThisLine[i]\n     }\n-    split($0, fieldsThisLine, \" \")\n-    urlIndex = 0\n-    if (NF == numFields) {\n-        print \"\\t\\t{\"\n-        for(i = 1; i < NF; i++)\n-        {\n-            fieldName = fields[i]\n-            if (fieldName == \"cs-uri-query\") {\n-                urlIndex = i;\n-                continue;\n-            }\n-            fieldValue = fieldsThisLine[i]\n-            maybeDecoded = (fieldName == \"cs-uri-query\" ? urlDecode(fieldValue) : fieldValue)\n-            printf \"\\t\\t\\t\\\"%s\\\": \\\"%s\\\"\", fieldName, fieldValue\n-            if (i + 1 < NF && urlIndex > 0) {\n-                printf \",\"\n-            }\n-            printf \"\\n\"\n-        }\n-        if (urlIndex > 0) {\n-            printf \"\\t\\t\\t\\\"cs-url-query\\\": {\\n\"\n-            printUrlQueryString(fieldsThisLine[urlIndex])\n-            printf \"\\t\\t\\t}\\n\"\n-        }\n-        printf \"\\t\\t}\"\n-    }\n-    logLineSeen = 1;\n }\n"}
{"commit":"26efeb3fd55f2511596d1d76134c6b3d8527a27a","subject":"more progress on parsing","message":"more progress on parsing\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getFullcastFrom-imdb.awk\n+++ getFullcastFrom-imdb.awk\n@@ -24,6 +24,9 @@\n         type = \"Actor\"\n         gsub (\/[[:blank:]]{3,99}\\(uncredited\\)\/,\" (uncredited)\",Cast)\n         gsub (\/[[:blank:]]{3,99}\\\/ \\.\\.\\.\/,\" \/ ...\",Cast)\n+        extra = sub (\/\\(extra\\) ?\/,\"\",Cast)\n+        if (extra != 0)\n+            type = type \" (extra)\"\n         uncredited = sub (\/\\(uncredited\\) ?\/,\"\",Cast)\n         if (uncredited != 0)\n             type = type \" (uncredited)\"\n@@ -32,11 +35,15 @@\n         role = fld[3]\n         sub (\/\\302\\240\/,\"\",role)\n         episodes = fld[4]\n-        nflds2 = split (episodes,fld,\/,\/)\n-        num_episodes = fld[1]\n-        sub (\/ episodes?\/,\"\",num_episodes)\n-        episode_years = fld[2]\n-        sub (\/ \/,\"\",episode_years)\n+        if (episodes !~ \/episodes?\/) {\n+            person = person \" \" episodes\n+        } else {\n+            nflds2 = split (episodes,fld,\/,\/)\n+            num_episodes = fld[1]\n+            sub (\/ episodes?\/,\"\",num_episodes)\n+            episode_years = fld[2]\n+            sub (\/ \/,\"\",episode_years)\n+        }\n     }\n \n     if (Directors != \"\") {\n@@ -61,10 +68,8 @@\n         person = fld[1]\n         parens = fld[3]\n         nparens = split (parens,fld,\/[()]\/)\n-        # print \"==> parens = \" parens > \"\/dev\/stderr\"\n         for ( i = 2; i < nparens-1; i+=2 ) {\n             if (fld[i] != \" \") {\n-                # print \"==> i = \" i \" - |\"fld[i] \"|\" > \"\/dev\/stderr\"\n                 type = type \" (\" fld[i] \")\"\n             }\n         }\n@@ -80,6 +85,6 @@\n         }\n     }\n \n-    printf (\"%s %s | %s | %s | %s | %s | %s\\n\",Title,Years,person,type,role,num_episodes,episode_years)\n+    printf (\"%s %s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",Title,Years,person,type,role,num_episodes,episode_years)\n \n }\n"}
{"commit":"35e0301cd6ae47ce5591cc8a39c2094532d8d4d0","subject":"Made the AWK program executable.","message":"Made the AWK program executable.\n","repos":"gmesser\/make_password","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":""}
{"commit":"f1435cdc0a29412df946b562f5ea9d60e7ad18e6","subject":"Updated imports based on changes to python packaging CTR","message":"Updated imports based on changes to python packaging CTR\n","repos":"apache\/incubator-tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,robertdale\/tinkerpop,krlohnes\/tinkerpop,apache\/incubator-tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop,artem-aliev\/tinkerpop,pluradj\/incubator-tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,robertdale\/tinkerpop,pluradj\/incubator-tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,robertdale\/tinkerpop,artem-aliev\/tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,artem-aliev\/tinkerpop,jorgebay\/tinkerpop,jorgebay\/tinkerpop,apache\/tinkerpop,jorgebay\/tinkerpop,jorgebay\/tinkerpop,apache\/tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/preprocessor\/awk\/init-code-blocks.awk\n+++ docs\/preprocessor\/awk\/init-code-blocks.awk\n@@ -63,8 +63,8 @@\n       print \"jython.eval('from gremlin_python.process.traversal import *')\"\n       print \"jython.eval('from gremlin_python.process.strategies import *')\"\n       print \"jython.eval('from gremlin_python.structure.graph import Graph')\"\n-      print \"jython.eval('from gremlin_python.structure.io.graphson import GraphSONWriter')\"\n-      print \"jython.eval('from gremlin_python.structure.io.graphson import GraphSONReader')\"\n+      print \"jython.eval('from gremlin_python.structure.io.graphsonV3d0 import GraphSONWriter')\"\n+      print \"jython.eval('from gremlin_python.structure.io.graphsonV3d0 import GraphSONReader')\"\n       # print \"jython.eval('from gremlin_python.structure.io.graphson import serializers')\"\n       # print \"jython.eval('from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection')\"\n       print \"jython.eval('statics.load_statics(globals())')\"\n"}
{"commit":"a18014ba9f2512087056b24e9425b737a4168410","subject":"add the ominous label","message":"add the ominous label","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -65,6 +65,8 @@\n   sub(\/=\/, \"\\\\section*{\");\n   sub(\/=\/, \"}\");\n   print;\n+  print \"\";\n+  print \"\\\\label{f0}\";\n   next;\n }\n \n"}
{"commit":"83a019ddcd9eb07cd7c1ccb75d461eb79713d999","subject":"avoid gnu extension, for installing","message":"avoid gnu extension, for installing\n\n\ngit-svn-id: 88e1a00e4eab3b0bb0c09889526309a3e2f5bd8a@42 c26eb9a1-5813-0410-bd6c-c2e55f420ca7\n","repos":"zend60\/5400,zend60\/5400,zend60\/5400,zend60\/5400,zend60\/5400","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -13,15 +13,15 @@\n \t\tif (instruct in typedefs) {\n \t\t\tinstruct = typedefs[instruct];\n \t\t}\n-\t\telm = \"\";\n+\t\tsizeinfo = \"\";\n \t\telms = \"\";\n \t\tfor (i = 0; i in buffer; i ++) {\n-\t\t\tif (i) elm = elm \" + \";\n-\t\t\t# elm = elm \"sizeof(((`\" instruct \"'*)NULL)->`\" buffer[i] \"')\";\n-\t\t\t# elms = elms \" `\" buffer[i] \"'\";\n-\t\t\telm = elm \"sizeof(((\" instruct \"*)NULL)->\" buffer[i] \")\";\n+\t\t\tif (i) {\n+\t\t\t\tsizeinfo = sizeinfo \" + \";\n+\t\t\t}\n+\t\t\tsizeinfo = sizeinfo \"sizeof(((\" instruct \"*)NULL)->\" buffer[i] \")\";\n \n-\t\t\tif (elms == \"\") {\n+\t\t\tif (i == 0) {\n \t\t\t\telms = buffer[i];\n \t\t\t}\n \t\t\telse {\n@@ -30,7 +30,7 @@\n \t\t}\n \t\tprintf \"define(`ELEMENTSOF_%s', `%s')\\n\", instruct, elms;\n \t\tprintf \"define(`COUNTOF_%s', `%s')\\n\", instruct, i;\n-\t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, elm;\n+\t\tprintf \"define(`SIZEOF_%s', `(  %s  )')\\n\", instruct, sizeinfo;\n \t\tprint \"\\n\";\n \t\tfor (i in buffer) {\n \t\t\tdelete buffer[i];\n@@ -51,20 +51,48 @@\n {\n \tif (brace == 1 && instruct) {\n \t\tsub(\/.*[{}]\/, \"\");\n-\t\tgsub(\/\\[[^\\]]+\\]\/, \"\");\n-\t\tgsub(\/:[0-9]+\/, \"\");\n-\t\tstr = $0;\n-\t\tif (match(str, \/\\([ ]*\\*([^)]+)\\)\/, a)) {\n-\t\t\tbuffer[buffer_len] = a[1];\n+\t\tgsub(\/\\[[^\\]]+\\]\/, \"\"); # ignore [...]\n+\t\tgsub(\/:[0-9]+\/, \"\"); # ignore struct bit\n+\t\tif (match($0, \/^[^(]*\\([ ]*\\*([^)]+)\\)\/)) {\n+\t\t\tsub(\/ +\/, \"\")\n+\t\t\tsub(\/^[^(]*\\(\\*\/, \"\");\n+\t\t\tsub(\/\\).*\/, \"\");\n+\t\t\t# function pointer\n+\t\t\tbuffer[buffer_len] = $0;\n \t\t\tbuffer_len ++;\n \t\t}\n \t\telse {\n-\t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\", str)) {\n+\t\t\t# ignore any ()s\n+\t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\")) {\n \t\t\t}\n-\t\t\twhile (match(str, \/([^*() ]+)[ ]*[,;](.*)\/, a)) {\n-\t\t\t\tbuffer[buffer_len] = a[1];\n+\t\t\tif (match($0, \/[()]\/)) {\n+\t\t\t\tnext;\n+\t\t\t}\n+\t\t\tgsub(\/[*]\/, \" \");\n+\t\t\tgsub(\/ +\/, \" \");\n+\t\t\tgsub(\/ *[,;]\/, \";\");\n+\t\t\tif (!match($0, \/;\/)) {\n+\t\t\t\tnext;\n+\t\t\t}\n+\t\t\tsplit($0, chunks, \";\");\n+\t\t\t# get var of \"int *var, var;\" etc\n+\t\t\tfor (i in chunks) {\n+\t\t\t\tif (chunks[i] == \"\") {\n+\t\t\t\t\tdelete chunks[i];\n+\t\t\t\t\tcontinue;\n+\t\t\t\t}\n+\t\t\t\tsplit(chunks[i], pieces, \" \");\n+\n+\t\t\t\tfor (j in pieces) {\n+\t\t\t\t\tlast_piece = pieces[j];\n+\t\t\t\t\tdelete pieces[i];\n+\t\t\t\t}\n+\t\t\t\tif (last_piece == \"\") {\n+\t\t\t\t\tprint \"=====\" chunks[i];\n+\t\t\t\t}\n+\t\t\t\tbuffer[buffer_len] = last_piece;\n \t\t\t\tbuffer_len ++;\n-\t\t\t\tstr = a[2];\n+\t\t\t\tdelete chunks[i];\n \t\t\t}\n \t\t}\n \t\tnext;\n"}
{"commit":"36fdff0ccc217ccd38587c89a7bbca46b5760492","subject":"Add code for EBCDIC host. (Was already in charset_alias.h).","message":"Add code for EBCDIC host. (Was already in charset_alias.h).\n\n\ngit-svn-id: 7fdf2791f4789e0f328ededa5c776280d6bf7afd@57740 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"virmitio\/apr-iconv,virmitio\/apr-iconv","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- build\/gen_aliases.awk\n+++ build\/gen_aliases.awk\n@@ -63,6 +63,20 @@\n     print \"{\";\n     print \"    struct charset_alias key;\";\n     print \"    struct charset_alias *alias;\";\n+    print \"#if 'A' == '\\\\xC1' \/* if EBCDIC host *\/\";\n+    print \"    \/* The table is sorted in ASCII collation order, not in EBCDIC order.\";\n+    print \"     * At the first access, we sort it automatically\";\n+    print \"     * Criterion for the 1st time initialization is the fact that the\";\n+    print \"     * 1st name in the list starts with a digit (in ASCII, numbers\";\n+    print \"     * have a lower ordinal value than alphabetic characters; while\";\n+    print \"     * in EBCDIC, their ordinal value is higher)\";\n+    print \"     *\/\";\n+    print \"    if (isdigit(charset_alias_list[0].name[0]))  {\";\n+    print \"        qsort((void *)charset_alias_list, charset_alias_count,\";\n+    print \"              sizeof(charset_alias_list[0]),\";\n+    print \"              charset_alias_compare);\";\n+    print \"    }\";\n+#endif\n     print \"    key.name = name;\";\n     print \"    alias = bsearch(&key, charset_alias_list, charset_alias_count,\";\n     print \"                    sizeof(charset_alias_list[0]),\";\n"}
{"commit":"b46981a6af59de6d32d1986cfae3e74d286a0589","subject":"Ignore case","message":"Ignore case\n","repos":"gxa\/gxa,gxa\/gxa,gxa\/gxa,gxa\/gxa,gxa\/gxa","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- sql\/where_clause.awk\n+++ sql\/where_clause.awk\n@@ -10,7 +10,7 @@\n \tsub(\/A2_\/, \"\", name);\n \ttable = name;\n } \n-!comment && table == desired { \n+!comment && lower(table) == lower(desired) { \n \tif (!sql) {\n \t\tsplit($0, parts, \/A2_\/);\n \t\tsql = substr(parts[2], length(table) + 1);\n"}
{"commit":"e07ccd76ef08d95786c099a483f23696a3c5aa52","subject":"bug fix","message":"bug fix\n","repos":"rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir,rhansen\/rpstir","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/remove_license_block-helper.awk\n+++ utils\/remove_license_block-helper.awk\n@@ -28,6 +28,8 @@\n \tBLOCK[BLOCK_END++] = X \"Contributor(\\\\(s\\\\)|s)?: .*\";\n \tBLOCK[BLOCK_END++] = X;\n \tBLOCK[BLOCK_END++] = X \"\\\\*\\\\*\\\\*\\\\*\\\\* END LICENSE BLOCK \\\\*\\\\*\\\\*\\\\*\\\\*\" POST_BLOCK;\n+\n+\tBLOCK_END--;\n }\n \n {\n"}
{"commit":"77a36d693adcc36ee9d6145a00ba2238a6d56ddf","subject":"Translate: enlarge timeout to 2000ms","message":"Translate: enlarge timeout to 2000ms\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -78,7 +78,7 @@\n     }\n \n     # How long to wait in milliseconds for IPv6 before trying IPv4\n-    PROCINFO[HttpService, \"READ_TIMEOUT\"] = 1000\n+    PROCINFO[HttpService, \"READ_TIMEOUT\"] = 2000\n }\n \n # Pre-process string (URL-encode before send).\n"}
{"commit":"1181dbf249edb01bdafc6f314218a8b82d806c32","subject":"Translate: update","message":"Translate: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -302,7 +302,20 @@\n             # Display: source language -> target language\n             if (r) r = r RS\n             r = r m(\"-- display source language -> target language\")\n-            r = r prettify(\"languages\", s(sprintf(\"[ %s -> %s ]\", getEndonym(il), getEndonym(tl))))\n+            temp = Option[\"fmt-languages\"]\n+            if (!temp) temp = \"[ %s -> %t ]\"\n+            split(temp, group, \/(%s|%S|%t|%T)\/)\n+            r = r prettify(\"languages\", group[1])\n+            if (temp ~ \/%s\/)\n+                r = r prettify(\"languages-sl\", getDisplay(il))\n+            if (temp ~ \/%S\/)\n+                r = r prettify(\"languages-sl\", getName(il))\n+            r = r prettify(\"languages\", group[2])\n+            if (temp ~ \/%t\/)\n+                r = r prettify(\"languages-tl\", getDisplay(tl))\n+            if (temp ~ \/%T\/)\n+                r = r prettify(\"languages-tl\", getName(tl))\n+            r = r prettify(\"languages\", group[3])\n         }\n \n         if (wShowOriginalDictionary) {\n@@ -322,10 +335,12 @@\n                         if (example)\n                             r = r RS prettify(\"original-dictionary-detailed-example\", ins(2, \"- \\\"\" example \"\\\"\", il))\n                         if (ref && isarray(oRefs[ref])) {\n-                            temp = showSynonyms(hl) \": \" oSynonyms[oRefs[ref][1]][oRefs[ref][2]][0]\n+                            temp = prettify(\"original-dictionary-detailed-synonyms\", ins(1, show(showSynonyms(hl), hl) \": \"))\n+                            temp = temp prettify(\"original-dictionary-detailed-synonyms-item\", show(oSynonyms[oRefs[ref][1]][oRefs[ref][2]][0], il))\n                             for (k = 1; k < length(oSynonyms[oRefs[ref][1]][oRefs[ref][2]]); k++)\n-                                temp = temp \", \" oSynonyms[oRefs[ref][1]][oRefs[ref][2]][k]\n-                            r = r RS prettify(\"original-dictionary-detailed-synonyms\", ins(1, temp))\n+                                temp = temp prettify(\"original-dictionary-detailed-synonyms\", \", \") \\\n+                                    prettify(\"original-dictionary-detailed-synonyms-item\", show(oSynonyms[oRefs[ref][1]][oRefs[ref][2]][k], il))\n+                            r = r RS temp\n                         }\n                     }\n                 }\n@@ -338,10 +353,12 @@\n                 for (i = 0; i < length(oSynonymClasses); i++) {\n                     r = (i > 0 ? r RS : r) RS prettify(\"original-dictionary-synonyms-word-class\", ins(1, oSynonymClasses[i], hl))\n                     for (j = 0; j < length(oSynonyms[i]); j++) {\n-                        temp = \"* \" oSynonyms[i][j][0]\n+                        temp = prettify(\"original-dictionary-synonyms-synonyms\", ins(2, \"- \"))\n+                        temp = temp prettify(\"original-dictionary-synonyms-synonyms-item\", show(oSynonyms[i][j][0], il))\n                         for (k = 1; k < length(oSynonyms[i][j]); k++)\n-                            temp = temp \", \" oSynonyms[i][j][k]\n-                        r = r RS prettify(\"original-dictionary-synonyms-synonyms\", ins(2, temp))\n+                            temp = temp prettify(\"original-dictionary-synonyms-synonyms\", \", \") \\\n+                                prettify(\"original-dictionary-synonyms-synonyms-item\", show(oSynonyms[i][j][k], il))\n+                        r = r RS temp\n                     }\n                 }\n             }\n@@ -353,12 +370,15 @@\n                 for (i = 0; i < length(oExamples); i++) {\n                     example = oExamples[i]\n \n+                    temp = prettify(\"original-dictionary-examples-example\", ins(1, \"- \"))\n                     split(example, group, \/(\\u003cb\\u003e|\\u003c\\\/b\\u003e)\/)\n                     if (isRTL(il)) # target language is R-to-L\n-                        example = group[1] group[2] group[3]\n+                        temp = temp show(group[1] group[2] group[3], il)\n                     else # target language is L-to-R\n-                        example = group[1] prettify(\"original-dictionary-examples-original\", group[2]) group[3]\n-                    r = (i > 0 ? r RS : r) RS prettify(\"original-dictionary-examples-content\", ins(1, \"- \" example, il))\n+                        temp = temp prettify(\"original-dictionary-examples-example\", group[1]) \\\n+                            prettify(\"original-dictionary-examples-original\", group[2]) \\\n+                            prettify(\"original-dictionary-examples-example\", group[3])\n+                    r = (i > 0 ? r RS : r) RS temp\n                 }\n             }\n             if (isarray(oSeeAlso) && anything(oSeeAlso)) {\n@@ -366,10 +386,11 @@\n                 r = r RS RS\n                 r = r m(\"-- display original dictionary (see also)\")\n                 r = r prettify(\"original-dictionary-see-also\", s(showSeeAlso(hl), hl))\n-                temp = isRTL(il) ? oSeeAlso[0] : prettify(\"original-dictionary-see-also-item\", oSeeAlso[0])\n+                temp = ins(1, prettify(\"original-dictionary-see-also-phrases-item\", show(oSeeAlso[0], il)))\n                 for (k = 1; k < length(oSeeAlso); k++)\n-                    temp = temp \", \" (isRTL(il) ? oSeeAlso[k] : prettify(\"original-dictionary-see-also-item\", oSeeAlso[k]))\n-                r = r RS prettify(\"original-dictionary-see-also-content\", ins(1, temp, il))\n+                    temp = temp prettify(\"original-dictionary-see-also-phrases\", \", \") \\\n+                        prettify(\"original-dictionary-see-also-phrases-item\", show(oSeeAlso[k], il))\n+                r = r RS temp\n             }\n         }\n \n@@ -381,11 +402,21 @@\n                 r = (i > 0 ? r RS : r) RS prettify(\"dictionary-word-class\", s(wordClasses[i], hl))\n                 for (j = 0; j < length(words[i]); j++) {\n                     word = words[i][j][0]\n-                    explanation = join(words[i][j][1], \", \")\n                     article = words[i][j][4]\n+                    if (isRTL(il))\n+                        explanation = join(words[i][j][1], \", \")\n+                    else {\n+                        explanation = prettify(\"dictionary-explanation-item\", words[i][j][1][0])\n+                        for (k = 1; k < length(words[i][j][1]); k++)\n+                            explanation = explanation prettify(\"dictionary-explanation\", \", \") \\\n+                                prettify(\"dictionary-explanation-item\", words[i][j][1][k])\n+                    }\n \n                     r = r RS prettify(\"dictionary-word\", ins(1, (article ? \"(\" article \") \" : \"\") word, tl))\n-                    r = r RS prettify(\"dictionary-explanation\", ins(2, explanation, il))\n+                    if (isRTL(il))\n+                        r = r RS prettify(\"dictionary-explanation-item\", ins(2, explanation, il))\n+                    else\n+                        r = r RS ins(2, explanation)\n                 }\n             }\n         }\n@@ -395,11 +426,17 @@\n             if (r) r = r RS RS\n             r = r m(\"-- display alternative translations\")\n             for (i = 0; i < length(altTranslations); i++) {\n-                r = (i > 0 ? r RS : r) prettify(\"alternatives-original\", show(segments[i]))\n-                temp = isRTL(tl) ? altTranslations[i][0] : prettify(\"alternatives-translation\", altTranslations[i][0])\n-                for (j = 1; j < length(altTranslations[i]); j++)\n-                    temp = temp \", \" (isRTL(tl) ? altTranslations[i][j] : prettify(\"alternatives-translation\", altTranslations[i][j]))\n-                r = r RS prettify(\"alternatives-content\", ins(1, temp))\n+                r = (i > 0 ? r RS : r) prettify(\"alternatives-original\", show(segments[i], il))\n+                if (isRTL(tl)) {\n+                    temp = join(altTranslations[i], \", \")\n+                    r = r RS prettify(\"alternatives-translations-item\", ins(1, temp, tl))\n+                } else {\n+                    temp = prettify(\"alternatives-translations-item\", altTranslations[i][0])\n+                    for (j = 1; j < length(altTranslations[i]); j++)\n+                        temp = temp prettify(\"alternatives-translations\", \", \") \\\n+                            prettify(\"alternatives-translations-item\", altTranslations[i][j])\n+                    r = r RS ins(1, temp)\n+                }\n             }\n         }\n \n"}
{"commit":"86fab7d560593bf505f46122c9c2991fa611ac5c","subject":"Languages: add Corsican language","message":"Languages: add Corsican language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -65,6 +65,19 @@\n     Locale[\"br\"][\"iso\"]                = \"bre\"\n     Locale[\"br\"][\"glotto\"]             = \"bret1244\"\n     Locale[\"br\"][\"script\"]             = \"Latn\"\n+\n+    #? Corsican\n+    Locale[\"co\"][\"name\"]               = \"Corsican\"\n+    Locale[\"co\"][\"endonym\"]            = \"Corsu\"\n+    #Locale[\"co\"][\"translations-of\"]\n+    #Locale[\"co\"][\"definitions-of\"]\n+    #Locale[\"co\"][\"synonyms\"]\n+    #Locale[\"co\"][\"examples\"]\n+    #Locale[\"co\"][\"see-also\"]\n+    Locale[\"co\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"co\"][\"iso\"]                = \"cos\"\n+    Locale[\"co\"][\"glotto\"]             = \"cors1242\"\n+    Locale[\"co\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"1f3ffc0b481fdccb766790e8dbdfeeb09127236e","subject":"Languages: add Northern Kurdish (Kurmanji) language","message":"Languages: add Northern Kurdish (Kurmanji) language\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -690,9 +690,11 @@\n     Locale[\"ko\"][\"script\"]             = \"Kore\"\n     Locale[\"ko\"][\"dictionary\"]         = \"true\" # has dictionary\n \n-    #51 Kurdish (Central Kurdish, Sorani), Latin alphabet\n-    Locale[\"ku\"][\"name\"]               = \"Kurdish\"\n-    Locale[\"ku\"][\"endonym\"]            = \"Kurd\u00ee\"\n+    #51 Kurdish (Central Kurdish \/ Sorani), Latin alphabet (Arabic alphabet for Bing)\n+    Locale[\"ku\"][\"name\"]               = \"Kurdish (Central)\"\n+    Locale[\"ku\"][\"name2\"]              = \"Sorani\"\n+    Locale[\"ku\"][\"endonym\"]            = \"Soran\u00ee\"\n+    Locale[\"ku\"][\"endonym2\"]           = \"Kurd\u00ee\"\n     #Locale[\"ku\"][\"translations-of\"]\n     #Locale[\"ku\"][\"definitions-of\"]\n     #Locale[\"ku\"][\"synonyms\"]\n@@ -1563,6 +1565,16 @@\n     #Locale[\"tlh-Qaak\"][\"glotto\"]\n     Locale[\"tlh-Qaak\"][\"script\"]       = \"Piqd\"\n \n+    #* Kurdish (Northern Kurdish \/ Kurmanji), Latin alphabet\n+    Locale[\"kmr\"][\"support\"]           = \"bing-only\"\n+    Locale[\"kmr\"][\"name\"]              = \"Kurdish (Northern)\"\n+    Locale[\"kmr\"][\"name2\"]             = \"Kurmanji\"\n+    Locale[\"kmr\"][\"endonym\"]           = \"Kurmanc\u00ee\"\n+    Locale[\"kmr\"][\"family\"]            = \"Indo-European\"\n+    Locale[\"kmr\"][\"iso\"]               = \"kmr\"\n+    Locale[\"kmr\"][\"glotto\"]            = \"nort2641\"\n+    Locale[\"kmr\"][\"script\"]            = \"Latn\"\n+\n     #? Assamese\n     Locale[\"as\"][\"support\"]            = \"unstable\"\n     Locale[\"as\"][\"name\"]               = \"Assamese\"\n@@ -1855,6 +1867,7 @@\n     LocaleAlias[\"iw\"] = \"he\" # withdrawn language code for Hebrew\n     LocaleAlias[\"ji\"] = \"yi\" # withdrawn language code for Yiddish\n     LocaleAlias[\"jw\"] = \"jv\" # withdrawn language code for Javanese\n+    LocaleAlias[\"kurdish\"] = \"ku\" # Kurdish: default to \"ku\" (N.B. Google uses this code for Kurmanji)\n     LocaleAlias[\"mo\"] = \"ro\" # Moldavian or Moldovan considered a variant of the Romanian language\n     LocaleAlias[\"nb\"] = \"no\" # Google Translate does not distinguish between Bokm\u00e5l and Nynorsk (but Bing does!)\n     LocaleAlias[\"nn\"] = \"no\"\n"}
{"commit":"5f5b7988940bc99824e6ba9c3e94a1ea91cdc4cb","subject":"Languages: add Hill Mari language (yandex only)","message":"Languages: add Hill Mari language (yandex only)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1562,6 +1562,20 @@\n     Locale[\"gn\"][\"iso\"]                = \"grn\"\n     Locale[\"gn\"][\"glotto\"]             = \"para1311\"\n     Locale[\"gn\"][\"script\"]             = \"Latn\"\n+\n+    #? Hill Mari\n+    Locale[\"mrj\"][\"support\"]           = \"yandex-only\"\n+    Locale[\"mrj\"][\"name\"]              = \"Hill Mari\"\n+    Locale[\"mrj\"][\"endonym\"]           = \"\u041a\u044b\u0440\u044b\u043a \u043c\u0430\u0440\u044b\"\n+    #Locale[\"mrj\"][\"translations-of\"]\n+    #Locale[\"mrj\"][\"definitions-of\"]\n+    #Locale[\"mrj\"][\"synonyms\"]\n+    #Locale[\"mrj\"][\"examples\"]\n+    #Locale[\"mrj\"][\"see-also\"]\n+    Locale[\"mrj\"][\"family\"]            = \"Uralic\"\n+    Locale[\"mrj\"][\"iso\"]               = \"mrj\"\n+    Locale[\"mrj\"][\"glotto\"]            = \"west2392\"\n+    Locale[\"mrj\"][\"script\"]            = \"Cyrl\"\n \n     #? Interlingue\n     Locale[\"ie\"][\"support\"]            = \"unstable\"\n"}
{"commit":"6962e1b6402a3598d11c9600e8c2fcd3642c8037","subject":"[as] Remove empty fields of instbl.c","message":"[as] Remove empty fields of instbl.c\n\nThese arrays were empty and was really hard to detect that they\nwere empty.\n","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- as\/target\/x86\/gen.awk\n+++ as\/target\/x86\/gen.awk\n@@ -40,24 +40,29 @@\n \tprint \"struct op optab[] = {\"\n \tfor (i = 0; i < nvar; i++) {\n \t\tprintf \"\\t{\\n\" \\\n-\t\t       \"\\t\\t.bytes = (char []) {%s},\\n\"\\\n \t\t       \"\\t\\t.size = %d,\\n\"\\\n-\t\t       \"\\t\\t.format = %s,\\n\"\\\n-\t\t       \"\\t\\t.args = (char []) {%s}\\n\"\\\n-\t\t       \"\\t},\\n\",\n-\t\t opbytes[i], opsize[i], opformat[i], str2args(opargs[i])\n+\t\t       \"\\t\\t.format = %s,\\n\",\n+\t\t       opsize[i], opformat[i]\n+\n+\t\tif (opbytes[i] != \"\")\n+\t\t\tprintf \"\\t\\t.bytes = (char []) {%s},\\n\", opbytes[i]\n+\n+\t\ta = str2args(opargs[i])\n+\t\tif (a != \"\")\n+\t\t\tprintf \"\\t\\t.args = (char []) {%s}\\n\", a\n+\n+\t\tprint \"\\t},\"\n \t}\n \tprint \"};\"\n }\n \n function str2args(s, args, i, out)\n {\n-\tsplit(s, args, \/,\/)\n+\tif (split(s, args, \/,\/) == 0 || args[1] == \"none\")\n+\t\treturn \"\"\n \tfor (i in args) {\n \t\ta = args[i]\n-\t\tif (a == \"none\") {\n-\t\t\tbreak\n-\t\t} else if (match(a, \/^imm8\/)) {\n+\t\tif (match(a, \/^imm8\/)) {\n \t\t\tout = \"AIMM8\"\n \t\t} else if (match(a, \/^imm16\/)) {\n \t\t\tout = \"AIMM16\"\n"}
{"commit":"9433d3c59c96247a4fcef0997b50e2aa1069f7cf","subject":"Translate: use genTK() to generate the actual tk, fix #94","message":"Translate: use genTK() to generate the actual tk, fix #94\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -65,7 +65,8 @@\n     url = HttpPathPrefix \"\/translate_a\/single?client=t\"                 \\\n         \"&ie=UTF-8&oe=UTF-8\"                                            \\\n         \"&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at\"  \\\n-        \"&q=\" preprocess(text) \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl \"&tk\"\n+        \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl                                   \\\n+        \"&tk=\" genTK(text) \"&q=\" preprocess(text)\n     header = \"GET \" url \" HTTP\/1.1\\n\"           \\\n         \"Host: \" HttpHost \"\\n\"                  \\\n         \"Connection: close\\n\"\n@@ -93,7 +94,7 @@\n # Play using Google Text-to-Speech engine.\n function play(text, tl,    url) {\n     url = HttpProtocol HttpHost \"\/translate_tts?ie=UTF-8&client=t\"\t\\\n-        \"&tl=\" tl \"&tk\" \"&q=\" preprocess(text)\n+        \"&tl=\" tl \"&tk=\" genTK(text) \"&q=\" preprocess(text)\n \n     # Don't use getline from pipe here - the same pipe will be run only once for each AWK script!\n     system(Option[\"player\"] \" \" parameterize(url) SUPOUT SUPERR)\n"}
{"commit":"836fbfd29ff51a7ce0bb7db7270381c852cb9dc3","subject":"- Fixed typo in kern_params initialization (was kern_parms) - Fixed handing of kernel parameter entries to allow spaces - Enabled acpi - Specified bridge network interface gt #1079","message":"- Fixed typo in kern_params initialization (was kern_parms)\n- Fixed handing of kernel parameter entries to allow spaces\n- Enabled acpi\n- Specified bridge network interface\ngt #1079\n","repos":"mambelli\/osg-bosco-marco,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,neurodebian\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/condor,djw8605\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/condor,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,htcondor\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_vm-gahp\/libvirt_simple_script.awk\n+++ src\/condor_vm-gahp\/libvirt_simple_script.awk\n@@ -24,13 +24,18 @@\n # that the entire classad has been sent to us.\n {\n     gsub(\/\\\"\/, \"\")\n-    attrs[$1] = $3\n+    key = $1\n+    # Matching value should be $3-$NR\n+    $1 = \"\"\n+    $2 = \"\"\n+    sub(\/^  \/, \"\")\n+    attrs[key] = $0\n     bootloader = \"\"\n     root = \"\"\n     initrd = \"\"\n     kernel = \"\"\n-    kern_parms = \"\"\n-    print \"Received attribute: \" $1 \"=\" attrs[$1] >debug_file\n+    kern_params = \"\"\n+    print \"Received attribute: \" key \"=\" attrs[key] >debug_file\n }\n \n END {\n@@ -85,6 +90,11 @@\n     {\n \tprint \"<bootloader>\" bootloader \"<\/bootloader>\"\n     }\n+\n+    # Make sure guests destroy on power off\n+    print \"<features><acpi\/><apic\/><pae\/><\/features>\" ;\n+    print \"<on_poweroff>destroy<\/on_poweroff><on_reboot>restart<\/on_reboot><on_crash>restart<\/on_crash>\" ;\n+\n     print \"<devices>\" ;\n     if(attrs[\"JobVMNetworking\"] == \"TRUE\")\n     {\n@@ -94,7 +104,7 @@\n \t}\n \telse\n \t{\n-\t    print \"<interface type='bridge'><mac address='\" attrs[\"JobVM_MACADDR\"] \"'\/><\/interface>\" ;\n+\t    print \"<interface type='bridge'><mac address='\" attrs[\"JobVM_MACADDR\"] \"'\/><source bridge='br0'\/><\/interface>\" ;\n \t}\n     }\n     print \"<disk type='file'>\" ;\n"}
{"commit":"65ac0c14c351c61c0ab29484f383408fea6fcfee","subject":"Translators\/YandexTranslate: get rid of the \"Yandex.Translate API v1 is no longer active\" message, fix (partly) #123","message":"Translators\/YandexTranslate: get rid of the \"Yandex.Translate API v1 is no longer active\" message, fix (partly) #123\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/YandexTranslate.awk\n+++ include\/Translators\/YandexTranslate.awk\n@@ -2,7 +2,7 @@\n # YandexTranslate.awk                                              #\n ####################################################################\n #\n-# Last Updated: 11 Mar 2016\n+# Last Updated: 16 May 2016\n BEGIN { provides(\"yandex\") }\n \n function genSID(    content, group, temp) {\n@@ -33,7 +33,7 @@\n     split(tl, group, \"-\"); tl = group[1]\n \n     return HttpPathPrefix \"\/api\/v1\/tr.json\/translate?\"                  \\\n-        \"id=\" SID \"&srv=tr-text\"                                        \\\n+        \"id=\" SID \"-0-0&srv=tr-text\"                                    \\\n         \"&text=\" preprocess(text) \"&lang=\" (sl == \"auto\" ? tl : sl \"-\" tl)\n }\n \n"}
{"commit":"8d70a01dea212dfb0ad27695eb59728b4b2c0eb4","subject":"Translate: add preprocess() and postprocess()","message":"Translate: add preprocess() and postprocess()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -3,6 +3,18 @@\n @include \"lib\/Commons\"\n @include \"lib\/PLTokenizer\"\n @include \"lib\/PLParser\"\n+\n+# Pre-process string (URL-encode before send).\n+function preprocess(text) {\n+    return quote(text)\n+}\n+\n+# Post-process string (remove any redundant whitespace).\n+function postprocess(text) {\n+    text = gensub(\/ ([.,;:?!\"])\/, \"\\\\1\", \"g\", text)\n+    text = gensub(\/([\"]) \/, \"\\\\1\", \"g\", text)\n+    return text\n+}\n \n # Send an HTTP request and get response from Google Translate.\n function getResponse(text, sl, tl, hl,    content, url) {\n"}
{"commit":"392c4da2c6db33d1b1d9237779b6ffcfd94f4d47","subject":"added commented out interpret empty as null params for easy uncommenting.","message":"added commented out interpret empty as null params for easy uncommenting.\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -141,12 +141,11 @@\n                                     printf(\"         a conversion:DataStartRow; \\n\");\n                                     printf(\"      ];                            \\n\");\n    }\n-   if(length(interpretAsNull) && length(conversionID)) {\n-                                    printf(\"      conversion:interpret [          \\n\");\n-                                    printf(\"         conversion:symbol \\\"%s\\\";\\n\",interpretAsNull);\n-                                    printf(\"         conversion:intepretation conversion:null; \\n\");\n-                                    printf(\"      ];                            \\n\");\n-   }\n+   comment_out = length(interpretAsNull) && length(conversionID) ? \"\" : \"#\"; # We want to put in the template so it is easy to uncomment.\n+                                    printf(\"      %sconversion:interpret [          \\n\",             comment_out);\n+                                    printf(\"      %s   conversion:symbol \\\"%s\\\";\\n\",                 comment_out,interpretAsNull);\n+                                    printf(\"      %s   conversion:intepretation conversion:null; \\n\",comment_out);\n+                                    printf(\"      %s];                            \\n\",               comment_out);\n    if(length(dataEnd)) {\n                                     printf(\"      conversion:enhance [        \\n\");\n                                     printf(\"         ov:csvRow %s;\\n\",dataEnd);\n"}
{"commit":"9172c87258d3b52611432fb3ac3537c198fbad53","subject":"When generating the version map file, order versions oldest first to make it easier for rtld to choose the oldest version of a symbol.","message":"When generating the version map file, order versions oldest\nfirst to make it easier for rtld to choose the oldest version\nof a symbol.\n\nSumbitted by:\tkan\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- share\/mk\/version_gen.awk\n+++ share\/mk\/version_gen.awk\n@@ -53,6 +53,7 @@\n \t\t\tsymver = $1;\n \t\t\tversions[symver] = 1;\n \t\t\tsuccessors[symver] = \"\";\n+\t\t\tgenerated[symver] = 0;\n \t\t\tversion_count++;\n \t\t}\n \t\telse if (\/^[ \\t]*} *[a-zA-Z0-9._]+ *;\/) {\n@@ -141,26 +142,42 @@\n \t    FILENAME, FNR, $0) > stderr;\n }\n \n+function print_version(v)\n+{\n+\t# This function is recursive, so return if this version\n+\t# has already been printed.  Otherwise, if there is an\n+\t# ancestral version, recursively print its symbols before\n+\t# printing the symbols for this version.\n+\t#\n+\tif (generated[v] == 1)\n+\t\treturn;\n+\tif (successors[v] != \"\")\n+\t\tprint_version(successors[v]);\n+\n+\tprintf(\"%s {\\n\", v);\n+\n+\t# The version count is always one more that actual,\n+\t# so the loop ranges from 1 to n-1.\n+\t#\n+\tfor (i = 1; i < versions[v]; i++) {\n+\t\tif (i == 1)\n+\t\t\tprintf(\"global:\\n\");\n+\t\tprintf(\"\\t%s\\n\", symbols[v, i]);\n+\t}\n+\tif (successors[v] == \"\") {\n+\t\t# This version succeeds no other version.\n+\t\tprintf(\"local:\\n\");\n+\t\tprintf(\"\\t*;\\n\");\n+\t\tprintf(\"};\\n\");\n+\t}\n+\telse\n+\t\tprintf(\"} %s;\\n\", successors[v]);\n+\tprintf(\"\\n\");\n+\n+\tgenerated[v] = 1;\n+    }\n END {\n \tfor (v in versions) {\n-\t\tprintf(\"\\n\");\n-\t\tprintf(\"%s {\\n\", v);\n-\n-\t\t# The version count is always one more that actual,\n-\t\t# so the loop ranges from 1 to n-1.\n-\t\t#\n-\t\tfor (i = 1; i < versions[v]; i++) {\n-\t\t\tif (i == 1)\n-\t\t\t\tprintf(\"global:\\n\");\n-\t\t\tprintf(\"\\t%s\\n\", symbols[v, i]);\n-\t\t}\n-\t\tif (successors[v] == \"\") {\n-\t\t\t# This version succeeds no other version.\n-\t\t\tprintf(\"local:\\n\");\n-\t\t\tprintf(\"\\t*;\\n\");\n-\t\t\tprintf(\"};\\n\");\n-\t\t}\n-\t\telse\n-\t\t\tprintf(\"} %s;\\n\", successors[v]);\n+\t\tprint_version(v);\n \t}\n }\n"}
{"commit":"3362a2a00556eb04b021c98600a4e5a207cf9d28","subject":"do not create _STR_ defines; this is useless, makes pcmciadevs.h larger and unclean.","message":"do not create _STR_ defines; this is useless, makes pcmciadevs.h larger\nand unclean.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/pcmcia\/devlist2h.awk\n+++ dev\/pcmcia\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.3 1999\/08\/18 22:30:04 d Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.4 2000\/02\/01 16:54:41 fgsch Exp $\n #\t$NetBSD: devlist2h.awk,v 1.2 1998\/07\/22 11:47:13 christos Exp $\n #\n # Copyright (c) 1998, Christos Zoulas\n@@ -128,11 +128,11 @@\n \tprintf(\"#define\\tPCMCIA_PRODUCT_%s_%s\\t%s\\n\", products[nproducts, 1],\n \t    products[nproducts, 2], products[nproducts, 3]) > hfile\n \n-\tproducts[nproducts, 5] = collectline(f, line)\n-\n-\tprintf(\"#define\\tPCMCIA_STR_%s_%s\\t\\\"%s\\\"\\n\",\n-\t    products[nproducts, 1], products[nproducts, 2],\n-\t    products[nproducts, 5]) > hfile\n+#\tproducts[nproducts, 5] = collectline(f, line)\n+#\n+#\tprintf(\"#define\\tPCMCIA_STR_%s_%s\\t\\\"%s\\\"\\n\",\n+#\t    products[nproducts, 1], products[nproducts, 2],\n+#\t    products[nproducts, 5]) > hfile\n \n \tnext\n }\n"}
{"commit":"8e07fb8b2f30afff76b296b5697e897120487ad0","subject":"Commons: use string \"\\0\" to indicate NONE","message":"Commons: use string \"\\0\" to indicate NONE\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -5,6 +5,7 @@\n # Initialize constants.\n function initConst() {\n     NULLSTR = \"\"\n+    NONE = \"\\0\"\n     TRUE = 1\n \n     STDIN  = \"\/dev\/stdin\"\n"}
{"commit":"e5d2de6a7696a64001c6a8a603718a4b80a8d75a","subject":"Fix missing episode numbers in MHz","message":"Fix missing episode numbers in MHz\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -82,6 +82,8 @@\n     gsub (\/&#x27;\/,\"'\")\n     split ($0,fld,\"\\\"\")\n     episodeURL = fld[2]\n+    if (episodeURL ~ \/-c-[[:digit:]]{5}$\/)\n+        episodeNumberFromURL = substr (episodeURL, length(episodeURL)-1, 2)\n     episodeTitle = fld[4]\n     gsub (\/&quot;\/,\"\\\"\\\"\",episodeTitle)\n     sub (\/.*season:\/,\"\")\n@@ -102,14 +104,23 @@\n # Extract the episode description and print the composed info\n \/<div class=\"transparent padding-top-medium\"\/,\/<\\\/div>\/ {\n     if ($0 ~ \/<div class=\"transparent padding-top-medium\"\/) {\n-        if ((episodeNumber + 0) == 0)\n-            print \"==> Episode number is 00: \" episodeURL >> ERROR_FILE\n+        if ((episodeNumber + 0) == 0) {\n+            if ((episodeNumberFromURL + 0) != 0) {\n+                episodeNumber = episodeNumberFromURL\n+                print \"==> Corrected E00: \" episodeURL \" to E\" episodeNumber >> ERROR_FILE\n+            } else {\n+                print \"==> Episode number is 00: \" episodeURL >> ERROR_FILE\n+            }\n+        }\n         printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, S%02dE%02d, %s\\\"\\)\\t\\t\\t%s\\t\\t\\t\\t\\t\", \\\n             SERIES_NUMBER, episodeURL, seriesTitle, seasonNumber, episodeNumber, episodeTitle, \\\n             episodeDuration) >> EPISODE_INFO_FILE\n         # Need to account for multiple lines of description\n         descriptionLinesFound = 0\n         episodeDescription = \"\"\n+        # make sure there is no carryforward\n+        episodeNumber = \"\"\n+        episodeNumberFromURL = \"\"\n     }\n     if ($0 ~ \/<p>\/) {\n         split ($0,fld,\"[<>]\")\n"}
{"commit":"5cac8679d30f965cbfff37fa464779e17a679466","subject":"Oops, don't why I missed out 'mode=remove' changes. Fixed remove mode for static interface","message":"Oops, don't why I missed out 'mode=remove' changes. Fixed remove mode for static interface\n","repos":"JoeKuan\/Network-Interfaces-Script","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"61c75a4a85effccd02dff83af18e8e63e2779a72","subject":"cleaning global.e1.params.ttl with bin\/util\/update-e-params-subject-discrim.awk","message":"cleaning global.e1.params.ttl with bin\/util\/update-e-params-subject-discrim.awk\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/update-e-params-subject-discrim.awk\n+++ bin\/util\/update-e-params-subject-discrim.awk\n@@ -10,11 +10,11 @@\n {\n    if( $1 == \"@prefix\" && $2 == \":\" ) {\n       # Fix up default namespace.\n-      printf(\"@prefix :           <%s\/source\/%s\/dataset\/%s\/version\/%s\/params\/enhancement\/%s\/> .\",baseURI,sourceID,dataset_identifier,datasetVersion,layerID);\n+      printf(\"@prefix :           <%s\/source\/%s\/dataset\/%s\/version\/%s\/params\/enhancement\/%s\/> .\\n\",baseURI,sourceID,dataset_identifier,datasetVersion,layerID);\n \n    }else if( $0 == \":dataset a void:Dataset;\" ) {\n       # Change subject to name of layer dataset itself.\n-      printf(\"%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/enhancement\/%s\",baseURI,sourceID,dataset_identifier,datasetVersion,layerID);\n+      printf(\"<%s\/source\/%s\/dataset\/%s\/version\/%s\/conversion\/enhancement\/%s>\\n\",baseURI,sourceID,dataset_identifier,datasetVersion,layerID);\n \n    }else if( $0~\"conversion:subject_discriminator\" ) {\n       printf(\"      conversion:subject_discriminator \\\"%s\\\";\\n\",subjectDiscriminator)\n"}
{"commit":"3f99153c9d52625a9683bf76587075a590930c50","subject":"A script to convert regexps to reperf format test cases, one per line.","message":"A script to convert regexps to reperf format test cases, one per line.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"unknown","license":"bsd-2-clause","lang":"Awk","diff":""}
{"commit":"5485acdc307383322387471b0de5ce93d2bf896e","subject":"Update min\/maxx to be inclusive","message":"Update min\/maxx to be inclusive\n\nsee: https:\/\/trello.com\/c\/RU4BWrYA\/340-as-a-data-manager-adding-min-max-values-in-the-jts-they-should-be-inclusive\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -140,7 +140,7 @@\n         msg         = \"Field \" field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" is a duplicate and should be unique\"\n \n     } else if (rule_type ~ \/^minimum|maximum$\/) {\n-        comparator  = $2 == \"maximum\" ? \">\" : \"<\"\n+        comparator  = $2 == \"maximum\" ? \">=\" : \"<=\"\n         limit       = params[2]\n         term        = $2 == \"maximum\" ? \"less\" : \"greater\"\n \n"}
{"commit":"b55bb45577a72203e5259325f8ccf7a8efb5a07a","subject":"Translators\/GoogleTranslate: ignore JSON null, fix #171","message":"Translators\/GoogleTranslate: ignore JSON null, fix #171\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -125,6 +125,8 @@\n     saveSortedIn = PROCINFO[\"sorted_in\"]\n     PROCINFO[\"sorted_in\"] = \"@ind_num_asc\"\n     for (i in ast) {\n+        if (ast[i] == \"null\") continue\n+\n         if (i ~ \"^0\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+\" SUBSEP \"0$\")\n             append(translations, postprocess(literal(ast[i])))\n         if (i ~ \"^0\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+\" SUBSEP \"1$\")\n"}
{"commit":"83e1a0898911f299fe49dc7ce3171975ca65a301","subject":"Initialization in BEGIN block.","message":"Initialization in BEGIN block.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -29,6 +29,7 @@\n }\n \n BEGIN {\n+    logLineSeen = 0\n     print \"{\";\n }\n \n@@ -38,7 +39,6 @@\n \n \/^#Version: \/ {\n     printf \"\\t\\\"version\\\": \\\"%s\\\",\\n\", substr($0, length(\"#Version: \") + 1)\n-    logLineSeen = 0\n }\n \n \/^#Fields: \/ {\n"}
{"commit":"35bd8dd63ea5e338e91eb7cbbae316e2a3c38d37","subject":"Another tentative waypoint before any sensible commits begin. This introduces splines through the intersection points of the graphviz edge and node circles.","message":"Another tentative waypoint before any sensible commits begin. This introduces splines through the intersection points of the graphviz edge and node circles.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"unknown","license":"bsd-2-clause","lang":"Awk","diff":""}
{"commit":"369c76f325bf3d998bab0b069a5a4e6112e2d32e","subject":"print full inheritance","message":"print full inheritance\n\nChange-Id: Ia53fcbde6b3ff4d38b477069a1f956c9aef84f78\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk\n+++ i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk\n@@ -80,7 +80,7 @@\n         for (i in LocaleList)\n         {\n             if (LocaleList[i][offinherit] && LocaleList[i][offpatterns])\n-                print LocaleList[i][offlocale] \" = \" LocaleList[i][offinherit] \"&nbsp;&nbsp;&nbsp; \"\n+                print getInheritance( LocaleList[i][offlocale], LocaleList[i][offlocale]) \"&nbsp;&nbsp;&nbsp; \"\n         }\n         print \"\\n<p>\"\n     }\n@@ -89,7 +89,7 @@\n         for (i in LocaleList)\n         {\n             if (LocaleList[i][offinherit] && LocaleList[i][offpatterns])\n-                print LocaleList[i][offlocale] \" = \" LocaleList[i][offinherit]\n+                print getInheritance( LocaleList[i][offlocale], LocaleList[i][offlocale])\n         }\n         print \"\\n\"\n     }\n@@ -105,7 +105,7 @@\n         for (i in LocaleList)\n         {\n             if (!LocaleList[i][offpatterns])\n-                print LocaleList[i][offlocale] \"&nbsp;&nbsp;&nbsp; \"\n+                print getInheritance( LocaleList[i][offlocale], LocaleList[i][offlocale]) \"&nbsp;&nbsp;&nbsp; \"\n         }\n     }\n     else\n@@ -113,13 +113,13 @@\n         for (i in LocaleList)\n         {\n             if (!LocaleList[i][offpatterns])\n-                print LocaleList[i][offlocale]\n+                print getInheritance( LocaleList[i][offlocale], LocaleList[i][offlocale])\n         }\n     }\n }\n \n \n-function endFile() {\n+function endFile(       locale ) {\n     locale =  getLocale( file)\n     LocaleList[locale][offlocale] = locale\n     LocaleList[locale][offpatterns] = patterns\n@@ -172,4 +172,11 @@\n     }\n }\n \n+\n+function getInheritance( str, locale ) {\n+    if (LocaleList[locale][offinherit])\n+        str = getInheritance( str \" = \" LocaleList[locale][offinherit], LocaleList[locale][offinherit])\n+    return str\n+}\n+\n # vim:set shiftwidth=4 softtabstop=4 expandtab:\n"}
{"commit":"162b9a068c4b84ac3870f36944cf13f099052a2b","subject":"add subnet statistics","message":"add subnet statistics\n","repos":"bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_ckpt_server\/xfer_log.awk\n+++ src\/condor_ckpt_server\/xfer_log.awk\n@@ -1,5 +1,6 @@\n BEGIN {\n     num_hosts = 0;\n+    num_subnets = 0;\n     num_users = 0;\n }\n {\n@@ -15,6 +16,12 @@\n \t    Hosts[num_hosts] = $9;\n \t    num_hosts++;\n \t}\n+\tsplit($9, ip_tmp, \".\");\n+\tSubnet = sprintf(\"%s.%s.%s\", ip_tmp[1], ip_tmp[2], ip_tmp[3]);\n+\tif (AttemptedSends[Subnet] == 0 && AttemptedRecvs[Subnet] == 0) {\n+\t    Subnets[num_subnets] = Subnet;\n+\t    num_subnets++;\n+\t}\n \tsplit($10, user_tmp, \"\\@\");\n \tUser = user_tmp[1];\n \tif (AttemptedSends[User] == 0 && AttemptedRecvs[User] == 0) {\n@@ -23,30 +30,41 @@\n \t}\n \tif ($3 == \"S\") {\n \t    AttemptedSends[$9]++;\n+\t    AttemptedSends[Subnet]++;\n \t    AttemptedSends[User]++;\n \t    if ($4 != \"F\") {\n \t\tCompletedSends[$9]++;\n+\t\tCompletedSends[Subnet]++;\n \t\tCompletedSends[User]++;\n \t\tBytesSent[$9] += $5;\n+\t\tBytesSent[Subnet] += $5;\n \t\tBytesSent[User] += $5;\n \t\tTimeSending[$9] += $7;\n+\t\tTimeSending[Subnet] += $7;\n \t\tTimeSending[User] += $7;\n \t    }\n \t} else {\n \t    AttemptedRecvs[$9]++;\n+\t    AttemptedRecvs[Subnet]++;\n \t    AttemptedRecvs[User]++;\n \t    if ($4 != \"F\") {\n \t\tCompletedRecvs[$9]++;\n+\t\tCompletedRecvs[Subnet]++;\n \t\tCompletedRecvs[User]++;\n \t\tBytesRecvd[$9] += $5;\n+\t\tBytesRecvd[Subnet] += $5;\n \t\tBytesRecvd[User] += $5;\n \t\tTimeReceiving[$9] += $7;\n+\t\tTimeReceiving[Subnet] += $7;\n \t\tTimeReceiving[User] += $7;\n \t    }\n \t}\n     }\n }\n END {\n+    qsort(Hosts, 0, num_hosts-1);\n+    qsort(Subnets, 0, num_subnets-1);\n+    qsort(Users, 0, num_users-1);\n     printf(\"\\nCheckpoint Server Transfer Log Data from %s %s to %s %s\\n\\n\",\n \t   StartDate, StartTime, EndDate, EndTime);\n     printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s\\n\",\n@@ -99,6 +117,24 @@\n \tTotalCompletedSends += CompletedSends[Host];\n \tTotalCompletedRecvs += CompletedRecvs[Host];\n     }\n+    printf(\"\\n\");\n+    for (i=0; i < num_subnets; i++) {\n+\tSubnet = Subnets[i];\n+\tBytes = BytesSent[Subnet] + BytesRecvd[Subnet];\n+\tTime = TimeSending[Subnet] + TimeReceiving[Subnet];\n+\tAttempted = AttemptedSends[Subnet] + AttemptedRecvs[Subnet];\n+\tCompleted = CompletedSends[Subnet] + CompletedRecvs[Subnet];\n+\tif (TimeSending[Subnet] > 0 && TimeReceiving[Subnet] > 0) {\n+\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%%\\n\",\n+\t\t   Subnet,\n+\t\t   BytesSent[Subnet]*8\/TimeSending[Subnet]\/1024000,\n+\t\t   CompletedSends[Subnet]\/AttemptedSends[Subnet]*100,\n+\t\t   BytesRecvd[Subnet]*8\/TimeReceiving[Subnet]\/1024000,\n+\t\t   CompletedRecvs[Subnet]\/AttemptedRecvs[Subnet]*100,\n+\t\t   Bytes*8\/Time\/1024000,\n+\t\t   Completed\/Attempted*100);\n+\t}\n+    }\n     TotalBytes = TotalBytesSent + TotalBytesRecvd;\n     TotalTime = TotalTimeSending + TotalTimeReceiving;\n     TotalAttempted = TotalAttemptedSends + TotalAttemptedRecvs;\n@@ -122,3 +158,19 @@\n     printf(\"\\n%-16.16s %25.0f %25.0f\\n\",\n \t   \"Total\", TotalBytesSent\/1024000, TotalBytesRecvd\/1024000);\n }\n+function qsort(v, left, right) {\n+  if (left >= right) return;\n+  swap(v, left, int((left + right)\/2));\n+  last = left;\n+  for (i=left+1; i <= right; i++) {\n+    if (v[i] < v[left]) swap(v, ++last, i);\n+  }\n+  swap(v, left, last);\n+  qsort(v, left, last-1);\n+  qsort(v, last+1, right);\n+}\n+function swap(v, i, j) {\n+  temp = v[i];\n+  v[i] = v[j];\n+  v[j] = temp;\n+}\n"}
{"commit":"3206bfd97b8f1f906098a886fff44238f3281a4e","subject":"r11552\/sofa-dev : missing double-slashes in filter-qmake-pro.awk","message":"r11552\/sofa-dev : missing double-slashes in filter-qmake-pro.awk\n\n\nFormer-commit-id: 1325c1b6b009cc1e080200429d891be5c8aaa556","repos":"hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,FabienPean\/sofa,hdeling\/sofa,FabienPean\/sofa,FabienPean\/sofa,FabienPean\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,FabienPean\/sofa","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- scripts\/filter-qmake-pro.awk\n+++ scripts\/filter-qmake-pro.awk\n@@ -39,7 +39,7 @@\n # Note that we now count the brackets in the source file to find the\n # SOFA_DEV closing one instead of relying on the presence of a comment\n \n-blk_filtered==0 && $0 ~ \"contains[ \\t]*\\([ \\t]*DEFINES[ \\t]*,[ \\t]*\"FILTER_TAG\"[ \\t]*\\)[ \\t]*{\" {\n+blk_filtered==0 && $0 ~ \"contains[ \\t]*\\\\([ \\t]*DEFINES[ \\t]*,[ \\t]*\"FILTER_TAG\"[ \\t]*\\\\)[ \\t]*{\" {\n     blk_filtered=blk_after;\n     infilelist=0;\n }\n"}
{"commit":"3027afc1bd530e91d43e427cc6a2b42e0a1cce58","subject":"TestUtils: mark as gawk5-compatible (close #297)","message":"TestUtils: mark as gawk5-compatible (close #297)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestUtils.awk\n+++ test\/TestUtils.awk\n@@ -6,7 +6,7 @@\n     T(\"GawkVersion\", 1)\n     {\n         initGawk()\n-        assertTrue(GawkVersion ~ \"^4.\")\n+        assertTrue(GawkVersion ~ \"^(4|5).\")\n     }\n \n     T(\"Rlwrap\", 1)\n"}
{"commit":"f9523125f30dab0fbd17e0f4407edf24e92b608f","subject":"build.awk: use ManTemplate to generate ManMarkdown","message":"build.awk: use ManTemplate to generate ManMarkdown\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -34,8 +34,9 @@\n \n     ManPath              = \"man\/\"\n     Man                  = ManPath Command \".1\"\n-    ManSource            = Man \".md\"\n-    ManTemplate          = Man \".template.html\"\n+    ManTemplate          = Man \".template.md\"\n+    ManMarkdown          = Man \".md\"\n+    ManHtmlTemplate      = Man \".template.html\"\n     ManHtml              = Man \".html\"\n \n     PagesPath            = \"gh-pages\/\"\n@@ -58,10 +59,15 @@\n     MainRegistry         = RegistryPath \"index.trans\"\n }\n \n-function man() {\n-    if (fileExists(ManTemplate))\n-        system(\"pandoc -s -t html --toc --toc-depth 1 --template \" ManTemplate \" \" ManSource \" -o \" ManHtml)\n-    return system(\"pandoc -s -t man \" ManSource \" -o \" Man)\n+function man(    text) {\n+    text = readFrom(ManTemplate)\n+    gsub(\/\\$Version\\$\/, Version, text)\n+    gsub(\/\\$ReleaseDate\\$\/, ReleaseDate, text)\n+    writeTo(text, ManMarkdown)\n+\n+    if (fileExists(ManHtmlTemplate))\n+        system(\"pandoc -s -t html --toc --toc-depth 1 --template \" ManHtmlTemplate \" \" ManMarkdown \" -o \" ManHtml)\n+    return system(\"pandoc -s -t man \" ManMarkdown \" -o \" Man)\n }\n \n function readme(    code, col, cols, content, group, i, j, language, r, rows, text) {\n"}
{"commit":"9ef99755647a92a8feb6e3a4d8906b8592819453","subject":"fix: sanitize_text() may create trailing whitespaces that must be removed","message":"fix: sanitize_text() may create trailing whitespaces that must be removed\n","repos":"farjump\/fwtr,farjump\/fwtr","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- scripts\/lib\/awk\/utils.awk\n+++ scripts\/lib\/awk\/utils.awk\n@@ -27,7 +27,7 @@\n   # set of results we have so far.\n   gsub(\/[^[\\x00-\\x7F]]|[\\(\\)]\/, \"\", text);\n   gsub(\/[[:space:]]{2,}\/, \" \", text);\n-  return text;\n+  return trim(text);\n }\n \n #\n"}
{"commit":"92f4b2d0fd40c96bb5bebb7d58600eb471843b14","subject":"Scale also the job counts","message":"Scale also the job counts\n","repos":"bbockelm\/glideinWMS,bbockelm\/glideinWMS,bbockelm\/glideinWMS,bbockelm\/glideinWMS","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- creation\/web_base\/parse_starterlog.awk\n+++ creation\/web_base\/parse_starterlog.awk\n@@ -31,6 +31,14 @@\n   }\n }\n \n+# divide and rund up anything that is not an onteger\n+# e.g. 1.1 becomes 2\n+function updiv(x,y) {\n+  t=1.0*x\/y;\n+  dstr=sprintf(\"%d\",t+0.99);\n+  return int(dstr);\n+}\n+ \n ########################################################################  \n \/ Communicating with shadow \/{\n   # 7\/17 10:42:20 (pid:26855) Communicating with shadow <131.225.204.208:34839>\n@@ -138,10 +146,27 @@\n } \n ########################################################################  \n END {\n+  tj=updiv(ended_jobs,parallelism);\n+\n+  #since it is rounded, the sum could exceed tj\n+  tcnt=0; \n+  tgnz=updiv(goodjobsNZ,parallelism);tcnt=tcnt+tgnz;\n+  while (tcnt>tj) {tgnz=tgnz-1; tcnt=tcnt-1;}\n+  tbjs=updiv(badjobsSignal,parallelism);tcnt=tcnt+tbjs;\n+  while (tcnt>tj) {tbjs=tbjs-1; tcnt=tcnt-1;}\n+  tbjo=updiv(badjobsOther,parallelism);tcnt=tcnt+tbjo;\n+  while (tcnt>tj) {tbjo=tbjo-1; tcnt=tcnt-1;}\n+\n+  # if needed, penalize the \"good jobs\" the most\n+  # we mostly want to monitor failures\n+  tgz=updiv(goodjobsZ,parallelism); tcnt=tcnt+tgz;\n+  while (tcnt>tj) {tgz=tgz-1; tcnt=tcnt-1;}\n+  # please notice that the percentages will still be accurate\n+\n   print \"=================\";\n-  print \"Total jobs\",ended_jobs,\"utilization\",int(total_used\/parallelism);\n-  print \"Total goodZ jobs\",goodjobsZ \" (\" percent(goodjobsZ,ended_jobs) \"%)\",\"utilization\",int(goodputZ\/parallelism) \" (\" percent(goodputZ,total_used) \"%)\";\n-  print \"Total goodNZ jobs\",goodjobsNZ \" (\" percent(goodjobsNZ,ended_jobs) \"%)\",\"utilization\",int(goodputNZ\/parallelism) \" (\" percent(goodputNZ,total_used) \"%)\";\n-  print \"Total badSignal jobs\",badjobsSignal \" (\" percent(badjobsSignal,ended_jobs) \"%)\",\"utilization\",int(badputSignal\/parallelism) \" (\" percent(badputSignal,total_used) \"%)\";\n-  print \"Total badOther jobs\",badjobsOther \" (\" percent(badjobsOther,ended_jobs) \"%)\",\"utilization\",int(badputOther\/parallelism) \" (\" percent(badputOther,total_used) \"%)\";\n+  print \"Total jobs\",tj,\"utilization\",int(total_used\/parallelism);\n+  print \"Total goodZ jobs\",tgz, \" (\" percent(goodjobsZ,ended_jobs) \"%)\",\"utilization\",int(goodputZ\/parallelism) \" (\" percent(goodputZ,total_used) \"%)\";\n+  print \"Total goodNZ jobs\",tgnz, \" (\" percent(goodjobsNZ,ended_jobs) \"%)\",\"utilization\",int(goodputNZ\/parallelism) \" (\" percent(goodputNZ,total_used) \"%)\";\n+  print \"Total badSignal jobs\",tbjs, \" (\" percent(badjobsSignal,ended_jobs) \"%)\",\"utilization\",int(badputSignal\/parallelism) \" (\" percent(badputSignal,total_used) \"%)\";\n+  print \"Total badOther jobs\",tbjo, \" (\" percent(badjobsOther,ended_jobs) \"%)\",\"utilization\",int(badputOther\/parallelism) \" (\" percent(badputOther,total_used) \"%)\";\n }\n"}
{"commit":"456ebdd9da82480b5f020258d8a2dc8818acc98d","subject":"added bibo prefix.","message":"added bibo prefix.\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -60,6 +60,7 @@\n       print \"@prefix muo:           <http:\/\/purl.oclc.org\/NET\/muo\/muo#> .\"\n       print \"@prefix vs:            <http:\/\/www.w3.org\/2003\/06\/sw-vocab-status\/ns#> .\"\n       print \"@prefix frbr:          <http:\/\/purl.org\/vocab\/frbr\/core#> .\"\n+      print \"@prefix bibo:          <http:\/\/purl.org\/ontology\/bibo\/> .\"\n       print \"@prefix dgtwc:         <http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#> .\"\n    }\n    print \"@prefix dcterms:       <http:\/\/purl.org\/dc\/terms\/> .\"\n"}
{"commit":"6d7701c198590f8d727f038e1ba40b1e57c95ef6","subject":"Handle mscorwks_unixexports.src with better regexp operator for compatibility","message":"Handle mscorwks_unixexports.src with better regexp operator for compatibility\n\nver3:\nAccording to the gawk manual, The '\\S' operator (as shorthand for '[^[:space:]]')\nmatches any character that is not whitespace. However, '[ \\t]' is better than\n'\\S' for Mac OSX.\n(source - https:\/\/www.gnu.org\/software\/gawk\/manual\/html_node\/GNU-Regexp-Operators.html )\n\nver2:\nWith ver1, the build-break is caused by different awk versions (by @jkotas).\n(Revert PR - https:\/\/github.com\/dotnet\/coreclr\/pull\/4005)\nTo resolve the limitation of the ver1, @janvorli proposed that the\n\\S expression is better than [:space:] for the most compatible solution.\n\nThere are a lot of different AWK software (e.g. awk, gawk, mawk, nawk, etc)\nand versions among the popular Linux distributions. This patch is a simply\nway to handle 'mscorwks_unixexports.src' file with \\S operator for more\ncompatibility amon the different awk versions.\n\nver1:\nIt's must be modified by gawk implementation that check it exactly\nas a plain character (e.g., space, alnum) within the bracket expression\nat .\/coreclr\/generateversionscript.awk. The [[:space:]] is more appropriate than\nthe [:space:]]. (PR - https:\/\/github.com\/dotnet\/coreclr\/pull\/3943)\n\nSigned-off-by: Geunsik Lim <acd8f4539166019ed6425de5f67e6d834f46e5a4@samsung.com>\nSigned-off-by: MyungJoo Ham <84146178f7c201fa3079bfc93fccba71d81dffe3@samsung.com>\nSigned-off-by: Prajwal A N <b9045b1f56dab106e820d6cda13049bcd6c9e3af@samsung.com>\n","repos":"Dmitry-Me\/coreclr,jhendrixMSFT\/coreclr,LLITCHEV\/coreclr,pgavlin\/coreclr,mmitche\/coreclr,naamunds\/coreclr,James-Ko\/coreclr,alexperovich\/coreclr,jhendrixMSFT\/coreclr,naamunds\/coreclr,alexperovich\/coreclr,ramarag\/coreclr,gkhanna79\/coreclr,bartdesmet\/coreclr,martinwoodward\/coreclr,botaberg\/coreclr,wtgodbe\/coreclr,krytarowski\/coreclr,ruben-ayrapetyan\/coreclr,rartemev\/coreclr,ruben-ayrapetyan\/coreclr,sejongoh\/coreclr,schellap\/coreclr,wateret\/coreclr,mmitche\/coreclr,tijoytom\/coreclr,yizhang82\/coreclr,botaberg\/coreclr,cshung\/coreclr,ZhichengZhu\/coreclr,sagood\/coreclr,botaberg\/coreclr,krk\/coreclr,sejongoh\/coreclr,cshung\/coreclr,jhendrixMSFT\/coreclr,sagood\/coreclr,russellhadley\/coreclr,cydhaselton\/coreclr,mskvortsov\/coreclr,AlexGhiondea\/coreclr,ramarag\/coreclr,JosephTremoulet\/coreclr,vinnyrom\/coreclr,yizhang82\/coreclr,hseok-oh\/coreclr,pgavlin\/coreclr,vinnyrom\/coreclr,LLITCHEV\/coreclr,alexperovich\/coreclr,KrzysztofCwalina\/coreclr,qiudesong\/coreclr,ramarag\/coreclr,Dmitry-Me\/coreclr,ramarag\/coreclr,wtgodbe\/coreclr,wtgodbe\/coreclr,shahid-pk\/coreclr,LLITCHEV\/coreclr,martinwoodward\/coreclr,manu-silicon\/coreclr,bartonjs\/coreclr,KrzysztofCwalina\/coreclr,dasMulli\/coreclr,botaberg\/coreclr,manu-silicon\/coreclr,poizan42\/coreclr,kyulee1\/coreclr,neurospeech\/coreclr,yizhang82\/coreclr,ruben-ayrapetyan\/coreclr,krk\/coreclr,krytarowski\/coreclr,poizan42\/coreclr,wateret\/coreclr,SlavaRa\/coreclr,kyulee1\/coreclr,botaberg\/coreclr,mskvortsov\/coreclr,schellap\/coreclr,wtgodbe\/coreclr,poizan42\/coreclr,pgavlin\/coreclr,YongseopKim\/coreclr,roncain\/coreclr,martinwoodward\/coreclr,shahid-pk\/coreclr,russellhadley\/coreclr,ramarag\/coreclr,parjong\/coreclr,jhendrixMSFT\/coreclr,dpodder\/coreclr,SlavaRa\/coreclr,AlexGhiondea\/coreclr,ragmani\/coreclr,neurospeech\/coreclr,russellhadley\/coreclr,schellap\/coreclr,pgavlin\/coreclr,alexperovich\/coreclr,cydhaselton\/coreclr,dasMulli\/coreclr,jamesqo\/coreclr,LLITCHEV\/coreclr,Dmitry-Me\/coreclr,roncain\/coreclr,roncain\/coreclr,shahid-pk\/coreclr,mmitche\/coreclr,cshung\/coreclr,SlavaRa\/coreclr,rartemev\/coreclr,andschwa\/coreclr,andschwa\/coreclr,alexperovich\/coreclr,neurospeech\/coreclr,jhendrixMSFT\/coreclr,cshung\/coreclr,shahid-pk\/coreclr,yeaicc\/coreclr,roncain\/coreclr,cshung\/coreclr,bartdesmet\/coreclr,naamunds\/coreclr,cydhaselton\/coreclr,cmckinsey\/coreclr,cmckinsey\/coreclr,neurospeech\/coreclr,andschwa\/coreclr,naamunds\/coreclr,JonHanna\/coreclr,ZhichengZhu\/coreclr,JosephTremoulet\/coreclr,YongseopKim\/coreclr,krk\/coreclr,sagood\/coreclr,naamunds\/coreclr,qiudesong\/coreclr,dpodder\/coreclr,qiudesong\/coreclr,bartonjs\/coreclr,schellap\/coreclr,bartdesmet\/coreclr,mmitche\/coreclr,JosephTremoulet\/coreclr,botaberg\/coreclr,rartemev\/coreclr,neurospeech\/coreclr,wateret\/coreclr,wtgodbe\/coreclr,sjsinju\/coreclr,AlexGhiondea\/coreclr,schellap\/coreclr,hseok-oh\/coreclr,shahid-pk\/coreclr,sjsinju\/coreclr,mskvortsov\/coreclr,ZhichengZhu\/coreclr,naamunds\/coreclr,hseok-oh\/coreclr,YongseopKim\/coreclr,wateret\/coreclr,Dmitry-Me\/coreclr,krytarowski\/coreclr,kyulee1\/coreclr,mskvortsov\/coreclr,pgavlin\/coreclr,tijoytom\/coreclr,cmckinsey\/coreclr,jhendrixMSFT\/coreclr,krytarowski\/coreclr,josteink\/coreclr,dasMulli\/coreclr,James-Ko\/coreclr,ZhichengZhu\/coreclr,JonHanna\/coreclr,josteink\/coreclr,manu-silicon\/coreclr,gkhanna79\/coreclr,Dmitry-Me\/coreclr,schellap\/coreclr,parjong\/coreclr,cmckinsey\/coreclr,martinwoodward\/coreclr,jamesqo\/coreclr,sjsinju\/coreclr,jamesqo\/coreclr,tijoytom\/coreclr,JosephTremoulet\/coreclr,KrzysztofCwalina\/coreclr,sejongoh\/coreclr,jhendrixMSFT\/coreclr,shahid-pk\/coreclr,dasMulli\/coreclr,parjong\/coreclr,tijoytom\/coreclr,manu-silicon\/coreclr,JonHanna\/coreclr,James-Ko\/coreclr,qiudesong\/coreclr,mmitche\/coreclr,bartdesmet\/coreclr,martinwoodward\/coreclr,yizhang82\/coreclr,gkhanna79\/coreclr,JonHanna\/coreclr,bartonjs\/coreclr,sejongoh\/coreclr,mskvortsov\/coreclr,cydhaselton\/coreclr,russellhadley\/coreclr,bartonjs\/coreclr,andschwa\/coreclr,dasMulli\/coreclr,neurospeech\/coreclr,martinwoodward\/coreclr,wtgodbe\/coreclr,andschwa\/coreclr,manu-silicon\/coreclr,mskvortsov\/coreclr,wateret\/coreclr,manu-silicon\/coreclr,krytarowski\/coreclr,russellhadley\/coreclr,dpodder\/coreclr,LLITCHEV\/coreclr,cshung\/coreclr,gkhanna79\/coreclr,pgavlin\/coreclr,ragmani\/coreclr,roncain\/coreclr,parjong\/coreclr,schellap\/coreclr,YongseopKim\/coreclr,ragmani\/coreclr,yeaicc\/coreclr,josteink\/coreclr,cmckinsey\/coreclr,dpodder\/coreclr,hseok-oh\/coreclr,vinnyrom\/coreclr,manu-silicon\/coreclr,KrzysztofCwalina\/coreclr,jamesqo\/coreclr,krk\/coreclr,ramarag\/coreclr,sejongoh\/coreclr,cmckinsey\/coreclr,dpodder\/coreclr,cydhaselton\/coreclr,roncain\/coreclr,bartonjs\/coreclr,gkhanna79\/coreclr,poizan42\/coreclr,James-Ko\/coreclr,sagood\/coreclr,sejongoh\/coreclr,krk\/coreclr,cmckinsey\/coreclr,ZhichengZhu\/coreclr,krk\/coreclr,dpodder\/coreclr,rartemev\/coreclr,YongseopKim\/coreclr,andschwa\/coreclr,rartemev\/coreclr,LLITCHEV\/coreclr,poizan42\/coreclr,James-Ko\/coreclr,Dmitry-Me\/coreclr,yeaicc\/coreclr,KrzysztofCwalina\/coreclr,hseok-oh\/coreclr,yizhang82\/coreclr,yeaicc\/coreclr,josteink\/coreclr,sagood\/coreclr,bartdesmet\/coreclr,AlexGhiondea\/coreclr,yizhang82\/coreclr,LLITCHEV\/coreclr,roncain\/coreclr,KrzysztofCwalina\/coreclr,Dmitry-Me\/coreclr,cydhaselton\/coreclr,bartdesmet\/coreclr,gkhanna79\/coreclr,AlexGhiondea\/coreclr,mmitche\/coreclr,bartdesmet\/coreclr,josteink\/coreclr,KrzysztofCwalina\/coreclr,AlexGhiondea\/coreclr,ZhichengZhu\/coreclr,vinnyrom\/coreclr,tijoytom\/coreclr,ragmani\/coreclr,dasMulli\/coreclr,jamesqo\/coreclr,andschwa\/coreclr,yeaicc\/coreclr,bartonjs\/coreclr,yeaicc\/coreclr,yeaicc\/coreclr,parjong\/coreclr,ramarag\/coreclr,hseok-oh\/coreclr,vinnyrom\/coreclr,SlavaRa\/coreclr,parjong\/coreclr,shahid-pk\/coreclr,alexperovich\/coreclr,sjsinju\/coreclr,krytarowski\/coreclr,SlavaRa\/coreclr,sejongoh\/coreclr,martinwoodward\/coreclr,dasMulli\/coreclr,kyulee1\/coreclr,poizan42\/coreclr,wateret\/coreclr,JonHanna\/coreclr,tijoytom\/coreclr,JonHanna\/coreclr,bartonjs\/coreclr,SlavaRa\/coreclr,qiudesong\/coreclr,sagood\/coreclr,ragmani\/coreclr,ragmani\/coreclr,ruben-ayrapetyan\/coreclr,ZhichengZhu\/coreclr,ruben-ayrapetyan\/coreclr,YongseopKim\/coreclr,kyulee1\/coreclr,vinnyrom\/coreclr,josteink\/coreclr,rartemev\/coreclr,ruben-ayrapetyan\/coreclr,James-Ko\/coreclr,vinnyrom\/coreclr,JosephTremoulet\/coreclr,sjsinju\/coreclr,qiudesong\/coreclr,jamesqo\/coreclr,josteink\/coreclr,russellhadley\/coreclr,naamunds\/coreclr,kyulee1\/coreclr,JosephTremoulet\/coreclr,sjsinju\/coreclr","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- generateversionscript.awk\n+++ generateversionscript.awk\n@@ -8,7 +8,7 @@\n \tgsub(\/\\r\/,\"\", $0);\n \t\n \t# Skip empty lines and comment lines starting with semicolon\n-\tif (NF && !match($0, \/^[:space:]*;\/))\n+\tif (NF && !match($0, \/^[ \\t]*;\/))\n \t{\n \t\tprint \"        \"  $0 \";\";\n \t}\n"}
{"commit":"f85ebbd2d28790233c56e1a459c5fd984be1cd5e","subject":"port.dispatch: disable ENVIRON[\"TERMINAL\"]... something else should happen here, but what?","message":"port.dispatch: disable ENVIRON[\"TERMINAL\"]...\nsomething else should happen here, but what?\n","repos":"robert-figura\/req,robert-figura\/req","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/port.dispatch.awk\n+++ src\/port.dispatch.awk\n@@ -45,7 +45,7 @@\n # we get a file as argument:\n attr[\"from\"] == \"BROWSER\" ||\n attr[\"from\"] == \"EDITOR\" ||\n-attr[\"from\"] == \"TERMINAL\" ||\n+# attr[\"from\"] == \"TERMINAL\" ||\n attr[\"from\"] == \"irc-user\" ||\n attr[\"from\"] == \"gnome-desktop-menu\" {\n     run(nest($0, \"open\", DEFAULT_MENU))\n"}
{"commit":"773f75e165812f36a4d85890e8bcd87b9ad8c985","subject":"changed Tool to Thing in default template","message":"changed Tool to Thing in default template\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -184,11 +184,11 @@\n                                     printf(\"      ];                          \\n\");\n    }\n                                     printf(\"      #conversion:enhance [\\n\");\n-                                    printf(\"      #   conversion:domain_template \\\"tool_[r]\\\";\\n\");\n-                                    printf(\"      #   conversion:domain_name     \\\"Tool\\\";\\n\");\n+                                    printf(\"      #   conversion:domain_template \\\"thing_[r]\\\";\\n\");\n+                                    printf(\"      #   conversion:domain_name     \\\"Thing\\\";\\n\");\n                                     printf(\"      #];\\n\");\n                                     printf(\"      #conversion:enhance [\\n\");\n-                                    printf(\"      #   conversion:class_name \\\"Tool\\\";\\n\");\n+                                    printf(\"      #   conversion:class_name \\\"Thing\\\";\\n\");\n                                     printf(\"      #   conversion:subclass_of <http:\/\/purl.org\/...>;\\n\");\n                                     printf(\"      #];\\n\");\n }\n"}
{"commit":"d7df9bbd86732116ad69f8e27142e5fa76ad5fe8","subject":"bundle example in template maker","message":"bundle example in template maker\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -99,6 +99,12 @@\n                                     printf(\"<%s> dcterms:identifier \\\"%s\\\" .\\n\",person_uri,whoami);\n    }\n \n+   if( length(conversionID)) {       \n+                                    printf(\":a_bundle\\n\");\n+                                    printf(\"   conversion:property_name \\\"a_property\\\"; # Can also be a URI, e.g. dcterms:title.\\n\");\n+                                    printf(\"   conversion:type_name     \\\"My Class\\\";   # Can also be a URI, e.g. foaf:Person.\\n\");\n+                                    printf(\".\");\n+   }\n    #\n    # Describe the dataset.\n    #\n"}
{"commit":"3be90b76a0c0e4e1444af1125008c405aad141bb","subject":"moved to Transdipporator for now","message":"moved to Transdipporator for now\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/turtlel_merge.awk\n+++ scripts\/turtlel_merge.awk\n@@ -1,62 +0,0 @@\n-#! \/usr\/bin\/awk -f\n-# turtle_merge.awk  t_1.ttl t_2.ttl > t_3.ttl\n-#\n-# Notes:\n-# You could merge more than two files\n-#\n-# Written to merge some small turtle formatted _METADATA_ files\n-# that is \"small\", as in maybe a page long files (i.e. a few kb)\n-\n-# This script does not know anything about IRI or curies\n-# just plain ol' string pattern matching.\n-\n-# If multiple prefixes have different base-uri then the last one wins\n-#\n-# Order is neither preserved nor reliably repeated.\n-#\n-# There may be room to reduce redundancy in object lists in some cases\n-\n-BEGIN{RS= \" \\\\.\\n*\"}\n-\n-# rdf prefix declarations\n-\/^@prefix \/{prefix[$2]=$3}\n-\n-# rdf record\n-\/^<[^>].*> \/ {\n-    # isolate subject\n-    s = $1; $1 = \"\";\n-    # strip newlines\n-    gsub(\"\\n\", \"\")\n-    # collapse space\n-    gsub(\"  \", \" \")\n-    # partition predicates list\n-    split(substr($0,2), plist, \" ; \")\n-    for(pos in plist){\n-        prdobjs = plist[pos]\n-        p = substr(prdobjs, 1, index(prdobjs, \" \"))\n-        prdobjs = substr(prdobjs, length(p)+1)\n-        # what remains are objects\n-        record[s,p] = prdobjs\n-    }\n-}\n-\n-END {\n-    for(x in prefix){print \"@prefix \" x \" \" prefix[x] \" .\"}\n-    print \"\"\n-    # regroup by subjects\n-    for(r in record){\n-        split(r, sp, SUBSEP)\n-        s = sp[1]; p = sp[2]\n-        subject[s] = subject[s] \"\\t\" p \" \" record[r] \" ;\\n\"\n-    }\n-\n-    # resorting could happen here\n-\n-    for(s in subject){\n-        print s\n-        print substr(subject[s],1, length(subject[s])-3) \" .\\n\"\n-    }\n-}\n-\n-\n-\n"}
{"commit":"3a138681ebf9861bb6b9cb040dd73ac2b36585f1","subject":"Finish out tmp bed for paired end","message":"Finish out tmp bed for paired end\n\nThis is based on the mpavis.sh form hichip method of making the\ntemporary bed file using the tlen for the end\n","repos":"glennsb\/OPtICAL,glennsb\/OPtICAL,glennsb\/OPtICAL,glennsb\/OPtICAL","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- lib\/optical\/bam_to_insert_size_bed.awk\n+++ lib\/optical\/bam_to_insert_size_bed.awk\n@@ -7,13 +7,25 @@\n     exit 1;\n   }\n   if (\"\" == endness) {\n-    print \"Missing endness style (se|pe) via -v endness=\"\n+    print \"Missing endness style (se|pe) via -v endness=\";\n+    exit 1;\n+  } else if ( (\"se\" == endness) && (\"\"==size) ) {\n+    print \"Missing fragment size since single end via -v size=\";\n     exit 1;\n   }\n }\n \n function pe_bedder(path) {\n-\n+  start=($4-1)\n+  if ( (($2==83) || ($2==147)) && ($9>0) ) {\n+    print $3,start,(start+$9),\".\",\"1\",\"-\" > path;\n+  } else if ( ((2==83) || ($2==147)) && ($9<0) ) {\n+    print $3,start,(start-$9),\".\",\"1\",\"-\" > path;\n+  } else if ( (($2==99) || ($2==163)) && ($9>0) ) {\n+    print $3,start,(start+$9),\".\",\"1\",\"+\" > path;\n+  } else if ( (($2==99) || ($2==163)) && ($9<0) ) {\n+    print $3,start,(start-$9),\".\",\"1\",\"+\" > path;\n+  }\n }\n \n function se_bedder(path,size) {\n@@ -24,6 +36,7 @@\n   if (\"pe\" == endness) {\n     sub(\/-\/,\"\",$9);\n     tlens[$9]++;\n+    pe_bedder(base\"_tmp.bed\");\n   } else if (\"se\" == endness) {\n   }\n }\n"}
{"commit":"62f601d20e0cd3046742b655a1cb6efa2203b2d8","subject":"Define a specific map for the Apple portuguese USB keyboards.","message":"Define a specific map for the Apple portuguese USB keyboards.\n\nBased on input from Manuel Pata and Rodolfo Gouveia on tech@.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/makemap.awk\n+++ dev\/usb\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.1 2005\/05\/09 05:08:32 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.2 2005\/05\/12 09:28:21 miod Exp $\n #\n # Copyright (c) 2005, Miodrag Vallat\n #\n@@ -31,10 +31,11 @@\n #\n \n BEGIN {\n-\trcsid = \"$OpenBSD: makemap.awk,v 1.1 2005\/05\/09 05:08:32 miod Exp $\"\n+\trcsid = \"$OpenBSD: makemap.awk,v 1.2 2005\/05\/12 09:28:21 miod Exp $\"\n \tifdepth = 0\n \tignore = 0\n \tdeclk = 0\n+\thaskeys = 0\n \n \t# PS\/2 id -> UKBD conversion table, or \"sanity lossage 102\"\n \t# (101 is for GSC keyboards!)\n@@ -227,8 +228,7 @@\n \n \/pckbd\/ {\n \tgsub(\"pckbd\", \"ukbd\", $0)\n-\tprint $0\n-\tnext\n+\tmapname = $4\n }\n \n \/KC\/ {\n@@ -237,6 +237,8 @@\n \n \tif (declk)\n \t\tnext\n+\n+\thaskeys = 1\n \n \tsidx = substr($1, 4, length($1) - 5)\n \torig = int(sidx)\n@@ -288,16 +290,40 @@\n \t\tnext\n \t}\n \n-\t# Duplicate 42 (backspace) as 76\n-\t# XXX maybe not correct anymore?\n-\tlines[76] = lines[42]\n-\tsub(\"42\", \"76\", lines[76])\n-\n-\tfor (i = 0; i < 256; i++)\n-\t\tif (lines[i]) {\n-\t\t\tprint lines[i]\n-\t\t\tlines[i] = \"\"\n+\tif (haskeys) {\n+\t\t# Duplicate 42 (backspace) as 76\n+\t\t# XXX maybe not correct anymore?\n+\t\tlines[76] = lines[42]\n+\t\tsub(\"42\", \"76\", lines[76])\n+\n+\t\tfor (i = 0; i < 256; i++)\n+\t\t\tif (lines[i]) {\n+\t\t\t\tprint lines[i]\n+\t\t\t\tlines[i] = \"\"\n+\t\t\t}\n+\n+\t\thaskeys = 0\n+\n+\t\t#\n+\t\t# Apple portuguese USB keyboards use a slightly different\n+\t\t# layout. We define it here.\n+\t\t#\n+\t\tif (mapname == \"ukbd_keydesc_pt[]\") {\n+\t\t\tprint $0\n+\t\t\tprint \"\\nstatic const keysym_t ukbd_keydesc_pt_apple[] = {\"\n+\t\t\tprint \"\/*  pos\\t\\tnormal\\t\\tshifted *\/\"\n+\t\t\tprint \"    KC(46),\\tKS_plus,\\tKS_asterisk,\"\n+\t\t\tprint \"    KC(47),\\tKS_masculine,\\tKS_ordfeminine,\"\n+\t\t\tprint \"    KC(50),\\tKS_backslash,\\tKS_bar,\"\n+\t\t\tprint \"    KC(52),\\tKS_dead_tilde,\\tKS_dead_circumflex\"\n \t\t}\n+\n+\t}\n+}\n+\/KB_PT\/ {\n+\tprint $0\n+\tprint \"\\tKBD_MAP(KB_PT | KB_APPLE,\\tKB_PT,\\tukbd_keydesc_pt_apple),\"\n+\tnext\n }\n {\n \tif (ignore)\n"}
{"commit":"c170586a2883e9652163fe33db18fd70fd3b69ec","subject":"cut deadwood, add exceptions, split bnodes into their own pattern rules","message":"cut deadwood, add exceptions, split bnodes into their own pattern rules\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -28,10 +28,10 @@\n # this leaves the namespace of a removed identifier\n \n # this may need to be called more than once since\n-# some identifiers may have embedded delimiters\n+# some identifiers may have embedded delimiters other uri use differently\n function stripid(uri){\n \t# <_:blanknode> are not allowed in ntriples (but may happen anyway)\n-\tif(1 == match(uri, \/^_:\/))\n+\tif(0 < match(uri, \/^_:\/))\n \t\treturn \"BNODE\"\n \t# perspective endpoints, choose the longest\n \tdelim[\"_\"]=0; delim[\"\/\"]=0;\n@@ -65,12 +65,14 @@\n function contract(uri){\n \tu = uri\n \t# shorten till longest uri in curi map is found (or not)\n-\twhile(!(u in prefix))\n+\twhile(!(u in prefix) &&  length(u))\n \t\tu = stripid(substr(u,1,length(u)-1))\n \tif(u in prefix)\n \t\treturn prefix[u]\n-\telse\n+\telse{\n+\t\t# printf(\"WARN  %s\\n\", uri) > \"\/dev\/stderr\"\n \t\treturn simplify(uri)\n+\t}\n }\n \n # get the final (incl fragment identifier) portion of a slashed path\n@@ -89,7 +91,9 @@\n \tprefix[\"https:\/\/monarchinitiative.org\/_\"]=\"BNODE\"\n \t# just until skolemized bnodes get in the curie map?\n \tprefix[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n-\t# revisit if exceptions are still necessary\n+\t############################################################\n+\t# revisit whether these exceptions are still necessary often\n+\t# they may have been moved into the  prefix mapping file\n \tprefix[\"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#\"]=\"rdf\"\n \tprefix[\"http:\/\/www.w3.org\/2000\/01\/rdf-schema#\"]=\"rdfs\"\n \tprefix[\"http:\/\/www.w3.org\/2002\/07\/owl#\"]=\"owl\"\n@@ -97,17 +101,25 @@\n \tprefix[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n \t# in panther\n \tprefix[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n+\t# in IMPC\n+\tprefix[\"http:\/\/www.mousephenotype.org\"]=\"IMPC\"\n+\t# in GWAScatalog\n+\tprefix[\"http:\/\/www.ncbi.nlm.nih.gov\/SNP\/\"]=\"dbSNP\"\n \t# till all non httpS: are purged\n \tprefix[\"http:\/\/monarchinitiative.org\/\"]=\"BASE\"\n \tprefix[\"http:\/\/www.monarchinitiative.org\/\"]=\"BASE\"\n \tprefix[\"http:\/\/monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n+\tprefix[\"http:\/\/www.monarchinitiative.org\/MONARCH\"]=\"\"\n \tprefix[\"http:\/\/www.monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n+\tprefix[\"http:\/\/data.monarchinitiative.org\/ttl\"]=\"MonarchData\"\n+\tprefix[\"http:\/\/archive.monarchinitiative.org\/ttl\"]=\"MonarchArchive\"\n }\n \n # main loop\n # parse and stash the curie yaml file (first file)\n # YAML format is tic delimited word (the curi prefix)\n-# optional whitespace, a colon, then a tic delimited url\n+# optional whitespace, a colon, optional whitespace\n+# then a tic delimited url\n # (FNR == NR) && \/^'[^']*' *: 'http[^']*'.*\/ { # loosing some?\n (FNR == NR) && \/^'.*\/ {\n \tsplit($0, arr, \"'\")\n@@ -115,29 +127,67 @@\n \t\tarr[2]=\"BASE\"\n \tprefix[arr[4]]=arr[2]\n }\n+\n # process the ntriple file(s)  which are not the first file\n-### case when subject predicate and object are all uri\n+\n+### subject predicate and object are all uri\n (FNR != NR) && \/^<[^>]*> <[^>]*> <[^>]*> \\.$\/ {\n-\t### Subject (uri)\n \ts = contract(stripid(trim($1)))\n-\t### Predicate (uri)\n+\tp =  final(trim($2))\n+\tns = contract(stripid(trim($2)))\n+\to = contract(stripid(trim($3)))\n+\tedgelist[s,ns \":\" p,o]++\n+\tdone[NR]=1\n+}\n+### subject & predicate are uri but the object is a literal\n+(FNR != NR) && \/^<[^>]*> <[^>]*> \"[^\"]*\".*\\.$\/ {\n+\ts = contract(stripid(trim($1)))\n+\tp = final(trim($2))\n+\tns = contract(stripid(trim($2)))\n+\tedgelist[s, ns \":\" p, \"LITERAL\"]++\n+\tdone[NR]=1\n+}\n+### subject is a bare blank node, predicate and object are uri\n+(FNR != NR) && \/^_:[^ ]* <[^>]*> <[^>]*> \\.$\/ {\n+\t# once our bnode syntax is uniform we may want more info out of it\n+\t# s = contract(stripid($1))\n \tp =  final(trim($2))\n \tns = contract(stripid(trim($2)))\n \t### Object (like subject)\n \to = contract(stripid(trim($3)))\n-\tedgelist[s,ns \":\" p,o]++\n-}\n-### case when the object is a literal\n-(FNR != NR) && \/^<[^>]*> <[^>]*> \"[^\"]*\" \\.$\/ {\n-\t### Subject (uri)\n+\tedgelist[\"BNODE\",ns \":\" p,o]++\n+\tdone[NR]=1\n+}\n+### subject & predicate are uri & object is a bare blank node\n+(FNR != NR) && \/^<[^>]*> <[^>]*> _:[^ ]* \\.$\/ {\n \ts = contract(stripid(trim($1)))\n-\t### Predicate (uri)\n+\tp =  final(trim($2))\n+\tns = contract(stripid(trim($2)))\n+\t#o = contract(stripid($3))\n+\tedgelist[s,ns \":\" p,\"BNODE\"]++\n+\tdone[NR]=1\n+}\n+### subject and object are a bare blank nodes, predicate is a uri\n+(FNR != NR) && \/^_:[^ ]* <[^>]*> _:[^ ]* \\.$\/ {\n+\t# s = contract(stripid($1))\n+\tp =  final(trim($2))\n+\tns = contract(stripid(trim($2)))\n+\t# o = contract(stripid($3))\n+\tedgelist[\"BNODE\",ns \":\" p,\"BNODE\"]++\n+\tdone[NR]=1\n+}\n+### subject is a bare blank node, predicate is a uri & the object is a literal\n+(FNR != NR) && \/^_:[^ ]* <[^>]*> \"[^\"]*\".*\\.$\/ {\n+\t# s = contract(stripid($1))\n \tp = final(trim($2))\n \tns = contract(stripid(trim($2)))\n-\t### not a uri\n-\to = \"LITERAL\"\n-\tedgelist[s, ns \":\" p, o]++\n-\tnodelist[o \" [shape=record];\"]++\n+\tedgelist[\"BNODE\", ns \":\" p, \"LITERAL\"]++\n+\tdone[NR]=1\n+}\n+\n+# print anything else so it makes itself known\n+(FNR != NR) && (done[NR]<1) && (NF>1){\n+\tprintf(\"ERROR? line %i  %s\", FNR, $0) > \"\/dev\/stderr\"\n }\n \n # output dot file, include edge counts\n@@ -150,7 +200,7 @@\n \t\tprint simplify(spo[1]) \" -> \" simplify(spo[3]) \\\n \t\t\" [label=\\\"\" spo[2] \" (\" edgelist[edge] \")\\\"];\"\n \t}\n-\tfor(node in nodelist) print node\n+\tprint \"LITERAL [shape=record];\"\n \tprint \"labelloc=\\\"t\\\";\"\n \ttitle = final(FILENAME)\n \tdatestamp = strftime(\"%Y%m%d\", systime())\n"}
{"commit":"a3464cec74e50085b6e4560387ba3b133266e3d0","subject":"Removes the first space after the leading `*` in a comment, because some parsers *cough*markdeep*cough* don't like it if there is a space before the `[link]: www.example.com`","message":"Removes the first space after the leading `*` in a comment, because some parsers *cough*markdeep*cough* don't like it if there is a space before the `[link]: www.example.com`\n","repos":"wernsey\/d.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xtract.awk\n+++ xtract.awk\n@@ -20,15 +20,15 @@\n     }\n }\n Multi && \/\\*\\\/\/ {\n-    sub(\/[[:space:]]*\\*\\\/.*\/,\"\");\n+    sub(\/[[:space:]]*\\*[[:space:]]?\\\/.*\/,\"\");\n     if($0) {\n-        sub(\/^[[:space:]]*\\*\/,\"\");\n+        sub(\/^[[:space:]]*\\*[[:space:]]?\/,\"\");\n         print $0 \"\\n\";\n     } else print \"\";\n     Multi = 0;\n }\n Multi && \/^[[:space:]]*\\*\/ {\n-    sub(\/^[[:space:]]*\\*\/,\"\");\n+    sub(\/^[[:space:]]*\\*[[:space:]]?\/,\"\");\n     print;\n }\n #Multi { print; }\n"}
{"commit":"ff1695e8ee05a0a584e451f076ecec31b007487e","subject":"c++: Fix for symbol table demangled names with spaces","message":"c++: Fix for symbol table demangled names with spaces","repos":"gzoom13\/embox,abusalimov\/embox,embox\/embox,Kefir0192\/embox,Kefir0192\/embox,abusalimov\/embox,Kakadu\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,mike2390\/embox,mike2390\/embox,embox\/embox,mike2390\/embox,mike2390\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kakadu\/embox,Kakadu\/embox,abusalimov\/embox,Kakadu\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,gzoom13\/embox,Kefir0192\/embox,gzoom13\/embox,Kakadu\/embox,gzoom13\/embox,Kakadu\/embox,abusalimov\/embox,gzoom13\/embox,gzoom13\/embox,Kefir0192\/embox,Kefir0192\/embox,embox\/embox,embox\/embox,embox\/embox,vrxfile\/embox-trik,embox\/embox,vrxfile\/embox-trik,Kakadu\/embox,abusalimov\/embox,mike2390\/embox,mike2390\/embox,mike2390\/embox,vrxfile\/embox-trik","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- mk\/script\/nm2c.awk\n+++ mk\/script\/nm2c.awk\n@@ -20,7 +20,8 @@\n }\n \n \/^[0-9a-fA-F]* [tT]\/ {\n-\tprintf \"\\t{ (void *) 0x%s, \\\"%s\\\" },\\n\", $1, $3;\n+\tsplit($0,a,\" [tT] \");\n+\tprintf \"\\t{ (void *) 0x%s, \\\"%s\\\" },\\n\", $1, a[2];\n }\n \n END {\n"}
{"commit":"1690cbd76161cf00c55ae132a0ae75857a5b0649","subject":"Filter out --with-* in tool\/.configure.awk","message":"Filter out --with-* in tool\/.configure.awk\n","repos":"colstrom\/unpkg","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- tool\/.configure.awk\n+++ tool\/.configure.awk\n@@ -4,6 +4,7 @@\n     print \"#!\/command\/mawk\" \"\\n\\n\" \"BEGIN { OFS = \\\"=\\\" }\"\n }\n \n+$1 ~ \/^--with-\/ { next }\n $1 !~ \/dir$\/ { next }\n { OPTION = $0 }\n { gsub(\"-\",\"\",OPTION) }\n"}
{"commit":"5bdd072656777594c026d8c67256a8d844d982e9","subject":"#105425# filter comments","message":"#105425# filter comments\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/getcsym.awk\n+++ solenv\/bin\/getcsym.awk\n@@ -2,9 +2,9 @@\n #\n #   $RCSfile: getcsym.awk,v $\n #\n-#   $Revision: 1.1 $\n+#   $Revision: 1.2 $\n #\n-#   last change: $Author: hjs $ $Date: 2001-04-27 12:46:32 $\n+#   last change: $Author: hjs $ $Date: 2002-11-21 16:50:30 $\n #\n #   The Contents of this file are made available subject to the terms of\n #   either of the following licenses\n@@ -60,6 +60,7 @@\n #\n #*************************************************************************\n BEGIN { global_found = \"false\" }\n+\/[ \\t]*#\/ { sub( substr( $0, index($0, \"#\")),\"\" ) }\n \/[ \\t]*local:\/ { global_found = \"false\" }\n \/^[ \\t]*$\/ { next }\n global_found == \"true\"  { print $0 }\n"}
{"commit":"6d245a2388910aa18ec5c1b44582f85cec9ebcf3","subject":"Fixed indentation","message":"Fixed indentation\n","repos":"deevus\/CsvToSql","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- CsvToSql.awk\n+++ CsvToSql.awk\n@@ -1,27 +1,27 @@\n BEGIN { FS=\",\" }\n {\n-  num_fields = csv_parse($0, row, \",\", \"\\\"\", \"''\", \"\\\\n\", 1);\n-  # get header row names\n-  if (NR == 1) {\n-    num_fields = csv_parse($0, col, \",\", \"\\\"\", \"''\", \"\\\\n\", 1);\n-  }\n-  # process every other row\n+    num_fields = csv_parse($0, row, \",\", \"\\\"\", \"''\", \"\\\\n\", 1);\n+    # get header row names\n+    if (NR == 1) {\n+        num_fields = csv_parse($0, col, \",\", \"\\\"\", \"''\", \"\\\\n\", 1);\n+    }\n+    # process every other row\n \telse {\n-    # start with select text\n+        # start with select text\n \t\tprintf \"%s\", \"SELECT \"\n \n-    # iterate each column value\n-    for (i = 1; i<=num_fields; i++) {\n-      printf \"%s\", \"'\" row[i] \"' AS '\" col[i] \"'\"\n+        # iterate each column value\n+        for (i = 1; i<=num_fields; i++) {\n+            printf \"%s\", \"'\" row[i] \"' AS '\" col[i] \"'\"\n \n-      # add a comma except for last row\n-      if (i < num_fields) printf \"%s\", \", \"\n-    }\n+            # add a comma except for last row\n+            if (i < num_fields) printf \"%s\", \", \"\n+        }\n \n-    # nlines is the number of lines in the file\n-    # so that we know when not to union\n-\t\tif (NR != nlines) print \" UNION ALL\"\n-    else print \"\" # end with new line\n+        # nlines is the number of lines in the file\n+        # so that we know when not to union\n+    \tif (NR != nlines) print \" UNION ALL\"\n+        else print \"\" # end with new line\n \t}\n }\n \n"}
{"commit":"72095114934dbb4eb085173546b7bf20a1117466","subject":"add processing for twiki","message":"add processing for twiki","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/hierarchy.awk\n+++ tools\/hierarchy.awk\n@@ -38,6 +38,43 @@\n     next\n }\n \n+## this is for twiki conventions\n+hunt && heading && \/^<a\\ name=\"\/ {\n+    hier[heading] = $0\n+    sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n+\n+    if (heading == 2)\n+    {\n+      here = \"&sdot;&nbsp;\" hier[heading]\n+    }\n+    else if (heading == 3)\n+    {\n+      here = \"&ndash;&nbsp;\" hier[heading]\n+    }\n+    else if (heading >= 4)\n+    {\n+      here = \"&mdash;&nbsp;\" hier[heading]\n+    }\n+    else\n+    {\n+      here = hier[heading]\n+    }\n+\n+    if (slide) print \"<\/div>\" \n+    print \"<div class='slide'>\"\n+    slide = 1\n+    if (heading > 1) {\n+      print \"<h1 style='display: none;'>\" here \"<\/h1>\"\n+    }\n+    for (i=1; i < heading; ++i) {\n+      print \"<h\" i \" style='color: #C0C0C0;'>\" hier[i] \"<\/h\" i \">\"\n+    }\n+    print \"<h\" heading \">\" hier[heading]\n+    hunt = 0\n+    next\n+}\n+\n+\n \/<h1>\/ {\n     heading = 1\n     hunt = 1\n"}
{"commit":"9fc7e9ebf63723725e679c2244c72e84c3a8a3d0","subject":"Make convenience init's public","message":"Make convenience init's public\n","repos":"rhx\/SwiftGtk,rhx\/SwiftGtk,rhx\/SwiftGtk","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- Gtk-3.0.awk\n+++ Gtk-3.0.awk\n@@ -13,7 +13,7 @@\n \/^[^ ]\/ { slist = 0 }\n \/ UnsafeMutablePointer<GSList>! {\/ {\n \tslist = 1\n-\tgsub(\"UnsafeMutablePointer.GSList..\", \"SListRef?\")\n+\tgsub(\"UnsafeMutablePointer.GSList..\", \"SListRef!\")\n }\n \/return cast.rv.$\/ {\n \tif (slist) {\n@@ -45,7 +45,7 @@\n \tprint \"    \/\/\/ creating a new group.\"\n \tprint \"    \/\/\/\"\n \tprint \"    \/\/\/ - Parameter label: the label to use for the button\"\n-\tprint \"    convenience init(label: UnsafePointer<gchar>) {\"\n+\tprint \"    public convenience init(label: UnsafePointer<gchar>) {\"\n \tprint \"        let rv = gtk_radio_button_new_with_label(nil, label)\"\n \tprint \"        self.init(cast(rv))\"\n \tprint \"    }\"\n@@ -55,7 +55,7 @@\n \tprint \"    \/\/\/ indicate the mnemonic for the button.\"\n \tprint \"    \/\/\/\"\n \tprint \"    \/\/\/ - Parameter label: the label (including mnemonic) to use for the button\"\n-\tprint \"    convenience init(mnemonic label: UnsafePointer<gchar>) {\"\n+\tprint \"    public convenience init(mnemonic label: UnsafePointer<gchar>) {\"\n \tprint \"        let rv = gtk_radio_button_new_with_mnemonic(nil, label)\"\n \tprint \"        self.init(cast(rv))\"\n \tprint \"    }\"\n@@ -68,7 +68,7 @@\n \tprint \"    \/\/\/ creating a new group.\"\n \tprint \"    \/\/\/\"\n \tprint \"    \/\/\/ - Parameter label: the label to use for the button\"\n-\tprint \"    convenience init(label: UnsafePointer<gchar>) {\"\n+\tprint \"    public convenience init(label: UnsafePointer<gchar>) {\"\n \tprint \"        let rv = gtk_radio_menu_item_new_with_label(nil, label)\"\n \tprint \"        self.init(cast(rv))\"\n \tprint \"    }\"\n@@ -78,7 +78,7 @@\n \tprint \"    \/\/\/ indicate the mnemonic for the button.\"\n \tprint \"    \/\/\/\"\n \tprint \"    \/\/\/ - Parameter label: the label (including mnemonic) to use for the button\"\n-\tprint \"    convenience init(mnemonic label: UnsafePointer<gchar>) {\"\n+\tprint \"    public convenience init(mnemonic label: UnsafePointer<gchar>) {\"\n \tprint \"        let rv = gtk_radio_menu_item_new_with_mnemonic(nil, label)\"\n \tprint \"        self.init(cast(rv))\"\n \tprint \"    }\"\n@@ -88,7 +88,7 @@\n \/^open class RadioToolButton:\/ {\n \tprint\n \tprint \"    \/\/\/ Convenience constructor for creating a RadioToolButton group.\"\n-\tprint \"    convenience init() {\"\n+\tprint \"    public convenience init() {\"\n \tprint \"        let rv = gtk_radio_tool_button_new(nil)\"\n \tprint \"        self.init(cast(rv))\"\n \tprint \"    }\"\n"}
{"commit":"72426647bf27b13b27cdb751a37f8efec1d8c3e3","subject":"Remove no longer needed doxygen-related awk functions. (dm)","message":"Remove no longer needed doxygen-related awk functions. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2834 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brldefs.awk\n+++ Programs\/brldefs.awk\n@@ -124,21 +124,9 @@\n   return \"\/** \" text \" *\/\"\n }\n \n-function beginDoxygenFile(brief) {\n+function beginDoxygenFile() {\n   print \"\/** \\\\file\"\n-  print \" * \\\\brief \" brief\n   print \" *\/\"\n-  print \"\"\n-}\n-\n-function beginDoxygenGroup(name, brief) {\n-  print \"\/** \\\\defgroup \" name \" \" brief\n-  print \" * @{ *\/\"\n-  print \"\"\n-}\n-\n-function endDoxygenGroup() {\n-  print \"\/** @} *\/\"\n   print \"\"\n }\n \n"}
{"commit":"db57e822188df01d029343abdfa1d14892620a8e","subject":"Don't fail on build warnings","message":"Don't fail on build warnings\n","repos":"jspahrsummers\/objc-build-scripts,hsavit1\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xcodebuild.awk\n+++ xcodebuild.awk\n@@ -19,7 +19,6 @@\n \n \/[0-9]+: (error|warning):\/ {\n     errors = errors $0 \"\\n\";\n-    status = 1;\n }\n \n \/(TEST|BUILD) FAILED\/ {\n"}
{"commit":"234156e23fefd7722bc479051cdc90aab4758678","subject":"var\/mapr: BUGFIX: avoid infinite loop on empty input","message":"var\/mapr: BUGFIX: avoid infinite loop on empty input\n\nlib\/modernish\/aux\/var\/mapr.awk:\n- If the input was empty, the awk helper script didn't write the\n  expected _Msh_M_NR=RET0 shell assignment, because the NR awk\n  variable (number of records) never exceeded 0. This resulted in\n  lib\/modernish\/mdl\/aux\/mapr.mm calling awk in an infinite loop.\n  The fix is to write the assignment regardless of the value of NR.\n- While we're at it, do this in a more efficient way, in one line\n  instead of five.\n","repos":"modernish\/modernish","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- lib\/modernish\/aux\/var\/mapr.awk\n+++ lib\/modernish\/aux\/var\/mapr.awk\n@@ -115,10 +115,6 @@\n END {\n \tif (NR) {\n \t\tprintsh(\"||_Msh_mapr_ckE \\\"$@\\\"||break\");\n-\t\tif (cont) {\n-\t\t\tprint (\"\\n_Msh_M_NR=\") (NR+1) (\"\\n\");\n-\t\t} else {\n-\t\t\tprint (\"\\n_Msh_M_NR=RET0\") (\"\\n\");\n-\t\t}\n \t}\n+\tprint (\"\\n_Msh_M_NR=\") (cont ? NR + 1 : \"RET0\") (\"\\n\");\n }\n"}
{"commit":"63bd42bfc952ec2a938493856186f4ebedad505e","subject":"This has been rewritten in perl as parse_structinfo.pl","message":"This has been rewritten in perl as parse_structinfo.pl\n\nok miod@\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- ddb\/parse_structinfo.awk\n+++ ddb\/parse_structinfo.awk\n@@ -1,318 +0,0 @@\n-#\t$OpenBSD: parse_structinfo.awk,v 1.1 2009\/08\/09 23:04:49 miod Exp $\n-#\n-# Copyright (c) 2009 Miodrag Vallat.\n-#\n-# Permission to use, copy, modify, and distribute this software for any\n-# purpose with or without fee is hereby granted, provided that the above\n-# copyright notice and this permission notice appear in all copies.\n-#\n-# THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n-#\n-\n-# This ugly script parses the output of objdump -g in order to extract\n-# structure layout information, to be used by ddb.\n-#\n-# The output of this script is the following static data:\n-# - for each struct:\n-#   - its name\n-#   - its size (individual element size if an array)\n-#   - the number of elements in the array (1 if not)\n-#   - its first and last field indexes\n-# - for each field:\n-#   - its name\n-#   - its offset and size\n-#   - the index of the struct it is member of\n-# This allows fast struct -> field information retrieval.\n-#\n-# To retrieve information from a field size or offset, we also output\n-# the following reverse arrays:\n-# - for each offset, in ascending order, a variable length list of field\n-#   indexes.\n-# - for each size, in ascending order, a variable length list of field\n-#   indexes.\n-#\n-# The compromise here is that I want to minimize linear searches. Memory\n-# use is considered secondary, hence the back `pointer' to the struct in the\n-# fields array.\n-#\n-# No attempt is made to share name pointers when multiple fields share\n-# the same name. Rewriting this script in perl, or any other language\n-# with hash data structures, would be a good time to add this.\n-\n-BEGIN {\n-\tdepth = 0;\n-\tignore = 0;\n-\tscnt = 0;\t# current struct count\n-\tsidx = -1;\t# current struct index\n-\t# field index #0 is used as a sentinel.\n-\tfcnt = 1;\t# current field count\n-\tfidx = 0;\t# current field index\n-\tocnt = 0;\t# current offset count\n-\tzcnt = 0;\t# current size count\n-\t\n-}\n-\/^struct \/ {\n-\tdepth = 1;\n-\tsidx = scnt;\n-\tsname[sidx] = $2;\n-\tssize[sidx] = $6;\n-\tsfieldmin[sidx] = fcnt;\n-\tscnt++;\n-\t#printf(\"struct %d %s (size %d)\\n\", sidx, $2, $6);\n-\tnext;\n-}\n-\/^};\/ {\n-\tif (depth != 0) {\n-\t\tdepth = 0;\n-\t\tif (fcnt == sfieldmin[sidx])\t# empty struct, ignore it\n-\t\t\tscnt--;\n-\t\telse\n-\t\t\tsfieldmax[sidx] = fidx;\n-\t} else\n-\t\tignore--;\n-\tnext;\n-}\n-\/{.*}\/ {\n-\t# single line enum\n-\tnext;\n-}\n-\/{\/ {\n-\t# subcomponent\n-\tif (depth != 0) {\n-\t\tdepth++;\n-\t} else {\n-\t\tignore++;\n-\t}\n-\tnext;\n-}\n-\/}\/ {\n-\tif (ignore != 0) {\n-\t\tignore--;\n-\t\tnext;\n-\t} else {\n-\t\tdepth--;\n-\t}\n-\tif (depth != 1)\n-\t\tnext;\n-\t# FALLTHROUGH\n-}\n-\/bitsize\/ {\n-\tif (ignore != 0)\n-\t\tnext;\n-\tif (depth != 1)\n-\t\tnext;\n-\n-\t# Bitfields are a PITA... From a ddb point of view, we can't really\n-\t# access storage units smaller than a byte.\n-\t# So we'll report all bitfields as having size 0, and the\n-\t# rounded down byte position where they start.\n-\tcursize = int($(NF - 3));\n-\tcuroffs = int($(NF - 1) \/ 8);\n-\tif ((cursize % 8) != 0)\n-\t\tcursize = 0;\n-\telse\n-\t\tcursize \/= 8;\n-\n-\t# try and gather the field name.\n-\tfield = $(NF - 6);\n-\tif (field == \"};\") {\n-\t\t# anonymous union. discard it.\n-\t\tnext;\n-\t}\n-\tif (field == \"*\/);\") {\n-\t\tfield = $(NF - 9);\t# function pointer\n-\t\t# remove enclosing braces\n-\t\tfield = substr(field, 2, length(field) - 2);\n-\t}\n-\tcolon = index(field, \":\");\n-\tif (colon != 0)\n-\t\tfield = substr(field, 1, colon - 1);\n-\telse if (substr(field, length(field), 1) == \";\")\n-\t\tfield = substr(field, 1, length(field) - 1);\n-\n-\twhile (index(field, \"*\") == 1)\n-\t\tfield = substr(field, 2);\n-\n-\t# This could be an array. If it is, we need to trim the field\n-\t# name and update its size to a single member size.\n-\tobracket = index(field, \"[\");\n-\tcbracket = index(field, \"]\");\n-\tif (obracket != 0) {\n-\t\tobracket++;\n-\t\tnitems = substr(field, obracket, cbracket - obracket);\n-\t\tfield = substr(field, 1, obracket - 2);\n-\t\tcursize \/= nitems;\n-\t} else\n-\t\tnitems = 1;\n-\n-\tfidx = fcnt;\n-\tfname[fidx] = field;\n-\tfoffs[fidx] = curoffs;\n-\tfsize[fidx] = cursize;\n-\tfitems[fidx] = nitems;\n-\tfstruct[fidx] = sidx;\n-\tfcnt++;\n-\t#printf(\"  %s at %d len %d\\n\", field, curoffs, cursize);\n-\n-\t# Remember size and offset if not found yet\n-\n-\tfor (i = 0; i < ocnt; i++)\n-\t\tif (offs[i] == curoffs)\n-\t\t\tbreak;\n-\tif (i == ocnt) {\n-\t\t# keep array sorted\n-\t\tfor (i = 0; i < ocnt; i++)\n-\t\t\tif (offs[i] > curoffs)\n-\t\t\t\tbreak;\n-\t\tif (i < ocnt) {\n-\t\t\tfor (j = ocnt + 1; j > i; j--)\n-\t\t\t\toffs[j] = offs[j - 1];\n-\t\t}\n-\t\toffs[i] = curoffs;\n-\t\tocnt++;\n-\t}\n-\n-\tfor (i = 0; i < zcnt; i++)\n-\t\tif (sizes[i] == cursize)\n-\t\t\tbreak;\n-\tif (i == zcnt) {\n-\t\t# keep array sorted\n-\t\tfor (i = 0; i < zcnt; i++)\n-\t\t\tif (sizes[i] > cursize)\n-\t\t\t\tbreak;\n-\t\tif (i < zcnt) {\n-\t\t\tfor (j = zcnt + 1; j > i; j--)\n-\t\t\t\tsizes[j] = sizes[j - 1];\n-\t\t}\n-\t\tsizes[i] = cursize;\n-\t\tzcnt++;\n-\t}\n-}\n-END {\n-\tprintf(\"\/*\\n\");\n-\tprintf(\" * THIS IS A GENERATED FILE.  DO NOT EDIT!\\n\");\n-\tprintf(\" *\/\\n\\n\");\n-\n-\tprintf(\"#include <sys\/param.h>\\n\");\n-\tprintf(\"#include <sys\/types.h>\\n\");\n-\tprintf(\"\\n\");\n-\n-\t# structure definitions\n-\n-\tprintf(\"struct ddb_struct_info {\\n\");\n-\tprintf(\"\\tconst char *name;\\n\");\n-\tprintf(\"\\tsize_t size;\\n\");\n-\tprintf(\"\\tuint fmin, fmax;\\n\");\n-\tprintf(\"};\\n\");\n-\n-\tprintf(\"struct ddb_field_info {\\n\");\n-\tprintf(\"\\tconst char *name;\\n\");\n-\tprintf(\"\\tuint sidx;\\n\");\n-\tprintf(\"\\tsize_t offs;\\n\");\n-\tprintf(\"\\tsize_t size;\\n\");\n-\tprintf(\"\\tuint nitems;\\n\");\n-\tprintf(\"};\\n\");\n-\n-\tprintf(\"struct ddb_field_offsets {\\n\");\n-\tprintf(\"\\tsize_t offs;\\n\");\n-\tprintf(\"\\tconst uint *list;\\n\");\n-\tprintf(\"};\\n\");\n-\n-\tprintf(\"struct ddb_field_sizes {\\n\");\n-\tprintf(\"\\tsize_t size;\\n\");\n-\tprintf(\"\\tconst uint *list;\\n\");\n-\tprintf(\"};\\n\");\n-\n-\t# forward arrays\n-\n-\tprintf(\"#define NSTRUCT %d\\n\", scnt);\n-\tprintf(\"static const struct ddb_struct_info ddb_struct_info[NSTRUCT] = {\\n\");\n-\tfor (i = 0; i < scnt; i++) {\n-\t\tprintf(\"\\t{ \\\"%s\\\", %d, %d, %d },\\n\",\n-\t\t    sname[i], ssize[i], sfieldmin[i], sfieldmax[i]);\n-\t}\n-\tprintf(\"};\\n\\n\");\n-\n-\tprintf(\"#define NFIELD %d\\n\", fcnt);\n-\tprintf(\"static const struct ddb_field_info ddb_field_info[NFIELD] = {\\n\");\n-\tprintf(\"\\t{ NULL, 0, 0, 0 },\\n\");\n-\tfor (i = 1; i < fcnt; i++) {\n-\t\tprintf(\"\\t{ \\\"%s\\\", %d, %d, %d, %d },\\n\",\n-\t\t    fname[i], fstruct[i], foffs[i], fsize[i], fitems[i]);\n-\t}\n-\tprintf(\"};\\n\\n\");\n-\n-\t# reverse arrays\n-\n-\tprintf(\"static const uint ddb_fields_by_offset[] = {\\n\");\n-\tw = 0;\n-\tfor (i = 0; i < ocnt; i++) {\n-\t\tcmp = offs[i];\n-\t\tohead[i] = w;\n-\t\tfor (f = 1; f < fcnt; f++)\n-\t\t\tif (foffs[f] == cmp) {\n-\t\t\t\tif ((w % 10) == 0)\n-\t\t\t\t\tprintf(\"\\t\");\n-\t\t\t\tprintf(\"%d, \", f);\n-\t\t\t\tw++;\n-\t\t\t\tif ((w % 10) == 0)\n-\t\t\t\t\tprintf(\"\\n\");\n-\t\t\t}\n-\t\tif ((w % 10) == 0)\n-\t\t\tprintf(\"\\t\");\n-\t\tprintf(\"0, \");\n-\t\tw++;\n-\t\tif ((w % 10) == 0)\n-\t\t\tprintf(\"\\n\");\n-\t}\n-\tif ((w % 10) != 0)\n-\t\tprintf(\"\\n\");\n-\tprintf(\"};\\n\\n\");\n-\n-\tprintf(\"#define NOFFS %d\\n\", ocnt);\n-\tprintf(\"static const struct ddb_field_offsets ddb_field_offsets[NOFFS] = {\\n\");\n-\tfor (i = 0; i < ocnt; i++) {\n-\t\tprintf(\"\\t{ %d, ddb_fields_by_offset + %d },\\n\",\n-\t\t    offs[i], ohead[i]);\n-\t}\n-\tprintf(\"};\\n\\n\");\n-\n-\tprintf(\"static const uint ddb_fields_by_size[] = {\\n\");\n-\tw = 0;\n-\tfor (i = 0; i < zcnt; i++) {\n-\t\tcmp = sizes[i];\n-\t\tzhead[i] = w;\n-\t\tfor (f = 1; f < fcnt; f++)\n-\t\t\tif (fsize[f] == cmp) {\n-\t\t\t\tif ((w % 10) == 0)\n-\t\t\t\t\tprintf(\"\\t\");\n-\t\t\t\tprintf(\"%d, \", f);\n-\t\t\t\tw++;\n-\t\t\t\tif ((w % 10) == 0)\n-\t\t\t\t\tprintf(\"\\n\");\n-\t\t\t}\n-\t\tif ((w % 10) == 0)\n-\t\t\tprintf(\"\\t\");\n-\t\tprintf(\"0, \");\n-\t\tw++;\n-\t\tif ((w % 10) == 0)\n-\t\t\tprintf(\"\\n\");\n-\t}\n-\tif ((w % 10) != 0)\n-\t\tprintf(\"\\n\");\n-\tprintf(\"};\\n\\n\");\n-\n-\tprintf(\"#define NSIZES %d\\n\", zcnt);\n-\tprintf(\"static const struct ddb_field_sizes ddb_field_sizes[NSIZES] = {\\n\");\n-\tfor (i = 0; i < zcnt; i++) {\n-\t\tprintf(\"\\t{ %d, ddb_fields_by_size + %d },\\n\",\n-\t\t    sizes[i], zhead[i]);\n-\t}\n-\tprintf(\"};\\n\");\n-}\n"}
{"commit":"12b8431cbfd5f3ad698cd800c9b4c1f5cdbb396f","subject":"Help: getVersion(): use 'uname -s' (-o is not a valid option on OS X)","message":"Help: getVersion(): use 'uname -s' (-o is not a valid option on OS X)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -6,7 +6,7 @@\n function getVersion(    build, gitHead, platform) {\n     initAudioPlayer()\n     initPager()\n-    platform = detectProgram(\"uname\", \"-o\", 1)\n+    platform = detectProgram(\"uname\", \"-s\", 1)\n     if (ENVIRON[\"TRANS_BUILD\"])\n         build = \"-\" ENVIRON[\"TRANS_BUILD\"]\n     else {\n"}
{"commit":"d6b040d2aa86b0adfa84ed78133c382df2540944","subject":"ndc hardcodes 'named' instead of using $named_program from rc.conf","message":"ndc hardcodes 'named' instead of using $named_program from rc.conf\n\nPR:\t\t7425\nReviewed by:\tphk\nSubmitted by:\tfrf <frf@xocolatl.com>\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- usr.sbin\/ndc\/ndcedit.awk\n+++ usr.sbin\/ndc\/ndcedit.awk\n@@ -1,4 +1,4 @@\n-# $Id: ndcedit.awk,v 1.6 1997\/06\/18 01:55:19 jkh Exp $\n+# $Id: ndcedit.awk,v 1.7 1998\/05\/03 05:14:04 peter Exp $\n NR == 3 {\n \tprint \"#\"\n \tprint \"# This file is generated automatically, do not edit it here!\"\n@@ -15,7 +15,7 @@\n \tif ($1 == \"named\") {\n \t\tprintf \"\\t\\t# $named_flags is imported from \/etc\/rc.conf\\n\"\n \t\tprintf \"\\t\\tif [ \\\"X${named_enable}\\\" = X\\\"YES\\\" ]; then\\n\"\n-\t\tprintf \"\\t\\t\\tnamed ${named_flags} && {\\n\"\n+\t\tprintf \"\\t\\t\\t${named_program} ${named_flags} && {\\n\"\n \t\tgetline\n \t\tprintf \"\\t%s\\n\", $0\n \t\tgetline\n"}
{"commit":"e6ea8d215d42818a4f36569d09882075a91569fc","subject":"Changing back to \"sleep 1\"","message":"Changing back to \"sleep 1\"\n","repos":"denilsonsa\/prettyping","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- mockping.awk\n+++ mockping.awk\n@@ -34,6 +34,6 @@\n \n \tfor (i = 0; i < LEN; i++) {\n \t\tprint ARRAY[i]\n-\t\tsystem(\"sleep 0\")\n+\t\tsystem(\"sleep 1\")\n \t}\n }\n"}
{"commit":"3fb75705073d00b22c8baa453364e6e13e67ec25","subject":"Error for no seasons in MHz","message":"Error for no seasons in MHz\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-browsePage.awk\n+++ getMHzFrom-browsePage.awk\n@@ -34,6 +34,8 @@\n \/h4 class=\"transparent.*media-count\/ {\n     sub (\/.*media-count'>\/,\"\")\n     sub (\/ season.*$\/,\"\")\n+    if ((numSeasons + 0) == 0)\n+        print \"==> No seasons: \" TITLE >> ERROR_FILE\n     print $0 >> NUM_SEASONS_FILE\n }\n \n"}
{"commit":"cae29c6e2329ce97b9013828f500ec7b66c04d31","subject":"works with Apples variable column count","message":"works with Apples variable column count\n","repos":"overheadhunter\/CreateAppStoreBill,totalvoidness\/CreateAppStoreBill","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- report.awk\n+++ report.awk\n@@ -6,12 +6,10 @@\n BEGIN {\n \tFS=\",\";\n   sum = 0;\n-  targetCurrency = \"\";\n }\n \n # first line\n-match($0, \/iTunes Connect - Payments and Financial Reports\/){\n-\n+(NR == 1) {\n   strContainingPeriod = unquote($0);\n   periodParanthesisOpen = index(strContainingPeriod, \"(\");\n   periodParanthesisClose = index(strContainingPeriod, \")\");\n@@ -21,12 +19,28 @@\n   printf \"Region oder Typ & St\u00fcckzahl & Gesamtpreis & Quellensteuern und Abgaben & Gesamtpreis \\\\\\\\ \\\\hline \\\\hline\\n\";\n }\n \n-match($3, \/\\\"[0-9]*\\.[0-9]+\\\"\/) {\n-  regionOrType = unquote($1);\n-  localCurrency = substr(regionOrType, index(regionOrType, \"(\") + 1, 3);\n-  targetCurrency = unquote($11);\n-  printf \"%s & %i & %.2f %s & %.2f %s & %.2f %s \\\\\\\\ \\\\hline \\n\", regionOrType, unquote($2), unquote($4), localCurrency, unquote($5) + unquote($6) + unquote($7), localCurrency, unquote($10), targetCurrency;\n-  sum += unquote($10);\n+# column labels\n+(NR == 3) {\n+\tfor (i = 1; i <= NF; i++) {\n+\t\tcol[$i] = i;\n+\t}\n+}\n+\n+(NR > 3) {\n+\tunitsSold = unquote($col[\"Units Sold\"]);\n+\tif (length(unitsSold) > 0 && (unitsSold > 0 || unitsSold == \"-\")) {\n+\t  regionOrType = unquote($col[\"Region (Currency)\"]);\n+\t  localCurrency = substr(regionOrType, index(regionOrType, \"(\") + 1, 3);\n+\t\tearned = unquote($col[\"Earned\"]);\n+\t\tinputTax = unquote($col[\"Input Tax\"]);\n+\t\tadjustments = unquote($col[\"Adjustments\"]);\n+\t\twithholdingTax = unquote($col[\"Withholding Tax\"]);\n+\t\ttaxTotal = inputTax + adjustments + withholdingTax;\n+\t\tproceeds = unquote($col[\"Proceeds\"]);\n+\t\ttargetCurrency = unquote($col[\"Bank Account Currency\"]);\n+\t  printf \"%s & %s & %.2f %s & %.2f %s & %.2f %s \\\\\\\\ \\\\hline \\n\", regionOrType, unitsSold, earned, localCurrency, taxTotal, localCurrency, proceeds, targetCurrency;\n+\t  sum += proceeds;\n+\t}\n }\n \n END {\n"}
{"commit":"0e9adbc3d2351e0968d24f15aa24a106846f96ac","subject":"fixed bug that incorrect computed dash times","message":"fixed bug that incorrect computed dash times\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/dash_utils.awk\n+++ lib\/dash_utils.awk\n@@ -56,12 +56,12 @@\n \n function DU_job_in_dash(b_job, e_job, b_dash, e_dash,   bj_min, ej_min, bd_min, ed_min) {\n \n-\tbj_min = 60 * substr(b_job, 1, 2) + substr(b_job, 3, 2)\n+\tbj_min = 60 * substr(b_job, 1, 2) + substr(b_job, 4, 2)\n \tif(e_job != \"\")\n-\t\tej_min = 60 * substr(e_job, 1, 2) + substr(e_job, 3, 2)\n+\t\tej_min = 60 * substr(e_job, 1, 2) + substr(e_job, 4, 2)\n \n-\tbd_min = 60 * substr(b_dash, 1, 2) + substr(b_dash, 3, 2)\n-\ted_min = 60 * substr(e_dash, 1, 2) + substr(e_dash, 3, 2)\n+\tbd_min = 60 * substr(b_dash, 1, 2) + substr(b_dash, 4, 2)\n+\ted_min = 60 * substr(e_dash, 1, 2) + substr(e_dash, 4, 2)\n \n \tif(e_job != \"\")\n \t\treturn bj_min >= bd_min && ej_min <= ed_min\n"}
{"commit":"e88d10a6efd0497ae9092b39a62594267aa714c8","subject":"Languages: add Interlingue language","message":"Languages: add Interlingue language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -130,6 +130,19 @@\n     Locale[\"gn\"][\"iso\"]                = \"grn\"\n     Locale[\"gn\"][\"glotto\"]             = \"para1311\"\n     Locale[\"gn\"][\"script\"]             = \"Latn\"\n+\n+    #? Interlingue\n+    Locale[\"ie\"][\"name\"]               = \"Interlingue\"\n+    Locale[\"ie\"][\"endonym\"]            = \"Interlingue\"\n+    #Locale[\"ie\"][\"translations-of\"]\n+    #Locale[\"ie\"][\"definitions-of\"]\n+    #Locale[\"ie\"][\"synonyms\"]\n+    #Locale[\"ie\"][\"examples\"]\n+    #Locale[\"ie\"][\"see-also\"]\n+    Locale[\"ie\"][\"family\"]             = \"Artificial Language\"\n+    Locale[\"ie\"][\"iso\"]                = \"ile\"\n+    Locale[\"ie\"][\"glotto\"]             = \"occi1241\"\n+    Locale[\"ie\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"366abe0d723ef15e09b45dc7501650a09087271a","subject":"very basic color legend; &tabs2spaces","message":"very basic color legend; &tabs2spaces\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/deltadot.awk\n+++ scripts\/deltadot.awk\n@@ -34,59 +34,76 @@\n     n = match($0, \/ [(][[:digit:]]*[)]>];$\/)\n     if(n>0)\n         arr[substr($0,1,n)] = substr($0, n+2, length($0)-n-5)\n-\telse\n-\t\tarr[$1 \" \" $2 \" \" $3 \" \"]++\n+    else\n+        arr[$1 \" \" $2 \" \" $3 \" \"]++\n }\n \n # strip metadata from filename\n function de_path_ext(pth){\n-\tsplit(pth, a, \"\/\")\n-\treturn substr(a[length(a)], 1, index(a[length(a)], \".\")-1)\n+    split(pth, a, \"\/\")\n+    return substr(a[length(a)], 1, index(a[length(a)], \".\")-1)\n }\n \n-BEGIN { NOCOUNTS=0}\n+BEGIN {\n+    NOCOUNTS=0\n+    DFLT=\"black\"\n+    GAIN=\"blue\"\n+    DROP=\"orange\"\n+    LESS=\"pink\"\n+}\n \n # collect the edges from both files\n NR==FNR && \/^[^ ]+ -> [^ ]+ \/ {\n-\tlabel1 = FILENAME;\n-\tparse($0, edge1)\n+    label1 = FILENAME;\n+    parse($0, edge1)\n }\n NR!=FNR && \/^[^ ]+ -> [^ ]+ \/ {\n-\tlabel2 = FILENAME;\n-\tparse($0, edge2)\n+    label2 = FILENAME;\n+    parse($0, edge2)\n }\n \n END{\n-\tfor(e in edge1){\n-\t\tif(!(e in edge2)) edges[e \"(\" edge1[e] \")>, color=\\\"orange\\\"];\"];\n-\t\telse {\n-\t\t\t# edge is in both graphs\n-\t\t\tif(NOCOUNTS)\n-\t\t\t\tedges[e \"()>, color=\\\"black\\\"];\"]\n-\t\t\telse {\n-\t\t\t\tdiff = edge2[e] - edge1[e];\n-\t\t\t\tif(diff < 0)\n-\t\t\t\t\t# diff = \"<font color=\\\"red\\\">\" diff \"<\/font>\" #  breaks svg\n-\t\t\t\t\tedges[e \"(\" diff \")>, color=\\\"pink\\\"];\"]\n-\t\t\t\telse\n-\t\t\t\t\tedges[e \"(\" diff \")>, color=\\\"black\\\"];\"]\n-\t\t\t}\n-\t\t\tdelete edge2[e]\n-\t\t}\n-\t}\n-\t# only edges not in first file\n-\tfor(e in edge2)\n-\t\tedges[e \"(\" edge2[e] \")>, color=\\\"blue\\\"];\"];  # expects label=<tag> to close\n+    for(e in edge1){\n+        if(!(e in edge2)) edges[e \"(-\" edge1[e] \")>, color=\\\"\" DROP \"\\\"];\"];\n+        else {\n+            # edge is in both graphs\n+            if(NOCOUNTS)\n+                edges[e \"()>, color=\\\"\" DELT \"\\\"];\"]\n+            else {\n+                diff = edge2[e] - edge1[e];\n+                if(diff < 0)\n+                    # diff = \"<font color=\\\"\" DROP \"\\\">\" diff \"<\/font>\" #  breaks svg\n+                    edges[e \"(\" diff \")>, color=\\\"\" DROP \"\\\"];\"]\n+                else\n+                    edges[e \"(\" diff \")>, color=\\\"\" DFLT \"\\\"];\"]\n+            }\n+            delete edge2[e]\n+        }\n+    }\n+    # only edges not in first file\n+    for(e in edge2)\n+        edges[e \"(\" edge2[e] \")>, color=\\\"\" GAIN \"\\\"];\"];  # expects label=<tag> to close\n \n-\tprint \"digraph {\"\n-\tprint \"rankdir=LR;\"\n-\tprint \"charset=\\\"utf-8\\\";\"\n-\tprint \"LITERAL [shape=record];\"\n-\tprint \"labelloc=\\\"t\\\";\"\n-\tprint \"label=\\\"\" de_path_ext(label1) \" <=> \" de_path_ext(label2) \"\\\"\"\n+    print \"digraph {\"\n+    print \"rankdir=LR;\"\n+    print \"charset=\\\"utf-8\\\";\"\n+    print \"LITERAL [shape=record];\"\n+    print \"labelloc=\\\"t\\\";\"\n+    print \"label=\\\"\" de_path_ext(label1) \" <=> \" de_path_ext(label2) \"\\\"\"\n \n-\tn = asorti(edges,output)\n-\tfor(i=1;i<=n;i++ ){print output[i]}\n-\tprint \"\\n}\\n\"\n+    n = asorti(edges,output)\n+    for(i=1;i<=n;i++ ){print output[i]}\n+\n+    # include a Legend  rank [min,max,sink]\n+    print \"\\n\\tnode[shape=plaintext];\\n\\tsubgraph cluster_key{rank=max;label=\\\"Color Legend\\\";\"\n+    print \"\\tdflt [label=< <font color=\\\"\" DFLT \"\\\">Typical Case<\/font> >];\"\n+    print \"\\tgain [label=< <font color=\\\"\" GAIN \"\\\">New Edge<\/font> >];\"\n+    print \"\\tdrop [label=< <font color=\\\"\" DROP \"\\\">Lost Edge<\/font> >];\"\n+    print \"\\tless [label=< <font color=\\\"\" LESS \"\\\">Diminished Count<\/font> >];\"\n+    print \"\\tdflt -> dflt [color=\\\"\" DFLT \"\\\"];\"\n+    print \"\\tgain -> gain [color=\\\"\" GAIN \"\\\"];\"\n+    print \"\\tdrop -> drop [color=\\\"\" DROP \"\\\"];\"\n+    print \"\\tless -> less [color=\\\"\" LESS \"\\\"];\"\n+\n+    print \"\\t}\\n}\\n\"\n }\n-\n"}
{"commit":"f6feb36f24f81ac517877d28b1c1f8a0c04a4694","subject":"Languages: update","message":"Languages: update\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1301,7 +1301,7 @@\n # Detect external bidirectional algorithm utility (fribidi);\n # Fallback to Unix `rev` if not found.\n function initBiDi() {\n-    \"fribidi --version 2>\/dev\/null\" |& getline FriBidi\n+    \"fribidi --version\" SUPERR |& getline FriBidi\n     BiDiNoPad = FriBidi ? \"fribidi --nopad\" : \"rev\"\n     BiDi = FriBidi ? \"fribidi --width %s\" : \"rev | sed \\\"s\/'\/\\\\\\\\\\\\'\/\\\" | xargs printf '%%s '\"\n }\n"}
{"commit":"47bd22b62363af44db29d291788cc4f442e06604","subject":"Accept underscores in path names.","message":"Accept underscores in path names.\n","repos":"lscube\/feng,lscube\/feng,winlinvip\/feng,lscube\/feng,winlinvip\/feng,winlinvip\/feng","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- tests\/genmain.awk\n+++ tests\/genmain.awk\n@@ -31,7 +31,7 @@\n {\n     suitename = $2;\n     sub(\"^.*tests\/\", \"\", suitename);\n-    sub(\"\/[a-z0-9-]+\\\\.c$\", \"\", suitename);\n+    sub(\"\/[_a-z0-9-]+\\\\.c$\", \"\", suitename);\n     testname = $1;\n     sub(\"test_\", \"\", testname);\n \n"}
{"commit":"bcbc21d6a389b2164c7b0226dc4e46ac4e6e1cd9","subject":"Improve robustness for poor data","message":"Improve robustness for poor data\n\nIf a block is incomplete, don't print partial data\n","repos":"DMailMan\/VectorTools,ActianCorp\/VectorTools,DMailMan\/VectorTools,DMailMan\/UtilityScripts,DMailMan\/VectorTools,ActianCorp\/VectorTools,ActianCorp\/VectorTools","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- vwinfo-pivot.awk\n+++ vwinfo-pivot.awk\n@@ -40,10 +40,6 @@\n #2016-04-26 10:56:23,7626673992,9839545026,21,51811414\n #2016-04-26 11:00:06,13600321807,7441402489,3,25461059\n #2016-04-26 11:26:26,8259696240,12566530678,3,34660155\n-\n-# Note that for loading into Excel, the date format needs adjusting before it will be \n-# recognised properly. Excel likes data like this : 10\/Mar\/2016 HH:MM:SS\n-\n \n \n BEGIN {\n@@ -110,14 +106,14 @@\n \tfields[\"%log\"]  = (fields[\"log_file_size\"]\/fields[\"threshold_log_condense\"])*100;\n \tfields[\"%memcontext\"] = (fields[\"memcontext_allocated\"]\/fields[\"memcontext_maximum\"])*100;\n \n+\t# Only print the row if there is decent data. Log condense threshold value is never really 1.\n+\tif (fields[\"threshold_log_condense\"] > 1 ) {\n+\t\t# Start printing the output record for this block of time\n+\t\tprintf record_date;\n \n-\t# Start printing the output record for this block of time\n-\tprintf record_date;\n+\t\tfor (field in fields) printf \",%d\", fields[field];\n \n-\tfor (field in fields) {\n-\t\tprintf \",%d\", fields[field];\n+\t\t# Cleanly terminate each line\n+\t\tprintf \"\\r\\n\";\n \t}\n-\n-\t# Cleanly terminate each line\n-\tprintf \"\\r\\n\";\n }"}
{"commit":"90054feabeb3d25e6eb6d35a218fe078c7ff5b7e","subject":"check for vendor name dups","message":"check for vendor name dups\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/pci\/devlist2h.awk\n+++ dev\/pci\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.3 1997\/11\/07 08:07:26 niklas Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.4 1998\/07\/21 20:35:18 mickey Exp $\n #\t$NetBSD: devlist2h.awk,v 1.2 1996\/01\/22 21:08:09 cgd Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n@@ -31,7 +31,7 @@\n # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n #\n BEGIN {\n-\tnproducts = nvendors = 0\n+\tnproducts = nvendor_dup = nvendors = 0\n \tdfile=\"pcidevs_data.h\"\n \thfile=\"pcidevs.h\"\n }\n@@ -60,6 +60,11 @@\n $1 == \"vendor\" {\n \tnvendors++\n \n+\tif ($2 in vendorindex) {\n+\t\tprintf(\"duplicate vendor name %s\\n\", $2);\n+\t\tnvendor_dup++;\n+\t}\n+\n \tvendorindex[$2] = nvendors;\t\t# record index for this name, for later.\n \tvendors[nvendors, 1] = $2;\t\t# name\n \tvendors[nvendors, 2] = $3;\t\t# id\n@@ -158,6 +163,9 @@\n \t# print out the match tables\n \n \tprintf(\"\\n\") > dfile\n+\n+\tif (nvendor_dup > 0)\n+\t\texit(1);\n \n \tprintf(\"struct pci_knowndev pci_knowndevs[] = {\\n\") > dfile\n \tfor (i = 1; i <= nproducts; i++) {\n"}
{"commit":"c00cfcc9f43ea804b0b5e8ecd27523fa69f8deeb","subject":"rnc2rng: Properly handle things with - in the name","message":"rnc2rng: Properly handle things with - in the name\n","repos":"projectmallard\/projectmallard.org","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rnc2rng.awk\n+++ rnc2rng.awk\n@@ -267,7 +267,7 @@\n     stack[++stack_i] = \"<anyName>\";\n     parse_name_class(substr(line, 2));\n   }\n-  else if (c == \"-\") {\n+  else if (c == \"-\" && stack[stack_i] == \"<anyName>\") {\n     stack[++stack_i] = \"<except>\"\n     parse_name_class(substr(line, 2));\n   }\n@@ -310,7 +310,7 @@\n   }\n   else if (match(line, \/^[A-Za-z_]\/)) {\n     name = substr(line, 1);\n-    sub(\/[^A-Za-z_]+.*\/, \"\", name);\n+    sub(\/[^A-Za-z_-]+.*\/, \"\", name);\n     if (length(line) >= length(name) + 1)\n       aft = substr(line, length(name) + 1);\n     else\n"}
{"commit":"c21cb6c5324625918cc2b0f4797b418537462776","subject":"Fixing awk --lint errors on rnc2rng.awk","message":"Fixing awk --lint errors on rnc2rng.awk\n","repos":"Distrotech\/yelp-xsl,Distrotech\/yelp-xsl,Distrotech\/gnome-doc-utils,jnavila\/gnome-doc-utils,jnavila\/gnome-doc-utils,Distrotech\/gnome-doc-utils","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rng\/mallard\/rnc2rng.awk\n+++ rng\/mallard\/rnc2rng.awk\n@@ -1,5 +1,5 @@\n #!\/bin\/awk\n-# -*- indent-tabs-mode: nil -*-\n+# -*- indent-tabs-mode: nil; c-basic-offset: 2 -*-\n # rnc2rng.awk - Convert RELAX NG Compact Syntax to XML Syntax\n # Copyright (C) 2007 Shaun McCance <shaunm@gnome.org>\n #\n@@ -34,11 +34,13 @@\n \n function parse_pattern (line) {\n   sub(\/^ *\/, \"\", line)\n+  if (length(line) == 0) return;\n   c = substr(line, 1, 1);\n   if (c == \"(\" || c == \"{\") {\n     stack[++stack_i] = substr(line, 1, 1);\n     paren[++paren_i] = stack_i;\n-    parse_pattern(substr(line, 2));\n+    if (length(line) >= 2)\n+      parse_pattern(substr(line, 2));\n   }\n   else if (c == \")\" || c == \"}\") {\n     open = stack[paren[paren_i]];\n@@ -75,7 +77,7 @@\n     paren_i--;\n \n     if (oc == \"{}\") {\n-      if (substr(stack[stack_i - 1], 1, 8) == \"<element\") {\n+      if (match(stack[stack_i - 1], \"^<element\")) {\n         tmp = stack[stack_i - 1] \"\\n\";\n         if (stack[stack_i] != \"\") {\n           tmp = tmp stack[stack_i] \"\\n\";\n@@ -85,7 +87,7 @@\n         tmp = tmp \"<\/element>\";\n         stack[--stack_i] = tmp;\n       }\n-      else if (substr(stack[stack_i - 1], 1, 10) == \"<attribute\") {\n+      else if (match(stack[stack_i - 1], \"^<attribute\")) {\n         tmp = stack[stack_i - 1] \"\\n\";\n         if (stack[stack_i] != \"\") {\n           tmp = tmp stack[stack_i] \"\\n\";\n@@ -111,38 +113,44 @@\n     if (paren_i == 0) {\n       mode = \"grammar\";\n     }\n-    parse_pattern(substr(line, 2));\n+    if (length(line) >= 2)\n+      parse_pattern(substr(line, 2));\n   }\n   else if (c == \"|\" || c == \"&\" || c == \",\") {\n     if (length(stack[paren[paren_i]]) == 1) {\n       stack[paren[paren_i]] = stack[paren[paren_i]] c;\n     }\n-    else if (substr(stack[paren[paren_i]], 2) != c) {\n+    else if (length(stack[paren[paren_i]]) < 2 || substr(stack[paren[paren_i]], 2) != c) {\n       print \"Mismatched infix operators on line \" FNR | \"cat 1>&2\";\n       error = 1;\n       exit 1\n     }\n-    parse_pattern(substr(line, 2));\n+    if (length(line) >= 2)\n+      parse_pattern(substr(line, 2));\n   }\n   else if (c == \"?\") {\n     stack[stack_i] = \"<optional>\" stack[stack_i] \"<\/optional>\"\n-    parse_pattern(substr(line, 2));\n+    if (length(line) >= 2)\n+      parse_pattern(substr(line, 2));\n   }\n   else if (c == \"*\") {\n     stack[stack_i] = \"<zeroOrMore>\" stack[stack_i] \"<\/zeroOrMore>\"\n-    parse_pattern(substr(line, 2));\n+    if (length(line) >= 2)\n+      parse_pattern(substr(line, 2));\n   }\n   else if (c == \"+\") {\n     stack[stack_i] = \"<oneOrMore>\" stack[stack_i] \"<\/oneOrMore>\"\n-    parse_pattern(substr(line, 2));\n+    if (length(line) >= 2)\n+      parse_pattern(substr(line, 2));\n   }\n   else if (c == \"\\\"\") {\n     txt = substr(line, 2);\n     sub(\/\".*\/, \"\", txt)\n     stack[++stack_i] = \"<value>\" txt \"<\/value>\";\n-    parse_pattern(substr(line, length(txt) + 3));\n-  }\n-  else if (substr(line, 1, 8) == \"element \") {\n+    if (length(line) >= length(txt) + 3)\n+      parse_pattern(substr(line, length(txt) + 3));\n+  }\n+  else if (match(line, \"^element \")) {\n     aft = substr(line, 8);\n     sub(\/^ *\/, \"\", aft);\n     name = aft;\n@@ -151,7 +159,7 @@\n     name_class_i = stack_i;\n     parse_name_class(name);\n   }\n-  else if (substr(line, 1, 10) == \"attribute \") {\n+  else if (match(line, \"^attribute \")) {\n     aft = substr(line, 10);\n     sub(\/^ *\/, \"\", aft);\n     name = aft;\n@@ -160,13 +168,13 @@\n     name_class_i = stack_i;\n     parse_name_class(name);\n   }\n-  else if (substr(line, 1, 5) == \"list \") {\n+  else if (match(line, \"^list \")) {\n     aft = substr(line, 5);\n     sub(\/^ *\/, \"\", aft);\n     stack[++stack_i] = \"<list>\";\n     if (aft != \"\") { parse_pattern(aft); }\n   }\n-  else if (substr(line, 1, 6) == \"mixed \") {\n+  else if (match(line, \"^mixed \")) {\n     aft = substr(line, 6);\n     sub(\/^ *\/, \"\", aft);\n     stack[++stack_i] = \"<mixed>\";\n@@ -178,17 +186,17 @@\n     sub(\/^ *\/, \"\", aft);\n     if (aft != \"\") { parse_pattern(aft); }\n   }\n-  else if (substr(line, 1, 18) == \"default namespace \") {\n+  else if (match(line, \"^default namespace \")) {\n     print \"default namespace appeared out of context on line \" FNR | \"cat 1>&2\";\n     error = 1;\n     exit 1\n   }\n-  else if (substr(line, 1, 10) == \"namespace \") {\n+  else if (match(line, \"^namespace \")) {\n     print \"namespace appeared out of context on line \" FNR | \"cat 1>&2\";\n     error = 1;\n     exit 1\n   }\n-  else if (substr(line, 1, 6) == \"start \") {\n+  else if (match(line, \"^start \")) {\n     print \"start appeared out of context on line \" FNR | \"cat 1>&2\";\n     error = 1;\n     exit 1\n@@ -197,17 +205,21 @@\n     name = substr(line, 1);\n     sub(\/^xsd:\/, \"\", name);\n     sub(\/[^A-Za-z_]+.*\/, \"\", name);\n-    aft = substr(line, length(name) + 5);\n     stack[++stack_i] = sprintf(\"<data type='%s' datatypeLibrary='http:\/\/www.w3.org\/2001\/XMLSchema-datatypes'\/>\",\n                                name);\n-    parse_pattern(aft);\n+    if (length(line) >= length(name) + 5) {\n+      aft = substr(line, length(name) + 5);\n+      parse_pattern(aft);\n+    }\n   }\n   else if (match(line, \/^[A-Za-z_]\/)) {\n     name = substr(line, 1);\n     sub(\/[^A-Za-z_]+.*\/, \"\", name);\n-    aft = substr(line, length(name) + 1);\n     stack[++stack_i] = sprintf(\"<ref name='%s'\/>\", name);\n-    parse_pattern(aft);\n+    if (length(line) >= length(name) + 1) {\n+      aft = substr(line, length(name) + 1);\n+      parse_pattern(aft);\n+    }\n   }\n }\n \n@@ -335,6 +347,7 @@\n   stack_i = 0;\n   paren_i = 0;\n   namespaces_i = 0;\n+  error = 0;\n }\n \n END {\n@@ -355,9 +368,7 @@\n \n mode == \"pattern\" && paren_i == 0 && \/.*=\/ { mode = \"grammar\"; }\n mode == \"grammar\" && \/.*=\/ {\n-  name = substr($0, 1, index($0, \"=\") - 1);\n-  sub(\/ \/, \"\", name);\n-  if (substr($0, 1, 18) == \"default namespace \") {\n+  if (match($0, \"^default namespace \")) {\n     namespace = substr($0, index($0, \"=\") + 1);\n     nsname = substr($0, 19, index($0, \"=\") - 19);\n     sub(\/^ *\/, \"\", nsname);\n@@ -370,7 +381,7 @@\n     }\n     default_namespace = namespace\n   }\n-  else if (substr($0, 1, 10) == \"namespace \") {\n+  else if (match($0, \"^namespace \")) {\n     namespace = substr($0, index($0, \"=\") + 1);\n     nsname = substr($0, 11, index($0, \"=\") - 11);\n     sub(\/^ *\/, \"\", nsname);\n@@ -382,15 +393,18 @@\n       namespaces[namespaces_i] = namespace;\n     }\n   }\n-  else if (name == \"start\") {\n-    stack[++stack_i] = \"<start>\"\n+  else {\n+    nameix = index($0, \"=\");\n+    if (nameix < 1) next;\n+    name = substr($0, 1, nameix - 1);\n+    sub(\/ \/, \"\", name);\n+    if (name == \"start\")\n+      stack[++stack_i] = \"<start>\"\n+    else\n+      stack[++stack_i] = sprintf(\"<define name='%s'>\", name);\n     mode = \"pattern\";\n-    parse_pattern(substr($0, index($0, \"=\") + 1))\n-  }\n-  else {\n-    stack[++stack_i] = sprintf(\"<define name='%s'>\", name);\n-    mode = \"pattern\";\n-    parse_pattern(substr($0, index($0, \"=\") + 1))\n+    if (length($0) >= nameix + 1)\n+      parse_pattern(substr($0, nameix + 1))\n   }\n   next;\n }\n"}
{"commit":"1e3f901c479fc4f838b290f11e1b547b86bdadd4","subject":"add swap command to repl","message":"add swap command to repl\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/REPL.awk\n+++ include\/REPL.awk\n@@ -147,6 +147,10 @@\n     } else if (command ~ \/^:show$\/) {\n         name = words[2]\n         print prettify(\"welcome-submessage\", toString(Option[name], 1, 0, 1))\n+    } else if (command ~ \/^:swap$\/) {\n+        tl = Option[\"tl\"][1]\n+        Option[\"tl\"][1] = Option[\"sls\"][1]\n+        Option[\"sls\"][1] = tl\n     } else if (command ~ \/^:engine$\/) {\n         value = words[2]\n         Option[\"engine\"] = value\n"}
{"commit":"e7b39be27225d5fd2c59b357b589b4ecc9468b3b","subject":"mmake\/mwg_pp.awk: update","message":"mmake\/mwg_pp.awk: update\n","repos":"akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg,akinomyoga\/libmwg","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- mmake\/mwg_pp.awk\n+++ mmake\/mwg_pp.awk\n@@ -2,88 +2,88 @@\n \n # 20120726 \u884c\u756a\u53f7\u51fa\u529b\u6a5f\u80fd (\u4f8b: '#line 12 a.cpp')\n \n-function awk_getfiledir(_ret){\n-  _ret=m_lineno_cfile;\n-  sub(\/[^\\\/\\\\]+$\/,\"\",_ret);\n-  if(_ret==\"\/\")return \"\/\";\n-  sub(\/[\\\/\\\\]$\/,\"\",_ret);\n-  return _ret\n-}\n-\n-function print_error(title,msg){\n+function awk_getfiledir(_ret) {\n+  _ret = m_lineno_cfile;\n+  sub(\/[^\\\/\\\\]+$\/, \"\", _ret);\n+  if (_ret == \"\/\") return \"\/\";\n+  sub(\/[\\\/\\\\]$\/, \"\", _ret);\n+  return _ret;\n+}\n+\n+function print_error(title, msg) {\n   global_errorCount++;\n-  print \"\\33[1;31m\" title \"!\\33[m \" msg > \"\/dev\/stderr\"\n-}\n-\n-function trim(text){\n-  #gsub(\/^[ \\t]+|[ \\t]+$\/,\"\",text);\n-  gsub(\/^[[:space:]]+|[[:space:]]+$\/,\"\",text);\n-  return text\n-}\n-\n-function slice(text,start,end, _l){\n-  _l=length(text);\n-  if(start<0)start+=_l;\n-  end=end==null?_l: end<0?end+_l: end;\n-\n-  return substr(text,start+1,end-start);\n-}\n-\n-#function head_token(text,ret,  _i,_l){\n-#  _i=match(text,\/[^-a-zA-Z\\:0-9_]\/);\n-#  _l=_i?_i-1:length(text);\n-#  ret[0]=trim(substr(text,1,_l));\n-#  ret[1]=trim(substr(text,_l+1));\n+  print \"\\33[1;31m\" title \"!\\33[m \" msg > \"\/dev\/stderr\";\n+}\n+\n+function trim(text) {\n+  #gsub(\/^[ \\t]+|[ \\t]+$\/, \"\", text);\n+  gsub(\/^[[:space:]]+|[[:space:]]+$\/, \"\", text);\n+  return text;\n+}\n+\n+function slice(text, start, end, _l) {\n+  _l = length(text);\n+  if (start < 0) start += _l;\n+  end = end == null ? _l : end < 0 ? end + _l : end;\n+\n+  return substr(text, start + 1, end - start);\n+}\n+\n+#function head_token(text, ret, _, _i, _l) {\n+#  _i = match(text, \/[^-a-zA-Z:0-9_]\/);\n+#  _l = _i ? _i - 1 : length(text);\n+#  ret[0] = trim(substr(text, 1, _l));\n+#  ret[1] = trim(substr(text, _l + 1));\n #}\n \n #-------------------------------------------------------------------------------\n-function unescape(text, _ret,_capt){\n-  _ret=\"\";\n-  while(match(text,\/\\\\(.)\/,_capt)>0){\n-    _ret=_ret substr(text,1,RSTART-1) _capt[1];\n-    text=substr(text,RSTART+RLENGTH);\n+function unescape(text, _, _ret, _capt) {\n+  _ret = \"\";\n+  while (match(text, \/\\\\(.)\/, _capt) > 0) {\n+    _ret = _ret substr(text, 1, RSTART - 1) _capt[1];\n+    text = substr(text, RSTART + RLENGTH);\n   }\n   return _ret text;\n }\n \n #-------------------------------------------------------------------------------\n # replace\n-function replace(text,before,after, _is_tmpl,_is_head,_captures,_rep,_ltext,_rtext){\n-  _is_tmpl=(match(after,\/\\$[0-9]+\/)>0);\n-  _is_head=(substr(before,1,1)==\"^\");\n-\n-  _ret=\"\";\n-  while(match(text,before,_captures)>0){\n-    _ltext=substr(text,1,RSTART-1);\n-    _rtext=substr(text,RSTART+RLENGTH);\n-\n-    _rep=_is_tmpl?rep_instantiate_tmpl(after,_captures):after;\n-\n-    _ret=_ret _ltext _rep;\n-    text=_rtext;\n-\n-    if(_is_head)break;\n-    if(RLENGTH==0){\n-      _ret=_ret substr(text,1,1);\n-      text=substr(text,2);\n-      if(length(text)==0)break;\n+function replace(text, before, after, _is_tmpl, _is_head, _captures, _rep, _ltext, _rtext) {\n+  _is_tmpl = (match(after, \/\\$[0-9]+\/) > 0);\n+  _is_head = (substr(before, 1, 1) == \"^\");\n+\n+  _ret = \"\";\n+  while (match(text, before, _captures) > 0) {\n+    _ltext = substr(text, 1, RSTART - 1);\n+    _rtext = substr(text, RSTART + RLENGTH);\n+\n+    _rep = _is_tmpl ? rep_instantiate_tmpl(after, _captures) : after;\n+\n+    _ret = _ret _ltext _rep;\n+    text = _rtext;\n+\n+    if (_is_head) break;\n+    if (RLENGTH == 0) {\n+      _ret = _ret substr(text, 1, 1);\n+      text = substr(text, 2);\n+      if (length(text) == 0) break;\n     }\n   }\n   return _ret text;\n }\n-function rep_instantiate_tmpl(text,captures,  _ret,_num,_insert){\n-  _ret=\"\";\n-  while(match(text,\/\\\\(.)|\\$([0-9]+)\/,_num)){\n-    #print \"dbg: $ captured: RSTART=\" RSTART \"; num=\" _num[1] \"; captures[num]=\" captures[_num[1]] > \"\/dev\/stderr\"\n-    if(_num[2]!=\"\"){\n-      _insert=captures[_num[2]];\n-    }else if(_num[1]~\/^[$\\\\]$\/){\n-      _insert=_num[1];\n-    }else{\n-      _insert=_num[0];\n-    }\n-    _ret=_ret substr(text,1,RSTART-1) _insert;\n-    text=substr(text,RSTART+RLENGTH);\n+function rep_instantiate_tmpl(text, captures, _, _ret, _num, _insert) {\n+  _ret = \"\";\n+  while (match(text, \/\\\\(.)|\\$([0-9]+)\/, _num)) {\n+    #print \"dbg: $ captured: RSTART = \" RSTART \"; num = \" _num[1] \"; captures[num] = \" captures[_num[1]] > \"\/dev\/stderr\"\n+    if (_num[2] != \"\") {\n+      _insert = captures[_num[2]];\n+    } else if (_num[1] ~ \/^[$\\\\]$\/) {\n+      _insert = _num[1];\n+    } else {\n+      _insert = _num[0];\n+    }\n+    _ret = _ret substr(text, 1, RSTART - 1) _insert;\n+    text = substr(text, RSTART + RLENGTH);\n   }\n   return _ret text;\n }\n@@ -95,1029 +95,1029 @@\n \n # -*- mode:awk -*-\n \n-function ev1scan_init_opregister(opname,optype,opprec){\n-  ev_db_operator[opname]=optype;\n-  ev_db_operator[opname,\"a\"]=opprec;\n-}\n-\n-function ev1scan_init(){\n-  OP_BIN=1;\n-  OP_UNA=2; # prefix\n-  OP_SGN=3; # prefix or binary\n-  OP_INC=4; # prefix or suffix\n-\n-  ev1scan_init_opregister(\".\" ,OP_BIN,12.0);\n-\n-  ev1scan_init_opregister(\"++\",OP_INC,11.0);\n-  ev1scan_init_opregister(\"--\",OP_INC,11.0);\n-  ev1scan_init_opregister(\"!\" ,OP_UNA,11.0);\n-\n-  ev1scan_init_opregister(\"*\" ,OP_BIN,10.0);\n-  ev1scan_init_opregister(\"\/\" ,OP_BIN,10.0);\n-  ev1scan_init_opregister(\"%\" ,OP_BIN,10.0);\n-\n-  ev1scan_init_opregister(\"+\" ,OP_SGN,9.0);\n-  ev1scan_init_opregister(\"-\" ,OP_SGN,9.0);\n-\n-  ev1scan_init_opregister(\"==\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\"!=\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\"<\" ,OP_BIN,8.0);\n-  ev1scan_init_opregister(\"<=\",OP_BIN,8.0);\n-  ev1scan_init_opregister(\">\" ,OP_BIN,8.0);\n-  ev1scan_init_opregister(\">=\",OP_BIN,8.0);\n-\n-  ev1scan_init_opregister(\"&\" ,OP_BIN,7.4);\n-  ev1scan_init_opregister(\"^\" ,OP_BIN,7.2);\n-  ev1scan_init_opregister(\"|\" ,OP_BIN,7.0);\n-  ev1scan_init_opregister(\"&&\",OP_BIN,6.4);\n-  ev1scan_init_opregister(\"||\",OP_BIN,6.0);\n-\n-  ev1scan_init_opregister(\"=\" ,OP_BIN,2.0);\n-  ev1scan_init_opregister(\"+=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"-=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"*=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"\/=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"%=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"|=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"^=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\"&=\",OP_BIN,2.0);\n-  ev1scan_init_opregister(\",\" ,OP_BIN,1.0);\n+function ev1scan_init_opregister(opname, optype, opprec) {\n+  ev_db_operator[opname] = optype;\n+  ev_db_operator[opname, \"a\"] = opprec;\n+}\n+\n+function ev1scan_init() {\n+  OP_BIN = 1;\n+  OP_UNA = 2; # prefix\n+  OP_SGN = 3; # prefix or binary\n+  OP_INC = 4; # prefix or suffix\n+\n+  ev1scan_init_opregister(\".\" , OP_BIN, 12.0);\n+\n+  ev1scan_init_opregister(\"++\", OP_INC, 11.0);\n+  ev1scan_init_opregister(\"--\", OP_INC, 11.0);\n+  ev1scan_init_opregister(\"!\" , OP_UNA, 11.0);\n+\n+  ev1scan_init_opregister(\"*\" , OP_BIN, 10.0);\n+  ev1scan_init_opregister(\"\/\" , OP_BIN, 10.0);\n+  ev1scan_init_opregister(\"%\" , OP_BIN, 10.0);\n+\n+  ev1scan_init_opregister(\"+\" , OP_SGN, 9.0);\n+  ev1scan_init_opregister(\"-\" , OP_SGN, 9.0);\n+\n+  ev1scan_init_opregister(\"==\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"!=\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"<\" , OP_BIN, 8.0);\n+  ev1scan_init_opregister(\"<=\", OP_BIN, 8.0);\n+  ev1scan_init_opregister(\">\" , OP_BIN, 8.0);\n+  ev1scan_init_opregister(\">=\", OP_BIN, 8.0);\n+\n+  ev1scan_init_opregister(\"&\" , OP_BIN, 7.4);\n+  ev1scan_init_opregister(\"^\" , OP_BIN, 7.2);\n+  ev1scan_init_opregister(\"|\" , OP_BIN, 7.0);\n+  ev1scan_init_opregister(\"&&\", OP_BIN, 6.4);\n+  ev1scan_init_opregister(\"||\", OP_BIN, 6.0);\n+\n+  ev1scan_init_opregister(\"=\" , OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"+=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"-=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"*=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"\/=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"%=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"|=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"^=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\"&=\", OP_BIN, 2.0);\n+  ev1scan_init_opregister(\",\" , OP_BIN, 1.0);\n \n   # for ev2\n-  SE_VALU=1;\n-  SE_PREF=0;\n-  SE_MARK=-1;\n-\n-  ATTR_SET=\"t\";\n-  ATTR_TYP=\"T\";\n-  ATTR_MOD=\"M\";\n-\n-  MOD_NUL=0;\n-  MOD_REF=1;\n-  ATTR_REF=\"R\";\n-  MOD_ARG=2;\n-  MOD_ARR=4;\n-  MOD_MTH=8;\n-  ATTR_MTH_OBJ=\"Mo\";\n-  ATTR_MTH_MEM=\"Mf\";\n-\n-  TYPE_NUM=0;\n-  TYPE_STR=1;\n-}\n-\n-function ev1scan_scan(expression,words, _wlen,_i,_len,_c,_t,_w){\n-  _wlen=0;\n-  _len=length(expression);\n-  for(_i=0;_i<_len;_i++){\n-    _c=substr(expression,_i+1,1);\n-\n-    if(_c ~ \/[.0-9]\/){\n-      _t=\"n\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        if(_c !~ \/[.0-9]\/)break;\n-        _w=_w _c;\n+  SE_VALU = 1;\n+  SE_PREF = 0;\n+  SE_MARK = -1;\n+\n+  ATTR_SET = \"t\";\n+  ATTR_TYP = \"T\";\n+  ATTR_MOD = \"M\";\n+\n+  MOD_NUL = 0;\n+  MOD_REF = 1;\n+  ATTR_REF = \"R\";\n+  MOD_ARG = 2;\n+  MOD_ARR = 4;\n+  MOD_MTH = 8;\n+  ATTR_MTH_OBJ = \"Mo\";\n+  ATTR_MTH_MEM = \"Mf\";\n+\n+  TYPE_NUM = 0;\n+  TYPE_STR = 1;\n+}\n+\n+function ev1scan_scan(expression, words, _wlen, _i, _len, _c, _t, _w) {\n+  _wlen = 0;\n+  _len = length(expression);\n+  for (_i = 0; _i < _len; _i++) {\n+    _c = substr(expression, _i + 1, 1);\n+\n+    if (_c ~ \/[.0-9]\/) {\n+      _t = \"n\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        if (_c !~ \/[.0-9]\/) break;\n+        _w = _w _c;\n         _i++;\n       }\n-      #if(_w==\".\")_w=0;\n-      if(_w==\".\"){\n-        _t=\"o\";\n-      }\n-    }else if(ev_db_operator[_c]!=\"\"){\n-      _t=\"o\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        #print \"dbg: ev_db_op[\" _w _c \"]=\" ev_db_operator[_w _c] > \"\/dev\/stderr\"\n-        if(ev_db_operator[_w _c]!=\"\"){\n-          _w=_w _c;\n+      #if (_w == \".\")_w = 0;\n+      if (_w == \".\") {\n+        _t = \"o\";\n+      }\n+    } else if (ev_db_operator[_c] != \"\") {\n+      _t = \"o\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        #print \"dbg: ev_db_op[\" _w _c \"] = \" ev_db_operator[_w _c] > \"\/dev\/stderr\"\n+        if (ev_db_operator[_w _c] != \"\") {\n+          _w = _w _c;\n           _i++;\n-        }else break;\n-      }\n-    }else if(_c ~ \"[[({?]\"){\n-      _t=\"op\";\n-      _w=_c;\n-    }else if(_c ~ \"[])}:]\"){\n-      _t=\"cl\";\n-      _w=_c;\n-    }else if(_c ~ \/[_a-zA-Z]\/){\n-      _t=\"w\";\n-      _w=_c;\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n-        if(_c !~ \/[_a-zA-Z0-9]\/)break;\n-        _w=_w _c;\n+        } else break;\n+      }\n+    } else if (_c ~ \"[[({?]\") {\n+      _t = \"op\";\n+      _w = _c;\n+    } else if (_c ~ \"[])}:]\") {\n+      _t = \"cl\";\n+      _w = _c;\n+    } else if (_c ~ \/[_a-zA-Z]\/) {\n+      _t = \"w\";\n+      _w = _c;\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n+        if (_c !~ \/[_a-zA-Z0-9]\/) break;\n+        _w = _w _c;\n         _i++;\n       }\n-    }else if(_c==\"\\\"\"){\n+    } else if (_c == \"\\\"\") {\n       # string literal\n-      _t=\"S\";\n-      _w=\"\";\n-      while(_i+1<_len){\n-        _c=substr(expression,_i+2,1);\n+      _t = \"S\";\n+      _w = \"\";\n+      while (_i + 1 < _len) {\n+        _c = substr(expression, _i + 2, 1);\n         _i++;\n-        if(_c ==\"\\\"\"){\n+        if (_c  == \"\\\"\") {\n           break;\n-        }else if(_c==\"\\\\\"){\n-          #print_error(\"dbg: (escchar = \" _c \" \" substr(expression,_i+2,1) \")\" );\n-          if(_i+1<_len){\n-            _w=_w ev1scan_scan_escchar(substr(expression,_i+2,1));\n+        } else if (_c == \"\\\\\") {\n+          #print_error(\"dbg: (escchar = \" _c \" \" substr(expression, _i + 2, 1) \")\" );\n+          if (_i + 1 < _len) {\n+            _w = _w ev1scan_scan_escchar(substr(expression, _i + 2, 1));\n             _i++;\n-          }else{\n-            _w=_w _c;\n+          } else {\n+            _w = _w _c;\n           }\n-        }else{\n-          _w=_w _c;\n+        } else {\n+          _w = _w _c;\n         }\n       }\n-    }else if(_c ~ \/[[:space:]]\/){\n+    } else if (_c ~ \/[[:space:]]\/) {\n       continue; # ignore blank\n-    }else{\n-      print_error(\"mwg_pp.eval_expr\",\"unrecognizable character '\" _c \"'\");\n+    } else {\n+      print_error(\"mwg_pp.eval_expr\", \"unrecognizable character '\" _c \"'\");\n       continue; # ignore unknown character\n     }\n \n-    words[_wlen,\"t\"]=_t;\n-    words[_wlen,\"w\"]=_w;\n+    words[_wlen, \"t\"] = _t;\n+    words[_wlen, \"w\"] = _w;\n     _wlen++;\n   }\n \n   # debug\n-  #for(_i=0;_i<_wlen;_i++){\n-  #    print \"yield \" words[_i,\"w\"] \" as \" words[_i,\"t\"] > \"\/dev\/stderr\"\n+  #for (_i = 0; _i < _wlen; _i++) {\n+  #    print \"yield \" words[_i, \"w\"] \" as \" words[_i, \"t\"] > \"\/dev\/stderr\"\n   #}\n \n   return _wlen;\n }\n \n-function ev1scan_scan_escchar(c){\n-  if(c !~ \/[nrtvfaeb]\/)return c;\n-  if(c==\"n\")return \"\\n\";\n-  if(c==\"r\")return \"\\r\";\n-  if(c==\"t\")return \"\\t\";\n-  if(c==\"v\")return \"\\v\";\n-  if(c==\"f\")return \"\\f\";\n-  if(c==\"a\")return \"\\a\";\n-  if(c==\"e\")return \"\\33\";\n-  if(c==\"b\")return \"\\b\";\n+function ev1scan_scan_escchar(c) {\n+  if (c !~ \/[nrtvfaeb]\/) return c;\n+  if (c == \"n\") return \"\\n\";\n+  if (c == \"r\") return \"\\r\";\n+  if (c == \"t\") return \"\\t\";\n+  if (c == \"v\") return \"\\v\";\n+  if (c == \"f\") return \"\\f\";\n+  if (c == \"a\") return \"\\a\";\n+  if (c == \"e\") return \"\\33\";\n+  if (c == \"b\") return \"\\b\";\n   return c;\n }\n \n-function ev1scan_cast_bool(arg){\n-  return arg!=0&&arg!=\"\";\n-}\n-# -*- mode:awk -*-\n-\n-function eval_expr(expression){\n+function ev1scan_cast_bool(arg) {\n+  return arg != 0 && arg != \"\";\n+}\n+# -*- mode: awk -*-\n+\n+function eval_expr(expression) {\n   return ev2_expr(expression);\n }\n \n-function ev2_expr(expression, _wlen,_words,_i,_len,_t,_w,_v,_sp,_s,_sp1,_optype){\n-  _wlen=ev1scan_scan(expression,_words);\n+function ev2_expr(expression, _wlen, _words, _i, _len, _t, _w, _v, _sp, _s, _sp1, _optype) {\n+  _wlen = ev1scan_scan(expression, _words);\n \n   # <param name=\"_s\">\n   #  parsing stack\n-  #  _s[index,\"t\"]  : SE_PREF  SE_MARK  SE_VALU\n-  #  _s[index]      : lhs               value\n-  #  _s[index,\"T\"]  : dataType          dataType\n-  #  _s[index,\"c\"]  : b+ u!    op      \n-  #  _s[index,\"l\"]  : assoc             \n+  #  _s[index, \"t\"]  : SE_PREF  SE_MARK  SE_VALU\n+  #  _s[index]       : lhs               value\n+  #  _s[index, \"T\"]  : dataType          dataType\n+  #  _s[index, \"c\"]  : b+ u!    op\n+  #  _s[index, \"l\"]  : assoc\n   #\n-  #  _s[index,\"M\"]=MOD_ARG;\n-  #  _s[index,\"A\"]=length;\n-  #  _s[index,\"A\",i]=element;\n+  #  _s[index, \"M\"] = MOD_ARG;\n+  #  _s[index, \"A\"] = length;\n+  #  _s[index, \"A\", i] = element;\n   # <\/param>\n \n   # parse\n-  _sp=-1;\n-  for(_i=0;_i<_wlen;_i++){\n+  _sp = -1;\n+  for (_i = 0; _i < _wlen; _i++) {\n     # _t: token type\n     # _w: token word\n     # _l: token prefix level\n-    _t=_words[_i,\"t\"];\n-    _w=_words[_i,\"w\"];\n+    _t = _words[_i, \"t\"];\n+    _w = _words[_i, \"w\"];\n \n     #-- process token --\n-    if(_t==\"n\"){\n+    if (_t == \"n\") {\n       _sp++;\n-      _s[_sp]=+_w;\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=TYPE_NUM;\n-      _s[_sp,\"M\"]=MOD_NUL;\n+      _s[_sp] = 0 + _w;\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = TYPE_NUM;\n+      _s[_sp, \"M\"] = MOD_NUL;\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"o\"){\n-      _optype=ev_db_operator[_w];\n-      if(_optype==OP_SGN){ # signature operator +-\n-        if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-          _t=\"b\"; # binary operator\n-        }else{\n-          _t=\"u\"; # unary operator\n+    } else if (_t == \"o\") {\n+      _optype = ev_db_operator[_w];\n+      if (_optype == OP_SGN) { # signature operator +-\n+        if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+          _t = \"b\"; # binary operator\n+        } else {\n+          _t = \"u\"; # unary operator\n         }\n-      }else if(_optype==OP_BIN){ # binary operator\n-        _t=\"b\";\n-      }else if(_optype==OP_UNA){ # unary prefix operator\n-        _t=\"u\";\n-      }else if(_optype==OP_INC){ # operator++ --\n-        if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-          if(and(_s[_sp,\"M\"],MOD_REF)){\n-            if(_w==\"++\")\n-              d_data[_s[_sp,\"R\"]]++;\n-            else if(_w==\"--\")\n-              d_data[_s[_sp,\"R\"]]--;\n+      } else if (_optype == OP_BIN) { # binary operator\n+        _t = \"b\";\n+      } else if (_optype == OP_UNA) { # unary prefix operator\n+        _t = \"u\";\n+      } else if (_optype == OP_INC) { # operator++ --\n+        if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+          if (and(_s[_sp, \"M\"], MOD_REF)) {\n+            if (_w == \"++\")\n+              d_data[_s[_sp, \"R\"]]++;\n+            else if (_w == \"--\")\n+              d_data[_s[_sp, \"R\"]]--;\n             else\n-              print_error(\"mwg_pp.eval\",\"unknown increment operator \" _w);\n-\n-            _s[_sp,\"M\"]=MOD_NUL;\n-            delete _s[_sp,\"R\"];\n+              print_error(\"mwg_pp.eval\", \"unknown increment operator \" _w);\n+\n+            _s[_sp, \"M\"] = MOD_NUL;\n+            delete _s[_sp, \"R\"];\n           }\n \n-          _t=\"\";\n-        }else{\n-          _t=\"u\"; # unary operator\n+          _t = \"\";\n+        } else {\n+          _t = \"u\"; # unary operator\n         }\n-      }else{\n-        print_error(\"mwg_pp.eval\",\"unknown operator \" _w);\n-      }\n-\n-      if(_t==\"b\"){\n+      } else {\n+        print_error(\"mwg_pp.eval\", \"unknown operator \" _w);\n+      }\n+\n+      if (_t == \"b\") {\n         #-- binary operator\n-        _l=ev_db_operator[_w,\"a\"];\n+        _l = ev_db_operator[_w, \"a\"];\n         #print \"dbg: binary operator level = \" _l > \"\/dev\/stderr\"\n-        \n+\n         # get lhs\n-        _sp=ev2_pop_value(_s,_sp,_l); # left assoc\n-        #_sp=ev2_pop_value(_s,_sp,_l+0.1); # right assoc # TODO =\n-        \n+        _sp = ev2_pop_value(_s, _sp, _l); # left assoc\n+        #_sp = ev2_pop_value(_s, _sp, _l + 0.1); # right assoc # TODO =\n+\n         # overwrite to lhs\n-        _s[_sp,\"t\"]=SE_PREF;\n-        _s[_sp,\"p\"]=\"b\";\n-        _s[_sp,\"P\"]=_w;\n-        _s[_sp,\"l\"]=_l; # assoc level\n-      }else if(_t==\"u\"){\n+        _s[_sp, \"t\"] = SE_PREF;\n+        _s[_sp, \"p\"] = \"b\";\n+        _s[_sp, \"P\"] = _w;\n+        _s[_sp, \"l\"] = _l; # assoc level\n+      } else if (_t == \"u\") {\n         # unary operator\n-        _l=ev_db_operator[_w,\"a\"];\n+        _l = ev_db_operator[_w, \"a\"];\n \n         _sp++;\n-        _s[_sp,\"t\"]=SE_PREF\n-        _s[_sp,\"p\"]=\"u\";\n-        _s[_sp,\"P\"]=_w;\n-        _s[_sp,\"l\"]=_l; # assoc level\n+        _s[_sp, \"t\"] = SE_PREF\n+        _s[_sp, \"p\"] = \"u\";\n+        _s[_sp, \"P\"] = _w;\n+        _s[_sp, \"l\"] = _l; # assoc level\n       }\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"op\"){\n+    } else if (_t == \"op\") {\n       _sp++;\n-      _s[_sp,\"t\"]=SE_MARK;\n-      _s[_sp,\"m\"]=_w;\n-    }else if(_t==\"cl\"){\n-      if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-        _sp1=ev2_pop_value(_s,_sp,0);\n-        _sp=_sp1-1;\n-      }else{\n+      _s[_sp, \"t\"] = SE_MARK;\n+      _s[_sp, \"m\"] = _w;\n+    } else if (_t == \"cl\") {\n+      if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+        _sp1 = ev2_pop_value(_s, _sp, 0);\n+        _sp = _sp1-1;\n+      } else {\n         # empty arg\n-        _sp1=_sp+1;\n-        _s[_sp1]=\"\";\n-        _s[_sp1,\"t\"]=SE_VALU;\n-        _s[_sp1,\"T\"]=TYPE_STR;\n-        _s[_sp1,\"M\"]=MOD_ARG;\n-        _s[_sp1,\"A\"]=0;\n+        _sp1 = _sp+1;\n+        _s[_sp1] = \"\";\n+        _s[_sp1, \"t\"] = SE_VALU;\n+        _s[_sp1, \"T\"] = TYPE_STR;\n+        _s[_sp1, \"M\"] = MOD_ARG;\n+        _s[_sp1, \"A\"] = 0;\n       }\n       # state: [.. _sp=open _sp1]\n \n       # parentheses\n-      if(!(_sp>=0&&_s[_sp,\"t\"]==SE_MARK)){\n+      if (!(_sp >= 0 && _s[_sp, \"t\"] == SE_MARK)) {\n         print_error(\"mwg_pp.eval: no matching open paren to \" _w \" in \" expression);\n         continue;\n       }\n-      _w=_s[_sp,\"m\"] _w;\n+      _w = _s[_sp, \"m\"] _w;\n       _sp--;\n-      \n+\n \n       # state: [_sp open _sp1]\n-      if(_sp>=0&&_s[_sp,\"t\"]==SE_VALU){\n-        if(_w==\"?:\"){\n-          _sp=ev2_pop_value(_s,_sp,3.0); # assoc_value_3\n-          _v=(_s[_sp]!=0&&_s[_sp]!=\"\")?\"T\":\"F\";\n+      if (_sp >= 0 && _s[_sp, \"t\"] == SE_VALU) {\n+        if (_w == \"?:\") {\n+          _sp = ev2_pop_value(_s, _sp, 3.0); # assoc_value_3\n+          _v = (_s[_sp] != 0 && _s[_sp] != \"\") ? \"T\" : \"F\";\n           #print_error(\"dbg: _s[_sp]=\" _s[_sp] \" _v=\" _v);\n \n           # last element\n-          _s[_sp]=_s[_sp1];\n-          _s[_sp,\"t\"]=SE_VALU;\n-          _s[_sp,\"T\"]=_s[_sp1,\"T\"];\n-          _s[_sp,\"M\"]=MOD_NUL; #TODO reference copy\n+          _s[_sp] = _s[_sp1];\n+          _s[_sp, \"t\"] = SE_VALU;\n+          _s[_sp, \"T\"] = _s[_sp1, \"T\"];\n+          _s[_sp, \"M\"] = MOD_NUL; #TODO reference copy\n \n           # overwrite pref\n-          _s[_sp,\"t\"]=SE_PREF;\n-          _s[_sp,\"p\"]=_w;\n-          _s[_sp,\"P\"]=_v;\n-          _s[_sp,\"l\"]=3.0; # level\n-        }else{\n-          _sp=ev2_pop_value(_s,_sp,12); # assoc_value_12\n-\n-          if(_w==\"[]\"&&and(_s[_sp,\"M\"],MOD_REF)){\n+          _s[_sp, \"t\"] = SE_PREF;\n+          _s[_sp, \"p\"] = _w;\n+          _s[_sp, \"P\"] = _v;\n+          _s[_sp, \"l\"] = 3.0; # level\n+        } else {\n+          _sp = ev2_pop_value(_s, _sp, 12); # assoc_value_12\n+\n+          if (_w == \"[]\" && and(_s[_sp, \"M\"], MOD_REF)) {\n             # indexing\n-            _s[_sp]=d_data[_s[_sp,\"R\"],_s[_sp1]];\n-            _s[_sp,\"t\"]=SE_VALU;\n-            _s[_sp,\"T\"]=(_s[_sp]==0+_s[_sp]?TYPE_NUM:TYPE_STR);\n-            _s[_sp,\"M\"]=MOD_REF;\n-            _s[_sp,\"R\"]=_s[_sp,\"R\"] SUBSEP _s[_sp1];\n-          }else if(and(_s[_sp,\"M\"],MOD_REF)){\n+            _s[_sp] = d_data[_s[_sp, \"R\"], _s[_sp1]];\n+            _s[_sp, \"t\"] = SE_VALU;\n+            _s[_sp, \"T\"] = (_s[_sp] == 0 + _s[_sp]? TYPE_NUM: TYPE_STR);\n+            _s[_sp, \"M\"] = MOD_REF;\n+            _s[_sp, \"R\"] = _s[_sp, \"R\"] SUBSEP _s[_sp1];\n+          } else if (and(_s[_sp, \"M\"], MOD_REF)) {\n             # function call\n-            ev2_funcall(_s,_sp,_s[_sp,\"R\"],_s,_sp1);\n-          }else if(and(_s[_sp,\"M\"],MOD_MTH)){\n+            ev2_funcall(_s, _sp, _s[_sp, \"R\"], _s, _sp1);\n+          } else if (and(_s[_sp, \"M\"], MOD_MTH)) {\n             # member function call\n-            ev2_memcall(_s,_sp,_s,_sp SUBSEP ATTR_MTH_OBJ,_s[_sp,ATTR_MTH_MEM],_s,_sp1);\n-          }else{\n+            ev2_memcall(_s, _sp, _s, _sp SUBSEP ATTR_MTH_OBJ, _s[_sp, ATTR_MTH_MEM], _s, _sp1);\n+          } else {\n             print \"mwg_pp.eval: invalid function call \" _s[_sp] \" \" _w \" in \" expression > \"\/dev\/stderr\"\n           }\n         }\n-      }else{\n+      } else {\n         _sp++;\n-        if(_w==\"[]\"){\n+        if (_w == \"[]\") {\n           # array\n-          ev2_copy(_s,_sp,_s,_sp1);\n-          _s[_sp,\"M\"]=MOD_ARR;\n-        }else{\n+          ev2_copy(_s, _sp, _s, _sp1);\n+          _s[_sp, \"M\"] = MOD_ARR;\n+        } else {\n           # last element\n-          _s[_sp]=_s[_sp1];\n-          _s[_sp,\"t\"]=SE_VALU;\n-          _s[_sp,\"T\"]=_s[_sp1,\"T\"];\n-          _s[_sp,\"M\"]=MOD_NUL;\n+          _s[_sp] = _s[_sp1];\n+          _s[_sp, \"t\"] = SE_VALU;\n+          _s[_sp, \"T\"] = _s[_sp1, \"T\"];\n+          _s[_sp, \"M\"] = MOD_NUL;\n         }\n       }\n     #---------------------------------------------------------------------------\n-    }else if(_t==\"w\"){\n+    } else if (_t == \"w\") {\n       _sp++;\n-      _s[_sp]=d_data[_w];\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=(_s[_sp]==0+_s[_sp]?TYPE_NUM:TYPE_STR);\n-      _s[_sp,\"M\"]=MOD_REF;\n-      _s[_sp,\"R\"]=_w;\n-    }else if(_t==\"S\"){\n+      _s[_sp] = d_data[_w];\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = (_s[_sp] == 0 + _s[_sp]? TYPE_NUM: TYPE_STR);\n+      _s[_sp, \"M\"] = MOD_REF;\n+      _s[_sp, \"R\"] = _w;\n+    } else if (_t == \"S\") {\n       # string\n       _sp++;\n-      _s[_sp]=_w;\n-      _s[_sp,\"t\"]=SE_VALU;\n-      _s[_sp,\"T\"]=TYPE_STR;\n-      _s[_sp,\"M\"]=MOD_NUL;\n-    }else{\n-      print_error(\"mwg_pp.eval:fatal\",\"unknown token type \" _t);\n-    }\n-  }\n-\n-  _sp=ev2_pop_value(_s,_sp,0);\n-  return _sp>=1?\"err\":_s[_sp];\n-}\n-\n-function ev2_pop_value(s,sp,assoc,rDict,rName, _vp,_value){\n+      _s[_sp] = _w;\n+      _s[_sp, \"t\"] = SE_VALU;\n+      _s[_sp, \"T\"] = TYPE_STR;\n+      _s[_sp, \"M\"] = MOD_NUL;\n+    } else {\n+      print_error(\"mwg_pp.eval:fatal\", \"unknown token type \" _t);\n+    }\n+  }\n+\n+  _sp = ev2_pop_value(_s, _sp, 0);\n+  return _sp >= 1? \"err\": _s[_sp];\n+}\n+\n+function ev2_pop_value(s, sp, assoc, rDict, rName, _vp, _value) {\n   # <param> rDict [default = s]\n   # <param> rName [default = <final stack top>]\n   # <returns> sp = <final stack top>\n \n   # read value\n-  if(sp>=0&&s[sp,\"t\"]==SE_VALU){\n+  if (sp >= 0 && s[sp, \"t\"] == SE_VALU) {\n     sp--;\n-  }else{\n-    _vp=sp+1;\n-    s[_vp]=0;\n-    s[_vp,\"t\"]=SE_VALU;\n-    s[_vp,\"T\"]=TYPE_NUM;\n-    s[_vp,\"M\"]=MOD_NUL;\n+  } else {\n+    _vp = sp + 1;\n+    s[_vp] = 0;\n+    s[_vp, \"t\"] = SE_VALU;\n+    s[_vp, \"T\"] = TYPE_NUM;\n+    s[_vp, \"M\"] = MOD_NUL;\n   }\n \n   # proc prefices\n-  while(sp>=0&&s[sp,\"t\"]==SE_PREF&&s[sp,\"l\"]>=assoc){\n-    ev2_apply(s,sp,sp+1);\n+  while(sp >= 0 && s[sp, \"t\"] == SE_PREF && s[sp, \"l\"] >= assoc) {\n+    ev2_apply(s, sp, sp + 1);\n     sp--;\n   }\n \n-  if(rDict==\"\")\n+  if (rDict == \"\")\n     sp++;\n   else\n-    ev2_copy(rDict,rName,s,sp+1);\n+    ev2_copy(rDict, rName, s, sp + 1);\n \n   return sp;\n }\n \n-function ev2_memget(dDict,dName,oDict,oName,memname){\n-  #print_error(\"mwg_pp.eval\",\"dbg: ev2_memget(memname=\" memname \")\");\n+function ev2_memget(dDict, dName, oDict, oName, memname) {\n+  #print_error(\"mwg_pp.eval\", \"dbg: ev2_memget(memname=\" memname \")\");\n \n   # embedded special member\n-  if(oDict[oName,\"T\"]==TYPE_STR){\n-    if(memname==\"length\"){\n-      dDict[dName]=length(oDict[oName]);\n-      dDict[dName,\"t\"]=SE_VALU;\n-      dDict[dName,\"T\"]=TYPE_NUM;\n-      dDict[dName,\"M\"]=MOD_NUL;\n+  if (oDict[oName, \"T\"] == TYPE_STR) {\n+    if (memname == \"length\") {\n+      dDict[dName] = length(oDict[oName]);\n+      dDict[dName, \"t\"] = SE_VALU;\n+      dDict[dName, \"T\"] = TYPE_NUM;\n+      dDict[dName, \"M\"] = MOD_NUL;\n       return;\n-    }else if(memname==\"replace\"||memname==\"Replace\"||memname==\"slice\"||memname ~ \/^to(upper|lower)$\/){\n-      ev2_copy(dDict,dName SUBSEP ATTR_MTH_OBJ,oDict,oName);\n-      dDict[dName,ATTR_MTH_MEM]=memname;\n-      dDict[dName]=\"\";\n-      dDict[dName,\"t\"]=SE_VALU;\n-      dDict[dName,\"T\"]=TYPE_STR;\n-      dDict[dName,\"M\"]=MOD_MTH;\n-      #print_error(\"mwg_pp.eval\",\"dbg: method = String#\" memname);\n+    } else if (memname == \"replace\" || memname == \"Replace\" || memname == \"slice\" || memname ~ \/^to(upper|lower)$\/) {\n+      ev2_copy(dDict, dName SUBSEP ATTR_MTH_OBJ, oDict, oName);\n+      dDict[dName, ATTR_MTH_MEM] = memname;\n+      dDict[dName] = \"\";\n+      dDict[dName, \"t\"] = SE_VALU;\n+      dDict[dName, \"T\"] = TYPE_STR;\n+      dDict[dName, \"M\"] = MOD_MTH;\n+      #print_error(\"mwg_pp.eval\", \"dbg: method = String#\" memname);\n       return;\n     }\n-  }else{\n+  } else {\n     # members for other types (TYPE_NUM MOD_ARR etc..)\n   }\n \n   # normal data member\n-  if(and(oDict[oName,ATTR_MOD],MOD_REF)){\n-    dDict[dName]=d_data[oDict[oName,ATTR_REF],memname];\n-    dDict[dName,\"t\"]=SE_VALU;\n-    dDict[dName,\"T\"]=(dDict[dName]==0+dDict[dName]?TYPE_NUM:TYPE_STR);\n-    dDict[dName,\"M\"]=MOD_REF;\n-    dDict[dName,ATTR_REF]=oDict[oName,ATTR_REF] SUBSEP memname;\n-  }else{\n-    print_error(\"mwg.eval\",\"invalid member name '\" memname \"'\");\n-    dDict[dName]=\"\";\n-    dDict[dName,\"t\"]=SE_VALU;\n-    dDict[dName,\"T\"]=TYPE_STR;\n-    dDict[dName,\"M\"]=MOD_NUL;\n+  if (and(oDict[oName, ATTR_MOD], MOD_REF)) {\n+    dDict[dName] = d_data[oDict[oName, ATTR_REF], memname];\n+    dDict[dName, \"t\"] = SE_VALU;\n+    dDict[dName, \"T\"] = (dDict[dName] == 0 + dDict[dName]? TYPE_NUM: TYPE_STR);\n+    dDict[dName, \"M\"] = MOD_REF;\n+    dDict[dName, ATTR_REF] = oDict[oName, ATTR_REF] SUBSEP memname;\n+  } else {\n+    print_error(\"mwg.eval\", \"invalid member name '\" memname \"'\");\n+    dDict[dName] = \"\";\n+    dDict[dName, \"t\"] = SE_VALU;\n+    dDict[dName, \"T\"] = TYPE_STR;\n+    dDict[dName, \"M\"] = MOD_NUL;\n   }\n \n   # rep: dDict dName oDict oName\n }\n \n-function ev2_memcall(dDict,dName,oDict,oName,memname,aDict,aName, _a,_i,_c,_result,_resultT){\n-  #print_error(\"mwg_pp.eval\",\"dbg: ev2_memcall(memname=\" memname \")\");\n-\n-  _resultT=\"\";\n+function ev2_memcall(dDict, dName, oDict, oName, memname, aDict, aName, _a, _i, _c, _result, _resultT) {\n+  #print_error(\"mwg_pp.eval\", \"dbg: ev2_memcall(memname=\" memname \")\");\n+\n+  _resultT = \"\";\n \n   # read arguments\n-  if(aDict[aName,\"M\"]!=MOD_ARG){\n-    _c=1;\n-    _a[0]=aDict[aName];\n-  }else{\n-    _c=aDict[aName,\"A\"];\n-    for(_i=0;_i<_c;_i++)_a[_i]=aDict[aName,\"A\",_i];\n+  if (aDict[aName, \"M\"] != MOD_ARG) {\n+    _c = 1;\n+    _a[0] = aDict[aName];\n+  } else {\n+    _c = aDict[aName, \"A\"];\n+    for (_i = 0; _i < _c; _i++) _a[_i] = aDict[aName, \"A\", _i];\n   }\n \n   #-----------------\n   # process\n-  if(oDict[oName,\"T\"]==TYPE_STR){\n-    if(memname==\"replace\"){\n-      _result=oDict[oName];\n-      gsub(_a[0],_a[1],_result);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"Replace\"){\n-      _result=replace(oDict[oName],_a[0],_a[1]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"slice\"){\n-      _result=slice(oDict[oName],_a[0],_a[1]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"toupper\"){\n-      _result=toupper(oDict[oName]);\n-      _resultT=TYPE_STR;\n-    }else if(memname==\"tolower\"){\n-      _result=tolower(oDict[oName]);\n-      _resultT=TYPE_STR;\n+  if (oDict[oName, \"T\"] == TYPE_STR) {\n+    if (memname == \"replace\") {\n+      _result = oDict[oName];\n+      gsub(_a[0], _a[1], _result);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"Replace\") {\n+      _result = replace(oDict[oName], _a[0], _a[1]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"slice\") {\n+      _result = slice(oDict[oName], _a[0], _a[1]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"toupper\") {\n+      _result = toupper(oDict[oName]);\n+      _resultT = TYPE_STR;\n+    } else if (memname == \"tolower\") {\n+      _result = tolower(oDict[oName]);\n+      _resultT = TYPE_STR;\n     }\n   }\n \n   #-----------------\n   # write value\n-  if(_resultT==\"\"){\n-    print_error(\"mwg.eval\",\"invalid member function name '\" memname \"'\");\n-    _result=\"\";\n-    _resultT=TYPE_STR;\n-  }\n-\n-  dDict[dName]=_result;\n-  dDict[dName,\"t\"]=SE_VALU;\n-  dDict[dName,\"T\"]=_resultT;\n-  dDict[dName,\"M\"]=MOD_NUL;\n-}\n-\n-function ev2_funcall(dDict,dName,funcname,aDict,aName, _a,_i,_c,_result,_resultT,_x,_y,_l){\n-  _resultT=TYPE_NUM;\n-\n-  if(aDict[aName,\"M\"]!=MOD_ARG){\n-    _c=1;\n-    _a[0]=aDict[aName];\n-  }else{\n-    _c=aDict[aName,\"A\"];\n-    for(_i=0;_i<_c;_i++)_a[_i]=aDict[aName,\"A\",_i];\n-  }\n-\n-  if(funcname==\"int\"){\n-    _result=int(_a[0]);\n-  }else if(funcname==\"float\"){\n-    _result=0+_a[0];\n-  }else if(funcname==\"floor\"){\n-    if(_a[0]>=0){\n-      _result=int(_a[0]);\n-    }else{\n-      _result=int(1-_a[0]);\n-      _result=int(_a[0]+_result)-_result;\n-    }\n-  }else if(funcname==\"ceil\"){\n-    if(_a[0]<=0){\n-      _result=int(_a[0]);\n-    }else{\n-      _result=int(1+_a[0]);\n-      _result=int(_a[0]-_result)+_result;\n-    }\n-  }else if(funcname==\"sqrt\"){\n-    _result=sqrt(_a[0]);\n-  }else if(funcname==\"sin\"){\n-    _result=sin(_a[0]);\n-  }else if(funcname==\"cos\"){\n-    _result=cos(_a[0]);\n-  }else if(funcname==\"tan\"){\n-    _result=sin(_a[0])\/cos(_a[0]);\n-  }else if(funcname==\"atan\"){\n-    _result=atan2(_a[0],1);\n-  }else if(funcname==\"atan2\"){\n-    _result=atan2(_a[0],_a[1]);\n-  }else if(funcname==\"exp\"){\n-    _result=exp(_a[0]);\n-  }else if(funcname==\"log\"){\n-    _result=log(_a[0]);\n-  }else if(funcname==\"sinh\"){\n-    _x=exp(_a[0]);\n-    _result=0.5*(_x-1\/_x);\n-  }else if(funcname==\"cosh\"){\n-    _x=exp(_a[0]);\n-    _result=0.5*(_x+1\/_x);\n-  }else if(funcname==\"tanh\"){\n-    _x=exp(2*_a[0]);\n-    _result=(_x-1)\/(_x+1);\n-  }else if(funcname==\"rand\"){\n-    _result=rand();\n-  }else if(funcname==\"srand\"){\n-    _result=srand(_a[0]);\n-  }else if(funcname==\"trim\"){\n-    _resultT=TYPE_STR;\n-    _result=_a[0];\n-    gsub(\/^[[:space:]]+|[[:space:]]+$\/,\"\",_result);\n-  }else if(funcname==\"sprintf\"){\n-    _resultT=TYPE_STR;\n-    _result=sprintf(_a[0],_a[1],_a[2],_a[3],_a[4],_a[5],_a[6],_a[7],_a[8],_a[9]);\n-  }else if(funcname==\"slice\"){\n-    _resultT=TYPE_STR;\n-    _result=slice(_a[0],_a[1],_a[2]);\n-  }else if(funcname==\"length\"){\n-    _result=length(_a[0]);\n-  }else{\n-    print_error(\"mwg_pp.eval\",\"unknown function \" funcname);\n-    _result=0;\n-  }\n-\n-  dDict[dName]=_result;\n-  dDict[dName,\"t\"]=SE_VALU;\n-  dDict[dName,\"T\"]=_resultT;\n-  dDict[dName,\"M\"]=MOD_NUL;\n-}\n-\n-function ev2_apply(stk,iPre,iVal, _pT,_pW,_lhs,_rhs,_lhsT,_rhsT,_result,_i,_a,_b,_c){\n+  if (_resultT == \"\") {\n+    print_error(\"mwg.eval\", \"invalid member function name '\" memname \"'\");\n+    _result = \"\";\n+    _resultT = TYPE_STR;\n+  }\n+\n+  dDict[dName] = _result;\n+  dDict[dName, \"t\"] = SE_VALU;\n+  dDict[dName, \"T\"] = _resultT;\n+  dDict[dName, \"M\"] = MOD_NUL;\n+}\n+\n+function ev2_funcall(dDict, dName, funcname, aDict, aName, _a, _i, _c, _result, _resultT, _x, _y, _l) {\n+  _resultT = TYPE_NUM;\n+\n+  if (aDict[aName, \"M\"] != MOD_ARG) {\n+    _c = 1;\n+    _a[0] = aDict[aName];\n+  } else {\n+    _c = aDict[aName, \"A\"];\n+    for (_i = 0; _i < _c; _i++) _a[_i] = aDict[aName, \"A\", _i];\n+  }\n+\n+  if (funcname == \"int\") {\n+    _result = int(_a[0]);\n+  } else if (funcname == \"float\") {\n+    _result = 0 + _a[0];\n+  } else if (funcname == \"floor\") {\n+    if (_a[0] >= 0) {\n+      _result = int(_a[0]);\n+    } else {\n+      _result = int(1 - _a[0]);\n+      _result = int(_a[0] + _result)-_result;\n+    }\n+  } else if (funcname == \"ceil\") {\n+    if (_a[0] <= 0) {\n+      _result = int(_a[0]);\n+    } else {\n+      _result = int(1 + _a[0]);\n+      _result = int(_a[0]-_result) + _result;\n+    }\n+  } else if (funcname == \"sqrt\") {\n+    _result = sqrt(_a[0]);\n+  } else if (funcname == \"sin\") {\n+    _result = sin(_a[0]);\n+  } else if (funcname == \"cos\") {\n+    _result = cos(_a[0]);\n+  } else if (funcname == \"tan\") {\n+    _result = sin(_a[0]) \/ cos(_a[0]);\n+  } else if (funcname == \"atan\") {\n+    _result = atan2(_a[0], 1);\n+  } else if (funcname == \"atan2\") {\n+    _result = atan2(_a[0], _a[1]);\n+  } else if (funcname == \"exp\") {\n+    _result = exp(_a[0]);\n+  } else if (funcname == \"log\") {\n+    _result = log(_a[0]);\n+  } else if (funcname == \"sinh\") {\n+    _x = exp(_a[0]);\n+    _result = 0.5*(_x-1\/_x);\n+  } else if (funcname == \"cosh\") {\n+    _x = exp(_a[0]);\n+    _result = 0.5 * (_x + 1 \/ _x);\n+  } else if (funcname == \"tanh\") {\n+    _x = exp(2 * _a[0]);\n+    _result = (_x - 1) \/ (_x + 1);\n+  } else if (funcname == \"rand\") {\n+    _result = rand();\n+  } else if (funcname == \"srand\") {\n+    _result = srand(_a[0]);\n+  } else if (funcname == \"trim\") {\n+    _resultT = TYPE_STR;\n+    _result = _a[0];\n+    gsub(\/^[[:space:]]+|[[:space:]]+$\/, \"\", _result);\n+  } else if (funcname == \"sprintf\") {\n+    _resultT = TYPE_STR;\n+    _result = sprintf(_a[0], _a[1], _a[2], _a[3], _a[4], _a[5], _a[6], _a[7], _a[8], _a[9]);\n+  } else if (funcname == \"slice\") {\n+    _resultT = TYPE_STR;\n+    _result = slice(_a[0], _a[1], _a[2]);\n+  } else if (funcname == \"length\") {\n+    _result = length(_a[0]);\n+  } else {\n+    print_error(\"mwg_pp.eval\", \"unknown function \" funcname);\n+    _result = 0;\n+  }\n+\n+  dDict[dName] = _result;\n+  dDict[dName, \"t\"] = SE_VALU;\n+  dDict[dName, \"T\"] = _resultT;\n+  dDict[dName, \"M\"] = MOD_NUL;\n+}\n+\n+function ev2_apply(stk, iPre, iVal, _pT, _pW, _lhs, _rhs, _lhsT, _rhsT, _result, _i, _a, _b, _c) {\n   # <param name=\"stk\">stack<\/param>\n   # <param name=\"iPre\">prefix operator\/resulting value<\/param>\n   # <param name=\"iVal\">input value<\/param>\n \n-  _pT=stk[iPre,\"p\"];\n-  _pW=stk[iPre,\"P\"];\n-\n-  if(_pT==\"b\"){\n-    _lhs=stk[iPre];\n-    _rhs=stk[iVal];\n-    _lhsT=stk[iPre,\"T\"];\n-    _rhsT=stk[iVal,\"T\"];\n-    _resultT=TYPE_NUM;\n+  _pT = stk[iPre, \"p\"];\n+  _pW = stk[iPre, \"P\"];\n+\n+  if (_pT == \"b\") {\n+    _lhs = stk[iPre];\n+    _rhs = stk[iVal];\n+    _lhsT = stk[iPre, \"T\"];\n+    _rhsT = stk[iVal, \"T\"];\n+    _resultT = TYPE_NUM;\n \n     #print \"binary \" _lhs \" \" _pW \" \" _rhs > \"\/dev\/stderr\"\n-    if(_pW==\"+\"){\n-      if(_lhsT==TYPE_STR||_rhsT==TYPE_STR){\n-        _result=_lhs _rhs;\n-        _resultT=TYPE_STR;\n-      }else\n-        _result=_lhs+_rhs;\n-    }else if(_pW==\"-\")_result=_lhs-_rhs;\n-    else if(_pW==\"*\")_result=_lhs*_rhs;\n-    else if(_pW==\"\/\")_result=_lhs\/_rhs;\n-    else if(_pW==\"%\")_result=_lhs%_rhs;\n-    else if(_pW==\"==\")_result=_lhs==_rhs;\n-    else if(_pW==\"!=\")_result=_lhs!=_rhs;\n-    else if(_pW==\">=\")_result=_lhs>=_rhs;\n-    else if(_pW==\"<=\")_result=_lhs<=_rhs;\n-    else if(_pW==\"<\")_result=_lhs<_rhs;\n-    else if(_pW==\">\")_result=_lhs>_rhs;\n-    else if(_pW==\"|\")_result=or(_lhs,_rhs);\n-    else if(_pW==\"^\")_result=xor(_lhs,_rhs);\n-    else if(_pW==\"&\")_result=and(_lhs,_rhs);\n-    else if(_pW==\"||\")_result=ev1scan_cast_bool(_lhs)||ev1scan_cast_bool(_rhs); # not lazy evaluation\n-    else if(_pW==\"&&\")_result=ev1scan_cast_bool(_lhs)&&ev1scan_cast_bool(_rhs); # not lazy evaluation\n-    else if(_pW ~ \/[-+*\/%|^&]?=\/){\n-      if(and(stk[iPre,\"M\"],MOD_REF)){\n-        _resultT=TYPE_NUM;\n-        if(_pW==\"=\"){\n-          _result=_rhs;\n-          _resultT=_rhsT;\n-        }else if(_pW==\"+=\")_result=_lhs+_rhs;\n-        else if(_pW==\"-=\")_result=_lhs-_rhs;\n-        else if(_pW==\"*=\")_result=_lhs*_rhs;\n-        else if(_pW==\"\/=\")_result=_lhs\/_rhs;\n-        else if(_pW==\"%=\")_result=_lhs%_rhs;\n-        else if(_pW==\"|=\")_result=or(_lhs,_rhs);\n-        else if(_pW==\"^=\")_result=xor(_lhs,_rhs);\n-        else if(_pW==\"&=\")_result=and(_lhs,_rhs);\n-\n-        stk[iPre]=_result;\n-        stk[iPre,\"t\"]=SE_VALU;\n-        stk[iPre,\"T\"]=_resultT;\n-        d_data[stk[iPre,\"R\"]]=_result;\n-        \n+    if (_pW == \"+\") {\n+      if (_lhsT == TYPE_STR || _rhsT == TYPE_STR) {\n+        _result = _lhs _rhs;\n+        _resultT = TYPE_STR;\n+      } else\n+        _result = _lhs+_rhs;\n+    } else if (_pW == \"-\") _result = _lhs - _rhs;\n+    else if (_pW == \"*\") _result = _lhs * _rhs;\n+    else if (_pW == \"\/\") _result = _lhs \/ _rhs;\n+    else if (_pW == \"%\") _result = _lhs % _rhs;\n+    else if (_pW == \"==\") _result = _lhs == _rhs;\n+    else if (_pW == \"!=\") _result = _lhs != _rhs;\n+    else if (_pW == \">=\") _result = _lhs >= _rhs;\n+    else if (_pW == \"<=\") _result = _lhs <= _rhs;\n+    else if (_pW == \"<\") _result = _lhs < _rhs;\n+    else if (_pW == \">\") _result = _lhs > _rhs;\n+    else if (_pW == \"|\") _result = or(_lhs, _rhs);\n+    else if (_pW == \"^\") _result = xor(_lhs, _rhs);\n+    else if (_pW == \"&\") _result = and(_lhs, _rhs);\n+    else if (_pW == \"||\") _result = ev1scan_cast_bool(_lhs) || ev1scan_cast_bool(_rhs); # not lazy evaluation\n+    else if (_pW == \"&&\") _result = ev1scan_cast_bool(_lhs) && ev1scan_cast_bool(_rhs); # not lazy evaluation\n+    else if (_pW ~ \/[-+*\/%|^&]?=\/) {\n+      if (and(stk[iPre, \"M\"], MOD_REF)) {\n+        _resultT = TYPE_NUM;\n+        if (_pW == \"=\") {\n+          _result = _rhs;\n+          _resultT = _rhsT;\n+        } else if (_pW == \"+=\") _result = _lhs + _rhs;\n+        else if (_pW == \"-=\") _result = _lhs - _rhs;\n+        else if (_pW == \"*=\") _result = _lhs * _rhs;\n+        else if (_pW == \"\/=\") _result = _lhs \/ _rhs;\n+        else if (_pW == \"%=\") _result = _lhs % _rhs;\n+        else if (_pW == \"|=\") _result = or(_lhs, _rhs);\n+        else if (_pW == \"^=\") _result = xor(_lhs, _rhs);\n+        else if (_pW == \"&=\") _result = and(_lhs, _rhs);\n+\n+        stk[iPre] = _result;\n+        stk[iPre, \"t\"] = SE_VALU;\n+        stk[iPre, \"T\"] = _resultT;\n+        d_data[stk[iPre, \"R\"]] = _result;\n+\n         # TODO: array copy?\n-      }else{\n-        ev2_copy(stk,iPre,stk,iVal);\n+      } else {\n+        ev2_copy(stk, iPre, stk, iVal);\n         # err?\n       }\n       return;\n-    }else if(_pW==\",\"){\n-      if(stk[iPre,\"M\"]==MOD_ARG){\n-        stk[iPre]=_rhs;\n-        stk[iPre,\"t\"]=SE_VALU;\n-        stk[iPre,\"T\"]=_rhsT;\n-        _i=stk[iPre,\"A\"]++;\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP _i,stk,iVal);\n-      }else{\n-        stk[iPre,\"t\"]=SE_VALU;\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP 0,stk,iPre);\n-        ev2_copy(stk,iPre SUBSEP \"A\" SUBSEP 1,stk,iVal);\n-        stk[iPre]=_rhs;\n-        stk[iPre,\"T\"]=_rhsT;\n-        stk[iPre,\"M\"]=MOD_ARG;\n-        stk[iPre,\"A\"]=2;\n+    } else if (_pW == \",\") {\n+      if (stk[iPre, \"M\"] == MOD_ARG) {\n+        stk[iPre] = _rhs;\n+        stk[iPre, \"t\"] = SE_VALU;\n+        stk[iPre, \"T\"] = _rhsT;\n+        _i = stk[iPre, \"A\"]++;\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP _i, stk, iVal);\n+      } else {\n+        stk[iPre, \"t\"] = SE_VALU;\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP 0, stk, iPre);\n+        ev2_copy(stk, iPre SUBSEP \"A\" SUBSEP 1, stk, iVal);\n+        stk[iPre] = _rhs;\n+        stk[iPre, \"T\"] = _rhsT;\n+        stk[iPre, \"M\"] = MOD_ARG;\n+        stk[iPre, \"A\"] = 2;\n       }\n       return;\n-    }else if(_pW==\".\"){\n-      _a=and(stk[iVal,\"M\"],MOD_REF)?stk[iVal,ATTR_REF]:_rhs;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      ev2_memget(stk,iPre,stk,iPre,_a);\n+    } else if (_pW == \".\") {\n+      _a = and(stk[iVal, \"M\"], MOD_REF)? stk[iVal, ATTR_REF]: _rhs;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      ev2_memget(stk, iPre, stk, iPre, _a);\n       return;\n     }\n \n-    stk[iPre]=_result;\n-    stk[iPre,\"t\"]=SE_VALU;\n-    stk[iPre,\"T\"]=_resultT;\n-    stk[iPre,\"M\"]=MOD_NUL;\n-  }else if(_pT==\"u\"){\n-    _rhs=stk[iVal];\n-\n-    if(_pW==\"+\")_result=_rhs;\n-    else if(_pW==\"-\")_result=-_rhs;\n-    else if(_pW==\"!\")_result=!ev1scan_cast_bool(_rhs);\n-    else if(_pW==\"++\"){\n-      _result=_rhs+1;\n-      stk[iPre]=_result;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      stk[iPre,\"T\"]=TYPE_NUM;\n-      if(and(stk[iVal,\"M\"],MOD_REF)){\n-        stk[iPre,\"M\"]=MOD_REF;\n-        stk[iPre,\"R\"]=stk[iVal,\"R\"];\n-        d_data[stk[iPre,\"R\"]]=_result;\n-      }else{\n-        stk[iPre,\"M\"]=MOD_NUL;\n+    stk[iPre] = _result;\n+    stk[iPre, \"t\"] = SE_VALU;\n+    stk[iPre, \"T\"] = _resultT;\n+    stk[iPre, \"M\"] = MOD_NUL;\n+  } else if (_pT == \"u\") {\n+    _rhs = stk[iVal];\n+\n+    if (_pW == \"+\") _result = _rhs;\n+    else if (_pW == \"-\") _result = -_rhs;\n+    else if (_pW == \"!\") _result = !ev1scan_cast_bool(_rhs);\n+    else if (_pW == \"++\") {\n+      _result = _rhs+1;\n+      stk[iPre] = _result;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      stk[iPre, \"T\"] = TYPE_NUM;\n+      if (and(stk[iVal, \"M\"], MOD_REF)) {\n+        stk[iPre, \"M\"] = MOD_REF;\n+        stk[iPre, \"R\"] = stk[iVal, \"R\"];\n+        d_data[stk[iPre, \"R\"]] = _result;\n+      } else {\n+        stk[iPre, \"M\"] = MOD_NUL;\n       }\n       return;\n-    }else if(_pW==\"--\"){\n-      _result=_rhs-1;\n-      stk[iPre]=_result;\n-      stk[iPre,\"t\"]=SE_VALU;\n-      stk[iPre,\"T\"]=TYPE_NUM;\n-      if(and(stk[iVal,\"M\"],MOD_REF)){\n-        stk[iPre,\"M\"]=MOD_REF;\n-        stk[iPre,\"R\"]=stk[iVal,\"R\"];\n-        d_data[stk[iPre,\"R\"]]=_result;\n-      }else{\n-        stk[iPre,\"M\"]=MOD_NUL;\n+    } else if (_pW == \"--\") {\n+      _result = _rhs-1;\n+      stk[iPre] = _result;\n+      stk[iPre, \"t\"] = SE_VALU;\n+      stk[iPre, \"T\"] = TYPE_NUM;\n+      if (and(stk[iVal, \"M\"], MOD_REF)) {\n+        stk[iPre, \"M\"] = MOD_REF;\n+        stk[iPre, \"R\"] = stk[iVal, \"R\"];\n+        d_data[stk[iPre, \"R\"]] = _result;\n+      } else {\n+        stk[iPre, \"M\"] = MOD_NUL;\n       }\n       return;\n     }\n \n-    stk[iPre]=_result;\n-    stk[iPre,\"t\"]=SE_VALU;\n-    stk[iPre,\"T\"]=TYPE_NUM;\n-    stk[iPre,\"M\"]=MOD_NUL;\n-  }else if(_pT==\"?:\"){\n-    if(_pW==\"T\"){\n-      stk[iPre,\"t\"]=SE_VALU;\n-    }else{\n-      ev2_copy(stk,iPre,stk,iVal);\n-    }\n-  }else{\n-    ev2_copy(stk,iPre,stk,iVal);\n-  }\n-}\n-\n-function ev2_copy(dDict,dName,sDict,sName, _M,_t,_i,_iN){\n+    stk[iPre] = _result;\n+    stk[iPre, \"t\"] = SE_VALU;\n+    stk[iPre, \"T\"] = TYPE_NUM;\n+    stk[iPre, \"M\"] = MOD_NUL;\n+  } else if (_pT == \"?:\") {\n+    if (_pW == \"T\") {\n+      stk[iPre, \"t\"] = SE_VALU;\n+    } else {\n+      ev2_copy(stk, iPre, stk, iVal);\n+    }\n+  } else {\n+    ev2_copy(stk, iPre, stk, iVal);\n+  }\n+}\n+\n+function ev2_copy(dDict, dName, sDict, sName, _M, _t, _i, _iN) {\n   # assertion\n-  if(sDict[sName,\"t\"]!=SE_VALU){\n-    print_error(\"mwg_pp.eval:fatal\",\"copying not value element\");\n-  }\n-\n-  dDict[dName]=sDict[sName];            # value\n-  _t=dDict[dName,\"t\"]=sDict[sName,\"t\"]; # sttype\n-  _M=dDict[dName,\"M\"]=sDict[sName,\"M\"]; # mod\n-\n-  if(_t==SE_VALU)\n-    dDict[dName,\"T\"]=sDict[sName,\"T\"];  # datatype\n+  if (sDict[sName, \"t\"] != SE_VALU) {\n+    print_error(\"mwg_pp.eval:fatal\", \"copying not value element\");\n+  }\n+\n+  dDict[dName] = sDict[sName];                # value\n+  _t = dDict[dName, \"t\"] = sDict[sName, \"t\"]; # sttype\n+  _M = dDict[dName, \"M\"] = sDict[sName, \"M\"]; # mod\n+\n+  if (_t == SE_VALU)\n+    dDict[dName, \"T\"] = sDict[sName, \"T\"];  # datatype\n \n   # special data\n-  if(and(_M,MOD_REF)){\n+  if (and(_M, MOD_REF)) {\n     # reference\n-    dDict[dName,\"R\"]=sDict[sName,\"R\"]; # name in d_data\n-  }\n-  if(and(_M,MOD_ARG)||and(_M,MOD_ARR)){\n+    dDict[dName, \"R\"] = sDict[sName, \"R\"]; # name in d_data\n+  }\n+  if (and(_M, MOD_ARG) || and(_M, MOD_ARR)) {\n     # argument\/array\n-    _iN=dDict[dName,\"A\"]=sDict[sName,\"A\"]; # array length\n-    for(_i=0;_i<_iN;_i++)\n-      ev2_copy(dDict,dName SUBSEP \"A\" SUBSEP _i,sDict,sName SUBSEP \"A\" SUBSEP _i);\n-  }\n-  if(and(_M,MOD_MTH)){\n+    _iN = dDict[dName, \"A\"] = sDict[sName, \"A\"]; # array length\n+    for (_i = 0; _i < _iN; _i++)\n+      ev2_copy(dDict, dName SUBSEP \"A\" SUBSEP _i, sDict, sName SUBSEP \"A\" SUBSEP _i);\n+  }\n+  if (and(_M, MOD_MTH)) {\n     # member function\n-    dDict[dName,ATTR_MTH_MEM]=sDict[sName,ATTR_MTH_MEM];\n-    ev2_copy(dDict,dName SUBSEP ATTR_MTH_OBJ,sDict,sName SUBSEP ATTR_MTH_OBJ);\n-  }\n-}\n-\n-function ev2_delete(sDict,sName){\n-  if(sDict[sName,\"t\"]!=SE_VALU){\n-    print_error(\"mwg_pp.eval:fatal\",\"deleting not value element\");\n+    dDict[dName, ATTR_MTH_MEM] = sDict[sName, ATTR_MTH_MEM];\n+    ev2_copy(dDict, dName SUBSEP ATTR_MTH_OBJ, sDict, sName SUBSEP ATTR_MTH_OBJ);\n+  }\n+}\n+\n+function ev2_delete(sDict, sName) {\n+  if (sDict[sName, \"t\"] != SE_VALU) {\n+    print_error(\"mwg_pp.eval:fatal\", \"deleting not value element\");\n   }\n \n   delete sDict[sName];     # value\n-  delete sDict[sName,\"t\"]; # sttype\n-  delete sDict[sName,\"T\"]; # datatype\n-  _M=sDict[sName,\"M\"];     # mod\n-  delete sDict[sName,\"M\"];\n+  delete sDict[sName, \"t\"]; # sttype\n+  delete sDict[sName, \"T\"]; # datatype\n+  _M = sDict[sName, \"M\"];     # mod\n+  delete sDict[sName, \"M\"];\n \n   # special data\n-  if(_M==MOD_REF){\n+  if (_M == MOD_REF) {\n     # reference\n-    delete sDict[sName,\"R\"]; # name in d_data\n-  }else if(_M==MOD_ARG||_M==MOD_ARR){\n+    delete sDict[sName, \"R\"]; # name in d_data\n+  } else if (_M == MOD_ARG || _M == MOD_ARR) {\n     # argument\/array\n-    _iN=sDict[sName,\"A\"];\n-    delete sDict[sName,\"A\"]; # array length\n-    for(_i=0;_i<_iN;_i++)\n-      ev2_delete(sDict,sName SUBSEP \"A\" SUBSEP _i);\n-  }\n-}\n-\n-# TODO? Dict[sp]      -> Dict[sp,\"v\"]\n-# TODO? s[i,\"c\"]=\"b+\" -> s[i,\"k\"]=\"b\" s[\"o\"]=\"+\"\n+    _iN = sDict[sName, \"A\"];\n+    delete sDict[sName, \"A\"]; # array length\n+    for (_i = 0; _i < _iN; _i++)\n+      ev2_delete(sDict, sName SUBSEP \"A\" SUBSEP _i);\n+  }\n+}\n+\n+# TODO? Dict[sp]       -> Dict[sp, \"v\"]\n+# TODO? s[i, \"c\"]=\"b+\" -> s[i, \"k\"]=\"b\" s[\"o\"]=\"+\"\n \n #===============================================================================\n #  Parameter Expansion\n #-------------------------------------------------------------------------------\n-function inline_expand(text, _ret,_ltext,_rtext,_mtext,_name,_r,_s,_a,_caps){\n-  _ret=\"\";\n-  while(match(text,\/\\${([^{}]|\\\\.)+}|\\$\"([^\"]|\\\\.)+\"\/)>0){\n-    _ltext=substr(text,1,RSTART-1);\n-    _mtext=substr(text,RSTART,RLENGTH);\n-    _rtext=substr(text,RSTART+RLENGTH);\n-    _name=unescape(slice(_mtext,2,-1));\n-    if(match(_name,\/^[-a-zA-Z0-9_]+$\/)>0){                     # ${key}\n-      _r=\"\" d_data[_name];\n-    }else if(match(_name,\/^[-a-zA-Z0-9_]+\\:-\/)>0){             # ${key:-alter}\n-      _s[\"key\"]=slice(_name,0,RLENGTH-2);\n-      _s[\"alter\"]=slice(_name,RLENGTH);\n-      _r=\"\" d_data[_s[\"key\"]];\n-      if(_r==\"\")_r=_s[\"alter\"];\n-    }else if(match(_name,\/^[-a-zA-Z0-9_]+\\:\\+\/)>0){            # ${key:+value}\n-      _s[\"key\"]=slice(_name,0,RLENGTH-2);\n-      _s[\"value\"]=slice(_name,RLENGTH);\n-      _r=\"\" d_data[_s[\"key\"]];\n-      _r=_r==\"\"?\"\":_s[\"value\"];\n-    }else if(match(_name,\/^[-a-zA-Z0-9_]+\\:\\?\/)>0){            # ${key:?warn}\n-      _s[\"key\"]=slice(_name,0,RLENGTH-2);\n-      _s[\"warn\"]=slice(_name,RLENGTH);\n-      _r=\"\" d_data[_s[\"key\"]];\n-      if(_r==\"\"){\n+function inline_expand(text, _, _ret, _ltext, _rtext, _mtext, _name, _r, _s, _a, _caps) {\n+  _ret = \"\";\n+  while (match(text, \/\\${([^{}]|\\\\.)+}|\\$\"([^\"]|\\\\.)+\"\/) > 0) {\n+    _ltext = substr(text, 1, RSTART - 1);\n+    _mtext = substr(text, RSTART, RLENGTH);\n+    _rtext = substr(text, RSTART + RLENGTH);\n+    _name = unescape(slice(_mtext, 2, -1));\n+    if (match(_name, \/^[-a-zA-Z0-9_]+$\/) > 0) {                     # ${key}\n+      _r = \"\" d_data[_name];\n+    } else if (match(_name, \/^[-a-zA-Z0-9_]+:-\/) > 0) {             # ${key:-alter}\n+      _s[\"key\"] = slice(_name, 0, RLENGTH - 2);\n+      _s[\"alter\"] = slice(_name, RLENGTH);\n+      _r = \"\" d_data[_s[\"key\"]];\n+      if (_r == \"\") _r = _s[\"alter\"];\n+    } else if (match(_name, \/^[-a-zA-Z0-9_]+:\\+\/) > 0) {            # ${key:+value}\n+      _s[\"key\"] = slice(_name, 0, RLENGTH - 2);\n+      _s[\"value\"] = slice(_name, RLENGTH);\n+      _r = \"\" d_data[_s[\"key\"]];\n+      _r = _r == \"\" ? \"\" : _s[\"value\"];\n+    } else if (match(_name, \/^[-a-zA-Z0-9_]+:\\?\/) > 0) {            # ${key:?warn}\n+      _s[\"key\"] = slice(_name, 0, RLENGTH - 2);\n+      _s[\"warn\"] = slice(_name, RLENGTH);\n+      _r = \"\" d_data[_s[\"key\"]];\n+      if (_r == \"\") {\n         print \"(parameter expansion:\" _mtext \")! \" _s[\"warn\"] > \"\/dev\/stderr\"\n-        _ltext=_ltext _mtext;\n-        _r=\"\";\n-      }\n-    }else if(match(_name,\/^([-a-zA-Z0-9_]+)\\:([0-9]+)\\:([0-9]+)$\/,_caps)>0){ # ${key:start:length}\n-      _r=substr(d_data[_caps[1]],_caps[2]+1,_caps[3]);\n-    }else if(match(_name,\/^([-a-zA-Z0-9_]+)(\\\/\\\/?)(([^\/]|\\\\.)+)\\\/(.*)$\/,_caps)>0){ # ${key\/before\/after}\n-      _r=d_data[_caps[1]];\n-      if(_caps[3]==\"\/\")\n-        sub(_caps[3],_caps[5],_r);\n+        _ltext = _ltext _mtext;\n+        _r = \"\";\n+      }\n+    } else if (match(_name, \/^([-a-zA-Z0-9_]+):([0-9]+):([0-9]+)$\/, _caps) > 0) { # ${key:start:length}\n+      _r = substr(d_data[_caps[1]], _caps[2] + 1, _caps[3]);\n+    } else if (match(_name, \/^([-a-zA-Z0-9_]+)(\\\/\\\/?)(([^\/]|\\\\.)+)\\\/(.*)$\/, _caps) > 0) { # ${key\/before\/after}\n+      _r = d_data[_caps[1]];\n+      if (_caps[3] == \"\/\")\n+        sub(_caps[3], _caps[5], _r);\n       else\n-        gsub(_caps[3],_caps[5],_r);\n-    }else if(match(_name,\/^([-a-zA-Z0-9_]+)(##?|%%?)(.+)$\/,_caps)>0){ # ${key#head} ${key%tail}\n-      if(length(_caps[2])==2){\n+        gsub(_caps[3], _caps[5], _r);\n+    } else if (match(_name, \/^([-a-zA-Z0-9_]+)(##?|%%?)(.+)$\/, _caps) > 0) { # ${key#head} ${key%tail}\n+      if (length(_caps[2]) == 2) {\n         # TODO\n-        gsub(\/\\.\/,\/\\.\/,_caps[3]);\n-        gsub(\/\\*\/,\/.+\/,_caps[3]);\n-        gsub(\/\\?\/,\/.\/,_caps[3]);\n-      }\n-      if(_caps[2]==\"#\"||_caps[2]==\"##\"){\n-        _caps[3]=\"^\" _caps[3];\n-      }else{\n-        _caps[3]=_caps[3] \"$\";\n-      }\n-\n-      _r=d_data[_caps[1]];\n-      sub(_caps[3],\"\",_r);\n-    }else if(match(_name,\/^\\#[-a-zA-Z0-9_]+$\/)>0){             # ${#key}\n-      _r=length(\"\" d_data[substr(_name,2)]);\n-    }else if(match(_name,\/^([-a-zA-Z0-9_]+)(\\..+)$\/,_caps)>0){ # ${key.modifiers}\n-      _r=modify_text(d_data[_caps[1]],_caps[2]);\n-    }else if(match(_name,\/^\\.[-a-zA-Z0-9_]+.\/)>0){             # ${.function:args...}\n-      match(_name,\/^\\.[-a-zA-Z0-9_]+.\/);\n-      _s[\"i\"]=RLENGTH;\n-      _s[\"func\"]=substr(_name,2,_s[\"i\"]-2);\n-      _s[\"sep\"] =substr(_name,_s[\"i\"],1);\n-      _s[\"args\"]=substr(_name,_s[\"i\"]+1);\n-      _s[\"argc\"]=split(_s[\"args\"],_a,_s[\"sep\"]);\n-      if(_s[\"func\"]==\"for\"&&_s[\"argc\"]==5){\n-        _r=inline_function_for(_a);\n-      }else if(_s[\"func\"]==\"sep_for\"&&_s[\"argc\"]==5){\n-        _r=inline_function_sepfor(_a);\n-      }else if(_s[\"func\"]==\"for_sep\"&&_s[\"argc\"]==5){\n-        _r=inline_function_forsep(_a);\n-      }else if(_s[\"func\"]==\"eval\"&&_s[\"argc\"]==1){\n-        _r=inline_function_eval(_a);\n-      }else{\n-        print \"(parameter function:\" _s[\"func\"] \")! unrecognized function.\" > \"\/dev\/stderr\"\n-        _r=_mtext;\n-      }\n-    }else{\n-      print \"(parameter expansion:\" _mtext \")! unrecognized expansion.\" > \"\/dev\/stderr\"\n-      _r=_mtext;\n-    }\n-\n-    if(_mtext ~ \/^\\${\/){\n+        gsub(\/\\.\/, \/\\.\/, _caps[3]);\n+        gsub(\/\\*\/, \/.+\/, _caps[3]);\n+        gsub(\/\\?\/, \/.\/, _caps[3]);\n+      }\n+      if (_caps[2] == \"#\" || _caps[2] == \"##\") {\n+        _caps[3] = \"^\" _caps[3];\n+      } else {\n+        _caps[3] = _caps[3] \"$\";\n+      }\n+\n+      _r = d_data[_caps[1]];\n+      sub(_caps[3], \"\", _r);\n+    } else if (match(_name, \/^#[-a-zA-Z0-9_]+$\/) > 0) {             # ${#key}\n+      _r = length(\"\" d_data[substr(_name, 2)]);\n+    } else if (match(_name, \/^([-a-zA-Z0-9_]+)(\\..+)$\/, _caps) > 0) { # ${key.modifiers}\n+      _r = modify_text(d_data[_caps[1]], _caps[2]);\n+    } else if (match(_name, \/^\\.[-a-zA-Z0-9_]+.\/) > 0) {             # ${.function:args...}\n+      match(_name, \/^\\.[-a-zA-Z0-9_]+.\/);\n+      _s[\"i\"] = RLENGTH;\n+      _s[\"func\"] = substr(_name, 2, _s[\"i\"] - 2);\n+      _s[\"sep\"] =substr(_name, _s[\"i\"], 1);\n+      _s[\"args\"] = substr(_name, _s[\"i\"] + 1);\n+      _s[\"argc\"] = split(_s[\"args\"], _a, _s[\"sep\"]);\n+      if (_s[\"func\"] == \"for\" && _s[\"argc\"] == 5) {\n+        _r = inline_function_for(_a);\n+      } else if (_s[\"func\"] == \"sep_for\" && _s[\"argc\"] == 5) {\n+        _r = inline_function_sepfor(_a);\n+      } else if (_s[\"func\"] == \"for_sep\" && _s[\"argc\"] == 5) {\n+        _r = inline_function_forsep(_a);\n+      } else if (_s[\"func\"] == \"eval\" && _s[\"argc\"] == 1) {\n+        _r = inline_function_eval(_a);\n+      } else {\n+        print \"(parameter function:\" _s[\"func\"] \")! unrecognized function.\" > \"\/dev\/stderr\";\n+        _r = _mtext;\n+      }\n+    } else {\n+      print \"(parameter expansion:\" _mtext \")! unrecognized expansion.\" > \"\/dev\/stderr\";\n+      _r = _mtext;\n+    }\n+\n+    if (_mtext ~ \/^\\${\/) {\n       # enable re-expansion ${}\n-      _ret=_ret _ltext;\n-      text=_r _rtext;\n-    }else{\n+      _ret = _ret _ltext;\n+      text = _r _rtext;\n+    } else {\n       # disable re-expansion $\"\"\n-      _ret=_ret _ltext _r;\n-      text=_rtext;\n+      _ret = _ret _ltext _r;\n+      text = _rtext;\n     }\n   }\n   return _ret text;\n }\n \n-function inline_function_forsep(args,  _r,_sep){\n-  _sep=args[5];\n-  _r=inline_function_for(args);\n-  return _r==\"\"?\"\":_r _sep;\n-}\n-function inline_function_sepfor(args,  _r,_sep){\n-  _sep=args[5];\n-  _r=inline_function_for(args);\n-  return _r==\"\"?\"\":_sep _r;\n-}\n-function inline_function_for(args, _rex_i,_i0,_iM,_field,_sep,_i,_r,_t){\n+function inline_function_forsep(args, _, _r, _sep) {\n+  _sep = args[5];\n+  _r = inline_function_for(args);\n+  return _r == \"\" ? \"\" : _r _sep;\n+}\n+function inline_function_sepfor(args, _, _r, _sep) {\n+  _sep = args[5];\n+  _r = inline_function_for(args);\n+  return _r == \"\" ? \"\" : _sep _r;\n+}\n+function inline_function_for(args, _, _rex_i, _i0, _iM, _field, _sep, _i, _r, _t) {\n   # ${for:%i%:1:9:typename A%i%:,}\n-  _rex_i=args[1];\n-  _i0=int(eval_expr(args[2]));\n-  _iM=int(eval_expr(args[3]));\n-  _field=args[4];\n-  _sep=args[5];\n-\n-  _r=\"\";\n-  for(_i=_i0;_i<_iM;_i++){\n-    _t=_field;\n-    gsub(_rex_i,_i,_t);\n-    _r=_i==_i0?_t:_r _sep _t;\n+  _rex_i = args[1];\n+  _i0 = int(eval_expr(args[2]));\n+  _iM = int(eval_expr(args[3]));\n+  _field = args[4];\n+  _sep = args[5];\n+\n+  _r = \"\";\n+  for (_i = _i0; _i < _iM; _i++) {\n+    _t = _field;\n+    gsub(_rex_i, _i, _t);\n+    _r = _i == _i0?_t:_r _sep _t;\n   }\n   return _r;\n }\n-function inline_function_eval(args){\n+function inline_function_eval(args) {\n   return eval_expr(args[1]);\n }\n \n #===============================================================================\n #   mwg.pp text modification\n #-------------------------------------------------------------------------------\n-function modify_text__replace0(text,before,after,flags){\n-  if(index(flags,\"R\")){\n-    return replace(text,before,after);\n-  }else{\n-    gsub(before,after,text);\n+function modify_text__replace0(text, before, after, flags) {\n+  if (index(flags, \"R\")) {\n+    return replace(text, before, after);\n+  } else {\n+    gsub(before, after, text);\n     return text;\n   }\n }\n \n-function modify_text__replace(content,before,after,flags){\n-  if(index(flags,\"m\")){\n-    _jlen=split(content,_lines,\"\\n\");\n-    content=modify_text__replace0(_lines[1],before,after,flags);\n-    #print_error(\"mwg_pp(modify_text)\",\"replace('\" _lines[1] \"','\" before \"','\" after \"') = '\" content \"'\");\n-    for(_j=1;_j<_jlen;_j++)\n-      content=content \"\\n\" modify_text__replace0(_lines[_j+1],before,after,flags);\n-  }else{\n-    content=modify_text__replace0(content,before,after,flags);\n+function modify_text__replace(content, before, after, flags) {\n+  if (index(flags, \"m\")) {\n+    _jlen = split(content, _lines, \"\\n\");\n+    content = modify_text__replace0(_lines[1], before, after, flags);\n+    #print_error(\"mwg_pp(modify_text)\", \"replace('\" _lines[1] \"','\" before \"','\" after \"') = '\" content \"'\");\n+    for (_j = 1; _j < _jlen; _j++)\n+      content = content \"\\n\" modify_text__replace0(_lines[_j + 1], before, after, flags);\n+  } else {\n+    content = modify_text__replace0(content, before, after, flags);\n   }\n   return content;\n }\n \n-function modify_text(content,args, _len,_i,_m,_s,_c, _j,_jlen,_lines){\n+function modify_text(content, args, _len, _i, _m, _s, _c, _j, _jlen, _lines) {\n   # _len: length of args\n   # _i: index in args\n   # _c: current character in args\n   # _m: current context mode in args\n   # _s: data store\n \n-  _m=\"\";\n-  _len=length(args);\n-  for(_i=0;_i<_len;_i++){\n-    _c=substr(args,_i+1,1);\n+  _m = \"\";\n+  _len = length(args);\n+  for (_i = 0; _i < _len; _i++) {\n+    _c = substr(args, _i + 1, 1);\n     #-------------------------------------------------\n-    if(_m==\"c\"){\n-      if(_c==\"r\"||_c==\"R\"){\n-        _m=\"r0\";\n-        _s[\"flags\"]=_c==\"R\"?_c:\"\";\n-        _s[\"sep\"]=\"\";\n-        _s[\"rep_before\"]=\"\";\n-        _s[\"rep_after\"]=\"\";\n-      }else if(_c==\"f\"){\n-        _m=\"f0\";\n-        _s[\"sep\"]=\"\";\n-        _s[\"for_var\"]=\"\";\n-        _s[\"for_begin\"]=\"\";\n-        _s[\"for_end\"]=\"\";\n-      }else if(_c==\"i\"){\n-        content=inline_expand(content);\n-        _m=\"\";\n-      }else{\n+    if (_m == \"c\") {\n+      if (_c == \"r\" || _c == \"R\") {\n+        _m = \"r0\";\n+        _s[\"flags\"] = _c == \"R\"?_c:\"\";\n+        _s[\"sep\"] = \"\";\n+        _s[\"rep_before\"] = \"\";\n+        _s[\"rep_after\"] = \"\";\n+      } else if (_c == \"f\") {\n+        _m = \"f0\";\n+        _s[\"sep\"] = \"\";\n+        _s[\"for_var\"] = \"\";\n+        _s[\"for_begin\"] = \"\";\n+        _s[\"for_end\"] = \"\";\n+      } else if (_c == \"i\") {\n+        content = inline_expand(content);\n+        _m = \"\";\n+      } else {\n         print \"unrecognized expand fun '\" _c \"'\" > \"\/dev\/stderr\"\n       }\n     #-------------------------------------------------\n     # r, R: replace\n-    }else if(_m==\"r0\"){\n-      _s[\"sep\"]=_c;\n-      _m=\"r1\";\n-    }else if(_m==\"r1\"){\n-      if(_c==_s[\"sep\"]){\n-        _m=\"r2\";\n-      }else{\n-        _s[\"rep_before\"]=_s[\"rep_before\"] _c;\n-      }\n-    }else if(_m==\"r2\"){\n-      if(_c==_s[\"sep\"]){\n+    } else if (_m == \"r0\") {\n+      _s[\"sep\"] = _c;\n+      _m = \"r1\";\n+    } else if (_m == \"r1\") {\n+      if (_c == _s[\"sep\"]) {\n+        _m = \"r2\";\n+      } else {\n+        _s[\"rep_before\"] = _s[\"rep_before\"] _c;\n+      }\n+    } else if (_m == \"r2\") {\n+      if (_c == _s[\"sep\"]) {\n \n         # check flag m\n-        _c=substr(args,_i+2,1);\n-        if(_c==\"m\"){\n-          _s[\"flags\"]=_s[\"flags\"] \"m\";\n+        _c = substr(args, _i + 2, 1);\n+        if (_c == \"m\") {\n+          _s[\"flags\"] = _s[\"flags\"] \"m\";\n           _i++;\n         }\n \n-        content=modify_text__replace(content,_s[\"rep_before\"],_s[\"rep_after\"],_s[\"flags\"]);\n-        _m=\"\";\n-      }else{\n-        _s[\"rep_after\"]=_s[\"rep_after\"] _c;\n+        content = modify_text__replace(content, _s[\"rep_before\"], _s[\"rep_after\"], _s[\"flags\"]);\n+        _m = \"\";\n+      } else {\n+        _s[\"rep_after\"] = _s[\"rep_after\"] _c;\n       }\n     #-------------------------------------------------\n     # f: for\n-    }else if(_m==\"f0\"){\n-      _s[\"sep\"]=_c;\n-      _m=\"f1\";\n-    }else if(_m==\"f1\"){\n-      if(_c!=_s[\"sep\"]){\n-        _s[\"for_var\"]=_s[\"for_var\"] _c;\n-      }else{\n-        _m=\"f2\";\n-      }\n-    }else if(_m==\"f2\"){\n-      if(_c!=_s[\"sep\"]){\n-        _s[\"for_begin\"]=_s[\"for_begin\"] _c;\n-      }else{\n-        _s[\"for_begin\"]=int(eval_expr(_s[\"for_begin\"]));\n-        _m=\"f3\";\n-      }\n-    }else if(_m==\"f3\"){\n-      if(_c!=_s[\"sep\"]){\n-        _s[\"for_end\"]=_s[\"for_end\"] _c;\n-      }else{\n-        _s[\"for_end\"]=int(eval_expr(_s[\"for_end\"]));\n-        _m=\"\";\n-\n-        _s[\"content\"]=content;\n-        content=\"\";\n-        for(_s[\"i\"]=_s[\"for_begin\"];_s[\"i\"]<_s[\"for_end\"];_s[\"i\"]++){\n-          _c=_s[\"content\"];\n-          gsub(_s[\"for_var\"],_s[\"i\"],_c);\n-          content=content _c;\n+    } else if (_m == \"f0\") {\n+      _s[\"sep\"] = _c;\n+      _m = \"f1\";\n+    } else if (_m == \"f1\") {\n+      if (_c != _s[\"sep\"]) {\n+        _s[\"for_var\"] = _s[\"for_var\"] _c;\n+      } else {\n+        _m = \"f2\";\n+      }\n+    } else if (_m == \"f2\") {\n+      if (_c != _s[\"sep\"]) {\n+        _s[\"for_begin\"] = _s[\"for_begin\"] _c;\n+      } else {\n+        _s[\"for_begin\"] = int(eval_expr(_s[\"for_begin\"]));\n+        _m = \"f3\";\n+      }\n+    } else if (_m == \"f3\") {\n+      if (_c != _s[\"sep\"]) {\n+        _s[\"for_end\"] = _s[\"for_end\"] _c;\n+      } else {\n+        _s[\"for_end\"] = int(eval_expr(_s[\"for_end\"]));\n+        _m = \"\";\n+\n+        _s[\"content\"] = content;\n+        content = \"\";\n+        for (_s[\"i\"] = _s[\"for_begin\"]; _s[\"i\"] < _s[\"for_end\"]; _s[\"i\"]++) {\n+          _c = _s[\"content\"];\n+          gsub(_s[\"for_var\"], _s[\"i\"], _c);\n+          content = content _c;\n         }\n       }\n     #-------------------------------------------------\n-    }else{\n-      if(_c==\".\"){\n-        _m=\"c\";\n-      }else if(_c ~ \/[\/#]\/){\n+    } else {\n+      if (_c == \".\") {\n+        _m = \"c\";\n+      } else if (_c ~ \/[\/#]\/) {\n         break;\n-      }else if(_c !~ \/[ \\t\\r\\n]\/){\n+      } else if (_c !~ \/[ \\t\\r\\n]\/) {\n         print \"unrecognized expand cmd '\" _c  \"'\" > \"\/dev\/stderr\"\n       }\n     }\n@@ -1128,73 +1128,73 @@\n #===============================================================================\n #   mwg.pp commands\n #-------------------------------------------------------------------------------\n-function range_begin(cmd,arg){\n+function range_begin(cmd, arg) {\n   d_level++;\n-  d_rstack[d_level,\"c\"]=cmd;\n-  d_rstack[d_level,\"a\"]=arg;\n-  d_content[d_level]=\"\";\n-  d_content[d_level,\"L\"]=\"\";\n-  d_content[d_level,\"F\"]=\"\";\n-}\n-function range_end(args, _cmd,_arg,_txt,_clines,_cfiles){\n-  if(d_level==0){\n+  d_rstack[d_level, \"c\"] = cmd;\n+  d_rstack[d_level, \"a\"] = arg;\n+  d_content[d_level] = \"\";\n+  d_content[d_level, \"L\"] = \"\";\n+  d_content[d_level, \"F\"] = \"\";\n+}\n+function range_end(args, _cmd, _arg, _txt, _clines, _cfiles) {\n+  if (d_level == 0) {\n     print \"mwg_pp.awk:#%}: no matching range beginning\" > \"\/dev\/stderr\"\n     return;\n   }\n \n   # pop data\n-  _cmd=d_rstack[d_level,\"c\"];\n-  _arg=d_rstack[d_level,\"a\"];\n-  _txt=d_content[d_level];\n-  if(m_lineno){ # 20120726\n-    _clines=d_content[d_level,\"L\"];\n-    _cfiles=d_content[d_level,\"F\"];\n+  _cmd = d_rstack[d_level, \"c\"];\n+  _arg = d_rstack[d_level, \"a\"];\n+  _txt = d_content[d_level];\n+  if (m_lineno) { # 20120726\n+    _clines = d_content[d_level, \"L\"];\n+    _cfiles = d_content[d_level, \"F\"];\n   }\n   d_level--;\n \n-  if(args!=\"\")\n-    _txt=modify_text(_txt,args);\n+  if (args != \"\")\n+    _txt = modify_text(_txt, args);\n \n   # process\n-  if(_cmd==\"define\"){\n-    d_data[_arg]=_txt;\n-    if(m_lineno){ # 20120726\n-      d_data[_arg,\"L\"]=_clines;\n-      d_data[_arg,\"F\"]=_cfiles;\n-    }\n-  }else if(_cmd==\"expand\"||_cmd==\"IF1\"||_cmd==\"IF4\"){\n-    process_multiline(_txt,_clines,_cfiles); # 20120726\n-  }else if(_cmd==\"none\"||_cmd ~ \/IF[023]\/){\n+  if (_cmd == \"define\") {\n+    d_data[_arg] = _txt;\n+    if (m_lineno) { # 20120726\n+      d_data[_arg, \"L\"] = _clines;\n+      d_data[_arg, \"F\"] = _cfiles;\n+    }\n+  } else if (_cmd == \"expand\" || _cmd == \"IF1\" || _cmd == \"IF4\") {\n+    process_multiline(_txt, _clines, _cfiles); # 20120726\n+  } else if (_cmd == \"none\" || _cmd ~ \/IF[023]\/) {\n     # do nothing\n-  }else{\n+  } else {\n     print \"mwg_pp.awk:#%}: unknown range beginning '\" _cmd \" ( \" _arg \" )'\" > \"\/dev\/stderr\"\n   }\n }\n \n-function dctv_define(args,  _cap,_name,_name2){\n-  if(match(args,\/^([-A-Za-z0-9_\\:]+)[[:space:]]*(\\([[:space:]]*)?$\/,_cap)>0){\n+function dctv_define(args, _, _cap, _name, _name2) {\n+  if (match(args, \/^([-A-Za-z0-9_:]+)[[:space:]]*(\\([[:space:]]*)?$\/, _cap) > 0) {\n     # dctv: #%define hoge\n     # dctv: #%define hoge (\n-    _name=_cap[1];\n-    if(_name==\"end\")\n+    _name = _cap[1];\n+    if (_name == \"end\")\n       range_end(\"\");\n     else\n-      range_begin(\"define\",_name);\n-  }else if(match(args,\/^([-_\\:[:alnum:]]+)[[:space:]]+([-_\\:[:alnum:]]+)(.*)$\/,_cap)>0){\n+      range_begin(\"define\", _name);\n+  } else if (match(args, \/^([-_:[:alnum:]]+)[[:space:]]+([-_:[:alnum:]]+)(.*)$\/, _cap) > 0) {\n     # dctv: #%define a b.mods\n-    _name=_cap[1];\n-    _name2=_cap[2];\n-    _args=trim(_cap[3]);\n-    if(_args!=\"\")\n-      d_data[_name]=modify_text(d_data[_name2],_args);\n+    _name = _cap[1];\n+    _name2 = _cap[2];\n+    _args = trim(_cap[3]);\n+    if (_args != \"\")\n+      d_data[_name] = modify_text(d_data[_name2], _args);\n     else\n-      d_data[_name]=d_data[_name2];\n-\n-    if(m_lineno){\n-      d_data[_name,\"L\"]=d_data[_name2,\"L\"];\n-      d_data[_name,\"F\"]=d_data[_name2,\"F\"];\n-    }\n-  }else{\n+      d_data[_name] = d_data[_name2];\n+\n+    if (m_lineno) {\n+      d_data[_name, \"L\"] = d_data[_name2, \"L\"];\n+      d_data[_name, \"F\"] = d_data[_name2, \"F\"];\n+    }\n+  } else {\n     print \"mwg_pp.awk:#%define: missing data name\" > \"\/dev\/stderr\"\n     return;\n   }\n@@ -1208,213 +1208,213 @@\n # IF3 \u51fa\u529b\u305b\u305a !IF3  !IF3  !IF3 (else unmatched) \u65e7 \"el0\"\n # IF4 \u51fa\u529b\u3059\u308b !IF3  !IF3  !IF3 (else matched)   \u65e7 \"el1\"\n \n-function dctv_if(cond,  _cap){\n-  gsub(\/^[ \\t]+|[ \\t]*(\\([ \\t]*)?$\/,\"\",cond);\n-  if(cond!=\"\"){\n+function dctv_if(cond, _, _cap) {\n+  gsub(\/^[ \\t]+|[ \\t]*(\\([ \\t]*)?$\/, \"\", cond);\n+  if (cond != \"\") {\n     #print \"dbg: if( \"cond \" ) -> \" eval_expr(cond) > \"\/dev\/stderr\"\n-    if(cond==\"end\")\n+    if (cond == \"end\") {\n       range_end(\"\");\n-    else if(eval_expr(cond)){\n+    } else if (eval_expr(cond)) {\n       range_begin(\"IF1\");\n-    }else{\n+    } else {\n       range_begin(\"IF0\");\n     }\n-  }else{\n+  } else {\n     print \"mwg_pp.awk:#%define: missing data name\" > \"\/dev\/stderr\"\n     return;\n   }\n }\n-function dctv_elif(cond, _cmd){\n-  if(d_level==0){\n+function dctv_elif(cond, _cmd) {\n+  if (d_level == 0) {\n     print \"mwg_pp.awk:#%elif: no matching if directive\" > \"\/dev\/stderr\"\n     return;\n   }\n \n-  _cmd=d_rstack[d_level,\"c\"];\n-  if(_cmd ~ \/IF[0-4]\/){\n+  _cmd = d_rstack[d_level, \"c\"];\n+  if (_cmd ~ \/IF[0-4]\/) {\n     range_end(\"\");\n-    if(_cmd==\"IF0\"){\n-      if(eval_expr(cond)){\n+    if (_cmd == \"IF0\") {\n+      if (eval_expr(cond)) {\n         range_begin(\"IF1\");\n-      }else{\n+      } else {\n         range_begin(\"IF0\");\n       }\n-    }else if(_cmd ~ \/IF[12]\/){\n+    } else if (_cmd ~ \/IF[12]\/) {\n       range_begin(\"IF2\");\n-    }else{\n+    } else {\n       range_begin(\"IF3\");\n-      if(_cmd ~ \/IF[34]\/)\n-        print_error(\"mwgpp:#%else\",\"if clause have already ended!\");\n-    }\n-  }else{\n-    print_error(\"mwgpp:#%else\",\"no matching if directive\");\n-  }\n-}\n-function dctv_else(  _cap,_cmd){\n-  if(d_level==0){\n-    print_error(\"mwgpp:#%else\",\"no matching if directive\");\n+      if (_cmd ~ \/IF[34]\/)\n+        print_error(\"mwgpp:#%else\", \"if clause have already ended!\");\n+    }\n+  } else {\n+    print_error(\"mwgpp:#%else\", \"no matching if directive\");\n+  }\n+}\n+function dctv_else(_, _cap, _cmd) {\n+  if (d_level == 0) {\n+    print_error(\"mwgpp:#%else\", \"no matching if directive\");\n     return;\n   }\n \n-  _cmd=d_rstack[d_level,\"c\"];\n-  if(_cmd ~ \/IF[0-4]\/){\n+  _cmd = d_rstack[d_level, \"c\"];\n+  if (_cmd ~ \/IF[0-4]\/) {\n     range_end(\"\");\n-    if(_cmd==\"IF0\"){\n+    if (_cmd == \"IF0\") {\n       range_begin(\"IF4\");\n-    }else{\n+    } else {\n       range_begin(\"IF3\");\n-      if(_cmd ~ \/IF[34]\/)\n-        print_error(\"mwgpp:#%else\",\"if clause have already ended!\");\n-    }\n-  }else{\n-    print_error(\"mwgpp:#%else\",\"no matching if directive\");\n-  }\n-}\n-\n-function dctv_expand(args,  _cap,_txt,_type){\n-  if(match(args,\/^([-a-zA-Z\\:0-9_]+|[\\(])(.*)$\/,_cap)>0){\n-    if(_cap[1]==\"(\"){\n-      _type=1;\n-    }else{\n-      _txt=d_data[_cap[1]];\n-      _txt=modify_text(_txt,_cap[2]);\n-      process_multiline(_txt,d_data[_cap[1],\"L\"],d_data[_cap[1],\"F\"]);\n-    }\n-  }else if(match(args,\/^[[:space:]]*$\/)>0){\n-    _type=1;\n-  }else{\n+      if (_cmd ~ \/IF[34]\/)\n+        print_error(\"mwgpp:#%else\", \"if clause have already ended!\");\n+    }\n+  } else {\n+    print_error(\"mwgpp:#%else\", \"no matching if directive\");\n+  }\n+}\n+\n+function dctv_expand(args, _, _cap, _txt, _type) {\n+  if (match(args, \/^([-a-zA-Z:0-9_]+|[\\(])(.*)$\/, _cap) > 0) {\n+    if (_cap[1] == \"(\") {\n+      _type = 1;\n+    } else {\n+      _txt = d_data[_cap[1]];\n+      _txt = modify_text(_txt, _cap[2]);\n+      process_multiline(_txt, d_data[_cap[1], \"L\"], d_data[_cap[1], \"F\"]);\n+    }\n+  } else if (match(args, \/^[[:space:]]*$\/) > 0) {\n+    _type = 1;\n+  } else {\n     print \"mwg_pp.awk:#%expand: missing data name\" > \"\/dev\/stderr\"\n     return;\n   }\n \n-  if(_type==1){\n+  if (_type == 1) {\n     # begin expand\n-    range_begin(\"expand\",_cap[2]); # _cap[2] not used\n-  }\n-}\n-\n-function dctv_modify(args,  _i,_len,_name,_content){\n-  _i=match(args,\/[^-a-zA-Z\\:0-9_]\/);\n-  _len=_i?_i-1:length(args);\n-  _name=substr(args,1,_len);\n-  args=trim(substr(args,_len+1));\n-\n-  d_data[_name]=modify_text(d_data[_name],args);\n-}\n-\n-function include_file(file, _line,_lines,_i,_n,_dir,_originalFile,_originalLine){\n-  if(file ~ \/^<.+>$\/){\n-    gsub(\/^<|>$\/,\"\",file);\n-    file=INCLUDE_DIRECTORY \"\/\" file;\n-  }else{\n-    gsub(\/^\"|\"$\/,\"\",file);\n-    if(file !~ \/^\\\/\/){\n-      _dir=awk_getfiledir();\n-      if(_dir!=\"\")file=_dir \"\/\" file;\n-    }\n-  }\n-\n-  _n=0;\n-  while((_r = getline _line < file) >0)\n-    _lines[_n++]=_line;\n-  if(_r<0)\n+    range_begin(\"expand\", _cap[2]); # _cap[2] not used\n+  }\n+}\n+\n+function dctv_modify(args, _, _i, _len, _name, _content) {\n+  _i = match(args, \/[^-a-zA-Z:0-9_]\/);\n+  _len = _i?_i - 1:length(args);\n+  _name = substr(args, 1, _len);\n+  args = trim(substr(args, _len + 1));\n+\n+  d_data[_name] = modify_text(d_data[_name], args);\n+}\n+\n+function include_file(file, _line, _lines, _i, _n, _dir, _originalFile, _originalLine) {\n+  if (file ~ \/^<.+>$\/) {\n+    gsub(\/^<|>$\/, \"\", file);\n+    file = INCLUDE_DIRECTORY \"\/\" file;\n+  } else {\n+    gsub(\/^\"|\"$\/, \"\", file);\n+    if (file !~ \/^\\\/\/) {\n+      _dir = awk_getfiledir();\n+      if (_dir != \"\") file = _dir \"\/\" file;\n+    }\n+  }\n+\n+  _n = 0;\n+  while ((_r = getline _line < file) >0)\n+    _lines[_n++] = _line;\n+  if (_r < 0)\n     print_error(\"could not open the include file '\" file \"'\");\n   close(file);\n \n   dependency_add(file);\n \n-  _originalFile=m_lineno_cfile;\n-  _originalLine=m_lineno_cline;\n-  for(_i=0;_i<_n;_i++){\n-    m_lineno_cfile=file; # 20120726\n-    m_lineno_cline=_i+1; # 20120726\n+  _originalFile = m_lineno_cfile;\n+  _originalLine = m_lineno_cline;\n+  for (_i = 0; _i < _n; _i++) {\n+    m_lineno_cfile = file; # 20120726\n+    m_lineno_cline = _i + 1; # 20120726\n     process_line(_lines[_i]);\n   }\n-  m_lineno_cfile=_originalFile; # 2015-01-24\n-  m_lineno_cline=_originalLine; # 2015-01-24\n-}\n-\n-function dctv_error(message, _title){\n-  if(m_lineno_cfile!=\"\"||m_lineno)\n-    _title=m_lineno_cfile \":\" m_lineno_cline;\n+  m_lineno_cfile = _originalFile; # 2015-01-24\n+  m_lineno_cline = _originalLine; # 2015-01-24\n+}\n+\n+function dctv_error(message, _title) {\n+  if (m_lineno_cfile != \"\" || m_lineno)\n+    _title = m_lineno_cfile \":\" m_lineno_cline;\n   else\n-    _title=FILENAME;\n-\n-  print_error(_title,message);\n+    _title = FILENAME;\n+\n+  print_error(_title, message);\n }\n \n #===============================================================================\n-function data_define(pair, _sep,_i,_k,_v,_capt,_rex){\n-  if(pair ~ \/^[^\\(_a-zA-Z0-9]\/){ # #%data\/name\/value\/\n-\n-    _sep=\"\\\\\" substr(pair,1,1);\n-    _rex=\"^\" _sep \"([^\" _sep \"]+)\" _sep \"([^\" _sep \"]+)\" _sep\n-    if(match(pair,_rex,_capt)){\n-      _k=_capt[1];\n-      _v=_capt[2];\n-      d_data[_k]=_v;\n-    }else{\n-      printf(\"(#%%data directive)! ill-formed. (pair=%s, _rex=%s)\\n\",pair,_rex) > \"\/dev\/stderr\"\n+function data_define(pair, _sep, _i, _k, _v, _capt, _rex) {\n+  if (pair ~ \/^[^\\(_a-zA-Z0-9]\/) { # #%data\/name\/value\/\n+\n+    _sep = \"\\\\\" substr(pair, 1, 1);\n+    _rex = \"^\" _sep \"([^\" _sep \"]+)\" _sep \"([^\" _sep \"]+)\" _sep\n+    if (match(pair, _rex, _capt)) {\n+      _k = _capt[1];\n+      _v = _capt[2];\n+      d_data[_k] = _v;\n+    } else {\n+      printf(\"(#%%data directive)! ill-formed. (pair=%s, _rex=%s)\\n\", pair, _rex) > \"\/dev\/stderr\"\n       return 0;\n     }\n-  }else{ # #%data name value\n+  } else { # #%data name value\n     # #%data(=) name=value\n-    _sep=\"\";\n-    if(match(pair,\/^\\([^\\)]+\\)\/)>0){\n-      _sep=substr(pair,2,RLENGTH-2);\n-      pair=trim(substr(pair,RLENGTH+1));\n-    }\n-\n-    _i=_sep!=\"\"?index(pair,_sep):match(pair,\/[ \\t]\/);\n-    if(_i<=0){\n-      printf(\"(#%%data directive)! ill-formed. (pair=%s, _sep=%s)\\n\",pair,_sep) > \"\/dev\/stderr\"\n+    _sep = \"\";\n+    if (match(pair, \/^\\([^\\)]+\\)\/) > 0) {\n+      _sep = substr(pair, 2, RLENGTH - 2);\n+      pair = trim(substr(pair, RLENGTH + 1));\n+    }\n+\n+    _i = _sep != \"\"?index(pair, _sep):match(pair, \/[ \\t]\/);\n+    if (_i <= 0) {\n+      printf(\"(#%%data directive)! ill-formed. (pair=%s, _sep=%s)\\n\", pair, _sep) > \"\/dev\/stderr\"\n       return 0;\n     }\n \n-    _k=substr(pair,1,_i-1);\n-    _v=trim(substr(pair,_i+length(_sep)))\n-    d_data[_k]=_v;\n-\n-    #_t[0];head_token(pair,_t);\n-    #d_data[_t[0]]=_t[1];\n-  }\n-}\n-function data_print(key){\n+    _k = substr(pair, 1, _i - 1);\n+    _v = trim(substr(pair, _i + length(_sep)))\n+    d_data[_k] = _v;\n+\n+    #_t[0]; head_token(pair, _t);\n+    #d_data[_t[0]] = _t[1];\n+  }\n+}\n+function data_print(key) {\n   add_line(d_data[key]);\n }\n-function execute(command, _line,_caps,_n,_cfile){\n-  if(match(command,\/^(>>?)[[:space:]]*([^[:space:]]*)\/,_caps)>0){\n+function execute(command, _line, _caps, _n, _cfile) {\n+  if (match(command, \/^(>>?)[[:space:]]*([^[:space:]]*)\/, _caps) > 0) {\n     # \u51fa\u529b\u5148\u306e\u5909\u66f4\n     fflush(m_outpath);\n-    m_outpath=_caps[2];\n-    m_addline_cfile=\"\";\n-    if(_caps[1]==\">\"&&m_outpath!=\"\"){\n+    m_outpath = _caps[2];\n+    m_addline_cfile = \"\";\n+    if (_caps[1] == \">\" && m_outpath != \"\") {\n       printf(\"\") > m_outpath\n     }\n-  }else{\n-    _n=0;\n-    while((command | getline _line)>0)\n-      _lines[_n++]=_line;\n+  } else {\n+    _n = 0;\n+    while ((command | getline _line) > 0)\n+      _lines[_n++] = _line;\n     close(command);\n \n-    _cfile=\"$(\" command \")\";\n-    gsub(\/[\\\\\"]\/,\"\\\\\\\\&\",_cfile);\n-    for(_i=0;_i<_n;_i++){\n-      m_lineno_cfile=_cfile;\n-      m_lineno_cline=_i+1;\n+    _cfile = \"$(\" command \")\";\n+    gsub(\/[\\\\\"]\/, \"\\\\\\\\&\", _cfile);\n+    for (_i = 0; _i < _n; _i++) {\n+      m_lineno_cfile = _cfile;\n+      m_lineno_cline = _i + 1;\n       process_line(_lines[_i]);\n     }\n   }\n }\n #===============================================================================\n-function add_line(line){\n-  if(d_level==0){\n-    if(m_lineno){ # 20120726\n-      if(m_addline_cfile!=m_lineno_cfile||++m_addline_cline!=m_lineno_cline){\n-        m_addline_cline=m_lineno_cline;\n-        m_addline_cfile=m_lineno_cfile;\n-        if(m_addline_cline!=\"\"&&m_addline_cfile!=\"\"){\n-          if(m_outpath==\"\")\n+function add_line(line) {\n+  if (d_level == 0) {\n+    if (m_lineno) { # 20120726\n+      if (m_addline_cfile != m_lineno_cfile||++m_addline_cline != m_lineno_cline) {\n+        m_addline_cline = m_lineno_cline;\n+        m_addline_cfile = m_lineno_cfile;\n+        if (m_addline_cline != \"\" && m_addline_cfile != \"\") {\n+          if (m_outpath == \"\")\n             print \"#line \" m_addline_cline \" \\\"\" m_addline_cfile \"\\\"\"\n           else\n             print \"#line \" m_addline_cline \" \\\"\" m_addline_cfile \"\\\"\" >> m_outpath\n@@ -1422,154 +1422,154 @@\n       }\n     }\n \n-    if(m_outpath==\"\")\n+    if (m_outpath == \"\")\n       print line\n     else\n       print line >> m_outpath\n-  }else{\n-    d_content[d_level]=d_content[d_level] line \"\\n\"\n-    d_content[d_level,\"L\"]=d_content[d_level,\"L\"] m_lineno_cline \"\\n\";\n-    d_content[d_level,\"F\"]=d_content[d_level,\"F\"] m_lineno_cfile \"\\n\";\n-  }\n-}\n-\n-# function process_multiline2(txt,cline,cfile, _s,_l,_f,_len,_i){\n-#   _len=split(txt,_s,\"\\n\");\n-#   if(length(_s[_len])==0)_len--;\n-\n-#   split(clines,_l,\"\\n\");\n-#   split(cfiles,_f,\"\\n\");\n-#   for(_i=0;_i<_len;_i++){\n-#     m_lineno_cline=_l[_i+1];\n-#     m_lineno_cfile=_f[_i+1];\n-#     process_line(_s[_i+1]);\n+  } else {\n+    d_content[d_level] = d_content[d_level] line \"\\n\"\n+    d_content[d_level, \"L\"] = d_content[d_level, \"L\"] m_lineno_cline \"\\n\";\n+    d_content[d_level, \"F\"] = d_content[d_level, \"F\"] m_lineno_cfile \"\\n\";\n+  }\n+}\n+\n+# function process_multiline2(txt, cline, cfile, _s, _l, _f, _len, _i) {\n+#   _len = split(txt, _s, \"\\n\");\n+#   if (length(_s[_len]) == 0) _len--;\n+\n+#   split(clines, _l, \"\\n\");\n+#   split(cfiles, _f, \"\\n\");\n+#   for (_i = 0; _i < _len; _i++) {\n+#     m_lineno_cline = _l[_i + 1];\n+#     m_lineno_cfile = _f[_i + 1];\n+#     process_line(_s[_i + 1]);\n #   }\n # }\n \n-function process_multiline(txt,clines,cfiles,  _s,_l,_f,_len,_i){\n-  _len=split(txt,_s,\"\\n\");\n-  if(length(_s[_len])==0)_len--;\n-\n-  split(clines,_l,\"\\n\");\n-  split(cfiles,_f,\"\\n\");\n-  for(_i=0;_i<_len;_i++){\n-    m_lineno_cline=_l[_i+1];\n-    m_lineno_cfile=_f[_i+1];\n-    process_line(_s[_i+1]);\n-  }\n-}\n-\n-function process_line(line,_line,_text,_ind,_len,_directive, _cap){\n-  _line=line;\n-\n-  sub(\/^[ \\t]+\/,\"\",_line);\n-  sub(\/[ \\t\\r]+$\/,\"\",_line);\n-  if(m_comment_cpp)\n-    sub(\/^\\\/\\\/\/,\"#\",_line);\n-  if(m_comment_pragma)\n-    sub(\/^[[:space:]]*\\#[[:space:]]*pragma\/,\"#\",_line);\n-  if(m_comment_c&&match(_line,\/^\\\/\\*(.+)\\*\\\/$\/,_cap)>0)\n-    _line=\"#\" _cap[1];\n-\n-  if(_line ~ \/^#%[^%]\/){\n+function process_multiline(txt, clines, cfiles, _, _s, _l, _f, _len, _i) {\n+  _len = split(txt, _s, \"\\n\");\n+  if (length(_s[_len]) == 0) _len--;\n+\n+  split(clines, _l, \"\\n\");\n+  split(cfiles, _f, \"\\n\");\n+  for (_i = 0; _i < _len; _i++) {\n+    m_lineno_cline = _l[_i + 1];\n+    m_lineno_cfile = _f[_i + 1];\n+    process_line(_s[_i + 1]);\n+  }\n+}\n+\n+function process_line(line, _line, _text, _ind, _len, _directive, _cap) {\n+  _line = line;\n+\n+  sub(\/^[ \\t]+\/, \"\", _line);\n+  sub(\/[ \\t\\r]+$\/, \"\", _line);\n+  if (m_comment_cpp)\n+    sub(\/^\\\/\\\/\/, \"#\", _line);\n+  if (m_comment_pragma)\n+    sub(\/^[[:space:]]*#[[:space:]]*pragma\/, \"#\", _line);\n+  if (m_comment_c && match(_line, \/^\\\/\\*(.+)\\*\\\/$\/, _cap) > 0)\n+    _line = \"#\" _cap[1];\n+\n+  if (_line ~ \/^#%[^%]\/) {\n     # cut directive\n-    if(match(_line,\/^#%[ \\t]*([-a-zA-Z_0-9\\:]+)(.*)$\/,_cap)>0){\n-      _directive=_cap[1];\n-      _text=trim(_cap[2]);\n-    }else if(match(_line,\/^#%[ \\t]*([^-a-zA-Z_0-9\\:])(.*)$\/,_cap)>0){\n-      _directive=_cap[1];\n-      _text=trim(_cap[2]);\n-    }else{\n+    if (match(_line, \/^#%[ \\t]*([-a-zA-Z_0-9:]+)(.*)$\/, _cap) > 0) {\n+      _directive = _cap[1];\n+      _text = trim(_cap[2]);\n+    } else if (match(_line, \/^#%[ \\t]*([^-a-zA-Z_0-9:])(.*)$\/, _cap) > 0) {\n+      _directive = _cap[1];\n+      _text = trim(_cap[2]);\n+    } else {\n       print_error(\"unrecognized directive line: \" line);\n       return;\n     }\n \n     # switch directive\n-    if(_directive==\"(\"||_directive==\"begin\"){\n-      range_begin(\"none\",_text);\n-    }else if(_directive==\")\"||_directive==\"end\"){\n+    if (_directive == \"(\" || _directive == \"begin\") {\n+      range_begin(\"none\", _text);\n+    } else if (_directive == \")\" || _directive == \"end\") {\n       range_end(_text);\n-    }else if(_directive==\"define\"||_directive==\"m\"){\n+    } else if (_directive == \"define\" || _directive == \"m\") {\n       dctv_define(_text);\n-    }else if(_directive==\"expand\"||_directive==\"x\"){\n+    } else if (_directive == \"expand\" || _directive == \"x\") {\n       dctv_expand(_text);\n-    }else if(_directive==\"if\"){\n+    } else if (_directive == \"if\") {\n       dctv_if(_text);\n-    }else if(_directive==\"else\"){\n+    } else if (_directive == \"else\") {\n       dctv_else(_text);\n-    }else if(_directive==\"elif\"){\n+    } else if (_directive == \"elif\") {\n       dctv_elif(_text);\n-    }else if(_directive==\"modify\"){ # obsoleted. use #%define name name.mods\n+    } else if (_directive == \"modify\") { # obsoleted. use #%define name name.mods\n       print_error(\"obsoleted directive modify\");\n       dctv_modify(_text);\n-    }else if(_directive==\"include\"||_directive==\"<\"){\n+    } else if (_directive == \"include\" || _directive == \"<\") {\n       include_file(_text);\n-    }else if(_directive==\"data\"){ # obs \u2192 \u30c7\u30fc\u30bf\u8a2d\u5b9a\u306b\u6709\u610f\u3002\u6b8b\u3059?\n+    } else if (_directive == \"data\") { # obs \u2192 \u30c7\u30fc\u30bf\u8a2d\u5b9a\u306b\u6709\u610f\u3002\u6b8b\u3059?\n       data_define(_text);\n-    }else if(_directive==\"print\"){ #obs\n+    } else if (_directive == \"print\") { #obs\n       data_print(_text);\n-    }else if(_directive==\"eval\"){\n+    } else if (_directive == \"eval\") {\n       eval_expr(_text);\n-    }else if(_directive==\"[\"&&match(_text,\/^(.+)\\]$\/,_cap)>0){\n+    } else if (_directive == \"[\" && match(_text, \/^(.+)\\]$\/, _cap) > 0) {\n       eval_expr(_cap[1]);\n-    }else if(_directive==\"exec\"||_directive==\"$\"){\n+    } else if (_directive == \"exec\" || _directive == \"$\") {\n       execute(_text);\n-    }else if(_directive==\"#\"){\n+    } else if (_directive == \"#\") {\n       # comment. just ignored.\n-    }else if(_directive==\"error\"){\n+    } else if (_directive == \"error\") {\n       dctv_error(_text);\n-    }else{\n+    } else {\n       print_error(\"unrecognized directive \" _directive);\n     }\n-  }else if(_line ~ \/^##+%\/){\n-    add_line(substr(_line,2));\n-  }else if(_line ~ \/^#%%+\/){\n-    add_line(\"#\" substr(_line,3));\n-  }else{\n+  } else if (_line ~ \/^##+%\/) {\n+    add_line(substr(_line, 2));\n+  } else if (_line ~ \/^#%%+\/) {\n+    add_line(\"#\" substr(_line, 3));\n+  } else {\n     add_line(line);\n   }\n }\n \n BEGIN{\n-  FS=\"MWG_PP\" \"_COMMENT\";\n+  FS = \"MWG_PP\" \"_COMMENT\";\n   ev1scan_init();\n-  d_level=0;\n-  d_data[0]=\"\";\n-\n-  m_outpath=\"\";\n-  m_comment_c     =int(ENVIRON[\"PPC_C\"])!=0;\n-  m_comment_cpp   =int(ENVIRON[\"PPC_CPP\"])!=0;\n-  m_comment_pragma=int(ENVIRON[\"PPC_PRAGMA\"])!=0;\n-\n-  m_lineno        =int(ENVIRON[\"PPLINENO\"])!=0;\n-\n-  INCLUDE_DIRECTORY=ENVIRON[\"HOME\"] \"\/.mwg\/mwgpp\/include\"\n-\n-  m_dependency_count=0\n-  m_dependency_guard[\"\"]=1;\n-  m_dependency[0]=\"\";\n+  d_level = 0;\n+  d_data[0] = \"\";\n+\n+  m_outpath = \"\";\n+  m_comment_c      = int(ENVIRON[\"PPC_C\"]) != 0;\n+  m_comment_cpp    = int(ENVIRON[\"PPC_CPP\"]) != 0;\n+  m_comment_pragma = int(ENVIRON[\"PPC_PRAGMA\"]) != 0;\n+\n+  m_lineno         = int(ENVIRON[\"PPLINENO\"]) != 0;\n+\n+  INCLUDE_DIRECTORY = ENVIRON[\"HOME\"] \"\/.mwg\/mwgpp\/include\"\n+\n+  m_dependency_count = 0\n+  m_dependency_guard[\"\"] = 1;\n+  m_dependency[0] = \"\";\n }\n \n {\n-  if(FNR==1){\n-    if(ENVIRON[\"PPLINENO_FILE\"]!=\"\")\n-      m_rfile=ENVIRON[\"PPLINENO_FILE\"];\n+  if (FNR == 1) {\n+    if (ENVIRON[\"PPLINENO_FILE\"] != \"\")\n+      m_rfile = ENVIRON[\"PPLINENO_FILE\"];\n     else\n-      m_rfile=FILENAME;\n+      m_rfile = FILENAME;\n     dependency_add(m_rfile);\n   }\n-  m_lineno_cfile=m_rfile;\n-  m_lineno_cline=FNR;\n+  m_lineno_cfile = m_rfile;\n+  m_lineno_cline = FNR;\n   process_line($1);\n }\n \n-function dependency_add(file){\n-  if(!m_dependency_guard[file]){\n-    m_dependency_guard[file]=1;\n-    m_dependency[m_dependency_count++]=file;\n-  }\n-}\n-function dependency_generate(output, target, is_phony, _i, _iMax, _line, _file){\n+function dependency_add(file) {\n+  if (!m_dependency_guard[file]) {\n+    m_dependency_guard[file] = 1;\n+    m_dependency[m_dependency_count++] = file;\n+  }\n+}\n+function dependency_generate(output, target, is_phony, _i, _iMax, _line, _file) {\n   if (!target) {\n     target = m_rfile;\n     sub(\/\\.pp$\/, \"\", target);\n"}
{"commit":"5bccc51a5d2bbe40243ae0b079576b769496ca49","subject":"LanguageData: update section F","message":"LanguageData: update section F\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -629,9 +629,39 @@\n     Locale[\"ee\"][\"spoken-in\"]          = \"Ghana; Togo; Benin\"\n     Locale[\"ee\"][\"supported-by\"]       = \"google\"\n \n-\n-\n-    #24 Filipino \/ Tagalog\n+    # Faroese\n+    Locale[\"fo\"][\"name\"]               = \"Faroese\"\n+    Locale[\"fo\"][\"endonym\"]            = \"F\u00f8royskt\"\n+    #Locale[\"fo\"][\"translations-of\"]\n+    #Locale[\"fo\"][\"definitions-of\"]\n+    #Locale[\"fo\"][\"synonyms\"]\n+    #Locale[\"fo\"][\"examples\"]\n+    #Locale[\"fo\"][\"see-also\"]\n+    Locale[\"fo\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fo\"][\"branch\"]             = \"North Germanic\"\n+    Locale[\"fo\"][\"iso\"]                = \"fao\"\n+    Locale[\"fo\"][\"glotto\"]             = \"faro1244\"\n+    Locale[\"fo\"][\"script\"]             = \"Latn\"\n+    Locale[\"fo\"][\"spoken-in\"]          = \"the Faroe Islands\"\n+    Locale[\"fo\"][\"supported-by\"]       = \"bing\"\n+\n+    # Fijian\n+    Locale[\"fj\"][\"name\"]               = \"Fijian\"\n+    Locale[\"fj\"][\"endonym\"]            = \"Vosa Vakaviti\"\n+    #Locale[\"fj\"][\"translations-of\"]\n+    #Locale[\"fj\"][\"definitions-of\"]\n+    #Locale[\"fj\"][\"synonyms\"]\n+    #Locale[\"fj\"][\"examples\"]\n+    #Locale[\"fj\"][\"see-also\"]\n+    Locale[\"fj\"][\"family\"]             = \"Austronesian\"\n+    Locale[\"fj\"][\"branch\"]             = \"Malayo-Polynesian\"\n+    Locale[\"fj\"][\"iso\"]                = \"fij\"\n+    Locale[\"fj\"][\"glotto\"]             = \"fiji1243\"\n+    Locale[\"fj\"][\"script\"]             = \"Latn\"\n+    Locale[\"fj\"][\"spoken-in\"]          = \"Fiji\"\n+    Locale[\"fj\"][\"supported-by\"]       = \"bing\"\n+\n+    # Filipino \/ Tagalog\n     Locale[\"tl\"][\"name\"]               = \"Filipino\"\n     Locale[\"tl\"][\"name2\"]              = \"Tagalog\"\n     Locale[\"tl\"][\"endonym\"]            = \"Tagalog\"\n@@ -641,11 +671,14 @@\n     Locale[\"tl\"][\"examples\"]           = \"Mga Halimbawa\"\n     Locale[\"tl\"][\"see-also\"]           = \"Tingnan rin ang\"\n     Locale[\"tl\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"tl\"][\"iso\"]                = \"tgl\"\n-    Locale[\"tl\"][\"glotto\"]             = \"taga1270\"\n+    Locale[\"tl\"][\"branch\"]             = \"Malayo-Polynesian\"\n+    Locale[\"tl\"][\"iso\"]                = \"fil\"\n+    Locale[\"tl\"][\"glotto\"]             = \"fili1244\"\n     Locale[\"tl\"][\"script\"]             = \"Latn\"\n-\n-    #25 Finnish\n+    Locale[\"tl\"][\"spoken-in\"]          = \"the Philippines\"\n+    Locale[\"tl\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Finnish\n     Locale[\"fi\"][\"name\"]               = \"Finnish\"\n     Locale[\"fi\"][\"endonym\"]            = \"Suomi\"\n     Locale[\"fi\"][\"translations-of\"]    = \"K\u00e4\u00e4nn\u00f6kset tekstille %s\"\n@@ -654,11 +687,14 @@\n     Locale[\"fi\"][\"examples\"]           = \"Esimerkkej\u00e4\"\n     Locale[\"fi\"][\"see-also\"]           = \"Katso my\u00f6s\"\n     Locale[\"fi\"][\"family\"]             = \"Uralic\"\n+    Locale[\"fi\"][\"branch\"]             = \"Finnic\"\n     Locale[\"fi\"][\"iso\"]                = \"fin\"\n     Locale[\"fi\"][\"glotto\"]             = \"finn1318\"\n     Locale[\"fi\"][\"script\"]             = \"Latn\"\n-\n-    #26 French (Standard French)\n+    Locale[\"fi\"][\"spoken-in\"]          = \"Finland\"\n+    Locale[\"fi\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # French (Standard French)\n     Locale[\"fr\"][\"name\"]               = \"French\"\n     Locale[\"fr\"][\"endonym\"]            = \"Fran\u00e7ais\"\n     Locale[\"fr\"][\"translations-of\"]    = \"Traductions de %s\"\n@@ -667,10 +703,31 @@\n     Locale[\"fr\"][\"examples\"]           = \"Exemples\"\n     Locale[\"fr\"][\"see-also\"]           = \"Voir aussi\"\n     Locale[\"fr\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"fr\"][\"branch\"]             = \"Western Romance\"\n     Locale[\"fr\"][\"iso\"]                = \"fra\"\n     Locale[\"fr\"][\"glotto\"]             = \"stan1290\"\n     Locale[\"fr\"][\"script\"]             = \"Latn\"\n     Locale[\"fr\"][\"dictionary\"]         = \"true\" # has dictionary\n+    Locale[\"fr\"][\"spoken-in\"]          = \"France; Switzerland; Belgium; Luxembourg\"\n+    Locale[\"fr\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # French (Canadian French)\n+    Locale[\"fr-CA\"][\"name\"]            = \"French (Canadian)\"\n+    Locale[\"fr-CA\"][\"endonym\"]         = \"Fran\u00e7ais canadien\"\n+    Locale[\"fr-CA\"][\"translations-of\"] = \"Traductions de %s\"\n+    Locale[\"fr-CA\"][\"definitions-of\"]  = \"D\u00e9finitions de %s\"\n+    Locale[\"fr-CA\"][\"synonyms\"]        = \"Synonymes\"\n+    Locale[\"fr-CA\"][\"examples\"]        = \"Exemples\"\n+    Locale[\"fr-CA\"][\"see-also\"]        = \"Voir aussi\"\n+    Locale[\"fr-CA\"][\"family\"]          = \"Indo-European\"\n+    Locale[\"fr-CA\"][\"branch\"]          = \"Western Romance\"\n+    Locale[\"fr-CA\"][\"iso\"]             = \"fra-CA\"\n+    Locale[\"fr-CA\"][\"glotto\"]          = \"queb1247\"\n+    Locale[\"fr-CA\"][\"script\"]          = \"Latn\"\n+    Locale[\"fr-CA\"][\"spoken-in\"]       = \"Canada\"\n+    Locale[\"fr-CA\"][\"supported-by\"]    = \"bing\"\n+\n+\n \n     #27 Galician\n     Locale[\"gl\"][\"name\"]               = \"Galician\"\n@@ -2008,15 +2065,6 @@\n     Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n     Locale[\"zu\"][\"script\"]             = \"Latn\"\n \n-    #* Fijian\n-    Locale[\"fj\"][\"support\"]            = \"bing-only\"\n-    Locale[\"fj\"][\"name\"]               = \"Fijian\"\n-    Locale[\"fj\"][\"endonym\"]            = \"Vosa Vakaviti\"\n-    Locale[\"fj\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"fj\"][\"iso\"]                = \"fij\"\n-    Locale[\"fj\"][\"glotto\"]             = \"fiji1243\"\n-    Locale[\"fj\"][\"script\"]             = \"Latn\"\n-\n     #* Hmong Daw (White Hmong)\n     Locale[\"mww\"][\"support\"]           = \"bing-only\"\n     Locale[\"mww\"][\"name\"]              = \"Hmong Daw\"\n@@ -2121,20 +2169,6 @@\n     Locale[\"mhr\"][\"iso\"]               = \"mhr\"\n     Locale[\"mhr\"][\"glotto\"]            = \"east2328\"\n     Locale[\"mhr\"][\"script\"]            = \"Cyrl\"\n-\n-    #? Faroese\n-    Locale[\"fo\"][\"support\"]            = \"unstable\"\n-    Locale[\"fo\"][\"name\"]               = \"Faroese\"\n-    Locale[\"fo\"][\"endonym\"]            = \"F\u00f8royskt\"\n-    #Locale[\"fo\"][\"translations-of\"]\n-    #Locale[\"fo\"][\"definitions-of\"]\n-    #Locale[\"fo\"][\"synonyms\"]\n-    #Locale[\"fo\"][\"examples\"]\n-    #Locale[\"fo\"][\"see-also\"]\n-    Locale[\"fo\"][\"family\"]             = \"Indo-European\"\n-    Locale[\"fo\"][\"iso\"]                = \"fao\"\n-    Locale[\"fo\"][\"glotto\"]             = \"faro1244\"\n-    Locale[\"fo\"][\"script\"]             = \"Latn\"\n \n     #? Hill Mari\n     Locale[\"mrj\"][\"support\"]           = \"yandex-only\"\n"}
{"commit":"c68ba162e94a2b1366f34724f2cca05ef73837c4","subject":"LanguageData: update section Q","message":"LanguageData: update section Q\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1892,8 +1892,6 @@\n     Locale[\"pa\"][\"spoken-in\"]          = \"the Punjab region of India and Pakistan\"\n     Locale[\"pa\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n     # Quechua\n     Locale[\"qu\"][\"name\"]               = \"Quechua\"\n     Locale[\"qu\"][\"endonym\"]            = \"Runasimi\"\n@@ -1903,9 +1901,25 @@\n     #Locale[\"qu\"][\"examples\"]\n     #Locale[\"qu\"][\"see-also\"]\n     Locale[\"qu\"][\"family\"]             = \"Quechuan\"\n+    #Locale[\"qu\"][\"branch\"]\n     Locale[\"qu\"][\"iso\"]                = \"que\"\n     Locale[\"qu\"][\"glotto\"]             = \"quec1387\"\n     Locale[\"qu\"][\"script\"]             = \"Latn\"\n+    Locale[\"qu\"][\"spoken-in\"]          = \"Peru; Bolivia; Ecuador; surrounding countries\"\n+    Locale[\"qu\"][\"supported-by\"]       = \"google\"\n+\n+    # Quer\u00e9taro Otomi\n+    Locale[\"otq\"][\"name\"]              = \"Quer\u00e9taro Otomi\"\n+    Locale[\"otq\"][\"endonym\"]           = \"H\u00f1\u0105\u00f1ho\"\n+    Locale[\"otq\"][\"family\"]            = \"Oto-Manguean\"\n+    #Locale[\"otq\"][\"branch\"]\n+    Locale[\"otq\"][\"iso\"]               = \"otq\"\n+    Locale[\"otq\"][\"glotto\"]            = \"quer1236\"\n+    Locale[\"otq\"][\"script\"]            = \"Latn\"\n+    Locale[\"otq\"][\"spoken-in\"]         = \"Quer\u00e9taro in Mexico\"\n+    Locale[\"otq\"][\"supported-by\"]      = \"bing\"\n+\n+\n \n     #75 Romanian\n     Locale[\"ro\"][\"name\"]               = \"Romanian\"\n@@ -2441,15 +2455,6 @@\n     Locale[\"zu\"][\"iso\"]                = \"zul\"\n     Locale[\"zu\"][\"glotto\"]             = \"zulu1248\"\n     Locale[\"zu\"][\"script\"]             = \"Latn\"\n-\n-    #* Quer\u00e9taro Otomi\n-    Locale[\"otq\"][\"support\"]           = \"bing-only\"\n-    Locale[\"otq\"][\"name\"]              = \"Quer\u00e9taro Otomi\"\n-    Locale[\"otq\"][\"endonym\"]           = \"H\u00f1\u0105\u00f1ho\"\n-    Locale[\"otq\"][\"family\"]            = \"Oto-Manguean\"\n-    Locale[\"otq\"][\"iso\"]               = \"otq\"\n-    Locale[\"otq\"][\"glotto\"]            = \"quer1236\"\n-    Locale[\"otq\"][\"script\"]            = \"Latn\"\n \n     #* Tahitian\n     Locale[\"ty\"][\"support\"]            = \"bing-only\"\n"}
{"commit":"eb4a0537429404825c7c6560a87a159f9ddf12ce","subject":"Fix processing of occurances of 'description' and null values (#156)","message":"Fix processing of occurances of 'description' and null values (#156)\n\n","repos":"cloudposse\/build-harness,cloudposse\/build-harness","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/terraform-docs.awk\n+++ bin\/terraform-docs.awk\n@@ -4,16 +4,18 @@\n # https:\/\/github.com\/segmentio\/terraform-docs\/issues\/62\n \n {\n-  if ( \/\\{\/ ) {\n+  if ( $0 ~ \/\\{\/ ) {\n     braceCnt++\n   }\n \n-  if ( \/\\}\/ ) {\n+  if ( $0 ~ \/\\}\/ ) {\n     braceCnt--\n   }\n \n   # [START] variable or output block started\n-  if ($0 ~ \/(variable|output) \"(.*?)\"\/) {\n+  if ($0 ~ \/^[[:space:]]*(variable|output)[[:space:]][[:space:]]*\"(.*?)\"\/) {\n+    # Normalize the braceCnt (should be 1 now)\n+    braceCnt = 1\n     # [CLOSE] \"default\" block\n     if (blockDefCnt > 0) {\n       blockDefCnt = 0\n@@ -24,9 +26,11 @@\n \n   # [START] multiline default statement started\n   if (blockCnt > 0) {\n-    if ($1 == \"default\") {\n-      print $0\n-      if ($NF ~ \/[\\[\\(\\{]\/) {\n+    if ($0 ~ \/^[[:space:]][[:space:]]*(default)[[:space:]][[:space:]]*=\/) {\n+      if ($3 ~ \"null\") {\n+        print \"  default = \\\"null\\\"\"\n+      } else {\n+        print $0\n         blockDefCnt++\n         blockDefStart=1\n       }\n@@ -34,19 +38,21 @@\n   }\n \n   # [PRINT] single line \"description\"\n-  if (blockDefCnt == 0) {\n-    if ($1 == \"description\") {\n-      # [CLOSE] \"default\" block\n-      if (blockDefCnt > 0) {\n-        blockDefCnt = 0\n+  if (blockCnt > 0) {\n+    if (blockDefCnt == 0) {\n+      if ($0 ~ \/^[[:space:]][[:space:]]*description[[:space:]][[:space:]]*=\/) {\n+        # [CLOSE] \"default\" block\n+        if (blockDefCnt > 0) {\n+          blockDefCnt = 0\n+        }\n+        print $0\n       }\n-      print $0\n     }\n   }\n \n   # [PRINT] single line \"type\"\n   if (blockCnt > 0) {\n-    if ($1 == \"type\" ) {\n+    if ($0 ~ \/^[[:space:]][[:space:]]*type[[:space:]][[:space:]]*=\/ ) {\n       # [CLOSE] \"default\" block\n       if (blockDefCnt > 0) {\n         blockDefCnt = 0\n"}
{"commit":"6b52735800e83c82ca35371fe2f913eaca21de38","subject":"ci: simplify sphinx expression in note.awk","message":"ci: simplify sphinx expression in note.awk\n","repos":"markokr\/rarfile,markokr\/rarfile","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doc\/note.awk\n+++ doc\/note.awk\n@@ -14,7 +14,7 @@\n {\n     if (good) {\n         # also remove sphinx syntax\n-        print gensub(\/:(data|class|attr|meth):`([^`]+)`\/, \"``\\\\2``\", \"g\")\n+        print gensub(\/:(\\w+):`([^`]+)`\/, \"``\\\\2``\", \"g\")\n     }\n }\n \n"}
{"commit":"28554cfeb8f2c0a9ab13a86c30a0d15101bc9962","subject":"[gpxutil] simplify regex","message":"[gpxutil] simplify regex\n","repos":"ai7\/toolbox,ai7\/toolbox,ai7\/toolbox,ai7\/toolbox,ai7\/toolbox","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gpx\/iso-date\/src\/gpxutil.awk\n+++ gpx\/iso-date\/src\/gpxutil.awk\n@@ -17,7 +17,8 @@\n     # regex pattern for the timestamp garmin outputs\n     # 05-JUL-13 16:34:05\n     # the hour can be one digit, so we group it separately\n-    p_date = \"([0-9]{2})-([a-zA-Z]{3})-([0-9]{2}) ([0-9]{1,2}):([0-9]{2}:[0-9]{2})\"\n+    # p_date = \"([0-9]{2})-([a-zA-Z]{3})-([0-9]{2}) ([0-9]{1,2}):([0-9]{2}:[0-9]{2})\"\n+    p_date = \"(\\d{2})-([a-zA-Z]{3})-(\\d{2}) (\\d{1,2}):(\\d{2}:\\d{2})\"\n \n     # create the month['jan'] = '01' ... array\n     build_month()\n"}
{"commit":"737684c01359a5828a4bc693383dd2b95f20ad28","subject":"Changed &#8211; to en-dash -","message":"Changed &#8211; to en-dash -\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -77,6 +77,7 @@\n     gsub (\/&quot;\/,\"\\\"\\\"\")\n     gsub (\/&#039;\/,\"'\")\n     gsub (\/&#8217;\/,\"'\")\n+    gsub (\/&#8211;\/,\"-\")\n     # gsub (\/&#x27;\/,\"'\")\n     if (match ($0, \/^The \/)) {\n         $0 = substr($0, 5) \", The\"\n"}
{"commit":"4e16bedca6cd6d9c64acb8374bd153758eeb69a9","subject":"makeDistortosConfiguration.awk: fix handling of strings with '='","message":"makeDistortosConfiguration.awk: fix handling of strings with '='\n\nFix handling of string configuration variables that contain '='\ncharacter - previously only the part of string up to the first '='\ncharacter was printed to distortosConfiguration.h.","repos":"jasmin-j\/distortos,CezaryGapinski\/distortos,DISTORTEC\/distortos,jasmin-j\/distortos,DISTORTEC\/distortos,jasmin-j\/distortos,CezaryGapinski\/distortos,CezaryGapinski\/distortos,DISTORTEC\/distortos,jasmin-j\/distortos,DISTORTEC\/distortos,jasmin-j\/distortos,CezaryGapinski\/distortos,CezaryGapinski\/distortos","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- scripts\/makeDistortosConfiguration.awk\n+++ scripts\/makeDistortosConfiguration.awk\n@@ -8,7 +8,7 @@\n # This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not\n # distributed with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n #\n-# date: 2015-09-25\n+# date: 2015-10-02\n #\n \n BEGIN {\n@@ -54,8 +54,8 @@\n }\n \n $0 ~ stringConfigPattern {\n-\tsplit($0, array, \"=\")\n-\tprint \"#define \" array[1] \" \" array[2]\n+\tequalsSign = index($0, \"=\")\n+\tprint \"#define \" substr($0, 1, equalsSign - 1) \" \" substr($0, equalsSign + 1)\n }\n \n END {\n"}
{"commit":"8c11033ca48964c23c8c00f83ad40c7885535718","subject":"Preparing to chain format calls","message":"Preparing to chain format calls\n","repos":"damiancarrillo\/objc-formatter","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- src\/synthesize.template.awk\n+++ src\/synthesize.template.awk\n@@ -7,14 +7,20 @@\n     # @end-fragment default-config\n     \n     # @include-fragment util.awk config\n+    \n+    if (ARGC <= 1) {\n+        print \"Usage: .\/synthesize.awk sourceFile\"\n+        exit 1\n+    }\n+    \n+    sourceFile = ARGV[1]\n+    \n+    while (getline < sourceFile) {\n+        print\n+    }\n }\n {\n-    if ($0 ~ \/@synthesize\/) {\n-        # @start-fragment body\n-\t\treadSynthesizeBlock(properties, aliases)\n-\t\tformatSynthesizeBlock(properties, aliases)\n-        # @end-fragment body\n-    }\n+    # do nothing\n }\n \n # @start-fragment functions\n"}
{"commit":"36c8c83ca2f4e842d48141ae39de7ab5d9d4ca6c","subject":"add empty lines for readablity","message":"add empty lines for readablity","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/backgrounds.awk\n+++ tools\/backgrounds.awk\n@@ -4,6 +4,7 @@\n \n \n \/<div class=\"slide cover title\">\/ {\n+  print \"\"\n   print \"<div class='background cover'>\"\n   print \"  <img style='width: 100%; float:right' src='ALTA_Flower.png' alt='ALTA flower' \/>\"\n   print \"<\/div>\"\n@@ -14,9 +15,12 @@\n   slidecount++\n   if (slidecount == 2)\n   {\n+    print \"\"\n     print \"<div class='background haskell'>\"\n     print \"  <img style='float:right' src='http:\/\/www.haskell.org\/wikiupload\/4\/4a\/HaskellLogoStyPreview-1.png' alt='Haskell logo' \/>\"\n     print \"<\/div>\"\n+    print \"\"\n+\n     sub(\/slide\/, \"slide haskell\")\n   }\n }\n"}
{"commit":"c9be6e5fdea9ffb5ad3572a1d0e778ae8176ea8f","subject":"Improve shell script (thx 'Barmic')","message":"Improve shell script (thx 'Barmic')\n","repos":"kianby\/owncloud_calremind","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- caldaily.awk\n+++ caldaily.awk\n@@ -1,46 +1,51 @@\n BEGIN {\n-    FS=\"\\n\"\n-    OFS=\"\"\n-    ORS=\"\\n\"\n-    print \"#!\/bin\/sh\"\n-    print \" \"\n+    FS=\"\\n\";\n+    OFS=\"\";\n+    ORS=\"\\n\";\n+    print \"#!\/bin\/sh\";\n+    print \"#\";\n }\n #\u00a0blank lines\n-\/^$\/ { next }\n+\/^$\/ {\n+    next;\n+}\n # record header\n $1 ~ \/^\\*\\*\\*\\*\/ {\n-    next\n+    next;\n }\n # summary field\n $1 ~ \/^[ ]*summary\\:\/ {\n     gsub(\/\\r\/,\"\");\n-    idx = match($1, \/summary\\:(.*)\/)\n-    print \"SUMMARY=\\\"\" substr($1, idx + 9) \"\\\"\"\n-    next\n+    idx = match($1, \/summary\\:(.*)\/);\n+    print \"SUMMARY=\\\"\" substr($1, idx + 9) \"\\\"\";\n+    next;\n }\n # startdate field\n $1 ~ \/^[ ]*startdate\\: \/ {\n-    match($1, \/startdate\\: \/)\n-    print \"STARTDATE=\\\"`date -d '\" substr($1, RSTART + RLENGTH) \"-000' '+%a %e %b %R'`\\\"\"\n-    next\n+    match($1, \/startdate\\: \/);\n+    print \"STARTDATE=\\\"`date -d '\" substr($1, RSTART + RLENGTH) \"-000' '+%a %e %b %R'`\\\"\";\n+    next;\n }\n # vcalendar start tag\n $1 ~ \/^[ ]*calendardata\\: \/ {\n     gsub(\/\\r\/,\"\");\n-    match($1, \/calendardata\\: \/)\n-    print \"echo \\\"\" substr($1, RSTART + RLENGTH) \"\\\" >event.ics\"\n-    next\n+    match($1, \/calendardata\\: \/);\n+    print \"ICS=$(mktemp --suffix=.ics)\";\n+    print \"cat > \\\"${ICS}\\\" <<EOF\";\n+    print substr($1, RSTART + RLENGTH);\n+    next;\n }\n # vcalendar end tag\n $1 ~ \/^END\\:VCALENDAR\/ {\n     gsub(\/\\r\/,\"\");\n-    print \"echo \\\"\" $1 \"\\\" >>event.ics\"\n-    print \"mpack -s \\\"$SUMMARY - $STARTDATE\\\" event.ics $1\"\n-    print \"\"\n-    next\n+    print $1;\n+    print \"EOF\";\n+    print \"mpack -s \\\"$SUMMARY - $STARTDATE\\\" \\\"${ICS}\\\" $1\";\n+    print \"#\";\n+    next;\n }\n #\u00a0vcalendar body\n {\n     gsub(\/\\r\/,\"\");\n-    print \"echo \\\"\" $0 \"\\\" >> event.ics\"\n+    print $0;\n }\n"}
{"commit":"e16add83f615584091b0239733510b2c9519d027","subject":"interp_utils.awk\t-- down to actually interpolating the vectors","message":"interp_utils.awk\t-- down to actually interpolating the vectors\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/interp_utils.awk\n+++ lib\/interp_utils.awk\n@@ -1,4 +1,4 @@\n-function IU_init(config, interp, name, k_values, k_breaks,   work, n_ary, ary, c_rng, i, nv) {\n+function IU_init(config, interp, name, k_values, k_breaks,   work, n_ary, ary, c_rng, i, nv, v_pat) {\n \n \tinterp[\"name\"] = name\n \n@@ -11,22 +11,19 @@\n \tnv = n_ary = split(work, ary, \"|\")\n \tinterp[\"nvalues\"] = n_ary\n \tc_rng = 0\n+\tv_ob_info = \"\"\n \tfor(i = 1; i <= n_ary; i++){\n \t\twork = ary[i]\n-\t\tif(index(work, \":\") != 0)\n+\t\tif(index(work, \":\") != 0){\n \t\t\tc_rng++\n+\t\t\tv_pat = v_pat \"g\"\n+\t\t}else\n+\t\t\tv_pat = v_pat \"b\"\n \t\tsub(\/^[ \\t]*\/, \"\", work)\n \t\tsub(\/[ \\t]*$\/, \"\", work)\n \t\tinterp[\"values\", i] = work\n \t}\n-\tif(c_rng == 0)\n-\t\tinterp[\"is_grad\"] = 0\n-\telse if(c_rng == n_ary)\n-\t\tinterp[\"is_grad\"] = 1\n-\telse{\n-\t\tprintf(\"ERROR: IU_init: k_values can not include both gradient and bin values\\n\") > \"\/dev\/stderr\"\n-\t\treturn 1\n-\t}\n+\tinterp[\"is_grad\"] = c_rng > 0\n \n \t# get the breaks\n \twork = config[\"_globals\", k_breaks]\n@@ -42,8 +39,32 @@\n \t\tsub(\/[ \\t]*$\/, \"\", work)\n \t\tinterp[\"breaks\", i] = work + 0\t# force numeric\n \t}\n-\tif(interp[\"nbreaks\"] != interp[\"nvalues\"] - 1){\n-\t\tprintf(\"ERROR: IU_init: nbreaks (%d) != nvalues - 1 (%d)\\n\", interp[\"nbreaks\"], interp[\"nvalues\"] - 1) > \"\/dev\/stderr\"\n+\tif(!interp[\"is_grad\"]){\n+\t\tif(interp[\"nbreaks\"] != interp[\"nvalues\"] - 1){\n+\t\t\tprintf(\"ERROR: IU_init: nbreaks (%d) != nvalues - 1 (%d)\\n\", interp[\"nbreaks\"], interp[\"nvalues\"] - 1) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}\n+\t}else if(interp[\"nbreaks\"] == interp[\"nvalues\"] + 1){\n+\t\tif(!match(v_pat, \/^gg*$\/)){\n+\t\t\tprintf(\"ERROR: IU_init: nbreaks (%d) = nvalues + 1 (%d): all values must be gradients\\n\", interp[\"nbreaks\"], interp[\"nvalues\"] + 1) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}\n+\t\tinterp[\"v_ob_info\"] = \"\"\n+\t}else if(interp[\"nbreaks\"] == interp[\"nvalues\"]){\n+\t\tif(!match(v_pat, \/^bgg*$\/) && !match(v_pat, \/^gg*b$\/)){\n+\t\t\tprintf(\"ERROR: IU_init: nbreaks (%d) = nvalues (%d): All but first or last, but not both  values must grad\\n\", inter[\"nbreaks\"], interp[\"nvalues\"]) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}\n+\t\tinterp[\"v_ob_info\"] = v_pat ~ \/^b\/ ? \"^\" : \"$\"\n+\t}else if(interp[\"nbreaks\"] = interp[\"nvalues\"] - 1){\n+\t\tprintf(\"DEBUG: IU_init: nb = nv - 1: chk that we have v[1] = bin, v[2:$-1] = grad, v[$] = bin\\n\") > \"\/dev\/stderr\"\n+\t\tif(!match(v_pat, \/^bgg*b$\/)){\n+\t\t\tprintf(\"ERROR: IU_init: nbreaks (%d) = nvalues - 1 (%d): all values but first and last must be gread\\n\", interp[\"nbreaks\"], interp[\"nvalues\"] - 1) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}\n+\t\tinterp[\"v_ob_info\"] = \"^$\"\n+\t}else{\n+\t\tprintf(\"ERROR: IU_init: nbreaks (%d) != nvalues +\/- 1 (%d, %d, %d)\\n\", interp[\"nbreaks\"], interp[\"nvalues\"] - 1, interp[\"nvalues\"], interp[\"nvalues\"] + 1) > \"\/dev\/stderr\"\n \t\treturn 1\n \t}\n \n@@ -60,6 +81,7 @@\n \tprintf(\"interp = {\\n\") > file\n \tprintf(\"\\tname          = %s\\n\", interp[\"name\"]) > file\n \tprintf(\"\\tis_grad       = %d\\n\", interp[\"is_grad\"]) > file\n+\tprintf(\"\\tv_ob_info     = %s\\n\", interp[\"v_ob_info\"]) > file\n \tprintf(\"\\tnvalues       = %d\\n\", interp[\"nvalues\"]) > file\n \tprintf(\"\\tvalues        = %s\", interp[\"values\", 1]) > file\n \tfor(i = 2; i <= interp[\"nvalues\"]; i++)\n@@ -78,15 +100,66 @@\n \tprintf(\"}\\n\") > file\n }\n \n-function IU_interpolate(interp, v,   idx) {\n+function IU_interpolate(interp, v,   idx, work, n_ary, ary, i) {\n \n \tidx = IU_search(interp, v)\n \tinterp[\"tcounts\"]++\n+\tinterp[\"counts\", idx]++\n \tif(!interp[\"is_grad\"]){\n-\t\tinterp[\"counts\", idx]++\n \t\treturn interp[\"values\", idx]\n+\t}else{\n+\t\t# nbreaks = nvalues - 1\n+\t\tif(interp[\"v_ob_info\"]  == \"\"){\t# ^gg*$, take out of bounds values from first and last grad elemnt\n+\t\t\tif(idx == 1){\n+\t\t\t\twork = interp[\"values\", 1]\n+\t\t\t\tn_ary = split(work, ary, \":\")\n+\t\t\t\treturn ary[1]\n+\t\t\t}else if(idx == interp[\"nbreaks\"] + 1){\n+\t\t\t\twork = interp[\"values\", interp[\"nvalues\"]]\n+\t\t\t\tn_ary = split(work, ary, \":\")\n+\t\t\t\treturn ary[2]\n+\t\t\t}else{\t\n+\t\t\t\t# TODO: do the actual interpolation\n+\t\t\t\tIU_interpolate_vec(interp[\"values\", idx - 1], v, interp[\"breaks\", idx - 1], interp[\"breaks\", idx])\n+\t\t\t\treturn interp[\"values\", idx - 1]\n+\t\t\t}\n+\t\t}else if(interp[\"v_ob_info\"] == \"^\"){\t# ^bgg*$, lower out of bounds specified, take higher ob from last grad element\n+\t\t\tif(idx == 1)\n+\t\t\t\treturn interp[\"values\", 1]\n+\t\t\telse if(idx == interp[\"nbreaks\"] + 1){\n+\t\t\t\twork = interp[\"values\", interp[\"nvalues\"]]\n+\t\t\t\tn_ary = split(work, ary, \":\")\n+\t\t\t\treturn ary[2]\n+\t\t\t}else{\n+\t\t\t\t# TODO: do the actual interpolation\n+\t\t\t\treturn interp[\"values\", idx]\n+\t\t\t}\n+\t\t}else if(interp[\"v_ob_info\"] == \"$\"){\t# ^gg*b$, upper out of bounds specified, take lower ob from first grad element\n+\t\t\tif(idx == 1){\n+\t\t\t\twork = interp[\"values\", 1]\n+\t\t\t\tn_ary = split(work, ary, \":\")\n+\t\t\t\treturn ary[1]\n+\t\t\t}else if(idx == interp[\"nbreaks\"] + 1){ \n+\t\t\t\treturn interp[\"values\", idx - 1]\n+\t\t\t}else{\n+\t\t\t\t# TODO: do the actual interpolation\n+\t\t\t\treturn interp[\"values\", idx - 1]\n+\t\t\t}\n+\t\t}else{\t# ^bgg*b$, lower & upper ob info specified\n+\t\t\tif(idx == 1 || idx == interp[\"nbreaks\"] + 1)\n+\t\t\t\treturn interp[\"values\", idx]\n+\t\t\telse{\n+\t\t\t\t# TODO: do the actual interpolation\n+\t\t\t\treturn interp[\"values\", idx]\n+\t\t\t}\n+\t\t}\n+\t\treturn v_type\n \t}\n+}\n \n+function IU_interpolate_vec(vec, v, v_min, v_max) {\n+\n+\tprintf(\"DEBUG: IU_interpolate_vec: vec = %s, v = %g, v_min = %g, v_max = %g\\n\", vec, v, v_min, v_max)\n \treturn \"\"\n }\n \n"}
{"commit":"644cddcdad009adcb6f8f57877dc0ef53393c3a1","subject":"perf.awk: be less strict with the necessary messages to handle serial logs","message":"perf.awk: be less strict with the necessary messages to handle serial logs\n","repos":"osesov\/zutils,osesov\/zutils,osesov\/zutils","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- awk\/perf.awk\n+++ awk\/perf.awk\n@@ -1,8 +1,4 @@\n #! \/usr\/bin\/gawk -f\n-\n-#\n-# PowerUp performance using logs\n-# \n \n func die(msg, a, b, c, d, e, f)\n {\n@@ -89,157 +85,187 @@\n function print_arr(arr, \\\n \t\t   _col, _index)\n {\n-    \n-    _col = 0\n-    for (_index in title) {\n-\tif (title[_index] == \"\")\n-\t    continue;\n-\n-\tif (_col != 0)\n-\t    printf(\",\")\n-\tprintf(\"%s\", arr[_index])\n-\t_col++;\n-    }\n-\n-    printf(\"\\n\");\n-\n+\n+\tfor (_index = 0; _index < length(p); ++_index) {\n+#\tfor (_index in p) {\n+\t\tif (_index != 0)\n+\t\t\tprintf(\",\")\n+\t\tprintf(\"%s\", arr[p[_index]])\n+\t\t_col++;\n+\t}\n+\tprintf(\"\\n\");\n }\n \n function print_header()\n {\n-    print_arr( title );\n-\n-    delete avg\n-    averages = 0;\n+\tprint_arr( title );\n+\n+\tdelete avg\n+\taverages = 0;\n }\n \n function print_stats()\n {\n-    if (!boot_start)\n-\treturn\n-\n-    print_arr( time );\n+\tif (!start[boot])\n+\t\treturn\n+\n+\tprintf(\"%d)\", boot_index )\n+\tprint_arr( time );\n \n # update average\n-    for (i in title) {\n-\tavg[i] = avg[i] + time[i];\n-    }\n-    averages++;\n+\tfor (i in title) {\n+\t\tavg[i] = avg[i] + time[i];\n+\t}\n+\taverages++;\n \n #    printf(\"%s\\t%s\\t%s\\n\", dal_time, powerup_time, ready_to_watch_time)\n-    boot_start = 0;\n-    \n+#    start[boot] = 0;\n }\n \n function print_final()\n {\n-    print_stats();\n-\n-    print \"---\";\n-    if (averages) {\n-\tfor (i in title) {\n-\t    avg[i] = int(avg[i] \/ averages);\n-\t}\n-    }\n-\n-    print_arr( avg )\n-\n-    delete avg\n-    averages = 0;\n+\tprint_stats();\n+\n+\tprint \"---\";\n+\tif (averages) {\n+\t\tfor (i in title) {\n+\t\t\tavg[i] = int(avg[i] \/ averages);\n+\t\t}\n+\t}\n+\n+\tprint_arr( avg )\n+\n+\tdelete avg\n+\taverages = 0;\n+}\n+\n+function begin_boot()\n+{\n+\tif (state != none) {\n+\t\tstate=none\n+\t\tdelete start\n+\t\tboot_index++;\n+\t\tfixtime = 0;\n+\n+\t\tdelete start\n+\t\tdelete time\n+\t\tclose( out );\n+\t\tout = FILENAME \".part\" boot_index \".log\";\n+\t\tprintf(\"\") > out;\n+#\t\tprint \"BOOT: \" boot_index \")\", $0\n+\t}\n }\n \n BEGINFILE {\n-    boot_start = 0;\n-    fixtime = 0;\n-    boot_index = 0;\n \n # indices\n-    boot = 0\n-    dal  = 1\n-    powerup = 2\n-    ready_to_watch = 3\n+\tfirst = -1\n+\tnone = 0\n+\tboot = 1\n+\tdal  = 2\n+\tpowerup = 3\n+\tready_to_watch = 4\n+\n+\tplatform=100\n \n # titles\n-    title[ boot ] = \"\"\n-    title[ dal  ] = \"dal\"\n-    title[ powerup ] = \"powerup\"\n-    title[ ready_to_watch ] = \"ready_to_watch\"\n-\n-    print \"*** \" FILENAME;\n-    print_header();\n+\ttitle[ boot ] = \"\"\n+\ttitle[ dal  ] = \"dal\"\n+\ttitle[ powerup ] = \"powerup\"\n+\ttitle[ ready_to_watch ] = \"ready_to_watch\"\n+\ttitle[ platform ] = \"Platform\"\n+\n+# print\n+\tp[0] = dal\n+\tp[1] = powerup\n+\tp[2] = platform\n+\tp[3] = ready_to_watch\n+\n+# env\n+\tstate = first\n+\tfixtime = 0;\n+\tboot_index = 0;\n+\tstart[boot] = 0;\n+\n+\tprint \"*** \" FILENAME;\n+\tprint_header();\n }\n \n \n # line time is in $2 and $3\n # [DBG] 13.08.2015 06:04:16.501\n-\n-\/Thread::init\\('LogBufferThread'\\)\/ { # first supervisor message\n-\n-    fixtime = 0;\n-\n-    delete start\n-    delete time\n-\n-    start[ boot ] = boot_start = gettime($2, $3)\n-    boot_index++;\n-\n-    close( out );\n-    out = FILENAME \".boot\" boot_index \".log\";\n-\n-#    print \"start: \" boot_start, ts2str(boot_start);\n-}\n-\n+\/BCM74130011|main: starting supervisor\/ {  # first supervisor message, reset stage\n+\tbegin_boot();\n+}\n+\n+!start[ boot ] && \/\\[SUPERVISOR\\]\/ {\n+    begin_boot();\n+    start[ boot ] = gettime($2, $3)\n+    state = boot\n+#    print \"SUPERVISOR: \", $0\n+#    print \"start: \" start[boot], ts2str(start[boot]), $0;\n+}\n+\n+#!start[dal] && \/\\[DalManager\\]\/ {\n \/DAL: main: DAL version\/ { # first DAL message\n-    if (!boot_start) {\n+    if (!start[boot]) {\n \tprint \"no start message found\"\n \tnext;\n     }\n \n     start[dal] = gettime($2, $3) - fixtime\n     time[dal]  = start[dal] - start[boot]\n+    state = dal\n }\n \n \/DAL: PosixProcess::run: run \\[powerup-launcher\\]\/ {\n-    if (!boot_start) {\n+    if (!start[boot]) {\n \tprint \"no start message found\"\n \tnext;\n     }\n \n     start[powerup] = gettime($2, $3) - fixtime\n     time[powerup] = start[powerup] - start[dal]\n+    state = powerup\n }\n \n \/Registry: set: \\[registry\\] ready_to_watch <-- 1 \\[added, 0\\]\/ {\n-    if (!boot_start) {\n+    if (!start[boot]) {\n \tprint \"no start message found\"\n \tnext;\n     }\n \n     start[ready_to_watch] = gettime($2, $3) - fixtime\n     time[ready_to_watch] = start[ready_to_watch] - start[powerup]\n+    state = ready_to_watch\n \n     print_stats();\n }\n \n+\/LifeCycleManager: initialization of the component DOB2 complete\/ {\n+    now = gettime($2, $3) - fixtime\n+    time[ platform ] = now - start[ powerup ]\n+}\n+\n \/system time changed from .* to .*\/ { # time fix message\n-    if (!boot_start)\n-\tnext\n-\n-    if (!match($0, \/system time changed from (.*) to (.*)\/, arr))\n-\tdie(\"Unable to match time\");\n-\t\n-    delta1 = gettime(arr[1])\n-    delta2 = gettime(arr[2])\n-    fixtime += (delta2 - delta1)\n+\tif (!start[boot])\n+\t\tnext\n+\n+\tif (!match($0, \/system time changed from (.*) to (.*)\/, arr))\n+\t\tdie(\"Unable to match time\");\n+\n+\tdelta1 = gettime(arr[1])\n+\tdelta2 = gettime(arr[2])\n+\tfixtime += (delta2 - delta1)\n }\n \n ENDFILE {\n-    print_final()\n-    close( out );\n-}\n-\n-{\n-    if (boot_start) {\n-\tprint $0 >> out;\n-    }\n-}\n+\tprint_final()\n+\tclose( out );\n+}\n+\n+{\n+\tif (start[boot]) {\n+\t\tprint $0 >> out;\n+\t}\n+}\n"}
{"commit":"a043261778b73eb67b620f907df08242de574276","subject":"Update filter_en_uk.awk","message":"Update filter_en_uk.awk\n\nadded \u20ac","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- filter_en_uk.awk\n+++ filter_en_uk.awk\n@@ -37,6 +37,10 @@\n             }\n             if ($x == \"$\") {\n                 macroLine = macroLine \"+lshift,+4,-4,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u20ac\") {\n+                macroLine = macroLine \"+ralt,+4,-4,-ralt\";\n                 break;\n             }\n             if ($x == \"%\") {\n"}
{"commit":"d9ebebd558bae939145b7b920acc17306c295608","subject":"use SGR code 22 instead of 21","message":"use SGR code 22 instead of 21\n\n* fix #38\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -216,14 +216,14 @@\n # See: <https:\/\/en.wikipedia.org\/wiki\/ANSI_escape_code>\n function initAnsiCode() {\n     # Dumb terminal: no ANSI escape code whatsoever\n-    if(ENVIRON[\"TERM\"] == \"dumb\") return\n+    if (ENVIRON[\"TERM\"] == \"dumb\") return\n \n     AnsiCode[\"reset\"]         = AnsiCode[0] = \"\\33[0m\"\n \n     AnsiCode[\"bold\"]          = \"\\33[1m\"\n     AnsiCode[\"underline\"]     = \"\\33[4m\"\n     AnsiCode[\"negative\"]      = \"\\33[7m\"\n-    AnsiCode[\"no bold\"]       = \"\\33[21m\"\n+    AnsiCode[\"no bold\"]       = \"\\33[22m\" # SGR code 21 (bold off) not widely supported\n     AnsiCode[\"no underline\"]  = \"\\33[24m\"\n     AnsiCode[\"positive\"]      = \"\\33[27m\"\n \n"}
{"commit":"e7e78519b202b6ace09a0086fc7438b76c85b60c","subject":"handle one line struct {}, multiline comments, whitespaces when parsing header for structs","message":"handle one line struct {}, multiline comments, whitespaces when parsing header for structs\n\n\ngit-svn-id: 88e1a00e4eab3b0bb0c09889526309a3e2f5bd8a@187 c26eb9a1-5813-0410-bd6c-c2e55f420ca7\n","repos":"lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache,lighttpd\/xcache","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -2,11 +2,35 @@\n # vim:ts=4:sw=4\n BEGIN {\n \tbrace = 0;\n+\tincomment = 0;\n \tbuffer_len = 0;\n }\n+\n+# multiline comment handling\n+{\n+\t# removes one line comment\n+\tgsub(\/\\\/\\*(.+?)\\*\\\/\/, \" \");\n+}\n+\/\\*\\\/\/ {\n+\tif (incomment) {\n+\t\tsub(\/.*\\*\\\/\/, \"\");\n+\t\tincomment = 0;\n+\t}\n+}\n+incomment {\n+\tnext;\n+}\n+\/\\\/\\*\/ {\n+\tsub(\/\\\/\\*.*\/, \"\");\n+\tincomment = 1;\n+\t# fall through\n+}\n+\n+# skip file\/line mark here to be faster\n \/^#\/ {\n \tnext;\n }\n+\n \/^}.*;\/ {\n \tif (instruct) {\n \t\tsub(\";\", \"\");\n@@ -53,7 +77,7 @@\n \n {\n \tif (brace == 1 && instruct) {\n-\t\tgsub(\/\\\/\\*(.+?)\\*\\\/\/, \" \"); # removes one line comment\n+\t\tgsub(\/(^[\\t ]+|[\\t ]+$)\/, \"\"); # trim whitespaces\n \t\tsub(\/.*[{}]\/, \"\");\n \t\tgsub(\/\\[[^\\]]+\\]\/, \"\"); # ignore [...]\n \t\tgsub(\/:[0-9]+\/, \"\"); # ignore struct bit\n@@ -66,6 +90,8 @@\n \t\t\tbuffer_len ++;\n \t\t}\n \t\telse {\n+\t\t\t# process normal variables\n+\n \t\t\t# ignore any ()s\n \t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\")) {\n \t\t\t}\n@@ -82,6 +108,7 @@\n \t\t\tif (!match($0, \/;\/)) {\n \t\t\t\tnext;\n \t\t\t}\n+\t\t\t# print \"=DEBUG=\" $0 \"==\";\n \t\t\tsplit($0, chunks, \";\");\n \t\t\t# [unsigned int a, b, c]\n \n@@ -101,7 +128,9 @@\n \t\t\t\t\tdelete pieces[j];\n \t\t\t\t}\n \t\t\t\tif (last_piece == \"\") {\n-\t\t\t\t\tprint \"=====\" chunks[i];\n+\t\t\t\t\t# print \"=ERROR=\" chunks[i] \"==\";\n+\t\t\t\t\tdelete chunks[i];\n+\t\t\t\t\tcontinue;\n \t\t\t\t}\n \t\t\t\t# a\n \t\t\t\t# b\n@@ -122,7 +151,7 @@\n \ttypedefs[$3] = $4;\n \tnext;\n }\n-\/^typedef struct .*\\{\/ {\n+\/^typedef struct .*\\{[^}]*$\/ {\n \tbrace = 1;\n \tinstruct = 1;\n \tnext;\n"}
{"commit":"ac954674edab0992a51c522a56502a0e1f488100","subject":"Change column count err message","message":"Change column count err message\n\nsee: https:\/\/trello.com\/c\/ShoI6Sr2\/350-user-interprets-his-upload-violations\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -82,9 +82,9 @@\n     print pkeycheck\n     cat = \"error\"\n     test = \"NF != field_width\"\n-    msg = \"row \\\" NR \\\" in \\\" CSVFILENAME \\\" has \\\" NF \\\" records and \\\" field_width \\\" was expected\"\n-    mini_msg = \"row \\\" NR \\\" has an invalid column number\"\n-    rule_type = \"field-width-missmatch\"\n+    msg = \"row \\\" NR \\\" in \\\" CSVFILENAME \\\" has \\\" NF \\\" columns and \\\" field_width \\\" was expected\"\n+    mini_msg = \"row \\\" NR \\\" has an invalid column count\"\n+    rule_type = \"invalid-column-count\"\n     # print \"action ~ \/^validate\/ && NR > 1 { if(NF != field_width) { print \\\"row \\\" NR \\\" in \\\" CSVFILENAME \\\" has \\\" NF \\\" records and \\\" field_width \\\" was expected\\\"; next;} }\"\n }\n \n"}
{"commit":"01024a52f147fdd336c25f4aabc7f6d6b0abf9de","subject":"interp_utils.awk\t-- macro expansion added","message":"interp_utils.awk\t-- macro expansion added\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/interp_utils.awk\n+++ lib\/interp_utils.awk\n@@ -1,4 +1,4 @@\n-function IU_init(config, interp, name,    key, work, n_ary, ary, i, v_pat, v_len) {\n+function IU_init(config, interp, name,    key, work, n_ary, ary, i, v_pat, parms) {\n \n \tinterp[\"name\"] = name\n \n@@ -28,22 +28,32 @@\n \tfor(i = 1; i <= n_ary; i++){\n \t\tsub(\/^[ \\t]*\/, \"\", ary[i])\n \t\tsub(\/[ \\t]*$\/, \"\", ary[i])\n+\t\tparms[\"grad\"] = ary[i]\n \t\tif(index(ary[i], \":\") != 0){\n \t\t\tinterp[\"is_grad\"] = 1\n \t\t\tv_pat = v_pat \"g\"\n-\t\t\tv_len = _IU_check_grad(ary[i])\n-\t\t\tif(v_len == 0){\n+\t\t\tparms[\"v_len\"] = 0\n+\t\t\tif(_IU_check_grad(config, parms)){\n \t\t\t\tprintf(\"ERROR: IU_init: _IU_check_grad failed for value %d (%s)\\n\", i, ary[i]) > \"\/dev\/stderr\"\n \t\t\t\treturn 1\n \t\t\t}else if(interp[\"v_len\"] == 0){\n-\t\t\t\tinterp[\"v_len\"] = v_len\n-\t\t\t}else if(v_len != interp[\"v_len\"]){\n-\t\t\t\tprintf(\"ERROR: IU_init: v_len (%d) for value %d (%s) differs from current v_len (%d)\\n\", v_len, i, ary[i], interp[\"v_len\"]) > \"\/dev\/stderr\"\n+\t\t\t\tinterp[\"v_len\"] = parms[\"v_len\"]\n+\t\t\t}else if(parms[\"v_len\"] != interp[\"v_len\"]){\n+\t\t\t\tprintf(\"ERROR: IU_init: v_len (%d) for value %d (%s) differs from current v_len (%d)\\n\", parms[\"v_len\"], i, ary[i], interp[\"v_len\"]) > \"\/dev\/stderr\"\n \t\t\t\treturn 1\n \t\t\t}\n-\t\t}else\n+\t\t}else{\n+\t\t\tif(substr(ary[i], 1, 1) == \"$\"){\n+\t\t\t\twork = config[\"_globals\", substr(ary[i], 2)]\n+\t\t\t\tif(work == \"\"){\n+\t\t\t\t\tprintf(\"ERROR: IU_init: macro %s not defined\\n\", ary[i]) > \"\/dev\/stderr\"\n+\t\t\t\t\treturn 1\n+\t\t\t\t}else\n+\t\t\t\t\tparms[\"grad\"] = work\n+\t\t\t}\n \t\t\tv_pat = v_pat \"b\"\n-\t\tinterp[\"values\", i] = ary[i]\n+\t\t}\n+\t\tinterp[\"values\", i] = parms[\"grad\"]\n \t}\n \n \t# get the breaks\n@@ -101,7 +111,7 @@\n \tkey = name \".exceptions\"\n \twork = config[\"_globals\", key]\n \tif(work != \"\"){\n-\t\tif(_IU_parse_exceptions(interp, work))\n+\t\tif(_IU_parse_exceptions(config, interp, work))\n \t\t\treturn 1\n \t}\n \n@@ -208,28 +218,38 @@\n \tprintf(\"}\\n\") > file\n }\n \n-function _IU_check_grad(grad,   v_len, n_ary, ary, i, n_ary2, ary2, j) {\n-\n-\tv_len = 0\n-\tn_ary = split(grad, ary, \":\")\n+function _IU_check_grad(config, parms,    v_len, n_ary, ary, i, work, n_ary2, ary2, j, xgrad, xval) {\n+\n+\tparms[\"v_len\"] = 0\n+\tn_ary = split(parms[\"grad\"], ary, \":\")\n \tif(n_ary != 2){\n \t\tprintf(\"ERROR: _IU_check_grad: grad %s has %d fields, must have %d\\n\", grad, n_ary, 2) > \"\/dev\/stderr\"\n-\t\treturn 0\n-\t}\n+\t\treturn 1\n+\t}\n+\txgrad = \"\"\n \tfor(i = 1; i <= n_ary; i++){\n \t\tn_ary2 = split(ary[i], ary2, \",\")\n-\t\tif(v_len == 0)\n-\t\t\tv_len = n_ary2\n-\t\telse if(n_ary2 != v_len){\n-\t\t\tprintf(\"ERROR: _IU_check_grad: vector %s has %d elements, must have %d\\n\", ary[i], n_ary2, v_len) > \"\/dev\/stderr\"\n-\t\t\treturn 0\n-\t\t}\n-\t}\n-\n-\treturn v_len\n-}\n-\n-function _IU_parse_exceptions(interp, str,   err, n_ary, ary, i, colon, cond, op, opnd, value) {\n+\t\tif(parms[\"v_len\"] == 0)\n+\t\t\tparms[\"v_len\"] = n_ary2\n+\t\telse if(n_ary2 != parms[\"v_len\"]){\n+\t\t\tprintf(\"ERROR: _IU_check_grad: vector %s has %d elements, must have %d\\n\", ary[i], n_ary2, parms[\"v_len\"]) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}\n+\t\tif(substr(ary[i], 1, 1) == \"$\"){\n+\t\t\txval = config[\"_globals\", substr(ary[i], 2)]\n+\t\t\tif(xval == \"\"){\n+\t\t\t\tprintf(\"ERROR: _IU_check_grad: macro %s is not defined\\n\", ary[i]) > \"\/dev\/stderr\"\n+\t\t\t\treturn 1\n+\t\t\t}\n+\t\t\txgrad = xgrad (i > 1 ? \":\" : \"\") xval\n+\t\t}\n+\t}\n+\tparms[\"grad\"] = xgrad\n+\n+\treturn 0\n+}\n+\n+function _IU_parse_exceptions(config, interp, str,   err, n_ary, ary, i, work, colon, cond, op, opnd, value, xvalue) {\n \n \terr = 0\n \tinterp[\"exceptions\"] = str\n@@ -268,7 +288,7 @@\n \t\tsub(\/^  *\/, \"\", opnd)\n \t\tsub(\/  *$\/, \"\", opnd)\n \t\tif(cond == \"\"){\n-\t\t\tprint(\"ERROR: _IU_parse_exception: exception %d: %s: empty operand %s\\n\", i, ary[i]) > \"\/dev\/stderr\"\n+\t\t\tprint(\"ERROR: _IU_parse_exception: exception %d: %s: empty operand\\n\", i, ary[i]) > \"\/dev\/stderr\"\n \t\t\treturn 1\n \t\t}\n \n@@ -276,6 +296,17 @@\n \t\tsub(\/^  *\/, \"\", value)\n \t\tsub(\/  *$\/, \"\", value)\n \t\t# TODO? value can be empty, is this OK?\n+\t\tif(value == \"\"){\n+\t\t\tprintf(\"ERROR: _IU_parse_exception: exception %d: %s: empty value\\n\", i, ary[i]) > \"\/dev\/stderr\"\n+\t\t\treturn 1\n+\t\t}else if(substr(value, 1, 1) == \"$\"){\n+\t\t\txvalue = config[\"_globals\", substr(value, 2)]\n+\t\t\tif(xvalue == \"\"){\n+\t\t\t\tprintf(\"ERROR: _IU_parse_exception: macro %s is not defined\\n\", value) > \"\/dev\/stderr\"\n+\t\t\t\treturn 1\n+\t\t\t}\n+\t\t\tvalue = xvalue\n+\t\t}\n \n \t\tinterp[\"exceptions\", i, \"op\"] = op \n \t\tinterp[\"exceptions\", i, \"opnd\"] = opnd + 0 # force numeric\n"}
{"commit":"2d4cd3c62ac2e243163eb2f50535af6633d2c6d4","subject":"pushing","message":"pushing\n","repos":"timm\/sandbox,timm\/sandbox,timm\/sandbox,timm\/sandbox,timm\/sandbox","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- auk\/sdtree.auk\n+++ auk\/sdtree.auk\n@@ -24,7 +24,7 @@\n   use = best(ranges,sorted)\n   for(r=length(sorted); r>=1; r--)\n     if (sorted[r].column == use)\n-        kids(use, sorted[r],max,k,pre) \n+        kids(use, sorted[r],max,k,pre)  \n }\n # Somethings to note:\n #\n"}
{"commit":"a4f0c9e6998e107400f0dc014ea14ef8489a4fc1","subject":"2015-03-12: parsegaspriceshtml.awk: Added substitution for Marathon pictures.","message":"2015-03-12: parsegaspriceshtml.awk: Added substitution for Marathon pictures.\n","repos":"james-prior\/gas-prices","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -42,6 +42,7 @@\n    gsub(\"<img src=\\\"http:\/\/thorntons.*.com\/.*.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    gsub(\"<img src=\\\"\/images\/brands\/199_p.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Thorntons\")\n    gsub(\"<img src=\\\"http:\/\/mycertifiedoil.com\/images\/249\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Certified\")\n+   gsub(\"<img src=\\\"http:\/\/bellstores.com\/images\/253\/price-listing-ad-brand-logo.png\\\" border=\\\"\\\" alt=\\\"\\\" \/>\",\"Marathon\")\n    expectName=False\n    sub(\"<\/a>[ ]*$\",\"\")\n    sub(\"^.*>\",\"\")\n"}
{"commit":"d532510e420346c8307f5889c97600394512caa5","subject":"Revert \"Update awk file to match rupa's z (#42)\"","message":"Revert \"Update awk file to match rupa's z (#42)\"\n\nThis reverts commit 6962f589a495b80e35ed9c2678b9fd53cd670afa.\n","repos":"fisherman\/z","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"49455ea1853817daecfc1348597feb673735c756","subject":"CWS swlayoutrefactoring: last portion of m100 merged","message":"CWS swlayoutrefactoring: last portion of m100 merged","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"unknown","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"a6e7a29bf4687ed9b498ac2fac105d95e2710f07","subject":"Main: escape embedded bracket in regexp (fix #55 for gawk 4.1.2)","message":"Main: escape embedded bracket in regexp (fix #55 for gawk 4.1.2)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -358,7 +358,7 @@\n \n         # Shortcut format\n         # '[code]:[code]+...' or '[code]=[code]+...'\n-        match(ARGV[pos], \/^[{([]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\\]]?$\/, group)\n+        match(ARGV[pos], \/^[{(\\[]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\\]]?$\/, group)\n         if (RSTART) {\n             if (group[1]) Option[\"sl\"] = group[1]\n             if (group[4]) split(group[4], Option[\"tl\"], \"+\")\n"}
{"commit":"99251b2b2de4a4c6998732a6ca54006c8c0c6184","subject":"make option -version and -interactive a little more comprehensive","message":"make option -version and -interactive a little more comprehensive\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -79,6 +79,10 @@\n         match(ARGV[pos], \/^--?(vers(i(on?)?)?|V)$\/)\n         if (RSTART) {\n             print getVersion()\n+            print\n+            printf(\"%-22s%s\\n\", \"gawk (GNU Awk)\", PROCINFO[\"version\"])\n+            printf(\"%s\\n\", FriBidi ? FriBidi : \"fribidi (GNU FriBidi) [NOT INSTALLED]\")\n+            printf(\"%-22s%s\\n\", \"User Language\", Locale[getCode(UserLang)][\"name\"] \" (\" show(Locale[getCode(UserLang)][\"endonym\"]) \")\")\n             exit\n         }\n \n@@ -346,6 +350,9 @@\n         }\n     }\n \n+    if (Option[\"interactive\"])\n+        print AnsiCode[\"bold\"] AnsiCode[tolower(Option[\"prompt-color\"])] getVersion() AnsiCode[0] > \"\/dev\/stderr\"\n+\n     # Initialize browser\n     if (!Option[\"browser\"]) {\n         \"xdg-mime query default text\/html 2>\/dev\/null\" |& getline Option[\"browser\"]\n"}
{"commit":"585f178b2903282090b8147eefdab3bc63f01568","subject":"Define BRLAPI_DOT_CHORD. (dm)","message":"Define BRLAPI_DOT_CHORD. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@4388 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi_constants.awk\n+++ Programs\/brlapi_constants.awk\n@@ -89,4 +89,7 @@\n   }\n \n   print \"#define BRLAPI_DOTS(\" arguments \") (\\\\\\n\" expression \" \\\\\\n)\"\n+\n+  print \"\"\n+  writeMacroDefinition(\"BRLAPI_DOT_CHORD\", 0X100, \"space key\")\n }\n"}
{"commit":"52f6ca86f76dc3b0626415e1d2e8ede21bb81eae","subject":"Created output level constants. Output styles. Variables in function moved to local scope. Improved multi-file support.","message":"Created output level constants. Output styles. Variables in function moved to local scope. Improved multi-file support.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@7020 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- test\/scripts\/tdb.awk\n+++ test\/scripts\/tdb.awk\n@@ -1,13 +1,15 @@\n #!\/usr\/bin\/awk -f\n \n-#\n+#######\n # BEGIN\n-#\n+#######\n \n BEGIN {\n- # Constants\n+ # Boolean\n  false = 0;\n  true = 1;\n+\n+ # Format codes\n  CODE_ATTRIBUTE      = \"@\"\n  CODE_ESTIMATED_SIZE = \"e\"\n  CODE_JOURNAL_TITLE  = \"j\"\n@@ -19,6 +21,8 @@\n  CODE_SKIP_2         = \"X\"\n  CODE_STATUS         = \"S\"\n  CODE_TITLE          = \"t\"\n+\n+ # Archival unit statuses\n  STATUS_DOES_NOT_EXIST = \"does_not_exist\"\n  STATUS_DO_NOT_PROCESS = \"do_not_process\"\n  STATUS_DOWN           = \"down\"\n@@ -29,110 +33,238 @@\n  STATUS_RELEASED       = \"released\"\n  STATUS_RETRACTED      = \"retracted\"\n  STATUS_TESTING        = \"testing\"\n- LEVEL_CONSERVATIVE_TESTING = \"conservativeTesting\"\n- LEVEL_CONTENT_TESTING      = \"contentTesting\"\n- LEVEL_DANGEROUS            = \"dangerous\"\n- LEVEL_PRE_RELEASE          = \"preRelease\"\n- LEVEL_PRODUCTION           = \"production\"\n- LEVEL_VERY_DANGEROUS       = \"veryDangerous\"\n- LEVEL_DEFAULT              = LEVEL_PRODUCTION\n+\n+ # Output levels and corresponding archival unit statuses\n+ LEVEL_PRODUCTION              = \"production\"\n+ STATUSES_PRODUCTION           = STATUS_RETRACTED \",\" STATUS_DOWN \",\" STATUS_RELEASED\n+ LEVEL_CONTENT_TESTING         = \"contentTesting\"\n+ STATUSES_CONTENT_TESTING      = STATUSES_PRODUCTION \",\" STATUS_PRE_RELEASED \",\" STATUS_READY \",\" STATUS_TESTING \",\" STATUS_MANIFEST \",\" STATUS_EXISTS\n+ LEVEL_DANGEROUS               = \"dangerous\"\n+ STATUSES_DANGEROUS            = STATUSES_CONTENT_TESTING \",\" STATUS_DO_NOT_PROCESS\n+ LEVEL_VERY_DANGEROUS          = \"veryDangerous\"\n+ STATUSES_VERY_DANGEROUS       = STATUSES_DANGEROUS \",\" STATUS_DOES_NOT_EXIST\n+ LEVEL_PRE_RELEASE             = \"preRelease\"\n+ STATUSES_PRE_RELEASE          = STATUS_PRE_RELEASED\n+ LEVEL_CONSERVATIVE_TESTING    = \"conservativeTesting\"\n+ STATUSES_CONSERVATIVE_TESTING = STATUS_RELEASED \",\" STATUS_PRE_RELEASED \",\" STATUS_READY \",\" STATUS_TESTING \",\" STATUS_MANIFEST\n+ LEVEL_DEFAULT                 = LEVEL_PRODUCTION\n+\n+ # Output styles\n+ STYLE_XML         = \"xml\"\n+ STYLE_XML_ENTRIES = \"xmlEntries\"\n+ STYLE_XML_LEGACY  = \"xmlLegacy\"\n+ STYLE_DEFAULT     = STYLE_XML_ENTRIES\n+\n+ # Exit codes\n  EXIT_NO_FORMAT_STRING = 11\n \n  # Initial setup\n  FS=\"\\t\"\n- preamble = true\n- numAdditionalAttributes = 0\n+ parseCommandLine()\n+\n+ # Preamble\n+ if (outputStyle == STYLE_XML || outputStyle == STYLE_XML_LEGACY) { preambleXml() }\n+}\n+\n+###########\n+# FUNCTIONS\n+###########\n+\n+#\n+# parseCommandLine\n+#\n+function parseCommandLine() {\n+ # Disallow overrides\n+ formatString = \"\"\n+ namePrefix = \"\"\n+\n+ # Defaults\n+ if (outputStyle == \"\") { outputStyle = STYLE_DEFAULT }\n+ if (outputLevel == \"\") { outputLevel = LEVEL_DEFAULT }\n+\n+ # Parse\n+ parseOutputLevel()\n+}\n+\n+#\n+# parseFormatString\n+#\n+function parseFormatString(        _splitFormatString, _numFields, _field, _code) {\n+ # Reset format information\n+ delete indexOf\n+ numAdditionalParameters = 0\n+ delete indexAdditionalAttributes\n  numParameters = 0\n- parseCommandLine()\n-}\n-\n-#\n-# FUNCTIONS\n-#\n-\n-# parseCommandLine\n-function parseCommandLine() {\n- if (formatString != \"\") { parseFormatString() }\n- if (outputLevel == \"\") { outputLevel = LEVEL_DEFAULT }\n- parseOutputLevel()\n-}\n-\n-# parseFormatString\n-function parseFormatString() {\n- numFields = split(formatString, _fields, \",\")\n- for (_field = 1 ; _field <= numFields ; ++_field) {\n-  _code = _fields[_field]\n+ delete indexParameters\n+\n+ # For each format code...\n+ _numFields = split(formatString, _splitFormatString, \",\")\n+ for (_field = 1 ; _field <= _numFields ; ++_field) {\n+  _code = _splitFormatString[_field]\n   if (_code == CODE_SKIP_1 || _code == CODE_SKIP_2) { continue }\n   else if (_code == CODE_ESTIMATED_SIZE || _code == CODE_JOURNAL_TITLE || _code == CODE_PLUGIN || _code == CODE_TITLE || _code == CODE_PUBLISHER || _code == CODE_STATUS || _code == CODE_RIGHTS) { indexOf[_code] = _field }\n   else if (_code == CODE_ATTRIBUTE) { indexAdditionalAttributes[++numAdditionalAttributes] = _field }\n   else if (_code == CODE_PARAMETER) { indexParameters[++numParameters] = _field }\n- }\n-}\n-\n+  # FIXME: unknown code\n+ }\n+}\n+\n+#\n # parseOutputLevel\n-function parseOutputLevel() {\n- split(outputLevel, _levels, \",\")\n- for (_i in _levels) {\n-  if (_levels[_i] == LEVEL_PRODUCTION) { _status = STATUS_RETRACTED \",\" STATUS_DOWN \",\" STATUS_RELEASED }\n-  else if (_levels[_i] == LEVEL_PRE_RELEASE) { _status = STATUS_PRE_RELEASED }\n-  else if (_levels[_i] == LEVEL_CONTENT_TESTING) { _status = STATUS_RETRACTED \",\" STATUS_DOWN \",\" STATUS_RELEASED \",\" STATUS_PRE_RELEASED \",\" STATUS_READY \",\" STATUS_TESTING \",\" STATUS_MANIFEST \",\" STATUS_EXISTS }\n-  else if (_levels[_i] == LEVEL_CONSERVATIVE_TESTING) { _status = STATUS_RELEASED \",\" STATUS_PRE_RELEASED \",\" STATUS_READY \",\" STATUS_TESTING \",\" STATUS_MANIFEST }\n-  else if (_levels[_i] == LEVEL_DANGEROUS) { _status = STATUS_RETRACTED \",\" STATUS_DOWN \",\" STATUS_RELEASED \",\" STATUS_PRE_RELEASED \",\" STATUS_READY \",\" STATUS_TESTING \",\" STATUS_MANIFEST \",\" STATUS_EXISTS \",\" STATUS_DO_NOT_PROCESS }\n-  else if (_levels[_i] == LEVEL_VERY_DANGEROUS) { _status = STATUS_RETRACTED \",\" STATUS_DOWN \",\" STATUS_RELEASED \",\" STATUS_PRE_RELEASED \",\" STATUS_READY \",\" STATUS_TESTING \",\" STATUS_MANIFEST \",\" STATUS_EXISTS \",\" STATUS_DO_NOT_PROCESS \",\" STATUS_DOES_NOT_EXIST }\n-  else { _status = _levels[_i] }\n-  split(_status, _statuses, \",\")\n-  for (_j in _statuses) { outputLevels[_statuses[_j]] = true; }\n- }\n-}\n-\n-# printOneEntry\n-function printOneEntry() {\n+#\n+function parseOutputLevel(        _splitOutputLevel, _i, _statuses, _splitStatuses, _j) {\n+ # Reset output level information\n+ delete outputLevels\n+\n+ # For each output level...\n+ split(outputLevel, _splitOutputLevel, \",\")\n+ for (_i in _splitOutputLevel) {\n+  # Synonyms\n+  if (_splitOutputLevel[_i] == LEVEL_PRODUCTION) { _statuses = STATUSES_PRODUCTION }\n+  else if (_splitOutputLevel[_i] == LEVEL_PRE_RELEASE) { _statuses = STATUSES_PRE_RELEASE }\n+  else if (_splitOutputLevel[_i] == LEVEL_CONTENT_TESTING) { _statuses = STATUSES_CONTENT_TESTING }\n+  else if (_splitOutputLevel[_i] == LEVEL_CONSERVATIVE_TESTING) { _statuses = STATUSES_CONSERVATIVE_TESTING }\n+  else if (_splitOutputLevel[_i] == LEVEL_DANGEROUS) { _statuses = STATUSES_DANGEROUS }\n+  else if (_splitOutputLevel[_i] == LEVEL_VERY_DANGEROUS) { _statuses = STATUSES_VERY_DANGEROUS }\n+  else { _statuses = _splitOutputLevel[_i] } # Not a synonym\n+  # For each status...\n+  split(_statuses, _splitStatuses, \",\")\n+  for (_j in _splitStatuses) { outputLevels[_splitStatuses[_j]] = true; }\n+ }\n+}\n+\n+#\n+# preambleXml\n+#\n+function preambleXml() {\n+ xmlInOrgLockssTitle = false;\n+\n+ printf  \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\"\n+ printf  \"<!DOCTYPE lockss-config [\\n\"\n+ printf  \"<!ELEMENT lockss-config (if|property)+>\\n\"\n+ printf  \"<!ELEMENT property (property|list|value|if)*>\\n\"\n+ printf  \"<!ELEMENT list (value)+>\\n\"\n+ printf  \"<!ELEMENT value (#PCDATA)>\\n\"\n+ printf  \"<!ELEMENT test EMPTY>\\n\"\n+ printf  \"<!ELEMENT and (and|or|not|test)*>\\n\"\n+ printf  \"<!ELEMENT or (and|or|not|test)*>\\n\"\n+ printf  \"<!ELEMENT not (and|or|not|test)*>\\n\"\n+ printf  \"<!ELEMENT if (and|or|not|then|else|test|property)*>\\n\"\n+ printf  \"<!ELEMENT then (if|property)*>\\n\"\n+ printf  \"<!ELEMENT else (if|property)*>\\n\"\n+ printf  \"<!ATTLIST property name CDATA #REQUIRED>\\n\"\n+ printf  \"<!ATTLIST property value CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test hostname CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test group CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test daemonVersionMin CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test daemonVersionMax CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test daemonVersion CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test platformVersionMin CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test platformVersionMax CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test platformVersion CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST test platformName CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if hostname CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if group CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if daemonVersionMin CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if daemonVersionMax CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if daemonVersion CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if platformVersionMin CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if platformVersionMax CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if platformVersion CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST if platformName CDATA #IMPLIED>\\n\"\n+ printf  \"<!ATTLIST list append CDATA #IMPLIED>\\n\"\n+ printf  \"]>\\n\"\n+ printf  \"\\n\"\n+ printf  \"<lockss-config>\\n\"\n+ printf  \"\\n\"\n+}\n+\n+#\n+# postambleXml\n+#\n+function postambleXml() {\n+ if (xmlInOrgLockssTitle) {\n+  xmlInOrgLockssTitle = false;\n+  printf \" <\/property>\\n\"\n+  printf \"\\n\"\n+ }\n+ printf  \"<\/lockss-config>\\n\"\n+}\n+\n+#\n+# printOneXmlEntry\n+#\n+function printOneXmlEntry(        _status, _param, _attr) {\n+ # Skip based on output level\n  _status = $indexOf[CODE_STATUS]\n  if (!outputLevels[_status]) { return }\n \n+ # Start config subtree if needed\n+ if ((outputStyle == STYLE_XML || outputStyle == STYLE_XML_LEGACY) && !xmlInOrgLockssTitle) {\n+  xmlInOrgLockssTitle = true;\n+  printf \" <property name=\\\"org.lockss.title\\\">\\n\"\n+  printf \"\\n\"\n+ }\n+\n+ # Begin\n  printf  \"  <property name=\\\"%s\\\">\\n\", getOpaqueName($indexOf[CODE_TITLE])\n \n- if (indexOf[CODE_PUBLISHER] != \"\") { printOneAttribute(\"publisher=\" xml($indexOf[CODE_PUBLISHER])) }\n+ # First the publisher if there is one\n+ if (indexOf[CODE_PUBLISHER] != \"\") { printOneXmlAttribute(\"publisher=\" xml($indexOf[CODE_PUBLISHER])) }\n+\n+ # Then the journal title, archival unit title and plugin\n  printf  \"   <property name=\\\"journalTitle\\\" value=\\\"%s\\\" \/>\\n\", xml($indexOf[CODE_JOURNAL_TITLE])\n-   printf  \"   <property name=\\\"title\\\" value=\\\"%s%s\\\" \/>\\n\", xml($indexOf[CODE_TITLE]), (_status == STATUS_PRE_RELEASED ? \" (Pre-release)\" : \"\")\n+ printf  \"   <property name=\\\"title\\\" value=\\\"%s%s\\\" \/>\\n\", xml($indexOf[CODE_TITLE]), (_status == STATUS_PRE_RELEASED ? \" (Pre-release)\" : \"\")\n  printf  \"   <property name=\\\"plugin\\\" value=\\\"%s\\\" \/>\\n\", $indexOf[CODE_PLUGIN]\n \n+ # Then the parameters\n  for (_param = 1 ; _param <= numParameters ; ++_param) {\n   _pair = $indexParameters[_param]\n   if (_pair == \"\") { continue }\n-  printOneParameter(_param, _pair)\n- }\n- if (_status == STATUS_DOWN) { printOneParameter(99, \"pub_down=true\") }\n-\n+  printOneXmlParameter(_param, _pair)\n+ }\n+ # Down AUs are denoted by a parameter\n+ if (_status == STATUS_DOWN) { printOneXmlParameter(99, \"pub_down=true\") }\n+\n+ # Then any additional parameters\n  for (_attr = 1 ; _attr <= numAdditionalAttributes ; ++_attr) {\n   _pair = $indexAdditionalAttributes[_attr]\n   if (_pair == \"\") { continue }\n-  printOneAttribute(_pair)\n- }\n- if (indexOf[CODE_RIGHTS] != \"\" && $indexOf[CODE_RIGHTS] == \"openaccess\") { printOneAttribute(\"rights=openaccess\") }\n+  printOneXmlAttribute(_pair)\n+ }\n+\n+ # Then other tidbits\n+ if (indexOf[CODE_RIGHTS] != \"\" && $indexOf[CODE_RIGHTS] == \"openaccess\") { printOneXmlAttribute(\"rights=openaccess\") }\n  if (indexOf[CODE_ESTIMATED_SIZE] != \"\" && $indexOf[CODE_ESTIMATED_SIZE] != \"\") {\n   printf \"   <property name=\\\"estSize\\\" value=\\\"%s\\\" \/>\\n\", $indexOf[CODE_ESTIMATED_SIZE]\n  }\n- if (_status == STATUS_PRE_RELEASED) { printOneAttribute(\"releaseStatus=pre-release\") }\n-\n- printf  \"  <\/property>\\n\\n\"\n-\n-}\n-\n-# printOneParameter\n-function printOneParameter(_num, _pair) {\n+ if (_status == STATUS_PRE_RELEASED) { printOneXmlAttribute(\"releaseStatus=pre-release\") }\n+\n+ # End\n+ printf  \"  <\/property>\\n\"\n+ printf  \"\\n\"\n+}\n+\n+#\n+# printOneXmlParameter\n+#\n+function printOneXmlParameter(_num, _pair) {\n  printf  \"   <property name=\\\"param.%d\\\">\\n\", _num\n  printf  \"    <property name=\\\"key\\\" value=\\\"%s\\\" \/>\\n\", getKey(_pair)\n  printf  \"    <property name=\\\"value\\\" value=\\\"%s\\\" \/>\\n\", getValue(_pair)\n  printf  \"   <\/property>\\n\"\n }\n \n-# printOneAttribute\n-function printOneAttribute(_pair) {\n+#\n+# printOneXmlAttribute\n+#\n+function printOneXmlAttribute(_pair) {\n  printf  \"   <property name=\\\"attributes.%s\\\" value=\\\"%s\\\" \/>\\n\", getKey(_pair), getValue(_pair)\n }\n \n+#\n # getOpaqueName\n+#\n function getOpaqueName(_str) {\n  gsub(\/ Volume \/, \"\", _str); # FIXME\n  gsub(\/&\/, \"and\", _str);\n@@ -140,17 +272,23 @@\n  return namePrefix _str\n }\n \n+#\n # getKey\n+#\n function getKey(_str) {\n  return match(_str, \/^[^=]+=\/) ? substr(_str, 1, RLENGTH - 1) : _str\n }\n \n+#\n # getValue\n+#\n function getValue(_str) {\n  return match(_str, \/^[^=]+=\/) ? substr(_str, RLENGTH + 1, length(_str) - RLENGTH) : _str\n }\n \n+#\n # xml\n+#\n function xml(_str) {\n  gsub(\/&\/, \"\\&amp;\", _str);\n  gsub(\/<\/, \"\\&lt;\", _str);\n@@ -158,31 +296,37 @@\n  return _str\n }\n \n-#\n+##########\n # PATTERNS\n-#\n-\n-# Blank lines\n+##########\n+\n+#\n+# Blank line\n+#\n \/^\\t*$\/ {\n  next\n }\n \n+#\n # Format line\n+#\n \/^# @formatString=\/ {\n- if (preamble && formatString == \"\") {\n-  formatString = substr($1, 17, length($1) - 16)\n-  parseFormatString()\n- }\n- next\n-}\n-\n+ formatString = substr($1, 17, length($1) - 16)\n+ parseFormatString()\n+ next\n+}\n+\n+#\n # Name prefix line\n+#\n \/^# @namePrefix=\/ {\n- if (preamble && namePrefix == \"\") { namePrefix = substr($1, 15, length($1) - 14) }\n- next\n-}\n-\n+ namePrefix = substr($1, 15, length($1) - 14)\n+ next\n+}\n+\n+#\n # Comment line\n+#\n \/^#\/ {\n  next\n }\n@@ -190,8 +334,17 @@\n # Normal line\n # unconditional\n {\n- preamble = false\n  if (formatString == \"\") { exit EXIT_NO_FORMAT_STRING }\n- printOneEntry()\n-}\n-\n+ if (outputStyle == STYLE_XML || outputStyle == STYLE_XML_ENTRIES || outputStyle == STYLE_XML_LEGACY) { printOneXmlEntry() }\n+ next\n+}\n+\n+#####\n+# END\n+#####\n+\n+END {\n+ # Postamble\n+ if (outputStyle == STYLE_XML || outputStyle == STYLE_XML_LEGACY) { postambleXml() }\n+}\n+\n"}
{"commit":"de4611d9d15bee484e3f808fd054f6b8d08f1728","subject":"Do not use invalid awk hash escape any more","message":"Do not use invalid awk hash escape any more\n","repos":"cathive\/concourse-sonarqube-resource,cathive\/concourse-sonarqube-resource,cathive\/concourse-sonarqube-resource","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- assets\/readproperties.awk\n+++ assets\/readproperties.awk\n@@ -5,7 +5,7 @@\n \tv=\"\";\n \tc=0; # Not a line continuation.\n }\n-\/^\\#\/ { # The line is a comment.  Breaks line continuation.\n+\/^#\/ { # The line is a comment.  Breaks line continuation.\n \tc=0;\n \tnext;\n }\n"}
{"commit":"59c3410f148912f6d74cfc07788dfa9befc50765","subject":"INTEGRATION: CWS beta2regression03 (1.1.58); FILE MERGED 2003\/04\/30 15:35:19 er 1.1.58.1: #i13811# (not really); adapt to reality","message":"INTEGRATION: CWS beta2regression03 (1.1.58); FILE MERGED\n2003\/04\/30 15:35:19 er 1.1.58.1: #i13811# (not really); adapt to reality\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/currency-check.awk\n+++ i18npool\/source\/localedata\/data\/currency-check.awk\n@@ -1,121 +1,192 @@\n #!\/usr\/bin\/gawk -f\n-#\/\/ Usage: gawk -f currency-check.awk *.xml\n-#\/\/ Check any\n-#\/\/ <FormatCode>...[$xxx-...]...<\/FormatCode>\n-#\/\/ against every\n-#\/\/ <CurrencySymbol>xxx<\/CurrencySymbol>\n-#\/\/ definition of the same XML file and output symbols if no match was found.\n-#\/\/ For formatindex=\"12\" to formatindex=\"15\" and for formatindex=\"17\" it is\n-#\/\/ checked if the used currency symbol is the usedInCompatibleFormatCodes\n-#\/\/ currency symbol as it is needed by the number formatter.\n-#\/\/ Also generates output if the generic currency symbol (UTF8 string 0xC2A4)\n-#\/\/ is used instead of a real currency symbol.\n-#\/\/ Author: Eike Rathke <erack@sun.com>\n+# Usage: gawk -f currency-check.awk *.xml\n+# Check any\n+# <FormatCode>...[$xxx-...]...<\/FormatCode>\n+# against every\n+# <CurrencySymbol>xxx<\/CurrencySymbol>\n+# definition of the same XML file and output symbols if no match was found.\n+# For formatindex=\"12\" to formatindex=\"15\" and for formatindex=\"17\" it is\n+# checked if the used currency symbol is the usedInCompatibleFormatCodes\n+# currency symbol as it is needed by the number formatter.\n+# Also generates output if the generic currency symbol (UTF8 string 0xC2A4)\n+# is used instead of a real currency symbol.\n+# Author: Eike Rathke <er@openoffice.org>\n \n BEGIN {\n-\tfile = \"\"\n-\twhile ( getline > 0 )\n-\t{\n-\t\tif ( file != FILENAME )\n-\t\t{\n-\t\t\tif ( file )\n-\t\t\t\tcheckIt()\n-\t\t\tfile = FILENAME\n-\t\t\tline = 0\n-\t\t\tnFormats = 0\n-\t\t\tnSymbols = 0\n-\t\t\tbSymbolDefault = 0\n+    file = \"\"\n+}\n+\n+\n+file != FILENAME {\n+    if ( file )\n+        checkIt()\n+    file = FILENAME\n+    line = 0\n+    nFormats = 0\n+    nSymbols = 0\n+    bSymbolDefault = 0\n+    bSymbolCompati = 0\n+    bFormatAuto = 0\n+    sReplaceFrom = \"\"\n+    sReplaceTo = \"\"\n+    sMatchReplace = \"\"\n+    sRefCurrencyFromLocale = \"\"\n+}\n+\n+{\n+    ++line\n+    if ( $1 ~ \/^<LC_FORMAT$\/ )\n+    {\n+        if ( $0 ~ \/replaceFrom=\"\\[CURRENCY\\]\"\/ )\n+        {\n+            sReplaceFrom = \"\\\\[CURRENCY\\\\]\"\n+            sMatchReplace = \"^<FormatCode>.*\" sReplaceFrom\n+        }\n+        for ( j=2; j<=NF; ++j )\n+        {\n+            if ( $j ~ \/^replaceTo=\"\/ )\n+            {\n+                l = 12\n+                if ( $j ~ \/>$\/ )\n+                    ++l\n+                if ( $j ~ \/\\\/>$\/ )\n+                    ++l\n+                sReplaceTo = substr( $j, 12, length($j)-l )\n+            }\n+        }\n+    }\n+    else if ( $1 ~ \/^<FormatElement$\/ )\n+    {\n+        if ( $0 ~ \/usage=\"CURRENCY\"\/ )\n+        {\n+            if ( $0 ~ \/formatindex=\"1[23457]\"\/ )\n+                bFormatAuto = 1\n+            else\n+                bFormatAuto = 0\n+        }\n+    }\n+    else if ( $0 ~ \/^<FormatCode>.*\\[\\$.*-[0-9a-fA-F]+\\]\/ ||\n+            (sMatchReplace && $0 ~ sMatchReplace ) )\n+    {\n+        if ( sReplaceFrom )\n+            gsub( sReplaceFrom, sReplaceTo )\n+        split( $0, arr, \/<|>\/ )\n+        split( arr[3], code, \/(\\[\\$)|(-[0-9a-fA-F]+\\])\/ )\n+        for ( j in code )\n+        {\n+            if ( code[j] && code[j] !~ \/\\#|0\/ )\n+            {\n+                FormatLine[nFormats] = file \" line \" line\n+                FormatAuto[nFormats] = bFormatAuto\n+                Formats[nFormats++] = code[j]\n+            }\n+        }\n+        bFormatAuto = 0\n+    }\n+    else if ( $1 ~ \/^<LC_CURRENCY$\/ )\n+    {\n+        for ( j=2; j<=NF; ++j )\n+        {\n+            if ( $j ~ \/^ref=\"\/ )\n+            {\n+                l = 6\n+                if ( $j ~ \/>$\/ )\n+                    ++l\n+                if ( $j ~ \/\\\/>$\/ )\n+                    ++l\n+                locale = substr( $j, 6, length($j)-l )\n+                sRefCurrencyFromLocale = file\n+                oldfile = file\n+                oldline = line\n+                file = locale \".xml\"\n+                line = 0\n+                while ( (getline <file) > 0 )\n+                {\n+                    ++line\n+                    getCurrencyParams()\n+                }\n+                close( file )\n+                if ( !line )\n+                    print \"ref locale not available: \" file \\\n+                        \" (from \" oldfile \" line \" oldline \")\"\n+                file = oldfile\n+                line = oldline\n+                sRefCurrencyFromLocale = \"\"\n+            }\n+        }\n+    }\n+    else\n+        getCurrencyParams()\n+}\n+\n+\n+END {\n+    if ( file )\n+        checkIt()\n+}\n+\n+\n+function getCurrencyParams() {\n+    if ( $1 ~ \/^<Currency$\/ )\n+    {\n+        if ( $0 ~ \/default=\"true\"\/ )\n+            bSymbolDefault = 1\n+        else\n+            bSymbolDefault = 0\n+        if ( $0 ~ \/usedInCompatibleFormatCodes=\"true\"\/ )\n+            bSymbolCompati = 1\n+        else\n             bSymbolCompati = 0\n-\t\t\tbFormatAuto = 0\n-\t\t}\n-\t\t++line\n-\t\tif ( $1 ~ \/^<FormatElement$\/ )\n-\t\t{\n-\t\t\tif ( $5 ~ \/^usage=\"CURRENCY\"$\/ )\n-\t\t\t{\n-\t\t\t\tif ( $6 ~ \/^formatindex=\"1[23457]\">$\/ )\n-\t\t\t\t\tbFormatAuto = 1\n-\t\t\t\telse\n-\t\t\t\t\tbFormatAuto = 0\n-\t\t\t}\n-\t\t}\n-\t\telse if ( $0 ~ \/^<FormatCode>.*\\[\\$.*-[0-9a-fA-F]+\\]\/ )\n-\t\t{\n-\t\t\tsplit( $0, arr, \/<|>\/ )\n-\t\t\tsplit( arr[3], code, \/(\\[\\$)|(-[0-9a-fA-F]+\\])\/ )\n-\t\t\tfor ( j in code )\n-\t\t\t{\n-\t\t\t\tif ( code[j] && code[j] !~ \/\\#|0\/ )\n-\t\t\t\t{\n-\t\t\t\t\tFormatLine[nFormats] = file \" line \" line\n-\t\t\t\t\tFormatAuto[nFormats] = bFormatAuto\n-\t\t\t\t\tFormats[nFormats++] = code[j]\n-\t\t\t\t}\n-\t\t\t}\n-\t\t\tbFormatAuto = 0\n-\t\t}\n-\t\telse if ( $1 ~ \/^<Currency$\/ )\n-\t\t{\n-            if ( $2 ~ \/^default=\"true\"\/ )\n-\t\t\t\tbSymbolDefault = 1\n-\t\t\telse\n-\t\t\t\tbSymbolDefault = 0\n-            if ( $3 ~ \/^usedInCompatibleFormatCodes=\"true\"\/ )\n-                bSymbolCompati = 1\n-\t\t\telse\n-                bSymbolCompati = 0\n-\t\t}\n-\t\telse if ( $0 ~ \/^<CurrencySymbol>\/ )\n-\t\t{\n-\t\t\tsplit( $0, arr, \/<|>\/ )\n-\t\t\tSymbolLine[nSymbols] = file \" line \" line\n-\t\t\tSymbolDefault[nSymbols] = bSymbolDefault\n-            SymbolCompati[nSymbols] = bSymbolCompati\n-\t\t\tSymbols[nSymbols++] = arr[3]\n-\t\t\tbSymbolDefault = 0\n-            bSymbolCompati = 0\n-\t\t}\n-\t}\n-\tcheckIt()\n-}\n-\n-\n-END {\n+    }\n+    else if ( $0 ~ \/^<CurrencySymbol>\/ )\n+    {\n+        split( $0, arr, \/<|>\/ )\n+        if ( sRefCurrencyFromLocale )\n+            SymbolLine[nSymbols] = file \" line \" line \\\n+                \" (referenced from \" sRefCurrencyFromLocale \")\"\n+        else\n+            SymbolLine[nSymbols] = file \" line \" line\n+        SymbolDefault[nSymbols] = bSymbolDefault\n+        SymbolCompati[nSymbols] = bSymbolCompati\n+        Symbols[nSymbols++] = arr[3]\n+        bSymbolDefault = 0\n+        bSymbolCompati = 0\n+    }\n }\n \n \n function checkIt() {\n-\tbad = 0\n-\tfor ( j=0; j<nFormats; ++j )\n-\t{\n-\t\tstate = FormatInSymbol( Formats[j] )\n-\t\tif ( Formats[j] == \"\\xc2\\xa4\" )\n-\t\t{\n-\t\t\tbad = 1\n-\t\t\tprint \"    bad: `\" Formats[j] \"'   (\" FormatLine[j] \")\"\n-\t\t}\n-\t\telse if ( state == 0 )\n-\t\t{\n-\t\t\tbad = 1\n-\t\t\tprint \"unknown: `\" Formats[j] \"'   (\" FormatLine[j] \")\"\n-\t\t}\n-\t\telse if ( FormatAuto[j] && state < 2 )\n-\t\t{\n-\t\t\tbad = 1\n-\t\t\tprint \"badauto: `\" Formats[j] \"'   (\" FormatLine[j] \")\"\n-\t\t}\n-\t}\n-\tif ( bad )\n-\t{\n-\t\tfor ( j=0; j<nSymbols; ++j )\n-\t\t{\n+    bad = 0\n+    for ( j=0; j<nFormats; ++j )\n+    {\n+        state = FormatInSymbol( Formats[j] )\n+        if ( Formats[j] == \"\\xc2\\xa4\" )\n+        {\n+            bad = 1\n+            print \"    bad: `\" Formats[j] \"'   (\" FormatLine[j] \")\"\n+        }\n+        else if ( state == 0 )\n+        {\n+            bad = 1\n+            print \"unknown: `\" Formats[j] \"'   (\" FormatLine[j] \")\"\n+        }\n+        else if ( FormatAuto[j] && state < 2 )\n+        {\n+            bad = 1\n+            print \"badauto: `\" Formats[j] \"'   (\" FormatLine[j] \")\"\n+        }\n+    }\n+    if ( bad )\n+    {\n+        for ( j=0; j<nSymbols; ++j )\n+        {\n             bDef = 0\n-\t\t\tif ( Symbols[j] == \"\\xc2\\xa4\" )\n-\t\t\t\tprint \"def bad: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n+            if ( Symbols[j] == \"\\xc2\\xa4\" )\n+                print \"def bad: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n             if ( SymbolDefault[j] )\n             {\n                 bDef = 1\n-\t\t\t\tprint \"default: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n+                print \"default: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n             }\n             if ( SymbolCompati[j] )\n             {\n@@ -123,20 +194,20 @@\n                 print \"compati: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n             }\n             if ( !bDef )\n-\t\t\t\tprint \"defined: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n-\t\t}\n-\t}\n-\telse\n-\t{\n+                print \"defined: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n+        }\n+    }\n+    else\n+    {\n         bHasDefault = 0\n         bHasCompati = 0\n-\t\tfor ( j=0; j<nSymbols; ++j )\n-\t\t{\n-\t\t\tif ( Symbols[j] == \"\\xc2\\xa4\" )\n-\t\t\t{\n-\t\t\t\tbad = 1\n-\t\t\t\tprint \"def bad: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n-\t\t\t}\n+        for ( j=0; j<nSymbols; ++j )\n+        {\n+            if ( Symbols[j] == \"\\xc2\\xa4\" )\n+            {\n+                bad = 1\n+                print \"def bad: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n+            }\n             if ( SymbolDefault[j] )\n             {\n                 if ( !bHasDefault )\n@@ -157,7 +228,7 @@\n                     print \"dupe compati: `\" Symbols[j] \"'   (\" SymbolLine[j] \")\"\n                 }\n             }\n-\t\t}\n+        }\n         if ( !bHasDefault )\n         {\n             bad = 1\n@@ -168,22 +239,24 @@\n             bad = 1\n             print \"  no compati: (\" file \")\"\n         }\n-\t}\n-\tif ( bad )\n-\t\tprint \"\"\n+    }\n+    if ( bad )\n+        print \"\"\n }\n \n \n function FormatInSymbol( format ) {\n-\tfor ( nSym=0; nSym<nSymbols; ++nSym )\n-\t{\n-\t\tif ( format == Symbols[nSym] )\n-\t\t{\n+    for ( nSym=0; nSym<nSymbols; ++nSym )\n+    {\n+        if ( format == Symbols[nSym] )\n+        {\n             if ( SymbolCompati[nSym] )\n-\t\t\t\treturn 2\n-\t\t\telse\n-\t\t\t\treturn 1\n-\t\t}\n-\t}\n-\treturn 0\n-}\n+                return 2\n+            else\n+                return 1\n+        }\n+    }\n+    return 0\n+}\n+\n+# vim: ts=4 sw=4 expandtab\n"}
{"commit":"8619a586fa2332de2cb1b24520c87cefa8eaea53","subject":"Escape $$ in $OpenBSD$, it's not supposed to be expanded.","message":"Escape $$ in $OpenBSD$, it's not supposed to be expanded.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/onewire\/devlist2h.awk\n+++ dev\/onewire\/devlist2h.awk\n@@ -1,4 +1,4 @@\n-# $OpenBSD: devlist2h.awk,v 1.1 2006\/03\/04 16:27:03 grange Exp $\n+# $OpenBSD: devlist2h.awk,v 1.2 2006\/03\/04 16:32:40 grange Exp $\n \n #\n # Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>\n@@ -25,10 +25,10 @@\n \tVERSION = $0\n \tgsub(\"\\\\$\", \"\", VERSION)\n \n-\tprintf(\"\/*\\t$OpenBSD: devlist2h.awk,v 1.1 2006\/03\/04 16:27:03 grange Exp $\\t*\/\\n\\n\" \\\n+\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\" \\\n \t       \"\/*\\n * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\" \\\n \t       \" *\\n * Generated from:\\n *\\t%s\\n *\/\\n\\n\", VERSION) > hfile\n-\tprintf(\"\/*\\t$OpenBSD: devlist2h.awk,v 1.1 2006\/03\/04 16:27:03 grange Exp $\\t*\/\\n\\n\" \\\n+\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\" \\\n \t       \"\/*\\n * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\" \\\n \t       \" *\\n * Generated from:\\n *\\t%s\\n *\/\\n\\n\", VERSION) > dfile\n \tprintf(\"static const struct onewire_family \" \\\n"}
{"commit":"28aa31c7948326401b8c155bafe8d3d01439a6ab","subject":"Remove obsolete tv_season reference","message":"Remove obsolete tv_season reference\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- calculateBBoxShowDurations.awk\n+++ calculateBBoxShowDurations.awk\n@@ -23,11 +23,6 @@\n # No processing on header and other lines unrelated to shows\n $1 == \"\" || $1 == \"Sortkey\" {\n     print\n-    next\n-}\n-\n-# Don't add seasons to short spreadsheet\n-$10 == \"tv_season\" {\n     next\n }\n \n"}
{"commit":"917284ef100ec7ce26ed50065dc71e694fcb5c2d","subject":"Filter out invalid domain name like \"newstarnet.com--NN--\".","message":"Filter out invalid domain name like \"newstarnet.com--NN--\".\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2domainlist.awk\n+++ gfwlist2domainlist.awk\n@@ -49,7 +49,7 @@\n \t\t# IPv4 string\n \t\tprint \"Skipping line \" NR \". \" line | \"cat >&2\"\n \t\tclose(\"cat >&2\")\n-\t} else if (line ~ \/^([A-Za-z0-9\\-]+\\.)+[A-Za-z0-9\\-]+$\/) {\n+\t} else if (line ~ \/^([A-Za-z0-9\\-]+\\.)+(xn\\-\\-)?[A-Za-z0-9]+$\/) {\n \t\tdomains[++domain_count] = line\n \t} else {\n \t\tprint \"Skipping line \" NR \". \" line | \"cat >&2\"\n"}
{"commit":"a975ec684a14679a25090317e8156d3655cd238c","subject":"Save rearranged titles","message":"Save rearranged titles\n\nWe may later want to prevent renaming \"The Queen\" and others\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxProgramsFrom-webscraper.awk\n+++ getBritBoxProgramsFrom-webscraper.awk\n@@ -37,8 +37,10 @@\n         HMS = \"\"\n \n     # Titles starting with \"The\" should not sort based on \"The\"\n-    if (match (showTitle, \/^The \/))\n+    if (match (showTitle, \/^The \/)) {\n+        print \"==> Rearranging \" showTitle >> ERROR_FILE\n         showTitle = substr(showTitle, 5) \", The\"\n+    }\n \n     # Indicate different types of programs\n     URL ~ \/^\\\/us\\\/movie\\\/\/ ? showtype = \"M\" : showtype = \"S\"\n"}
{"commit":"5094bdb85f034a27722d3ed00098c605789a1b7f","subject":"Check for errors when registering and unregistering firmware modules.  This prevents the unfortunate situation whereby one might kldload a firmware module by hand and later kldunload it while a driver still has an open reference to it.","message":"Check for errors when registering and unregistering firmware modules.  This\nprevents the unfortunate situation whereby one might kldload a firmware\nmodule by hand and later kldunload it while a driver still has an open\nreference to it.\n\nMFC after:\t1 week\nGlanced at by:\tiedowse\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/fw_stub.awk\n+++ sys\/tools\/fw_stub.awk\n@@ -125,7 +125,8 @@\n printc(\"\\nstatic int\\n\"\\\n opt_m \"_fw_modevent(module_t mod, int type, void *unused)\\\n {\\\n-\tstruct firmware *fp;\\\n+\tstruct firmware *fp, *parent;\\\n+\tint error;\\\n \tswitch (type) {\\\n \tcase MOD_LOAD:\");\n \n@@ -136,11 +137,7 @@\n \t# '-', '.' and '\/' are converted to '_' by ld\/objcopy\n \tgsub(\/-|\\.|\\\/\/, \"_\", symb);\n \n-\tif (file_i == 0)\n-\t\treg = \"\\t\\tfp = \";\n-\telse\n-\t\treg = \"\\t\\t(void)\";\n-\n+\treg = \"\\t\\tfp = \";\n \treg = reg \"firmware_register(\\\"\" short \"\\\", _binary_\" symb \"_start , \";\n \treg = reg \"(size_t)(_binary_\" symb \"_end - _binary_\" symb \"_start), \";\n \treg = reg version \", \";\n@@ -148,21 +145,37 @@\n \tif (file_i == 0)\n \t\treg = reg \"NULL);\";\n \telse\n-\t\treg = reg \"fp);\";\n+\t\treg = reg \"parent);\";\n \n \tprintc(reg);\n-}\n-\n-printc(\"\\t\\treturn (0);\\\n-\tcase MOD_UNLOAD:\");\n+\n+\tprintc(\"\\t\\tif (fp == NULL)\");\n+\tprintc(\"\\t\\t\\tgoto fail_\" file_i \";\");\n+\tif (file_i == 0)\n+\t\tprintc(\"\\t\\tparent = fp;\");\n+}\n+\n+printc(\"\\t\\treturn (0);\");\n+\n+for (file_i = num_files - 1; file_i > 0; file_i--) {\n+\tprintc(\"\\tfail_\" file_i \":\")\n+\tprintc(\"\\t\\t(void)firmware_unregister(\\\"\" shortnames[file_i - 1] \"\\\");\");\n+}\n+\n+printc(\"\\tfail_0:\");\n+printc(\"\\t\\treturn (ENXIO);\");\n+\n+printc(\"\\tcase MOD_UNLOAD:\");\n \n for (file_i = 1; file_i < num_files; file_i++) {\n-\tprintc(\"\\t\\tfirmware_unregister(\\\"\" shortnames[file_i] \"\\\");\");\n-}\n-\n-printc(\"\\t\\tfirmware_unregister(\\\"\" shortnames[0] \"\\\");\");\n-\n-printc(\"\\t\\treturn (0);\\\n+\tprintc(\"\\t\\terror = firmware_unregister(\\\"\" shortnames[file_i] \"\\\");\");\n+\tprintc(\"\\t\\tif (error)\");\n+\tprintc(\"\\t\\t\\treturn (error);\");\n+}\n+\n+printc(\"\\t\\terror = firmware_unregister(\\\"\" shortnames[0] \"\\\");\");\n+\n+printc(\"\\t\\treturn (error);\\\n \t}\\\n \treturn (EINVAL);\\\n }\\\n"}
{"commit":"2712e9f7b51cae305819f31e139b37718acd139c","subject":"add all backgrounds in one place","message":"add all backgrounds in one place","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/backgrounds.awk\n+++ tools\/backgrounds.awk\n@@ -7,6 +7,11 @@\n   print \"\"\n   print \"<div class='background cover'>\"\n   print \"  <img style='width: 100%; float:right' src='ALTA_Flower.png' alt='ALTA flower' \/>\"\n+  print \"  <a href='mailto:gabor.greif@alcatel-lucent.com'>Gabor.Greif@alcatel-lucent.com<\/a>\"\n+  print \"<\/div>\"\n+  print \"\"\n+  print \"<div class='background haskell'>\"\n+  print \"  <img style='float:right' src='http:\/\/www.haskell.org\/wikiupload\/4\/4a\/HaskellLogoStyPreview-1.png' alt='Haskell logo' \/>\"\n   print \"<\/div>\"\n   print \"\"\n }\n@@ -15,12 +20,6 @@\n   slidecount++\n   if (slidecount == 2)\n   {\n-    print \"\"\n-    print \"<div class='background haskell'>\"\n-    print \"  <img style='float:right' src='http:\/\/www.haskell.org\/wikiupload\/4\/4a\/HaskellLogoStyPreview-1.png' alt='Haskell logo' \/>\"\n-    print \"<\/div>\"\n-    print \"\"\n-\n     sub(\/slide\/, \"slide haskell\")\n   }\n }\n"}
{"commit":"541a5b866832f7e9b8fd0d025539f45b998e7049","subject":"Translate: add initAudioPlayer() and initSpeechSynthesizer()","message":"Translate: add initAudioPlayer() and initSpeechSynthesizer()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -1,8 +1,27 @@\n #!\/usr\/bin\/gawk -f\n \n @include \"lib\/Commons\"\n+@include \"lib\/Languages\"\n @include \"lib\/PLTokenizer\"\n @include \"lib\/PLParser\"\n+\n+# Detect external audio player (mplayer, mpg123).\n+function initAudioPlayer() {\n+    AudioPlayer = !system(\"mplayer >\/dev\/null 2>\/dev\/null\") ?\n+        \"mplayer\" :\n+        (!system(\"mpg123 >\/dev\/null 2>\/dev\/null\") ?\n+         \"mpg123\" :\n+         \"\")\n+}\n+\n+# Detect external speech synthesizer (say, espeak).\n+function initSpeechSynthesizer() {\n+    SpeechSynthesizer = !system(\"say '' >\/dev\/null 2>\/dev\/null\") ?\n+        \"say\" :\n+        (!system(\"espeak '' >\/dev\/null 2>\/dev\/null\") ?\n+         \"espeak\" :\n+         \"\")\n+}\n \n # Initialize `HttpService`.\n function initHttpService() {\n"}
{"commit":"88d19478dc0205984fcbb25e4f001b3845295941","subject":"Function-local variable.","message":"Function-local variable.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -1,4 +1,4 @@\n-function printUrlQueryString(queryString)\n+function printUrlQueryString(queryString, j)\n {\n     split(queryString, pairs, \"&\", seps)\n     len = length(pairs)\n"}
{"commit":"a11469e541c8d2d9d68fc8df8d22cfb7b3df885c","subject":"Respect setting of NM to allow cross-building.","message":"Respect setting of NM to allow cross-building.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/conf\/kmod_syms.awk\n+++ sys\/conf\/kmod_syms.awk\n@@ -2,7 +2,7 @@\n \n # Read global symbols from object file.\n BEGIN {\n-        while (\"nm -g \" ARGV[1] | getline) {\n+        while (\"${NM:='nm'} -g \" ARGV[1] | getline) {\n                 if (match($0, \/^[^[:space:]]+ [^AU] (.*)$\/)) {\n                         syms[$3] = $2\n                 }\n"}
{"commit":"2a2edabcd922b3c8ea1d76ed50e3eb1b87807416","subject":"Languages: tlhIngan Hol chel!","message":"Languages: tlhIngan Hol chel!\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1732,6 +1732,24 @@\n     Locale[\"yua\"][\"iso\"]               = \"yua\"\n     Locale[\"yua\"][\"glotto\"]            = \"yuca1254\"\n     Locale[\"yua\"][\"script\"]            = \"Latn\"\n+\n+    #* Klingon, Latin alphabet\n+    Locale[\"tlh\"][\"support\"]           = \"bing-only\"\n+    Locale[\"tlh\"][\"name\"]              = \"Klingon\"\n+    Locale[\"tlh\"][\"endonym\"]           = \"tlhIngan Hol\"\n+    Locale[\"tlh\"][\"family\"]            = \"Artificial Language\"\n+    Locale[\"tlh\"][\"iso\"]               = \"tlh\"\n+    #Locale[\"tlh\"][\"glotto\"]\n+    Locale[\"tlh\"][\"script\"]            = \"Latn\"\n+\n+    #* Klingon, pIqaD\n+    Locale[\"tlh-Qaak\"][\"support\"]      = \"bing-only\"\n+    Locale[\"tlh-Qaak\"][\"name\"]         = \"Klingon (pIqaD)\"\n+    Locale[\"tlh-Qaak\"][\"endonym\"]      = \"\uf8e4\uf8d7\uf8dc\uf8d0\uf8db \uf8d6\uf8dd\uf8d9\"\n+    Locale[\"tlh-Qaak\"][\"family\"]       = \"Artificial Language\"\n+    Locale[\"tlh-Qaak\"][\"iso\"]          = \"tlh\"\n+    #Locale[\"tlh-Qaak\"][\"glotto\"]\n+    Locale[\"tlh-Qaak\"][\"script\"]       = \"Piqd\"\n \n     for (i in Locale) {\n         # Initialize strings for displaying endonyms of locales\n@@ -1761,6 +1779,8 @@\n     LocaleAlias[\"zh\"]      = \"zh-CN\" # Chinese: default to Chinese Simplified\n     LocaleAlias[\"zho\"]     = \"zh-CN\"\n     LocaleAlias[\"chinese\"] = \"zh-CN\"\n+    LocaleAlias[\"tlh-Latn\"] = \"tlh\"\n+    LocaleAlias[\"tlh-Piqd\"] = \"tlh-Qaak\"\n     # TODO: more aliases\n }\n \n@@ -1893,6 +1913,7 @@\n     case \"Mlym\": return \"Malayalam\"\n     case \"Mymr\": return \"Myanmar\"\n     case \"Orya\": return \"Oriya\"\n+    case \"Piqd\": return \"Klingon (pIqaD)\"\n     case \"Sinh\": return \"Sinhala\"\n     case \"Taml\": return \"Tamil\"\n     case \"Telu\": return \"Telugu\"\n"}
{"commit":"a0b9306bfe28f67d36ecbe04cfec695e07794a08","subject":"Remove extra spaces","message":"Remove extra spaces\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/rdf-nt.awk\n+++ misc\/rdf-nt.awk\n@@ -45,12 +45,12 @@\n             if (!(word in windex)) {\n                 windex[word] = wcount++;\n \n-                print \"<\" URN \"w\" windex[word] \">\", TYPE,          WORD,                             \".\";\n-                print \"<\" URN \"w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<\" URN \"f\" windex[word] \">\", TYPE,          FORM,                             \".\";\n-                print \"<\" URN \"f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<\" URN \"f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",                   \".\";\n-                print \"<\" URN \"w\" windex[word] \">\", CANONICALFORM, \"<\" URN \"f\" windex[word] \">\",     \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", TYPE,          WORD,                         \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",               \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", TYPE,          FORM,                         \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", LABEL,         \"\\\"\" word \"\\\"\",               \".\";\n+                print \"<\" URN \"f\" windex[word] \">\", WRITTENREP,    \"\\\"\" word \"\\\"\",               \".\";\n+                print \"<\" URN \"w\" windex[word] \">\", CANONICALFORM, \"<\" URN \"f\" windex[word] \">\", \".\";\n             }\n \n             print \"<\" URN \"s\" sindex[sense] \">\", TYPE,          LEXICALSENSE,                  \".\";\n"}
{"commit":"52f9a2e426aadda58c058378cc8cd5b74c7c3826","subject":"Better error formatting, capture warnings too","message":"Better error formatting, capture warnings too\n","repos":"jspahrsummers\/objc-build-scripts,hsavit1\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xcodebuild.awk\n+++ xcodebuild.awk\n@@ -3,12 +3,15 @@\n     fflush(stdout)\n }\n \n-\/[0-9]+: error:\/ {\n+\/[0-9]+: (error|warning):\/ {\n     errors = errors $0 \"\\n\"\n }\n \n \/(TEST|BUILD) FAILED\/ {\n-    print \"\\n\" errors\n+    if (length(errors) > 0) {\n+        print \"\\n*** All errors:\\n\" errors\n+    }\n+\n     fflush(stdout)\n \n     # SYS_SOFTWARE\n"}
{"commit":"e5bd140ce8a798cd9c612bae000ae201b40d4609","subject":"properly treat \/*dev-only-stop*\/ marker","message":"properly treat \/*dev-only-stop*\/ marker\n","repos":"pyramids\/needjs,pyramids\/needjs,pyramids\/needjs","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- nodev.awk\n+++ nodev.awk\n@@ -7,9 +7,11 @@\n   print \"\/\/ dev-only: \" $0;\n   getline;\n   while (index($0, \"\/*dev-only-stop*\/\") == 0) {\n+      print \"\/\/ dev-only: \" $0;\n       getline;\n-      print \"\/\/ dev-only: \" $0;\n   }  \n+  print \"\/\/ dev-only: \" $0;\n+  getline;\n }\n \n \/\\\/\\*dev-only\\*\\\/\/ { \n"}
{"commit":"e6608aed0fbc7343013715f38b6986b5140a12e3","subject":"translate.awk: update disclaimer","message":"translate.awk: update disclaimer\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- translate.awk\n+++ translate.awk\n@@ -1,30 +1,27 @@\n #!\/usr\/bin\/gawk -f\n \n-# This is free and unencumbered software released into the\n-# public domain.\n+# This is free and unencumbered software released into the public domain.\n #\n-# This software is provided for the purpose of personal, reasonable\n-# and convenient human use of the Google Translate Service, i.e.,\n-# only for those who feel that their terminal is more accessible\n-# than a web browser. For other purposes, please use the official\n-# Google Translate API <https:\/\/developers.google.com\/translate\/>.\n+# This software is provided for the purpose of reasonable personal use of\n+# the Google Translate service, i.e., for those who prefer command line to\n+# web interface. For other purposes, please refer to the official Google\n+# Translate API <https:\/\/developers.google.com\/translate\/>.\n #\n-# By using this software, you (\"the user\") agree that:\n+# By using this software, you (\"the user\") are aware that:\n #\n-# 1. Neither this software nor its author is affiliated with\n-# Google Inc. (\"Google\").\n+# 1. Google Translate is a proprietary service provided and owned by\n+# Google Inc.\n #\n-# 2. By using this software, the user is de facto using web\n-# services provided by Google, therefore they are obliged to\n-# follow the Google Terms of Service.\n+# 2. Translate Shell is NOT a Google product. Neither this software nor\n+# its author is affiliated with Google Inc.\n #\n-# 3. This software is provided \"as is\". The user of this software\n-# shall be fully liable for any possible infringement of, including\n-# but not limited to, the Google Terms of Service; per contra,\n-# the user must be aware that their data might be collected by\n-# Google, therefore they shall be liable for their own privacy\n-# concern, including but not limited to, possible disclosure of\n-# personal information. See the (un)LICENSE file for more details.\n+# 3. The software is provided \"AS IS\", without warranty of any kind,\n+# express or implied, including but not limited to the warranties of\n+# merchantability, fitness for a particular purpose and noninfringement. In\n+# no event shall the authors be liable for any claim, damages or other\n+# liability, whether in an action of contract, tort or otherwise, arising\n+# from, out of or in connection with the software or the use or other\n+# dealings in the software.\n \n @include \"metainfo\"\n \n"}
{"commit":"dbc1f536c6df201cca67eaa6606fa72dd211c2ea","subject":"Add placeholder for back field.","message":"Add placeholder for back field.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@35619 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -35,7 +35,11 @@\n       n[pn] = lp2\n   #    n[pn] = $2\n       t[pn] = $3\n-      k[pn] = $7\n+      if ($7 == \"\") {\n+        k[pn] = \"..\"\n+      } else {\n+        k[pn] = $7\n+      }\n       d[pn] = $4\n       r[pn] = $5\n       pn++\n@@ -97,8 +101,8 @@\n     for (j = 0 ; j < sn ; j++) {\n       if (x[s[j]] > 0){\n       if (c[p[i],n[i],d[i],s[j]] == 0) {\n-      printf \"\\t..\" \n-    } else {\n+        printf \"\\t..\" \n+      } else {\n         printf \"\\t%d\", c[p[i],n[i],d[i],s[j]]\n       }\n     }\n"}
{"commit":"da8ff7c7ed8780a98fb14d0750f5d6265043e3ef","subject":"Revise \"Maigret\" title to clarify timeframe","message":"Revise \"Maigret\" title to clarify timeframe\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -43,8 +43,8 @@\n     split ($0,fld,\"\\\"\")\n     contentType = fld[2]\n     contentId = fld[4]\n-    # print \"contentType = \" contentType\n-    # print \"contentId = \" contentId\n+    # print \"contentType = \" contentType  > \"\/dev\/stderr\"\n+    # print \"contentId = \" contentId  > \"\/dev\/stderr\"\n     # Make sure no fields will be carried over due to missing keys\n     sortkey = \"\"\n     title = \"\"\n@@ -72,7 +72,7 @@\n \/<title locale=\"en-US\">\/ {\n     split ($0,fld,\"[<>]\")\n     title = fld[3]\n-    # print \"title = \" title\n+    # print \"title = \" title  > \"\/dev\/stderr\"\n }\n \n # Grab genre\n@@ -80,7 +80,7 @@\n \/<genre>\/ {\n     split ($0,fld,\"[<>]\")\n     genre = fld[3]\n-    # print \"genre = \" genre\n+    # print \"genre = \" genre  > \"\/dev\/stderr\"\n }\n \n # Grab description\n@@ -88,7 +88,7 @@\n \/<description>\/ {\n     split ($0,fld,\"[<>]\")\n     description = fld[3]\n-    # print \"description = \" description\n+    # print \"description = \" description  > \"\/dev\/stderr\"\n }\n \n # Grab rating\n@@ -96,7 +96,7 @@\n \/<rating systemCode=\/ {\n     split ($0,fld,\"[<>]\")\n     rating = fld[3]\n-    # print \"rating = \" rating\n+    # print \"rating = \" rating  > \"\/dev\/stderr\"\n }\n \n # Grab type\n@@ -104,7 +104,7 @@\n \/<type>\/ {\n     split ($0,fld,\"[<>]\")\n     showType = fld[3]\n-    # print \"showType = \" showType\n+    # print \"showType = \" showType  > \"\/dev\/stderr\"\n }\n \n # Grab duration\n@@ -112,7 +112,7 @@\n \/<duration>\/ {\n     split ($0,fld,\"[<>]\")\n     duration = fld[3]\n-    # print \"duration = \" duration\n+    # print \"duration = \" duration  > \"\/dev\/stderr\"\n }\n \n # Grab originalDate\n@@ -125,9 +125,9 @@\n     sub (\/original\/,\"\",dateType)\n     originalDate = fld[3]\n     year = substr (originalDate,1,4)\n-    # print \"dateType = \" dateType\n-    # print \"originalDate = \" originalDate\n-    # print \"year = \" year\n+    # print \"dateType = \" dateType  > \"\/dev\/stderr\"\n+    # print \"originalDate = \" originalDate  > \"\/dev\/stderr\"\n+    # print \"year = \" year  > \"\/dev\/stderr\"\n }\n \n # Grab showContentId\n@@ -135,7 +135,7 @@\n \/<showContentId>\/ {\n     split ($0,fld,\"[<>]\")\n     showContentId = fld[3]\n-    # print \"showContentId = \" showContentId\n+    # print \"showContentId = \" showContentId  > \"\/dev\/stderr\"\n }\n \n # Grab seasonContentId\n@@ -143,7 +143,7 @@\n \/<seasonContentId>\/ {\n     split ($0,fld,\"[<>]\")\n     seasonContentId = fld[3]\n-    # print \"seasonContentId = \" seasonContentId\n+    # print \"seasonContentId = \" seasonContentId  > \"\/dev\/stderr\"\n }\n \n # Grab seasonNumber\n@@ -151,7 +151,7 @@\n \/<seasonNumber>\/ {\n     split ($0,fld,\"[<>]\")\n     seasonNumber = fld[3]\n-    # print \"seasonNumber = \" seasonNumber\n+    # print \"seasonNumber = \" seasonNumber  > \"\/dev\/stderr\"\n }\n \n # Grab episodeNumber\n@@ -159,7 +159,7 @@\n \/<episodeNumber>\/ {\n     split ($0,fld,\"[<>]\")\n     episodeNumber = fld[3]\n-    # print \"episodeNumber = \" episodeNumber\n+    # print \"episodeNumber = \" episodeNumber  > \"\/dev\/stderr\"\n }\n \n # Grab EntityId from artwork\n@@ -168,17 +168,19 @@\n     sub (\/.*EntityId=&apos;\/,\"\")\n     sub (\/&apos.*\/,\"\")\n     EntityId = \"_\" $0\n-    # print \"EntityId = \" EntityId\n+    # print \"EntityId = \" EntityId  > \"\/dev\/stderr\"\n     next\n }\n \n # Do any special end of item processing, then print raw data spreadsheet row\n \/<\\\/item>\/ {\n+    # Add missing EntityId\n     if (title == \"Shallow Grave\") {\n         EntityId = \"_23576\"\n-        # print \"==> EntityId = \" EntityId\n-    }\n-\n+        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n+    }\n+\n+    # \"Porridge\" needs to be revised to avoid duplicate names\n     if (title == \"Porridge\") {\n         if (EntityId == \"_9509\") {\n             revisedTitles += 1\n@@ -189,10 +191,13 @@\n             printf (\"==> Changed title '%s' to 'Porridge (2016-2017)'\\n\", title) >> ERROR_FILE\n             title = \"Porridge (2016-2017)\"\n         }\n-        # print \"==> title = \" title\n-        # print \"==> EntityId = \" EntityId\n-    }\n-\n+        # print \"==> title = \" title  > \"\/dev\/stderr\"\n+        # print \"==> contentId = \" contentId  > \"\/dev\/stderr\"\n+        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n+        # print \"---\"  > \"\/dev\/stderr\"\n+    }\n+\n+    # \"A Midsummer Night's Dream\" needs to be revised to avoid duplicate names\n     if (title == \"A Midsummer Night's Dream\") {\n         if (EntityId == \"_26179\") {\n             revisedTitles += 1\n@@ -203,13 +208,31 @@\n             printf (\"==> Changed title '%s' to 'A Midsummer Night\\'s Dream (2016)'\\n\", title) >> ERROR_FILE\n             title = \"A Midsummer Night's Dream (2016)\"\n         }\n-        # print \"==> title = \" title\n-        # print \"==> EntityId = \" EntityId\n+        # print \"==> title = \" title  > \"\/dev\/stderr\"\n+        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n+    }\n+\n+    # \"Maigret\" needs to be revised to clarify timeframe\n+    if (title ~ \/^Maigret\/ && contentType == \"tv_show\") {\n+        if (EntityId == \"_15928\") {\n+            revisedTitles += 1\n+            printf (\"==> Changed title '%s' to 'Maigret (1992-1993)'\\n\", title) >> ERROR_FILE\n+            title = \"Maigret (1992-1993)\"\n+        } else if (EntityId == \"_15974\") {\n+            revisedTitles += 1\n+            printf (\"==> Changed title '%s' to 'Maigret (2016\u20132017)'\\n\", title) >> ERROR_FILE\n+            title = \"Maigret (2016\u20132017)\"\n+        }\n+        # print \"==> title = \" title  > \"\/dev\/stderr\"\n+        # print \"==> originalDate = \" originalDate  > \"\/dev\/stderr\"\n+        # print \"==> contentId = \" contentId  > \"\/dev\/stderr\"\n+        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n+        # print \"---\"  > \"\/dev\/stderr\"\n     }\n \n     if (contentId == \"p07gnw9f\") {\n         EntityId = \"_23842\"\n-        # print \"==> EntityId = \" EntityId\n+        # print \"==> EntityId = \" EntityId  > \"\/dev\/stderr\"\n     }\n \n     if (contentType == \"movie\") {\n"}
{"commit":"0e34f062c9b3fd8e97e0e9f455432c9564e3ae6d","subject":"\u540c\u3058module\/action\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u540d\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306b\u5909\u63db\u3057\u306a\u3044","message":"\u540c\u3058module\/action\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u540d\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306b\u5909\u63db\u3057\u306a\u3044\n","repos":"tozuka\/symfony_routename_converter","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- routename_auto_converter_2.awk\n+++ routename_auto_converter_2.awk\n@@ -6,13 +6,14 @@\n   module_and_action = $1\n   route_name = $2\n \n-  if (table[module_and_action]) next\n   table[module_and_action] = route_name\n+  count[module_and_action]++;\n }\n \n END {\n   printf(\"\/include_partial\/b\\n\"); # skip (until the end of sed script) if \"include_partial\"\n   for (module_and_action in table) {\n+    if (count[module_and_action] > 1) continue\n     route_name = table[module_and_action]\n     printf(\"s|'%s\\\\([\\\\?']\\\\)|'@%s\\\\1|g\\n\", module_and_action, route_name)\n   }\n"}
{"commit":"d1b24e411997c89e2ff3ae15375caa7164d5183a","subject":"compile: make version_gen work on alpine","message":"compile: make version_gen work on alpine\n","repos":"mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- src\/libs\/version_gen.awk\n+++ src\/libs\/version_gen.awk\n@@ -53,7 +53,7 @@\n \t\tsub(\"^[ \\t]+\", \"\", $0);\n \t\tsub(\"[ \\t]+$\", \"\", $0);\n \n-\t\tif (\/^[a-zA-Z0-9._]+[ \\t]*{$\/) {\n+\t\tif (\/^[a-zA-Z0-9._]+[ \\t]*\\{$\/) {\n \t\t\t# Strip brace.\n \t\t\tsub(\"{\", \"\", $1);\n \t\t\tbrackets++;\n@@ -63,7 +63,7 @@\n \t\t\tgenerated[symver] = 0;\n \t\t\tversion_count++;\n \t\t}\n-\t\telse if (\/^}[ \\t]*[a-zA-Z0-9._]+[ \\t]*;$\/) {\n+\t\telse if (\/^\\}[ \\t]*[a-zA-Z0-9._]+[ \\t]*;$\/) {\n \t\t\tv = $1 != \"}\" ? $1 : $2;\n \t\t\t# Strip brace.\n \t\t\tsub(\"}\", \"\", v);\n@@ -84,7 +84,7 @@\n \t\t\t\tsuccessors[symver] = v;\n \t\t\tbrackets--;\n \t\t}\n-\t\telse if (\/^}[ \\t]*;$\/) {\n+\t\telse if (\/^\\}[ \\t]*;$\/) {\n \t\t\tif (symver == \"\") {\n \t\t\t\tprintf(\"File %s: Unmatched bracket.\\n\",\n \t\t\t\t    vfile) > stderr;\n@@ -93,7 +93,7 @@\n \t\t\t# No successor\n \t\t\tbrackets--;\n \t\t}\n-\t\telse if (\/^}$\/) {\n+\t\telse if (\/^\\}$\/) {\n \t\t\tprintf(\"File %s: Missing final semicolon.\\n\",\n \t\t\t    vfile) > stderr;\n \t\t\terrors++;\n@@ -122,7 +122,7 @@\n \t\tnext;\n }\n \n-\/^[a-zA-Z0-9._]+[ \\t]*{$\/ {\n+\/^[a-zA-Z0-9._]+[ \\t]*\\{$\/ {\n \t# Strip bracket from version name.\n \tsub(\"{\", \"\", $1);\n \tif (current_version != \"\") {\n@@ -183,7 +183,7 @@\n \tnext;\n }\n \n-\/^}[ \\t]*;$\/ {\n+\/^\\}[ \\t]*;$\/ {\n \tbrackets--;\n \tif (brackets < 0) {\n \t\tprintf(\"File %s, line %d: Unmatched bracket.\\n\",\n"}
{"commit":"e3b29dd74283da645fa03a55e693ab036c5fd3ef","subject":"LanguageData: update section N","message":"LanguageData: update section N\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1609,8 +1609,9 @@\n     Locale[\"mr\"][\"spoken-in\"]          = \"the Indian state of Maharashtra\"\n     Locale[\"mr\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-    # Eastern Mari \/ Meadow Mari\n+    # Mari (Eastern Mari \/ Meadow Mari)\n     Locale[\"mhr\"][\"name\"]              = \"Eastern Mari\"\n+    Locale[\"mhr\"][\"name2\"]             = \"Meadow Mari\"\n     Locale[\"mhr\"][\"endonym\"]           = \"\u041e\u043b\u044b\u043a \u043c\u0430\u0440\u0438\u0439\"\n     #Locale[\"mhr\"][\"translations-of\"]\n     #Locale[\"mhr\"][\"definitions-of\"]\n@@ -1709,9 +1710,7 @@\n     Locale[\"my\"][\"spoken-in\"]          = \"Myanmar\"\n     Locale[\"my\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #67 Nepali\n+    # Nepali\n     Locale[\"ne\"][\"name\"]               = \"Nepali\"\n     Locale[\"ne\"][\"endonym\"]            = \"\u0928\u0947\u092a\u093e\u0932\u0940\"\n     Locale[\"ne\"][\"translations-of\"]    = \"%s\u0915\u093e \u0905\u0928\u0941\u0935\u093e\u0926\"\n@@ -1720,11 +1719,14 @@\n     Locale[\"ne\"][\"examples\"]           = \"\u0909\u0926\u093e\u0939\u0930\u0923\u0939\u0930\u0941\"\n     Locale[\"ne\"][\"see-also\"]           = \"\u092f\u094b \u092a\u0928\u093f \u0939\u0947\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d\"\n     Locale[\"ne\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ne\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"ne\"][\"iso\"]                = \"nep\"\n     Locale[\"ne\"][\"glotto\"]             = \"nepa1254\"\n     Locale[\"ne\"][\"script\"]             = \"Deva\"\n-\n-    #68 Norwegian\n+    Locale[\"ne\"][\"spoken-in\"]          = \"Nepal; India\"\n+    Locale[\"ne\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Norwegian\n     Locale[\"no\"][\"name\"]               = \"Norwegian\"\n     Locale[\"no\"][\"endonym\"]            = \"Norsk\"\n     Locale[\"no\"][\"translations-of\"]    = \"Oversettelser av %s\"\n@@ -1733,9 +1735,14 @@\n     Locale[\"no\"][\"examples\"]           = \"Eksempler\"\n     Locale[\"no\"][\"see-also\"]           = \"Se ogs\u00e5\"\n     Locale[\"no\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"no\"][\"branch\"]             = \"North Germanic\"\n     Locale[\"no\"][\"iso\"]                = \"nor\"\n     Locale[\"no\"][\"glotto\"]             = \"norw1258\"\n     Locale[\"no\"][\"script\"]             = \"Latn\"\n+    Locale[\"no\"][\"spoken-in\"]          = \"Norway\"\n+    Locale[\"no\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+\n \n     #69 Odia \/ Oriya\n     Locale[\"or\"][\"name\"]               = \"Odia\"\n"}
{"commit":"3a867521f7167c42ef4b5d637822f8b55365d778","subject":"Also considers introduced var arrays now","message":"Also considers introduced var arrays now\n","repos":"eomahony\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -145,6 +145,15 @@\n \tif ($7 == \"=\") {\n \t\tsub(\".*= \",\"\");\n \t\tsub(\"::_output_.*\",\"\");\n+\t\tgsub(\" \",\"\");\n+\t\tfor (i=0; i<isup; i++) {\n+\t\t\tprint \"#    model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n+\t\t}\n+        print \"    \" name \" = VarArray(\" $0 \")\";\n+\t} else  if (match($7,\"::var_is_introduced\")) {\n+\t\tsub(\".*= \",\"\");\n+\t\tsub(\"::_output_.*\",\"\");\n+\t\tsub(\"::var_is_introduced\",\"\");\n \t\tgsub(\" \",\"\");\n \t\tfor (i=0; i<isup; i++) {\n \t\t\tprint \"#    model.add(\" name \"[\" i \"] == \" $0 \"[\" i \"])\";\n"}
{"commit":"dbd92d996693e0484e52496b6e28fec1032bb3df","subject":"some simplifications, checkpoint","message":"some simplifications, checkpoint","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -45,8 +45,9 @@\n coding && \/^}}}\/ {\n   sub(\/}}}.*$\/, \"\", origLine);\n   if (origLine) {\n-    print \"{\\\\small \" origLine\n-    print \"}\"\n+    print origLine\n+    ##print \"{\\\\small \" origLine\n+    ##print \"}\"\n   }\n   print \"\\\\end{verbatim}\";\n   print \"\"\n@@ -55,9 +56,9 @@\n }\n \n coding {\n-  sub(\/^\/, \"{\\\\small \");\n+  ## sub(\/^\/, \"{\\\\small \");\n   print;\n-  print \"}\";\n+  ## print \"}\";\n   next;\n }\n \n@@ -103,12 +104,7 @@\n }\n \n \/`\/ {\n-  line = $0;\n-  #sub(\/`\/, \"\\\\texttt{\", line);\n-  #sub(\/`\/, \"}\", line);\n-  $0 = gensub(\/`([^`]*)`\/,\"\\\\\\\\texttt{\\\\1}\",\"g\",line)\n-  #$0 = line\n-  ## repeat!\n+  $0 = gensub(\/`([^`]*)`\/, \"\\\\\\\\texttt{\\\\1}\", \"g\");\n }\n \n \/.#\/ {\n"}
{"commit":"ed88c7b23be0ad22af0f5504c3d447c75c8a2773","subject":"Fix the pair generation and also speed up the sorting","message":"Fix the pair generation and also speed up the sorting\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- pairs.awk\n+++ pairs.awk\n@@ -1,6 +1,7 @@\n #!\/usr\/bin\/awk -f\n BEGIN {\n-    FS = OFS = \"\\t\";\n+    FS  = \"\\t\";\n+    OFS = \"\";\n }\n {\n     len = split($3, words, \", \");\n@@ -9,7 +10,7 @@\n \n     for (i = 1; i <= len - 1; i++) {\n         for (j = i + 1; j <= len; j++) {\n-            print words[i], words[j], ORS, words[j], words[i] | \"sort --parallel=$(nproc) -us\";\n+            print words[i], FS, words[j], ORS, words[j], FS, words[i] | \"sort --parallel=$(nproc) -S1G -us\";\n         }\n     }\n }\n"}
{"commit":"6c58414ffb29594da6ee80c73e1743a10b953e9e","subject":"remove debug line","message":"remove debug line\n","repos":"nuex\/zodiac","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/config.awk\n+++ lib\/config.awk\n@@ -29,7 +29,6 @@\n     ext = exts[i]\n     gsub(\/ \/, \"\", ext)\n     filter[ext] = cmd\n-    print cmd >> \"awk.log\"\n   }\n   next\n }\n"}
{"commit":"2d927156f288ee0054237e523ec08731cef7088d","subject":"Fix for translating flatzinc where the output variables are indices of a var array.","message":"Fix for translating flatzinc where the output variables are indices of a var array.\n","repos":"eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -243,18 +243,32 @@\n \tobjective_type = \"Maximize\";\n }\n \n+function trimvarindex(s) {\n+\tind = index(s, \"[\");\n+\tif(ind > 0) {\n+\t\treturn substr(s, 1, ind - 1);\n+\t}\n+\treturn s;\n+}\n+\n END {\n \tif (!error) {\n-\toutput_vars = \"\";\n-\tif(objective) output_vars = objective;\n+\t\n+\t# Create an array vars_array, keyed with the output variable names so that\n+\t# we output a set of unique variable names. We will also trim indexed vars.\n+\tif(objective) vars_array[trimvarindex(objective)] = 1;\n \n \tn = asorti(output,varnames);\n \tfor (i=1; i<=n; i++) {\n \t\te = varnames[i];\n \t\tif(e != objective) {\n-\t\t\tif(length(output_vars) > 0) output_vars = output_vars \", \";\n-\t\t\toutput_vars = output_vars e;\n-\t\t}\n+\t\t\tvars_array[trimvarindex(e)] = 1;\n+\t\t}\n+\t}\n+\toutput_vars = sep = \"\";\n+\tfor (x in vars_array) {\n+\t    output_vars = output_vars sep x;\n+\t    sep = \", \";\n \t}\n \tprint \"    output_vars = (\" output_vars \")\";\n \tprint \"    return model, output_vars\";\n"}
{"commit":"1e2f1079ef2fb2072bd922fc59c57951d63ddecc","subject":"grammar fix","message":"grammar fix\n","repos":"nuex\/zodiac","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/render.awk\n+++ lib\/render.awk\n@@ -130,7 +130,7 @@\n   return rendered_txt\n }\n \n-# Prevent awk from replacing ampersand's with matched text\n+# Prevent awk from replacing ampersands with matched text\n function escape_special_chars(  txt) {\n   gsub(\/&\/, \"\\\\\\\\&\", txt)\n   return txt\n"}
{"commit":"aeb7d8323af42a70e74a5d9ef8d5ac60e7c74d8e","subject":"parse: add data validation to parser.","message":"parse: add data validation to parser.\n","repos":"marmolak\/eon-low-tariffs","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- parse.awk\n+++ parse.awk\n@@ -1,3 +1,10 @@\n+function validate_time(s) {\n+\tif (s !~ \/^[0-9]+:[0-9]+\/) {\n+\t\tprintf \"ERROR: Wrong input data! [%s]\\n\", s;\n+\t\texit 1\n+\t}\n+}\n+\n BEGIN {\n \tskipped_first = 0\n \tskipped_first_right = 0\n@@ -28,6 +35,8 @@\n \n \tgetline\n \twhile ($1 != \"<\/div>\") {\n+\t\tvalidate_time($1);\n+\t\tvalidate_time($3);\n \t\tprint $1 \" - \" substr($3, 0, length($3)-4)\n \t\tgetline\n \t}\n"}
{"commit":"ed702d58deca60e5abec53a3414feb004535c1e1","subject":"Allow -d and -h as command line flags.  These are used to generate only the .h or _data.h files respectively.  Restructure code to allow for this.","message":"Allow -d and -h as command line flags.  These are used to generate\nonly the .h or _data.h files respectively.  Restructure code to allow\nfor this.\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/usbdevs2h.awk\n+++ sys\/tools\/usbdevs2h.awk\n@@ -30,207 +30,244 @@\n # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n #\n+function usage()\n+{\n+\tprint \"usage: usbdevs2h.awk <srcfile> [-d|-h]\";\n+\texit 1;\n+}\n+\n BEGIN {\n-\tnproducts = nvendors = 0\n-\tdfile=\"usbdevs_data.h\"\n-\thfile=\"usbdevs.h\"\n-}\n-NR == 1 {\n+\n+nproducts = nvendors = 0\n+# Process the command line\n+for (i = 1; i < ARGC; i++) {\n+\targ = ARGV[i];\n+\tif (arg !~ \/^-[dh]+$\/ && arg !~ \/devs$\/)\n+\t\tusage();\n+\tif (arg ~ \/^-.*d\/)\n+\t\tdfile=\"usbdevs_data.h\"\n+\tif (arg ~ \/^-.*h\/)\n+\t\thfile=\"usbdevs.h\"\n+\tif (arg ~ \/devs$\/)\n+\t\tsrcfile = arg;\n+}\n+ARGC = 1;\n+line=0;\n+\n+while ((getline < srcfile) > 0) {\n+    line++;\n+    if (line == 1) {\n \tVERSION = $0\n \tgsub(\"\\\\$\", \"\", VERSION)\n \n-\tif (os == \"NetBSD\")\n-\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > dfile\n-\telse if (os == \"FreeBSD\")\n-\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > dfile\n-\telse if (os == \"OpenBSD\")\n-\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > dfile\n-\telse\n-\t\tprintf(\"\/* ??? *\/\\n\\n\") > dfile\n-\tprintf(\"\/*\\n\") > dfile\n-\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n-\t    > dfile\n-\tprintf(\" *\\n\") > dfile\n-\tprintf(\" * generated from:\\n\") > dfile\n-\tprintf(\" *\\t%s\\n\", VERSION) > dfile\n-\tprintf(\" *\/\\n\") > dfile\n-\n-\tif (os == \"NetBSD\")\n-\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > hfile\n-\telse if (os == \"FreeBSD\")\n-\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > hfile\n-\telse if (os == \"OpenBSD\")\n-\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > hfile\n-\telse\n-\t\tprintf(\"\/* ??? *\/\\n\\n\") > hfile\n-\tprintf(\"\/*\\n\") > hfile\n-\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n-\t    > hfile\n-\tprintf(\" *\\n\") > hfile\n-\tprintf(\" * generated from:\\n\") > hfile\n-\tprintf(\" *\\t%s\\n\", VERSION) > hfile\n-\tprintf(\" *\/\\n\") > hfile\n-\n-\tnext\n-}\n-$1 == \"vendor\" {\n+\tif (dfile) {\n+\t\tif (os == \"NetBSD\")\n+\t\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > dfile\n+\t\telse if (os == \"FreeBSD\")\n+\t\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > dfile\n+\t\telse if (os == \"OpenBSD\")\n+\t\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > dfile\n+\t\telse\n+\t\t\tprintf(\"\/* ??? *\/\\n\\n\") > dfile\n+\t\tprintf(\"\/*\\n\") > dfile\n+\t\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n+\t\t    > dfile\n+\t\tprintf(\" *\\n\") > dfile\n+\t\tprintf(\" * generated from:\\n\") > dfile\n+\t\tprintf(\" *\\t%s\\n\", VERSION) > dfile\n+\t\tprintf(\" *\/\\n\") > dfile\n+\t}\n+\t\n+\tif (hfile) {\n+\t\tif (os == \"NetBSD\")\n+\t\t\tprintf(\"\/*\\t\\$NetBSD\\$\\t*\/\\n\\n\") > hfile\n+\t\telse if (os == \"FreeBSD\")\n+\t\t\tprintf(\"\/* \\$FreeBSD\\$ *\/\\n\\n\") > hfile\n+\t\telse if (os == \"OpenBSD\")\n+\t\t\tprintf(\"\/*\\t\\$OpenBSD\\$\\t*\/\\n\\n\") > hfile\n+\t\telse\n+\t\t\tprintf(\"\/* ??? *\/\\n\\n\") > hfile\n+\t\tprintf(\"\/*\\n\") > hfile\n+\t\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n+\t\t    > hfile\n+\t\tprintf(\" *\\n\") > hfile\n+\t\tprintf(\" * generated from:\\n\") > hfile\n+\t\tprintf(\" *\\t%s\\n\", VERSION) > hfile\n+\t\tprintf(\" *\/\\n\") > hfile\n+\t}\n+\tcontinue;\n+    }\n+   if ($1 == \"vendor\") {\n \tnvendors++\n \n \tvendorindex[$2] = nvendors;\t\t# record index for this name, for later.\n \tvendors[nvendors, 1] = $2;\t\t# name\n \tvendors[nvendors, 2] = $3;\t\t# id\n-\tprintf(\"#define\\tUSB_VENDOR_%s\\t%s\\t\", vendors[nvendors, 1],\n-\t    vendors[nvendors, 2]) > hfile\n-\n+\tif (hfile)\n+\t\tprintf(\"#define\\tUSB_VENDOR_%s\\t%s\\t\", vendors[nvendors, 1],\n+\t\t    vendors[nvendors, 2]) > hfile\n \ti = 3; f = 4;\n \n \t# comments\n \tocomment = oparen = 0\n \tif (f <= NF) {\n-\t\tprintf(\"\\t\/* \") > hfile\n+\t\tif (hfile)\n+\t\t\tprintf(\"\\t\/* \") > hfile\n \t\tocomment = 1;\n \t}\n \twhile (f <= NF) {\n \t\tif ($f == \"#\") {\n-\t\t\tprintf(\"(\") > hfile\n+\t\t\tif (hfile)\n+\t\t\t\tprintf(\"(\") > hfile\n \t\t\toparen = 1\n \t\t\tf++\n \t\t\tcontinue\n \t\t}\n \t\tif (oparen) {\n-\t\t\tprintf(\"%s\", $f) > hfile\n-\t\t\tif (f < NF)\n+\t\t\tif (hfile)\n+\t\t\t\tprintf(\"%s\", $f) > hfile\n+\t\t\tif (f < NF && hfile)\n \t\t\t\tprintf(\" \") > hfile\n \t\t\tf++\n \t\t\tcontinue\n \t\t}\n \t\tvendors[nvendors, i] = $f\n-\t\tprintf(\"%s\", vendors[nvendors, i]) > hfile\n-\t\tif (f < NF)\n+\t\tif (hfile)\n+\t\t\tprintf(\"%s\", vendors[nvendors, i]) > hfile\n+\t\tif (f < NF && hfile)\n \t\t\tprintf(\" \") > hfile\n \t\ti++; f++;\n \t}\n-\tif (oparen)\n+\tif (oparen && hfile)\n \t\tprintf(\")\") > hfile\n-\tif (ocomment)\n+\tif (ocomment && hfile)\n \t\tprintf(\" *\/\") > hfile\n-\tprintf(\"\\n\") > hfile\n-\n-\tnext\n-}\n-$1 == \"product\" {\n+\tif (hfile)\n+\t\tprintf(\"\\n\") > hfile\n+\n+\tcontinue;\n+    }\n+    if ($1 == \"product\") {\n \tnproducts++\n \n \tproducts[nproducts, 1] = $2;\t\t# vendor name\n \tproducts[nproducts, 2] = $3;\t\t# product id\n \tproducts[nproducts, 3] = $4;\t\t# id\n-\tprintf(\"#define\\tUSB_PRODUCT_%s_%s\\t%s\\t\", products[nproducts, 1],\n-\t    products[nproducts, 2], products[nproducts, 3]) > hfile\n+\tif (hfile)\n+\t\tprintf(\"#define\\tUSB_PRODUCT_%s_%s\\t%s\\t\", \\\n+\t\t  products[nproducts, 1], products[nproducts, 2], \\\n+\t\t  products[nproducts, 3]) > hfile\n \n \ti=4; f = 5;\n \n \t# comments\n \tocomment = oparen = 0\n \tif (f <= NF) {\n-\t\tprintf(\"\\t\/* \") > hfile\n+\t\tif (hfile)\n+\t\t\tprintf(\"\\t\/* \") > hfile\n \t\tocomment = 1;\n \t}\n \twhile (f <= NF) {\n \t\tif ($f == \"#\") {\n-\t\t\tprintf(\"(\") > hfile\n+\t\t\tif (hfile)\n+\t\t\t\tprintf(\"(\") > hfile\n \t\t\toparen = 1\n \t\t\tf++\n \t\t\tcontinue\n \t\t}\n \t\tif (oparen) {\n-\t\t\tprintf(\"%s\", $f) > hfile\n-\t\t\tif (f < NF)\n+\t\t\tif (hfile)\n+\t\t\t\tprintf(\"%s\", $f) > hfile\n+\t\t\tif (f < NF && hfile)\n \t\t\t\tprintf(\" \") > hfile\n \t\t\tf++\n \t\t\tcontinue\n \t\t}\n \t\tproducts[nproducts, i] = $f\n-\t\tprintf(\"%s\", products[nproducts, i]) > hfile\n-\t\tif (f < NF)\n+\t\tif (hfile)\n+\t\t\tprintf(\"%s\", products[nproducts, i]) > hfile\n+\t\tif (f < NF && hfile)\n \t\t\tprintf(\" \") > hfile\n \t\ti++; f++;\n \t}\n-\tif (oparen)\n+\tif (oparen && hfile)\n \t\tprintf(\")\") > hfile\n-\tif (ocomment)\n+\tif (ocomment && hfile)\n \t\tprintf(\" *\/\") > hfile\n-\tprintf(\"\\n\") > hfile\n-\n-\tnext\n-}\n-{\n+\tif (hfile)\n+\t\tprintf(\"\\n\") > hfile\n+\n+\tcontinue;\n+    }\n \tif ($0 == \"\")\n \t\tblanklines++\n-\tprint $0 > hfile\n-\tif (blanklines < 2)\n-\t\tprint $0 > dfile\n-}\n-END {\n+\tif (hfile)\n+\t\tprint $0 > hfile\n+\tif (blanklines < 2 && dfile)\n+\t    print $0 > dfile\n+}\n \t# print out the match tables\n \n-\tprintf(\"\\n\") > dfile\n-\n-\tprintf(\"const struct usb_knowndev usb_knowndevs[] = {\\n\") > dfile\n-\tfor (i = 1; i <= nproducts; i++) {\n-\t\tprintf(\"\\t{\\n\") > dfile\n-\t\tprintf(\"\\t    USB_VENDOR_%s, USB_PRODUCT_%s_%s,\\n\",\n-\t\t    products[i, 1], products[i, 1], products[i, 2]) \\\n-\t\t    > dfile\n-\t\tprintf(\"\\t    \") > dfile\n-\t\tprintf(\"0\") > dfile\n-\t\tprintf(\",\\n\") > dfile\n-\n-\t\tvendi = vendorindex[products[i, 1]];\n-\t\tprintf(\"\\t    \\\"\") > dfile\n-\t\tj = 3;\n-\t\tneedspace = 0;\n-\t\twhile (vendors[vendi, j] != \"\") {\n-\t\t\tif (needspace)\n-\t\t\t\tprintf(\" \") > dfile\n-\t\t\tprintf(\"%s\", vendors[vendi, j]) > dfile\n-\t\t\tneedspace = 1\n-\t\t\tj++\n-\t\t}\n-\t\tprintf(\"\\\",\\n\") > dfile\n-\n-\t\tprintf(\"\\t    \\\"\") > dfile\n-\t\tj = 4;\n-\t\tneedspace = 0;\n-\t\twhile (products[i, j] != \"\") {\n-\t\t\tif (needspace)\n-\t\t\t\tprintf(\" \") > dfile\n-\t\t\tprintf(\"%s\", products[i, j]) > dfile\n-\t\t\tneedspace = 1\n-\t\t\tj++\n-\t\t}\n-\t\tprintf(\"\\\",\\n\") > dfile\n-\t\tprintf(\"\\t},\\n\") > dfile\n-\t}\n-\tfor (i = 1; i <= nvendors; i++) {\n-\t\tprintf(\"\\t{\\n\") > dfile\n-\t\tprintf(\"\\t    USB_VENDOR_%s, 0,\\n\", vendors[i, 1]) \\\n-\t\t    > dfile\n-\t\tprintf(\"\\t    USB_KNOWNDEV_NOPROD,\\n\") \\\n-\t\t    > dfile\n-\t\tprintf(\"\\t    \\\"\") > dfile\n-\t\tj = 3;\n-\t\tneedspace = 0;\n-\t\twhile (vendors[i, j] != \"\") {\n-\t\t\tif (needspace)\n-\t\t\t\tprintf(\" \") > dfile\n-\t\t\tprintf(\"%s\", vendors[i, j]) > dfile\n-\t\t\tneedspace = 1\n-\t\t\tj++\n-\t\t}\n-\t\tprintf(\"\\\",\\n\") > dfile\n-\t\tprintf(\"\\t    NULL,\\n\") > dfile\n-\t\tprintf(\"\\t},\\n\") > dfile\n-\t}\n-\tprintf(\"\\t{ 0, 0, 0, NULL, NULL, }\\n\") > dfile\n-\tprintf(\"};\\n\") > dfile\n-}\n+\tif (dfile) {\n+\t\tprintf(\"\\n\") > dfile\n+\n+\t\tprintf(\"const struct usb_knowndev usb_knowndevs[] = {\\n\") > dfile\n+\t\tfor (i = 1; i <= nproducts; i++) {\n+\t\t\tprintf(\"\\t{\\n\") > dfile\n+\t\t\tprintf(\"\\t    USB_VENDOR_%s, USB_PRODUCT_%s_%s,\\n\",\n+\t\t\t    products[i, 1], products[i, 1], products[i, 2]) \\\n+\t\t\t    > dfile\n+\t\t\tprintf(\"\\t    \") > dfile\n+\t\t\tprintf(\"0\") > dfile\n+\t\t\tprintf(\",\\n\") > dfile\n+\n+\t\t\tvendi = vendorindex[products[i, 1]];\n+\t\t\tprintf(\"\\t    \\\"\") > dfile\n+\t\t\tj = 3;\n+\t\t\tneedspace = 0;\n+\t\t\twhile (vendors[vendi, j] != \"\") {\n+\t\t\t\tif (needspace)\n+\t\t\t\t\tprintf(\" \") > dfile\n+\t\t\t\tprintf(\"%s\", vendors[vendi, j]) > dfile\n+\t\t\t\tneedspace = 1\n+\t\t\t\tj++\n+\t\t\t}\n+\t\t\tprintf(\"\\\",\\n\") > dfile\n+\n+\t\t\tprintf(\"\\t    \\\"\") > dfile\n+\t\t\tj = 4;\n+\t\t\tneedspace = 0;\n+\t\t\twhile (products[i, j] != \"\") {\n+\t\t\t\tif (needspace)\n+\t\t\t\t\tprintf(\" \") > dfile\n+\t\t\t\tprintf(\"%s\", products[i, j]) > dfile\n+\t\t\t\tneedspace = 1\n+\t\t\t\tj++\n+\t\t\t}\n+\t\t\tprintf(\"\\\",\\n\") > dfile\n+\t\t\tprintf(\"\\t},\\n\") > dfile\n+\t\t}\n+\t\tfor (i = 1; i <= nvendors; i++) {\n+\t\t\tprintf(\"\\t{\\n\") > dfile\n+\t\t\tprintf(\"\\t    USB_VENDOR_%s, 0,\\n\", vendors[i, 1]) \\\n+\t\t\t    > dfile\n+\t\t\tprintf(\"\\t    USB_KNOWNDEV_NOPROD,\\n\") \\\n+\t\t\t    > dfile\n+\t\t\tprintf(\"\\t    \\\"\") > dfile\n+\t\t\tj = 3;\n+\t\t\tneedspace = 0;\n+\t\t\twhile (vendors[i, j] != \"\") {\n+\t\t\t\tif (needspace)\n+\t\t\t\t\tprintf(\" \") > dfile\n+\t\t\t\tprintf(\"%s\", vendors[i, j]) > dfile\n+\t\t\t\tneedspace = 1\n+\t\t\t\tj++\n+\t\t\t}\n+\t\t\tprintf(\"\\\",\\n\") > dfile\n+\t\t\tprintf(\"\\t    NULL,\\n\") > dfile\n+\t\t\tprintf(\"\\t},\\n\") > dfile\n+\t\t}\n+\t\tprintf(\"\\t{ 0, 0, 0, NULL, NULL, }\\n\") > dfile\n+\t\tprintf(\"};\\n\") > dfile\n+\t}\n+}\n"}
{"commit":"6160e3bc61682616569b0f67c6d87680bc5bc195","subject":"INTEGRATION: CWS changefileheader (1.5.1038); FILE MERGED 2008\/03\/28 15:55:26 rt 1.5.1038.1: #i87441# Change license header to LPGL v3.","message":"INTEGRATION: CWS changefileheader (1.5.1038); FILE MERGED\n2008\/03\/28 15:55:26 rt 1.5.1038.1: #i87441# Change license header to LPGL v3.\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/getcsym.awk\n+++ solenv\/bin\/getcsym.awk\n@@ -1,35 +1,31 @@\n #*************************************************************************\n #\n-#   OpenOffice.org - a multi-platform office productivity suite\n+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n+# \n+# Copyright 2008 by Sun Microsystems, Inc.\n #\n-#   $RCSfile: getcsym.awk,v $\n+# OpenOffice.org - a multi-platform office productivity suite\n #\n-#   $Revision: 1.5 $\n+# $RCSfile: getcsym.awk,v $\n #\n-#   last change: $Author: rt $ $Date: 2005-09-07 22:09:22 $\n+# $Revision: 1.6 $\n #\n-#   The Contents of this file are made available subject to\n-#   the terms of GNU Lesser General Public License Version 2.1.\n+# This file is part of OpenOffice.org.\n #\n+# OpenOffice.org is free software: you can redistribute it and\/or modify\n+# it under the terms of the GNU Lesser General Public License version 3\n+# only, as published by the Free Software Foundation.\n #\n-#     GNU Lesser General Public License Version 2.1\n-#     =============================================\n-#     Copyright 2005 by Sun Microsystems, Inc.\n-#     901 San Antonio Road, Palo Alto, CA 94303, USA\n+# OpenOffice.org is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU Lesser General Public License version 3 for more details\n+# (a copy is included in the LICENSE file that accompanied this code).\n #\n-#     This library is free software; you can redistribute it and\/or\n-#     modify it under the terms of the GNU Lesser General Public\n-#     License version 2.1, as published by the Free Software Foundation.\n-#\n-#     This library is distributed in the hope that it will be useful,\n-#     but WITHOUT ANY WARRANTY; without even the implied warranty of\n-#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n-#     Lesser General Public License for more details.\n-#\n-#     You should have received a copy of the GNU Lesser General Public\n-#     License along with this library; if not, write to the Free Software\n-#     Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n-#     MA  02111-1307  USA\n+# You should have received a copy of the GNU Lesser General Public License\n+# version 3 along with OpenOffice.org.  If not, see\n+# <http:\/\/www.openoffice.org\/license.html>\n+# for a copy of the LGPLv3 License.\n #\n #*************************************************************************\n \n"}
{"commit":"84a6ce6abb81fa9dc49ae11dd684ff4ddd2d0c81","subject":"accumulate hints and print lookup at the end of hinter","message":"accumulate hints and print lookup at the end of hinter\n","repos":"Morantron\/tmux-fingers,Morantron\/tmux-fingers","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/hinter.awk\n+++ scripts\/hinter.awk\n@@ -109,6 +109,7 @@\n   hint_format = \"\\033[1;33m[%s]\\033[0m\"\n   highlight_format = \"\\033[1;33m%s\\033[0m \"\n   printf \"%s\\n\", finger_patterns | \"cat 1>&4\"\n+  hint_lookup = \"\"\n }\n \n {\n@@ -142,8 +143,12 @@\n \n     col_pos_correction += (length(sprintf(highlight_format, line_match)) - 1 + length(sprintf(hint_format, hint)) - 1) + 1;\n \n-    printf hint \":\" line_match \"\\n\" | \"cat 1>&3\"\n+    hint_lookup = hint_lookup hint \":\" line_match \"\\n\"\n   }\n \n   printf \"\\n%s\", output_line\n }\n+\n+END {\n+  print hint_lookup | \"cat 1>&3\"\n+}\n"}
{"commit":"aa33ff50b58d7d1dee2a2b6e7827d1bb67f58af0","subject":"Fix missing braces","message":"Fix missing braces\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- verifyBBoxInfoFrom-webscraper.awk\n+++ verifyBBoxInfoFrom-webscraper.awk\n@@ -51,11 +51,12 @@\n \n \/^         \/ {\n     epis  = NF-1\n-    if ($epis !~ \/^[[:digit:]]*$\/)\n+    if ($epis !~ \/^[[:digit:]]*$\/) {\n         print \"    Bad input line \" NR \":\\n\" $0\n-    else\n+    } else {\n         seasonsFound[numShows] += 1\n-    episodesInSeasons[numShows] += $epis\n+        episodesInSeasons[numShows] += $epis\n+    }\n }\n \n END {\n"}
{"commit":"fd3eb2f1ab463af6b9490a4477c217375859666c","subject":"Insert \\ before # for auto-indent.","message":"Insert \\ before # for auto-indent.\n","repos":"sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- CASE-MAPPING.awk\n+++ CASE-MAPPING.awk\n@@ -39,23 +39,24 @@\n   printf (\" \");\n }\n \n-FILE == 1 && \/^[^#]\/ && NF == 5 {\n-\t\tprintf (\"0x%s ( \", $1);\n-\t\tmtext ($2);\n-\t\tmtext ($3);\n-\t\tmtext ($4);\n-\t\tprintf (\")\\n\");\n-\t\tX[$1] = 1;\n-\t\t}\n+FILE == 1 && \/^[^\\#]\/ && NF == 5 {\n+  printf (\"0x%s ( \", $1);\n+  mtext ($2);\n+  mtext ($3);\n+  mtext ($4);\n+  printf (\")\\n\");\n+  X[$1] = 1;\n+  next;\n+}\n \n \/^0000;\/ {\n   FILE = 2;\n }\n \n-FILE == 2 && \/^[^#]\/ && ($13 || $14 || $15) && ! X[$1] {\n-\t\tif (! $13) $13 = $1;\n-\t\tif (! $14) $14 = $1;\n-\t\tif (! $15) $15 = $1;\n-\t\tprintf (\"0x%s ( \\\"\\\\u%s\\\" \\\"\\\\u%s\\\" \\\"\\\\u%s\\\" )\\n\",\n-\t\t\t$1, $14, $15, $13);\n+FILE == 2 && \/^[^\\#]\/ && ($13 || $14 || $15) && ! X[$1] {\n+  if (! $13) $13 = $1;\n+  if (! $14) $14 = $1;\n+  if (! $15) $15 = $1;\n+  printf (\"0x%s ( \\\"\\\\u%s\\\" \\\"\\\\u%s\\\" \\\"\\\\u%s\\\" )\\n\",\n+\t  $1, $14, $15, $13);\n }\n"}
{"commit":"3b8014a5ca990ddcd300be60938b8bc029f2f158","subject":"the content we define, decide for names and labels includer is","message":"the content we define, decide for names and labels includer is\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- arch\/hppa\/dev\/devlist2h.awk\n+++ arch\/hppa\/dev\/devlist2h.awk\n@@ -1,7 +1,7 @@\n-#\t$OpenBSD: devlist2h.awk,v 1.3 2000\/02\/09 07:23:19 mickey Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.4 2001\/03\/29 00:43:00 mickey Exp $\n \n #\n-# Copyright (c) 1998-2000 Michael Shalayeff\n+# Copyright (c) 1998-2001 Michael Shalayeff\n # All rights reserved.\n #\n # Redistribution and use in source and binary forms, with or without\n@@ -65,9 +65,6 @@\n \t       \" * generated from:\\n *\\t%s\\n *\/\\n\\n\", VERSION) > cpud;\n \tprintf(\"\/*\\n * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.\\n\" \\\n \t       \" * generated from:\\n *\\t%s\\n *\/\\n\\n\", VERSION) > cpuh;\n-\n-\tprintf(\"static const struct hppa_mod_info hppa_knownmods[] = {\\n\")\\\n-\t\t> cpud;\n }\n \n $1 == \"type\"\t{\n@@ -80,7 +77,7 @@\n \tif (tolower($1) in types) {\n \t\tprintf(\"#define\\tHPPA_%s_%s\\t%s\\n\", toupper($1),\n \t\t       toupper($2), $3) > cpuh;\n-\t\tprintf(\"\\t{HPPA_TYPE_%s,\\tHPPA_%s_%s,\\t\\\"\", toupper($1),\n+\t\tprintf(\"{HPPA_TYPE_%s,\\tHPPA_%s_%s,\\t\\\"\", toupper($1),\n \t\t       toupper($1), toupper($2), $3) > cpud;\n \t\tf = 4;\n \t\twhile (f <= NF) {\n@@ -121,6 +118,6 @@\n \t\tprint(\"unteminated comment at the EOF\\n\");\n \t\texit(1);\n \t}\n-\tprintf(\"\\t{ -1 }\\n};\\n\") > cpud;\n+\tprintf(\"{ -1 }\\n\") > cpud;\n }\n \n"}
{"commit":"c8c7573342d2576a1a1a00e8960eef5bbb1904df","subject":"Handle cases where system time is adjusted backwards (e.g. by NTP).","message":"Handle cases where system time is adjusted backwards (e.g. by NTP).\n","repos":"tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist,tramseyer\/meta-medusa-dist","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- recipes-core\/systemd\/systemd-units\/candump.awk\n+++ recipes-core\/systemd\/systemd-units\/candump.awk\n@@ -5,8 +5,20 @@\n         printf(\";$FILEVERSION=1.3\\n\")\n         printf(\";$STARTTIME=%u.%u\\n\", mktime(strftime(\"%Y %m %d 0 0 0\", startTimestamp)) \/ 86400 + 25569, \\\n                 10000000000 \/ 86400 * (mktime(strftime(\"%Y %m %d %H %M %S\", startTimestamp)) - mktime(strftime(\"%Y %m %d 0 0 0\", startTimestamp))))\n+        currentTimeOffset = 0.0\n     }\n-    printf(\"%u) %.3f 1 Rx %s - %s\", NR, (substr($1, 2, length($1) - 2) - startTimestamp) * 1000, $3, substr($4, 2, length($4) - 2))\n+    else\n+    {\n+        previousTimeOffset = currentTimeOffset\n+        currentTimestamp = substr($1, 2, length($1) - 2)\n+        currentTimeOffset = currentTimestamp - startTimestamp\n+        if (currentTimeOffset < 0)\n+        {\n+            startTimestamp = currentTimestamp + currentTimeOffset\n+            currentTimeOffset = previousTimeOffset\n+        }\n+    }\n+    printf(\"%u) %.3f 1 Rx %s - %s\", NR, currentTimeOffset * 1000, $3, substr($4, 2, length($4) - 2))\n     if (5<=NF)\n     {\n         for(i=5;i<=NF;i++)\n"}
{"commit":"f3c361772a1d10b0f477b07da971b139faf2d906","subject":"LanguageData: update section O","message":"LanguageData: update section O\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1742,9 +1742,7 @@\n     Locale[\"no\"][\"spoken-in\"]          = \"Norway\"\n     Locale[\"no\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #69 Odia \/ Oriya\n+    # Odia \/ Oriya\n     Locale[\"or\"][\"name\"]               = \"Odia\"\n     Locale[\"or\"][\"name2\"]              = \"Oriya\"\n     Locale[\"or\"][\"endonym\"]            = \"\u0b13\u0b21\u0b3c\u0b3f\u0b06\"\n@@ -1754,9 +1752,12 @@\n     #Locale[\"or\"][\"examples\"]\n     #Locale[\"or\"][\"see-also\"]\n     Locale[\"or\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"or\"][\"branch\"]             = \"Indo-Aryan\"\n     Locale[\"or\"][\"iso\"]                = \"ori\"\n     Locale[\"or\"][\"glotto\"]             = \"macr1269\"\n     Locale[\"or\"][\"script\"]             = \"Orya\"\n+    Locale[\"or\"][\"spoken-in\"]          = \"the Indian state of Odisha\"\n+    Locale[\"or\"][\"supported-by\"]       = \"google; bing\"\n \n     # Oromo\n     Locale[\"om\"][\"name\"]               = \"Oromo\"\n@@ -1767,9 +1768,14 @@\n     #Locale[\"om\"][\"examples\"]\n     #Locale[\"om\"][\"see-also\"]\n     Locale[\"om\"][\"family\"]             = \"Afro-Asiatic\"\n+    Locale[\"om\"][\"branch\"]             = \"Cushitic\"\n     Locale[\"om\"][\"iso\"]                = \"orm\"\n     Locale[\"om\"][\"glotto\"]             = \"nucl1736\"\n     Locale[\"om\"][\"script\"]             = \"Latn\"\n+    Locale[\"om\"][\"spoken-in\"]          = \"the Ethiopian state of Oromia; northeastern Kenya\"\n+    Locale[\"om\"][\"supported-by\"]       = \"google\"\n+\n+\n \n     #70 Pashto \/ Pushto\n     Locale[\"ps\"][\"name\"]               = \"Pashto\"\n"}
{"commit":"36ad109daac674bb2968f993d0976cf8d74f4d75","subject":"TRANSLATE_PS -> TRANS_PS, TRANSLATE_PS_COLOR -> TRANS_PS_COLOR","message":"TRANSLATE_PS -> TRANS_PS, TRANSLATE_PS_COLOR -> TRANS_PS_COLOR\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -44,8 +44,8 @@\n \n     Option[\"interactive\"] = 0\n     Option[\"no-rlwrap\"] = 0\n-    Option[\"prompt\"] = ENVIRON[\"TRANSLATE_PS\"] ? ENVIRON[\"TRANSLATE_PS\"] : \"%s>\"\n-    Option[\"prompt-color\"] = ENVIRON[\"TRANSLATE_PS_COLOR\"] ? ENVIRON[\"TRANSLATE_PS_COLOR\"] : \"blue\"\n+    Option[\"prompt\"] = ENVIRON[\"TRANS_PS\"] ? ENVIRON[\"TRANS_PS\"] : \"%s>\"\n+    Option[\"prompt-color\"] = ENVIRON[\"TRANS_PS_COLOR\"] ? ENVIRON[\"TRANS_PS_COLOR\"] : \"blue\"\n \n     Option[\"input\"] = \"\"\n     Option[\"output\"] = \"\/dev\/stdout\"\n"}
{"commit":"ecce2644798d7c93752b8a1866405e9490b32ac4","subject":"handle one line struct {}, multiline comments, whitespaces when parsing header for structs","message":"handle one line struct {}, multiline comments, whitespaces when parsing header for structs\n\n\ngit-svn-id: 88e1a00e4eab3b0bb0c09889526309a3e2f5bd8a@187 c26eb9a1-5813-0410-bd6c-c2e55f420ca7\n","repos":"zend60\/5400,zend60\/5400,zend60\/5400,zend60\/5400,zend60\/5400","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- mkstructinfo.awk\n+++ mkstructinfo.awk\n@@ -2,11 +2,35 @@\n # vim:ts=4:sw=4\n BEGIN {\n \tbrace = 0;\n+\tincomment = 0;\n \tbuffer_len = 0;\n }\n+\n+# multiline comment handling\n+{\n+\t# removes one line comment\n+\tgsub(\/\\\/\\*(.+?)\\*\\\/\/, \" \");\n+}\n+\/\\*\\\/\/ {\n+\tif (incomment) {\n+\t\tsub(\/.*\\*\\\/\/, \"\");\n+\t\tincomment = 0;\n+\t}\n+}\n+incomment {\n+\tnext;\n+}\n+\/\\\/\\*\/ {\n+\tsub(\/\\\/\\*.*\/, \"\");\n+\tincomment = 1;\n+\t# fall through\n+}\n+\n+# skip file\/line mark here to be faster\n \/^#\/ {\n \tnext;\n }\n+\n \/^}.*;\/ {\n \tif (instruct) {\n \t\tsub(\";\", \"\");\n@@ -53,7 +77,7 @@\n \n {\n \tif (brace == 1 && instruct) {\n-\t\tgsub(\/\\\/\\*(.+?)\\*\\\/\/, \" \"); # removes one line comment\n+\t\tgsub(\/(^[\\t ]+|[\\t ]+$)\/, \"\"); # trim whitespaces\n \t\tsub(\/.*[{}]\/, \"\");\n \t\tgsub(\/\\[[^\\]]+\\]\/, \"\"); # ignore [...]\n \t\tgsub(\/:[0-9]+\/, \"\"); # ignore struct bit\n@@ -66,6 +90,8 @@\n \t\t\tbuffer_len ++;\n \t\t}\n \t\telse {\n+\t\t\t# process normal variables\n+\n \t\t\t# ignore any ()s\n \t\t\twhile (gsub(\/(\\([^)]*\\))\/, \"\")) {\n \t\t\t}\n@@ -82,6 +108,7 @@\n \t\t\tif (!match($0, \/;\/)) {\n \t\t\t\tnext;\n \t\t\t}\n+\t\t\t# print \"=DEBUG=\" $0 \"==\";\n \t\t\tsplit($0, chunks, \";\");\n \t\t\t# [unsigned int a, b, c]\n \n@@ -101,7 +128,9 @@\n \t\t\t\t\tdelete pieces[j];\n \t\t\t\t}\n \t\t\t\tif (last_piece == \"\") {\n-\t\t\t\t\tprint \"=====\" chunks[i];\n+\t\t\t\t\t# print \"=ERROR=\" chunks[i] \"==\";\n+\t\t\t\t\tdelete chunks[i];\n+\t\t\t\t\tcontinue;\n \t\t\t\t}\n \t\t\t\t# a\n \t\t\t\t# b\n@@ -122,7 +151,7 @@\n \ttypedefs[$3] = $4;\n \tnext;\n }\n-\/^typedef struct .*\\{\/ {\n+\/^typedef struct .*\\{[^}]*$\/ {\n \tbrace = 1;\n \tinstruct = 1;\n \tnext;\n"}
{"commit":"97c35473afc607ca88585f798f6bdb5bafad2be5","subject":"change compare and title heads","message":"change compare and title heads\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@22126 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,14 +8,12 @@\n \n {\n   # add a loop to add line only if ending year is gt or eq to contract year\n-  end = 0\n+  end_year = 0\n   incontract = 0\n-  if ((length($4) == 9) {\n-    end = substr($4,6,4)\n-  } else {\n-    end = substr($4,1,4)\n-  }\n-  if (end >= $3) {\n+  if ((length($4) > 3) {\n+    end_year = substr($4,length($4)-3,4)\n+  } \n+  if (end_year >= $3) {\n     incontract = 1\n   } \n \n@@ -68,7 +66,7 @@\n   #print out header\n   printf \"Publisher\\tPlugin\\tContr\\tYear\\tT\\tTotal\"\n   for (j = 0 ; j < scn ; j++) {\n-  \tif (x[s[j]] > 0) {\n+    if (x[s[j]] > 0) {\n     printf \"\\t%s\", sc[j]\n     }\n   }\n@@ -91,8 +89,8 @@\n     #print out bottom line sums\n     printf \"Publisher\\tPlugin\\tContr\\tYear\\tT\\t%d\", tt\n     for (j = 0 ; j < sn ; j++) {\n-    \tif (x[s[j]] > 0) {\n-    \t\tprintf \"\\t%d\", x[s[j]]\n+      if (x[s[j]] > 0) {\n+        printf \"\\t%d\", x[s[j]]\n       }\n     }\n \n"}
{"commit":"386d9978a929e51e729fcf7b08d1b083614b6b84","subject":"Filter is executable","message":"Filter is executable\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":""}
{"commit":"5a898290f5cd4d6801e5642250c09712b0176f79","subject":"stop quoting on item","message":"stop quoting on item","repos":"cartazio\/omega,minad\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -57,14 +57,14 @@\n \n \n ## make sure that control sequences are always at the front\n-\/ *=\/ { sub(\/ *\/, \"\") }\n+\/^ *=\/ { sub(\/^ *=\/, \"=\") }\n \n-quoting && \/^ \/ {\n-  sub(\/^ \/, \"\");\n-  print;\n-  next;\n+## check itemness\n+{ inItem = 0 }\n+\/^   *\\*\/ {\n+  inItem = 1\n+  ## print \" ########## ITEM\"\n }\n-\n \n itemizing && !\/^   *\\*\/ {\n   print \"\\\\end{itemize}\";\n@@ -75,7 +75,7 @@\n \n ## quoting stops when item appears\n ## or not indented any more\n-quoting && (\/^   *\\*\/ || !\/^ \/) {\n+quoting && (inItem || !\/^ \/) {\n   print \"\\\\end{quotation}\";\n   print \"\"\n   quoting = 0;\n@@ -109,6 +109,12 @@\n   next;\n }\n \n+quoting && \/^ \/ {\n+  sub(\/^ \/, \"\");\n+  print;\n+  next;\n+}\n+\n !itemizing && \/^   *\\*\/ {\n   print \"\\\\begin{itemize}\";\n   itemizing = 1;\n"}
{"commit":"8bbc1c18ab4214bdcfd9a8e4d976cd4a822c06ba","subject":"Languages: add Pashto language","message":"Languages: add Pashto language\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -234,6 +234,20 @@\n     Locale[\"or\"][\"iso\"]                = \"ori\"\n     Locale[\"or\"][\"glotto\"]             = \"macr1269\"\n     Locale[\"or\"][\"script\"]             = \"Orya\"\n+\n+    #? Pashto\n+    Locale[\"ps\"][\"name\"]               = \"Pashto\"\n+    Locale[\"ps\"][\"endonym\"]            = \"\u067e\u069a\u062a\u0648\"\n+    #Locale[\"ps\"][\"translations-of\"]\n+    #Locale[\"ps\"][\"definitions-of\"]\n+    #Locale[\"ps\"][\"synonyms\"]\n+    #Locale[\"ps\"][\"examples\"]\n+    #Locale[\"ps\"][\"see-also\"]\n+    Locale[\"ps\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"ps\"][\"iso\"]                = \"pus\"\n+    Locale[\"ps\"][\"glotto\"]             = \"pash1269\"\n+    Locale[\"ps\"][\"script\"]             = \"Arab\"\n+    Locale[\"ps\"][\"rtl\"]                = \"true\" # RTL language\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"2eeadd93b934d1113f545249710706aecc946e52","subject":"Make progress on parsing","message":"Make progress on parsing\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getFullcastFrom-imdb.awk\n+++ getFullcastFrom-imdb.awk\n@@ -9,6 +9,10 @@\n     Cast = $4\n     Directors = $5\n     Writers = $6\n+    person = \"\"\n+    role = \"\"\n+    num_episodes = \"\"\n+    episode_years = \"\"\n \n     if (Cast == \"\" && Directors == \"\" && Writers == \"\")\n         next\n@@ -17,9 +21,13 @@\n         next\n \n     if (Cast != \"\") {\n+        type = \"Actor\"\n         gsub (\/[[:blank:]]{3,99}\\(uncredited\\)\/,\" (uncredited)\",Cast)\n+        gsub (\/[[:blank:]]{3,99}\\\/ \\.\\.\\.\/,\" \/ ...\",Cast)\n+        uncredited = sub (\/\\(uncredited\\) ?\/,\"\",Cast)\n+        if (uncredited != 0)\n+            type = type \" (uncredited)\"\n         nflds1 = split (Cast,fld,\/[[:blank:]]{3,99}\/)\n-        type = \"Actor\"\n         person = fld[1]\n         role = fld[3]\n         sub (\/\\302\\240\/,\"\",role)\n@@ -32,11 +40,13 @@\n     }\n \n     if (Directors != \"\") {\n+        type = \"Director\"\n         nflds1 = split (Directors,fld,\/[[:blank:]]{3,99}\/)\n-        type = \"Director\"\n-        role = \"\"\n         person = fld[1]\n         episodes = fld[3]\n+        uncredited = sub (\/\\(uncredited\\) \/,\"\",episodes)\n+        if (uncredited != 0)\n+            type = type \" (uncredited)\"\n         gsub (\/[()]\/,\"\",episodes)\n         nflds2 = split (episodes,fld,\/,\/)\n         num_episodes = fld[1]\n@@ -46,19 +56,30 @@\n     }\n \n     if (Writers != \"\") {\n+        type = \"Writer\"\n         nflds1 = split (Writers,fld,\/[[:blank:]]{3,99}\/)\n-        type = \"Writer\"\n-        role = \"\"\n         person = fld[1]\n-        episodes = fld[3]\n-        gsub (\/[()]\/,\"\",episodes)\n-        nflds2 = split (episodes,fld,\/,\/)\n-        num_episodes = fld[1]\n-        sub (\/ episodes?\/,\"\",num_episodes)\n-        episode_years = fld[2]\n-        sub (\/ \/,\"\",episode_years)\n+        parens = fld[3]\n+        nparens = split (parens,fld,\/[()]\/)\n+        # print \"==> parens = \" parens > \"\/dev\/stderr\"\n+        for ( i = 2; i < nparens-1; i+=2 ) {\n+            if (fld[i] != \" \") {\n+                # print \"==> i = \" i \" - |\"fld[i] \"|\" > \"\/dev\/stderr\"\n+                type = type \" (\" fld[i] \")\"\n+            }\n+        }\n+        episodes = fld[nparens-1]\n+        if (episodes !~ \/episodes?\/) {\n+            type = type \" (\" episodes \")\"\n+        } else {\n+            nflds2 = split (episodes,fld,\/,\/)\n+            num_episodes = fld[1]\n+            sub (\/ episodes?\/,\"\",num_episodes)\n+            episode_years = fld[2]\n+            sub (\/ \/,\"\",episode_years)\n+        }\n     }\n \n-    printf (\"%d - %s %s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",nflds1,Title,Years,person,type,role,num_episodes,episode_years)\n+    printf (\"%s %s | %s | %s | %s | %s | %s\\n\",Title,Years,person,type,role,num_episodes,episode_years)\n \n }\n"}
{"commit":"8bc716bafc0bf7094f05832f76deaf25c84050ac","subject":"set execute perm","message":"set execute perm\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"345f9aa98a3bbdad182a2d7b8ce42e33296434dd","subject":"geo_utis.awk\t-- new funcs for determining handed ness of polygons","message":"geo_utis.awk\t-- new funcs for determining handed ness of polygons\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/geo_utils.awk\n+++ lib\/geo_utils.awk\n@@ -1,3 +1,23 @@\n+function GU_pi() {\n+\treturn 4*atan2(1, 1)\n+}\n+function GU_d2r(d) {\n+\treturn (d+0)*GU_pi()\/180.0\n+}\n+function GU_r2d(r) {\n+\treturn (r+0)*180.0\/GU_pi()\n+}\n+function GU_is_righthanded(count, first, x, y,   area, p, x1, y1, x2, y2) {\n+\tarea = 0\n+\tfor(p = 0; p < p_count[poly]; p++){\n+\t\tx1 = x[p_first[poly] + p]\n+\t\ty1 = y[p_first[poly] + p]\n+\t\tx2 = x[p_first[poly] + p + 1]\n+\t\ty2 = y[p_first[poly] + p + 1]\n+\t\tarea += GU_d2r(x2 - x1) * (2.0 + sin(GU_d2r(y1)) + sin(GU_d2r(y2)))\n+\t}\n+\treturn area >= 0\n+}\n function GU_pr_header(title, n_points) {\n \n \tprintf(\"{\\n\")\n"}
{"commit":"d7b3ae9221e31128ef9affd045b2034b9ab90b7b","subject":"fix copyright headers","message":"fix copyright headers\n","repos":"pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,tkelman\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- awk\/stringize.awk\n+++ awk\/stringize.awk\n@@ -1,7 +1,16 @@\n-# Copyright (c) AT&T Corp. 1994, 1995.\n-# This code is licensed by AT&T Corp.  For the\n-# terms and conditions of the license, see\n-# http:\/\/www.research.att.com\/orgs\/ssr\/book\/reuse\n+#\n+# \/**********************************************************\n+# *      This software is part of the graphviz package      *\n+# *                http:\/\/www.graphviz.org\/                 *\n+# *                                                         *\n+# *            Copyright (c) 1994-2005 AT&T Corp.           *\n+# *                and is licensed under the                *\n+# *            Common Public License, Version 1.0           *\n+# *                      by AT&T Corp.                      *\n+# *                                                         *\n+# *        Information and Software Systems Research        *\n+# *              AT&T Research, Florham Park NJ             *\n+# **********************************************************\/\n \n BEGIN\t{ s = ARGV[1]; gsub (\".*\/\", \"\", s); gsub(\"\\\\.\",\"_\",s); printf(\"char *%s[] = {\\n\",s); }\n \/^#\/\t{ print $0; next; }\n"}
{"commit":"ab4312850f19d4d6a789319ca2c5607a2e706d95","subject":"disable __gmon_start__ symbol","message":"disable __gmon_start__ symbol\n","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- extra\/scripts\/defs.awk\n+++ extra\/scripts\/defs.awk\n@@ -23,5 +23,5 @@\n \tprint \"#define ALIGN\";\n \n     print \"#include <libc-symbols.h>\";\n-    print \"weak_extern (__gmon_start__)\";\n+    #print \"weak_extern (__gmon_start__)\";\n }\n"}
{"commit":"a74131d495b9730fbfcf2efd5df29b91c2e01c21","subject":"- updated modpost script for compressed kernel modules","message":"- updated modpost script for compressed kernel modules\n","repos":"0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -901,6 +901,7 @@\n \t\t}\n \t\tprint_debug(1,pfx \"module = \" $0)\n \t\tsub(\/(\\.mod)?\\.(k)?o(\\.gz)?$\/, \"\")\n+\t\tsub(\"^\" me \".\" PROCINFO[\"pid\"] \".modules\/\", \"\")\n \t\tif (own == values[\"pkgdirectory\"]) {\n \t\t    sub(\/.*\\\/\/, \"\")\n \t\t    $0 = values[\"pkgdirectory\"] \"\/\" $0\n@@ -1140,15 +1141,68 @@\n     close(command)\n     print_vinfo(1,\"r: dumpfiles, syms \" count_syms \", unds \" count_unds)\n }\n-function read_moduledir(directory, src,\t    dir,command)\n+function read_moduledir(directory, src,\t    dir,command,find,file,tmpdir,dirs,written)\n {\n     print_vinfo(1,\"r: moduledir, directory = \\\"\" directory \"\\\"\")\n+    tmpdir = me \".\" PROCINFO[\"pid\"] \".modules\"\n+    system_command(\"mkdir -p -- \" tmpdir)\n     dir = \"kernel\"\n-    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n-    read_modobject(command, dir, \"kernel\", src)\n+    find = \"find \" directory \"\/\" dir \" -type f \\\\( -name '*.ko' -o -name '*.ko.gz' \\\\) 2>\/dev\/null\"\n+    if (system(\"test -d \" directory \"\/\" dir) == 0) {\n+\tsystem_command(\"rm -f -- \" tmpdir \"\/modules.list 2>\/dev\/null\")\n+\twritten = 0\n+\twhile ((find | getline file) == 1) {\n+\t    if (file~\/\\.ko\\.gz$\/) {\n+\t\tdir = tmpdir \"\/\" file\n+\t\tsub(\/\\\/[^\\\/]*$\/, \"\", dir)\n+\t\tif (!(dir in dirs)) {\n+\t\t    system_command(\"mkdir -p -- \" dir)\n+\t\t    dirs[dir] = 1\n+\t\t}\n+\t\tsub(\/\\.ko\\.gz$\/, \".ko\", file)\n+\t\tsystem_command(\"gzip -dc \" file \".gz >\" tmpdir \"\/\" file)\n+\t\tprint tmpdir \"\/\" file >> tmpdir \"\/modules.list\"\n+\t    } else {\n+\t\tprint file >> tmpdir \"\/modules.list\"\n+\t    }\n+\t    written = 1\n+\t}\n+\tclose(find)\n+\tif (written) {\n+\t    close(tmpdir \"\/modules.list\")\n+\t    command = \"cat \" tmpdir \"\/modules.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+\t    read_modobject(command, dir, \"kernel\", src)\n+\t}\n+    }\n     dir = values[\"pkgdirectory\"]\n-    command = \"find \" directory \"\/\" dir \" -type f -name '*.ko' 2>\/dev\/null | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n-    read_modobject(command, dir, values[\"pkgdirectory\"], \"pkgdirectory\")\n+    find = \"find \" directory \"\/\" dir \" -type f \\\\( -name '*.ko' -o -name '*.ko.gz' \\\\) 2>\/dev\/null\"\n+    if (system(\"test -d \" directory \"\/\" dir) == 0) {\n+\tsystem_command(\"rm -f -- \" tmpdir \"\/modules.list 2>\/dev\/null\")\n+\twritten = 0\n+\twhile ((find | getline file) == 1) {\n+\t    if (file~\/\\.ko\\.gz$\/) {\n+\t\tdir = tmpdir \"\/\" file\n+\t\tsub(\/\\\/[^\\\/]*$\/, \"\", dir)\n+\t\tif (!(dir in dirs)) {\n+\t\t    system_command(\"mkdir -p -- \" dir)\n+\t\t    dirs[dir] = 1\n+\t\t}\n+\t\tsub(\/\\.ko\\.gz$\/, \".ko\", file)\n+\t\tsystem_command(\"gzip -dc \" file \".gz >\" tmpdir \"\/\" file)\n+\t\tprint tmpdir \"\/\" file >> tmpdir \"\/modules.list\"\n+\t    } else {\n+\t\tprint file >> tmpdir \"\/modules.list\"\n+\t    }\n+\t    written = 1\n+\t}\n+\tclose(find)\n+\tif (written) {\n+\t    close(\"modules.list\")\n+\t    command = \"cat modules.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+\t    read_modobject(command, dir, values[\"pkgdirectory\"], \"pkgdirectory\")\n+\t}\n+    }\n+    system_command(\"rm -rf -- \" tmpdir)\n }\n function read_mymodules(modules, src,    i,pair,ind,base,name,sym,fmt) {\n     fmt = \"r: mymodules, %-20s: %14s; %-30s\"\n@@ -1156,9 +1210,11 @@\n     for (i = 1; i in modules; i++)\n \tprint modules[i] > \"modvers.list\"\n     close(\"modvers.list\")\n-    command = \"cat modvers.list | xargs objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+    #command = \"cat modvers.list | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n+    command = \"cat modvers.list | while read f ; do case $f in (*.ko) echo $f ;; (*.ko.gz) gzip -dc $f >\/var\/tmp\/`basename $f .gz` ; echo \/var\/tmp\/`basename $f .gz` ;; esac ; done | xargs -r objdump -t -j '*ABS*' -j '*UND*' -j __ksymtab -j __ksymtab_gpl -j __versions -j .init.text -j .exit.text -s\"\n     read_modobject(command, \".\", values[\"pkgdirectory\"], src)\n     system(\"rm -f modvers.list\")\n+    system(\"rm -f \/var\/tmp\/*.ko\")\n     # double check\n     for (pair in mod_unds) {\n \tsplit(pair, ind, SUBSEP); name = ind[1]; sym = ind[2]; base = name; gsub(\/^.*\\\/\/, \"\", base)\n"}
{"commit":"f9e9bd88da26c283ae9e8274c068ac84480dbaf9","subject":"adding in capability of no wobble \/ just exact duplicates","message":"adding in capability of no wobble \/ just exact duplicates\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"d3c7f3f95099c612dfd615d3e8c8f42f2eb40cbb","subject":"second","message":"second\n","repos":"greencardamom\/WaybackMedic,greencardamom\/WaybackMedic,greencardamom\/WaybackMedic","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- project.awk\n+++ project.awk\n@@ -33,7 +33,7 @@\n \n BEGIN {\n \n-  while ((C = getopt(ARGC, ARGV, \"abicxhp:d:m:r:s:\")) != -1) { \n+  while ((C = getopt(ARGC, ARGV, \"abicxhp:d:m:s:\")) != -1) { \n       opts++\n       if(C == \"p\")                 #  -p <project>   Use project name. No default.\n         pid = verifypid(Optarg)\n@@ -41,10 +41,6 @@\n         did = verifyval(Optarg)\n       if(C == \"m\")                 #  -m <data dir>  Meta directory. Defaults to default.meta in project.cfg\n         mid = verifyval(Optarg)\n-      if(C == \"r\") {               #  -r <date>      Retrieve list of articles edited by Cyberbot during day 20160214\n-        type = \"retrieve\"\n-        year = verifyval(Optarg)\n-      }\n       if(C == \"c\")                 #  -c             Create project files. -p required\n         type = \"create\"\n       if(C == \"i\")                 #  -i             Create index from data directory. -p required\n@@ -101,11 +97,6 @@\n     exit\n   }\n \n-  if(type ~ \/retrieve\/) {\n-    getcatbirths(year,mid)\n-    exit\n-  }\n-\n   if(type ~ \/delete\/) {\n     deleteproject(pid,mid,did)\n     exit\n@@ -136,22 +127,10 @@\n     sys2var(Exe[\"mkdir\"] \" \" mid pid)\n     checkexists(mid pid, \"project.awk\", \"exit\")\n   }\n-#  if(checkexists(mid pid \"\/db\")) \n-#    print \"tc.in directory already exists: \" mid pid \"\/db\"\n-#  else {\n-#    print \"OK Creating \" mid pid \"\/db\"\n-#    sys2var(Exe[\"mkdir\"] \" \" mid pid \"\/db\")\n-#    checkexists(mid pid \"\/db\", \"project.awk\", \"exit\")\n-#  }\n \n  # Write new project.cfg\n \n   # Remove leading and trailing blank lines\n-  # https:\/\/stackoverflow.com\/questions\/7359527\/removing-trailing-starting-newlines-with-sed-awk-tr-and-friends\n-  # $AWK '{ LINES=LINES $0 \"\\n\"; } \/.\/ { printf \"%s\", LINES; LINES=\"\"; }' \"$SHAREDIR\"article.txt | $SED '\/.\/,$\\!d' > \"$SHAREDIR\"\"o\"\n-  # command = Exe[\"awk\"] \" '{ LINES=LINES $0 \\\"\\\\n\\\"; } \/.\/ { printf \\\"%s\\\", LINES; LINES=\\\"\\\"; }' \" Home \"project.cfg | \" Exe[\"sed\"] \" '\/.\/,$!d' > \" Home \"project.cfg.orig\"\n-  # sys2var(command)\n-  # system(\"\")\n   print stripfile(Home \"project.cfg\") > Home \"project.cfg.orig\"\n   close(Home \"project.cfg.orig\")\n   print \"OK Saving project.cfg to project.cfg.orig\"\n@@ -267,39 +246,6 @@\n \n }\n \n-#\n-# Download full list of names in [[Category:#### births]] to births####.auth in the Meta directory\n-#\n-function getcatbirths(year,mid,   a) {\n-\n-  if(year ~ \/^[0-9]{4}$\/) {\n-\n-    # wget -q -O- \"https:\/\/tools.wmflabs.org\/ext-lnk-discover\/sc\/sc.php?category=1840_births\" | \\\n-    # grep '<br>' | awk '{c=split($0,a,\/<br>\/); while(i++ < c){if(a[i] != \"\") print a[i]} }' | \\\n-    # sort > births1840.auth\n-\n-    command = Exe[\"wget\"] \" -q -O- \\\"https:\/\/tools.wmflabs.org\/ext-lnk-discover\/sc\/sc.php?category=\" year \"_births\\\" | \" Exe[\"grep\"] \" '<br>' | \" Exe[\"awk\"] \" '{c=split($0,a,\/<br>\/); while(i++ < c){if(a[i] != \\\"\\\") print a[i]} }' | \" Exe[\"sort\"] \" > \" mid \"births\" year \".auth\"\n-    sys2var(command)\n-    print \"OK Created \" mid \"births\" year \".auth\"\n-    command = Exe[\"wc\"] \" -l \" mid \"births\" year \".auth\"\n-    split(sys2var(command), a, \" \")\n-    if(int(a[1]) > 999) a[1] = a[1]\n-    else if(int(a[1]) < 1000 && int(a[1]) > 99) a[1] = \"0\" a[1]\n-    else if(int(a[1]) < 100 && int(a[1]) > 9) a[1] = \"00\" a[1]\n-    else if(int(a[1]) < 10 && int(a[1]) > 0) a[1] = \"000\" a[1]\n-    else a[1] = \"error\"\n-\n-    print \"sed 's\/PNAME\/births\" year \".0001-\" a[1] \"\/g' 0INSTRUCTIONS > 0INSTRUCTIONS.\" year\n-\n-    # print \"Suggested Project: births\" year \".0001-\" a[1]\n-  }\n-  else {\n-    print \"Unable to determine year: \" year\n-    exit\n-  }\n-\n-}\n-\n function deleteproject(pid,mid,did,    i,c,re,a) {\n \n  # Delete Data and Meta directories\n@@ -386,7 +332,9 @@\n   }\n }\n \n-\n+#\n+# Search for string \"re\" in <filename> across entire project \n+#\n function check_string(filename, pid, did, mid,    re,c,files,stampdir,i,command,count) {\n \n  # Be careful with escaping as unsure how grep responds \n@@ -422,7 +370,6 @@\n     print(\"Error unable to find \" filepath \". \" name )\n     return 0\n   }\n-#  re = \"^\" regesc(strip(name)) \"$\"\n   re = name\n   while ((getline s < filepath ) > 0) {\n     split(s, a, \"|\")\n@@ -443,7 +390,6 @@\n   print \"Project - manage projects.\"\n   print \"\"\n   print \"Usage:\"\n-  print \"       -r <date>      Download list of articles edited by Cyberbot during 20160214\"\n   print \"       -i             Create index from ~\/data files. -p required\"\n   print \"       -c             Create project files. -p required\"\n   print \"       -x             Delete project files. -p required\"\n@@ -455,10 +401,6 @@\n   print \"       -a             Find all fixemptyarchive\"\n   print \"       -h             Help\"\n   print \"\"\n-  print \"Examples: project -x -p cb14feb16\"\n-  print \"          project -c -d \/mnt\/data\/ -m \/mnt\/meta\/ -p cb14feb16\"\n-  print \"          project -r 20160214\"\n-  print \"\"\n   print \"Path names for -d and -m end with trailing slash.\"\n   print \"\"\n \n"}
{"commit":"0356ca2e9e9b8c74e56d508eb55af4e00907d7fa","subject":"Translate: enlarge timeout to 1000ms","message":"Translate: enlarge timeout to 1000ms\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -78,7 +78,7 @@\n     }\n \n     # How long to wait in milliseconds for IPv6 before trying IPv4\n-    PROCINFO[HttpService, \"READ_TIMEOUT\"] = 300\n+    PROCINFO[HttpService, \"READ_TIMEOUT\"] = 1000\n }\n \n # Pre-process string (URL-encode before send).\n"}
{"commit":"c70d6f3be671953561aa717a87979a46efb4e684","subject":"use GLOBAL TT to label qc graph","message":"use GLOBAL TT to label qc graph\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/label_dot_edge.awk\n+++ scripts\/label_dot_edge.awk\n@@ -1,34 +1,37 @@\n #! \/usr\/bin\/gawk -f\n \n # label_dot_edge.awk\n-# Attempts to augment opaque ontological terms with their current label\n+# Augment ontological terms with their label\n # example usage:\n-# label_dot_edge.awk predicate_curie_term_label.tab  in.dot > out.dot\n+# ${DIPPER}\/scripts\/label_dot_edge.awk\n+#\t${DIPPER}\/translationtable\/GLOBAL_TERMS.yaml  in.dot > out.dot\n #\n # Arguments: two files\n-# Loads the first file as a map from terms to labels:\n-# (expects: [namespace:]<tab><term><tab><label>[<tab><whatever>])\n-# the first set was generated via cypher queries against our scigraph\n-# (neo4j) instance loaded with the ontologies we use.\n+# Loads the first file as a map from  to curie to label :\n+ # (expects: \"label\": \"curie\",)\n # Reads the second Graphviz digraph dot format file:\n # looks for <term> as edge-text\n # and appends \"! <label> (Iff <term> is found in map)\n # note: This \"<term> ! <label>\" structure is a convention used by Ontologists.\n \n \n-BEGIN{FS=\"\\t\"; OFS=\"\\t\"}\n+BEGIN{FS=\"\\\"\"; OFS=\"\\t\"}\n # load labels\n-FNR == NR && $3 != \"null\"{label[$1 $2]=$3}\n+FNR == NR && \/^\"\/{label[$4]=$2}\n \n # output lines that do not get labels\n FNR != NR && !\/.* -> .*label=.*\/ {print}\n \n # output lines w\/labels if they are available\n+\n FNR != NR && \/.* -> .*label=.*\/ {\n \tline=\"\";\n \tsplit($0, row, \/ \/)\n+\n \tsplit(row[4], term, \/\"\/)\n-\tif (term[2] in label){\n+\tsplit(term[2], lclid, \":\")\n+\n+\tif (term[2] in label && lclid[2] != label[term[2]]){\n \t\tterm[2] = term[2] \" ! \" label[term[2]];\n \t\trow[4] = term[1];\n \t\tfor(i=2;i<=length(term);i++)\n"}
{"commit":"e538715d2b5ae2a45120b60041aab860d0316637","subject":"Help: show proxy and user-agent in getVersion()","message":"Help: show proxy and user-agent in getVersion()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -28,6 +28,10 @@\n         sprintf(\"%-22s%s\\n\", \"home language\", Option[\"hl\"])             \\\n         sprintf(\"%-22s%s\\n\", \"source language\", Option[\"sl\"])           \\\n         sprintf(\"%-22s%s\\n\", \"target language\", join(Option[\"tl\"], \"+\")) \\\n+        sprintf(\"%-22s%s\\n\", \"proxy\", Option[\"proxy\"] ? Option[\"proxy\"] :\n+                \"[NONE]\")                                               \\\n+        sprintf(\"%-22s%s\\n\", \"user-agent\", Option[\"user-agent\"] ? Option[\"user-agent\"] :\n+                \"[NONE]\")                                               \\\n         sprintf(\"%-22s%s\\n\", \"theme\", Option[\"theme\"])                  \\\n         sprintf(\"%-22s%s\\n\", \"init file\", InitScript ? InitScript : \"[NONE]\") \\\n         sprintf(\"\\n%-22s%s\", \"Report bugs to:\", \"https:\/\/github.com\/soimort\/translate-shell\/issues\")\n"}
{"commit":"e1c107ab782271bd99a4c53a31c2e341be52d5be","subject":"Utils: pass proxy to curl","message":"Utils: pass proxy to curl\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -151,6 +151,8 @@\n     }\n \n     command = Curl \" --location --silent\"\n+    if (Option[\"proxy\"])\n+        command = command \" --proxy \" parameterize(Option[\"proxy\"])\n     if (Option[\"user-agent\"])\n         command = command \" --user-agent \" parameterize(Option[\"user-agent\"])\n     command = command \" \" parameterize(url)\n@@ -176,6 +178,8 @@\n     }\n \n     command = Curl \" --location --silent\"\n+    if (Option[\"proxy\"])\n+        command = command \" --proxy \" parameterize(Option[\"proxy\"])\n     if (Option[\"user-agent\"])\n         command = command \" --user-agent \" parameterize(Option[\"user-agent\"])\n     command = command \" --request POST --data \" parameterize(data)\n"}
{"commit":"59786f4209cd30a6dd4863708467b29e55ed41eb","subject":"Translate: add translateMain()","message":"Translate: add translateMain()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -207,3 +207,25 @@\n     }\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n }\n+\n+# Read from input and translate each line.\n+function translateMain(    i, line) {\n+    if (Option[\"interactive\"])\n+        prompt()\n+\n+    i = 0\n+    while (getline line < Option[\"input\"]) {\n+        # Non-interactive verbose mode: separator between sources\n+        if (!Option[\"interactive\"])\n+            if (Option[\"verbose\"] && i++ > 0)\n+                print replicate(\"\u2550\", Option[\"width\"])\n+\n+        translate(line)\n+\n+        # Interactive verbose mode: newline after each translation\n+        if (Option[\"interactive\"]) {\n+            if (Option[\"verbose\"]) printf \"\\n\"\n+            prompt()\n+        }\n+    }\n+}\n"}
{"commit":"a0bae20fa389ee569a5bd113cbde1b0302d82dc4","subject":"Update filter_en_uk.awk","message":"Update filter_en_uk.awk\n\nAdded every key of the basic en uk keyboard and removed ugly hacks","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- filter_en_uk.awk\n+++ filter_en_uk.awk\n@@ -62,33 +62,85 @@\n             if ($x == \"\/\") {\n                 macroLine = macroLine \"+slash,-slash\";\n                 break;\n-            }#\n-            if ($x == \"\/\") {\n-                macroLine = macroLine \"+numslash,-numslash\";\n-                break;\n-            }#\n-            if ($x == \"!\") {\n-                macroLine = macroLine \"+exclam,-exclam\";\n+            }\n+            if ($x == \"\u00ac\") {\n+                macroLine = macroLine \"+lshift,+grave,-grave,-lshift\";\n                 break;\n             }\n             if ($x == \"!\") {\n-                macroLine = macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+1,-1,-u,-lshift,-lctrl\";\n+                macroLine = macroLine \"+lshift,+1,-1,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\\\"\") {\n+                macroLine = macroLine \"+lshift,+2,-2,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00a3\") {\n+                macroLine = macroLine \"+lshift,+3,-3,-lshift\";\n+                break;\n+            }\n+            if ($x == \"$\") {\n+                macroLine = macroLine \"+lshift,+4,-4,-lshift\";\n+                break;\n+            }\n+            if ($x == \"%\") {\n+                macroLine = macroLine \"+lshift,+5,-5,-lshift\";\n+                break;\n+            }\n+            if ($x == \"^\") {\n+                macroLine = macroLine \"+lshift,+6,-6,-lshift\";\n+                break;\n+            }\n+            if ($x == \"&\") {\n+                macroLine = macroLine \"+lshift,+7,-7,-lshift\";\n+                break;\n+            }\n+            if ($x == \"*\") {\n+                macroLine = macroLine \"+lshift,+8,-8,-lshift\";\n+                break;\n+            }\n+            if ($x == \"(\") {\n+                macroLine = macroLine \"+lshift,+9,-9,-lshift\";\n+                break;\n+            }\n+            if ($x == \")\") {\n+                macroLine = macroLine \"+lshift,+0,-0,-lshift\";\n+                break;\n+            }\n+            if ($x == \"_\") {\n+                macroLine = macroLine \"+lshift,+minus,-minus,-lshift\";\n+                break;\n+            }\n+            if ($x == \"<\") {\n+                macroLine = macroLine \"+lshift,+comma,-comma,-lshift\";\n+                break;\n+            }\n+            if ($x == \">\") {\n+                macroLine = macroLine \"+lshift,+dot,-dot,-lshift\";\n                 break;\n             }\n             if ($x == \"?\") {\n-                macroLine = macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+3,-3,+f,-f,-u,-lshift,-lctrl\";\n+                macroLine = macroLine \"+lshift,+slash,-slash,-lshift\";\n                 break;\n             }\n-            if ($x == \"(\") {\n-                macroLine = macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+8,-8,-u,-lshift,-lctrl\";\n+            if ($x == \":\") {\n+                macroLine = macroLine \"+lshift,+colon,-colon,-lshift\";\n                 break;\n             }\n-            if ($x == \")\") {\n-                macroLine = macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+9,-9,-u,-lshift,-lctrl\";\n+            if ($x == \"@\") {\n+                macroLine = macroLine \"+lshift,+quote,-quote,-lshift\";\n                 break;\n             }\n-            if ($x == \"\\\"\") {\n-                macroLine = macroLine \"+lctrl,+lshift,+u,+2,-2,+0,-0,+1,-1,+c,-c,-u,-lshift,-lctrl\";\n+            if ($x == \"~\") {\n+                macroLine = macroLine \"+lshift,+hash,-hash,-lshift\";\n+                break;\n+            }\n+            if ($x == \"{\") {\n+                macroLine = macroLine \"+lshift,+lbrace,-lbrace,-lshift\";\n+                break;\n+            }\n+            if ($x == \"}\") {\n+                macroLine = macroLine \"+lshift,+rbrace,-rbrace,-lshift\";\n                 break;\n             }\n \n@@ -96,7 +148,7 @@\n             macroLine = macroLine \"+\" $x \",-\" $x\n         }\n         while (0)\n-        # 0 means it runs only once instead of endlessly looping in case oferrors\n+        # 0 means it runs only once instead of endlessly looping in case of errors\n         \n         # I add a comma between this key and the next unless I 'm at the last one\n         if (x < NF)\n"}
{"commit":"e9cd8843cb1f2754a0298c899a9c333f7504fc51","subject":"fix usage2c.awk for mawk, add comments","message":"fix usage2c.awk for mawk, add comments\n","repos":"mirror\/xmlstar,mirror\/xmlstar,mirror\/xmlstar","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- usage2c.awk\n+++ usage2c.awk\n@@ -5,6 +5,10 @@\n     print(\"#include <libxml\/xmlversion.h>\");\n }\n \n+# text in src\/foo-bar.txt results in\n+#   static const char foo_text[] = {\n+#     't', 'h', 'e', ' ', 't', 'e', 'x', 't', ...\n+#   }\n length(command_name) == 0 {\n     command_name = FILENAME;\n     sub(\/\\.txt$\/, \"\", command_name);\n@@ -14,6 +18,12 @@\n     progs = 0;\n }\n \n+# escape percent signs: we are going to use printf(). I don't think there are\n+# any %s currently, but it's bound to happen eventually.\n+{ gsub(\/%\/, \"%%\"); }\n+\n+# white space separted instances of PROG will be replaced with the final name of\n+# the xmlstarlet executable\n \/PROG\/ {\n     for (i = 1; i <= NF; i++) {\n         if ($i == \"PROG\") {\n@@ -23,12 +33,22 @@\n     }\n }\n \n+# C-preprocessor directives are unchanged\n \/^#\/\n+\n+# convert plain text lines into equivalent char array literal\n !\/^#\/ {\n-    gsub(\/.\/, \"'&',\");\n-    gsub(\/'\\\\'\/, \"'\\\\\\\\'\");     # '\\' --> '\\\\'\n-    gsub(\/'''\/, \"'\\\\''\");       # ''' --> '\\''\n-    print($0 \"'\\\\n',\");\n+    for (i = 1; i <= length($0); i++) {\n+        c = substr($0, i, 1);\n+        if (c == \"\\\\\")          # \\ --> '\\\\'\n+            printf(\"'\\\\\\\\'\");\n+        else if (c == \"'\")      # ' --> '\\''\n+            printf(\"'\\\\''\");\n+        else                    # X --> 'X'\n+            printf(\"'%c'\", c);\n+        printf(\",\");\n+    }\n+    print(\"'\\\\n',\");\n }\n \n END {\n"}
{"commit":"d05efa1edb65e81717ec04a37413b0beef17730b","subject":"RPi_system: Correctly report info about \"OFF\" dies to the browser","message":"RPi_system: Correctly report info about \"OFF\" dies to the browser\n","repos":"KnCMiner\/knc-asic,KnCMiner\/knc-asic,KnCMiner\/knc-asic","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- RPi_system\/waas_all_info_cached.awk\n+++ RPi_system\/waas_all_info_cached.awk\n@@ -34,33 +34,40 @@\n   for (asic = 0; asic < NUM_ASIC; ++asic) {\n     num = asic + 1;\n     printf(\"\\\"asic_%d\\\": {\\n\", num);\n+    all_dcdc_bad = 1;\n \n     for (dcdc = 0; dcdc < NUM_DCDC; ++dcdc) {\n       vout = \"\";\n       if (\"\" != asic_dcdcVout[asic, dcdc])\n         vout = (0.0 + asic_dcdcVout[asic, dcdc]);\n-      if (vout <= 0)\n+      if (vout <= 0) {\n         vout_s = \"\";\n-      else\n+      } else {\n         vout_s = sprintf(\"%.4f\", vout);\n+        all_dcdc_bad = 0;\n+      }\n       print \"\\t\\\"dcdc\" dcdc \"_Vout\\\": \\\"\" vout_s \"\\\",\"\n \n       iout = \"\";\n       if (\"\" != asic_dcdcIout[asic, dcdc])\n         iout = (0.0 + asic_dcdcIout[asic, dcdc]);\n-      if (iout <= 0)\n+      if (iout <= 0) {\n         iout_s = \"\";\n-      else\n+      } else {\n         iout_s = sprintf(\"%.4f\", iout);\n+        all_dcdc_bad = 0;\n+      }\n       print \"\\t\\\"dcdc\" dcdc \"_Iout\\\": \\\"\" iout_s \"\\\",\"\n \n       temp = \"\";\n       if (\"\" != asic_dcdctemp[asic, dcdc])\n         temp = (0.0 + asic_dcdctemp[asic, dcdc]);\n-      if (temp <= 0)\n+      if (temp <= 0) {\n         temp_s = \"\";\n-      else\n+      } else {\n         temp_s = sprintf(\"%.1f\", temp);\n+        all_dcdc_bad = 0;\n+      }\n       print \"\\t\\\"dcdc\" dcdc \"_Temp\\\": \\\"\" temp_s \"\\\",\"\n     }\n \n@@ -69,6 +76,8 @@\n       if (\"\" != asic_freq[asic, die])\n         freq = (0 + asic_freq[asic, die]);\n       if (freq <= 0)\n+        freq = \"OFF\";\n+      if (all_dcdc_bad)\n         freq = \"\";\n       print \"\\t\\\"die\" die \"_Freq\\\": \\\"\" freq \"\\\",\";\n \n@@ -79,6 +88,8 @@\n         volt_s = \"\";\n       else\n         volt_s = sprintf(\"%.4f\", volt);\n+      if (all_dcdc_bad)\n+        volt_s = \"\";\n       print \"\\t\\\"die\" die \"_Voffset\\\": \\\"\" volt_s \"\\\",\";\n     }\n \n"}
{"commit":"18edec8bd333503379ff3acf828b2262668697bf","subject":"bump version: 0.9-dev","message":"bump version: 0.9-dev\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- metainfo.awk\n+++ metainfo.awk\n@@ -1,7 +1,7 @@\n BEGIN {\n     Name        = \"Translate Shell\"\n     Description = \"Google Translate to serve as a command-line tool\"\n-    Version     = \"0.8.23\"\n+    Version     = \"0.9-dev\"\n     Command     = \"trans\"\n     EntryPoint  = \"translate.awk\"\n }\n"}
{"commit":"5aebe46edd0d6a35fb6ef94f6b7720e6dc19442a","subject":"Mark CVaListPointer array generators as unavailable on Linux","message":"Mark CVaListPointer array generators as unavailable on Linux\n","repos":"rhx\/SwiftGLib,rhx\/SwiftGLib,rhx\/SwiftGLib","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- GLib-2.0.awk\n+++ GLib-2.0.awk\n@@ -2,7 +2,7 @@\n #\n # Patch the generated wrapper Swift code to handle special cases\n #\n-BEGIN { etpInit = 0 }\n+BEGIN { etpInit = 0 ; vaptrptr = 0 }\n \/public convenience init.T: ErrorTypeProtocol.\/ {\n \tetpInit = 1\n \tprint \"    \/\/\/ Convenience copy constructor, creating a unique copy\"\n@@ -25,4 +25,20 @@\n \tsub(\/GIConv {\/,\"GIConv? {\")\n \tsub(\/return rv\/,\"return rv == unsafeBitCast(-1, to: GIConv.self) ? nil : rv\")\n }\n+\/UnsafeMutablePointer.CVaListPointer\/ {\n+\tvaptrptr = 1\n+\tprint \"#if !os(Linux)\"\n+}\n+\/^$\/ {\n+\tif (vaptrptr) {\n+\t\tprint \"#endif\"\n+\t\tvaptrptr = 0\n+\t}\n+}\n+\/\\\/\\\/\\\/\/ {\n+\tif (vaptrptr) {\n+\t\tprint \"#endif\"\n+\t\tvaptrptr = 0\n+\t}\n+}\n \/\/ { print }\n"}
{"commit":"a9fb54169b197f31aff24c8d6270dd1e56cde395","subject":"regdb: Generalize the mW to dBm power conversion","message":"regdb: Generalize the mW to dBm power conversion\n\nGeneralize the power conversion from mW to dBm\nusing log. This should fix the below compilation\nerror for country NO which adds a new power value\n2000mW which is not handled earlier.\n\n CC [M]  net\/wireless\/wext-sme.o\n CC [M]  net\/wireless\/regdb.o\nnet\/wireless\/regdb.c:1130:1: error: Unknown undeclared here (not in\na function)\nnet\/wireless\/regdb.c:1130:9: error: expected } before power\nmake[2]: *** [net\/wireless\/regdb.o] Error 1\nmake[1]: *** [net\/wireless] Error 2\nmake: *** [net] Error 2\n\nReported-By:  John Walker <a51dda7c7ff50b61eaea0444371f4a6a9301e501@x109.net>\nSigned-off-by: Chaitanya T K <199e9860d62930d367e80551e27f729f69f2d733@gmail.com>\nAcked-by: John W. Linville <2a53bac7a5d324865ef46ec4c38b2c0fba1456b4@tuxdriver.com>\n[remove unneeded parentheses, fix rounding by using %.0f]\nSigned-off-by: Johannes Berg <bff32994ff0f8d048f262a8388145a71b6071bfe@intel.com>\n","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- net\/wireless\/genregdb.awk\n+++ net\/wireless\/genregdb.awk\n@@ -68,17 +68,7 @@\n \tsub(\/,\/, \"\", units)\n \tdfs_cac = $9\n \tif (units == \"mW\") {\n-\t\tif (power == 100) {\n-\t\t\tpower = 20\n-\t\t} else if (power == 200) {\n-\t\t\tpower = 23\n-\t\t} else if (power == 500) {\n-\t\t\tpower = 27\n-\t\t} else if (power == 1000) {\n-\t\t\tpower = 30\n-\t\t} else {\n-\t\t\tprint \"Unknown power value in database!\"\n-\t\t}\n+\t\tpower = 10 * log(power)\/log(10)\n \t} else {\n \t\tdfs_cac = $8\n \t}\n@@ -117,7 +107,7 @@\n \n \t}\n \tflags = flags \"0\"\n-\tprintf \"\\t\\tREG_RULE_EXT(%d, %d, %d, %d, %d, %d, %s),\\n\", start, end, bw, gain, power, dfs_cac, flags\n+\tprintf \"\\t\\tREG_RULE_EXT(%d, %d, %d, %d, %.0f, %d, %s),\\n\", start, end, bw, gain, power, dfs_cac, flags\n \trules++\n }\n \n"}
{"commit":"d4cd821855c2cc111a5c330e8976dd67c9ae2104","subject":"Remove debugging 'PR |' printout","message":"Remove debugging 'PR |' printout\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -99,8 +99,8 @@\n     if (episodeTitle ~ \/^PR \\|\/) {\n         # Episode is a Trailer (i.e. First look), set episodeType to \"T\"\n         episodeType = \"T\"\n-        print episodeTitle \"\\t\" shortURL >> ERROR_FILE\n         printf (\"-1\") >> NUM_EPISODES_FILE\n+        # print episodeTitle \"\\t\" shortURL >> ERROR_FILE\n     }\n     #\n     # If start of episodeTitle == seriesTitle \": \", remove the redundant part.\n"}
{"commit":"f0b90983a891d2adc0f9f412569de3493348e3be","subject":"Work around va_list and CLongDouble issues on Linux and arm64","message":"Work around va_list and CLongDouble issues on Linux and arm64\n","repos":"rhx\/SwiftGLib,rhx\/SwiftGLib,rhx\/SwiftGLib","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- GLib-2.0.awk\n+++ GLib-2.0.awk\n@@ -2,7 +2,7 @@\n #\n # Patch the generated wrapper Swift code to handle special cases\n #\n-BEGIN { etpInit = 0 ; vaptrptr = 0 }\n+BEGIN { etpInit = 0 ; vaptrptr = 0 ; longdouble = 0 }\n \/public convenience init.T: ErrorTypeProtocol.\/ {\n \tetpInit = 1\n \tprint \"    \/\/\/ Convenience copy constructor, creating a unique copy\"\n@@ -31,17 +31,23 @@\n }\n \/Pointer<va_list>\/ {\n \tvaptrptr = 1\n-\tprint \"#if !os(Linux)\"\n+\tprint \"#if !os(Linux) && !arch(arm64)\"\n+}\n+\/CLongDouble\/ {\n+\tlongdouble = 1\n+\tprint \"#if !(os(Linux) && arch(arm64))\"\n }\n \/^$\/ {\n-\tif (vaptrptr) {\n+\tif (vaptrptr || longdouble) {\n \t\tprint \"#endif\"\n+\t\tlongdouble = 0\n \t\tvaptrptr = 0\n \t}\n }\n \/\\\/\\\/\\\/\/ {\n-\tif (vaptrptr) {\n+\tif (vaptrptr || longdouble) {\n \t\tprint \"#endif\"\n+\t\tlongdouble = 0\n \t\tvaptrptr = 0\n \t}\n }\n"}
{"commit":"87dd2313926344bdaab4988ad8d67c8ede4f3da5","subject":"Oops, extra }","message":"Oops, extra }\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxSeasonsFrom-webscraper.awk\n+++ getBBoxSeasonsFrom-webscraper.awk\n@@ -53,7 +53,6 @@\n     # unless it's never used without the \"The\" included, such as \"The Queen\"\n     if (showTitle !~ \/^The Queen\/ && showTitle !~ \/^The Shard\/ && match (showTitle, \/^The \/))\n         showTitle = substr(showTitle, 5) \", The\"\n-    }\n \n     # Some shows that need special processing\n     if (baseURL ~ \/Maigret_15974$\/) {\n"}
{"commit":"72c973648b7c2c44d02794075b4c9a4dee9c5825","subject":"added ns for dbpedia http:\/\/dbpedia.org\/resource\/","message":"added ns for dbpedia http:\/\/dbpedia.org\/resource\/\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -45,6 +45,7 @@\n       print \"@prefix time:       <http:\/\/www.w3.org\/2006\/time#> .\"\n       print \"@prefix wgs:        <http:\/\/www.w3.org\/2003\/01\/geo\/wgs84_pos#> .\"\n       print \"@prefix geonames:   <http:\/\/www.geonames.org\/ontology#> .\"\n+      print \"@prefix dbpedia:    <http:\/\/dbpedia.org\/resource\/> .\"\n       print \"@prefix con:        <http:\/\/www.w3.org\/2000\/10\/swap\/pim\/contact#> .\"\n       print \"@prefix muo:        <http:\/\/purl.oclc.org\/NET\/muo\/muo#> .\"\n    }\n"}
{"commit":"b9bce032c8b1d23a37bdf94d255c459072612bad","subject":"Languages: add two more aliases: zh-CHS and zh-CHT","message":"Languages: add two more aliases: zh-CHS and zh-CHT\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1777,6 +1777,8 @@\n     LocaleAlias[\"srp\"]     = \"sr-Cyrl\"\n     LocaleAlias[\"serbian\"] = \"sr-Cyrl\"\n     LocaleAlias[\"zh\"]      = \"zh-CN\" # Chinese: default to Chinese Simplified\n+    LocaleAlias[\"zh-CHS\"]  = \"zh-CN\"\n+    LocaleAlias[\"zh-CHT\"]  = \"zh-TW\"\n     LocaleAlias[\"zho\"]     = \"zh-CN\"\n     LocaleAlias[\"chinese\"] = \"zh-CN\"\n     LocaleAlias[\"tlh-Latn\"] = \"tlh\"\n"}
{"commit":"802f858fd96d70644389903d380139d396d02467","subject":"Languages: add Romansh language","message":"Languages: add Romansh language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -248,6 +248,19 @@\n     Locale[\"ps\"][\"glotto\"]             = \"pash1269\"\n     Locale[\"ps\"][\"script\"]             = \"Arab\"\n     Locale[\"ps\"][\"rtl\"]                = \"true\" # RTL language\n+\n+    #? Romansh\n+    Locale[\"rm\"][\"name\"]               = \"Romansh\"\n+    Locale[\"rm\"][\"endonym\"]            = \"Rumantsch\"\n+    #Locale[\"rm\"][\"translations-of\"]\n+    #Locale[\"rm\"][\"definitions-of\"]\n+    #Locale[\"rm\"][\"synonyms\"]\n+    #Locale[\"rm\"][\"examples\"]\n+    #Locale[\"rm\"][\"see-also\"]\n+    Locale[\"rm\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"rm\"][\"iso\"]                = \"roh\"\n+    Locale[\"rm\"][\"glotto\"]             = \"roma1326\"\n+    Locale[\"rm\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"966f7464e216e40077e462f953fc343671ced371","subject":"TestCommons: update","message":"TestCommons: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- test\/TestCommons.awk\n+++ test\/TestCommons.awk\n@@ -38,7 +38,7 @@\n         delete array; array[0] = \"foo\"\n         delete expected; expected[0] = \"foo\"; expected[1] = \"bar\"\n         append(array, \"bar\")\n-        assertTrue(identical(array, expected))\n+        assertEqual(array, expected)\n     }\n \n     # Strings\n@@ -85,7 +85,7 @@\n         delete array\n         delete expected; expected[1] = \"f\"; expected[2] = \"o\"; expected[3] = \"o\"\n         explode(\"foo\", array)\n-        assertTrue(identical(array, expected))\n+        assertEqual(array, expected)\n     }\n     T(\"escapeChar()\", 8)\n     {\n"}
{"commit":"55d3f061dbdfce1eda9c5b3fdb6485eeb88c4116","subject":"Work on adding episode types","message":"Work on adding episode types\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -78,15 +78,23 @@\n     next\n }\n \n-# Extract the episode URL, the episode title, and the seasonNumber\n+# Extract the episode URL, the episode type, the episode title, and the seasonNumber\n \/<strong title=\"\/ {\n     gsub (\/&#x27;\/,\"'\")\n     split ($0,fld,\"\\\"\")\n     episodeURL = fld[2]\n+    if (episodeURL ~ \/-c-.[[:digit:]]{3,4}$\/)\n+        episodeNumberFromURL = substr (episodeURL, length(episodeURL)-1, 2) + 0\n     shortURL = episodeURL\n     sub (\/.*watch\/,\"watch\",shortURL)\n-    if (episodeURL ~ \/-c-[[:digit:]]{5}$\/)\n-        episodeNumberFromURL = substr (episodeURL, length(episodeURL)-1, 2)\n+    # Default episodeType to \"E\"\n+    episodeType = \"E\"\n+    # If episode is a Trailer or Finale (i.e. First look), set episodeType to \"T\"\n+    if (episodeURL ~ \/-trailer-|-finale-\/)\n+        episodeType = \"T\"\n+    # If episode is a BONUS:, set episodeType to \"X\"\n+    if (episodeURL ~ \/-c-x[[:digit:]]{3,4}$\/)\n+        episodeType = \"X\"\n     episodeTitle = fld[4]\n     gsub (\/&quot;\/,\"\\\"\\\"\",episodeTitle)\n     gsub (\/&amp;\/,\"\\\\&\",episodeTitle)\n@@ -96,16 +104,20 @@\n     next\n }\n \n-# Extract the episode number\n+# Extract the episode number, and correct if necessary\n \/<h4 class=\"\/ {\n     sub (\/.*Episode \/,\"\")\n     sub (\/<\\\/span>.*\/,\"\")\n-    episodeNumber = $0\n-    if (seriesTitle == \"Detective Montalbano\" && page2 == \"yes\") {\n-        oldEpisodeNumber = episodeNumber\n-        episodeNumber += 24\n-        printf (\"==> Corrected E%02d to E%02d: %s\\n\", oldEpisodeNumber, episodeNumber, \\\n+    episodeNumber = $0 + 0\n+    if (episodeType == \"T\") {\n+        printf (\"==> Corrected %s%02d to T01: %s\\n\", episodeType, episodeNumber, \\\n                 shortURL) >> ERROR_FILE\n+        episodeNumber = 1\n+    }\n+    if ((episodeURL ~ \/-c-.[[:digit:]]{3,4}$\/) && episodeNumber != episodeNumberFromURL) {\n+        printf (\"==> Corrected %s%02d to %s%02d: %s\\n\", episodeType, episodeNumber, episodeType, \\\n+                episodeNumberFromURL, shortURL) >> ERROR_FILE\n+        episodeNumber = episodeNumberFromURL\n     }\n     next\n }\n@@ -114,17 +126,18 @@\n # Extract the episode description and print the composed info\n \/<div class=\"transparent padding-top-medium\"\/,\/<\\\/div>\/ {\n     if ($0 ~ \/<div class=\"transparent padding-top-medium\"\/) {\n-        if ((episodeNumber + 0) == 0) {\n-            if ((episodeNumberFromURL + 0) != 0) {\n+        if (episodeNumber == 0) {\n+            if (episodeNumberFromURL != 0) {\n+                printf (\"==> Corrected %s00 to %s%02d: %s\\n\", episodeType, episodeType, \n+                        episodeNumberFromURL, shortURL) >> ERROR_FILE\n                 episodeNumber = episodeNumberFromURL\n-                printf (\"==> Corrected E00 to E%02d: %s\\n\", episodeNumber, shortURL) >> ERROR_FILE\n             } else {\n                 printf (\"==> Episode number is 00: %s\\n\", shortURL) >> ERROR_FILE\n             }\n         }\n-        printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, S%02dE%02d, %s\\\"\\)\\t\\t\\t%s\\t\\t\\t\\t\\t\", \\\n-            SERIES_NUMBER, episodeURL, seriesTitle, seasonNumber, episodeNumber, episodeTitle, \\\n-            episodeDuration) >> EPISODE_INFO_FILE\n+        printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, S%02d%s%02d, %s\\\"\\)\\t\\t\\t%s\\t\\t\\t\\t\\t\", \\\n+                SERIES_NUMBER, episodeURL, seriesTitle, seasonNumber, episodeType, episodeNumber, \\\n+                episodeTitle, episodeDuration) >> EPISODE_INFO_FILE\n         # Need to account for multiple lines of description\n         descriptionLinesFound = 0\n         episodeDescription = \"\"\n"}
{"commit":"261d1926348aec12f8412a2e9017c5fa887e7c58","subject":"Commons: add initAnsiCode()","message":"Commons: add initAnsiCode()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- lib\/Commons.awk\n+++ lib\/Commons.awk\n@@ -39,6 +39,42 @@\n     UrlEncoding[\"~\"]  = \"%7E\"\n }\n \n+# Initialize ANSI escape codes (ANSI X3.64 Standard Control Sequences).\n+# See: <https:\/\/en.wikipedia.org\/wiki\/ANSI_escape_code>\n+function initAnsiCode() {\n+    # Dumb terminal: no ANSI escape code whatsoever\n+    if(ENVIRON[\"TERM\"] == \"dumb\") return\n+\n+    AnsiCode[\"reset\"]         = AnsiCode[0] = \"\\33[0m\"\n+\n+    AnsiCode[\"bold\"]          = \"\\33[1m\"\n+    AnsiCode[\"underline\"]     = \"\\33[4m\"\n+    AnsiCode[\"negative\"]      = \"\\33[7m\"\n+    AnsiCode[\"no bold\"]       = \"\\33[21m\"\n+    AnsiCode[\"no underline\"]  = \"\\33[24m\"\n+    AnsiCode[\"positive\"]      = \"\\33[27m\"\n+\n+    AnsiCode[\"black\"]         = \"\\33[30m\"\n+    AnsiCode[\"red\"]           = \"\\33[31m\"\n+    AnsiCode[\"green\"]         = \"\\33[32m\"\n+    AnsiCode[\"yellow\"]        = \"\\33[33m\"\n+    AnsiCode[\"blue\"]          = \"\\33[34m\"\n+    AnsiCode[\"magenta\"]       = \"\\33[35m\"\n+    AnsiCode[\"cyan\"]          = \"\\33[36m\"\n+    AnsiCode[\"gray\"]          = \"\\33[37m\"\n+\n+    AnsiCode[\"default\"]       = \"\\33[39m\"\n+\n+    AnsiCode[\"dark gray\"]     = \"\\33[90m\"\n+    AnsiCode[\"light red\"]     = \"\\33[91m\"\n+    AnsiCode[\"light green\"]   = \"\\33[92m\"\n+    AnsiCode[\"light yellow\"]  = \"\\33[93m\"\n+    AnsiCode[\"light blue\"]    = \"\\33[94m\"\n+    AnsiCode[\"light magenta\"] = \"\\33[95m\"\n+    AnsiCode[\"light cyan\"]    = \"\\33[96m\"\n+    AnsiCode[\"white\"]         = \"\\33[97m\"\n+}\n+\n # Naive assertion.\n function assert(x, message) {\n     if (!message)\n"}
{"commit":"380de70494ed5252dfffcdc4aaaab06e8ca0c39f","subject":"Changes in marksession.awk awk script to have a better session ID, especially when Frames do not have Call-ID (before: session ID was previous one, after: session-ID is {0}","message":"Changes in marksession.awk awk script to have a better session ID, especially when Frames do not have Call-ID (before: session ID was previous one, after: session-ID is {0}\n\n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@17 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- awk-scripts\/marksession.awk\n+++ awk-scripts\/marksession.awk\n@@ -1,33 +1,44 @@\n BEGIN {\n-   session_count = 0;\n+  session_count = 0;\n }\n \n {\n-   if ($1 ~ \"[0-9]+\") {\n-\t  \/* See if the current line is already in the table *\/\n-\t  frame_file = destDir \"\/frames\/Frame\"$1\".html\";\n-\t  \"grep -i \\\"\" session_token \"\\\" \" frame_file | getline session_line;\n-\t  found = 0;\n-\t  split(session_line, array);\n-\t  session = array[2];\n+  if ($1 ~ \"[0-9]+\") {\n+    # See if the current line is already in the table\n+    frame_file = destDir \"\/frames\/Frame\"$1\".html\"\n+    session_line = \"\"\n+    \"grep -i \\\"\" session_token \"\\\" \" frame_file | getline session_line\n+  \n+    if (session_line == \"\" ) {\n+      $4 = \"{0}\"\n+      print $0\n \n-\t  for (i=0; i < session_count; i++) {\n-\t\t if (sessions[i] == session) {\n-\t\t\tfound = 1;\n-\t\t\t$4 = \"{\" i+1 \"}\";\n-\t\t\tprint $0;\n-\t\t\tbreak;\n-\t\t }\n-\t  }\n-\t  if (found == 0) {\n-\t\t $4 = \"{\" session_count+1 \"}\";\n-\t\t sessions[session_count++] = session;\n-\t\t print $0;\n-\t\t s = sprintf(\"echo 'New session in frame %s: %s' >&2\", $1, session);\n-\t\t system(s);\n-\t  }\n+    } else {\n+      found = 0;\n+      split(session_line, array)\n+      session = array[2]\n+      for (i=0; i < session_count; i++) {\n+        if (sessions[i] == session) {\n+          found = 1\n+          $4 = \"{\" i+1 \"}\"\n+          print $0\n+          break\n+        }\n+      }\n \n-   } else {\n-\t  print $0;\n-   }\n+      if (found == 0) {\n+        $4 = \"{\" session_count+1 \"}\"\n+        sessions[session_count++] = session\n+        print $0\n+        s = sprintf(\"echo 'New session in frame %s: %s' >&2\", $1, session)\n+        system(s)\n+      }\n+    }\n+  \n+  } else {\n+    # Comment line, line starting with \"#\".\n+    # Requires no processing, just print it\n+    print $0\n+  }\n }\n+\n"}
{"commit":"e610fa31f593cd18bffdc4bf1a4f0eb7aa9178ef","subject":"Document the head of the script","message":"Document the head of the script\n","repos":"lonkamikaze\/bsda2,lonkamikaze\/bsda2","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- src\/makeplist.awk\n+++ src\/makeplist.awk\n@@ -1,3 +1,22 @@\n+#!\/usr\/bin\/awk -f\n+#\n+# Combine multiple pkg-plist files into a single pkg-plist.\n+#\n+# This takes a list of all options as command line arguments. The\n+# order of the options determines the order option specific plist\n+# entries appear in the combined output.\n+#\n+# The plists must be fed into stdin and preceded by a line starting\n+# with `OPTIONS:` followed by a white space separated list of the\n+# active options.\n+#\n+# Files that appear with all options are listed first, followed by\n+# the option specific output.\n+#\n+# @param ARGV\n+#\tA sorted list of options\n+#\n+\n # Get the order of options\n BEGIN {\n \tOPTION_STR[\"DOCS\"] =     \"%%PORTDOCS%%\"\n@@ -15,6 +34,7 @@\n \t}\n \tCNT_FILES = 0\n }\n+\n # Get the options the following files were staged with\n \/^OPTIONS:\/ {\n \tdelete aoptions\n@@ -26,6 +46,7 @@\n \t++CONFIGS\n \tnext\n }\n+\n # Collect files\n {\n \t# Record order of file\n@@ -45,6 +66,7 @@\n \t\t++OPT_FILES[option, $0]\n \t}\n }\n+\n # Print files\n END {\n \t# Print files common to all configurations\n"}
{"commit":"45dabcb154d6f65cfb72993ecfe7bcd59b1e7d7e","subject":"Improve regex portability","message":"Improve regex portability\n","repos":"clehner\/smpl","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/json.awk\n+++ lib\/json.awk\n@@ -6,7 +6,7 @@\n \tlen = split($0, items, \/,\"\/)\n \tif (len > 1) {\n \t\tsub(\/^{\"\/, \"\", items[1])\n-\t\tsub(\/}$\/, \"\", items[len])\n+\t\tsub(\/}\\s*$\/, \"\", items[len])\n \t}\n \tfor (i = 1; i <= len; i++) {\n \t\titem = items[i]\n"}
{"commit":"29ea83f7cd7440be605244a9ac75ecd09b903439","subject":"Update min\/max length to be inclusive","message":"Update min\/max length to be inclusive\n\nsee: https:\/\/trello.com\/c\/RU4BWrYA\/340-as-a-data-manager-adding-min-max-values-in-the-jts-they-should-be-inclusive\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -158,7 +158,7 @@\n         msg         = field \" in \\\" CSVFILENAME \\\" line \\\" NR \\\" should match the following pattern \" pattern \" and was \\\" \" field \" \\\" \"\n \n     } else if (rule_type ~ \/^minLength|maxLength$\/) {\n-        comparator  = $2 == \"maxLength\" ? \">\" : \"<\"\n+        comparator  = $2 == \"maxLength\" ? \">=\" : \"<=\"\n         limit       = params[2]\n         term        = $2 == \"maxLength\" ? \"less\" : \"greater\"\n \n"}
{"commit":"63af40e2c3e03ddd84736c1b6f7bdbbfa091db27","subject":"Remove no longer needed kludge","message":"Remove no longer needed kludge\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -86,9 +86,6 @@\n     if (episodeURL ~ \/-c-[[:digit:]]{5}$\/)\n         episodeNumberFromURL = substr (episodeURL, length(episodeURL)-1, 2)\n     episodeTitle = fld[4]\n-    # kludge for missing episode number in mammon\/season:1\/videos\/the-murder\n-    if (episodeTitle ~ \/Sn 1 Ep 5\/)\n-        episodeNumberFromURL = \"05\"\n     gsub (\/&quot;\/,\"\\\"\\\"\",episodeTitle)\n     gsub (\/&amp;\/,\"\\\\&\",episodeTitle)\n     sub (\/.*season:\/,\"\")\n"}
{"commit":"09d1d09d92bd73c9f16876bc4f572b160f9377e7","subject":"minor: whitespace","message":"minor: whitespace\n","repos":"markhatton\/google-ngrams","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- process-ngrams.awk\n+++ process-ngrams.awk\n@@ -6,7 +6,7 @@\n # * Assumes the input corpus is sorted.\n #\n {\n-    if ($1 ~ \/^[a-zA-Z' ]+$\/) {\n+    if ( $1 ~ \/^[a-zA-Z' ]+$\/ ) {\n         if ( $1 == last ) {\n             count+=$3\n         } else if ( last != \"\" ) {\n"}
{"commit":"d4b67292230f7f482422f4782e8a89f80b3c7c20","subject":"Add the SENSES option to linked-isas.awk","message":"Add the SENSES option to linked-isas.awk\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- misc\/linked-isas.awk\n+++ misc\/linked-isas.awk\n@@ -1,6 +1,7 @@\n #!\/usr\/bin\/awk -f\n BEGIN {\n     FS = OFS = \"\\t\";\n+    if (length(SENSES) == 0) SENSES = 0;\n }\n {\n     nsenses = split($3, senses, \", \");\n@@ -10,8 +11,12 @@\n \n     for (sense in senses) {\n         for (isa in isas) {\n-            sub(\/#[[:digit:]]+$\/, \"\", senses[sense]);\n-            sub(\/#[[:digit:]]+(:|$)\/, OFS, isas[isa]);\n+            if (SENSES) {\n+                sub(\/(:|$)\/, OFS, isas[isa]);\n+            } else {\n+                sub(\/#[[:digit:]]+$\/, \"\", senses[sense]);\n+                sub(\/#[[:digit:]]+(:|$)\/, OFS, isas[isa]);\n+            }\n             print senses[sense], isas[isa] | \"sort --parallel=$(nproc) -t \\\"\\t\\\" -S1G -s -g -k3r | cut -f1,2\";\n         }\n     }\n"}
{"commit":"4973024f39438ea4aca4fdcfa83cb7964e68303f","subject":"Revert.","message":"Revert.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@38824 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if ending year is gt or eq to contract year\n-  current_year = 2015\n+  current_year = 2014\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n"}
{"commit":"d836258e30c380576e65bf7e796d302dacc8dd30","subject":"Compute the CloudFront records dynamically.","message":"Compute the CloudFront records dynamically.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -1,7 +1,3 @@\n-BEGIN {\n-    print \"[\";\n-}\n-\n function printUrlQueryString(queryString)\n {\n     split(queryString, pairs, \"&\", seps)\n@@ -32,40 +28,30 @@\n     return url;\n }\n \n-\/^#\/ {\n-  # Ignore log comment lines\n-}\n-\n-\/^[1-9][0-9]*\/ {\n-    date = $1                         # date\n-    time = $2                         # time\n-    x_edge_location = $3              # x-edge-location\n-    sc_bytes = $4                     # sc-bytes\n-    c_ip = $5                         # c-ip\n-    cs_method = $6                    # cs-method\n-    cs_Host = $7                      # cs(Host)\n-    cs_uri_stem = $8                  # cs-uri-stem\n-    sc_status = $9                    # sc-status\n-    cs_Referer = $10                  # cs(Referer)\n-    cs_User_Agent = $11               # cs(User-Agent)\n-    cs_uri_query = $12                # cs-uri-query\n-    cs_Cookie = $13                   # cs(Cookie)\n-    x_edge_result_type = $14          # x-edge-result-type\n-    x_edge_request_id = $15           # x-edge-request-id\n-    x_host_header = $16               # x-host-header\n-    cs_protocol = $17                 # cs-protocol\n-    cs_bytes = $18                    # cs-bytes\n-    time_taken = $19                  # time-taken\n-    x_forwarded_for = $20             # x-forwarded-for\n-    ssl_protocol = $21                # ssl-protocol\n-    ssl_cipher = $22                  # ssl-cipher\n-    x_edge_response_result_type = $23 # x-edge-response-result-type\n-    printf \"{\\n\\t\\\"date\\\": \\\"%s\\\",\\n\\t\\\"time\\\":\\\"%s\\\",\\n\\t\\\"x-edge-location\\\":\\\"\\%s\\\",\\n\\t\\\"sc-bytes\\\": \\\"%s\\\",\\n\\t\\\"c-ip\\\": \\\"%s\\\",\\n\\t\\\"cs-method\\\": \\\"%s\\\",\\n\\t\\\"cs(Host)\\\": \\\"%s\\\",\\n\\t\\\"cs-uri-stream\\\": \\\"%s\\\",\\n\\t\\\"sc-status\\\": \\\"%s\\\",\\n\\t\\\"cs(Referer)\\\": \\\"%s\\\",\\n\\t\\\"cs(User-Agent)\\\": \\\"%s\\\",\\n\\t\\\"cs(Cookie)\\\": \\\"%s\\\",\\n\\t\\\"x-edge-result-type\\\": \\\"%s\\\",\\n\\t\\\"x-edge-request-id\\\": \\\"%s\\\",\\n\\t\\\"x-host-header\\\": \\\"%s\\\"\\n\\t\\\"cs-protocol\\\": \\\"%s\\\",\\n\\t\\\"cs-bytes\\\": \\\"%s\\\",\\n\\t\\\"time-taken\\\": \\\"%s\\\",\\n\\t\\\"x-forwarded-for\\\": \\\"%s\\\",\\n\\t\\\"ssl-protocol\\\": \\\"%s\\\",\\n\\t\\\"ssl-cipher\\\": \\\"%s\\\",\\n\\t\\\"x-edge-response-result-type\\\": \\\"%s\\\",\\n\", date, time, x_edge_location, sc_bytes, c_ip, cs_method, cs_Host, cs_uri_stem, sc_status, cs_Referer, urlDecode(urlDecode(cs_User_Agent)), cs_Cookie, x_edge_result_type, x_edge_request_id, x_host_header, cs_protocol, cs_bytes, time_taken, x_forwarded_for, ssl_protocol, ssl_cipher, x_edge_response_result_type\n-  printf \"\\t\\\"cs-uri-query\\\": {\\n\"\n-  printUrlQueryString(cs_uri_query)\n-  printf \"\\t}\\n\"\n+BEGIN {\n+    print \"{\";\n }\n \n END {\n-  print \"]\";\n+    print \"}\"\n }\n+\n+\/^#Version: \/ {\n+    printf \"\\t\\\"version\\\": \\\"%s\\\",\\n\", substr($0, length(\"#Version: \") + 1)\n+}\n+\n+\/^#Fields: \/ {\n+    rest = substr($0, length(\"#Fields: \") + 1)\n+    split(rest, fields, \" \", seps)\n+    numFields = length(fields)\n+}\n+\n+! \/^#\/ {\n+    split($0, fieldsThisLine, \" \", sepsThrowAway)\n+    print \"\\t{\"\n+    for(i = 1; i < numFields; i++)\n+    {\n+        printf \"\\t\\t\\\"%s\\\": \\\"%s\\\",\\n\", fields[i], fieldsThisLine[i]\n+    }\n+    print \"\\t},\"\n+}\n"}
{"commit":"f6945cb6b601b8ec5a9703f11f3f49611f18804a","subject":"add a diff line so you can check your commit before hitting enter...","message":"add a diff line so you can check your commit before hitting enter...\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/tools\/mfc\/mfc.awk\n+++ tools\/tools\/mfc\/mfc.awk\n@@ -22,9 +22,12 @@\n \tif (!(match($2, \"\\\\+[0-9]\") && match($3, \"-[0-9]\")))\n \t\tnext\n \tprintf(\"cvs -d %s update %s -j 1.%d -j 1.%d %s\\n\", CVSROOT, UPDATEOPTS, $1 - 1, $1, $4)\n-\tfiles = files \" \" $4\n+\tfiles[$4] = 1\n }\n \n END {\n-\tprintf(\"cvs -d %s commit %s\\n\", CVSROOT, files);\n+\tfor (i in files)\n+\t\tfl = fl \" \" i\n+\tprintf(\"cvs -d %s diff -kk %s | less\\n\", CVSROOT, fl);\n+\tprintf(\"cvs -d %s commit %s\\n\", CVSROOT, fl);\n }\n"}
{"commit":"1d49c21e75e91d92e5cff43819835fe33ee87af1","subject":"Only link classes and insert paragraph breaks.","message":"Only link classes and insert paragraph breaks.\n","repos":"TheHubbit\/PyInventor,TheHubbit\/PyInventor","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/pydoc2html.awk\n+++ utils\/pydoc2html.awk\n@@ -98,7 +98,9 @@\n           if (!isBullet) print \"<ul>\";\n           target = substr($2, 0, length($2) -1);\n           if (target == \"inventor\") print \"<li><a href='\" target \".html'>\" $2 \"<\/a>\";\n-          else print \"<li><a href='\" module \".\" target \".html'>\" $2 \"<\/a>\";\n+          else if (match(target, \/^[A-Z]\/)) print \"<li><a href='\" module \".\" target \".html'>\" $2 \"<\/a>\";\n+          else print \"<li>\" $2;\n+\n           sub(\/^[ ]*\\- [a-zA-Z0-9_, ]+: \/, \"\"); \n           print; \n           isBullet = 1; next; \n@@ -131,11 +133,18 @@\n               }\n               else print $0;\n             }\n+            else print \"<br \/>\";\n           }\n           else if (!eatEmptyLines || length($0) > 0)\n           {\n             print;\n-          } \n+          }\n+\n+          if (!isBullet && !eatEmptyLines && length($0) == 0)\n+          {\n+            print \"<p \/>\";\n+          }\n+\n           if (length($0) > 0) eatEmptyLines = 0; else if (isBullet)\n           {\n             print \"<\/ul>\";\n"}
{"commit":"b10ea7791c447193c61f2d2cc325ac2b6be3d075","subject":"hinter: use same hint for all occurrences of match","message":"hinter: use same hint for all occurrences of match\n\nThis patch changes the hinter to use the same hint for all occurrences\nof a match, thereby reducing the need to use multi-character hints and\nalso eliminating redundant hints to simplify the user's hint decision.\n","repos":"Morantron\/tmux-fingers,Morantron\/tmux-fingers","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/hinter.awk\n+++ scripts\/hinter.awk\n@@ -1,7 +1,5 @@\n BEGIN {\n   n_matches = 0;\n-  line_pos = 0;\n-  col_pos = 0;\n   COMPACT_HINTS = ENVIRON[\"COMPACT_HINTS\"];\n \n   HINTS[0] = \"p\"\n@@ -121,50 +119,37 @@\n }\n \n {\n-  line = $0;\n-  pos = 0;\n-  col_pos = 0;\n-  col_pos_correction = 0;\n+  output_line = $0;\n \n-  output_line = line;\n+  # insert hints into `output_line` and accumulate hints in `hint_lookup`\n+  line = output_line;\n+  pos = col_pos_correction = 0;\n+  while (match(line, finger_patterns)) {\n+    pos += RSTART;\n+    col_pos = pos + col_pos_correction\n+    pre_match = substr(output_line, 0, col_pos - 1);\n+    post_match = substr(output_line, col_pos + RLENGTH, length(line) - 1);\n+    line_match = substr(line, RSTART, RLENGTH);\n \n-  while (match(line, finger_patterns)) {\n-    n_matches += 1;\n-\n-    hint = HINTS[n_matches - 1]\n-    pos += RSTART;\n-\n-    col_pos = pos;\n-\n-    line_match = substr(line, RSTART, RLENGTH);\n-    full_line_match = line_match\n+    hint = hint_by_match[line_match]\n+    if (!hint) {\n+      hint = HINTS[n_matches++]\n+      hint_by_match[line_match] = hint\n+    }\n+    hint_lookup = hint_lookup hint \":\" line_match \"\\n\"\n \n     if (COMPACT_HINTS) {\n       hint_len = length(hint)\n       line_match = substr(line_match, hint_len + 1, length(line_match) - hint_len);\n-    }\n-\n-    col_pos = col_pos + col_pos_correction\n-\n-    line_pos = NR;\n-\n-    pre_match = substr(output_line, 0, col_pos - 1);\n-\n-    if (COMPACT_HINTS) {\n       hint_match = sprintf(compound_format, hint, line_match);\n     } else {\n       hint_match = sprintf(compound_format, line_match, hint);\n     }\n-\n-    post_match = substr(output_line, col_pos + RLENGTH, length(line) - 1);\n-\n     output_line = pre_match hint_match post_match;\n-\n-    line = post_match;\n \n     col_pos_correction += length(sprintf(highlight_format, line_match)) + length(sprintf(hint_format, hint)) - 1;\n \n-    hint_lookup = hint_lookup hint \":\" full_line_match \"\\n\"\n+    line = post_match;\n   }\n \n   printf \"\\n%s\", output_line\n"}
{"commit":"b0dc84f97bf3d3b9469657e51bb77e5befc10798","subject":"KNF the output.","message":"KNF the output.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/hil\/devlist2h.awk\n+++ dev\/hil\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.1 2003\/02\/11 19:39:30 miod Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.2 2005\/05\/07 22:39:43 miod Exp $\n #\n # Copyright (c) 2003, Miodrag Vallat.\n # All rights reserved.\n@@ -74,6 +74,6 @@\n \t\tprint $0\n }\n END {\n-\tprintf(\"\\t{ -1, -1, -1, NULL }\")\n+\tprintf(\"\\t{ -1, -1, -1, NULL }\\n\")\n \tprintf(\"};\\n\")\n }\n"}
{"commit":"ce11d3d1dcdfefbb0d35fccc240ab407f5d57937","subject":"Better names","message":"Better names\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxFrom-scrapy_xml.awk\n+++ getBritBoxFrom-scrapy_xml.awk\n@@ -13,7 +13,6 @@\n \/\\\/us\\\/\/ {\n     URL = $3\n     showTitle = $7\n-    subtitle = $11\n \n     # Titles starting with \"The\" should not sort based on \"The\"\n     if (match (showTitle, \/^The \/)) {\n@@ -24,6 +23,7 @@\n # <URL>\/us\/episode\/Vera_S3_E1_13502<\/URL><Title>Vera<\/Title><Subtitle>Season 3, Castles in The Air<\/Subtitle>\\\n # <Duration>88 min<\/Duration><Year>2013<\/Year><Rating>TV-MA<\/Rating>\n \/\\\/us\\\/episode\\\/\/ {\n+    episodeTitle = $11\n     episodeDuration = $15\n     episodeYear = $19\n     episodeRating = $23\n@@ -37,25 +37,22 @@\n \n     # Get rid of perfunctory \"Season <n>, \" from episode title\n     episodePrefix = \"Season \" seasonNumber \", \"\n-    sub (episodePrefix, \"\", subtitle)\n+    sub (episodePrefix, \"\", episodeTitle)\n \n     if (episodeNumber != \"\") {\n         printf \\\n             (\"%s S%02dE%02d\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, S%02dE%02d, %s\\\"\\)\\t\\t%s\\t%s\\t%s\\t%s\\n\", \\\n              showTitle, seasonNumber, episodeNumber, URL, showTitle, seasonNumber, episodeNumber, \\\n-             subtitle, episodeDuration, episodeYear, episodeRating, episodeDescription)\n+             episodeTitle, episodeDuration, episodeYear, episodeRating, episodeDescription)\n     }\n }\n \n # <URL>\/us\/season\/Vera_S8_15720<\/URL><Title>Vera<\/Title><SeasonNumber>8<\/SeasonNumber>\\\n # <Year>2018<\/Year><NumEpisodes>4<\/NumEpisodes>\n \/\\\/us\\\/season\\\/\/ {\n+    seasonNumber = $11\n     seasonYear = $15\n     seasonEpisodes = $19\n-\n-    nfields = split (URL,fld,\"_\")\n-    seasonNumber = fld[nfields - 1]\n-    sub (\/S\/,\"\",seasonNumber)\n \n     if (seasonNumber != \"\") {\n         printf \\\n"}
{"commit":"046c0c8b88386ab21ba943958272533aa0925e3f","subject":"Theme: add comments","message":"Theme: add comments\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Theme.awk\n+++ include\/Theme.awk\n@@ -2,6 +2,7 @@\n # Theme.awk                                                        #\n ####################################################################\n \n+# Prettify a string using corresponding SGR option.\n function prettify(name, string,    i, temp) {\n     temp = string\n     if (\"sgr-\" name in Option)\n@@ -13,6 +14,7 @@\n     return temp\n }\n \n+# Return a string representing a random color.\n function randomColor(    i) {\n     i = int(5 * rand())\n     switch (i) {\n@@ -25,6 +27,7 @@\n     }\n }\n \n+# Set theme to: random.\n function setRandomTheme(    i, n, temp) {\n     srand(systime())\n     for (i = 0; i < 3; i++) {\n@@ -82,6 +85,7 @@\n     Option[\"sgr-brief-translation\"][2] = Option[\"sgr-brief-translation-phonetics\"][2] = \"bold\"\n }\n \n+# Set theme to: default.\n function setDefaultTheme() {\n     Option[\"sgr-translation\"] = Option[\"sgr-translation-phonetics\"] = \"bold\"\n     Option[\"sgr-prompt-message-original\"] = \"underline\"\n@@ -98,6 +102,7 @@\n     Option[\"sgr-alternatives-translations-item\"] = \"bold\"\n }\n \n+# Set theme using corresponding option.\n function setTheme(    file, line, script) {\n     if (Option[\"theme\"] && Option[\"theme\"] != \"default\") {\n         file = Option[\"theme\"]\n"}
{"commit":"7173a36d112f3c5d5d24ea9c98a3e33decede67b","subject":"Utils: parameterize data in curlPost()","message":"Utils: parameterize data in curlPost()\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -178,7 +178,7 @@\n     command = Curl \" --location --silent\"\n     if (Option[\"user-agent\"])\n         command = command \" --user-agent \" parameterize(Option[\"user-agent\"])\n-    command = command \" --request POST --data \" data\n+    command = command \" --request POST --data \" parameterize(data)\n     command = command \" \" parameterize(url)\n     if (output) {\n         command = command \" --output \" parameterize(output)\n"}
{"commit":"87841ec147678b201a30bac87ac472c92a06ef83","subject":"Commons: add PIPE","message":"Commons: add PIPE\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Commons.awk\n+++ include\/Commons.awk\n@@ -12,6 +12,7 @@\n \n     SUPOUT = \" > \/dev\/null \"  # suppress output\n     SUPERR = \" 2> \/dev\/null \" # suppress error\n+    PIPE = \" | \"\n }\n \n # Initialize `UrlEncoding`.\n"}
{"commit":"47a430eafdf616a21726b6878f518a92076c3965","subject":"The bindings should include the BRLAPI_ERROR_... constants. (dm)","message":"The bindings should include the BRLAPI_ERROR_... constants. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@3382 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Programs\/brlapi.awk\n+++ Programs\/brlapi.awk\n@@ -19,7 +19,7 @@\n   apiRangeTypeCount = 0\n }\n \n-\/#define[ \\t]*BRLAPI_(CURSOR|DISPLAY|TTY)_\/ {\n+\/#define[ \\t]*BRLAPI_(CURSOR|DISPLAY|ERROR|TTY)_\/ {\n   apiConstant(substr($2, 8), $2, getDefineValue(), \"\")\n   next\n }\n"}
{"commit":"1864dd637002b177a570f473d77185b675ab270c","subject":"Update isNumber regex to be more accurate","message":"Update isNumber regex to be more accurate\n","repos":"tesera\/bawlk,tesera\/bawlk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/bawlk.awk\n+++ bin\/bawlk.awk\n@@ -31,7 +31,7 @@\n     print \"function are_headers_valid(valid_headers) { v=0; split($0, h, \\\",\\\"); split(valid_headers, vh, \\\"|\\\"); return eql(h, vh); }\"\n     print \"function is_unique(i, val) { if (vals[i,val]) { return 0; } else { vals[i,val] = 1; return 1; } }\"\n     print \"function is_integer(x) { return x ~ \/^-?[0-9]+$\/ }\"\n-    print \"function is_number(x) { return x ~ \/^-?[0-9]+\\.[0-9]+$\/ }\"\n+    print \"function is_number(x) { return x ~ \/^-?[0-9]+(\\.[0-9]+)?$\/ }\"\n     print \"function print_cats(categories) { for (category in categories) { if (categories[category]) print \\\"      \\\" category \\\": \\\" categories[category]; } }\"\n     print \"function log_err(cat) { cats[cat]++; err_count++; }\"\n     print RS\n"}
{"commit":"aeba8d37a7b131fc314052882fc4126549a75226","subject":"Refactor BritBox season processing","message":"Refactor BritBox season processing\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxSeasonsFrom-webscraper.awk\n+++ getBritBoxSeasonsFrom-webscraper.awk\n@@ -7,25 +7,37 @@\n \n BEGIN {\n     FS=\"\\t\"\n+    print \"Sortkey\\tURL\\tYears\\tEpisodes\\tDescription\"\n }\n \n-# Only print the preceding line if the current line has a new Program_Title\n+# Only print the preceding line if the current line has a different Program_Title\n # or the preceding line had a non-blank SsnURL-href \n NR > 1 {\n-    SsnURL_href =$6\n-    Program_Title = $9\n-    if (Program_Title != oldProgram_Title || oldSsnURL_href != \"\")\n-        print oldline\n+    if (oldProgram_Title != $9 || oldSsnURL_href != \"\")\n+        print savedLine\n }\n \n-# Always save the current line so it can be printed after chaecking the following line\n+# Save fields from the current line so they can be printed after checking the following line\n {\n-    oldline = $0\n+    # Raw fields for comparison\n     oldSsnURL_href = $6\n     oldProgram_Title = $9\n+\n+    # Fields to print from current line\n+    sortkey = NR\n+    $6  == \"\" ? URL = $4 : URL = $6\n+    showTitle = $9\n+    $10 == \"\" ? seasonTitle = \"Season 1\" : seasonTitle = $10\n+    Years = $11\n+    Episodes = $12\n+    $14 != \"\" ? Description = $14 : Description = $13\n+    savedLine = sprintf \\\n+        (\"%s - %s\\t=HYPERLINK(\\\"%s\\\";\\\"%s, %s\\\"\\)\\t%s\\t%s\\t%s\",\\\n+         showTitle, sortkey, URL, showTitle, seasonTitle, Years, Episodes, Description)\n+\n     next\n }\n \n END {\n-    print NR-1 \" - \"oldline\n+    print savedLine\n }\n"}
{"commit":"f1e684ea4b8b7cd58e040ccbe34f87209f94bda1","subject":"r2795\/sofa-dev : WARNING: Removing binary dependencies and headers from SVN. Please use system-specific packages available at https:\/\/gforge.inria.fr\/frs\/?group_id=483 This implements task 2610.","message":"r2795\/sofa-dev : WARNING: Removing binary dependencies and headers from SVN. Please use system-specific packages available at https:\/\/gforge.inria.fr\/frs\/?group_id=483\nThis implements task 2610.\n\n \/\/partial sync (1\/22 changes)\/\/\n","repos":"FabienPean\/sofa,FabienPean\/sofa,FabienPean\/sofa,hdeling\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,hdeling\/sofa,hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,hdeling\/sofa,hdeling\/sofa,FabienPean\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa,Anatoscope\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,Anatoscope\/sofa","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- scripts\/filter-code.awk\n+++ scripts\/filter-code.awk\n@@ -1,8 +1,6 @@\n #!\/usr\/bin\/awk -f\n # This script removes parts flagged by SOFA_DEV inside C source code files\n-# The file with the relevant parts removed is output to the standard output,\n-# while files mentionned inside removed parts are output to the standard error.\n-# This can be used to remove then from the repository by svn rm'ing them.\n+# The file with the relevant parts removed is output to the standard output.\n \n # If you never used awk, a good introduction is available at http:\/\/www.cs.hmc.edu\/qref\/awk.html\n \n"}
{"commit":"dc4d90b1ca6344c1853fe6d5bcac5aef52c4c936","subject":"PLParser: header comment","message":"PLParser: header comment\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/PLParser.awk\n+++ include\/PLParser.awk\n@@ -1,4 +1,6 @@\n-#!\/usr\/bin\/gawk -f\n+####################################################################\n+# PLParser.awk                                                     #\n+####################################################################\n \n # Parse a list of tokens and return an AST.\n function plParse(returnAST, tokens,\n"}
{"commit":"1a12e4b9c089f25a5aa762481da7c121e394342a","subject":"output more heavy headings; checkpoint","message":"output more heavy headings; checkpoint","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/hierarchy.awk\n+++ tools\/hierarchy.awk\n@@ -6,8 +6,9 @@\n     hier[heading] = $0\n     sub(\/<a name=\"[^\"]*\"><\\\/a>\/, \"\", hier[heading])\n     sub(\/<a href=\".*\" class=\"section_anchor\"><\\\/a>\/, \"\", hier[heading])\n-    print \"#############\" hier[heading]\n+    print hier[heading]\n     hunt = 0\n+    next\n }\n \n \/<h1>\/ {\n@@ -19,22 +20,26 @@\n }\n \n \/<\\\/h[1-9]>\/ {\n-    heading -= 1\n+    heading = 0\n     print\n     next\n }\n \n-\/<h2>\/ && heading == 1 {\n+\/<h2>\/ && heading == 0 {\n     print \"<\/div>\"\n     print \"<div class=\\\"slide\\\">\"\n-    print \"<h1 style=\\\"display: none;\\\">\" hier[heading] \"<\/h1>\"\n+    print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n     heading = 2\n     hunt = 1\n     print\n     next\n }\n \n-\/<h3>\/ && heading == 2 {\n+\/<h3>\/ && heading == 0 {\n+    print \"<\/div>\"\n+    print \"<div class=\\\"slide\\\">\"\n+    print \"<h1 style=\\\"display: none;\\\">\" hier[1] \"<\/h1>\"\n+    print \"<h2 style=\\\"display: none;\\\">\" hier[2] \"<\/h2>\"\n     heading = 3\n     hunt = 1\n     print\n"}
{"commit":"b0ffeb15c477e8e692d6521e324d940eb88f1acb","subject":"- use kabi whitelists","message":"- use kabi whitelists\n","repos":"kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -1380,9 +1380,35 @@\n \t    set_symset(set, hash, pos, ssym, scrc, own, src, \"syssymset\")\n \t}\n \t# TODO: revalidate the hash by regenerating it\n+\tclose(tar)\n     }\n     print_vinfo(1,\"r: syssymset, syms \" count_syms \", sets \" count_sets)\n-    close(tar)\n+    return n\n+}\n+# read and process kabi_whitelist_<cpu> file\n+function read_whitelist(file, own, src,\t    n, command, list, count_lists)\n+{\n+    count_syms = 0; count_lists = 0\n+    print_vinfo(1,\"r: whitelist, file = \\\"\" file \"\\\"\")\n+    n = 0\n+    if (system(\"test -r \" file) == 0) {\n+\tcommand = cat_command(file)\n+\twhile ((command | getline) == 1) {\n+\t    if ($1~\/^[[][^][]*[]]$\/) {\n+\t\tlist = $1\n+\t\tsub(\/^[[]\/,\"\",list)\n+\t\tsub(\/[]]$\/,\"\",list)\n+\t\tcount_lists = count_lists + 1\n+\t\tcontinue\n+\t    } else {\n+\t\tset_symbol($1, \"\", \"\", \"\", \"\", 0, \"\", src \":\" list, 1, own)\n+\t\tkabi[$1] = 1\n+\t\tn++\n+\t    }\n+\t}\n+\tclose(command)\n+    }\n+    print_vinfo(1,\"r: whitelist, syms \" count_syms \", lists \" count_lists)\n     return n\n }\n function path_symvers(path,\tn,files,file,i)\n@@ -1928,6 +1954,7 @@\n     }\n     if (\"kversion\" in ENVIRON) { kversion = ENVIRON[\"kversion\"] }\n     else                       { kversion = getline_command(\"uname -r\") }\n+    cpu = getline_command(\"uname -m\")\n     # MODPOST_SYSVER  contains all the system  defined symbol versions\n     # MODPOST_MODVER  contains all the package defined symbol versions\n     # MODPOST_SYMSETS contains the new symbol sets (jltz)\n@@ -1944,6 +1971,7 @@\n     longopts[\"pkgabi\"       ] = \"P:\" ; environs[\"pkgabi\"       ] = \"MODPOST_PKGABI\"\t\t ; defaults[\"pkgabi\"       ] = \"package.abi\"\t\t\t\t\t; descrips[\"pkgabi\"       ] = \"input file containing package ABI definitions\"\n     longopts[\"symsets\"      ] = \"S:\" ; environs[\"symsets\"      ] = \"MODPOST_SYMSETS\"\t\t ; defaults[\"symsets\"      ] = \"symsets-openss7-\" kversion \".tar.gz\"\t\t; descrips[\"symsets\"      ] = \"output file for symsets\"\n     longopts[\"ksymsets\"     ] = \"K:\" ; environs[\"ksymsets\"     ] = \"MODPOST_KSYMSETS\"\t\t ; defaults[\"ksymsets\"     ] = \"\/boot\/symsets-\" kversion \".tar.gz\"\t\t; descrips[\"ksymsets\"     ] = \"input system symsets file\"\n+    longopts[\"whitelist\"    ] = \"L:\" ; environs[\"whitelist\"    ] = \"MODPOST_WHITELIST\"\t\t ; defaults[\"whitelist\"    ] = \"\/lib\/modules\/kabi\/kabi_whitelist_\" cpu\t\t; descrips[\"whitelist\"    ] = \"input kabi whitelist file\"\n     longopts[\"missing\"      ] = \"g\"  ;\t\t\t\t\t\t\t\t   defaults[\"missing\"      ] = 0\t\t\t\t\t\t; descrips[\"missing\"      ] = \"create missing system symsets (ksyms missing from kabi)\"\n     longopts[\"rip-symbols\"  ] = \"r\"  ;\t\t\t\t\t\t\t\t   defaults[\"rip-symbols\"  ] = 1\t\t\t\t\t\t; descrips[\"rip-symbols\"  ] = \"attempt to rip undefined symbols from system map (requires -F, implies -U)\"\n     longopts[\"rip-weak\"     ] = \"R\"  ;\t\t\t\t\t\t\t\t   defaults[\"rip-weak\"     ] = 1\t\t\t\t\t\t; descrips[\"rip-weak\"     ] = \"attempt to rip weak undefined symbols from system map (requires -F, implies -U)\"\n@@ -1995,7 +2023,7 @@\n     values[\"silent\"       ] = defaults[\"silent\"       ]\n     values[\"debug\"        ] = defaults[\"debug\"        ]\n     values[\"verbose\"      ] = defaults[\"verbose\"      ]\n-    optstring = \"M:c:k:d:F:i:o:s:*P:K:S:grRbUwWHf:umaxp:enqD::v::hVC\"\n+    optstring = \"M:c:k:d:F:i:o:s:*P:K:L:S:grRbUwWHf:umaxp:enqD::v::hVC\"\n     optind = 0\n     #opts = \"\"; for (i=1;i<ARGC;i++) { if (i == 1) { opts = ARGV[i] } else { opts = opts \" \" ARGV[i] } }\n     #print me \": D: o: command line: \" opts > stderr; written[stderr] = 1\n@@ -2004,7 +2032,7 @@\n \tc = getopt_long(ARGC, ARGV, optstring, longopts)\n \t#if (c != -1) { print me \": D: o: option -\" c \", longopt --\" option \", optset = \" optset \", optarg = \" optarg > stderr; written[stderr] = 1 }\n \tif (c == -1) break\n-\telse if (c ~ \/[MckdFiosPKSfp]\/)\t\t\t{ values[option] = optarg }\n+\telse if (c ~ \/[MckdFiosPKLSfp]\/)\t\t{ values[option] = optarg }\n \telse if (c ~ \/[grRbUwWHumaxenq]\/)\t\t{ values[option] = optset }\n \telse if (c~\/[Dv]\/) { if (optarg != \"\")\t\t{ values[option] = optarg } else { if (optset)  { values[option]++ } else { values[option] = optset } } }\n \telse if (c~\/[hVC]\/)\t{ command = option }\n@@ -2096,16 +2124,24 @@\n \t    else\n \t\tprint_error(\"r: moduledir, directory not found\")\n \t}\n+\tvalues[\"kabi\"] = 0\n \tif ((\"ksymsets\" in values) && values[\"ksymsets\"])\n \t    values[\"kabi\"] = read_symsets(values[\"ksymsets\"], \"kabi\", \"syssymset\")\n \telse {\n-\t    values[\"kabi\"] = 0\n \t    file = \"symsets-\" kversion \".tar.gz\"\n \t    if (system(\"test -r \/boot\/\" file) == 0) {\n \t\tvalues[\"kabi\"] = values[\"kabi\"] + read_symsets(\"\/boot\/\" file, \"kabi\", \"syssymset\")\n \t    }\n \t    if (system(\"test -r \/lib\/modules\/\" kversion \"\/build\/\" file) == 0) {\n \t\tvalues[\"kabi\"] = values[\"kabi\"] + read_symsets(\"\/lib\/modules\/\" kversion \"\/build\/\" file, \"kabi\", \"syssymset\")\n+\t    }\n+\t}\n+\tif ((\"whitelist\" in values) && values[\"whitelist\"])\n+\t    values[\"kabi\"] = read_whitelist(values[\"whitelist\"], \"kabi\", \"whitelist\")\n+\telse {\n+\t    file = \"kabi_whitelist_\" cpu\n+\t    if (system(\"test -r \/lib\/modules\/kabi\/\" file) == 0) {\n+\t\tvalues[\"kabi\"] = read_whitelist(\"\/lib\/modules\/kabi\/\" file, \"kabi\", \"whitelist\")\n \t    }\n \t}\n     }\n"}
{"commit":"fc87cbef9dcec11506fcee1e8c298f00f3754551","subject":"Regress because of errors.","message":"Regress because of errors.","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -4,8 +4,8 @@\n BEGIN {\n   FS=\"\\t\"\n   pn = 0\n-    str = \"date +%m-%d-%Y\";\n-    str | getline date;\n+    #str = \"date +%m-%d-%Y\";\n+    #str | getline date;\n     #close str;\n }\n $3>date\n@@ -125,7 +125,7 @@\n     }\n \n   printf \"\\n\"\n-  printf \"%s\", date\n-  printf \"\\n\"\n+  #printf \"%s\", date\n+  #printf \"\\n\"\n }\n \n"}
{"commit":"4e5ef638c1da9e2d3534a46f137ee91623fed57e","subject":"Fix comment","message":"Fix comment\n","repos":"jazd\/Business,jazd\/Business,jazd\/Business","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/PostalImportPostgreSQL.awk\n+++ scripts\/PostalImportPostgreSQL.awk\n@@ -1,5 +1,4 @@\n-# Take CSV and turn it into Procedure Calls PorgreSQL\n-# Copyright (c) 2014 Stephen A Jazdzewski\n+# Take TSV and turn it into Procedure Calls PorgreSQL\n BEGIN {\n  FS = OFS = \"\\t\";\n  # $1 Country Code\n"}
{"commit":"af2565b2898c93b4b873062837cd4ffa796f1641","subject":"add html tags","message":"add html tags\n","repos":"amamama\/hairy-octo-sansa,amamama\/hairy-octo-sansa","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- md2slide.awk\n+++ md2slide.awk\n@@ -1,5 +1,6 @@\n function parse_line(line,   ret) {\n \tif (line ~ \/^#[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h1\", parse_line(gensub(\/^#[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)));\n \n \t} else if (line ~ \/^##[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n \t\tret = ret tag(\"h2\", parse_line(gensub(\/^##[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)));\n@@ -77,6 +78,9 @@\n BEGIN {\n \tRS = \"\";\n \tFS = \"\\n\";\n+\tprint \"<!DOCTYPE html>\"\"<html>\"\n+\tprint tag(\"head\",\"<meta charset=\\\"UTF-8\\\">\");\n+\tprint \"<body>\"\n }\n \n {\n@@ -85,4 +89,6 @@\n }\n \n END {\n+\tprint \"<\/body>\"\n+\tprint \"<\/html>\"\n }\n"}
{"commit":"1d1e4e3aa221eeb5b85d23df5eac931a7f75b277","subject":"correcting use getReply","message":"correcting use getReply\n","repos":"2hf\/redis-in-action,josiahcarlson\/redis-in-action,josiahcarlson\/redis-in-action,EasonYi\/redis-in-action,josiahcarlson\/redis-in-action,EasonYi\/redis-in-action,lym\/redis-in-action,josiahcarlson\/redis-in-action,lym\/redis-in-action,fengshao0907\/redis-in-action,lvbaosong\/redis-in-action,paulinohuerta\/redis-in-action,2hf\/redis-in-action,lvbaosong\/redis-in-action,michaelBenin\/redis-in-action,paulinohuerta\/redis-in-action,fengshao0907\/redis-in-action,EasonYi\/redis-in-action,lvbaosong\/redis-in-action,2hf\/redis-in-action,lvbaosong\/redis-in-action,EasonYi\/redis-in-action,2hf\/redis-in-action,josiahcarlson\/redis-in-action,michaelBenin\/redis-in-action,lym\/redis-in-action,michaelBenin\/redis-in-action,josiahcarlson\/redis-in-action,michaelBenin\/redis-in-action,paulinohuerta\/redis-in-action,fengshao0907\/redis-in-action,paulinohuerta\/redis-in-action,EasonYi\/redis-in-action,fengshao0907\/redis-in-action,2hf\/redis-in-action,lym\/redis-in-action,fengshao0907\/redis-in-action,paulinohuerta\/redis-in-action,lvbaosong\/redis-in-action","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gawk\/ch04\/ch04.awk\n+++ gawk\/ch04\/ch04.awk\n@@ -164,6 +164,6 @@\n       zremrangebyrank(p,\"viewed:\"token, 0, -26)\n       zincrby(p,\"viewed:\", -1, item)\n     }\n-    while((getReply(p,REPLY))!=-1 && ERRNO==\"\")\n-       { }\n+    for(ERRNO=\"\" ; ERRNO=\"\" ; var=getReply(p,REPLY)) ;\n+    ERRNO==\"\"\n }\n"}
{"commit":"02ab9f11daa25d593bff3d2424ac9d437f847e8e","subject":"[1] Fixed day one bug in peruse awk script. TESTING","message":"[1] Fixed day one bug in peruse awk script. TESTING\n","repos":"coverclock\/com-diag-hazer,coverclock\/com-diag-hazer,coverclock\/com-diag-hazer","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- Hazer\/bin\/peruse.awk\n+++ Hazer\/bin\/peruse.awk\n@@ -1,9 +1,9 @@\n-# Copyright 2020 Digital Aggregates Corporation, Colorado, USA\n+# Copyright 2021 Digital Aggregates Corporation, Colorado, USA\n # Licensed under the terms in LICENSE.txt\n # Chip Overclock <coverclock@diag.com>\n # https:\/\/github.com\/coverclock\/com-diag-hazer\n-begin   { inp=\"INP [   ]\"; out=\"OUT [   ]\"; arm=1; }\n+BEGIN   { inp=\"INP [  0]\"; out=\"OUT [  0]\"; arm=1; }\n \/^INP \/ { inp=substr($0,0,79); arm=1; next; }\n \/^OUT \/ { out=substr($0,0,79); arm=1; next; }\n         { if (arm!=0) { print inp; print out; arm=0; } print $0; next; }\n-end     { if (arm!=0) { print inp; print out; arm=0; } }\n+END     { if (arm!=0) { print inp; print out; arm=0; } }\n"}
{"commit":"cfa3ff64abd610b27c054fead7988bf37b4ac839","subject":"Simplify ft handling in snip","message":"Simplify ft handling in snip\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/snip.awk\n+++ bin\/snip.awk\n@@ -51,14 +51,8 @@\n   }\n }\n \n-# no ft, skip\n-ft == \"\" {\n-  print\n-  next\n-}\n-\n # exact matches, w\/ ft\n-{\n+ft {\n   result = FIXED[ft \":\" $0]\n   if (result) {\n     print result\n@@ -67,7 +61,7 @@\n }\n \n # prefix matches, w\/ ft\n-{\n+ft {\n   for (k in PREFIX) {\n     if (index(k, ft \":\" $0) == 1) {\n       print PREFIX[k]\n"}
{"commit":"21582467eb810a418f9bd7e032152aba1996fdf9","subject":"pack (unused) structures like pcidevs is","message":"pack (unused) structures like pcidevs is\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/cardbus\/devlist2h.awk\n+++ dev\/cardbus\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.3 2000\/05\/15 06:31:37 niklas Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.4 2001\/01\/27 21:15:27 deraadt Exp $\n #\t$NetBSD: devlist2h.awk,v 1.1 1999\/10\/15 06:07:22 haya Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n@@ -161,28 +161,13 @@\n \n \tprintf(\"\\n\") > dfile\n \n-\tprintf(\"struct cardbus_knowndev cardbus_knowndevs[] = {\\n\") > dfile\n+\tprintf(\"struct cardbus_known_product cardbus_known_product[] = {\\n\") \\\n+\t    > dfile\n \tfor (i = 1; i <= nproducts; i++) {\n \t\tprintf(\"\\t{\\n\") > dfile\n \t\tprintf(\"\\t    CARDBUS_VENDOR_%s, CARDBUS_PRODUCT_%s_%s,\\n\",\n \t\t    products[i, 1], products[i, 1], products[i, 2]) \\\n \t\t    > dfile\n-\t\tprintf(\"\\t    \") > dfile\n-\t\tprintf(\"0\") > dfile\n-\t\tprintf(\",\\n\") > dfile\n-\n-\t\tvendi = vendorindex[products[i, 1]];\n-\t\tprintf(\"\\t    \\\"\") > dfile\n-\t\tj = 3;\n-\t\tneedspace = 0;\n-\t\twhile (vendors[vendi, j] != \"\") {\n-\t\t\tif (needspace)\n-\t\t\t\tprintf(\" \") > dfile\n-\t\t\tprintf(\"%s\", vendors[vendi, j]) > dfile\n-\t\t\tneedspace = 1\n-\t\t\tj++\n-\t\t}\n-\t\tprintf(\"\\\",\\n\") > dfile\n \n \t\tprintf(\"\\t    \\\"\") > dfile\n \t\tj = 4;\n@@ -197,11 +182,13 @@\n \t\tprintf(\"\\\",\\n\") > dfile\n \t\tprintf(\"\\t},\\n\") > dfile\n \t}\n+\tprintf(\"\\t{ 0, 0, NULL }\\n\") > dfile\n+\tprintf(\"};\\n\\n\") > dfile\n+\n+\tprintf(\"struct cardbus_known_vendor cardbus_known_vendors[] = {\\n\") > dfile\n \tfor (i = 1; i <= nvendors; i++) {\n \t\tprintf(\"\\t{\\n\") > dfile\n \t\tprintf(\"\\t    CARDBUS_VENDOR_%s, 0,\\n\", vendors[i, 1]) \\\n-\t\t    > dfile\n-\t\tprintf(\"\\t    CARDBUS_KNOWNDEV_NOPROD,\\n\") \\\n \t\t    > dfile\n \t\tprintf(\"\\t    \\\"\") > dfile\n \t\tj = 3;\n@@ -214,9 +201,8 @@\n \t\t\tj++\n \t\t}\n \t\tprintf(\"\\\",\\n\") > dfile\n-\t\tprintf(\"\\t    NULL,\\n\") > dfile\n \t\tprintf(\"\\t},\\n\") > dfile\n \t}\n-\tprintf(\"\\t{ 0, 0, 0, NULL, NULL, }\\n\") > dfile\n+\tprintf(\"\\t{ 0, 0, NULL }\\n\") > dfile\n \tprintf(\"};\\n\") > dfile\n }\n"}
{"commit":"2e873ea7c273d2620916317ea73c5d3edca3fc72","subject":"new vendor id for Phoenix Technologies","message":"new vendor id for Phoenix Technologies\n\nAppeared with Acer Aspire V5-571's BIOS vendor.\n","repos":"farjump\/fwtr,farjump\/fwtr","returncode":0,"stderr":"","license":"cc0-1.0","lang":"Awk","diff":"--- scripts\/lib\/awk\/fwts\/bios_info.awk\n+++ scripts\/lib\/awk\/fwts\/bios_info.awk\n@@ -106,6 +106,10 @@\n   vendor = tolower(vendor);\n \n   switch (vendor) {\n+    # Phoenix Technologies Ltd.\n+    case \/phoenix\/:\n+      return \"phoenix\"\n+\n     # Intel Corp.\n     case \/intel\/:\n       return \"intel\";\n"}
{"commit":"390bcd25ca1c04f808b484f77fe3ce9885737fd1","subject":"Drop now hidden ioctl(2) operations for NetBSD","message":"Drop now hidden ioctl(2) operations for NetBSD\n\nPOWER_IOC_GET_TYPE_WITH_LOSSAGE is no longer accessible from userland.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@345572 91177308-0d34-0410-b5e6-96231b3b80d8\n","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- utils\/generate_netbsd_ioctls.awk\n+++ utils\/generate_netbsd_ioctls.awk\n@@ -314,6 +314,7 @@\n       $0 ~ \/PRIQ_IF_DETACH\/ ||\n       $0 ~ \/PRIQ_ENABLE\/ ||\n       $0 ~ \/WFQ_IF_ATTACH\/ ||\n+      $0 ~ \/POWER_IOC_GET_TYPE_WITH_LOSSAGE\/ ||\n       $0 ~ \/HFSC_DEL_FILTER\/) {\n     # There are entries with duplicate codes.. disable the less used ones\n     next\n@@ -345,17 +346,12 @@\n \n   # This !NONE check allows to skip some unparsable entries\n   if (ioctl_mode[ioctl_table_max] != \"NONE\") {\n-    # special cases first\n-    if ($0 ~ \/POWER_IOC_GET_TYPE_WITH_LOSSAGE\/) {\n-      ioctl_type[ioctl_table_max] = \"sizeof(uptr)\"\n-    } else {\n-      n = split($0, a, \",\")\n-      if (n == 3) {\n-        gsub(\/^[ ]+\/, \"\", a[3])\n-        match(a[3], \/[a-zA-Z0-9_* ]+\/)\n-        type = get_type(substr(a[3], 0, RLENGTH))\n-        ioctl_type[ioctl_table_max] = type\n-      }\n+    n = split($0, a, \",\")\n+    if (n == 3) {\n+      gsub(\/^[ ]+\/, \"\", a[3])\n+      match(a[3], \/[a-zA-Z0-9_* ]+\/)\n+      type = get_type(substr(a[3], 0, RLENGTH))\n+      ioctl_type[ioctl_table_max] = type\n     }\n   }\n \n"}
{"commit":"e7b1cb8da8faa1ba64a34fc1d057c26ed5ef1ab5","subject":"Drop unused functions.","message":"Drop unused functions.\n","repos":"jessealama\/weierstrass","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- src\/cloudfront.awk\n+++ src\/cloudfront.awk\n@@ -1,21 +1,3 @@\n-function printUrlQueryString(queryString, j)\n-{\n-    split(queryString, pairs, \"&\")\n-    for (j = 1; j < len; ++j) {\n-        split(pairs[j], keyValue, \"=\")\n-        k = keyValue[1]\n-        v = keyValue[2]\n-        result[k] = v\n-    }\n-    return result\n-}\n-\n-function base64Decode(thing)\n-{\n-  \"echo \"$thing\" | base64 --decode\" | getline x\n-  return x\n-}\n-\n function urlDecode(url, i) {\n     for (i = 0x20; i < 0x40; ++i) {\n         repl = sprintf(\"%c\", i);\n"}
{"commit":"3695847a69165e2452f153a455901dd4d62e95ce","subject":"-discontinuity mode","message":"-discontinuity mode\n","repos":"kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- packager\/bin\/anal_nginx_log_packager.awk\n+++ packager\/bin\/anal_nginx_log_packager.awk\n@@ -89,7 +89,7 @@\n     if(segment_index){\n         if(segment_index == tmp1 - 1){\n             if(segment_start_time+segment_duration != tmp2){\n-                printf (\" chunk %d adjucent chunks  differ: diff: %d prev={ %d  %d}  cur={%d %d}\",tmp1,\n+                printf (\" chunk %d adjucent chunks  differ: diff: %d prev={ %d  %d}  cur={%d %d}\\n\",tmp1,\n                 (tmp2-segment_start_time+segment_duration),\n                 segment_start_time,\n                 segment_duration,\n"}
{"commit":"59756f4d87e893ffb536cabe1f90ac3efdb1f322","subject":"Enable the generated fzn-python file to take different restart parameters.","message":"Enable the generated fzn-python file to take different restart parameters.\n","repos":"JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -265,7 +265,7 @@\n \tprint \"model, output_vars = get_model()\";\n \tprint output_vars \" = output_vars\";\n \tprint \"solvers = ['Mistral', 'SCIP', 'MiniSat', 'Toulbar2', 'Gurobi']\";\n-\tprint \"default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1)])\";\n+\tprint \"default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1), ('restart', GEOMETRIC), ('base', 256), ('factor', 1.3)])\";\n \tprint \"param = input(default)\";\n \tprint \"solver = model.load(param['solver'])\";\n \tprint \"solver.setVerbosity(param['verbose'])\";\n@@ -274,7 +274,10 @@\n \tprint \"if param['solver'] == 'Gurobi':\";\n \tprint \"    solver.setThreadCount(param['threads'])\";\n \tprint \"if param['solver'] == 'Mistral':\";\n-\tprint \"    solver.solveAndRestart(GEOMETRIC, 256, 1.3)\";\n+\tprint \"    # LUBY, GEOMETRIC = 0, 1\"\n+\tprint \"    # print 'running %d %d %.1f' % (param['restart'], param['base'], param['factor'])\";\n+\t#print \"    solver.solveAndRestart(GEOMETRIC, 256, 1.3)\";\n+\tprint \"    solver.solveAndRestart(param['restart'], param['base'], param['factor'])\";\n \tprint \"else:\";\n \tprint \"    solver.solve()\";\n \tprint \"if solver.is_sat():\"\n@@ -301,6 +304,7 @@\n \tprint \"    print '=====UNKNOWN====='\"\n \tprint \"print '% SolveTime', solver.getTime()\";\n \tprint \"print '% Nodes', solver.getNodes()\";\n+\tprint \"print '% Failures', solver.getFailures()\";\n \tif (objective) print \"if solver.is_sat(): print '% Objective', (solver.getOptimum() if param['solver'] == 'Toulbar2' else \" objective \".get_value())\";\n \t}\n }\n"}
{"commit":"fcf7c4f98cd90ce79634d1feddd356f3513e3913","subject":"fix stringize.awk to work with gawk-4.0.0 and gawk-3.1.8 - fix suggested by arnold@skeeve.com","message":"fix stringize.awk to work with gawk-4.0.0 and gawk-3.1.8 - fix suggested by arnold@skeeve.com\n","repos":"pixelglow\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- awk\/stringize.awk\n+++ awk\/stringize.awk\n@@ -11,5 +11,5 @@\n \n BEGIN\t{ s = ARGV[1]; gsub (\".*\/\", \"\", s); gsub(\"\\\\.\",\"_\",s); printf(\"const char *%s[] = {\\n\",s); }\n \/^#\/\t{ print $0; next; }\n-\t\t{ gsub(\"\\\\\\\\\",\"\\\\\\\\\",$0); printf(\"\\\"%s\\\",\\n\",$0); }\n+\t\t{ gsub(\"\\\\\\\\\",\"&&\",$0); printf(\"\\\"%s\\\",\\n\",$0); }\n END\t\t{ printf(\"(char*)0 };\\n\"); }\n"}
{"commit":"03277a42ccbd938103277ff544534f9a4851294a","subject":"Put decent prefixes in the symbolic constants for GIO IDs in the generated files, for them to become useful.","message":"Put decent prefixes in the symbolic constants for GIO IDs in the generated\nfiles, for them to become useful.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- arch\/sgi\/gio\/devlist2h.awk\n+++ arch\/sgi\/gio\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.1 2012\/03\/28 20:44:23 miod Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.2 2012\/04\/18 17:18:10 miod Exp $\n #\t$NetBSD: devlist2h.awk,v 1.5 2008\/05\/02 18:11:05 martin Exp $\n #\n # Copyright (c) 1998 The NetBSD Foundation, Inc.\n@@ -140,10 +140,11 @@\n \n \tprintf(\"\\n\") > hfile\n \tfor (i = 1; i <= nproducts; i++) {\n-\t\tprintf(\"#define %s\\t%s\\t\/* %s *\/\\n\", products[i, 1], products[i,2], products[i, 3]) > hfile\n+\t\tprintf(\"#define GIO_PRODUCT_%s\\t%s\\t\/* %s *\/\\n\",\n+\t\t    products[i, 1], products[i,2], products[i, 3]) > hfile\n \n-\t\tprintf(\"\\t{ %s, \\\"%s\\\" },\\n\",\n-\t\t    products[i, 2], products[i, 3]) > dfile\n+\t\tprintf(\"\\t{ GIO_PRODUCT_%s, \\\"%s\\\" },\\n\",\n+\t\t    products[i, 1], products[i, 3]) > dfile\n \t}\n \tprintf(\"\\t{ 0, NULL }\\n\") > dfile\n \tprintf(\"};\\n\") > dfile\n"}
{"commit":"019b3ebe0c19119beeb33c1b77cd72aba9642985","subject":"Fix a problem with recent wireshark versions.  Those seem to add a column after the frame number.","message":"Fix a problem with recent wireshark versions.  Those seem to add\na column after the frame number.\n\n\n\ngit-svn-id: 392d0e5ce652024192c571322d40dcc23d6d83b0@120 8a65f31f-a56f-4bd6-98e8-2755f64920ec\n","repos":"pol51\/callflow,pol51\/callflow","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/long2html.awk\n+++ scripts\/long2html.awk\n@@ -7,7 +7,7 @@\n #  printf \"<pre>\\n\" >filename;\n #  discard = 0;\n #}\n-\/^Frame [0-9]+ (.*)\/ {\n+\/^Frame [0-9]+: (.*)\/ {\n   # New frame, closing <pre> and html> from previous frame before compute new filename\n   if (first==0){\n     print \"<\/pre><\/html>\" >filename;\n@@ -15,7 +15,9 @@\n   else{\n     first=0;\n   }\n-  filename = destDir \"\/frames\/Frame\" $2 \".html\";\n+  nbr = $2\n+  sub (\":\", \"\", nbr)\n+  filename = destDir \"\/frames\/Frame\" nbr \".html\";\n   printf \"<html>\\n\" >filename;\n   printf \"<pre>\\n\" >filename;\n   print $0 >filename;\n"}
{"commit":"112eea5338398ec52ed8832a8e98e299a28c2868","subject":"Substitute \"[:space:]\" with the character constants it expands to. This was a silent 'failure' when using Bell-Labs awk.","message":"Substitute \"[:space:]\" with the character constants it expands to.\nThis was a silent 'failure' when using Bell-Labs awk.\n\nSubmitted by:\tDavid Wolfskill <david@catwhisker.org>\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/boot\/ficl\/softwords\/softcore.awk\n+++ sys\/boot\/ficl\/softwords\/softcore.awk\n@@ -6,9 +6,6 @@\n #\n # 02-oct-1999:  Cleaned up awk slightly; added some additional logic\n #               suggested by dcs to compress the stored forth program.\n-#\n-# Note! This script uses strftime() which is a gawk-ism, and the\n-# POSIX [[:space:]] character class.\n #\n # $FreeBSD$\n \n@@ -37,7 +34,7 @@\n {\n   gsub(\/\\t\/, \"    \");\t\t\t# replace each tab with 4 spaces\n   gsub(\/\\\"\/, \"\\\\\\\"\");\t\t\t# escape quotes\n-  gsub(\/\\\\[[:space:]]+$\/, \"\");\t\t# toss empty comments\n+  gsub(\/\\\\[ \t]+$\/, \"\");\t\t# toss empty comments\n }\n \n # strip out empty lines\n@@ -47,9 +44,9 @@\n }\n \n # emit \/ ** lines as multi-line C comments\n-\/^\\\\[[:space:]]\\*\\*\/ \\\n+\/^\\\\[ \t]\\*\\*\/ \\\n {\n-  sub(\/^\\\\[[:space:]]\/, \"\");\n+  sub(\/^\\\\[ \t]\/, \"\");\n   if (commenting == 0) printf \"\/*\\n\";\n   printf \"%s\\n\", $0;\n   commenting = 1;\n@@ -57,7 +54,7 @@\n }\n \n # strip blank lines\n-\/^[[:space:]]*$\/ \\\n+\/^[ \t]*$\/ \\\n {\n   next;\n }\n@@ -70,10 +67,10 @@\n }\n \n # pass commented preprocessor directives\n-\/^\\\\[[:space:]]#\/ \\\n+\/^\\\\[ \t]#\/ \\\n {\n   if (commenting) end_comments();\n-  sub(\/^\\\\[[:space:]]\/, \"\");\n+  sub(\/^\\\\[ \t]\/, \"\");\n   printf \"%s\\n\", $0;\n   next;\n }\n@@ -86,31 +83,31 @@\n }\n \n # lop off trailing \\ comments\n-\/\\\\[[:space:]]+\/ \\\n+\/\\\\[ \t]+\/ \\\n {\n-  sub(\/\\\\[[:space:]]+.*$\/, \"\");\n+  sub(\/\\\\[ \t]+.*$\/, \"\");\n }\n \n # expunge ( ) comments\n-\/[[:space:]]+\\([[:space:]][^)]*\\)\/ \\\n+\/[ \t]+\\([ \t][^)]*\\)\/ \\\n {\n-  sub(\/[[:space:]]+\\([[:space:]][^)]*\\)\/, \"\");\n+  sub(\/[ \t]+\\([ \t][^)]*\\)\/, \"\");\n }\n \n # remove leading spaces\n-\/^[[:space:]]+\/ \\\n+\/^[ \t]+\/ \\\n {\n-  sub(\/^[[:space:]]+\/, \"\");\n+  sub(\/^[ \t]+\/, \"\");\n }\n \n # removing trailing spaces\n-\/[[:space:]]+$\/ \\\n+\/[ \t]+$\/ \\\n {\n-  sub(\/[[:space:]]+$\/, \"\");\n+  sub(\/[ \t]+$\/, \"\");\n }\n \n # strip out empty lines again (preceding rules may have generated some)\n-\/^[[:space:]]*$\/ \\\n+\/^[ \t]*$\/ \\\n {\n   if (commenting) end_comments();\n   next;\n"}
{"commit":"104201a6c3c08e780f2757f3e3e525bc5ea7598d","subject":"Fix world-breaking bug, add $FreeBSD$ tag.","message":"Fix world-breaking bug, add $FreeBSD$ tag.\n\nThis happened to be my first \"for real\" broken world. I had broken\nit once before, but nobody noticed, so it didn't count.\n\nSo, how do I get the \"I broke world and all I got was the lousy t-shirt\"\nt-shirt?\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/boot\/ficl\/softwords\/softcore.awk\n+++ sys\/boot\/ficl\/softwords\/softcore.awk\n@@ -1,6 +1,7 @@\n #!\/usr\/bin\/awk -f\n # Convert forth source files to a giant C string\n # Joe Abley <jabley@patho.gen.nz>, 12 January 1999\n+# $FreeBSD$\n \n BEGIN \\\n {\n@@ -91,6 +92,6 @@\n   printf \"    \\\"quit \\\";\\n\";\n   printf \"\\n\\nvoid ficlCompileSoftCore(FICL_VM *pVM)\\n\";\n   printf \"{\\n\";\n-  printf \"    assert(ficlExec(pVM, softWords, -1) != VM_ERREXIT);\\n\";\n+  printf \"    assert(ficlExec(pVM, softWords) != VM_ERREXIT);\\n\";\n   printf \"}\\n\";\n }\n"}
{"commit":"11e41c0eef91d9b8fdbd8fb25795be915b29414f","subject":"Check named_enable rather than just named_flags. PR:\t\t3893 (sort of)","message":"Check named_enable rather than just named_flags.\nPR:\t\t3893 (sort of)\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- usr.sbin\/ndc\/ndcedit.awk\n+++ usr.sbin\/ndc\/ndcedit.awk\n@@ -1,4 +1,4 @@\n-# $Id: ndcedit.awk,v 1.4 1997\/02\/22 16:08:19 peter Exp $\n+# $Id: ndcedit.awk,v 1.5 1997\/05\/27 07:19:57 jkh Exp $\n NR == 3 {\n \tprint \"#\"\n \tprint \"# This file is generated automatically, do not edit it here!\"\n@@ -13,8 +13,8 @@\n }\n {\n \tif ($1 == \"named\") {\n-\t\tprintf \"\\t\\t# $namedflags is imported from \/etc\/rc.conf\\n\"\n-\t\tprintf \"\\t\\tif [ \\\"X${named_flags}\\\" != X\\\"NO\\\" ]; then\\n\"\n+\t\tprintf \"\\t\\t# $named_flags is imported from \/etc\/rc.conf\\n\"\n+\t\tprintf \"\\t\\tif [ \\\"X${named_enable}\\\" = X\\\"YES\\\" ]; then\\n\"\n \t\tprintf \"\\t\\t\\tnamed ${named_flags} && {\\n\"\n \t\tgetline\n \t\tprintf \"\\t%s\\n\", $0\n"}
{"commit":"c745816a5019abce23e3a6f5a2bcaa28446bf335","subject":"get @BASE prefix working","message":"get @BASE prefix working\n","repos":"TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -19,7 +19,7 @@\n \n ##########################################################\n # remove first and last chars from input string <>\n-function trim(str){ \n+function trim(str){\n \treturn substr(str,2,length(str)-2)\n }\n \n@@ -27,7 +27,7 @@\n # remove final(ish) element in paths with various delimiters\n # this leaves the namespace of a removed identifier\n \n-# this may need to be called more than once since \n+# this may need to be called more than once since\n # some identifiers may have embedded delimiters\n function stripid(uri){\n \t# <_:blanknode> are not allowed in ntriples (but may happen anyway)\n@@ -44,13 +44,14 @@\n \t\t\tdelim[char] = RLENGTH\n \t\t}\n \t}\n-\tif(max<=0) # we don't know what it is, a literal perhaps or uri fragment\n+\tif(max<=0 || char==\"\")\n+\t\t# we don't know what it is, a literal perhaps or uri fragment\n \t\treturn uri\n-\telse \n+\telse\n \t\treturn substr(uri,1,delim[char])  # the probably truncated uri\n }\n \n-# keep underscore, letters & numbers \n+# keep underscore, letters & numbers\n # change the rest to (a single) underscore sans leading & trailing\n # this passes valid node labels from dot's perspective\n function simplify(str){\n@@ -66,15 +67,14 @@\n \t# shorten till longest uri in curi map is found (or not)\n \twhile(!(u in prefix) && (0 < length(u)))\n \t\tu = stripid(substr(u,1,length(u)-1))\n-\n \tif(u in prefix)\n \t\treturn prefix[u]\n-\telse \n+\telse\n \t\tfor(ex in exception){\n-\t\t\tif(0 < match(uri, ex))\n-\t\t\t\treturn exception[substr(uri, 1, RLENGTH)]\n+\t\t\tif((0 < match(uri, ex)) && exception[substr(uri,1,RLENGTH)])\n+\t\t\t\treturn exception[substr(uri,1,RLENGTH)]\n \t\t}\n-\t\treturn \"___\" simplify(uri) \n+\t\treturn \"___\" simplify(uri)\n }\n \n # get the final (incl fragment identifier) portion of a slashed path\n@@ -88,7 +88,10 @@\n }\n \n BEGIN{\n-\tprefix[\"BNODE\"] = \"BNODE\"  # is a fixed point\n+\tprefix[\"BNODE\"]=\"BNODE\"  # is a fixed point\n+\tprefix[\"https:\/\/monarchinitiative.org\/_\"]=\"BNODE\"\n+\t# just until skolemized bnodes get in the curie map?\n+\texception[\"https:\/\/monarchinitiative.org\/.well-known\/genid\"]=\"BNODE\"\n \t# revisit if exceptions are still necessary\n \texception[\"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#\"]=\"rdf\"\n \texception[\"http:\/\/www.w3.org\/2000\/01\/rdf-schema#\"]=\"rdfs\"\n@@ -97,10 +100,9 @@\n \texception[\"https:\/\/www.mousephenotype.org\"]=\"IMPC\"\n \t# in panther\n \texception[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n-\t# just until skolemized bnodes get in the curie map?\n-\texception[\"https:\/\/monarchinitiave.org\/.well-known\/genid\"]=\"BNODE\"\n \t# till all non httpS: are purged\n-\texception[\"http:\/\/monarchinitiave.org\"]=\"MONARCH\"\n+\texception[\"http:\/\/monarchinitiative.org\/\"]=\"BASE\"\n+\texception[\"https:\/\/monarchinitiative.org\/MONARCH_\"]=\"MONARCH\"\n }\n \n # main loop\n@@ -110,6 +112,8 @@\n # (FNR == NR) && \/^'[^']*' *: 'http[^']*'.*\/ { # loosing some?\n (FNR == NR) && \/^'.*\/ {\n \tsplit($0, arr, \"'\")\n+\tif(arr[2]==\"\")\n+\t\tarr[2]=\"BASE\"\n \tprefix[arr[4]]=arr[2]\n }\n # process the ntriple file(s)  which are not the first file\n@@ -153,6 +157,5 @@\n \tdatestamp = strftime(\"%Y%m%d\", systime())\n \tprint \"label=\\\"\" substr(title,1,length(title)-3) \" (\" datestamp \")\\\";\"\n \tprint \"}\"\n-\n }\n \n"}
{"commit":"99d5691c6f36c62699b89a62db09ac29f852d4b2","subject":"ahrf.awk: Rework paragraph. Each word is now handled separately (was only managing lines before). It is much more efficient and allow us more flexibility.","message":"ahrf.awk: Rework paragraph. Each word is now handled\nseparately (was only managing lines before). It is\nmuch more efficient and allow us more flexibility.\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -28,15 +28,21 @@\n # Paragraph\n \/^[A-Za-z0-9_(\"]+\/ {\n \tprintf(\"<p>\")\n-\tfor (p=1; p<NF; p++) {\n-\t\tif ($p ~ \/ +$\/) {\n-\t\t\tgsub(\/ +$\/,\"\",$p)\n-\t\t\tprintf(\"%s<br>\\n\", $p)\n-\t\t} else {\n-\t\t\tprintf(\"%s\\n\", $p)\n+\tfor (p=1; p<=NF; p++) {\n+\t\t# Line break\n+\t\tgsub(\/ +$\/,\"<br>\\n\",$p)\n+\t\tx = split($p,word,\" \")\n+\t\tfor (w=1; w<=x; w++) {\n+\t\t\tprintf(\"%s\", word[w])\n+\t\t\t# If EOL is not reached, add a space\n+\t\t\tif (w != x)\n+\t\t\t\tprintf(\" \")\n \t\t}\n+\t\t# If it's the last paragraph line, close the paragraph\n+\t\tif (p == NF)\n+\t\t\tprintf(\"<\/p>\")\n+\t\tprintf(\"\\n\")\n \t}\n-\tprintf(\"%s<\/p>\\n\", $p)\n \tnext\n }\n \n"}
{"commit":"75042934594417a8625368627d0d1aa7e0d24bef","subject":"prefer LC_CTYPE to LANG * fix Debian#762138 (https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=762138)","message":"prefer LC_CTYPE to LANG\n* fix Debian#762138 (https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=762138)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -520,8 +520,12 @@\n \n # Initialize `UserLang`.\n function initUserLang() {\n-    UserLang = ENVIRON[\"LANG\"] ? parseLang(ENVIRON[\"LANG\"]) : \"en\"\n-\n-    if (!(ENVIRON[\"LANG\"] ~ \/UTF-8$\/))\n-        w(\"[WARNING] Your codeset of locale (\" ENVIRON[\"LANG\"] \") is not UTF-8. You have been warned.\")\n-}\n+    UserLang = ENVIRON[\"LC_CTYPE\"] ?\n+        parseLang(ENVIRON[\"LC_CTYPE\"]) :\n+        (ENVIRON[\"LANG\"] ?\n+         parseLang(ENVIRON[\"LANG\"]) :\n+         \"en\")\n+\n+    if (ENVIRON[\"LANG\"] !~ \/UTF-8$\/ && ENVIRON[\"LC_CTYPE\"] !~ \/UTF-8$\/)\n+        w(\"[WARNING] Your locale codeset (\" ENVIRON[\"LANG\"] \") is not UTF-8. You have been warned.\")\n+}\n"}
{"commit":"9d2880890994d127f57602671b83aee82cd0ea0c","subject":"get terminal columns if COLUMNS not found","message":"get terminal columns if COLUMNS not found\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -31,7 +31,12 @@\n     Option[\"debug\"] = 0\n \n     Option[\"verbose\"] = 1\n-    Option[\"width\"] = ENVIRON[\"COLUMNS\"] ? ENVIRON[\"COLUMNS\"] : 64\n+    if (ENVIRON[\"COLUMNS\"])\n+        Option[\"width\"] = ENVIRON[\"COLUMNS\"]\n+    else {\n+        \"tput cols 2>\/dev\/null\" |& getline Option[\"width\"]\n+        if (!Option[\"width\"]) Option[\"width\"] = 64\n+    }\n \n     Option[\"browser\"] = ENVIRON[\"BROWSER\"]\n \n"}
{"commit":"b2a9bbfb8e426a904e5363c9a31ddf83b1bba441","subject":"Do not increment stale count to infinity","message":"Do not increment stale count to infinity\n","repos":"KnCMiner\/knc-asic,KnCMiner\/knc-asic,KnCMiner\/knc-asic","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- RPi_system\/asic_data_cache.awk\n+++ RPi_system\/asic_data_cache.awk\n@@ -115,6 +115,7 @@\n       asic_type_cnt[asic] = 0;\n     } else {\n       if (++asic_type_cnt[asic] > STALE_COUNT) {\n+        asic_type_cnt[asic] = STALE_COUNT + 1;\n         type = \"OFF\";\n       } else {\n         type = asic_type_cache[asic];\n@@ -125,6 +126,7 @@\n       asic_temp_cnt[asic] = 0;\n     } else {\n       if (++asic_temp_cnt[asic] > STALE_COUNT) {\n+        asic_temp_cnt[asic] = STALE_COUNT + 1;\n         temp = 0.0;\n       } else {\n         temp = asic_temp_cache[asic];\n@@ -136,6 +138,7 @@\n         asic_freq_cnt[asic, die] = 0;\n       } else {\n         if (++asic_freq_cnt[asic, die] > STALE_COUNT) {\n+          asic_freq_cnt[asic, die] = STALE_COUNT + 1;\n           freq[die] = 0.0;\n         } else {\n           freq[die] = asic_freq_cache[asic, die];\n@@ -146,6 +149,7 @@\n         asic_volt_cnt[asic, die] = 0;\n       } else {\n         if (++asic_volt_cnt[asic, die] > STALE_COUNT) {\n+          asic_volt_cnt[asic, die] = STALE_COUNT + 1;\n           volt[die] = 0.0;\n         } else {\n           volt[die] = asic_volt_cache[asic, die];\n@@ -158,6 +162,7 @@\n \tasic_dcdctemp_cnt[asic, dcdc] = 0;\n       } else {\n         if (++asic_dcdctemp_cnt[asic, dcdc] > STALE_COUNT) {\n+          asic_dcdctemp_cnt[asic, dcdc] = STALE_COUNT + 1;\n           dcdctemp[dcdc] = 0.0;\n         } else {\n           dcdctemp[dcdc] = asic_dcdctemp_cache[asic, dcdc];\n@@ -168,6 +173,7 @@\n \tasic_dcdcVout_cnt[asic, dcdc] = 0;\n       } else {\n         if (++asic_dcdcVout_cnt[asic, dcdc] > STALE_COUNT) {\n+          asic_dcdcVout_cnt[asic, dcdc] = STALE_COUNT + 1;\n           dcdcVout[dcdc] = 0.0;\n         } else {\n           dcdcVout[dcdc] = asic_dcdcVout_cache[asic, dcdc];\n@@ -178,6 +184,7 @@\n \tasic_dcdcIout_cnt[asic, dcdc] = 0;\n       } else {\n         if (++asic_dcdcIout_cnt[asic, dcdc] > STALE_COUNT) {\n+          asic_dcdcIout_cnt[asic, dcdc] = STALE_COUNT + 1;\n           dcdcIout[dcdc] = 0.0;\n         } else {\n           dcdcIout[dcdc] = asic_dcdcIout_cache[asic, dcdc];\n"}
{"commit":"c5f0744006e8dff78852cffae64837addff8c26b","subject":"Translators\/GoogleTranslate: switch to fallback API, fix (partly) #123","message":"Translators\/GoogleTranslate: switch to fallback API, fix (partly) #123\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -48,21 +48,21 @@\n \n function googleInit() {\n     HttpProtocol = \"http:\/\/\"\n-    HttpHost = \"translate.google.com\"\n+    HttpHost = \"translate.googleapis.com\"\n     HttpPort = 80\n }\n \n function googleRequestUrl(text, sl, tl, hl) {\n-    return HttpPathPrefix \"\/translate_a\/single?client=t\"                \\\n+    return HttpPathPrefix \"\/translate_a\/single?client=gtx\"              \\\n         \"&ie=UTF-8&oe=UTF-8\"                                            \\\n         \"&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at\"  \\\n         \"&sl=\" sl \"&tl=\" tl \"&hl=\" hl                                   \\\n-        \"&tk=\" genTK(text) \"&q=\" preprocess(text)\n+        \"&q=\" preprocess(text)\n }\n \n function googleTTSUrl(text, tl) {\n-    return HttpProtocol HttpHost \"\/translate_tts?ie=UTF-8&client=t\"\t\\\n-        \"&tl=\" tl \"&tk=\" genTK(text) \"&q=\" preprocess(text)\n+    return HttpProtocol HttpHost \"\/translate_tts?ie=UTF-8&client=gtx\"\t\\\n+        \"&tl=\" tl \"&q=\" preprocess(text)\n }\n \n function googleWebTranslateUrl(uri, sl, tl, hl) {\n"}
{"commit":"b0473d5fc5dd02d61590c50d49423bd9b5de8831","subject":"Update filter_en_uk.awk","message":"Update filter_en_uk.awk\n\nAdded spacing using a JavaScript online service I hope nothing breaks","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- filter_en_uk.awk\n+++ filter_en_uk.awk\n@@ -1,45 +1,109 @@\n BEGIN {}\n \/^macro:[:alpha: ]+\/ {\n-    macroLine=\"\"\n-    # I check every field from the second one (the first one is \"macro:\")\n-    for(x=2;x<=NF;x++){\n-        do{ \n+    macroLine = \"\"\n+    # I check every field from the second one(the first one is \"macro:\")\n+    for (x = 2; x <= NF; x++) {\n+        do {\n             # I found a keys being kept pressed or just released, I print it as it is\n             # This works because (probably) I don't want to keep pressed keys that need to be translated such as symbols\n-            if(length($x)>1&&(substr($x,1,1)==\"+\"||substr($x,1,1)==\"-\")){macroLine=macroLine $x; break;}\n-            # An upper-case key, I need to press shift to do it. Using the !=toupper I avoid triggering things like \",\"==tolower(\",\") and \",\"==toupper(\",\") \n-            if($x!=tolower($x)){macroLine=macroLine \"+lshift,\" \"+\" tolower($x) \",-\" tolower($x) \",-lshift\"; break;}\n-            if($x==\"`\"){ macroLine=macroLine \"+grave,-grave\"; break;}\n-            if($x==\"-\"){ macroLine=macroLine \"+minus,-minus\"; break;}\n-            if($x==\"[\"){ macroLine=macroLine \"+lbrace,-lbrace\"; break;}\n-            if($x==\"]\"){ macroLine=macroLine \"+rbrace,-rbrace\"; break;}\n-            if($x==\";\"){ macroLine=macroLine \"+colon,-colon\"; break;}\n-            if($x==\"'\"){ macroLine=macroLine \"+quote,-quote\"; break;}\n-            if($x==\"\\\\\"){ macroLine=macroLine \"+bslash_iso,-bslash_iso\"; break;}\n-            if($x==\",\"){ macroLine=macroLine \"+comma,-comma\"; break;}\n-            if($x==\".\"){ macroLine=macroLine \"+dot,-dot\"; break;}\n-            if($x==\"#\"){ macroLine=macroLine \"+hash,-hash\"; break;}\n-            if($x==\"=\"){ macroLine=macroLine \"+equal,-equal\"; break;}\n-            if($x==\"\/\"){ macroLine=macroLine \"+slash,-slash\"; break;}\n-            #if($x==\"\/\"){ macroLine=macroLine \"+numslash,-numslash\"; break;}\n-            #if($x==\"!\"){ macroLine=macroLine \"+exclam,-exclam\"; break;}\n-            if($x==\"!\"){ macroLine=macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+1,-1,-u,-lshift,-lctrl\"; break;}\n-            if($x==\"?\"){ macroLine=macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+3,-3,+f,-f,-u,-lshift,-lctrl\"; break;}\n-            if($x==\"(\"){ macroLine=macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+8,-8,-u,-lshift,-lctrl\"; break;}\n-            if($x==\")\"){ macroLine=macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+9,-9,-u,-lshift,-lctrl\"; break;}\n-            if($x==\"\\\"\"){ macroLine=macroLine \"+lctrl,+lshift,+u,+2,-2,+0,-0,+1,-1,+c,-c,-u,-lshift,-lctrl\"; break;}\n+            if (length($x) > 1 && (substr($x, 1, 1) == \"+\" || substr($x, 1, 1) == \"-\")) {\n+                macroLine = macroLine $x;\n+                break;\n+            }\n+            # An upper-case key, I need to press shift to do it. Using the != toupper I avoid triggering things like \",\" == tolower(\",\") and \",\" == toupper(\",\")\n+            if ($x != tolower($x)) {\n+                macroLine = macroLine \"+lshift,+\" tolower($x) \",-\" tolower($x) \",-lshift\";\n+                break;\n+            }\n+            if ($x == \"`\") {\n+                macroLine = macroLine \"+grave,-grave\";\n+                break;\n+            }\n+            if ($x == \"-\") {\n+                macroLine = macroLine \"+minus,-minus\";\n+                break;\n+            }\n+            if ($x == \"[\") {\n+                macroLine = macroLine \"+lbrace,-lbrace\";\n+                break;\n+            }\n+            if ($x == \"]\") {\n+                macroLine = macroLine \"+rbrace,-rbrace\";\n+                break;\n+            }\n+            if ($x == \";\") {\n+                macroLine = macroLine \"+colon,-colon\";\n+                break;\n+            }\n+            if ($x == \"'\") {\n+                macroLine = macroLine \"+quote,-quote\";\n+                break;\n+            }\n+            if ($x == \"\\\\\") {\n+                macroLine = macroLine \"+bslash_iso,-bslash_iso\";\n+                break;\n+            }\n+            if ($x == \",\") {\n+                macroLine = macroLine \"+comma,-comma\";\n+                break;\n+            }\n+            if ($x == \".\") {\n+                macroLine = macroLine \"+dot,-dot\";\n+                break;\n+            }\n+            if ($x == \"#\") {\n+                macroLine = macroLine \"+hash,-hash\";\n+                break;\n+            }\n+            if ($x == \"=\") {\n+                macroLine = macroLine \"+equal,-equal\";\n+                break;\n+            }\n+            if ($x == \"\/\") {\n+                macroLine = macroLine \"+slash,-slash\";\n+                break;\n+            }#\n+            if ($x == \"\/\") {\n+                macroLine = macroLine \"+numslash,-numslash\";\n+                break;\n+            }#\n+            if ($x == \"!\") {\n+                macroLine = macroLine \"+exclam,-exclam\";\n+                break;\n+            }\n+            if ($x == \"!\") {\n+                macroLine = macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+1,-1,-u,-lshift,-lctrl\";\n+                break;\n+            }\n+            if ($x == \"?\") {\n+                macroLine = macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+3,-3,+f,-f,-u,-lshift,-lctrl\";\n+                break;\n+            }\n+            if ($x == \"(\") {\n+                macroLine = macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+8,-8,-u,-lshift,-lctrl\";\n+                break;\n+            }\n+            if ($x == \")\") {\n+                macroLine = macroLine \"+lctrl,+lshift,+u,+0,-0,+0,-0,+2,-2,+9,-9,-u,-lshift,-lctrl\";\n+                break;\n+            }\n+            if ($x == \"\\\"\") {\n+                macroLine = macroLine \"+lctrl,+lshift,+u,+2,-2,+0,-0,+1,-1,+c,-c,-u,-lshift,-lctrl\";\n+                break;\n+            }\n \n             # A normal key, press and release it, catches all the remaining cases\n-            macroLine=macroLine \"+\" $x \",-\" $x\n+            macroLine = macroLine \"+\" $x \",-\" $x\n         }\n-        while(0)  # 0 means it runs only once instead of endlessly looping in case of errors\n-\n-        if(x<NF)\n-        # I add a comma between this key and the next unless I'm at the last one\n-            macroLine=macroLine \",\"\n+        while (0)\n+        # 0 means it runs only once instead of endlessly looping in case oferrors\n+        \n+        # I add a comma between this key and the next unless I 'm at the last one\n+        if (x < NF)\n+            macroLine = macroLine \",\"\n         else\n-        # sending the macro to the output\n+            # Finished reading the macro, sending it macro to the output\n             print macroLine\n-        }\n+    }\n }\n END {}\n"}
{"commit":"24c443ab0e2ea75946177216f8ad703b86b1d5b6","subject":"fix gawk warning","message":"fix gawk warning","repos":"minad\/omega,cartazio\/omega","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/slidy.awk\n+++ tools\/slidy.awk\n@@ -3,7 +3,7 @@\n }\n \n {\n-    sub(\/<title>Haskell: Functional Programming, Solid Code, Big Data<\\\/title>\/, \"<title>Intro \\\"Functional Programming\\\"<\\\/title>\")\n+    sub(\/<title>Haskell: Functional Programming, Solid Code, Big Data<\\\/title>\/, \"<title>Intro \\\"Functional Programming\\\"<\/title>\")\n     sub(\/<meta name=\"date\" content=\"2011-09-18\" \\\/>\/, \"<meta name=\\\"date\\\" content=\\\"2011-10-19\\\" \/>\")\n     sub(\/<meta name=\"author\" content=\"Bryan O'Sullivan\" \\\/>\/, \"<meta name=\\\"author\\\" content=\\\"Gabor Greif\\\" \/>\")\n }\n"}
{"commit":"669d114f23550c545ebca70ce86df909b69fb490","subject":"Main: cleanup","message":"Main: cleanup\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -7,7 +7,7 @@\n     initGawk()\n     initBiDi()\n \n-    # Languages.awk\n+    # (Languages.awk)\n     initLocale()\n     initUserLang()\n \n@@ -37,7 +37,7 @@\n     Option[\"play\"] = 0\n     Option[\"player\"] = ENVIRON[\"PLAYER\"]\n \n-    # Terminal paging and web\n+    # Terminal paging and browsing\n     Option[\"view\"] = 0\n     Option[\"pager\"] = ENVIRON[\"PAGER\"]\n     Option[\"browser\"] = ENVIRON[\"BROWSER\"]\n@@ -79,7 +79,7 @@\n         script = script \"\\n\" line\n     loadOptions(script)\n \n-    # Hack: Option[\"tl\"] must be an array\n+    # HACK: Option[\"tl\"] must be an array\n     if (!isarray(Option[\"tl\"])) {\n         temp = Option[\"tl\"]\n         delete Option[\"tl\"]\n@@ -89,7 +89,7 @@\n \n # Miscellany initialization.\n function initMisc(    group) {\n-    # Translate.awk\n+    # (Translate.awk)\n     initHttpService()\n \n     # Disable ANSI escape codes if required\n"}
{"commit":"3c2dc5424da4162370cf0a2c4ff8199adbe8b0ad","subject":"use the source language code specified by user if it exists in the identified language list; otherwise use the first one in the identified language list (fix #24)","message":"use the source language code specified by user if it exists in the identified language list; otherwise use the first one in the identified language list (fix #24)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -68,7 +68,7 @@\n                         isVerbose, toSpeech, returnPlaylist,\n                         ####\n                         altTranslations, article, ast, content,\n-                        explanation, group, i, il,\n+                        explanation, group, i, il, ils,\n                         isPhonetic, j, original, phonetics,\n                         r, rtl, saveSortedIn, segments,\n                         temp, tokens, translation, translations,\n@@ -128,13 +128,13 @@\n \n         # Identified source languages\n         if (i ~ \"^0\" SUBSEP \"8\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+$\")\n-            append(il, literal(ast[i]))\n+            append(ils, literal(ast[i]))\n     }\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n \n     translation = join(translations)\n \n-    if (!anything(il)) il[0] = sl\n+    il = belongsTo(sl, ils) ? sl : ils[0]\n \n     # Generate output\n     if (!isVerbose) {\n@@ -159,19 +159,19 @@\n         if (isarray(altTranslations[0]) && anything(altTranslations[0])) {\n             # List alternative translations\n \n-            if (Locale[getCode(hl)][\"rtl\"] || Locale[getCode(il[0])][\"rtl\"])\n+            if (Locale[getCode(hl)][\"rtl\"] || Locale[getCode(il)][\"rtl\"])\n                 r = r \"\\n\\n\" s(sprintf(Locale[getCode(hl)][\"message\"], join(original))) # caution: mixed languages, BiDi invoked must be implemented correctly (i.e. FriBidi is required)\n             else\n                 r = r \"\\n\\n\" sprintf(Locale[getCode(hl)][\"message\"], join(original))\n-            if (Locale[getCode(il[0])][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n-                r = r \"\\n\" s(\"(\" Locale[getCode(il[0])][\"endonym\"] \" \u2794 \" Locale[getCode(tl)][\"endonym\"] \")\") # caution: mixed languages\n+            if (Locale[getCode(il)][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n+                r = r \"\\n\" s(\"(\" Locale[getCode(il)][\"endonym\"] \" \u2794 \" Locale[getCode(tl)][\"endonym\"] \")\") # caution: mixed languages\n             else\n-                r = r \"\\n\" \"(\" Locale[getCode(il[0])][\"endonym\"] \" \u2794 \" Locale[getCode(tl)][\"endonym\"] \")\"\n+                r = r \"\\n\" \"(\" Locale[getCode(il)][\"endonym\"] \" \u2794 \" Locale[getCode(tl)][\"endonym\"] \")\"\n \n             temp = segments[0] \"(\" join(altTranslations[0], \"\/\") \")\"\n             for (i = 1; i < length(altTranslations); i++)\n                 temp = temp \" \" segments[i] \"(\" join(altTranslations[i], \"\/\") \")\"\n-            if (Locale[getCode(il[0])][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n+            if (Locale[getCode(il)][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n                 r = r \"\\n\" AnsiCode[\"bold\"] s(temp) AnsiCode[\"no bold\"] # caution: mixed languages\n             else\n                 r = r \"\\n\" AnsiCode[\"bold\"] temp AnsiCode[\"no bold\"]\n@@ -191,12 +191,12 @@\n                         r = r \"\\n\" AnsiCode[\"bold\"] sprintf(\"%\" Option[\"width\"] - 4 \"s\", s((article ?\n                                                                                             \"(\" article \")\" :\n                                                                                             \"\") \" \" word, tl, Option[\"width\"] - 4)) AnsiCode[\"no bold\"] # target language\n-                        r = r \"\\n\" s(explanation, il[0], Option[\"width\"] - 8) # identified source language\n+                        r = r \"\\n\" s(explanation, il, Option[\"width\"] - 8) # identified source language\n                     } else {\n                         r = r \"\\n\" \"    \" AnsiCode[\"bold\"] show((article ?\n                                                                  \"(\" article \") \" :\n                                                                  \"\") word, tl) AnsiCode[\"no bold\"] # target language\n-                        r = r \"\\n\" \"        \" s(explanation, il[0], Option[\"width\"] - 8) # identified source language\n+                        r = r \"\\n\" \"        \" s(explanation, il, Option[\"width\"] - 8) # identified source language\n                     }\n                 }\n             }\n@@ -207,10 +207,10 @@\n                 returnPlaylist[0][\"text\"] = sprintf(Locale[getCode(hl)][\"message\"], \"\")\n                 returnPlaylist[0][\"tl\"] = hl\n                 returnPlaylist[1][\"text\"] = join(original)\n-                returnPlaylist[1][\"tl\"] = il[0]\n+                returnPlaylist[1][\"tl\"] = il\n             } else {\n                 returnPlaylist[0][\"text\"] = join(original)\n-                returnPlaylist[0][\"tl\"] = il[0]\n+                returnPlaylist[0][\"tl\"] = il\n                 returnPlaylist[1][\"text\"] = sprintf(Locale[getCode(hl)][\"message\"], \"\")\n                 returnPlaylist[1][\"tl\"] = hl\n             }\n"}
{"commit":"1af833ac5e7e0a569a31a60702ab7a9faa8113dc","subject":"Script: fix unexpected EOF while looking for matching `\"' during upgrade()","message":"Script: fix unexpected EOF while looking for matching `\"' during upgrade()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Script.awk\n+++ include\/Script.awk\n@@ -73,8 +73,9 @@\n     if (newerVersion(newVersion, Version)) {\n         trans = curl(TransExecutable)\n         if (trans) {\n+            print \"Successfully upgraded to \" newVersion \".\" > STDERR\n             print trans > ENVIRON[\"TRANS_ABSPATH\"]\n-            print \"Successfully upgraded to \" newVersion \".\" > STDERR\n+            exit 0\n         } else\n             e(\"[ERROR] Upgrading failed due to network errors.\")\n     } else\n"}
{"commit":"06fdeb8f0391b79d81b4a95cb2d3ebfa4e504859","subject":"\u7d50\u679c\u6570\u4e0a\u9650\u306b\u9054\u3057\u305f\u3089\u691c\u7d22\u3092\u6253\u3061\u5207\u308b","message":"\u7d50\u679c\u6570\u4e0a\u9650\u306b\u9054\u3057\u305f\u3089\u691c\u7d22\u3092\u6253\u3061\u5207\u308b\n","repos":"autch\/foodrad2,autch\/foodrad2,autch\/foodrad2,autch\/foodrad2","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- www\/search.awk\n+++ www\/search.awk\n@@ -20,5 +20,8 @@\n \tprint\n \tR_LIMIT = R_LIMIT - 1\n     }\n+    if(R_LIMIT <= 0) {\n+        exit 0\n+    }\n     R_OFFSET = R_OFFSET - 1\n }\n"}
{"commit":"00a41078517cf4fe51e599d1b7f5e0a68bdfeaf4","subject":"TINKERPOP-2002 fix tab rendering for static codez","message":"TINKERPOP-2002 fix tab rendering for static codez\n","repos":"krlohnes\/tinkerpop,krlohnes\/tinkerpop,pluradj\/incubator-tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,apache\/incubator-tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,pluradj\/incubator-tinkerpop,apache\/tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,apache\/incubator-tinkerpop,pluradj\/incubator-tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/preprocessor\/awk\/tabify.awk\n+++ docs\/preprocessor\/awk\/tabify.awk\n@@ -26,14 +26,14 @@\n   print \"++++\"\n   print \"<section class=\\\"tabs tabs-\" num_tabs \"\\\">\"\n \n-  for (i in tabs) {\n+  for (i = 1; i <= num_tabs; i++) {\n     title = tabs[i]\n     print \"  <input id=\\\"tab-\" id_part \"-\" x \"\\\" type=\\\"radio\\\" name=\\\"radio-set-\" id_part \"-\" next_id \"\\\" class=\\\"tab-selector-\" i \"\\\"\" (i == 1 ? \" checked=\\\"checked\\\"\" : \"\") \" \/>\"\n     print \"  <label for=\\\"tab-\" id_part \"-\" x \"\\\" class=\\\"tab-label-\" i \"\\\">\" title \"<\/label>\"\n     x++\n   }\n \n-  for (i in blocks) {\n+  for (i = 1; i<= num_tabs; i++) {\n     print \"  <div class=\\\"tabcontent\\\">\"\n     print \"    <div class=\\\"tabcontent-\" i \"\\\">\"\n     print \"++++\\n\"\n"}
{"commit":"dae1b4a5808e4853b8907af3bfd0de54a56693ea","subject":"[cc2] Simplifies the error generation script","message":"[cc2] Simplifies the error generation script\n","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- cc2\/generror.awk\n+++ cc2\/generror.awk\n@@ -1,11 +1,9 @@\n-BEGIN {\n-\tprint \"char *errlist[] = {\"\n-}\n-\/^enum nerrors \\{\/     {inhome = 1}\n+\/^enum nerrors \\{\/     {print \"char *errlist[] = {\"; inhome = 1}\n+\n inhome && \/E[A-Z]*, \/  {sub(\/,\/, \"\", $1)\n                         printf(\"\\t[%s] = \\\"\", $1)\n-                        for (i = 3; i < NF-1; ++i)\n-                        \tprintf(\"%s \", $i)\n-                        printf(\"%s\\\",\\n\", $(NF-1));}\n+                        for (i = 3; i <= NF-1; ++i)\n+\t\t\t\tprintf(\"%s%s\", $i, (i == NF-1) ? \"\\\"\" : \" \")\n+\t\t\tprint \",\"}\n+\n inhome && \/^}\/          {print \"};\" ; inhome = 0}\n-\n"}
{"commit":"79a23b4568c64e0c4ed21ae9ce364eab70694afa","subject":"Fixed gawk internal error in msg_parser.awk.","message":"Fixed gawk internal error in msg_parser.awk.\n\nIt looks like some gawk versions had problems when a function argument\nwas an unitialized variable.\n\ndarcs-hash:20060125155720-65a35-06a9a77dbe9abbcf4d305215b2c35f9c1ea36285.gz\n","repos":"unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,jart\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -54,6 +54,11 @@\n   split(\"\", NAMES);\n   split(\"\", Comments);\n   split(\"\", COMMENTS);\n+\n+  template=\"\";\n+  template1=\"\";\n+  template2=\"\";\n+  template3==\"\";\n }\n \n function name_hash (name)\n@@ -234,8 +239,7 @@\n \n     if (PR) {\n       if (TEMPLATE == \"\") { TEMPLATE = PR \".in\"; }\n-      RS0=RS; RS=\"\f-\\n\";\n+      RS0=RS; RS=\"\\f\\n\";\n       getline theader < TEMPLATE;\n       getline header < TEMPLATE;\n       getline template < TEMPLATE;\n"}
{"commit":"82387a11f32b6a8f274cb29644c72fe03cd12a8a","subject":"Utils: make sure no mess-up with args","message":"Utils: make sure no mess-up with args\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"unknown","license":"unlicense","lang":"Awk","diff":""}
{"commit":"25ea3b97e3faf797733a93e09341a4b42c6589c8","subject":"Match Xcode 5's \"not testable\" string","message":"Match Xcode 5's \"not testable\" string\n","repos":"jspahrsummers\/objc-build-scripts,hsavit1\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xcodebuild.awk\n+++ xcodebuild.awk\n@@ -13,7 +13,7 @@\n     fflush(stdout);\n }\n \n-\/is not valid for Testing\/ {\n+\/is not testable\/ {\n     exit 2;\n }\n \n"}
{"commit":"5e8cf9aecb8d5ca57d90ee5b5a992aea201dfad6","subject":"Don't use OFS when outputting errors","message":"Don't use OFS when outputting errors\n","repos":"jspahrsummers\/objc-build-scripts,hsavit1\/objc-build-scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- xcodebuild.awk\n+++ xcodebuild.awk\n@@ -8,7 +8,7 @@\n }\n \n \/(TEST|BUILD) FAILED\/ {\n-    print \"\\n\", errors\n+    print \"\\n\" errors\n     fflush(stdout)\n \n     # SYS_SOFTWARE\n"}
{"commit":"0cb67e49265daf760188329903ab7c1713a7377f","subject":"fix: getline support for OSX","message":"fix: getline support for OSX\n","repos":"technmsg\/v2,technmsg\/v2","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/atom.awk\n+++ scripts\/atom.awk\n@@ -42,7 +42,8 @@\n \n   # full text -- also converting relative Markdown links to absolute\n   printf \"    <![CDATA[\"\n-  system(\".\/tools\/Markdown_1.0.1\/Markdown.pl content\" orig \" | sed -e 's#href=\\\"\/#href=\\\"\" fqbase \"\/#g'\") |& getline\n+#  system(\".\/tools\/Markdown_1.0.1\/Markdown.pl content\" orig \" | sed -e 's#href=\\\"\/#href=\\\"\" fqbase \"\/#g'\") |& getline\n+  system(\".\/tools\/Markdown_1.0.1\/Markdown.pl content\" orig \" | sed -e 's#href=\\\"\/#href=\\\"\" fqbase \"\/#g'\") \n   printf \"    ]]>\\n\"\n \n   printf \"  <\/content>\\n\"\n"}
{"commit":"8616488cc6750ea9a163992f9327d460978de34a","subject":"Mark labels by their time along a curve, calculated by mirroring the origional graphviz label to find a vector.","message":"Mark labels by their time along a curve, calculated by mirroring the origional graphviz label to find a vector.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -41,6 +41,7 @@\n \n \t# TODO: would be simpler to gvpr to rename start to S0\n \t# TODO: common stuff for multiple graphs\n+\n \tprint \"pair S[];\"\n \tprint \"pair q[];\"\n \tprint \"path e;\"\n@@ -66,6 +67,7 @@\n #\tprint \"enddef;\";\n \n \t# TODO: centralise to my equivalent of automata.mp, and include that\n+\t# TODO: can use 'scantokens' to eval a string, .: don't need to pass diam etc\n \n \tprint \"vardef fsmnode(expr node, diam, final, lab) =\";\n \tprint \"\tdraw fullcircle scaled diam shifted node withpen pencircle scaled 1bp;\"\n@@ -78,7 +80,7 @@\n \tprint \"enddef;\";\n \n \n-\tprint \"vardef fsmedge(expr tail, head, e, lab) =\";\n+\tprint \"vardef fsmedge(expr tail, head, e, t, lab) =\";\n \n \tprint \"\tdrawarrow e withpen pencircle scaled 1bp;\";\n \n@@ -86,14 +88,17 @@\n \tprint \"\t\tpair bl;\";\n \tprint \"\t\tpair ml; ml := .5[tail, head];\"\n \n-\t# TODO: new idea; draw right angle from midpoint, and use that to find intersection with b\n-\t# this way it should always align for multiple edges, even if on a slant\n-\n-\tprint \"\t\tdraw point (length b \/ 2) of b withpen pencircle scaled 4bp withcolor blue;\"\n+\tprint \"\t\tif t <> -1:\"\n+\tprint \"\t\t\tbl := point t of e;\"\n+\tprint \"\t\t\tdraw bl withpen pencircle scaled 4bp withcolor blue;\"\n+\tprint \"\t\telse:\"\n+\tprint \"\t\t\tbl := point (length e \/ 2) of e;\"\n+\tprint \"\t\t\tdraw bl withpen pencircle scaled 2bp withcolor blue;\"\n+\tprint \"\t\tfi;\"\n+\n+#\tprint \"\t\tdraw bl withpen pencircle scaled 3bp withcolor blue;\"\n #\tprint \"\t\tdraw tail -- head withpen pencircle scaled 1bp withcolor green;\"\n #\tprint \"\t\tdraw ml withpen pencircle scaled 5bp withcolor green;\"\n-\n-\tprint \"\t\tbl := point (length b \/ 2) of b;\"\n \n \t# TODO: plus label delta, distancing it from point. make a label function\n \t# TODO: maybe an \"extend\" function, to extend a path in its direction. use dotprod for that?\n@@ -114,8 +119,8 @@\n \n \tprint \"vardef fsmloop(expr node, diam, p, q, lab, loops) =\"\n \tprint \"\tpath pp; pp = node -- 0.5[p, q];\"\n-\tprint \"\tdraw p -- q withpen pencircle scaled 0.5bp withcolor green;\"\n-\tprint \"\tdraw 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\"\n+#\tprint \"\tdraw p -- q withpen pencircle scaled 0.5bp withcolor green;\"\n+#\tprint \"\tdraw 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\"\n \tprint \"\tdraw node -- 0.5[p, q] withpen pencircle scaled 0.8bp withcolor green;\"\n \n \t# extend loop 1.25 * diameter\n@@ -126,11 +131,11 @@\n \tprint \"\tdraw node -- m withpen pencircle scaled 0.5bp withcolor green;\"\n \n \tprint \"\tpath b; b := node .. q .. m .. p .. node;\"\n-\tprint \"\tfsmedge(node, node, b cutbefore q cutafter p, lab);\"\n+\tprint \"\tfsmedge(node, node, b cutbefore q cutafter p, -1, lab);\"\n \n \tprint \"enddef;\";\n \n-\tprint \"vardef fsmgvedge(expr tail, taildiam, head, headdiam, e, lab, loops) =\";\n+\tprint \"vardef fsmgvedge(expr tail, taildiam, head, headdiam, e, pp, lab, loops) =\";\n \tprint \"\tdraw e withpen pencircle scaled 0.25bp withcolor red;\";\n \n \t# TODO: better explain this\n@@ -141,17 +146,46 @@\n \tprint \"\tpair q; q = (reverse e) intersectionpoint st;\\n\";\n \n \tprint \"\tif head = tail:\"\n+\t# TODO: incr loops here\n \tprint \"\t\tfsmloop(head, headdiam, p, q, lab, loops);\"\n \tprint \"\telse:\"\n \tprint \"\t\tpath b; b = tail .. q .. p .. head;\"\n-\t# TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n-\t# this affects NFA especially\n-\t# XXX: or (arclength b > 6in), but wigglyness would be a better metric\n+# TODO: explain this. we permit a 2% lengthening threshold relative to graphviz's b-spline\n+# this affects NFA especially\n+# XXX: or (arclength b > 6in), but wigglyness would be a better metric\n \tprint \"\t\tr := arclength b \/ arclength e;\";\n \tprint \"\t\tif (r > 1.02) or (r < 0.93):\";\n \tprint \"\t\t\tb := e;\"\n \tprint \"\t\tfi;\"\n-\tprint \"\t\tfsmedge(tail, head, b cutbefore q cutafter p, lab);\"\n+\tprint \"\t\tb := b cutbefore q cutafter p;\"\n+\tprint \"\t\tt0 := -1;\"\n+\tprint \"\t\tif lab <> \\\"\\\":\"\n+# TODO: explain we find what time (lx,ly) is along graphviz's edge, e\n+# then pass the time and use that for placing our label on our edge\n+# use intersectiontimes to find the time of (lx,ly) along e\n+# or find by e cutbefore (lx,ly) and use arctime to find the time wrt e\n+# XXX: but lx,ly isn't even on the line. could mirror it about the line head--tail\n+# TODO: instead of extending like this, i'd rather use the line's direction,\n+# and find a lxy--whatever point on e\n+# u3 = u1 projectedalong u2;\n+# XXX: but i can't do that here, because e might be switched to a different curve\n+# .: pass in pp, not lqq\n+print \"path qq;\"\n+print \"n := length pp;\"\n+print \"qq := (0, 0)--((arclength pp) * unitvector(direction n of pp));\"\n+print \"path lqq; lqq := pp & (qq shifted point n of pp);\"\n+#print \"draw lqq withpen pencircle scaled 0.25bp withcolor red;\"\n+\n+#print \"numeric lll;\";\n+#print \"lll := 1in;\"\n+#print \"path luu; luu := (0, 0) -- lll * unitvector(direction 0 of pp);\"\n+#print \"point whatever of luu = point whatever of b;\"\n+#print \"drawarrow luu shifted point 0 of pp;\"\n+\n+\tprint \"\t\t\tpair tx; tx = lqq intersectiontimes b;\"\n+\tprint \"\t\t\tt0 := ypart tx;\" # XXX: cheesy\n+\tprint \"\t\tfi;\"\n+\tprint \"\t\tfsmedge(tail, head, b, t0, lab);\"\n \tprint \"\tfi;\"\n \n \tprint \"enddef;\";\n@@ -257,12 +291,20 @@\n \t\tlabel = \"\";\n \t}\n \n-\t# TODO: find what time (lx,ly) is along graphviz's edge, e\n-\t# then pass the time and use that for placing our label on our edge\n-\t# use intersectiontimes to find the time of (lx,ly) along e\n-\t# or find by e cutbefore (lx,ly) and use arctime to find the time wrt e\n-\n-\tprintf \"fsmgvedge(%s, %s.diam, %s, %s.diam, e, \\\"%s\\\", %s.loops);\", tail, tail, head, head, label, head;\n+print \"path pp;\"\n+\n+\tif (head != tail && label != \"\") {\n+\t\tprintf \"draw (%fin, %fin) withpen pencircle scaled 3bp withcolor red;\", lx, ly\n+#\t\tprintf \"draw (%fin, %fin) reflectedabout(%s, %s) withpen pencircle scaled 1bp withcolor green;\", lx, ly, tail, head\n+\n+\t\tprintf \"pair lxy; lxy := (%fin, %fin);\\n\", lx, ly\n+\t\tprintf \"pair llxy; llxy := lxy reflectedabout(%s, %s);\\n\", tail, head\n+\n+\t\tprint \"pp := llxy -- lxy;\"\n+#\t\tprintf \"draw pp withpen pencircle scaled 1bp withcolor green;\\n\"\n+\t}\n+\n+\tprintf \"fsmgvedge(%s, %s.diam, %s, %s.diam, e, pp, \\\"%s\\\", %s.loops);\", tail, tail, head, head, label, head;\n \n \tif (head == tail) {\n \t\tprint \"\t%s.loops := %s.loops + 1;\", head, head\n"}
{"commit":"0fe93cdbe851251258c79cb82fbca665178d4c4d","subject":"Handle string numSeasons","message":"Handle string numSeasons\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -101,7 +101,7 @@\n \/itemprop=\"numberOfSeasons\"\/ {\n     split ($0,fld,\"\\\"\")\n     numSeasons = fld[4]\n-    if (numSeasons == 0)\n+    if ((numSeasons + 0) == 0)\n         printf (\"==> No seasons: %d\\t%s\\n\", SERIES_NUMBER, seriesTitle) >> ERROR_FILE\n     print numSeasons >> NUM_SEASONS_FILE\n     next\n"}
{"commit":"1eb1dd5dc7e78f3013229b55c321584f71ec0e76","subject":"RJH: test of RCS keyword munging","message":"RJH: test of RCS keyword munging\n\n\n","repos":"rangsimanketkaew\/NWChem","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- src\/util\/ids.awk\n+++ src\/util\/ids.awk\n@@ -6,7 +6,7 @@\n # module name -> produce a write statement for the module name\n # other       -> produce nothing\n # \n-# $Id: ids.awk,v 1.2 1995-02-02 18:09:38 d3g681 Exp $\n+# $Id: ids.awk,v 1.3 1995-02-02 20:21:59 d3g681 Exp $\n \n BEGIN {\n \t\tunderline = \"---------------------------------------------------------\";\n@@ -23,7 +23,7 @@\n \t\t\t\t printf(\"      write(6,*) ' %s'\\n\",substr(underline,1,len));\n \t\t\t\t}\n \n-\/\\$Id: ids.awk,v 1.2 1995-02-02 18:09:38 d3g681 Exp $\/\t\t{\n+\/\\$\\I\\d: [^\\n]*Exp \\$\/\t\t{\n \t\t\t\t i = index($0, \"$Id: \") + 5;\n \t\t\t\t j = index($0, \"Exp $\") - 1;\n \t\t\t\t n = j - i + 1;\n"}
{"commit":"d29dac6cc2e33b2a2fcb87ae4daedfbb8ceac62a","subject":"Working prototype","message":"Working prototype\n","repos":"marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- rewrite-cmor-table-to-bash-case.awk\n+++ rewrite-cmor-table-to-bash-case.awk\n@@ -13,3 +13,68 @@\n # Contact persons:  martin.evaldsson@smhi.se\n #\n ########################\n+function ceil(x){return x%1 ? int(x)+1 : x}\n+function floor(x){return x%1 ? int(x) : x}\n+\n+function repeat( str, n,    rep, i )\n+{\n+    for( ; i<n; i++ )\n+        rep = rep str   \n+    return rep\n+}\n+\n+function pre_ws( str, maxws )\n+{\n+    prews=floor(maxws\/2)\n+    str_ws = repeat(\" \", prews, i, ii)\n+    return str_ws\n+}\n+\n+function post_ws( str, maxws )\n+{\n+    postws=no_ws - length(str)-3\n+    str_ws = repeat(\" \", postws, i, ii)\n+    return str_ws\n+}\n+\n+BEGIN {\n+  newvar=\"none\"\n+  no_ws=20\n+  ws=repeat(\" \", no_ws, rep, i)\n+  print \"case\"\n+}\n+\n+{\n+    #print newvar\"  \"$1\",  --   \"$0\n+    if ($1 == \"variable_entry:\")\n+    {\n+        if (newvar == \"true\")\n+            printf \"%s\", \";;\\n\\n\"\n+        prews=pre_ws($2, length(ws))\n+        postws=post_ws($2, length(ws))\n+        printf \"%s\", \"  \"$2\")\"postws   \n+        newvar=\"true\"\n+    }\n+    if ($1 == \"standard_name:\" && newvar==\"true\")\n+    {\n+        printf \"%s\", \"standard_name='\"$2\"'\"   \n+    }\n+\n+    attrs[0] = \"long_name:\"\n+    attrs[1] = \"units:\"\n+    attrs[2] = \"cell_methods:\"\n+\n+    for (attr in attrs)\n+    {\n+        if ($1 == attrs[attr] && newvar==\"true\")\n+        {\n+            output=substr($0,index($2,$9))\n+            sub(\":[[:space:]]*\", \"='\", output)\n+            printf \"%s\", \"\\n\"ws\"\"output\"'\"\n+        }\n+    }\n+}\n+\n+END {\n+  print \"\\nesac\"\n+}\n"}
{"commit":"2b890aceb9782c5d0442c475bc920abeb40cc2dc","subject":"Support indent 2 in checkFile.","message":"Support indent 2 in checkFile.\n","repos":"OSBI\/mondrian,pedrofvteixeira\/mondrian,wetet2\/mondrian,lgrill-pentaho\/mondrian,wetet2\/mondrian,preisanalytics\/mondrian,preisanalytics\/mondrian,openedbox\/mondrian,bmorrise\/mondrian,stiberger\/mondrian,openedbox\/mondrian,Seiferxx\/mondrian,cocosli\/mondrian,mdamour1976\/mondrian,julianhyde\/mondrian,dkincade\/mondrian,dkincade\/mondrian,nextelBIS\/mondrian,bmorrise\/mondrian,Seiferxx\/mondrian,openedbox\/mondrian,pedrofvteixeira\/mondrian,truvenganong\/mondrian,lgrill-pentaho\/mondrian,syncron\/mondrian,AvinashPD\/mondrian,truvenganong\/mondrian,mustangore\/mondrian,julianhyde\/mondrian,ivanpogodin\/mondrian,OSBI\/mondrian,sayanh\/mondrian,preisanalytics\/mondrian,mustangore\/mondrian,OSBI\/mondrian,nextelBIS\/mondrian,cesarmarinhorj\/mondrian,nextelBIS\/mondrian,AvinashPD\/mondrian,wetet2\/mondrian,AvinashPD\/mondrian,syncron\/mondrian,pedrofvteixeira\/mondrian,pentaho\/mondrian,Seiferxx\/mondrian,bmorrise\/mondrian,ivanpogodin\/mondrian,cesarmarinhorj\/mondrian,syncron\/mondrian,sayanh\/mondrian,dkincade\/mondrian,cocosli\/mondrian,sayanh\/mondrian,pentaho\/mondrian,truvenganong\/mondrian,cesarmarinhorj\/mondrian,stiberger\/mondrian,mustangore\/mondrian,stiberger\/mondrian,cocosli\/mondrian,ivanpogodin\/mondrian,pentaho\/mondrian,mdamour1976\/mondrian,lgrill-pentaho\/mondrian,mdamour1976\/mondrian","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- bin\/checkFile.awk\n+++ bin\/checkFile.awk\n@@ -14,6 +14,7 @@\n        || fname ~ \"\/extensions\/\" \\\n        || fname ~ \"\/com\/sqlstream\/\" \\\n        || fname ~ \"\/linq4j\/\" \\\n+       || fname ~ \"\/lambda\/\" \\\n        || fname ~ \"\/optiq\/\" \\\n        || strict > 0;\n }\n@@ -80,6 +81,10 @@\n     return i;\n }\n \n+function checkIndent(str) {\n+    return str % indent == 0;\n+}\n+\n function startsWith(s, p) {\n     return length(s) > length(p) \\\n         && substr(s, 1, length(p)) == p;\n@@ -104,6 +109,8 @@\n     mondrian = _isMondrian(fname);\n     prevImport = \"\";\n     prevImportGroup = \"\";\n+    indent = (fname ~ \/lambda\/ || fname ~ \/linq4j\/) ? 2 : 4;\n+    cindent = 4;\n \n     delete headers;\n     headerCount = 0;\n@@ -178,19 +185,19 @@\n         gsub(\/:}\/, \"}\", s);\n         gsub(\/:\/, \" : \", s);\n     }\n-    if (inComment && $0 ~ \/\\*\\\/\/) {\n+    if (inComment && s ~ \/\\*\\\/\/) {\n         # end of multiline comment \"*\/\"\n         inComment = 0;\n         gsub(\/^.*\\*\\\/\/, \"\/* comment *\/\", s);\n     } else if (inComment) {\n         s = \"\/* comment *\/\";\n-    } else if ($0 ~ \/\\\/\\*\/ && $0 !~ \/\\\/\\*.*\\*\\\/\/) {\n+    } else if (s ~ \/\\\/\\*\/ && s !~ \/\\\/\\*.*\\*\\\/\/) {\n         # beginning of multiline comment \"\/*\"\n         inComment = 1;\n+        if (strict > 1 && FNR > 1 && s !~ \/\\\/\\*\\*\/ && s !~ \/^\\\/\\*\/) {\n+            error(fname, FNR, \"Multi-line c-style comment not allowed\" s);\n+        }\n         gsub(\/\\\/\\*.*$\/, \"\/* comment *\/\", s);\n-        if (strict > 1 && FNR > 1 && $0 !~ \/\\\/\\*\\*\/ && $0 !~ \/^\\\/\\*\/) {\n-            error(fname, FNR, \"Multi-line c-style comment not allowed\");\n-        }\n     } else {\n         # mask out \/* *\/ comments\n         gsub(\/\\\/\\*.*\\*\\\/\/, \"\/* comment *\/\", s);\n@@ -223,8 +230,8 @@\n \n     # Is the line indented as expected?\n     if (nextIndent > 0) {\n-        indent = countLeadingSpaces(s);\n-        if (indent != nextIndent) {\n+        x = countLeadingSpaces(s);\n+        if (x != nextIndent) {\n             error(fname, FNR, \"Incorrect indent for first line of arg list\");\n         }\n     }\n@@ -373,7 +380,7 @@\n         error(fname, FNR, \"if must be followed by space\");\n     } else if (s ~ \/ else if \/) {\n     } else if (s ~ \/^#if \/) {\n-    } else if (s !~ \/^(    )*(if)\/) {\n+    } else if (!checkIndent(s)) {\n         error(fname, FNR, \"if must be correctly indented\");\n     }\n }\n@@ -382,13 +389,13 @@\n     } else if (s !~ \/\\<(while) \/) {\n         error(fname, FNR, \"while must be followed by space\");\n     } else if (s ~ \/} while \/) {\n-    } else if (s !~ \/^(    )+(while)\/) {\n+    } else if (!checkIndent(s)) {\n         error(fname, FNR, \"while must be correctly indented\");\n     }\n }\n s ~ \/\\<(for|switch|synchronized|} catch) *\\(\/ {\n     if (!matchFile) {}\n-    else if (s !~ \/^(    )*(for|switch|synchronized|} catch)\/) {\n+    else if (!checkIndent(s)) {\n         error(fname, FNR, \"for\/switch\/synchronized\/catch must be correctly indented\");\n     } else if (s !~ \/\\<(for|switch|synchronized|} catch) \/) {\n         error(fname, FNR, \"for\/switch\/synchronized\/catch must be followed by space\");\n@@ -447,7 +454,7 @@\n                     # Ignore case like 'for (Map.Entry<Foo,{nl} Bar> entry : ...'\n                 } else if (s ~ \/ for \/) {\n                     # Ignore case like 'for (int i = 1,{nl} j = 2; i < j; ...'\n-                } else {\n+                } else if (indent == cindent) {\n                     error(                                              \\\n                         fname, FNR,                                     \\\n                         \"multi-line parameter list should start with newline\");\n@@ -458,7 +465,7 @@\n                 # for macros), we're fine.\n             } else if (s ~ \/@.*\\({\/) {\n                 # Ignore Java annotations.\n-            } else {\n+            } else if (indent == cindent) {\n                 error(                                                  \\\n                     fname, FNR,                                         \\\n                     \"Open parenthesis should be at end of line (function call spans several lines)\");\n@@ -494,7 +501,7 @@\n s ~ \/\\<assert\\>\/ {\n     if (!matchFile) {}\n     else if (isCpp) {} # rule only applies to java\n-    else if (s !~ \/^(    )+(assert)\/) {\n+    else if (!checkIndent(s)) {\n         error(fname, FNR, \"assert must be correctly indented\");\n     } else if (s !~ \/\\<assert \/) {\n         error(fname, FNR, \"assert must be followed by space\");\n@@ -504,7 +511,7 @@\n     if (!matchFile) {}\n     else if (isCpp && s ~ \/^#\/) {\n         # ignore macros\n-    } else if (s !~ \/^(    )+(return)\/) {\n+    } else if (!checkIndent(s)) {\n         error(fname, FNR, \"return must be correctly indented\");\n     } else if (s !~ \/\\<return[ ;]\/ && s !~ \/\\<return$\/) {\n         error(fname, FNR, \"return must be followed by space or ;\");\n@@ -514,7 +521,7 @@\n     if (!matchFile) {}\n     else if (isCpp) {\n         # cannot yet handle C++ cases like 'void foo() throw(int)'\n-    } else if (s !~ \/^(    )+(throw)\/) {\n+    } else if (!checkIndent(s)) {\n         error(fname, FNR, \"throw must be correctly indented\");\n     } else if (s !~ \/\\<throw \/ && s !~ \/\\<throw$\/) {\n         error(fname, FNR, \"throw must be followed by space\");\n@@ -523,38 +530,48 @@\n s ~ \/\\<else\\>\/ {\n     if (!matchFile) {}\n     else if (isCpp && s ~ \/^# *else$\/) {} # ignore \"#else\"\n-    else if (s !~ \/^(    )+} else (if |{$|{ *\\\/\\\/|{ *\\\/\\*)\/) {\n-        error(fname, FNR, \"else must be preceded by } and followed by { or if and correctly indented\");\n+    else if (!checkIndent(s)) {\n+        error(fname, FNR, \"else must be correctly indented\");\n+    } else if (s !~ \/^ +} else (if |{$|{ *\\\/\\\/|{ *\\\/\\*)\/) {\n+        error(fname, FNR, \"else must be preceded by } and followed by { or if\");\n     }\n }\n s ~ \/\\<do\\>\/ {\n     if (!matchFile) {}\n-    else if (s !~ \/^(    )*do {\/) {\n-        error(fname, FNR, \"do must be followed by space {, and correctly indented\");\n+    else if (!checkIndent(s)) {\n+        error(fname, FNR, \"do must be correctly indented\");\n+    } else if (s !~ \/^ *do {\/) {\n+        error(fname, FNR, \"do must be followed by space {\");\n     }\n }\n s ~ \/\\<try\\>\/ {\n     if (!matchFile) {}\n-    else if (s !~ \/^(    )+try {\/) {\n-        error(fname, FNR, \"try must be followed by space {, and correctly indented\");\n+    else if (!checkIndent(s)) {\n+        error(fname, FNR, \"try must be correctly indented\");\n+    } else if (s !~ \/^ +try {\/) {\n+        error(fname, FNR, \"try must be followed by space {\");\n     }\n }\n s ~ \/\\<catch\\>\/ {\n     if (!matchFile) {}\n-    else if (s !~ \/^(    )+} catch \/) {\n-        error(fname, FNR, \"catch must be preceded by }, followed by space, and correctly indented\");\n+    else if (!checkIndent(s)) {\n+        error(fname, FNR, \"catch must be correctly indented\");\n+    } else if (s !~ \/^ +} catch \/) {\n+        error(fname, FNR, \"catch must be preceded by } and followed by space\");\n     }\n }\n s ~ \/\\<finally\\>\/ {\n     if (!matchFile) {}\n-    else if (s !~ \/^(    )+} finally {\/) {\n-        error(fname, FNR, \"finally must be preceded by }, followed by space {, and correctly indented\");\n+    else if (!checkIndent(s)) {\n+        error(fname, FNR, \"finally must be correctly indented\");\n+    } else if (s !~ \/^ +} finally {\/) {\n+        error(fname, FNR, \"finally must be preceded by } and followed by space {\");\n     }\n }\n s ~ \/\\($\/ {\n-    nextIndent = countLeadingSpaces(s) + 4;\n-    if (s ~ \/ (if|while) .*\\(.*\\(\/) {\n-        nextIndent += 4;\n+    nextIndent = countLeadingSpaces(s) + cindent;\n+    if (s ~ \/ (if|while) .*\\(.*\\(\/ && indent == cindent) {\n+        nextIndent += indent;\n     }\n }\n match(s, \/([]A-Za-z0-9()])(+|-|\\*|\\^|\\\/|%|=|==|+=|-=|\\*=|\\\/=|>=|<=|!=|&|&&|\\||\\|\\||^|\\?|:) *[A-Za-z0-9(]\/, a) {\n@@ -676,8 +693,10 @@\n     if (!matchFile) {}\n     else if (s !~ \/}( |;|,|$|\\)|\\.)\/) {\n         error(fname, FNR, \"} must be followed by space\");\n-    } else if (s !~ \/(    )*}\/) {\n-        error(fname, FNR, \"} must be at start of line and correctly indented\");\n+    } else if (s !~ \/^ *}\/) {\n+        # not at start of line - ignore\n+    } else if (!checkIndent(s)) {\n+        error(fname, FNR, \"} must be correctly indented\");\n     }\n }\n $0 ~ \/\\* @param [A-Za-z0-9_]+$\/ && strict > 1 {\n@@ -711,7 +730,7 @@\n         closes = s;\n         gsub(\/[^)]\/, \"\", closes);\n         if (0 && strict < 2 && fname ~ \/aspen\/) {} # not enabled\n-        else if (length(closes) > length(opens)) {\n+        else if (length(closes) > length(opens) && indent == cindent) {\n             error(fname, FNR, \"Open brace should be on new line (function call\/decl spans several lines)\");\n         }\n     }\n@@ -754,7 +773,7 @@\n && $0 !~ \/http:\/                                \\\n && $0 !~ \/https:\/                               \\\n && $0 !~ \/\\\/\\\/ Expect \"\/                        \\\n-&& s !~ \/^ *(\\+ |<< |: |\\?)?string\\)?[;,]?$\/ {\n+&& s !~ \/^ *(\\+ |<< |: |\\?)?string\\)*[;,]?$\/ {\n     error( \\\n         fname, \\\n         FNR, \\\n@@ -770,7 +789,8 @@\n     # Ignore open brace if it is part of class or interface declaration.\n     if (classDeclStartLine) {\n         if (classDeclStartLine < FNR \\\n-            && $0 !~ \/^ *{$\/)\n+            && $0 !~ \/^ *{$\/ \\\n+            && indent == cindent)\n         {\n             error(fname, FNR, \"Open brace should be on new line (class decl spans several lines)\");\n         }\n@@ -783,6 +803,7 @@\n             && $0 !~ \/^ *{$\/)\n         {\n             if (strict < 2 && fname ~ \/aspen\/) {} # not enabled\n+            else if (cindent != indent) {}\n             else error(fname, FNR, \"Open brace should be on new line (function decl spans several lines)\");\n         }\n         funDeclStartLine = 0;\n"}
{"commit":"38608d81c4a4f1c72e6b714ba24f9e1b491809cd","subject":"testsuite: better error message","message":"testsuite: better error message\n\ngit-svn-id: e7e61699ce1738538ffebb75374fbea0924bc775@13631 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02\n","repos":"yunxing\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,hhugo\/camlp4,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,msprotz\/ocaml,msprotz\/ocaml,eliberis\/ocaml,eliberis\/ocaml,eliberis\/ocaml,msprotz\/ocaml,eliberis\/ocaml,yallop\/camlp4,msprotz\/ocaml,msprotz\/ocaml,eliberis\/ocaml,chambart\/camlp4,yunxing\/ocaml,yunxing\/ocaml","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- testsuite\/makefiles\/summarize.awk\n+++ testsuite\/makefiles\/summarize.awk\n@@ -90,6 +90,9 @@\n             for (i=0; i < unexped; i++) printf(\"    %s\\n\", unexp[i]);\n         }\n         printf(\"\\n\");\n-        exit (failed || unexped ? 4 : 0);\n+        if (failed || unexped){\n+            printf(\"#### Some tests failed. Exiting with error status.\\n\\n\");\n+            exit 4;\n+        }\n     }\n }\n"}
{"commit":"ea735931f06e57f5e765c716e09809043bc27ec2","subject":"Utils: pass --output and --user-agent to curl","message":"Utils: pass --output and --user-agent to curl\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Utils.awk\n+++ include\/Utils.awk\n@@ -140,20 +140,28 @@\n }\n \n # Fetch the content of a URL. Return a null string if failed.\n-function curl(url,    command, content, line) {\n+function curl(url, output,    command, content, line) {\n     initCurl()\n \n     if (!Curl) {\n         l(\">> not found: curl\")\n         w(\"[WARNING] curl is not found.\")\n         return NULLSTR\n-    } else {\n-        command = Curl \" --location --silent \" parameterize(url)\n-        content = NULLSTR\n-        while ((command |& getline line) > 0)\n-            content = (content ? content \"\\n\" : NULLSTR) line\n-        return content\n     }\n+\n+    command = Curl \" --location --silent\"\n+    if (Option[\"user-agent\"])\n+        command = command \" --user-agent \" parameterize(Option[\"user-agent\"])\n+    command = command \" \" parameterize(url)\n+    if (output) {\n+        command = command \" --output \" parameterize(output)\n+        system(command)\n+        return NULLSTR\n+    }\n+    content = NULLSTR\n+    while ((command |& getline line) > 0)\n+        content = (content ? content \"\\n\" : NULLSTR) line\n+    return content\n }\n \n # Dump a Unicode string into a byte array. Return the length of the array.\n"}
{"commit":"c0ee463cc53b2bfa9c7b3f45e1b2dca4a45df93a","subject":"Fix extra comma in json file","message":"Fix extra comma in json file\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- buildBBoxScrapersFrom-webscraper.awk\n+++ buildBBoxScrapersFrom-webscraper.awk\n@@ -5,16 +5,20 @@\n \/\\\/us\\\/movie\\\/\/ {\n     numMovies += 1\n     shortURL = $6\n-    printf (\"%s    \\\"https:\/\/www.britbox.com%s\\\"\", trailingComma, shortURL) >> EPISODES_JSON_FILE\n-    trailingComma = \",\\n\"\n+    printf (\"%s    \\\"https:\/\/www.britbox.com%s\\\"\", trailingEpisodesComma, shortURL) \\\n+        >> EPISODES_JSON_FILE\n+    trailingEpisodesComma = \",\\n\"\n }\n \n \/\\\/us\\\/show\\\/\/ {\n     numShows += 1\n     shortURL = $6\n-    printf (\"%s    \\\"https:\/\/www.britbox.com%s\\\"\", trailingComma, shortURL) >> EPISODES_JSON_FILE\n-    printf (\"%s    \\\"https:\/\/www.britbox.com%s\\\"\", trailingComma, shortURL) >> SEASONS_JSON_FILE\n-    trailingComma = \",\\n\"\n+    printf (\"%s    \\\"https:\/\/www.britbox.com%s\\\"\", trailingEpisodesComma, shortURL) \\\n+        >> EPISODES_JSON_FILE\n+    trailingEpisodesComma = \",\\n\"\n+    printf (\"%s    \\\"https:\/\/www.britbox.com%s\\\"\", trailingSeasonsComma, shortURL) \\\n+        >> SEASONS_JSON_FILE\n+    trailingSeasonsComma = \",\\n\"\n }\n \n END {\n"}
{"commit":"2ca69ab03467ffbe7f4bb6aad93410e95d3da598","subject":"Languages: allow names and endonyms as aliases","message":"Languages: allow names and endonyms as aliases\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1699,6 +1699,10 @@\n \n         # ISO 639-3 codes as aliases\n         LocaleAlias[Locale[i][\"iso\"]] = i\n+\n+        # Names and endonyms as aliases\n+        LocaleAlias[tolower(Locale[i][\"name\"])] = i\n+        LocaleAlias[tolower(Locale[i][\"endonym\"])] = i\n     }\n \n     # Other aliases\n@@ -1713,6 +1717,7 @@\n     LocaleAlias[\"sh\"] = \"sr\" # Serbo-Croatian: default to Serbian\n     LocaleAlias[\"zh\"] = \"zh-CN\" # Chinese: default to Chinese Simplified\n     LocaleAlias[\"zho\"] = \"zh-CN\"\n+    LocaleAlias[\"chinese\"] = \"zh-CN\"\n     # TODO: more aliases\n }\n \n@@ -1722,6 +1727,8 @@\n         return code\n     else if (code in LocaleAlias)\n         return LocaleAlias[code]\n+    else if (tolower(code) in LocaleAlias)\n+        return LocaleAlias[tolower(code)]\n     else\n         return # return nothing if not found\n }\n"}
{"commit":"f6d2659e8bcdf5b811051e778cbe4706306f86f7","subject":"change to {{cite web}}","message":"change to {{cite web}}\n","repos":"greencardamom\/BooksAndWriters","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- replacebandwref.awk\n+++ replacebandwref.awk\n@@ -39,7 +39,8 @@\n    c = patsplit(Article, b, \"{[ ]{0,2}[Cc]ite[^}]+}\")\n    while (i++ < c) {\n      if(b[i] ~ \"kirjasto[.]sci[.]fi\") {\n-       replace(b[i], sprintf(\"{Books and Writers |id=%s |name=%s |cite=yes}\", bandwid(b[i]), name) )\n+       id = bandwid(b[i])\n+       replace(tl, sprintf(\"{{cite web |url=http:\/\/www.kirjasto.sci.fi\/%s.htm |title=%s |website=Books and Writers ''(kirjasto.sci.fi)'' |first=Petri |last=Liukkonen |publisher=[[Kuusankoski]] Public Library |location=Finland |archiveurl=https:\/\/web.archive.org\/web\/20150210175324\/http:\/\/www.kirjasto.sci.fi\/%s.htm |archivedate=10 February 2015 |dead-url=yes}}\",id,name,id) )\n      }\n    }\n \n@@ -50,7 +51,8 @@\n    while(i++ < c) {\n      k = substr(b[i], 1, match(b[i], \"<\/ref>\") - 1)\n      if(k ~ \"kirjasto[.]sci[.]fi\") {\n-       replace(k, sprintf(\"{{Books and Writers |id=%s |name=%s |cite=yes}}\", bandwid(k), name) )\n+       id = bandwid(k)\n+       replace(tl, sprintf(\"{{cite web |url=http:\/\/www.kirjasto.sci.fi\/%s.htm |title=%s |website=Books and Writers ''(kirjasto.sci.fi)'' |first=Petri |last=Liukkonen |publisher=[[Kuusankoski]] Public Library |location=Finland |archiveurl=https:\/\/web.archive.org\/web\/20150210175324\/http:\/\/www.kirjasto.sci.fi\/%s.htm |archivedate=10 February 2015 |dead-url=yes}}\",id,name,id) )\n      }\n    }\n \n"}
{"commit":"7993d4dbb0f435676d5941c11b930cd164545a11","subject":"Update code style","message":"Update code style\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/mean.awk\n+++ tools\/awk\/mean.awk\n@@ -16,12 +16,12 @@\n # [1]: https:\/\/en.wikipedia.org\/wiki\/Algorithms_for_calculating_variance#Online_algorithm\n \n BEGIN {\n+\tdelta = 0\n+\tmean = 0\n \tN = 0\n-\tmean = 0\n-\tdelta = 0\n }\n {\n-\tN++\n+\tN += 1\n \tdelta = $1 - mean\n \tmean += delta \/ N\n }\n"}
{"commit":"beb86634d60ec65e7f05061067a9772d7d2926cb","subject":"Languages: fix initUserLang() (close #61)","message":"Languages: fix initUserLang() (close #61)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1945,11 +1945,24 @@\n }\n \n # Initialize `UserLang`.\n-function initUserLang() {\n-    UserLocale = ENVIRON[\"LANGUAGE\"] ? ENVIRON[\"LANGUAGE\"] :\n-        (ENVIRON[\"LC_ALL\"] ? ENVIRON[\"LC_ALL\"] :\n-         (ENVIRON[\"LANG\"] ? ENVIRON[\"LANG\"] : \"en_US.UTF-8\"))\n-    if (tolower(UserLocale) !~ \/utf-?8$\/)\n+function initUserLang(    lang, utf) {\n+    if (lang = ENVIRON[\"LANGUAGE\"]) {\n+        if (!UserLocale) UserLocale = lang\n+        utf = utf || tolower(lang) ~ \/utf-?8$\/\n+    }\n+    if (lang = ENVIRON[\"LC_ALL\"]) {\n+        if (!UserLocale) UserLocale = lang\n+        utf = utf || tolower(lang) ~ \/utf-?8$\/\n+    }\n+    if (lang = ENVIRON[\"LANG\"]) {\n+        if (!UserLocale) UserLocale = lang\n+        utf = utf || tolower(lang) ~ \/utf-?8$\/\n+    }\n+    if (!UserLocale) {\n+        UserLocale = \"en_US.UTF-8\"\n+        utf = 1\n+    }\n+    if (!utf)\n         w(\"[WARNING] Your locale codeset (\" UserLocale \") is not UTF-8.\")\n \n     UserLang = parseLang(UserLocale)\n"}
{"commit":"1a4d83ef1e242ec7cfc6f90a697f1bee3bbdd03a","subject":"build.awk: do not export COLUMNS","message":"build.awk: do not export COLUMNS\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -168,8 +168,6 @@\n                 print \"export TRANS_BUILD=git:\" temp > Trans\n         }\n \n-        print \"export COLUMNS=$(tput cols)\" > Trans\n-\n         print \"gawk -f <(echo -E \\\"$TRANS_PROGRAM\\\") - \\\"$@\\\"\" > Trans\n \n         (\"chmod +x \" parameterize(Trans)) | getline\n"}
{"commit":"7fa91fcf2dd76a92b7d3f87063ffb68c8cf4f3ea","subject":"Update filter_en_uk.awk","message":"Update filter_en_uk.awk\n\nMoved the keys so they appear from the top left one to the right bottom one. Added |","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- filter_en_uk.awk\n+++ filter_en_uk.awk\n@@ -17,50 +17,6 @@\n             }\n             if ($x == \"`\") {\n                 macroLine = macroLine \"+grave,-grave\";\n-                break;\n-            }\n-            if ($x == \"-\") {\n-                macroLine = macroLine \"+minus,-minus\";\n-                break;\n-            }\n-            if ($x == \"[\") {\n-                macroLine = macroLine \"+lbrace,-lbrace\";\n-                break;\n-            }\n-            if ($x == \"]\") {\n-                macroLine = macroLine \"+rbrace,-rbrace\";\n-                break;\n-            }\n-            if ($x == \";\") {\n-                macroLine = macroLine \"+colon,-colon\";\n-                break;\n-            }\n-            if ($x == \"'\") {\n-                macroLine = macroLine \"+quote,-quote\";\n-                break;\n-            }\n-            if ($x == \"\\\\\") {\n-                macroLine = macroLine \"+bslash_iso,-bslash_iso\";\n-                break;\n-            }\n-            if ($x == \",\") {\n-                macroLine = macroLine \"+comma,-comma\";\n-                break;\n-            }\n-            if ($x == \".\") {\n-                macroLine = macroLine \"+dot,-dot\";\n-                break;\n-            }\n-            if ($x == \"#\") {\n-                macroLine = macroLine \"+hash,-hash\";\n-                break;\n-            }\n-            if ($x == \"=\") {\n-                macroLine = macroLine \"+equal,-equal\";\n-                break;\n-            }\n-            if ($x == \"\/\") {\n-                macroLine = macroLine \"+slash,-slash\";\n                 break;\n             }\n             if ($x == \"\u00ac\") {\n@@ -107,40 +63,88 @@\n                 macroLine = macroLine \"+lshift,+0,-0,-lshift\";\n                 break;\n             }\n+            if ($x == \"-\") {\n+                macroLine = macroLine \"+minus,-minus\";\n+                break;\n+            }\n             if ($x == \"_\") {\n                 macroLine = macroLine \"+lshift,+minus,-minus,-lshift\";\n+                break;\n+            }\n+            if ($x == \"=\") {\n+                macroLine = macroLine \"+equal,-equal\";\n+                break;\n+            }\n+            if ($x == \"[\") {\n+                macroLine = macroLine \"+lbrace,-lbrace\";\n+                break;\n+            }\n+            if ($x == \"{\") {\n+                macroLine = macroLine \"+lshift,+lbrace,-lbrace,-lshift\";\n+                break;\n+            }\n+            if ($x == \"]\") {\n+                macroLine = macroLine \"+rbrace,-rbrace\";\n+                break;\n+            }\n+            if ($x == \"}\") {\n+                macroLine = macroLine \"+lshift,+rbrace,-rbrace,-lshift\";\n+                break;\n+            }\n+            if ($x == \"#\") {\n+                macroLine = macroLine \"+hash,-hash\";\n+                break;\n+            }\n+            if ($x == \"~\") {\n+                macroLine = macroLine \"+lshift,+hash,-hash,-lshift\";\n+                break;\n+            }\n+            if ($x == \";\") {\n+                macroLine = macroLine \"+colon,-colon\";\n+                break;\n+            }\n+            if ($x == \":\") {\n+                macroLine = macroLine \"+lshift,+colon,-colon,-lshift\";\n+                break;\n+            }\n+            if ($x == \"'\") {\n+                macroLine = macroLine \"+quote,-quote\";\n+                break;\n+            }\n+            if ($x == \"@\") {\n+                macroLine = macroLine \"+lshift,+quote,-quote,-lshift\";\n+                break;\n+            }\n+            if ($x == \",\") {\n+                macroLine = macroLine \"+comma,-comma\";\n+                break;\n+            }\n+            if ($x == \"\\\\\") {\n+                macroLine = macroLine \"+bslash_iso,-bslash_iso\";\n+                break;\n+            }\n+            if ($x == \"|\") {\n+                macroLine = macroLine \"+lshift,+bslash_iso,-bslash_iso,-lshift\";\n                 break;\n             }\n             if ($x == \"<\") {\n                 macroLine = macroLine \"+lshift,+comma,-comma,-lshift\";\n                 break;\n             }\n+            if ($x == \".\") {\n+                macroLine = macroLine \"+dot,-dot\";\n+                break;\n+            }\n             if ($x == \">\") {\n                 macroLine = macroLine \"+lshift,+dot,-dot,-lshift\";\n                 break;\n             }\n+            if ($x == \"\/\") {\n+                macroLine = macroLine \"+slash,-slash\";\n+                break;\n+            }\n             if ($x == \"?\") {\n                 macroLine = macroLine \"+lshift,+slash,-slash,-lshift\";\n-                break;\n-            }\n-            if ($x == \":\") {\n-                macroLine = macroLine \"+lshift,+colon,-colon,-lshift\";\n-                break;\n-            }\n-            if ($x == \"@\") {\n-                macroLine = macroLine \"+lshift,+quote,-quote,-lshift\";\n-                break;\n-            }\n-            if ($x == \"~\") {\n-                macroLine = macroLine \"+lshift,+hash,-hash,-lshift\";\n-                break;\n-            }\n-            if ($x == \"{\") {\n-                macroLine = macroLine \"+lshift,+lbrace,-lbrace,-lshift\";\n-                break;\n-            }\n-            if ($x == \"}\") {\n-                macroLine = macroLine \"+lshift,+rbrace,-rbrace,-lshift\";\n                 break;\n             }\n \n"}
{"commit":"6dd07da7694dd19291a8a15b8fe016347670d821","subject":"Fix &#x27; in Person names","message":"Fix &#x27; in Person names\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"b43d8afc7f0f0223011723071c1a4a4e50d3e67a","subject":"REPL: support 4-letter script code","message":"REPL: support 4-letter script code\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/REPL.awk\n+++ include\/REPL.awk\n@@ -125,7 +125,7 @@\n }\n \n # REPL.\n-function repl(line,    command, group, i, words) {\n+function repl(line,    command, group, name, i, value, words) {\n     split(line, words, \" \")\n     command = words[1]\n \n@@ -139,7 +139,7 @@\n         name = words[2]\n         print prettify(\"welcome-submessage\", toString(Option[name], 1, 0, 1))\n     } else {\n-        match(command, \/^[{(\\[]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\\]]?$\/, group)\n+        match(command, \/^[{(\\[]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]][[:alpha:]]?[[:alpha:]]?)?)?)[})\\]]?$\/, group)\n         if (RSTART) {\n             if (group[1]) Option[\"sl\"] = group[1]\n             if (group[4]) split(group[4], Option[\"tl\"], \"+\")\n"}
{"commit":"e929b5839fbfa78bcd72623bf672c0bc650ad0ec","subject":"Fixed problem with top-of-stack mechanism on globally optimized code","message":"Fixed problem with top-of-stack mechanism on globally optimized code\n","repos":"Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- util\/opt\/pop_push.awk\n+++ util\/opt\/pop_push.awk\n@@ -9,6 +9,7 @@\n }\n \/aar\/\t{ switch = NR }\n \t{ if (switch) {\n+\t      if ($1 == \"cal\" || $1 == \"cai\") $3 = \"?\"\n \t      printf(\"\/* %s *\/ \\\"%s\\\",\\n\",$1,$3) \n \t      col_2[NR-switch] = $2\n \t      comment[NR-switch] = $1\n"}
{"commit":"8af38ca68f6f75fc9f554c05654931739cb8d916","subject":"LanguageData: update section L","message":"LanguageData: update section L\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageData.awk\n+++ include\/LanguageData.awk\n@@ -1368,9 +1368,7 @@\n     Locale[\"ky\"][\"spoken-in\"]          = \"Kyrgyzstan; China; Tajikistan; Afghanistan; Pakistan\"\n     Locale[\"ky\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n-\n-\n-    #53 Lao\n+    # Lao\n     Locale[\"lo\"][\"name\"]               = \"Lao\"\n     Locale[\"lo\"][\"endonym\"]            = \"\u0ea5\u0eb2\u0ea7\"\n     Locale[\"lo\"][\"translations-of\"]    = \"\u0e84\u0eb3\u200b\u0ec1\u0e9b\u200b\u0eaa\u0eb3\u0ea5\u0eb1\u0e9a %s\"\n@@ -1378,12 +1376,15 @@\n     Locale[\"lo\"][\"synonyms\"]           = \"\u0e84\u0eb3\u0e97\u0eb5\u0ec8\u0e84\u0ec9\u0eb2\u0e8d\u0e81\u0eb1\u0e99 %s\"\n     Locale[\"lo\"][\"examples\"]           = \"\u0e95\u0ebb\u0ea7\u0ea2\u0ec8\u0eb2\u0e87\"\n     Locale[\"lo\"][\"see-also\"]           = \"\u0ec0\u0e9a\u0eb4\u0ec8\u0e87\u200b\u0ec0\u0e9e\u0eb5\u0ec8\u0ea1\u200b\u0ec0\u0e95\u0eb5\u0ea1\"\n-    Locale[\"lo\"][\"family\"]             = \"Tai-Kadai\"\n+    Locale[\"lo\"][\"family\"]             = \"Kra-Dai\"\n+    Locale[\"lo\"][\"branch\"]             = \"Tai\"\n     Locale[\"lo\"][\"iso\"]                = \"lao\"\n     Locale[\"lo\"][\"glotto\"]             = \"laoo1244\"\n     Locale[\"lo\"][\"script\"]             = \"Laoo\"\n-\n-    #54 Latin\n+    Locale[\"lo\"][\"spoken-in\"]          = \"Laos; Thailand; Cambodia\"\n+    Locale[\"lo\"][\"supported-by\"]       = \"google; bing; yandex\"\n+\n+    # Latin\n     Locale[\"la\"][\"name\"]               = \"Latin\"\n     Locale[\"la\"][\"endonym\"]            = \"Latina\"\n     Locale[\"la\"][\"translations-of\"]    = \"Versio de %s\"\n@@ -1392,11 +1393,14 @@\n     #Locale[\"la\"][\"examples\"]\n     #Locale[\"la\"][\"see-also\"]\n     Locale[\"la\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"la\"][\"branch\"]             = \"Latino-Faliscan\"\n     Locale[\"la\"][\"iso\"]                = \"lat\"\n     Locale[\"la\"][\"glotto\"]             = \"lati1261\"\n     Locale[\"la\"][\"script\"]             = \"Latn\"\n-\n-    #55 Latvian\n+    Locale[\"la\"][\"spoken-in\"]          = \"ancient Rome\"\n+    Locale[\"la\"][\"supported-by\"]       = \"google; yandex\"\n+\n+    # Latvian\n     Locale[\"lv\"][\"name\"]               = \"Latvian\"\n     Locale[\"lv\"][\"endonym\"]            = \"Latvie\u0161u\"\n     Locale[\"lv\"][\"translations-of\"]    = \"%s tulkojumi\"\n@@ -1405,9 +1409,12 @@\n     Locale[\"lv\"][\"examples\"]           = \"Piem\u0113ri\"\n     Locale[\"lv\"][\"see-also\"]           = \"Skatiet ar\u012b\"\n     Locale[\"lv\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"lv\"][\"branch\"]             = \"Eastern Baltic\"\n     Locale[\"lv\"][\"iso\"]                = \"lav\"\n     Locale[\"lv\"][\"glotto\"]             = \"latv1249\"\n     Locale[\"lv\"][\"script\"]             = \"Latn\"\n+    Locale[\"lv\"][\"spoken-in\"]          = \"Latvia\"\n+    Locale[\"lv\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n     # Lingala\n     Locale[\"ln\"][\"name\"]               = \"Lingala\"\n@@ -1418,11 +1425,14 @@\n     #Locale[\"ln\"][\"examples\"]\n     #Locale[\"ln\"][\"see-also\"]\n     Locale[\"ln\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"ln\"][\"branch\"]             = \"Bantu\"\n     Locale[\"ln\"][\"iso\"]                = \"lin\"\n     Locale[\"ln\"][\"glotto\"]             = \"ling1269\"\n     Locale[\"ln\"][\"script\"]             = \"Latn\"\n-\n-    #56 Lithuanian\n+    Locale[\"ln\"][\"spoken-in\"]          = \"DR Congo; Republic of the Congo; Angola; Central African Republic; southern South Sudan\"\n+    Locale[\"ln\"][\"supported-by\"]       = \"google\"\n+\n+    # Lithuanian\n     Locale[\"lt\"][\"name\"]               = \"Lithuanian\"\n     Locale[\"lt\"][\"endonym\"]            = \"Lietuvi\u0173\"\n     Locale[\"lt\"][\"translations-of\"]    = \"\u201e%s\u201c vertimai\"\n@@ -1431,9 +1441,12 @@\n     Locale[\"lt\"][\"examples\"]           = \"Pavyzd\u017eiai\"\n     Locale[\"lt\"][\"see-also\"]           = \"Taip pat \u017ei\u016br\u0117kite\"\n     Locale[\"lt\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"lt\"][\"branch\"]             = \"Eastern Baltic\"\n     Locale[\"lt\"][\"iso\"]                = \"lit\"\n     Locale[\"lt\"][\"glotto\"]             = \"lith1251\"\n     Locale[\"lt\"][\"script\"]             = \"Latn\"\n+    Locale[\"lt\"][\"spoken-in\"]          = \"Lithuania\"\n+    Locale[\"lt\"][\"supported-by\"]       = \"google; bing; yandex\"\n \n     # Luganda\n     Locale[\"lg\"][\"name\"]               = \"Luganda\"\n@@ -1445,11 +1458,14 @@\n     #Locale[\"lg\"][\"examples\"]\n     #Locale[\"lg\"][\"see-also\"]\n     Locale[\"lg\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"lg\"][\"branch\"]             = \"Bantu\"\n     Locale[\"lg\"][\"iso\"]                = \"lug\"\n     Locale[\"lg\"][\"glotto\"]             = \"gand1255\"\n     Locale[\"lg\"][\"script\"]             = \"Latn\"\n-\n-    #57 Luxembourgish\n+    Locale[\"lg\"][\"spoken-in\"]          = \"Uganda; Rwanda\"\n+    Locale[\"lg\"][\"supported-by\"]       = \"google\"\n+\n+    # Luxembourgish\n     Locale[\"lb\"][\"name\"]               = \"Luxembourgish\"\n     Locale[\"lb\"][\"endonym\"]            = \"L\u00ebtzebuergesch\"\n     #Locale[\"lb\"][\"translations-of\"]\n@@ -1458,9 +1474,14 @@\n     #Locale[\"lb\"][\"examples\"]\n     #Locale[\"lb\"][\"see-also\"]\n     Locale[\"lb\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"lb\"][\"branch\"]             = \"West Germanic\"\n     Locale[\"lb\"][\"iso\"]                = \"ltz\"\n     Locale[\"lb\"][\"glotto\"]             = \"luxe1241\"\n     Locale[\"lb\"][\"script\"]             = \"Latn\"\n+    Locale[\"lb\"][\"spoken-in\"]          = \"Luxembourg\"\n+    Locale[\"lb\"][\"supported-by\"]       = \"google; yandex\"\n+\n+\n \n     #58 Macedonian\n     Locale[\"mk\"][\"name\"]               = \"Macedonian\"\n@@ -2076,7 +2097,7 @@\n     Locale[\"th\"][\"synonyms\"]           = \"\u0e04\u0e33\u0e1e\u0e49\u0e2d\u0e07\u0e04\u0e27\u0e32\u0e21\u0e2b\u0e21\u0e32\u0e22\"\n     Locale[\"th\"][\"examples\"]           = \"\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\"\n     Locale[\"th\"][\"see-also\"]           = \"\u0e14\u0e39\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\"\n-    Locale[\"th\"][\"family\"]             = \"Tai-Kadai\"\n+    Locale[\"th\"][\"family\"]             = \"Kra-Dai\"\n     Locale[\"th\"][\"iso\"]                = \"tha\"\n     Locale[\"th\"][\"glotto\"]             = \"thai1261\"\n     Locale[\"th\"][\"script\"]             = \"Thai\"\n"}
{"commit":"ff6f2823a9313b520d1161539125733203ad6d41","subject":"Translators\/GoogleTranslate: add \"Did you mean\" hint","message":"Translators\/GoogleTranslate: add \"Did you mean\" hint\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/GoogleTranslate.awk\n+++ include\/Translators\/GoogleTranslate.awk\n@@ -150,8 +150,13 @@\n             altTranslations[group[1]][group[2]] = postprocess(literal(ast[i]))\n \n         # 7 - autocorrection\n-        if (i ~ \"^0\" SUBSEP \"7\" SUBSEP \"5$\")\n-            w(\"Showing translation for:  (use -no-auto to disable autocorrect)\")\n+        if (i ~ \"^0\" SUBSEP \"7\" SUBSEP \"5$\") {\n+            if (ast[i] == \"true\")\n+                w(\"Showing translation for:  (use -no-auto to disable autocorrect)\")\n+            else\n+                w(\"Did you mean: \"                                      \\\n+                  ansi(\"bold\", unparameterize(ast[\"0\" SUBSEP \"7\" SUBSEP \"1\"])))\n+        }\n \n         # 8 - identified source languages\n         if (i ~ \"^0\" SUBSEP \"8\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+$\" ||\n"}
{"commit":"1e1628b4489b052719102ab7cb16d806bfd14b6c","subject":"correct color asignment","message":"correct color asignment\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/deltadot.awk\n+++ scripts\/deltadot.awk\n@@ -72,8 +72,8 @@\n             else {\n                 diff = edge2[e] - edge1[e];\n                 if(diff < 0)\n-                    # diff = \"<font color=\\\"\" DROP \"\\\">\" diff \"<\/font>\" #  breaks svg\n-                    edges[e \"(\" diff \")>, color=\\\"\" DROP \"\\\"];\"]\n+                    # diff = \"<font color=\\\"\" LESS \"\\\">\" diff \"<\/font>\" #  breaks svg\n+                    edges[e \"(\" diff \")>, color=\\\"\" LESS \"\\\"];\"]\n                 else\n                     edges[e \"(\" diff \")>, color=\\\"\" DFLT \"\\\"];\"]\n             }\n"}
{"commit":"3a8636d5331a48be04b98bfacc82a76a75d03052","subject":"More cleansing","message":"More cleansing\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- data\/wiktionary-edges.awk\n+++ data\/wiktionary-edges.awk\n@@ -11,7 +11,7 @@\n     gsub(\/[\\[\\]{}]{2,}\/, \"\");\n \n     for (i = 2; i <= 3; i++) {\n-        gsub(\/^.+\\.: \/, \"\", $i);\n+        gsub(\/^.+\\.(|:) \/, \"\", $i);\n         gsub(\/(^ +| +$)\/, \"\", $i);\n         gsub(\/\\{\\{.+\\}\\}\/, \"\", $i);\n         gsub(\/\\}{2,} \/, \"\", $i);\n"}
{"commit":"b964073547ac6d3340dc8663fa5307a6e27e635a","subject":"Reassign publishers.","message":"Reassign publishers.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@30387 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -30,9 +30,9 @@\n   #    n[pn] = $2\n       r[pn] = $3\n       if (r[pn] == \"\") {\n-        if ((substr(p[pn],1,2) <= \"Am\")) {\n-          r[pn] = \"7\"\n-        } else if ((substr(p[pn],1,2) >= \"An\") && (substr(p[pn],1,2) <= \"Bz\")) {\n+        if ((substr(p[pn],1,2) <= \"American H\")) {\n+          r[pn] = \"5\"\n+        } else if ((substr(p[pn],1,2) >= \"AMerican I\") && (substr(p[pn],1,2) <= \"Bz\")) {\n           r[pn] = \"4\"\n         } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Nz\")) {\n           r[pn] = \"5\"\n"}
{"commit":"419864a2afe7642ce248d090bc1585334c23bf06","subject":"accomadate some exceptions, shorten predicate when an anchor is used","message":"accomadate some exceptions, shorten predicate when an anchor is used\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -14,43 +14,79 @@\n \t\treturn substr(uri,1,RLENGTH -1)\n }\n \n+# keep underscore, letters & numbers \n+# change the rest to (a single) underscore sans leading & trailing\n+function simplify(str){\n+\tgsub(\/[^[:alpha:][:digit:]_]+\/,\"_\",str)\n+\tgsub(\/^_+|_+$\/, \"\",str)\n+\tgsub(\/__*\/,\"_\",str)\n+\treturn str\n+}\n+\n function contract(uri){\n \tif(uri in prefix)\n \t\treturn prefix[uri]\n-\telse {\n-\t\tgsub(\/[:.\/-]+\/,\"_\",uri)\n-\t\treturn uri\n-\t}\n+\telse \n+\t\tfor(ex in exception){\n+\t\t\tstart = match(uri, ex)\n+\t\t\tif(0 < start)\n+\t\t\t\treturn exception[substr(uri, start, RLENGTH)]\n+\t\t}\n+\t# else\n+\t\treturn simplify(uri)\n }\n \n+# get the final (identifier) portion of a slashed path\n+function final(uri){\n+\tsplit(trim(uri),b,\"\/\")\n+\tp = b[length(b)]\n+\tanchor = match(p, \"#\")\n+\tif(anchor > 0)\n+\t\tp = substr(p, anchor+1)\n+\treturn\n+}\n+\n+BEGIN{\n+\t# Monarchinitiave's dipper ingest files have cases \n+\t# which escape the general rules\n+\t# in everything\n+\texception[\"http:\/\/www.w3.org\/2002\/07\"]=\"OWL_\"\n+\t# in go,mgi,wormbase\n+\texception[\"http:\/\/dx.doi.org\"]=\"DOI\"\n+\t# in mgi\n+\texception[\"https:\/\/www.mousephenotype.org\"]=\"IMPC_\"\n+\t# in panther\n+\texception[\"http:\/\/identifiers.org\/wormbase\"]=\"WormBase\"\n+\t# just until skolemized bnodes get in the curie map?\n+\texception[\"https:\/\/monarchinitiave.org\/.well-known\/genid\"]=\"BNODE\"\n+}\n+\n+# main loop\n # parse and stash the curie file (first file)\n (FNR == NR) && \/^'[^']*' *: 'http[^']*'.*\/ {\n \tsplit($0,a,\"'\")\n \tprefix[stripid(a[4])]=a[2]\n }\n-\n # process the ntriple file(s)  which are not the first file\n-### all are uri\n+### case when subject predicate and object are all uri\n (FNR != NR) && \/^<[^>]*> <[^>]*> <[^>]*> \\.$\/ {\n \t### Subject (uri)\n \ts = contract(stripid(trim($1)))\n \t### Predicate (uri)\n-\tsplit(trim($2),b,\"\/\")\n-\tp = b[length(b)]\n+\tp = final($2)\n \t### Object (like subject)\n \to = contract(stripid(trim($3)))\n-\tedgelist[s \" -> \" o \" [label=\\\"\" p \"\\\"];\"]++\n+\tedgelist[s \" -> \" o \" [label=\\\"\" p ]++\n }\n-### object is a literal\n+### case when the object is a literal\n (FNR != NR) && \/^<[^>]*> <[^>]*> \"[^\"]*\" \\.$\/ {\n \t### Subject (uri)\n \ts = contract(stripid(trim($1)))\n \t### Predicate (uri)\n-\tsplit(trim($2),b,\"\/\")\n-\tp = b[length(b)]\n+\tp = final($2)\n \t### not a uri\n \to = \"LITERAL\"\n-\tedgelist[s \" -> \" o \" [label=\\\"\" p \"\\\"];\"]++\n+\tedgelist[s \" -> \" o \" [label=\\\"\" p ]++\n \tnodelist[o \" [shape=record];\"]++\n }\n \n@@ -59,7 +95,7 @@\n \tprint \"rankdir=LR;\"\n \tprint \"charset=\\\"utf-8\\\";\"\n \tfor(edge in edgelist){\n-\t\tprint edge\n+\t\tprint edge \" (\" edgelist[edge] \")\\\"];\"\n \t}\n \tfor(node in nodelist){\n \t\tprint node\n"}
{"commit":"74c626d7bc6d29a8017ae7855cea9ecaa31381d0","subject":"Bugfix change manual->dhcp","message":"Bugfix change manual->dhcp\n","repos":"JoeKuan\/Network-Interfaces-Script","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- changeInterface.awk\n+++ changeInterface.awk\n@@ -88,7 +88,7 @@\n \n {\n     # maybe remove auto if manual is selected??\n-    if ($1 == \"auto\" && remove ) {\n+    if (($1 == \"auto\" && remove) || ($1 == \"auto\" && manual) ) {\n         if($2 != device) \n             print;\n         next;\n@@ -120,6 +120,13 @@\n                     print \"iface\", device, \"inet static\";\n                     next;\n                 }\n+        # change to manual if defined\n+                if (manual) {\n+                    sub(\/ dhcp\/, \" manual\");\n+                    print $0;\n+                    print \"\\n\"\n+                    next;\n+                }\n             }\n \n             else if (match ($0, \/ manual\/)) {\n@@ -134,6 +141,7 @@\n                 if (dhcp) {\n                     sub(\/ manual\/, \" dhcp\");\n                     print $0;\n+                    print \"\\n\"\n                     next;\n                 }\n             }\n"}
{"commit":"85592bf9c93b5eafb62368538f2178ce9aef55fb","subject":"Fix invisible comments - CTR","message":"Fix invisible comments - CTR\n","repos":"apache\/incubator-tinkerpop,apache\/tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,apache\/tinkerpop,artem-aliev\/tinkerpop,pluradj\/incubator-tinkerpop,apache\/tinkerpop,robertdale\/tinkerpop,artem-aliev\/tinkerpop,apache\/tinkerpop,pluradj\/incubator-tinkerpop,apache\/tinkerpop,artem-aliev\/tinkerpop,robertdale\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,krlohnes\/tinkerpop,apache\/tinkerpop,apache\/incubator-tinkerpop,krlohnes\/tinkerpop,robertdale\/tinkerpop,krlohnes\/tinkerpop,krlohnes\/tinkerpop,artem-aliev\/tinkerpop,robertdale\/tinkerpop,robertdale\/tinkerpop,pluradj\/incubator-tinkerpop","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- docs\/postprocessor\/processor.awk\n+++ docs\/postprocessor\/processor.awk\n@@ -28,7 +28,7 @@\n \n \/<\\\/style>\/ {\n   if (!styled) {\n-    print \".invisible {position: absolute; left: 9999px}\"\n+    print \".invisible {color: rgba(0,0,0,0); font-size: 0;}\"\n     styled=1\n   }\n }\n"}
{"commit":"367f269669f42f4c07cf075c687457209e07244c","subject":"Fix for line breaks in argument lists.","message":"Fix for line breaks in argument lists.\n","repos":"TheHubbit\/PyInventor,TheHubbit\/PyInventor","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- utils\/pydoc2html.awk\n+++ utils\/pydoc2html.awk\n@@ -103,7 +103,7 @@\n           print; \n           isBullet = 1; next; \n         }\n-\/^[ -]+[a-zA-Z0-9_, ]+: \/ { sub(\/^[ -]+\/, \"\"); print \"<li>\" $0; isBullet = 1; next; }\n+\/^[ -]*[a-zA-Z0-9_, ]+: \/ { sub(\/^[ -]+\/, \"\"); print \"<li>\" $0; isBullet = 1; next; }\n \/-----\/ { print \"\"; dataDesc = 0; next; }\n         {\n           sub(\/^[ \\t]*\/, \"\");\n"}
{"commit":"8865e1a3c150ebe724b27d6f8c6d14ef9dde34db","subject":"Help: add getHelp()","message":"Help: add getHelp()\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Help.awk\n+++ include\/Help.awk\n@@ -102,3 +102,13 @@\n             \"\u2502 \" Locale[\"he\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"he\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ne\"][\"display\"] \"            - \" AnsiCode[\"bold\"] \"ne\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"zu\"][\"display\"] \"     - \" AnsiCode[\"bold\"] \"zu\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n             \"\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\"\n }\n+\n+# Return help as a string.\n+# Parameters:\n+#     displayName = \"endonym\" or \"name\"\n+function getHelp(displayName) {\n+    return \"Usage: translate {[source]=[target]} text ...\\n\" \\\n+        \"       translate {[source]=[target1]+[target2]+...} text ...\\n\" \\\n+        \"       translate text ...\\n\\n\" \\\n+        \"Language codes for [source] and [target]:\\n\" getCodeReferenceTable(displayName)\n+}\n"}
{"commit":"e040c87f98202926111bb1fd0a4e2cb5e30c4954","subject":"Initial work on handling broken episodes","message":"Initial work on handling broken episodes\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -36,11 +36,27 @@\n     # Extract sortkey from URL\n     nflds = split (URL,fld,\"_\")\n     if (URL ~ \/_S[[:digit:]]*_E[[:digit:]]*_[[:digit:]]*$\/) {\n+        # \/us\/episode\/35_Days_S3_E8_23851\n+        # Season 3, Episode 8\n         seasonNumber = substr(fld[nflds-2], 2)\n         episodeNumber = substr(fld[nflds-1], 2)\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n+    } else if (URL ~ \/_E[[:digit:]]*_[[:digit:]]*$\/) {\n+        # \/us\/episode\/35_Hours_E1_26129\n+        # 35 Hours, Episode 1\n+        seasonNumber = \"99\"\n+        episodeNumber = substr(fld[nflds-1], 2)\n+        sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n+    } else if (URL ~ \/Episode_[[:digit:]]*_[[:digit:]]*$\/) {\n+        # \/us\/episode\/Episode_5_26089\n+        # Season 4, Episode 5\n+        seasonNumber = \"98\"\n+        episodeNumber = substr(fld[nflds-1], 1)\n+        sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n     } else {\n         URL ~ \/^\\\/us\\\/movie\\\/\/ ? showtype = \"M\" : showtype = \"E\"\n+        # \/us\/episode\/Orkneys_Stone_Age_Temple_7144\n+        # A History of Ancient Britain Special, Orkney's Stone Age Temple\n         sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n     }\n \n"}
{"commit":"b43d5682058fc2fe0dbde8fd494375f26d245123","subject":"makeDistortosConfiguration.awk: fix shebang","message":"makeDistortosConfiguration.awk: fix shebang\n\nUse proper location of AWK in the shebang.","repos":"jasmin-j\/distortos,DISTORTEC\/distortos,CezaryGapinski\/distortos,jasmin-j\/distortos,DISTORTEC\/distortos,DISTORTEC\/distortos,CezaryGapinski\/distortos,DISTORTEC\/distortos,CezaryGapinski\/distortos,CezaryGapinski\/distortos,jasmin-j\/distortos,jasmin-j\/distortos,jasmin-j\/distortos,CezaryGapinski\/distortos","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- scripts\/makeDistortosConfiguration.awk\n+++ scripts\/makeDistortosConfiguration.awk\n@@ -1,4 +1,4 @@\n-#!\/bin\/awk -f\n+#!\/usr\/bin\/awk -f\n \n #\n # file: makeDistortosConfiguration.awk\n@@ -8,7 +8,7 @@\n # This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not\n # distributed with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n #\n-# date: 2015-10-02\n+# date: 2015-10-11\n #\n \n BEGIN {\n"}
{"commit":"1983c6c4817a7ba10807691ab385549e86c45eb8","subject":"Changing display of parsed config","message":"Changing display of parsed config\n","repos":"damiancarrillo\/objc-formatter","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- src\/util.template.awk\n+++ src\/util.template.awk\n@@ -30,8 +30,7 @@\n }\n \n function printConfig(config) {\n-\tprint \".- Config -------------------------------------------------\" \\\n-\t\t\"--------------------.\"\n+\tprint \"\u250f\u2501 Config \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2513\"\n \n \tmaxEntry = 0\n \n@@ -39,16 +38,15 @@\n \t\tmaxEntry = max(maxEntry, length(entry))\n \t}\n \n-\tremaining = 73 - maxEntry\n+\tremaining = 72 - maxEntry\n \n-\tformat = \"| %-\" maxEntry \"s = %-\" remaining \"s |\\n\"\n+\tformat = \"\u2503 %-\" maxEntry \"s = %-\" remaining \"s \u2503\\n\"\n \n \tfor (entry in config) {\n \t\tprintf(format, entry, config[entry])\n \t}\n \n-\tprint \"'---------------------------------------------------------\" \\\n-\t\t\"---------------------'\"\n+\tprint \"\u2517\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u251b\"\n }\n \n function trim(s) {\n"}
{"commit":"07f34b824038435359ab34c3cb33da4b2c939efa","subject":"Indent the solve code produced by fzn2py so that it does not get run when the module is imported.","message":"Indent the solve code produced by fzn2py so that it does not get run when the module is imported.\n","repos":"JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -260,46 +260,47 @@\n \tprint \"    return model, output_vars\";\n \n \tprint \"\";\n-\tprint \"model, output_vars = get_model()\";\n-\tif(output_vars) print output_vars \" = output_vars\";\n-\tprint \"solvers = ['Mistral', 'SCIP', 'MiniSat', 'Toulbar2', 'Gurobi']\";\n-\tprint \"default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1), ('restart', GEOMETRIC), ('base', 256), ('factor', 1.3)])\";\n-\tprint \"param = input(default)\";\n-\tprint \"solver = model.load(param['solver'])\";\n-\tprint \"solver.setVerbosity(param['verbose'])\";\n-\tprint \"solver.setTimeLimit(param['tcutoff'] - int(time.clock()+0.5))\";\n-\tprint \"solver.setHeuristic(param['var'], param['val'], param['rand'])\";\n-\tprint \"if param['solver'] == 'Gurobi':\";\n-\tprint \"    solver.setThreadCount(param['threads'])\";\n-\tprint \"if param['solver'] == 'Mistral':\";\n-\tprint \"    # LUBY, GEOMETRIC = 0, 1\"\n-\tprint \"    solver.solveAndRestart(param['restart'], param['base'], param['factor'])\";\n-\tprint \"else:\";\n-\tprint \"    solver.solve()\";\n-\tprint \"if solver.is_sat():\"\n+\tprint \"if __name__ == '__main__':\";\n+\tprint \"    model, output_vars = get_model()\";\n+\tif(output_vars) print \"    \" output_vars \" = output_vars\";\n+\tprint \"    solvers = ['Mistral', 'SCIP', 'MiniSat', 'Toulbar2', 'Gurobi']\";\n+\tprint \"    default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1), ('restart', GEOMETRIC), ('base', 256), ('factor', 1.3)])\";\n+\tprint \"    param = input(default)\";\n+\tprint \"    solver = model.load(param['solver'])\";\n+\tprint \"    solver.setVerbosity(param['verbose'])\";\n+\tprint \"    solver.setTimeLimit(param['tcutoff'] - int(time.clock()+0.5))\";\n+\tprint \"    solver.setHeuristic(param['var'], param['val'], param['rand'])\";\n+\tprint \"    if param['solver'] == 'Gurobi':\";\n+\tprint \"        solver.setThreadCount(param['threads'])\";\n+\tprint \"    if param['solver'] == 'Mistral':\";\n+\tprint \"        # LUBY, GEOMETRIC = 0, 1\"\n+\tprint \"        solver.solveAndRestart(param['restart'], param['base'], param['factor'])\";\n+\tprint \"    else:\";\n+\tprint \"        solver.solve()\";\n+\tprint \"    if solver.is_sat():\"\n \tfor (i=1; i<=n; i++) {\n \t\te = varnames[i];\n \t\tif (output[e]==1) {\n-\t\t\tif (e != objective && e != \"objective\" && e != \"obj\") print \"    print '\" e \" = ',\" e \".get_value(),';'\";\n-\t\t\telse print \"    print '\" e \" = ', (solver.getOptimum() if param['solver'] == 'Toulbar2' else \" e \".get_value()),';'\";\n+\t\t\tif (e != objective && e != \"objective\" && e != \"obj\") print \"        print '\" e \" = ',\" e \".get_value(),';'\";\n+\t\t\telse print \"        print '\" e \" = ', (solver.getOptimum() if param['solver'] == 'Toulbar2' else \" e \".get_value()),';'\";\n \t\t} else {\n-\t\t\tprint \"    print '\" e \" = \" outputstring[e] \",',str(\" e \"),');'\";\n-\t\t}\n-\t}\n-\tprint \"    print '----------'\";\n+\t\t\tprint \"        print '\" e \" = \" outputstring[e] \",',str(\" e \"),');'\";\n+\t\t}\n+\t}\n+\tprint \"        print '----------'\";\n \tif (objective){\n-\t\tprint \"    if solver.is_opt():\"\n+\t\tprint \"        if solver.is_opt():\"\n+\t\tprint \"            print '=========='\"\n+\t} else {\n \t\tprint \"        print '=========='\"\n-\t} else {\n-\t\tprint \"    print '=========='\"\n-\t}\n-\tprint \"elif solver.is_unsat():\"\n-\tprint \"    print '=====UNSATISFIABLE====='\"\n-    print \"else:\"\n-\tprint \"    print '=====UNKNOWN====='\"\n-\tprint \"print '% SolveTime', solver.getTime()\";\n-\tprint \"print '% Nodes', solver.getNodes()\";\n-\tprint \"print '% Failures', solver.getFailures()\";\n-\tif (objective) print \"if solver.is_sat(): print '% Objective', (solver.getOptimum() if param['solver'] == 'Toulbar2' else \" objective \".get_value())\";\n-\t}\n-}\n+\t}\n+\tprint \"    elif solver.is_unsat():\"\n+\tprint \"        print '=====UNSATISFIABLE====='\"\n+    print \"    else:\"\n+\tprint \"        print '=====UNKNOWN====='\"\n+\tprint \"    print '% SolveTime', solver.getTime()\";\n+\tprint \"    print '% Nodes', solver.getNodes()\";\n+\tprint \"    print '% Failures', solver.getFailures()\";\n+\tif (objective) print \"    if solver.is_sat(): print '% Objective', (solver.getOptimum() if param['solver'] == 'Toulbar2' else \" objective \".get_value())\";\n+\t}\n+}\n"}
{"commit":"68d170bdda4431de814bb6313bf3248216962289","subject":"added dct:isReferencedBy to owl:sameAs data subset","message":"added dct:isReferencedBy to owl:sameAs data subset\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/sameasInNT.awk\n+++ bin\/util\/sameasInNT.awk\n@@ -4,3 +4,6 @@\n $2 == \"<http:\/\/www.w3.org\/2002\/07\/owl#sameAs>\" {\n    print\n }\n+$2 == \"<http:\/\/purl.org\/dc\/terms\/isReferencedBy>\" {\n+   print\n+}\n"}
{"commit":"15077070e184f9339d2c89b1b695ec988cdb801b","subject":"Languages: \u6b63\u9ad4\u4e2d\u6587 -> \u7e41\u9ad4\u4e2d\u6587 (close #438)","message":"Languages: \u6b63\u9ad4\u4e2d\u6587 -> \u7e41\u9ad4\u4e2d\u6587 (close #438)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -266,7 +266,7 @@\n \n     #15b Chinese (Mandarin), Traditional\n     Locale[\"zh-TW\"][\"name\"]            = \"Chinese Traditional\"\n-    Locale[\"zh-TW\"][\"endonym\"]         = \"\u6b63\u9ad4\u4e2d\u6587\"\n+    Locale[\"zh-TW\"][\"endonym\"]         = \"\u7e41\u9ad4\u4e2d\u6587\"\n     Locale[\"zh-TW\"][\"translations-of\"] = \"\u300c%s\u300d\u7684\u7ffb\u8b6f\"\n     Locale[\"zh-TW\"][\"definitions-of\"]  = \"\u300c%s\u300d\u7684\u5b9a\u7fa9\"\n     Locale[\"zh-TW\"][\"synonyms\"]        = \"\u540c\u7fa9\u8a5e\"\n"}
{"commit":"54b629ea5d460630f140547434a8b2c459f4dadf","subject":"fix a regression bug (related to #24)","message":"fix a regression bug (related to #24)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -136,14 +136,15 @@\n             altTranslations[group[1]][group[2]] = postprocess(literal(ast[i]))\n \n         # Identified source languages\n-        if (i ~ \"^0\" SUBSEP \"8\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+$\")\n+        if (i ~ \"^0\" SUBSEP \"8\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+$\" ||\n+            i ~ \"^0\" SUBSEP \"2$\")\n             append(ils, literal(ast[i]))\n     }\n     PROCINFO[\"sorted_in\"] = saveSortedIn\n \n     translation = join(translations)\n \n-    il = belongsTo(sl, ils) ? sl : ils[0]\n+    il = !anything(ils) || belongsTo(sl, ils) ? sl : ils[0]\n \n     # Generate output\n     if (!isVerbose) {\n"}
{"commit":"a11911b8c7ad46ad22b462d0300a918a897983a5","subject":"iostat: fixing timestamps","message":"iostat: fixing timestamps\n","repos":"excess-project\/monitoring-agent,excess-project\/monitoring-agent,excess-project\/monitoring-agent","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- client\/plugins\/iostat\/iostat.awk\n+++ client\/plugins\/iostat\/iostat.awk\n@@ -4,7 +4,7 @@\n }\n (NF==6 && !\/Device\/ && !\/d\/) {\n     current_time=\"\"\n-    \"date +'%Y-%m-%d'\" |& getline current_time\".123\";\n+    \"date +'%Y-%m-%dT%T.%3N'\" |& getline current_time;\n     close(\"date +'%Y-%m-%d'\")\n \n     epoch_time=\"\"\n@@ -29,7 +29,7 @@\n }\n (NF==6 && !\/Device\/ && \/d\/) {\n     current_time=\"\"\n-    \"date +'%Y-%m-%d'\" |& getline current_time\".123\";\n+    \"date +'%Y-%m-%dT%T.%3N'\" |& getline current_time;\n     close(\"date +'%Y-%m-%d'\")\n \n     epoch_time=\"\"\n"}
{"commit":"0d9d3e2d84ea965dce4130cf01c1565524fe2d88","subject":"- modpost improvement","message":"- modpost improvement\n","repos":"0x7678\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -2015,6 +2015,9 @@\n \t    command = cat_command(\"\/boot\/System.map-\" kversion \".bz2\")\n \t    if (command) { read_systemmap(command, \"vmlinux\", \"kernel\", \"systemmap\") }\n \t    else {\n+\t    command = cat_command(\"\/lib\/modules\/\" kversion \"\/build\/System.map\")\n+\t    if (command) { read_systemmap(command, \"vmlinux\", \"kernel\", \"systemmap\") }\n+\t    else {\n \t    print_error(\"r: systemmap, file not found\") } } }\n \t}\n \tif ((\"infile\" in values) && values[\"infile\"]) {\n"}
{"commit":"7bf36af2860805c1f01dc97abc7532fc570ccefd","subject":"convert edge lables from quoted strings to 'html-like' to highlight losses","message":"convert edge lables from quoted strings to 'html-like' to highlight losses\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/label_dot_edge.awk\n+++ scripts\/label_dot_edge.awk\n@@ -8,35 +8,29 @@\n #\n # Arguments: two files\n # Loads the first file as a map from  to curie to label :\n- # (expects: \"label\": \"curie\",)\n+ # (expects: \"label\": \"curie:term\",)\n # Reads the second Graphviz digraph dot format file:\n # looks for <term> as edge-text\n-# and appends \"! <label> (Iff <term> is found in map)\n+# and appends \"! <label> (Iff curie:term is found in the translation table)\n # note: This \"<term> ! <label>\" structure is a convention used by Ontologists.\n \n \n BEGIN{FS=\"\\\"\"; OFS=\"\\t\"}\n-# load labels\n+# load label->curie:term  as curie:term -> label\n FNR == NR && \/^\"\/{label[$4]=$2}\n \n-# output lines that do not get labels\n-FNR != NR && !\/.* -> .*label=.*\/ {print}\n+# output graphviz lines that do not get labels\n+FNR != NR && ! \/.* -> .* [label=<.*>];\/ {print}\n \n # output lines w\/labels if they are available\n-\n-FNR != NR && \/.* -> .*label=.*\/ {\n+FNR != NR && \/.* -> .* [label=<.*>];\/ {\n \tline=\"\";\n \tsplit($0, row, \/ \/)\n-\n-\tsplit(row[4], term, \/\"\/)\n+\tsplit(row[4], term, \/<>\/)\n \tsplit(term[2], lclid, \":\")\n \n-\tif (term[2] in label && lclid[2] != label[term[2]]){\n-\t\tterm[2] = term[2] \" ! \" label[term[2]];\n-\t\trow[4] = term[1];\n-\t\tfor(i=2;i<=length(term);i++)\n-\t\t\trow[4] = row[4] \"\\\"\" term[i]\n-\t}\n+\tif (term[2] in label && lclid[2] != label[term[2]])\n+\t\trow[4] = term[1] \"<\" term[2] \" ! \" label[term[2]] \">\" term[3]\n \tline = row[1]\n \tfor(i=2;i<=length(row);i++)\n \t\tline = line \" \" row[i]\n"}
{"commit":"48ec1c19d6d390fc8d7a4cf7f6c61767f17d12c3","subject":"Add support for dollar single quotes","message":"Add support for dollar single quotes\n\nThis unbreaks tests\/bsda_obj.sh, which silently was not performed\ncorrectly.\n","repos":"lonkamikaze\/bsda2,lonkamikaze\/bsda2","returncode":0,"stderr":"unknown","license":"isc","lang":"Awk","diff":""}
{"commit":"5c1705defaf69daea7ecb9e6213bf4feeddc1542","subject":"Theme: update default theme","message":"Theme: update default theme\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Theme.awk\n+++ include\/Theme.awk\n@@ -28,16 +28,20 @@\n         loadOptions(script)\n     } else {\n         # Default theme\n-        Option[\"sgr-original\"][1] = \"bold\"\n-        Option[\"sgr-original\"][2] = \"negative\"\n         Option[\"sgr-translation\"] = \"bold\"\n+        Option[\"sgr-translation-phonetics\"] = \"bold\"\n         Option[\"sgr-prompt-message-original\"] = \"underline\"\n+        Option[\"sgr-languages-sl\"] = \"underline\"\n+        Option[\"sgr-languages-tl\"] = \"bold\"\n+        Option[\"fmt-languages\"] = \"[ %s -> %t ]\"\n         Option[\"sgr-original-dictionary-detailed-explanation\"] = \"bold\"\n+        Option[\"sgr-original-dictionary-detailed-synonyms-item\"] = \"bold\"\n+        Option[\"sgr-original-dictionary-synonyms-synonyms-item\"] = \"bold\"\n         Option[\"sgr-original-dictionary-examples-original\"][1] = \"bold\"\n-        Option[\"sgr-original-dictionary-examples-original\"][2] = \"negative\"\n-        Option[\"sgr-original-dictionary-see-also-item\"] = \"underline\"\n+        Option[\"sgr-original-dictionary-examples-original\"][2] = \"underline\"\n+        Option[\"sgr-original-dictionary-see-also-phrases-item\"] = \"bold\"\n         Option[\"sgr-dictionary-word\"] = \"bold\"\n         Option[\"sgr-alternatives-original\"] = \"underline\"\n-        Option[\"sgr-alternatives-translation\"] = \"bold\"\n+        Option[\"sgr-alternatives-translations-item\"] = \"bold\"\n     }\n }\n"}
{"commit":"cd806b960d79d14e5c74f4930c96ee7161d93992","subject":"Provide the same unmarked symbold on the fr.apple layout as found on the adb map; provides all the missing symbold (such as ~ | and \\) one can not really use unix without. With (again) some help from Jean-Marc Harang.","message":"Provide the same unmarked symbold on the fr.apple layout as found on the\nadb map; provides all the missing symbold (such as ~ | and \\) one can not\nreally use unix without.\nWith (again) some help from Jean-Marc Harang.\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/makemap.awk\n+++ dev\/usb\/makemap.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: makemap.awk,v 1.4 2005\/05\/19 10:40:48 miod Exp $\n+#\t$OpenBSD: makemap.awk,v 1.5 2005\/05\/19 17:49:54 miod Exp $\n #\n # Copyright (c) 2005, Miodrag Vallat\n #\n@@ -31,7 +31,7 @@\n #\n \n BEGIN {\n-\trcsid = \"$OpenBSD: makemap.awk,v 1.4 2005\/05\/19 10:40:48 miod Exp $\"\n+\trcsid = \"$OpenBSD: makemap.awk,v 1.5 2005\/05\/19 17:49:54 miod Exp $\"\n \tifdepth = 0\n \tignore = 0\n \tdeclk = 0\n@@ -319,14 +319,44 @@\n \t\tif (mapname == \"ukbd_keydesc_fr[]\") {\n \t\t\tprint $0\n \t\t\tprint \"\\nstatic const keysym_t ukbd_keydesc_fr_apple[] = {\"\n+\t\t\tprint \"    KC(5),\\tKS_b,\\t\\tKS_B,\\t\\tKS_ssharp,\"\n+\t\t\tprint \"    KC(8),\\tKS_e,\\t\\tKS_E,\\t\\tKS_ecircumflex,\\tKS_Ecircumflex,\"\n+\t\t\tprint \"    KC(11),\\tKS_h,\\t\\tKS_H,\\t\\tKS_Igrave,\\tKS_Icircumflex,\"\n+\t\t\tprint \"    KC(12),\\tKS_i,\\t\\tKS_I,\\t\\tKS_icircumflex,\\tKS_idiaeresis,\"\n+\t\t\tprint \"    KC(13),\\tKS_j,\\t\\tKS_J,\\t\\tKS_Idiaeresis,\\tKS_Iacute,\"\n+\t\t\tprint \"    KC(14),\\tKS_k,\\t\\tKS_K,\\t\\tKS_Egrave,\\tKS_Ediaeresis,\"\n+\t\t\tprint \"    KC(15),\\tKS_l,\\t\\tKS_L,\\t\\tKS_voidSymbol,\\tKS_bar,\"\n+\t\t\tprint \"    KC(16),\\tKS_comma,\\tKS_question,\\tKS_voidSymbol,\\tKS_questiondown,\"\n+\t\t\tprint \"    KC(17),\\tKS_n,\\t\\tKS_N,\\t\\tKS_asciitilde,\"\n+\t\t\tprint \"    KC(20),\\tKS_a,\\t\\tKS_A,\\t\\tKS_ae,\\t\\tKS_AE,\"\n+\t\t\tprint \"    KC(21),\\tKS_r,\\t\\tKS_R,\\t\\tKS_registered,\\tKS_comma,\"\n+\t\t\tprint \"    KC(22),\\tKS_s,\\t\\tKS_S,\\t\\tKS_Ograve,\"\n+\t\t\tprint \"    KC(26),\\tKS_z,\\t\\tKS_Z,\\t\\tKS_Acircumflex,\\tKS_Aring,\"\n+\t\t\tprint \"    KC(28),\\tKS_y,\\t\\tKS_Y,\\t\\tKS_Uacute,\"\n+\t\t\tprint \"    KC(31),\\tKS_eacute,\\tKS_2,\\t\\tKS_ediaeresis,\"\n+\t\t\tprint \"    KC(32),\\tKS_quotedbl,\\tKS_3,\"\n+\t\t\tprint \"    KC(33),\\tKS_apostrophe,\\tKS_4,\"\n+\t\t\tprint \"    KC(34),\\tKS_parenleft,\\tKS_5,\\t\\tKS_braceleft,\\tKS_bracketleft,\"\n \t\t\tprint \"    KC(35),\\tKS_section,\\tKS_6,\"\n+\t\t\tprint \"    KC(36),\\tKS_egrave,\\tKS_7,\\t\\tKS_guillemotleft,\"\n+\t\t\tprint \"\\t\\t\\t\\t\\t\\tKS_guillemotright,\"\n \t\t\tprint \"    KC(37),\\tKS_exclam,\\tKS_8,\"\n+\t\t\tprint \"    KC(38),\\tKS_ccedilla,\\tKS_9,\\t\\tKS_Ccedilla,\\tKS_Aacute,\"\n+\t\t\tprint \"    KC(37),\\tKS_exclam,\\tKS_8,\\t\\tKS_exclamdown,\\tKS_Ucircumflex,\"\n+\t\t\tprint \"    KC(39),\\tKS_agrave,\\tKS_0,\\t\\tKS_oslash,\\tKS_Ooblique,\"\n+\t\t\tprint \"    KC(45),\\tKS_parenright,\\tKS_degree,\\tKS_braceright,\\tKS_bracketright,\"\n \t\t\tprint \"    KC(46),\\tKS_minus,\\tKS_underscore,\"\n-\t\t\tprint \"    KC(48),\\tKS_dollar,\\tKS_asterisk,\"\n-\t\t\tprint \"    KC(50),\\tKS_backslash,\\tKS_sterling,\"\n-\t\t\tprint \"    KC(53),\\tKS_at,\\tKS_numbersign,\"\n+\t\t\tprint \"    KC(47),\\tKS_dead_circumflex, KS_dead_diaeresis,\"\n+\t\t\tprint \"\\t\\t\\t\\t\\t\\tKS_ocircumflex,\\tKS_Ocircumflex,\"\n+\t\t\tprint \"    KC(48),\\tKS_dollar,\\tKS_asterisk,\\tKS_cent,\\tKS_yen,\"\n+\t\t\tprint \"    KC(50),\\tKS_grave,\\tKS_sterling,\\tKS_at,\\t\\tKS_numbersign,\"\n+\t\t\tprint \"    KC(51),\\tKS_m,\\t\\tKS_M,\\t\\tKS_mu,\\t\\tKS_Oacute,\"\n+\t\t\tprint \"    KC(52),\\tKS_ugrave,\\tKS_percent,\\tKS_Ugrave,\"\n+\t\t\tprint \"    KC(53),\\tKS_at,\\t\\tKS_numbersign,\"\n+\t\t\tprint \"    KC(55),\\tKS_colon,\\tKS_slash,\\tKS_voidSymbol,\\tKS_backslash,\"\n \t\t\tprint \"    KC(56),\\tKS_equal,\\tKS_plus,\"\n \t\t\tprint \"    KC(103),\\tKS_KP_Equal,\"\n+\t\t\tprint \"    KC(231),\\tKS_Mode_switch,\\tKS_Multi_key,\"\n \t\t} else\n \t\tif (mapname == \"ukbd_keydesc_pt[]\") {\n \t\t\tprint $0\n"}
{"commit":"3d3dbe11d30c3c95ec77d1edf676979505e479b4","subject":"Add AWK script to compute a range","message":"Add AWK script to compute a range\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":0,"stderr":"unknown","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"1c4452f0efc2c11923344736ac5fe2bfb575eb33","subject":"Test 2015.","message":"Test 2015.","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_ibict.awk\n+++ scripts\/tdb\/statuses_ibict.awk\n@@ -8,7 +8,7 @@\n \n {\n   # add a loop to add line only if either [status is _not_ manifest] OR [journal year (or journal end year) is lt or eq to the current year we are testing]\n-  current_year = 2014\n+  current_year = 2015\n   end_year = 0\n   incontract = 0\n   #test_year = \"\"\n"}
{"commit":"834b1a240c4bf900621dba4306a05f4d2e6c9e4e","subject":"Ignore AUs with year lt contract date","message":"Ignore AUs with year lt contract date\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@17397 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -1,5 +1,6 @@\n #!\/usr\/bin\/awk -f\n # input: publisher\\tcontract_year\\tyear\\tstatus\n+# add a loop to add line only if first 4 char or last 4 char of year are gt or eq to contract\n \n BEGIN {\n   FS=\"\\t\"\n@@ -7,6 +8,7 @@\n }\n \n {\n+  if (substr($3,0,4) >= $2) {\n   if (!(($1,$2,$3) in b)) {\n     p[pn] = $1\n     t[pn] = $2\n@@ -17,6 +19,7 @@\n   c[$1,$2,$3,$4]++\n   x[$4]++\n   tt++\n+}\n }\n \n END {\n@@ -51,3 +54,4 @@\n     }\n \n }\n+\n"}
{"commit":"3b4dc01825b2f9822bf2c028bb752aab5c2c25b2","subject":"Special Montalbano page 2 processing","message":"Special Montalbano page 2 processing\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -93,7 +93,7 @@\n     if (episodeURL ~ \/-trailer-|-finale-\/)\n         episodeType = \"T\"\n     # If episode is a BONUS:, set episodeType to \"X\"\n-    if (episodeURL ~ \/-c-x[[:digit:]]{3,4}$\/)\n+    if (episodeURL ~ \/-c-x[[:digit:]]{3,4}$|montme-c-01001\/)\n         episodeType = \"X\"\n     episodeTitle = fld[4]\n     gsub (\/&quot;\/,\"\\\"\\\"\",episodeTitle)\n@@ -105,14 +105,16 @@\n }\n \n # Extract the episode number, and correct if necessary\n+# Detective Montalbano requires special processing for page 2 episodeNumber\n \/<h4 class=\"\/ {\n     sub (\/.*Episode \/,\"\")\n     sub (\/<\\\/span>.*\/,\"\")\n     episodeNumber = $0 + 0\n-    if ((episodeURL ~ \/-c-.[[:digit:]]{3,4}$\/) && episodeNumber != episodeNumberFromURL) {\n-        printf (\"==> Corrected %s%02d to %s%02d: %s\\n\", episodeType, episodeNumber, episodeType, \\\n-                episodeNumberFromURL, shortURL) >> ERROR_FILE\n-        episodeNumber = episodeNumberFromURL\n+    if (seriesTitle == \"Detective Montalbano\" && page2 == \"yes\") {\n+        oldEpisodeNumber = episodeNumber\n+        episodeNumber += 24\n+        printf (\"==> Corrected E%02d to %s%02d: %s\\n\", oldEpisodeNumber, episodeType, \\\n+                episodeNumber, shortURL) >> ERROR_FILE\n     }\n     next\n }\n"}
{"commit":"ef39ebab17aa7cae0d4565e36432c97928dcca27","subject":"color_funcs.awk\t-- aded rgb2hsv and hsv2rgb converters","message":"color_funcs.awk\t-- aded rgb2hsv and hsv2rgb converters\n","repos":"tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps,tjmacke\/dd_maps","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- lib\/color_funcs.awk\n+++ lib\/color_funcs.awk\n@@ -1,4 +1,4 @@\n-function init_crange(crange, colorInfo,   nf, ary, nf2, ary2, R, G, B) {\n+function init_crange(crange, colorInfo,   nf, ary, nf2, ary2, R, G, B, rgb, hsv) {\n \tnf = split(crange, ary, \":\")\n \tif(nf != 2){\n \t\tprintf(\"ERROR: bad color range: %s, must be r,g,b:r,g,b r,g,b in [0,1]\\n\", crange) > \"\/dev\/stderr\"\n@@ -26,9 +26,18 @@\n \t\tprintf(\"ERROR: bad start B value: %s, must be r,g,b r,g,b in [0,1]\\n\", ary2[3]) > \"\/dev\/stderr\"\n \t\treturn 1\n \t}\n-\tcolorInfo[\"R_start\"] = R\n-\tcolorInfo[\"G_start\"] = G\n-\tcolorInfo[\"B_start\"] = B\n+\trgb[\"R\"] = R\n+\trgb[\"G\"] = G\n+\trgb[\"B\"] = B\n+\trgb2hsv(rgb, hsv)\n+\n+#\tcolorInfo[\"R_start\"] = R\n+#\tcolorInfo[\"G_start\"] = G\n+#\tcolorInfo[\"B_start\"] = B\n+\n+\tcolorInfo[\"H_start\"] = hsv[\"H\"]\n+\tcolorInfo[\"S_start\"] = hsv[\"S\"]\n+\tcolorInfo[\"V_start\"] = hsv[\"V\"]\n \n \t# get end color\n \tnf2 = split(ary[2], ary2, \",\")\n@@ -51,18 +60,118 @@\n \t\tprintf(\"ERROR: bad end B value: %s, must be r,g,b r,g,b in [0,1]\\n\", ary2[3]) > \"\/dev\/stderr\"\n \t\treturn 1\n \t}\n-\tcolorInfo[\"R_end\"] = R\n-\tcolorInfo[\"G_end\"] = G\n-\tcolorInfo[\"B_end\"] = B\n+\trgb[\"R\"] = R\n+\trgb[\"G\"] = G\n+\trgb[\"B\"] = B\n+\trgb2hsv(rgb, hsv)\n+\n+#\tcolorInfo[\"R_end\"] = R\n+#\tcolorInfo[\"G_end\"] = G\n+#\tcolorInfo[\"B_end\"] = B\n+\n+\tcolorInfo[\"H_end\"] = hsv[\"H\"]\n+\tcolorInfo[\"S_end\"] = hsv[\"S\"]\n+\tcolorInfo[\"V_end\"] = hsv[\"V\"]\n \n \treturn 0\n }\n-function set_4bit_color(frac, colorInfo,    r_max_cval, R, G, B) {\n+function set_4bit_color(frac, colorInfo,    r_max_cval, hsv, rgb, R, G, B) {\n+\n+\t# RGB gradient is really not all that nice, hsv is better\n+#\tr_max_cval = 1.0\/15\n+#\tR = int((frac * colorInfo[\"R_end\"] + (1.0 - frac) * colorInfo[\"R_start\"]) \/ r_max_cval)\n+#\tG = int((frac * colorInfo[\"G_end\"] + (1.0 - frac) * colorInfo[\"G_start\"]) \/ r_max_cval)\n+#\tB = int((frac * colorInfo[\"B_end\"] + (1.0 - frac) * colorInfo[\"B_start\"]) \/ r_max_cval)\n+\n+\thsv[\"H\"] = frac * colorInfo[\"H_end\"] + (1.0 - frac) * colorInfo[\"H_start\"]\n+\thsv[\"S\"] = frac * colorInfo[\"S_end\"] + (1.0 - frac) * colorInfo[\"S_start\"]\n+\thsv[\"V\"] = frac * colorInfo[\"V_end\"] + (1.0 - frac) * colorInfo[\"V_start\"]\n+\thsv2rgb(hsv, rgb)\n \n \tr_max_cval = 1.0\/15\n-\tR = int((frac * colorInfo[\"R_end\"] + (1.0 - frac) * colorInfo[\"R_start\"]) \/ r_max_cval)\n-\tG = int((frac * colorInfo[\"G_end\"] + (1.0 - frac) * colorInfo[\"G_start\"]) \/ r_max_cval)\n-\tB = int((frac * colorInfo[\"B_end\"] + (1.0 - frac) * colorInfo[\"B_start\"]) \/ r_max_cval)\n+\tR = rgb[\"R\"] \/ r_max_cval\n+\tG = rgb[\"G\"] \/ r_max_cval\n+\tB = rgb[\"B\"] \/ r_max_cval\n \n \treturn sprintf(\"%x%x%x\", R, G, B)\n }\n+function rgb2hsv(rgb, hsv,   min, max, delta) {\n+\n+\tmin = rgb[\"R\"] < rgb[\"G\"] ? rgb[\"R\"] : rgb[\"G\"]\n+\tmin = min      < rgb[\"B\"] ? min      : rgb[\"B\"]\n+\n+\tmax = rgb[\"R\"] > rgb[\"G\"] ? rgb[\"R\"] : rgb[\"G\"]\n+\tmax = max      > rgb[\"B\"] ? max      : rgb[\"B\"]\n+\n+\thsv[\"V\"] = max\n+\n+\tdelta = max - min\n+\tif(delta < 0.00001){\n+\t\thsv[\"S\"] = 0\n+\t\thsv[\"H\"] = 0\n+\t\treturn\n+\t}\n+\n+\tif(max > 0)\n+\t\thsv[\"S\"] = (delta\/max)\n+\telse{\n+\t\thsv[\"S\"] = 0\n+\t\thsv[\"H\"] = 0\t# V is 0, s H doesn't matter, so use 0\n+\t\treturn\n+\t}\n+\tif(rgb[\"R\"] >= max)\n+\t\thsv[\"H\"] = (rgb[\"G\"] - rgb[\"B\"])\/delta\t\t# between magenta & yellow\n+\telse if(rgb[\"G\"] >= max)\n+\t\thsv[\"H\"] = 2.0 + (rgb[\"B\"] - rgb[\"R\"])\/delta\t# between yellow & cyan\n+\telse\n+\t\thsv[\"H\"] = 4.0 + (rgb[\"R\"] - rgb[\"G\"])\/delta\t# between cyan & magenta\n+\thsv[\"H\"] *= 60\n+\tif(hsv[\"H\"] < 0)\n+\t\thsv[\"H\"] += 360\n+\treturn\n+}\n+function hsv2rgb(hsv, rgb,    hh, p, q, t, ff, i) {\n+\n+\tif(hsv[\"S\"] <= 0){\n+\t\trgb[\"R\"] = hsv[\"V\"]\n+\t\trgb[\"G\"] = hsv[\"V\"]\n+\t\trgb[\"B\"] = hsv[\"V\"]\n+\t\treturn\n+\t}\n+\thh = hsv[\"H\"]\n+\tif(hh >= 360)\n+\t\thh = 0\n+\thh \/= 60\n+\ti = int(hh)\n+\tff = hh - i\n+\tp = hsv[\"V\"] * (1.0 - hsv[\"S\"])\n+\tq = hsv[\"V\"] * (1.0 - (hsv[\"S\"] * ff))\n+\tt = hsv[\"V\"] * (1.0 - (hsv[\"S\"] * (1 - ff)))\n+\n+\tif(i == 0){\n+\t\trgb[\"R\"] = hsv[\"V\"]\n+\t\trgb[\"G\"] = t\n+\t\trgb[\"B\"] = p\n+\t}else if(i == 1){\n+\t\trgb[\"R\"] = q\n+\t\trgb[\"G\"] = hsv[\"V\"]\n+\t\trgb[\"B\"] = p\n+\t}else if(i == 2){\n+\t\trgb[\"R\"] = p\n+\t\trgb[\"G\"] = hsv[\"V\"]\n+\t\trgb[\"B\"] = t\n+\t}else if(i == 3){\n+\t\trgb[\"R\"] = p\n+\t\trgb[\"G\"] = q\n+\t\trgb[\"B\"] = hsv[\"V\"]\n+\t}else if(i == 4){\n+\t\trgb[\"R\"] = t\n+\t\trgb[\"G\"] = p\n+\t\trgb[\"B\"] = hsv[\"V\"]\n+\t}else{\t# must be 5\n+\t\trgb[\"R\"] = hsv[\"V\"]\n+\t\trgb[\"G\"] = p\n+\t\trgb[\"B\"] = q\n+\t}\n+\treturn\n+}\n"}
{"commit":"a247c221b453b2183811dd616ce82cbaa4e1efa2","subject":"Edit awk directory","message":"Edit awk directory\n","repos":"hanjae\/RUBBoS,hanjae\/RUBBoS,hanjae\/RUBBoS,hanjae\/RUBBoS","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- bench\/format_sar_output.awk\n+++ bench\/format_sar_output.awk\n@@ -1,4 +1,4 @@\n-#!\/bin\/awk -f\n+#!\/usr\/bin\/awk -f\n \n BEGIN {\n   # It is not possible to define output file names here because\n"}
{"commit":"3f18c32f50ae48c417c0ca75793ffb7a2aa9049b","subject":"Update example","message":"Update example\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/sample.awk\n+++ tools\/awk\/sample.awk\n@@ -15,7 +15,7 @@\n #   - sample values\n #\n # Example:\n-#   $ sample 0.1 $RANDOM\n+#   $ seq 1 100 | sample 0.1 $RANDOM\n \n BEGIN {\n \tif (ARGC == 1) {\n"}
{"commit":"659e31939bf364518cfb4e1fa1ac01e0c412b40a","subject":"Accept 4.6.x-google","message":"Accept 4.6.x-google\n\nChange-Id: I4eadea9498dcb5f55bd5cc025d2866b39b486cc3\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/getcompver.awk\n+++ solenv\/bin\/getcompver.awk\n@@ -68,6 +68,15 @@\n         CCversion = substr($0, 0, index($0, \"-\") - 1)\n     }\n }\n+# NDK r8b has \"4.6.x-google\"\n+\/^[0-9]*[.][0-9]*[.][a-z]*-[0-9a-z]*$\/ {\n+    if ( compiler_matched == 0 ) {\n+\t# Include the second period in the match so that\n+\t# we will get a micro version of zero\n+\tx = match(  $0, \/^[0-9]*[.][0-9]*[.]\/ )\n+        CCversion = substr($0, RSTART, RLENGTH)\n+    }\n+}\n END {\n     if ( num == \"true\" ) {\n         tokencount = split (CCversion,vertoken,\".\")\n"}
{"commit":"27d474c4cbb246090a78c900452dc334c6b1aeff","subject":"In c1, use season number in episodeTitle","message":"In c1, use season number in episodeTitle\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxEpisodesFrom-webscraper.awk\n+++ getBBoxEpisodesFrom-webscraper.awk\n@@ -41,6 +41,11 @@\n     Description = $10\n     showtype = \"S\"\n \n+    if (match (episodeTitle, \/^Season [[:digit:]]+|^Series [[:digit:]]+\/))\n+        episodeSeason = substr(episodeTitle,8,RLENGTH-7)\n+    else\n+        episodeSeason = \"\"\n+   \n     # Extract sortkey from URL\n     nflds = split (URL,fld,\"_\")\n     if (URL ~ \/_S[[:digit:]]*_E[[:digit:]]*_[[:digit:]]*$\/) {\n@@ -48,6 +53,15 @@\n         # Season 3, Episode 8\n         seasonNumber = substr(fld[nflds-2], 2)\n         episodeNumber = substr(fld[nflds-1], 2)\n+        # Give precedence to season number in episodeTitle over season number in URL \n+        if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n+            revisedSeasons1 += 1\n+            shortURL = URL\n+            sub (\/^\\\/us\\\/episode\\\/\/,\"\",shortURL)\n+            printf (\"==> Fixed c1 season: %02d-%02d\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, shortURL, episodeTitle) >> ERROR_FILE\n+            seasonNumber = episodeSeason\n+        }\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n         c1Num += 1\n         outfile = \"BBox-scrapes\/c1-\" longdate \".csv\"\n@@ -55,27 +69,30 @@\n     } else if (URL ~ \/_E[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/35_Hours_E1_26129\n         # 35 Hours, Episode 1\n+        revisedSeasons2 += 1\n         seasonNumber = \"99\"\n         episodeNumber = substr(fld[nflds-1], 2)\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n-        c2Num += 2\n+        c2Num += 1\n         outfile = \"BBox-scrapes\/c2-\" longdate \".csv\"\n         printf (\"c2\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c2Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     } else if (URL ~ \/Episode_[[:digit:]]*_[[:digit:]]*$\/) {\n         # \/us\/episode\/Episode_5_26089\n         # Season 4, Episode 5\n+        revisedSeasons3 += 1\n         seasonNumber = \"98\"\n         episodeNumber = substr(fld[nflds-1], 1)\n         sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n-        c3Num += 3\n+        c3Num += 1\n         outfile = \"BBox-scrapes\/c3-\" longdate \".csv\"\n         printf (\"c3\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c3Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     } else {\n+        revisedSeasons4 += 1\n         URL ~ \/^\\\/us\\\/movie\\\/\/ ? showtype = \"M\" : showtype = \"E\"\n         # \/us\/episode\/Orkneys_Stone_Age_Temple_7144\n         # A History of Ancient Britain Special, Orkney's Stone Age Temple\n         sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n-        c4Num += 4\n+        c4Num += 1\n         outfile = \"BBox-scrapes\/c4-\" longdate \".csv\"\n         printf (\"c4\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c4Num,sortkey,URL,showTitle,episodeTitle,Years) >> outfile\n     }\n@@ -168,6 +185,22 @@\n         revisedTitles == 1 ? field = \"title\" : field = \"titles\"\n         printf (\"    %2d %s revised in %s\\n\", revisedTitles, field, FILENAME) > \"\/dev\/stderr\"\n     }\n+    if (revisedSeasons1 > 0 ) {\n+        revisedSeasons1 == 1 ? field = \"season\" : field = \"seasons\"\n+        printf (\"    %3d c1 %s revised in %s\\n\", revisedSeasons1, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    if (revisedSeasons2 > 0 ) {\n+        revisedSeasons2 == 1 ? field = \"season\" : field = \"seasons\"\n+        printf (\"    %3d c2 %s revised in %s\\n\", revisedSeasons2, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    if (revisedSeasons3 > 0 ) {\n+        revisedSeasons3 == 1 ? field = \"season\" : field = \"seasons\"\n+        printf (\"    %3d c3 %s revised in %s\\n\", revisedSeasons3, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    if (revisedSeasons4 > 0 ) {\n+        revisedSeasons4 == 1 ? field = \"season\" : field = \"seasons\"\n+        printf (\"    %3d c4 %s revised in %s\\n\", revisedSeasons4, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n     if (badEpisodes > 0 ) {\n         badEpisodes == 1 ? field = \"URL\" : field = \"URLs\"\n         printf (\"    %2d extra \/show\/ %s in %s\\n\", badEpisodes, field, FILENAME) > \"\/dev\/stderr\"\n"}
{"commit":"27a141a9acff7edb648eebbab19eae1f103158bc","subject":"Switch minutes to HMS","message":"Switch minutes to HMS\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBritBoxFrom-scrapy_xml.awk\n+++ getBritBoxFrom-scrapy_xml.awk\n@@ -29,11 +29,16 @@\n     episodeRating = $23\n     episodeDescription = $27\n \n-    nfields = split (URL,fld,\"_\")\n-    seasonNumber = fld[nfields - 2]\n+    nflds = split (URL,fld,\"_\")\n+    seasonNumber = fld[nflds - 2]\n     sub (\/S\/,\"\",seasonNumber)\n-    episodeNumber = fld[nfields - 1]\n+    episodeNumber = fld[nflds - 1]\n     sub (\/E\/,\"\",episodeNumber)\n+\n+    secs = 0\n+    mins = episodeDuration % 60\n+    hrs = int(episodeDuration \/ 60) \n+    episode_HMS = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n \n     # Get rid of perfunctory \"Season <n>, \" from episode title\n     episodePrefix = \"Season \" seasonNumber \", \"\n@@ -43,7 +48,7 @@\n         printf \\\n             (\"%s S%02dE%02d\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, S%02dE%02d, %s\\\"\\)\\t\\t%s\\t%s\\t%s\\t%s\\n\", \\\n              showTitle, seasonNumber, episodeNumber, URL, showTitle, seasonNumber, episodeNumber, \\\n-             episodeTitle, episodeDuration, episodeYear, episodeRating, episodeDescription)\n+             episodeTitle, episode_HMS, episodeYear, episodeRating, episodeDescription)\n     }\n }\n \n"}
{"commit":"8ce1b77e4ce2b57ed8072af95c0e94f53e715098","subject":"Languages: add Luganda","message":"Languages: add Luganda\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -943,6 +943,20 @@\n     Locale[\"lt\"][\"iso\"]                = \"lit\"\n     Locale[\"lt\"][\"glotto\"]             = \"lith1251\"\n     Locale[\"lt\"][\"script\"]             = \"Latn\"\n+\n+    # Luganda\n+    Locale[\"lg\"][\"name\"]               = \"Luganda\"\n+    Locale[\"lg\"][\"endonym\"]            = \"Luganda\"\n+    Locale[\"lg\"][\"endonym2\"]           = \"Oluganda\"\n+    #Locale[\"lg\"][\"translations-of\"]\n+    #Locale[\"lg\"][\"definitions-of\"]\n+    #Locale[\"lg\"][\"synonyms\"]\n+    #Locale[\"lg\"][\"examples\"]\n+    #Locale[\"lg\"][\"see-also\"]\n+    Locale[\"lg\"][\"family\"]             = \"Atlantic-Congo\"\n+    Locale[\"lg\"][\"iso\"]                = \"lug\"\n+    Locale[\"lg\"][\"glotto\"]             = \"gand1255\"\n+    Locale[\"lg\"][\"script\"]             = \"Latn\"\n \n     #57 Luxembourgish\n     Locale[\"lb\"][\"name\"]               = \"Luxembourgish\"\n"}
{"commit":"d6ccce66a7d895d10c52e7c27ac838d63e273146","subject":"Languages: add Aymara","message":"Languages: add Aymara\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -92,6 +92,19 @@\n     Locale[\"as\"][\"iso\"]                = \"asm\"\n     Locale[\"as\"][\"glotto\"]             = \"assa1263\"\n     Locale[\"as\"][\"script\"]             = \"Beng\"\n+\n+    # Aymara\n+    Locale[\"ay\"][\"name\"]               = \"Aymara\"\n+    Locale[\"ay\"][\"endonym\"]            = \"Aymar aru\"\n+    #Locale[\"ay\"][\"translations-of\"]\n+    #Locale[\"ay\"][\"definitions-of\"]\n+    #Locale[\"ay\"][\"synonyms\"]\n+    #Locale[\"ay\"][\"examples\"]\n+    #Locale[\"ay\"][\"see-also\"]\n+    Locale[\"ay\"][\"family\"]             = \"Aymaran\"\n+    Locale[\"ay\"][\"iso\"]                = \"aym\"\n+    Locale[\"ay\"][\"glotto\"]             = \"nucl1667\"\n+    Locale[\"ay\"][\"script\"]             = \"Latn\"\n \n     #6 Azerbaijani (North Azerbaijani)\n     Locale[\"az\"][\"name\"]               = \"Azerbaijani\"\n"}
{"commit":"3e7162e9981e37ec10f7d4352cb808114d8171e3","subject":"- add internal support for alpha channel in HSV colors - save both rgba and hsva color values in colortbl.h  - share 'a' value - only \"transparent\" has an \"a\" value of 0  - couold be others one day - -Tps generator does binary test on \"a\" value of color - skip rendering if \"transparent\"","message":"- add internal support for alpha channel in HSV colors\n- save both rgba and hsva color values in colortbl.h  - share 'a' value\n- only \"transparent\" has an \"a\" value of 0  - couold be others one day\n- -Tps generator does binary test on \"a\" value of color - skip rendering if \"transparent\"\n","repos":"kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz","returncode":0,"stderr":"","license":"epl-1.0","lang":"Awk","diff":"--- awk\/brewer.awk\n+++ awk\/brewer.awk\n@@ -12,9 +12,10 @@\n # *              AT&T Research, Florham Park NJ             *\n # **********************************************************\/\n # \n-# Convert Brewer data to same RGB format used in color_names.\n+# Convert Brewer data to same RGBA format used in color_names.\n # See brewer_colors for input format.\n #\n+# All colors assumed opaque, so A = 255 in all colors\n BEGIN { \n   FS = \",\"\n }\n@@ -23,5 +24,5 @@\n     name = $1 $2;\n     gsub (\"\\\"\",\"\",name);\n   }\n-  printf (\"\/%s\/%s %s %s %s\\n\", name, $5, $7, $8, $9); \n+  printf (\"\/%s\/%s %s %s %s 255\\n\", name, $5, $7, $8, $9); \n }\n"}
{"commit":"3771f8d05dd2276ee846d68dfd657a6a932309b4","subject":"handle cpu m","message":"handle cpu m\n","repos":"dcapwell\/dotfiles,dcapwell\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- k8s\/ihatekubeformating-simpler.awk\n+++ k8s\/ihatekubeformating-simpler.awk\n@@ -58,6 +58,8 @@\n   } else if (b_unit == \"k\") {\n     if (a_unit == \"\")\n       return a \/ 1000\n+    if (a_unit == \"m\")\n+      return a \/ 1000 \/ 1000\n     print \"unknown a unit: \" a  a_unit \" for b \" b b_unit\n     exit 1\n   }\n"}
{"commit":"098d2086f4010895ad0463bc63a4ea69ae42bf59","subject":"Change default dichotomic time limit from 3s to 5s.","message":"Change default dichotomic time limit from 3s to 5s.\n","repos":"eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -338,7 +338,7 @@\n \tprint \"start_time = datetime.datetime.now()\\n\\n\";\n \tprint \"if __name__ == '__main__':\";\n \tprint \"    solvers = ['Mistral', 'SCIP', 'MiniSat', 'Toulbar2', 'Gurobi']\";\n-\tprint \"    default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1), ('restart', GEOMETRIC), ('base', 256), ('factor', 1.3), ('lcLevel', 4), ('lds', 0), ('dee',0), ('btd',0), ('rds',0), ('dichotomic', 0), ('dichtcutoff', 3)])\";\n+\tprint \"    default = dict([('solver', 'Mistral'), ('verbose', 0), ('tcutoff', 900), ('var', 'DomainOverWDegree'), ('val', 'Lex'), ('rand', 2), ('threads', 1), ('restart', GEOMETRIC), ('base', 256), ('factor', 1.3), ('lcLevel', 4), ('lds', 0), ('dee',0), ('btd',0), ('rds',0), ('dichotomic', 0), ('dichtcutoff', 5)])\";\n \tprint \"    param = input(default)\";\n \tif(objective){\n \t\tprint \"    if param['dichotomic'] == 1:\";\n"}
{"commit":"10871759bf52b2ebe52c82253af8783ad31834c0","subject":"Deal with prequels (Doc Martin)","message":"Deal with prequels (Doc Martin)\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -68,11 +68,6 @@\n #  OUTPUT:\n #       $EPISODE_INFO_FILE\n #\n-\n-# Extract and save whether this is a miniseries\n-\/<h6>Miniseries:\/ || \/<h6>Mini Series:\/ {\n-    showType = \"M\"\n-}\n \n # Extract the series title\n \/<title>\/ {\n@@ -220,9 +215,18 @@\n \n # Extract episode number\n \/<h6>.*span itemprop=\"episodeNumber\">\/ {\n+    # If show is a Prequel, use \"P\"\n+    if (episodeURL ~ \/\\\/prequel\/)\n+        showType = \"P\"\n+    # If show is a Miniseries, use \"M\"\n+    if (episodeURL ~ \/\\\/miniseries\/)\n+        showType = \"M\"\n     # If we don't know what kind of show it is, use \"S\"\n     if (showType == \"\")\n         showType = \"S\"\n+    # Default episodeType to \"E\"\n+    episodeType = \"E\"\n+    #\n     split ($0,fld,\"[<>]\")\n     episodeNumber = fld[5]\n     # Feature films don't have episodes\n@@ -244,9 +248,10 @@\n             seasonNumber = URLseasonNumber\n         }\n     }\n-    printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, %s%02dE%02d, %s\\\"\\)\\t\\t\\t%s\\n\", \\\n-        SERIES_NUMBER, episodeURL, seriesTitle, showType, seasonNumber, episodeNumber, \\\n+    printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, %s%02d%s%02d, %s\\\"\\)\\t\\t\\t%s\\n\", \\\n+        SERIES_NUMBER, episodeURL, seriesTitle, showType, seasonNumber, episodeType, episodeNumber, \\\n         episodeTitle, episodeDuration) >> EPISODE_INFO_FILE\n+    showType = \"\"\n     next\n }\n \n@@ -265,7 +270,6 @@\n     seriesHrs = 0\n     seriesDuration = \"\"\n     #\n-    showType = \"\"\n     SERIES_NUMBER += 1\n }\n \n"}
{"commit":"930ab66ed80aa00ca442531ad5918beb422355b3","subject":"Languages: add Scottish Gaelic language","message":"Languages: add Scottish Gaelic language\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -288,6 +288,19 @@\n     Locale[\"sm\"][\"iso\"]                = \"smo\"\n     Locale[\"sm\"][\"glotto\"]             = \"samo1305\"\n     Locale[\"sm\"][\"script\"]             = \"Latn\"\n+\n+    #? Scottish Gaelic\n+    Locale[\"gd\"][\"name\"]               = \"Scottish Gaelic\"\n+    Locale[\"gd\"][\"endonym\"]            = \"G\u00e0idhlig\"\n+    #Locale[\"gd\"][\"translations-of\"]\n+    #Locale[\"gd\"][\"definitions-of\"]\n+    #Locale[\"gd\"][\"synonyms\"]\n+    #Locale[\"gd\"][\"examples\"]\n+    #Locale[\"gd\"][\"see-also\"]\n+    Locale[\"gd\"][\"family\"]             = \"Indo-European\"\n+    Locale[\"gd\"][\"iso\"]                = \"gla\"\n+    Locale[\"gd\"][\"glotto\"]             = \"scot1245\"\n+    Locale[\"gd\"][\"script\"]             = \"Latn\"\n \n     #1 Afrikaans\n     Locale[\"af\"][\"name\"]               = \"Afrikaans\"\n"}
{"commit":"99be2519fa5e9f87fe8919c4e1a39a655df48eab","subject":"Languages: mark as stable: Sindhi","message":"Languages: mark as stable: Sindhi\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -276,15 +276,14 @@\n     Locale[\"rm\"][\"glotto\"]             = \"roma1326\"\n     Locale[\"rm\"][\"script\"]             = \"Latn\"\n \n-    #? Sindhi\n-    Locale[\"sd\"][\"support\"]            = \"unstable\"\n+    # Sindhi\n     Locale[\"sd\"][\"name\"]               = \"Sindhi\"\n     Locale[\"sd\"][\"endonym\"]            = \"\u0633\u0646\u068c\u064a\"\n-    #Locale[\"sd\"][\"translations-of\"]\n-    #Locale[\"sd\"][\"definitions-of\"]\n-    #Locale[\"sd\"][\"synonyms\"]\n-    #Locale[\"sd\"][\"examples\"]\n-    #Locale[\"sd\"][\"see-also\"]\n+    Locale[\"sd\"][\"translations-of\"]    = \"%s \u062c\u0648 \u062a\u0631\u062c\u0645\u0648\"\n+    Locale[\"sd\"][\"definitions-of\"]     = \"%s \u062c\u0648\u0646 \u0648\u0635\u0641\u0648\u0646\"\n+    Locale[\"sd\"][\"synonyms\"]           = \"\u0647\u0645 \u0645\u0639\u0646\u064a\"\n+    Locale[\"sd\"][\"examples\"]           = \"\u0645\u062b\u0627\u0644\u0648\u0646\"\n+    Locale[\"sd\"][\"see-also\"]           = \"\u0628\u0647 \u068f\u0633\u0648\"\n     Locale[\"sd\"][\"family\"]             = \"Indo-European\"\n     Locale[\"sd\"][\"iso\"]                = \"snd\"\n     Locale[\"sd\"][\"glotto\"]             = \"sind1272\"\n"}
{"commit":"f8ba4ca3b2fb94b6ce7a6314091a96c3b3cfb331","subject":"Languages: mark as stable: Amharic","message":"Languages: mark as stable: Amharic\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -14,15 +14,14 @@\n #      <http:\/\/glottolog.org\/>\n function initLocale(    i) {\n \n-    #? Amharic\n-    Locale[\"am\"][\"support\"]            = \"unstable\"\n+    # Amharic\n     Locale[\"am\"][\"name\"]               = \"Amharic\"\n     Locale[\"am\"][\"endonym\"]            = \"\u12a0\u121b\u122d\u129b\"\n-    #Locale[\"am\"][\"translations-of\"]\n-    #Locale[\"am\"][\"definitions-of\"]\n-    #Locale[\"am\"][\"synonyms\"]\n-    #Locale[\"am\"][\"examples\"]\n-    #Locale[\"am\"][\"see-also\"]\n+    Locale[\"am\"][\"translations-of\"]    = \"\u12e8 %s \u1275\u122d\u1309\u121e\u127d\"\n+    Locale[\"am\"][\"definitions-of\"]     = \"\u12e8 %s \u1243\u120b\u1275 \u134d\u127d\u12ce\u127d\"\n+    Locale[\"am\"][\"synonyms\"]           = \"\u1270\u1218\u1233\u1233\u12ed \u1243\u120b\u1275\"\n+    Locale[\"am\"][\"examples\"]           = \"\u121d\u1233\u120c\u12ce\u127d\"\n+    Locale[\"am\"][\"see-also\"]           = \"\u12e8\u121a\u12a8\u1270\u1208\u12cd\u1295\u121d \u12ed\u1218\u120d\u12a8\u1271\"\n     Locale[\"am\"][\"family\"]             = \"Afro-Asiatic\"\n     Locale[\"am\"][\"iso\"]                = \"amh\"\n     Locale[\"am\"][\"glotto\"]             = \"amha1245\"\n"}
{"commit":"85c525ce26ce678c03badef07c989d8b7a953402","subject":"Close pipeline.","message":"Close pipeline.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"unknown","license":"mit","lang":"Awk","diff":""}
{"commit":"7b5e90893b602d4788ac955f1bc3f7a613766c41","subject":"Ignore ceph packages in patching","message":"Ignore ceph packages in patching\n\nBlacklist for ceph packages should be considered as a workaround.\nWe should create a solution for pre-moderated whitelist of approved\npackages for patching.\n\nChange-Id: I05ff7eb67efc9e6bbf3813c4ef8ce0774d766112\nCloses-Bug: #1363983\n","repos":"teselkin\/fuel-main,AnselZhangGit\/fuel-main,Fiware\/ops.Fuel-main-dev,SmartInfrastructures\/fuel-main-dev,SmartInfrastructures\/fuel-main-dev,SergK\/fuel-main,dancn\/fuel-main-dev,eayunstack\/fuel-main,dancn\/fuel-main-dev,eayunstack\/fuel-main,huntxu\/fuel-main,ddepaoli3\/fuel-main-dev,stackforge\/fuel-main,Fiware\/ops.Fuel-main-dev,AnselZhangGit\/fuel-main,stackforge\/fuel-main,ddepaoli3\/fuel-main-dev,SmartInfrastructures\/fuel-main-dev,ddepaoli3\/fuel-main-dev,AnselZhangGit\/fuel-main,ddepaoli3\/fuel-main-dev,eayunstack\/fuel-main,Fiware\/ops.Fuel-main-dev,teselkin\/fuel-main,AnselZhangGit\/fuel-main,zhaochao\/fuel-main,teselkin\/fuel-main,SergK\/fuel-main,zhaochao\/fuel-main,zhaochao\/fuel-main,dancn\/fuel-main-dev,huntxu\/fuel-main,Fiware\/ops.Fuel-main-dev,dancn\/fuel-main-dev,SergK\/fuel-main,huntxu\/fuel-main,SmartInfrastructures\/fuel-main-dev,zhaochao\/fuel-main,teselkin\/fuel-main,stackforge\/fuel-main,zhaochao\/fuel-main","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- iso\/pkg-versions.awk\n+++ iso\/pkg-versions.awk\n@@ -4,8 +4,66 @@\n # Usage:\n #   rpm -qi -p \/path\/to\/repo\/Packages\/*.rpm | versions.awk > centos-versions.yaml\n #   cat \/path\/to\/repo\/dists\/precise\/main\/binary-amd64\/Packages | versions.awk > ubuntu-version.yaml\n+BEGIN{\n+  rpm_blacklist[\"ceph\"] = 1\n+  rpm_blacklist[\"ceph-debuginfo\"] = 1\n+  rpm_blacklist[\"ceph-deploy\"] = 1\n+  rpm_blacklist[\"ceph-devel\"] = 1\n+  rpm_blacklist[\"ceph-fuse\"] = 1\n+  rpm_blacklist[\"ceph-radosgw\"] = 1\n+  rpm_blacklist[\"ceph-test\"] = 1\n+  rpm_blacklist[\"cephfs-java\"] = 1\n+  rpm_blacklist[\"libcephfs1\"] = 1\n+  rpm_blacklist[\"libcephfs_jni1\"] = 1\n+  rpm_blacklist[\"librados2\"] = 1\n+  rpm_blacklist[\"librbd1\"] = 1\n+  rpm_blacklist[\"python-ceph\"] = 1\n+  rpm_blacklist[\"rbd-fuse\"] = 1\n+  rpm_blacklist[\"rest-bench\"] = 1\n+\n+  deb_blacklist[\"ceph\"] = 1\n+  deb_blacklist[\"ceph-common\"] = 1\n+  deb_blacklist[\"ceph-common-dbg\"] = 1\n+  deb_blacklist[\"ceph-dbg\"] = 1\n+  deb_blacklist[\"ceph-deploy\"] = 1\n+  deb_blacklist[\"ceph-fs-common\"] = 1\n+  deb_blacklist[\"ceph-fs-common-dbg\"] = 1\n+  deb_blacklist[\"ceph-fuse\"] = 1\n+  deb_blacklist[\"ceph-fuse-dbg\"] = 1\n+  deb_blacklist[\"ceph-mds\"] = 1\n+  deb_blacklist[\"ceph-mds-dbg\"] = 1\n+  deb_blacklist[\"ceph-resource-agents\"] = 1\n+  deb_blacklist[\"ceph-test\"] = 1\n+  deb_blacklist[\"ceph-test-dbg\"] = 1\n+  deb_blacklist[\"libcephfs-dev\"] = 1\n+  deb_blacklist[\"libcephfs-java\"] = 1\n+  deb_blacklist[\"libcephfs-jni\"] = 1\n+  deb_blacklist[\"libcephfs1\"] = 1\n+  deb_blacklist[\"libcephfs1-dbg\"] = 1\n+  deb_blacklist[\"librados-dev\"] = 1\n+  deb_blacklist[\"librados2\"] = 1\n+  deb_blacklist[\"librados2-dbg\"] = 1\n+  deb_blacklist[\"librbd-dev\"] = 1\n+  deb_blacklist[\"librbd1\"] = 1\n+  deb_blacklist[\"librbd1-dbg\"] = 1\n+  deb_blacklist[\"python-ceph\"] = 1\n+  deb_blacklist[\"radosgw\"] = 1\n+  deb_blacklist[\"radosgw-dbg\"] = 1\n+  deb_blacklist[\"rbd-fuse\"] = 1\n+  deb_blacklist[\"rbd-fuse-dbg\"] = 1\n+  deb_blacklist[\"rest-bench\"] = 1\n+  deb_blacklist[\"rest-bench-dbg\"] = 1\n+}\n \/^Name \/{ name=$3}\n \/^Version \/{ version=$3}\n-\/^Release \/{ print name \": \\\"\" version \"-\" $3 \"\\\"\"}\n+\/^Release \/{\n+  if (name in rpm_blacklist == 0) {\n+    print name \": \\\"\" version \"-\" $3 \"\\\"\"\n+  }\n+}\n \/^Package:\/{ name=$2 }\n-\/^Version:\/{ print name \": \\\"\" $2 \"\\\"\"}\n+\/^Version:\/{\n+  if (name in deb_blacklist == 0) {\n+    print name \": \\\"\" $2 \"\\\"\"\n+  }\n+}\n"}
{"commit":"3c3d71ed8faaaa2500609b372c1a6e79b51de724","subject":"Languages: minor fix","message":"Languages: minor fix\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1569,7 +1569,7 @@\n     Locale[\"th\"][\"synonyms\"]           = \"\u0e04\u0e33\u0e1e\u0e49\u0e2d\u0e07\u0e04\u0e27\u0e32\u0e21\u0e2b\u0e21\u0e32\u0e22\"\n     Locale[\"th\"][\"examples\"]           = \"\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\"\n     Locale[\"th\"][\"see-also\"]           = \"\u0e14\u0e39\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\"\n-    Locale[\"th\"][\"family\"]             = \"Tai\u2013Kadai\"\n+    Locale[\"th\"][\"family\"]             = \"Tai-Kadai\"\n     Locale[\"th\"][\"iso\"]                = \"tha\"\n     Locale[\"th\"][\"glotto\"]             = \"thai1261\"\n     Locale[\"th\"][\"script\"]             = \"Thai\"\n"}
{"commit":"15f34f1a72d3d224b0fad765ea19841d0db594fa","subject":"Translate: do not trust redirecting location from an HTTP response","message":"Translate: do not trust redirecting location from an HTTP response\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -175,8 +175,10 @@\n         e(\"[ERROR] 404 Not Found\")\n         exit 1\n     }\n-    if ((status == \"301\" || status == \"302\") && location)\n-        content = curlPost(location, reqBody)\n+    if ((status == \"301\" || status == \"302\") && location) {\n+        url = \"https\" substr(url, 5) # switch to HTTPS; don't use location!\n+        content = curlPost(url, reqBody)\n+    }\n \n     return content\n }\n"}
{"commit":"68924c65787d2e620addc92178a7de0f708354b8","subject":"Rmove unused make-rules.awk.","message":"Rmove unused make-rules.awk.\n","repos":"aaichsmn\/tacc_stats,aaichsmn\/tacc_stats,TACCProjects\/tacc_stats,TACC\/tacc_stats,TACCProjects\/tacc_stats,dimm0\/tacc_stats,TACC\/tacc_stats,rtevans\/tacc_stats_old,TACC\/tacc_stats,ubccr\/tacc_stats,dimm0\/tacc_stats,ubccr\/tacc_stats,aaichsmn\/tacc_stats,TACC\/tacc_stats,TACC\/tacc_stats,rtevans\/tacc_stats_old,TACCProjects\/tacc_stats,dimm0\/tacc_stats,TACCProjects\/tacc_stats,dimm0\/tacc_stats,aaichsmn\/tacc_stats,rtevans\/tacc_stats_old,ubccr\/tacc_stats,sdsc\/xsede_stats,sdsc\/xsede_stats,ubccr\/tacc_stats,sdsc\/xsede_stats,ubccr\/tacc_stats,sdsc\/xsede_stats,dimm0\/tacc_stats","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- make-rules.awk\n+++ make-rules.awk\n@@ -1,9 +0,0 @@\n-#!\/usr\/bin\/awk -f\n-\n-# ST_OBJS-$(CONFIG_ST_AMD64_PMC) += st_amd64_pmc.o\n-# ST_FLAGS-$(CONFIG_ST_AMD64_PMC) += -DCONFIG_ST_AMD64_PMC=1\n-\n-{\n-  printf \"ST_OBJS_$(CONFIG_ST_%s) += st_%s.o\\n\", $1, tolower($1);\n-  printf \"ST_FLAGS_$(CONFIG_ST_%s) += -DCONFIG_ST_%s=1\\n\", $1, $1;\n-}\n"}
{"commit":"33d23b5dbb2f88a9f6137232174813c2d4ee2ddb","subject":"Add support for TypeScript files","message":"Add support for TypeScript files\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- tools\/git\/scripts\/annotate_file_type.awk\n+++ tools\/git\/scripts\/annotate_file_type.awk\n@@ -152,6 +152,10 @@\n \tprint \"SVG\" OFS $1 OFS $2\n \tnext\n }\n+\/\\.ts$\/ {\n+\tprint \"TypeScript\" OFS $1 OFS $2\n+\tnext\n+}\n \/\\.txt$\/ {\n \tprint \"plaintext\" OFS $1 OFS $2\n \tnext\n"}
{"commit":"44860e829f347a9dc4d3d26532358ee5ffbe008e","subject":"Suppress trailing comma.","message":"Suppress trailing comma.","repos":"BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- genconfigdefs.awk\n+++ genconfigdefs.awk\n@@ -1,12 +1,16 @@\n BEGIN\t{\n \tprint \"\/* file generated from $(srcdir)\/config.table, do not edit! *\/\\n\";\n-\tprint \"enum {\"\n+\tprint \"enum {\";\n \t}\n \n \t{\n-\tprint $2 \",\";\n+\t    if (p) {\n+\t\tprint p \",\";\n+\t\tp=\"\"; \n+\t    }\n+\t    p = $2\n \t}\n \n END\t{\n-\tprint \"};\"\n+\tprint p \"};\"\n \t}\n"}
{"commit":"2399bb73eda83ca825a10cd6781809ea491052ae","subject":"Translators\/DeepLTranslator: update API server hostname, fix #237","message":"Translators\/DeepLTranslator: update API server hostname, fix #237\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/DeepLTranslator.awk\n+++ include\/Translators\/DeepLTranslator.awk\n@@ -7,7 +7,7 @@\n \n function deeplInit() {\n     HttpProtocol = \"http:\/\/\"\n-    HttpHost = \"www.deepl.com\"\n+    HttpHost = \"www2.deepl.com\"\n     HttpPort = 80\n }\n \n@@ -35,7 +35,7 @@\n     data = data \"\\\"target_lang\\\":\\\"\" tl \"\\\"},\"\n     data = data \"\\\"priority\\\":1},\\\"id\\\":1}\"\n     l(data)\n-    url = \"https:\/\/www.deepl.com\/jsonrpc\"\n+    url = \"https:\/\/www2.deepl.com\/jsonrpc\"\n     content = curlPost(url, data)\n     return assert(content, \"[ERROR] Null response.\")\n }\n"}
{"commit":"db8190d42a4fa3e86e8da6802e82c5f079079089","subject":"Proper table name extraction","message":"Proper table name extraction\n","repos":"gxa\/gxa,gxa\/gxa,gxa\/gxa,gxa\/gxa,gxa\/gxa","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- sql\/where_clause.awk\n+++ sql\/where_clause.awk\n@@ -12,14 +12,14 @@\n } \n !comment && tolower(table) == tolower(desired) { \n \tif (!sql) {\n-\t\tsplit($0, parts, \/A2_\/);\n-\t\tsql = substr(parts[2], length(table) + 1);\n+\t\tsql = substr($0, index($0, \"A2_\" table) + length(\"A2_\" table) + 1);\n \t} else {\n \t\tsql = sql $0;\n \t}\n }\n \/\\;$\/ && sql { \n \ttable = \"\";\n+\tgsub(\/[[:space:]\\r\\n;]+\/, \" \", sql);\n \tprint sql;\n \tsql = 0;\n }\n"}
{"commit":"ed92fc614215d9043565e5d7f1e9cbd7f632f084","subject":"added frbr to default template generation.","message":"added frbr to default template generation.\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -59,6 +59,7 @@\n       print \"@prefix con:           <http:\/\/www.w3.org\/2000\/10\/swap\/pim\/contact#> .\"\n       print \"@prefix muo:           <http:\/\/purl.oclc.org\/NET\/muo\/muo#> .\"\n       print \"@prefix vs:            <http:\/\/www.w3.org\/2003\/06\/sw-vocab-status\/ns#> .\"\n+      print \"@prefix frbr:          <http:\/\/purl.org\/vocab\/frbr\/core#> .\"\n       print \"@prefix dgtwc:         <http:\/\/data-gov.tw.rpi.edu\/2009\/data-gov-twc.rdf#> .\"\n    }\n    print \"@prefix dcterms:       <http:\/\/purl.org\/dc\/terms\/> .\"\n"}
{"commit":"668e5881173fc86ebcdc3eabc232a4b9d57ccee2","subject":"spelling","message":"spelling\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/devlist2h.awk\n+++ dev\/usb\/devlist2h.awk\n@@ -1,6 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.2 1999\/08\/29 10:35:35 fgsch Exp $\n-#\t$NetBSD: devlist2h.awk,v 1.7 1999\/08\/28 10:01:42 augustss Exp $\n+#\t$NetBSD: devlist2h.awk,v 1.8 1999\/11\/18 23:32:25 augustss Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n # All rights reserved.\n@@ -64,7 +63,7 @@\n \telse\n \t\tprintf(\"\/* ??? *\/\\n\\n\") > hfile\n \tprintf(\"\/*\\n\") > hfile\n-\tprintf(\" * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n+\tprintf(\" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n \t    > hfile\n \tprintf(\" *\\n\") > hfile\n \tprintf(\" * generated from:\\n\") > hfile\n"}
{"commit":"26ea11dd5c18d06ffe7598e4615641b0be23b682","subject":"Add genre, rating, description","message":"Add genre, rating, description\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getBBoxCatalogFrom-sitemap.awk\n+++ getBBoxCatalogFrom-sitemap.awk\n@@ -2,7 +2,8 @@\n \n BEGIN {\n     # Print header\n-    printf (\"contentType\\tcontentId\\tpubDate\\ttitle\\tEntityId\\n\")\n+    printf (\"contentType\\tcontentId\\tpubDate\\ttitle\\tEntityId\\t\")\n+    printf (\"genre\\trating\\tdescription\\n\")\n }\n \n # Don't process credits\n@@ -33,6 +34,9 @@\n     pubDate = \"\"\n     title = \"\"\n     EntityId = \"\"\n+    genre = \"\"\n+    rating = \"\"\n+    description = \"\"\n }\n \n # Grab pubDate\n@@ -44,12 +48,37 @@\n     sub (\/Z\/,\"\",pubDate)\n     # print \"pubDate = \" pubDate\n }\n+\n # Grab title\n # <title locale=\"en-US\">Frequent Flyers<\/title>\n \/<title locale=\"en-US\">\/ {\n     split ($0,fld,\"[<>]\")\n     title = fld[3]\n     # print \"title = \" title\n+}\n+\n+# Grab genre\n+# <genre>drama<\/genre>\n+\/<genre>\/ {\n+    split ($0,fld,\"[<>]\")\n+    genre = fld[3]\n+    # print \"genre = \" genre\n+}\n+\n+# Grab description\n+# <description>Set in the beautiful Yorkshire Dales, ...word.<\/description>\n+\/<description>\/ {\n+    split ($0,fld,\"[<>]\")\n+    description = fld[3]\n+    # print \"description = \" description\n+}\n+\n+# Grab rating\n+# <rating systemCode=\"us-tv\">TV-PG<\/rating>\n+\/<rating systemCode=\/ {\n+    split ($0,fld,\"[<>]\")\n+    rating = fld[3]\n+    # print \"rating = \" rating\n }\n \n # Grab EntityId from artwork\n@@ -72,7 +101,8 @@\n         EntityId = \"_23842\"\n         # print \"EntityId = \" EntityId\n     }\n-    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\n\", contentType, contentId, pubDate, title, EntityId)\n+    printf (\"%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\", contentType, contentId, pubDate, title, EntityId, \\\n+            genre, rating, description)\n }\n \n # <artwork url=\"https:\/\/us.britbox.com\/isl\/api\/v1\/dataservice\/ResizeImage\/$value?Format=&apos;jpg&apos;&amp;Quality=45&amp;ImageId=&apos;176236&apos;&amp;EntityType=&apos;Item&apos;&amp;EntityId=&apos;16103&apos;&amp;Width=1920&amp;Height=1080&amp;ResizeAction=&apos;fit&apos;\" type=\"tile_artwork\" \/>\n"}
{"commit":"893e42d381092735732ce910a8117626125591a0","subject":"Remove trimming of labels","message":"Remove trimming of labels\n\nIt is probably obsolete, certainly the output is the same without it\nfor the existing labels.\n","repos":"lonkamikaze\/powerdxx,lonkamikaze\/powerdxx","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- doxy\/githublabels.awk\n+++ doxy\/githublabels.awk\n@@ -37,8 +37,6 @@\n \tid = tolower(line)\n \tgsub(\/[^- \\t_a-z0-9]\/, \"\", id) # remove undesired characters\n \tgsub(\/[ \\t]\/, \"-\", id)         # replace white space with _\n-\tgsub(\/^-*\/, \"\", id)            # trim front\n-\tgsub(\/-*$\/, \"\", id)            # trim back\n \tline = line \" {#\" prefix id \"}\"\n }\n \n"}
{"commit":"9349e77d8933d56a15e36c8d2b5b6346455b243c","subject":"Languages: fix ins()","message":"Languages: fix ins()\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1320,11 +1320,11 @@\n # Parameters:\n #     code: ignore to apply bidirectional algorithm on every string\n function show(text, code,    temp) {\n-    if (!code || Locale[getCode(code)][\"rtl\"]) {\n+    if (!code || isRTL(code)) {\n         if (Cache[text][0])\n             return Cache[text][0]\n         else {\n-            if (FriBidi || (code && Locale[getCode(code)][\"rtl\"]))\n+            if (FriBidi || (code && isRTL(code)))\n                 (\"echo \" parameterize(text) \" | \" BiDiNoPad) | getline temp\n             else # non-RTL language, or FriBidi not installed\n                 temp = text\n@@ -1339,12 +1339,12 @@\n #     code: ignore to apply bidirectional algorithm on every string\n #     width: ignore to use default width for padding\n function s(text, code, width,    temp) {\n-    if (!code || Locale[getCode(code)][\"rtl\"]) {\n+    if (!code || isRTL(code)) {\n         if (!width) width = Option[\"width\"]\n         if (Cache[text][width])\n             return Cache[text][width]\n         else {\n-            if (FriBidi || (code && Locale[getCode(code)][\"rtl\"]))\n+            if (FriBidi || (code && isRTL(code)))\n                 (\"echo \" parameterize(text) \" | \" sprintf(BiDi, width)) | getline temp\n             else # non-RTL language, or FriBidi not installed\n                 temp = text\n@@ -1360,9 +1360,9 @@\n #     code: ignore to apply left indentation\n #     width: ignore to use default width for padding\n function ins(level, text, code, width,    i, temp) {\n-    if (code && Locale[getCode(code)][\"rtl\"]) {\n+    if (code && isRTL(code)) {\n         if (!width) width = Option[\"width\"]\n-        return s(text, code, width - level * length(I))\n+        return s(text, code, width - Option[\"indent\"] * level)\n     } else\n         return replicate(\" \", Option[\"indent\"] * level) text\n }\n"}
{"commit":"9e5cffc10f0542cb5b0891258f30ea2ccd3e5d4e","subject":"- This should not be \"unsigned\".","message":"- This should not be \"unsigned\".\n\n\ngit-svn-id: 74e0a9e6c5d9c3e57f79acf98f28a92415314dbb@290 76bb4867-1e22-0410-9289-e9e6e9b3b6f2\n","repos":"moriyoshi\/libmbfl,moriyoshi\/libmbfl,moriyoshi\/libmbfl","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- filters\/mk_sb_tbl.awk\n+++ filters\/mk_sb_tbl.awk\n@@ -46,7 +46,7 @@\n \t\tprint \"#ifndef \" IFNDEF_NAME\n \t}\n \n-\tprint \"static const unsigned int \" TABLE_NAME \"[] = {\"\n+\tprint \"static const int \" TABLE_NAME \"[] = {\"\n \ti = 160;\n \tfor (;;) {\n \t\tprintf(\"\\t0x%04x, 0x%04x, 0x%04x, 0x%04x, 0x%04x, 0x%04x, 0x%04x, 0x%04x\", tbl[i++], tbl[i++], tbl[i++], tbl[i++], tbl[i++], tbl[i++], tbl[i++], tbl[i++]);\n"}
{"commit":"ad90a67629811952be6738fc0da4f8069351a39f","subject":"Translators\/BingTranslator: trivial","message":"Translators\/BingTranslator: trivial\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/BingTranslator.awk\n+++ include\/Translators\/BingTranslator.awk\n@@ -76,7 +76,7 @@\n \n     # Automatic ISO country code\n     if (country) tl = tl \"-\" country\n-    else if (tl == \"ar\") tl = tl \"-EG\" # FIXME: sometimes doesn't work. Why?\n+    else if (tl == \"ar\") tl = tl \"-EG\" # sometimes doesn't work. Why?\n     else if (tl == \"da\") tl = tl \"-DK\"\n     else if (tl == \"de\") tl = tl \"-DE\"\n     else if (tl == \"en\") tl = tl \"-US\"\n@@ -200,7 +200,7 @@\n     # Hot-patches for Bing's own translator language codes\n     # See: <https:\/\/msdn.microsoft.com\/en-us\/library\/hh456380.aspx>\n     if (_sl == \"auto\")  _sl = \"auto-detect\"\n-    if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code  # FIXME\n+    if (_sl == \"bs\")    _sl = \"bs-Latn\" # 'bs' is not recognized as valid code\n     if (_sl == \"zh-CN\") _sl = \"zh-Hans\"\n     if (_sl == \"zh-TW\") _sl = \"zh-Hant\"\n     if (_tl == \"bs\")    _tl = \"bs-Latn\"\n"}
{"commit":"ee0b4707ea2634b212a64cef80de6516bd341f41","subject":"the_t world_t would_t be_t a_t better_t place_t if_t some_t people_t did_t not_t feel_t the_t need_t to_t typedef_t everything_t","message":"the_t world_t would_t be_t a_t better_t place_t if_t some_t people_t did_t\nnot_t feel_t the_t need_t to_t typedef_t everything_t\n","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars","returncode":0,"stderr":"","license":"isc","lang":"Awk","diff":"--- dev\/usb\/devlist2h.awk\n+++ dev\/usb\/devlist2h.awk\n@@ -1,5 +1,5 @@\n #! \/usr\/bin\/awk -f\n-#\t$OpenBSD: devlist2h.awk,v 1.9 2007\/02\/28 22:30:55 deraadt Exp $\n+#\t$OpenBSD: devlist2h.awk,v 1.10 2007\/02\/28 22:51:07 deraadt Exp $\n #\t$NetBSD: devlist2h.awk,v 1.9 2001\/01\/18 20:28:22 jdolecek Exp $\n #\n # Copyright (c) 1995, 1996 Christopher G. Demetriou\n@@ -175,21 +175,18 @@\n \n \tprintf(\"\\n\") > dfile\n \n-\tprintf(\"typedef u_int16_t usb_vendor_id_t;\\n\") > dfile\n-\tprintf(\"typedef u_int16_t usb_product_id_t;\\n\\n\") > dfile\n-\n \tprintf(\"\/*\\n\") > dfile\n \tprintf(\" * Descriptions of known vendors and devices (\\\"products\\\").\\n\") > dfile\n \tprintf(\" *\/\\n\") > dfile\n \tprintf(\"struct usb_known_vendor {\\n\") > dfile\n-\tprintf(\"\tusb_vendor_id_t\t\tvendor;\\n\") > dfile\n-\tprintf(\"\tchar\t\t\t*vendorname;\\n\") > dfile\n+\tprintf(\"\tu_int16_t\tvendor;\\n\") > dfile\n+\tprintf(\"\tchar\t\t*vendorname;\\n\") > dfile\n \tprintf(\"};\\n\\n\") > dfile\n \n \tprintf(\"struct usb_known_product {\\n\") > dfile\n-\tprintf(\"\tusb_vendor_id_t\t\tvendor;\\n\") > dfile\n-\tprintf(\"\tusb_product_id_t\tproduct;\\n\") > dfile\n-\tprintf(\"\tchar\t\t\t*productname;\\n\") > dfile\n+\tprintf(\"\tu_int16_t\tvendor;\\n\") > dfile\n+\tprintf(\"\tu_int16_t\tproduct;\\n\") > dfile\n+\tprintf(\"\tchar\t\t*productname;\\n\") > dfile\n \tprintf(\"};\\n\\n\") > dfile\n \tprintf(\"const struct usb_known_product usb_known_products[] = {\\n\") \\\n \t    > dfile\n"}
{"commit":"9e2c1744003bb4a10b31f35fbadc73fda832baa8","subject":"Parser script displays compiler warnings","message":"Parser script displays compiler warnings\n","repos":"jsconan\/camelSCAD","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/parse-test.awk\n+++ scripts\/parse-test.awk\n@@ -60,6 +60,11 @@\n     GREY     = \"\\033[0;37m\"\n     WHITE    = \"\\033[1;37m\"\n     RESET    = \"\\033[0m\"\n+}\n+\n+# detect compiler warnings\n+$0~\/^WARNING:\/ {\n+    printf(\"\\n%s%s\\n\", LRED, $0)\n }\n \n # detect package declarations\n"}
{"commit":"408099ae1dfda2ebc1502ff77847b6d4b8052b73","subject":"fix csv by stripping double-quotes from committer names","message":"fix csv by stripping double-quotes from committer names\n","repos":"tadhunt\/repostats","returncode":0,"stderr":"","license":"bsd-2-clause","lang":"Awk","diff":"--- src\/log-massage.awk\n+++ src\/log-massage.awk\n@@ -86,7 +86,9 @@\n \tndeletions = $2\n \tfile = $0\n \tsub(\/^[0-9]+[ \t]+[0-9]+[ \t]+\/, \"\", file)\t# easier this way because the filename might contain spaces\n+\n \tgsub(\/\"\/, \"'\", file)\n+\tgsub(\/\"\/, \"'\", author)\n \n \tif(ninsertions > 0 || ndeletions > 0) {\n \t\tprintf(\"\\\"%s\\\",%d,%d,\\\"%s\\\",\\\"%s\\\",\\\"%s\\\"\\n\",\n"}
{"commit":"be1cec3c2edd2233f7584c760d9562084328877d","subject":"Languages: add 3 more Austronesian languages (Bing only)","message":"Languages: add 3 more Austronesian languages (Bing only)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Languages.awk\n+++ include\/Languages.awk\n@@ -1407,6 +1407,15 @@\n     Locale[\"yue\"][\"glotto\"]            = \"cant1236\"\n     Locale[\"yue\"][\"script\"]            = \"Hant\"\n \n+    #* Fijian\n+    Locale[\"fj\"][\"support\"]           = \"bing-only\"\n+    Locale[\"fj\"][\"name\"]              = \"Fijian\"\n+    Locale[\"fj\"][\"endonym\"]           = \"Vosa Vakaviti\"\n+    Locale[\"fj\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"fj\"][\"iso\"]               = \"fij\"\n+    Locale[\"fj\"][\"glotto\"]            = \"fiji1243\"\n+    Locale[\"fj\"][\"script\"]            = \"Latn\"\n+\n     #* Hmong Daw\n     Locale[\"mww\"][\"support\"]           = \"bing-only\"\n     Locale[\"mww\"][\"name\"]              = \"Hmong Daw\"\n@@ -1424,6 +1433,24 @@\n     Locale[\"otq\"][\"iso\"]               = \"otq\"\n     Locale[\"otq\"][\"glotto\"]            = \"quer1236\"\n     Locale[\"otq\"][\"script\"]            = \"Latn\"\n+\n+    #* Tahitian\n+    Locale[\"ty\"][\"support\"]           = \"bing-only\"\n+    Locale[\"ty\"][\"name\"]              = \"Tahitian\"\n+    Locale[\"ty\"][\"endonym\"]           = \"Reo Tahiti\"\n+    Locale[\"ty\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"ty\"][\"iso\"]               = \"tah\"\n+    Locale[\"ty\"][\"glotto\"]            = \"tahi1242\"\n+    Locale[\"ty\"][\"script\"]            = \"Latn\"\n+\n+    #* Tongan\n+    Locale[\"to\"][\"support\"]           = \"bing-only\"\n+    Locale[\"to\"][\"name\"]              = \"Tongan\"\n+    Locale[\"to\"][\"endonym\"]           = \"Lea faka-Tonga\"\n+    Locale[\"to\"][\"family\"]            = \"Austronesian\"\n+    Locale[\"to\"][\"iso\"]               = \"ton\"\n+    Locale[\"to\"][\"glotto\"]            = \"tong1325\"\n+    Locale[\"to\"][\"script\"]            = \"Latn\"\n \n     #* Yucatec Maya\n     Locale[\"yua\"][\"support\"]           = \"bing-only\"\n@@ -1521,20 +1548,6 @@\n     Locale[\"fo\"][\"iso\"]                = \"fao\"\n     Locale[\"fo\"][\"glotto\"]             = \"faro1244\"\n     Locale[\"fo\"][\"script\"]             = \"Latn\"\n-\n-    #? Fijian\n-    Locale[\"fj\"][\"support\"]            = \"unstable\"\n-    Locale[\"fj\"][\"name\"]               = \"Fijian\"\n-    Locale[\"fj\"][\"endonym\"]            = \"Vosa Vakaviti\"\n-    #Locale[\"fj\"][\"translations-of\"]\n-    #Locale[\"fj\"][\"definitions-of\"]\n-    #Locale[\"fj\"][\"synonyms\"]\n-    #Locale[\"fj\"][\"examples\"]\n-    #Locale[\"fj\"][\"see-also\"]\n-    Locale[\"fj\"][\"family\"]             = \"Austronesian\"\n-    Locale[\"fj\"][\"iso\"]                = \"fij\"\n-    Locale[\"fj\"][\"glotto\"]             = \"fiji1243\"\n-    Locale[\"fj\"][\"script\"]             = \"Latn\"\n \n     #? Guarani\n     Locale[\"gn\"][\"support\"]            = \"unstable\"\n"}
{"commit":"830c1f36d3b550bbad5881887b97f78b11803095","subject":"Translate: check for existence of ast properly","message":"Translate: check for existence of ast properly\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -141,7 +141,7 @@\n     l(content, \"content\", 1, 1)\n     l(tokens, \"tokens\", 1, 0, 1)\n     l(ast, \"ast\")\n-    if (!anything(ast)) {\n+    if (!isarray(ast) || !anything(ast)) {\n         e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n         ExitCode = 1\n         return\n"}
{"commit":"95f5ac13bf6b9bc986a87ec2811cf3e7b12b5451","subject":"msg_parser.awk: removed gawkism from header name hash calculation","message":"msg_parser.awk: removed gawkism from header name hash calculation\n\ndarcs-hash:20070307103222-88462-8760a9aa67804a7a35667b694641bb47e857199d.gz\n","repos":"xhook\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- libsofia-sip-ua\/msg\/msg_parser.awk\n+++ libsofia-sip-ua\/msg\/msg_parser.awk\n@@ -80,11 +80,16 @@\n {\n   hash = 0;\n \n-  len = split(name, chars, \"\");\n+  len = length(name); \n \n   for (i = 1; i <= len; i++) {\n-    c = tolower(chars[i]);\n+    c = tolower(substr(name, i, 1));\n     hash = (38501 * (hash + index(ascii, c))) % 65536;\n+  }\n+\n+  if (hash == 0) {\n+    print \"*** msg_parser.awk: calculating hash failed\\n\";\n+    exit(5);\n   }\n \n   if (0) {\n"}
{"commit":"ee9cf9d9ef41157410d69074f63efb64fe8589d4","subject":"Make the delabeling sorting faster","message":"Make the delabeling sorting faster\n","repos":"dustalov\/watset,dustalov\/watset","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- impl\/delabel.awk\n+++ impl\/delabel.awk\n@@ -10,6 +10,6 @@\n         sep = \", \";\n         len++;\n     }\n-    print $1, len, synset | \"sort --parallel=$(nproc) -k2nr -k1n -s\";\n+    print $1, len, synset | \"sort --parallel=$(nproc) -t \\\"\\t\\\" -S1G -k2nr -k1n -s\";\n     synset = sep = len = \"\"; delete uniq;\n }\n"}
{"commit":"c01e2fd332b46d5aaf1249cba1d410f3a9f6ac1f","subject":"revert 9d28808 (due to inconsistency of calling `tput cols`)","message":"revert 9d28808 (due to inconsistency of calling `tput cols`)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -31,12 +31,7 @@\n     Option[\"debug\"] = 0\n \n     Option[\"verbose\"] = 1\n-    if (ENVIRON[\"COLUMNS\"])\n-        Option[\"width\"] = ENVIRON[\"COLUMNS\"]\n-    else {\n-        \"tput cols 2>\/dev\/null\" |& getline Option[\"width\"]\n-        if (!Option[\"width\"]) Option[\"width\"] = 64\n-    }\n+    Option[\"width\"] = ENVIRON[\"COLUMNS\"] ? ENVIRON[\"COLUMNS\"] : 64\n \n     Option[\"browser\"] = ENVIRON[\"BROWSER\"]\n \n"}
{"commit":"95ce4827bfccab6dc006856c8966d92b5ec43f1d","subject":"remove tab","message":"remove tab\n\nOops. Missed one tab whie removing tabs previously.\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- fetchAcorn-episodes.awk\n+++ fetchAcorn-episodes.awk\n@@ -30,7 +30,7 @@\n     gsub (\/  *\/,\" \")\n     sub (\/ *$\/,\"\")\n     # fix funky HTML characters\n-\tgsub (\/&#39;\/,\"'\")\n+    gsub (\/&#39;\/,\"'\")\n     print >> DESCRIPTION_FILE\n }\n \n"}
{"commit":"a48c90e9d9e03f91fdb2bdd83087e97c11d6c7e5","subject":"Change assignments.","message":"Change assignments.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@26794 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -32,9 +32,9 @@\n       if (r[pn] == \"\") {\n         if ((substr(p[pn],1,2) >= \"Aa\") && (substr(p[pn],1,2) <= \"Am\")) {\n           r[pn] = \"7\"\n-        } else if ((substr(p[pn],1,2) >= \"An\") && (substr(p[pn],1,2) <= \"Dz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"An\") && (substr(p[pn],1,2) <= \"Bz\")) {\n           r[pn] = \"4\"\n-        } else if ((substr(p[pn],1,2) >= \"Ea\") && (substr(p[pn],1,2) <= \"Nz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"Ca\") && (substr(p[pn],1,2) <= \"Nz\")) {\n           r[pn] = \"5\"\n         } else if (substr(p[pn],1,1) >= \"O\") {\n           r[pn] = \"8\"\n"}
{"commit":"47151cc7011200c9170c1deabe3f5bea7edcef05","subject":"Only process content from 2010 forward.","message":"Only process content from 2010 forward.","repos":"edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -11,12 +11,12 @@\n #$3>date\n \n {\n-  # add a loop to add line only if either [status is _not_ manifest] OR [journal_year (or journal end year) is gt or eq to 2005 && journal year (or journal end year) is lt or eq to the current year we are testing]\n+  # add a loop to add line only if either [status is _not_ manifest] OR [journal_year (or journal end year) is gt or eq to 2010 && journal year (or journal end year) is lt or eq to the current year we are testing]\n   current_year = 2016\n   end_year = 0\n   incontract = 0\n   test_year = \"\"\n-  test_year = 2005\n+  test_year = 2010\n   if (length($5) > 3) {\n     end_year = substr($5,length($5)-3,4)\n   }\n"}
{"commit":"a85a91a7d91abccd9f50bdc9c96b5a99d572226d","subject":"INTEGRATION: CWS locdat30 (1.6.20); FILE MERGED 2008\/06\/15 11:51:30 erack 1.6.20.2: check if CurrencyID resembles ISO 4217 code and equals BankSymbol 2008\/06\/14 18:46:37 erack 1.6.20.1: continue lookup for compatible symbol","message":"INTEGRATION: CWS locdat30 (1.6.20); FILE MERGED\n2008\/06\/15 11:51:30 erack 1.6.20.2: check if CurrencyID resembles ISO 4217 code and equals BankSymbol\n2008\/06\/14 18:46:37 erack 1.6.20.1: continue lookup for compatible symbol\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":0,"stderr":"","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/currency-check.awk\n+++ i18npool\/source\/localedata\/data\/currency-check.awk\n@@ -23,9 +23,7 @@\n     file = FILENAME\n     line = 0\n     nFormats = 0\n-    nSymbols = 0\n-    bSymbolDefault = 0\n-    bSymbolCompati = 0\n+    nCurrencies = 0\n     bFormatAuto = 0\n     sReplaceFrom = \"\"\n     sReplaceTo = \"\"\n@@ -136,30 +134,51 @@\n \n \n function getCurrencyParams() {\n+    # Assumes that each element is on a line on its own!\n     if ( $1 ~ \/^<Currency(>|$)\/ )\n     {\n         if ( $0 ~ \/default=\"true\"\/ )\n-            bSymbolDefault = 1\n-        else\n-            bSymbolDefault = 0\n+            SymbolDefault[nCurrencies] = 1\n+        else\n+            SymbolDefault[nCurrencies] = 0\n         if ( $0 ~ \/usedInCompatibleFormatCodes=\"true\"\/ )\n-            bSymbolCompati = 1\n-        else\n-            bSymbolCompati = 0\n-    }\n-    else if ( $0 ~ \/^[[:blank:]]*<CurrencySymbol>\/ )\n+            SymbolCompati[nCurrencies] = 1\n+        else\n+            SymbolCompati[nCurrencies] = 0\n+    }\n+    else if ( $0 ~ \/^[[:blank:]]*<CurrencyID>\/ )\n     {\n         split( $0, arr, \/<|>\/ )\n         if ( sRefCurrencyFromLocale )\n-            SymbolLine[nSymbols] = file \" line \" line \\\n+            IDLine[nCurrencies] = file \" line \" line \\\n                 \" (referenced from \" sRefCurrencyFromLocale \")\"\n         else\n-            SymbolLine[nSymbols] = file \" line \" line\n-        SymbolDefault[nSymbols] = bSymbolDefault\n-        SymbolCompati[nSymbols] = bSymbolCompati\n-        Symbols[nSymbols++] = arr[3]\n-        bSymbolDefault = 0\n-        bSymbolCompati = 0\n+            IDLine[nCurrencies] = file \" line \" line\n+        IDs[nCurrencies] = arr[3]\n+    }\n+    else if ( $0 ~ \/^[[:blank:]]*<CurrencySymbol>\/ )\n+    {\n+        split( $0, arr, \/<|>\/ )\n+        if ( sRefCurrencyFromLocale )\n+            SymbolLine[nCurrencies] = file \" line \" line \\\n+                \" (referenced from \" sRefCurrencyFromLocale \")\"\n+        else\n+            SymbolLine[nCurrencies] = file \" line \" line\n+        Symbols[nCurrencies] = arr[3]\n+    }\n+    else if ( $0 ~ \/^[[:blank:]]*<BankSymbol>\/ )\n+    {\n+        split( $0, arr, \/<|>\/ )\n+        if ( sRefCurrencyFromLocale )\n+            BankSymbolLine[nCurrencies] = file \" line \" line \\\n+                \" (referenced from \" sRefCurrencyFromLocale \")\"\n+        else\n+            BankSymbolLine[nCurrencies] = file \" line \" line\n+        BankSymbols[nCurrencies] = arr[3]\n+    }\n+    else if ( $1 ~ \/^<\\\/Currency>\/ )\n+    {\n+        ++nCurrencies\n     }\n }\n \n@@ -187,7 +206,7 @@\n     }\n     if ( bad )\n     {\n-        for ( j=0; j<nSymbols; ++j )\n+        for ( j=0; j<nCurrencies; ++j )\n         {\n             bDef = 0\n             if ( Symbols[j] == \"\\xc2\\xa4\" )\n@@ -210,7 +229,7 @@\n     {\n         bHasDefault = 0\n         bHasCompati = 0\n-        for ( j=0; j<nSymbols; ++j )\n+        for ( j=0; j<nCurrencies; ++j )\n         {\n             if ( Symbols[j] == \"\\xc2\\xa4\" )\n             {\n@@ -249,23 +268,51 @@\n             print \"  no compati: (\" file \")\"\n         }\n     }\n+    for ( j=0; j<nCurrencies; ++j )\n+    {\n+        # Check if CurrencyID at least resembles some ISO 4217 code.\n+        # The only exception is zh_MO that had an erroneous original data set\n+        # with BankSymbol=\"P\" (stored as ISO code in documents, hence copied to\n+        # CurrencyID now) and needs that entry for legacy documents.\n+        # There is a strange bug in gawk 3.1.4 that does a match of [A-Z] on\n+        # lower case except 'a', regardless of IGNORECASE setting, hence this\n+        # ugly notation. [[:upper:]] wouldn't be correct since we want only\n+        # ASCII to match.\n+        if ( IDs[j] !~ \/^[ABCDEFGHIJKLMNOPQRSTUVWXYZ][ABCDEFGHIJKLMNOPQRSTUVWXYZ][ABCDEFGHIJKLMNOPQRSTUVWXYZ]$\/ \\\n+              && !(file == \"zh_MO.xml\" && IDs[j] == \"P\") )\n+        {\n+            bad = 1\n+            print \"no ISO 4217 code: `\" IDs[j] \"'   (\" IDLine[j] \")\"\n+        }\n+        # CurrencyID should equal BankSymbol for now.\n+        if ( IDs[j] != BankSymbols[j] )\n+        {\n+            bad = 1\n+            print \"not equal: CurrencyID `\" IDs[j] \"' != BankSymbol `\" BankSymbols[j] \\\n+                  \"'   (\" IDLine[j] \" and \" BankSymbolLine[j] \")\"\n+        }\n+    }\n     if ( bad )\n         print \"\"\n }\n \n \n function FormatInSymbol( format ) {\n-    for ( nSym=0; nSym<nSymbols; ++nSym )\n+    state = 0\n+    for ( nSym=0; nSym<nCurrencies; ++nSym )\n     {\n         if ( format == Symbols[nSym] )\n         {\n+            # Two currencies can have the same symbol (e.g. az_AZ.xml 'man.'\n+            # for AZM and AZN), continue to lookup if the match isn't the\n+            # compatible one.\n             if ( SymbolCompati[nSym] )\n                 return 2\n             else\n-                return 1\n-        }\n-    }\n-    return 0\n+                state = 1\n+        }\n+    }\n+    return state\n }\n \n # vim: ts=4 sw=4 expandtab\n"}
{"commit":"082cb1abe7170e83a5c6a2a4f14f1f92ab183e49","subject":"minor edits","message":"minor edits\n","repos":"monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -11,7 +11,7 @@\n #  This may over generalize in some cases because I do not have\n #  a handy way to differentiate uri for subjects and objects\n #  which may belong to a \"structural\" ontology as opposed to\n-# a data uri.\n+#  a data uri.\n \n #  Post processing to augment predicate identifiers\n #  with their labels seems to improve usefulness.\n@@ -62,7 +62,7 @@\n # this passes valid node labels from dot's perspective\n function simplify(str){\n \tgsub(\/[^[:alpha:][:digit:]_]+\/,\"_\",str)\n-\tgsub(\/^_+|_+$\/, \"\",str)\n+\tgsub(\/^_*|_*$\/, \"\",str)\n \tgsub(\/__*\/,\"_\",str)\n \treturn str\n }\n@@ -193,7 +193,7 @@\n \n # print anything else so it makes itself known\n (FNR != NR) && (done[NR]<1) && (NF>1){\n-\tprintf(\"ERROR? in %s at line %i  %s\",FILENAME,FNR,$0) > \"\/dev\/stderr\"\n+\tprintf(\"ERROR? in %s at line %i:  %s\\n\",FILENAME,FNR,$0) > \"\/dev\/stderr\"\n }\n \n # output dot file, include edge counts\n"}
{"commit":"aa57343d2541b121c225a80b92c85bda78e8dec5","subject":"Use waas cache on Status page","message":"Use waas cache on Status page\n","repos":"KnCMiner\/knc-asic,KnCMiner\/knc-asic,KnCMiner\/knc-asic","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- RPi_system\/get_asic_stats.awk\n+++ RPi_system\/get_asic_stats.awk\n@@ -1,46 +1,33 @@\n #!\/usr\/bin\/awk -f\n BEGIN {\n-  for (asic = 0; asic < 6; asic++) {\n+  NUM_ASIC = 6;\n+  NUM_DIE = 4;\n+  NUM_DCDC = 8;\n+  for (asic = 0; asic < NUM_ASIC; ++asic) {\n     asic_temp[asic] = \"\";\n     asic_type[asic] = \"OFF\";\n-    for (die = 0; die < 4; die++) {\n-        asic_freq[asic, die] = 0;\n+    for (die = 0; die < NUM_DIE; ++die) {\n+      asic_freq[asic, die] = 0;\n     }\n-    for (dcdc = 0; dcdc < 8; dcdc++)\n+    for (dcdc = 0; dcdc < NUM_DCDC; ++dcdc)\n       asic_dcdctemp[asic, dcdc] = \"\";\n   }\n   cur_asic = 0;\n  }\n \n-\/\"asic_1\"\/ { cur_asic = 0 }\n-\/\"asic_2\"\/ { cur_asic = 1 }\n-\/\"asic_3\"\/ { cur_asic = 2 }\n-\/\"asic_4\"\/ { cur_asic = 3 }\n-\/\"asic_5\"\/ { cur_asic = 4 }\n-\/\"asic_6\"\/ { cur_asic = 5 }\n-\n-\/\"die0_Freq\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_freq[cur_asic, 0] = $2 }\n-\/\"die1_Freq\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_freq[cur_asic, 1] = $2 }\n-\/\"die2_Freq\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_freq[cur_asic, 2] = $2 }\n-\/\"die3_Freq\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_freq[cur_asic, 3] = $2 }\n-\n-\/\"dcdc0_Temp\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_dcdctemp[cur_asic, 0] = $2 }\n-\/\"dcdc1_Temp\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_dcdctemp[cur_asic, 1] = $2 }\n-\/\"dcdc2_Temp\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_dcdctemp[cur_asic, 2] = $2 }\n-\/\"dcdc3_Temp\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_dcdctemp[cur_asic, 3] = $2 }\n-\/\"dcdc4_Temp\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_dcdctemp[cur_asic, 4] = $2 }\n-\/\"dcdc5_Temp\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_dcdctemp[cur_asic, 5] = $2 }\n-\/\"dcdc6_Temp\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_dcdctemp[cur_asic, 6] = $2 }\n-\/\"dcdc7_Temp\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_dcdctemp[cur_asic, 7] = $2 }\n-\n-\/BOARD0=\/ { gsub(\/BOARD0=\/, \"\", $1); asic_type[0] = $1 }\n-\/BOARD1=\/ { gsub(\/BOARD1=\/, \"\", $1); asic_type[1] = $1 }\n-\/BOARD2=\/ { gsub(\/BOARD2=\/, \"\", $1); asic_type[2] = $1 }\n-\/BOARD3=\/ { gsub(\/BOARD3=\/, \"\", $1); asic_type[3] = $1 }\n-\/BOARD4=\/ { gsub(\/BOARD4=\/, \"\", $1); asic_type[4] = $1 }\n-\/BOARD5=\/ { gsub(\/BOARD5=\/, \"\", $1); asic_type[5] = $1 }\n-\n-\/\"temperature\"\/ { gsub(\/\"\/, \"\", $2); gsub(\/,\/, \"\", $2); asic_temp[cur_asic] = $2 }\n+\/ASICCACHE\/ { asic = $2;\n+  asic_type[asic] = $3;\n+  asic_temp[asic] = $4;\n+  for (die = 0; die < NUM_DIE; ++die) {\n+    asic_freq[asic, die] = $(5 + die*2);\n+    asic_volt[asic, die] = $(5 + die*2 + 1);\n+  }\n+  for (dcdc = 0; dcdc < NUM_DCDC; ++dcdc) {\n+    asic_dcdctemp[asic, dcdc] = $(5 + NUM_DIE*2 + dcdc*3);\n+    asic_dcdcVout[asic, dcdc] = $(5 + NUM_DIE*2 + dcdc*3 + 1);\n+    asic_dcdcIout[asic, dcdc] = $(5 + NUM_DIE*2 + dcdc*3 + 2);\n+  }\n+}\n \n END {\n   for (asic = 0; asic < 6; asic++) {\n@@ -48,6 +35,8 @@\n     temp = \"---\";\n     if (\"\" != asic_temp[asic])\n       temp = (0.0 + asic_temp[asic]);\n+    if (temp <= 0)\n+      temp = \"---\";\n     freq = 0.0;\n     for (die = 0; die < 4; die++) {\n       freq += asic_freq[asic, die];\n@@ -63,7 +52,7 @@\n       dcdctemp += asic_dcdctemp[asic, dcdc];\n       dcdcnum++;\n     }\n-    if (0 == dcdcnum)\n+    if ((0 == dcdcnum) || (dcdctemp <= 0))\n       dcdctemp = \"---\";\n     else\n       dcdctemp = sprintf(\"%.1f\", dcdctemp \/ dcdcnum);\n"}
{"commit":"8d4a222e12f8ce99714fad5011d76bd6a38c36e3","subject":"devtools: fix path in forbidden token check","message":"devtools: fix path in forbidden token check\n\nFix displayed filename by adjusting the extraction from the patch.\n\nBefore:\nWarning in \/lib\/librte_eal\/linux\/eal.c:\n\nAfter:\nWarning in lib\/librte_eal\/linux\/eal.c:\n\nFixes: 7413e7f2aeb3 (\"devtools: alert on new calls to exit from libs\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <f28529695cfa9e3e1eb84e7072aa626af4abb18e@redhat.com>\n","repos":"john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk,john-mcnamara-intel\/dpdk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- devtools\/check-forbidden-tokens.awk\n+++ devtools\/check-forbidden-tokens.awk\n@@ -62,7 +62,7 @@\n }\n END {\n \tif (count > 0) {\n-\t\tprint \"Warning in \" substr(last_file,6) \":\"\n+\t\tprint \"Warning in \" substr(last_file,7) \":\"\n \t\tprint MESSAGE\n \t\texit RET_ON_FAIL\n \t}\n"}
{"commit":"2c9500a47e80bc9109832d1dcc5de1ee3ee48c00","subject":"Reassign publishers.","message":"Reassign publishers.\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@33750 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -34,9 +34,9 @@\n           r[pn] = \"4\"\n         } else if ((substr(p[pn],1,2) >= \"American S\") && (substr(p[pn],1,2) <= \"Bz\")) {\n           r[pn] = \"4\"\n-        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Pz\")) {\n+        } else if ((substr(p[pn],1,2) >= \"CA\") && (substr(p[pn],1,2) <= \"Rz\")) {\n           r[pn] = \"5\"\n-        } else if (substr(p[pn],1,1) >= \"Qa\") {\n+        } else if (substr(p[pn],1,1) >= \"Sa\") {\n           r[pn] = \"8\"\n         }\n       }\n"}
{"commit":"f52819077a6eb68078f4150817c544f382be2294","subject":"Parser: get parseJson() right (hopefully)","message":"Parser: get parseJson() right (hopefully)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Parser.awk\n+++ include\/Parser.awk\n@@ -265,17 +265,18 @@\n     for (i = 0; i < length(tokens); i++) {\n         token = tokens[i]\n \n-        if (belongsTo(token, arrayStartTokens))\n+        if (belongsTo(token, arrayStartTokens)) {\n             stack[++p] = 0\n-        else if (belongsTo(token, objectStartTokens))\n+        } else if (belongsTo(token, objectStartTokens)) {\n             stack[++p] = NULLSTR\n-        else if (belongsTo(token, objectEndTokens) ||\n-                 belongsTo(token, arrayEndTokens))\n+            flag = 0 # ready to read key\n+        } else if (belongsTo(token, objectEndTokens) ||\n+                   belongsTo(token, arrayEndTokens)) {\n             --p\n-        else if (belongsTo(token, commas)) {\n+        } else if (belongsTo(token, commas)) {\n             if (isnum(stack[p])) # array\n                 stack[p]++ # increase index\n-            else # anyway\n+            else # object\n                 flag = 0 # ready to read key\n         } else if (belongsTo(token, colons)) {\n             flag = 1 # ready to read value\n"}
{"commit":"e4a77e3fe073470d52d3655fa480b542c3e29ed9","subject":"Removed obsolete AWK script.","message":"Removed obsolete AWK script.\n","repos":"nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- code\/awk\/generate_source_list_from_make_output.awk\n+++ code\/awk\/generate_source_list_from_make_output.awk\n@@ -1,77 +0,0 @@\n-#!\/usr\/bin\/awk -f\n-BEGIN{\n-    # This program generates source list to be used in `CMakeLists.txt`\n-    # or elsewhere using `foo.txt` produced by `make >foo.txt 2>&1` as input.\n-\n-    array_index = 0;\n-    split(\"\", dir_array);\n-    current_dir = \"\";\n-    new_filename = \"\";\n-    current_filename = \"\";\n-    entering_directory_regex = \"Entering directory '\";\n-    cpp_regex = \"\\\\<[a-zA-Z0-9_-]+\\\\.cpp\\\\>\";\n-    c_regex = \"\\\\<[a-zA-Z0-9_-]+\\\\.c\\\\>\";\n-} # BEGIN\n-\n-function get_filename()\n-{\n-    # OK, there's a `.cpp` file on this line.\n-    cpp_filename = substr($0, RSTART, RLENGTH);\n-    new_filename = current_dir \"\/\" cpp_filename;\n-\n-    if (new_filename != current_filename && new_filename != \"\")\n-    {\n-        current_filename = new_filename;\n-\n-        # find out if there's a matching source file.\n-        if (system(\"test -f \" current_filename) == 0)\n-        {\n-            # print the filename.\n-            print current_filename;\n-        }\n-\n-        # find out if there's a matching `*.h` header file too.\n-        header_filename = gensub(\/(^.*\\.)c(|pp)$\/, \"\\\\1h\", \"g\", current_filename);\n-\n-        if (system(\"test -f \" header_filename) == 0)\n-        {\n-            # header exists, so print its filename too!\n-            print header_filename;\n-        }\n-    }\n-}\n-{\n-    entering_directory_match_index = match($0, entering_directory_regex);\n-    cpp_match_index = match($0, cpp_regex);\n-    c_match_index = match($0, c_regex);\n-\n-    if (entering_directory_match_index > 0)\n-    {\n-        # OK, we are entering a new directory on this line.\n-        junk_part_length = entering_directory_match_index + length(entering_directory_regex);\n-\n-        # read current dir.\n-        current_dir = substr($0, junk_part_length, length($0) - junk_part_length);\n-\n-        # store current dir into array.\n-        dir_array[array_index++] = current_dir \"\/\";\n-    }\n-    else if (cpp_match_index > 0)\n-    {\n-        match($0, cpp_regex); # update `RSTART` & `RLENGTH`.\n-        get_filename();\n-    }\n-    else if (c_match_index > 0)\n-    {\n-        match($0, c_regex); # update `RSTART` & `RLENGTH`.\n-        get_filename();\n-    }\n-}\n-END{\n-    asort(dir_array);\n-\n-    print \"\";\n-    print \"include_directories(\";\n-\n-    for (i in dir_array) print dir_array[i];\n-} # END\n"}
{"commit":"964956aedd9f9013906b879f278765301b91699b","subject":"Filter out IPv4 string from the output.","message":"Filter out IPv4 string from the output.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -46,7 +46,11 @@\n \tsub(\/\\*\/, \"\", line)      # remove *\n \tsub(\/^\\.\/, \"\", line)     # remove leading dot\n \n-\tif (match(line, \/([A-Za-z0-9\\-]+\\.)+[A-Za-z0-9\\-]+\/)) {\n+\tif (line ~ \/^((([0-9]{1,2})|(1[0-9]{2})|(2[0-4][0-9])|(25[0-5]))\\.){3}(([0-9]{1,2})|(1[0-9]{2})|(2[0-4][0-9])|(25[0-5]))$\/) {\n+\t\t# IPv4 string\n+\t\tprint \"Skipping line \" NR \". \" line | \"cat >&2\"\n+\t\tclose(\"cat >&2\")\n+\t} else if (line ~ \/([A-Za-z0-9\\-]+\\.)+[A-Za-z0-9\\-]+\/) {\n \t\tdomains[++domain_count] = line\n \t} else {\n \t\tprint \"Skipping line \" NR \". \" line | \"cat >&2\"\n"}
{"commit":"00a98e742f87ed916aa9320d9e31357cb9779587","subject":"compact hints","message":"compact hints\n","repos":"Morantron\/tmux-fingers,Morantron\/tmux-fingers","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- scripts\/hinter.awk\n+++ scripts\/hinter.awk\n@@ -2,6 +2,7 @@\n   n_matches = 0;\n   line_pos = 0;\n   col_pos = 0;\n+  COLLAPSE_HINTS = 1;\n \n   HINTS[0] = \"p\"\n   HINTS[1] = \"o\"\n@@ -106,8 +107,16 @@\n \n   finger_patterns = ENVIRON[\"FINGER_PATTERNS\"];\n \n-  hint_format = \"\\033[1;33m[%s]\\033[0m\"\n-  highlight_format = \"\\033[1;33m%s\\033[0m \"\n+  if (COLLAPSE_HINTS) {\n+    hint_format = \"\\033[30;1;43m%s\\033[0m\"\n+    highlight_format = \"\\033[1;33m%s\\033[0m\"\n+  } else {\n+    hint_format = \"\\033[1;33m[%s]\\033[0m\"\n+    highlight_format = \"\\033[1;33m%s\\033[0m\"\n+  }\n+\n+  compound_format = highlight_format hint_format\n+\n   hint_lookup = \"\"\n }\n \n@@ -126,21 +135,27 @@\n     pos += RSTART;\n \n     col_pos = pos;\n+\n     line_match = substr(line, RSTART, RLENGTH);\n+\n+    if (COLLAPSE_HINTS) {\n+      hint_len = length(hint)\n+      line_match = substr(line_match, hint_len - 1, length(line_match) - hint_len);\n+    }\n \n     col_pos = col_pos + col_pos_correction\n \n     line_pos = NR;\n \n \t\tpre_match = substr(output_line, 0, col_pos - 1);\n-    hint_match = sprintf(highlight_format hint_format, line_match, hint);\n+    hint_match = sprintf(compound_format, line_match, hint);\n \t\tpost_match = substr(output_line, col_pos + RLENGTH, length(line) - 1);\n \n     output_line = pre_match hint_match post_match;\n \n     line = post_match;\n \n-    col_pos_correction += (length(sprintf(highlight_format, line_match)) - 1 + length(sprintf(hint_format, hint)) - 1) + 1;\n+    col_pos_correction += length(sprintf(highlight_format, line_match)) + length(sprintf(hint_format, hint)) - 1;\n \n     hint_lookup = hint_lookup hint \":\" line_match \"\\n\"\n   }\n"}
{"commit":"de2c9e1e9aaced9b5de70f67bd72c4e137e3e179","subject":"ahrf.awk: readers will cry if there is no comment","message":"ahrf.awk: readers will cry if there is no comment\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -13,9 +13,11 @@\n \n # h1, h2, h3, h4, h5, h6\n \/^[\\t ]*:\/ {\n+\t# Count ':' and match the valid \"level\"\n \tmatch($0,\":+\")\n \tcnt = RLENGTH\n \tgsub(\/^[\\t ]*:+[\\t ]*|[\\t ]*:+[\\t ]*$\/,\"\")\n+\t# Create the anchor\n \tanc = tolower($0)\n \tgsub(\/ +\/,\"-\",anc)\n \t# length($0) would also work\n@@ -66,6 +68,7 @@\n \tfor (l=1; l<=NF; l++) {\n \t\tgsub(\/^[\\t ]*\/,\"\",$l)\n \t\tif ($l ~ \/\\* +\/) {\n+\t\t\t# Only match the text\n \t\t\tmatch($l,\"\\\\* +\")\n \t\t\tstr = substr($l,RSTART+RLENGTH)\n \t\t\tprintf(\"\\t<li>%s<\/li>\\n\", str)\n@@ -81,9 +84,11 @@\n \tfor (u=1; u<=NF; u++) {\n \t\tgsub(\/^[\\t ]*\/,\"\",$u)\n \t\tif (match($u,\"\\\\[[0-9]+\\\\]\")) {\n-\t\t\t# RSTART can be replaced by 1, because we removed useless tabs\/spaces\n+\t\t\t# RSTART can be replaced by 1, because we already removed\n+\t\t\t# useless tabs and\/or spaces\n \t\t\tnum = substr($u,RSTART,RLENGTH)\n \t\t\turl = substr($u,RSTART+RLENGTH+1)\n+\t\t\t# Do not print the entire link if chars > 61\n \t\t\tif (length(url) >= 60) {\n \t\t\t\tprintf(\"\\t<li>%s <a href=\\\"%s\\\">%.60s\u2026<\/a><\/li>\\n\", num, url, url)\n \t\t\t} else {\n"}
{"commit":"b71ab57ccb7ec5435e4d6ed3cfbe8e5be2bcb673","subject":"Changed the JAVA_MAXHEAP_ARGUMENT default to match the UNIX one.","message":"Changed the JAVA_MAXHEAP_ARGUMENT default to match the UNIX one.\n","repos":"zhangzhehust\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,neurodebian\/htcondor,djw8605\/htcondor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_examples\/convert_config_to_win32.awk\n+++ src\/condor_examples\/convert_config_to_win32.awk\n@@ -94,6 +94,12 @@\n \tnext\n }\n \n+# Default to -Xmx1024m\n+\/^JAVA_MAXHEAP_ARGUMENT\/ {\n+\tprintf \"%s= -Xmx1024m\\n\", $1\n+\tnext\n+}\n+\n # Win32 has a path separator of ';', while on Unix it is ':'\n \/^JAVA_CLASSPATH_SEPARATOR\/ {\n \tprintf \"%s= ;\\n\", $1\n"}
{"commit":"d030a3d91a2c66c1627b5eab85524338eee87c09","subject":"Use increment operator instead.","message":"Use increment operator instead.\n","repos":"sutra\/gfwlist2dnsmasq.awk","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- gfwlist2dnsmasq.awk\n+++ gfwlist2dnsmasq.awk\n@@ -1,10 +1,4 @@\n #!\/usr\/bin\/awk -f\n-\n-# Add domain name to global variable domains.\n-function add(domain) {\n-\tdomain_count = domain_count + 1\n-\tdomains[domain_count] = domain\n-}\n \n # Extract domain name from non-regex line\n function extract(line, original_line) {\n@@ -14,8 +8,8 @@\n \tsub(\/\\*\/, \"\", line)      # remove *\n \tsub(\/^\\.\/, \"\", line)     # remove leading dot\n \n-\tif (match(line, \/([a-zA-Z0-9\\-]+\\.)+[a-zA-Z0-9\\-]+\/)) {\n-\t\tadd(line)\n+\tif (match(line, \/([A-Za-z0-9\\-]+\\.)+[A-Za-z0-9\\-]+\/)) {\n+\t\tdomains[++domain_count] = line\n \t} else {\n \t\tprint \"[WARN] <NR>\" NR \"<\/NR><original>\" original_line \"<\/original><extracted>\" line \"<\/extracted>\" | \"cat >&2\"\n \t}\n@@ -25,13 +19,13 @@\n function extract_regex(line, original_line) {\n \n \t# Expand the lines like (aa|bb|cc) into multiple records\n-\tpos = match(line, \/\\([a-zA-Z0-9\\.\\|]+\\)\/)\n+\tpos = match(line, \/\\([A-Za-z0-9\\.\\|]+\\)\/)\n \tif (pos != 0) {\n \t\tin_bracket = substr(line, RSTART + 1, RLENGTH - 2)\n \t\tn = split(in_bracket, arr, \"|\")\n \t\tfor (i = 1; i <= n; i++) {\n \t\t\texpanded_line = line\n-\t\t\tsub(\/\\([a-zA-Z0-9\\.\\|]+\\)\/, arr[i], expanded_line)\n+\t\t\tsub(\/\\([A-Za-z0-9\\.\\|]+\\)\/, arr[i], expanded_line)\n \t\t\textract_regex(expanded_line, original_line)\n \t\t}\n \t} else {\n"}
{"commit":"d60b5e4001b249961343dc2e01344a86370669f2","subject":"Translators\/Apertium: fix","message":"Translators\/Apertium: fix\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translators\/Apertium.awk\n+++ include\/Translators\/Apertium.awk\n@@ -63,7 +63,8 @@\n         return\n     }\n \n-    translation = unparameterize(ast[0 SUBSEP \"responseData\" SUBSEP])\n+    # FIXME: build a cache for recurring invocation of uprintf()\n+    translation = uprintf(unparameterize(ast[0 SUBSEP \"responseData\" SUBSEP \"translatedText\"]))\n \n     returnIl[0] = il = _sl\n     if (Option[\"verbose\"] < 0)\n"}
{"commit":"803d874992b4d6d2d94e4afc47762135412b6a54","subject":"ahrf.awk: give me credit. It was written by me and nobody else","message":"ahrf.awk: give me credit. It was written by me and nobody else\n","repos":"Ypnose\/ahrf","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- ahrf.awk\n+++ ahrf.awk\n@@ -1,4 +1,5 @@\n #!\/usr\/bin\/awk -f\n+# Script by Ypnose - http:\/\/ywstd.fr\n \n BEGIN { FS = \"\\n\"; RS = \"\" }\n \n"}
{"commit":"a2b2202104e2cd30d50f199498f0e0f2b6a57947","subject":"Use FILENAME built-in variable.","message":"Use FILENAME built-in variable.\n","repos":"sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- CASED.awk\n+++ CASED.awk\n@@ -45,7 +45,6 @@\n   tohex[\"e\"] = 15;\n   tohex[\"f\"] = 16;\n \n-  FILE = \"UnicodeData.txt\";\n   FS = \"[ \\t]*[;#][ \\t]*\";\n }\n \n@@ -77,7 +76,7 @@\n \n \/^[^\\#]\/ {\n \n-  if (FILE == \"UnicodeData.txt\") {\n+  if (FILENAME == \"UNIDATA\/UnicodeData.txt\") {\n     if ($3 ~ \/L[ltu]\/)\n       single($1, 1);\n     else if ($3 ~ \/Mn|Me|Cf|Lm|Sk\/)\n@@ -85,7 +84,7 @@\n     next;\n   }\n \n-  else if (FILE == \"PropList.txt\") {\n+  else if (FILENAME == \"UNIDATA\/PropList.txt\") {\n     if ($2 ~ \/Other_(Upp|Low)ercase\/) {\n       if (index($1, \".\"))\n \trange($1, 1);\n@@ -106,14 +105,6 @@\n   }\n }\n \n-\/^\\# PropList-.+\\.txt\/ {\n-  FILE = \"PropList.txt\";\n-}\n-\n-\/^\\# WordBreakProperty-.+\\.txt\/ {\n-  FILE = \"WordBreakProperty.txt\";\n-}\n-\n END {\n   for (i in cased)\n     printf (\"0x%X %d\\n\", i, cased[i]);\n"}
{"commit":"52d487b7150556c07923418b81871c2cc9e72f8d","subject":"Add snippets to snip, arrows and go stuff","message":"Add snippets to snip, arrows and go stuff\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- bin\/snip.awk\n+++ bin\/snip.awk\n@@ -8,6 +8,8 @@\n   FIXED[\"isod\"] = strftime(\"%F\")\n   FIXED[\"ts\"]   = strftime(\"%s\")\n   FIXED[\"cr\"]   = \"\u23ce\"\n+  FIXED[\"->\"]   = \"\u2192\"\n+  FIXED[\"=>\"]   = \"\u21e8\"\n \n   # javascript\n   FIXED[\"javascript:fn\"]       = \"function\"\n@@ -34,8 +36,10 @@\n   FIXED[\"go:fn\"]      = \"func |() {\\n}\"\n   FIXED[\"go:fori\"]    = \"for i := 0; i < |; i++ {}\"\n   FIXED[\"go:forr\"]    = \"for i, _ := range | {}\"\n-  FIXED[\"go:handler\"] = \"func(w http.ResponseWriter, r *http.Request)\"\n-  PREFIX[\"go:print\"] = \"fmt.Printf(\\\"%v\\\\n\\\", |)\"\n+  FIXED[\"go:handler\"] = \"func(res http.ResponseWriter, req *http.Request)\"\n+  PREFIX[\"go:print\"]   = \"fmt.Printf(\\\"%v\\\\n\\\", |)\"\n+  PREFIX[\"go:handler\"] = \"handler\"\n+  PREFIX[\"go:iferr\"]   = \"if err != nil {return}\"\n }\n \n #-------------------------------------------------\n"}
{"commit":"60fb222cba115e79149cf982b69760c3a075dd06","subject":"Fix 0x0d end lines","message":"Fix 0x0d end lines\n","repos":"kianby\/owncloud_calremind","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- caldaily.awk\n+++ caldaily.awk\n@@ -1,18 +1,19 @@\n-BEGIN { \n-    FS=\"\\n\"    \n+BEGIN {\n+    FS=\"\\n\"\n     OFS=\"\"\n     ORS=\"\\n\"\n     print \"#!\/bin\/sh\"\n-    print \" \" \n+    print \" \"\n }\n #\u00a0blank lines\n \/^$\/ { next }\n # record header\n-$1 ~ \/^\\*\\*\\*\\*\/ { \n+$1 ~ \/^\\*\\*\\*\\*\/ {\n     next\n }\n # summary field\n $1 ~ \/^[ ]*summary\\:\/ {\n+    gsub(\/\\r\/,\"\");\n     idx = match($1, \/summary\\:(.*)\/)\n     print \"SUMMARY=\\\"\" substr($1, idx + 9) \"\\\"\"\n     next\n@@ -25,18 +26,21 @@\n }\n # vcalendar start tag\n $1 ~ \/^[ ]*calendardata\\: \/ {\n+    gsub(\/\\r\/,\"\");\n     match($1, \/calendardata\\: \/)\n     print \"echo \\\"\" substr($1, RSTART + RLENGTH) \"\\\" >event.ics\"\n     next\n }\n # vcalendar end tag\n $1 ~ \/^END\\:VCALENDAR\/ {\n-    print \"echo \\\"\" $1 \"\\\" >>event.ics\"   \n+    gsub(\/\\r\/,\"\");\n+    print \"echo \\\"\" $1 \"\\\" >>event.ics\"\n     print \"mpack -s \\\"$SUMMARY - $STARTDATE\\\" event.ics $1\"\n-    print \"\"     \n+    print \"\"\n     next\n }\n #\u00a0vcalendar body\n-{            \n+{\n+    gsub(\/\\r\/,\"\");\n     print \"echo \\\"\" $0 \"\\\" >> event.ics\"\n }\n"}
{"commit":"74ed595e0f9746fb16f74249be48ac9fb887d7ff","subject":"Fix check-api-docs.awk in FreeBSD","message":"Fix check-api-docs.awk in FreeBSD\n\nQuote a forward slash in a regular expression so that FreeBSD's native\nversion of awk accepts the pattern.\n","repos":"jmmv\/kyua,rodrigc\/kyua,rodrigc\/kyua,rodrigc\/kyua,rodrigc\/kyua,jmmv\/kyua,jmmv\/kyua,jmmv\/kyua","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- admin\/check-api-docs.awk\n+++ admin\/check-api-docs.awk\n@@ -35,7 +35,7 @@\n \/^$\/ {next}\n \n # Skip lines that do not directly reference a file.\n-\/^[^\/]\/ {next}\n+\/^[^\\\/]\/ {next}\n \n # Ignore known problems.  As far as I can tell, all the cases listed here are\n # well-documented in the code but Doxygen fails, for some reason or another, to\n"}
{"commit":"c11bee74fdb52fa4e34d38f48746a159ac6faa47","subject":"Bugfix for incorrectly specifying search completed in an optimization problem where we produced feasible solutions but did not prove optimality.","message":"Bugfix for incorrectly specifying search completed in an optimization problem where we produced feasible solutions but did not prove optimality.\n","repos":"JElchison\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack,JElchison\/Numberjack,eomahony\/Numberjack","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- fzn\/fzn2py.awk\n+++ fzn\/fzn2py.awk\n@@ -289,16 +289,15 @@\n \t\t}\n \t}\n \tprint \"    print '----------'\";\n-\tprint \"if solver.is_unsat():\"\n+\tif (objective){\n+\t\tprint \"    if solver.is_opt():\"\n+\t\tprint \"        print '=========='\"\n+\t} else {\n+\t\tprint \"    print '=========='\"\n+\t}\n+\tprint \"elif solver.is_unsat():\"\n \tprint \"    print '=====UNSATISFIABLE====='\"\n-\tif (objective){\n-\t\tprint \"elif solver.is_opt():\"\n-\t\tprint \"    print '=========='\"\n-\t} else {\n-\t\tprint \"elif solver.is_sat():\"\n-\t\tprint \"    print '=========='\"\n-\t}\n-        print \"else:\"\n+    print \"else:\"\n \tprint \"    print '=====UNKNOWN====='\"\n \tprint \"print '% SolveTime', solver.getTime()\";\n \tprint \"print '% Nodes', solver.getNodes()\";\n"}
{"commit":"873a86bc7986535dc829f3d12292563fe6ca1cb6","subject":"neater whitespace","message":"neater whitespace\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":0,"stderr":"","license":"apache-2.0","lang":"Awk","diff":"--- bin\/util\/header2params2.awk\n+++ bin\/util\/header2params2.awk\n@@ -159,7 +159,7 @@\n                                     printf(\"      conversion:enhance [      \\n\");\n                                     printf(\"         ov:csvRow %s;\\n\",header);\n                                     printf(\"         a conversion:HeaderRow;\\n\");\n-                                    printf(\"      ];                        \\n\");\n+                                    printf(\"      ];                        \\n\\n\");\n    }\n    if(length(dataStart)) {\n                                     printf(\"      conversion:enhance [          \\n\");\n"}
{"commit":"b53cef4f0d711b39d13b955a31f25e2f67a3bc45","subject":"change compare and title heads","message":"change compare and title heads\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@22105 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -7,36 +7,35 @@\n }\n \n {\n-# add a loop to add line only if ending year is gt or eq to contract year\n-end = 0\n-if ((length($4) == 9) {\n-  end = substr($4,6,4)\n-} else if ((length($4) == 4 {\n-  end = substr($4,1,4)\n-}\n-if (end >= $3) {\n-  incontract = 1\n-} else {\n+  # add a loop to add line only if ending year is gt or eq to contract year\n+  end = 0\n   incontract = 0\n-}\n+  if ((length($4) == 9) {\n+    end = substr($4,6,4)\n+  } else {\n+    end = substr($4,1,4)\n+  }\n+  if (end >= $3) {\n+    incontract = 1\n+  } \n \n-if (incontract == 1) {\n-    nn = split($2,na,\/\\.\/)\n-    lp2 = na[nn]\n-  if (!(($1,lp2,$3,$4) in b)) {\n-    p[pn] = $1\n-    n[pn] = lp2\n-#    n[pn] = $2\n-    t[pn] = $3\n-    d[pn] = $4\n-    r[pn] = $5\n-    pn++\n+  if (incontract == 1) {\n+      nn = split($2,na,\/\\.\/)\n+      lp2 = na[nn]\n+    if (!(($1,lp2,$3,$4) in b)) {\n+      p[pn] = $1\n+      n[pn] = lp2\n+  #    n[pn] = $2\n+      t[pn] = $3\n+      d[pn] = $4\n+      r[pn] = $5\n+      pn++\n+    }\n+    b[$1,lp2,$3,$4]++\n+    c[$1,lp2,$3,$4,$6]++\n+    x[$6]++\n+    tt++\n   }\n-  b[$1,lp2,$3,$4]++\n-  c[$1,lp2,$3,$4,$6]++\n-  x[$6]++\n-  tt++\n-}\n }\n \n END {\n"}
{"commit":"f7e4d9cc9e7e71d22eb2c9e4c883e5c82d6c82f2","subject":"Translate: support basic authentication for HTTP proxies (fix #193)","message":"Translate: support basic authentication for HTTP proxies (fix #193)\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/Translate.awk\n+++ include\/Translate.awk\n@@ -63,8 +63,10 @@\n     _Init()\n \n     if (Option[\"proxy\"]) {\n-        match(Option[\"proxy\"], \/^(http:\\\/*)?([^\\\/]*):([^\\\/:]*)\/, HttpProxySpec)\n-        HttpService = \"\/inet\/tcp\/0\/\" HttpProxySpec[2] \"\/\" HttpProxySpec[3]\n+        match(Option[\"proxy\"], \/^(http:\\\/*)?(([^:]+):([^@]+)@)?([^\\\/]*):([^\\\/:]*)\/, HttpProxySpec)\n+        HttpAuthUser = HttpProxySpec[3]\n+        HttpAuthPass = HttpProxySpec[4]\n+        HttpService = \"\/inet\/tcp\/0\/\" HttpProxySpec[5] \"\/\" HttpProxySpec[6]\n         HttpPathPrefix = HttpProtocol HttpHost\n     } else {\n         HttpService = \"\/inet\/tcp\/0\/\" HttpHost \"\/\" HttpPort\n@@ -96,6 +98,10 @@\n         header = header \"User-Agent: \" Option[\"user-agent\"] \"\\n\"\n     if (Cookie)\n         header = header \"Cookie: \" Cookie \"\\n\"\n+    if (HttpAuthUser && HttpAuthPass)\n+        # TODO: digest auth\n+        header = header \"Proxy-Authorization: Basic \"   \\\n+            base64(HttpAuthUser \":\" HttpAuthPass) \"\\n\"\n \n     content = NULLSTR; isBody = 0\n     print header |& HttpService\n"}
{"commit":"a4bcc55b08d6aab9fd1323c63a07bbe6a4d9baca","subject":"Special process richard-sammel-inetrview","message":"Special process richard-sammel-inetrview\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getMHzFrom-episodePages.awk\n+++ getMHzFrom-episodePages.awk\n@@ -93,7 +93,7 @@\n     if (episodeURL ~ \/-trailer-|-finale-\/)\n         episodeType = \"T\"\n     # If episode is a BONUS:, set episodeType to \"X\"\n-    if (episodeURL ~ \/-c-x[[:digit:]]{3,4}$|montme-c-01001\/)\n+    if (episodeURL ~ \/-c-x[[:digit:]]{3,4}$|montme-c-01001|richard-sammel-inetrview\/)\n         episodeType = \"X\"\n     episodeTitle = fld[4]\n     gsub (\/&quot;\/,\"\\\"\\\"\",episodeTitle)\n"}
{"commit":"6facfe44c8db1d221b029253dbabb7675e85b088","subject":"Fix episode mismatch in Jamaica Inn","message":"Fix episode mismatch in Jamaica Inn\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- getAcornFrom-seriesPages.awk\n+++ getAcornFrom-seriesPages.awk\n@@ -278,6 +278,16 @@\n             seasonNumber = URLseasonNumber\n         }\n     }\n+    # Jamaica Inn has wrong episode numbers as of 180918 (may be temporary)\n+    if (episodeURL ~ \/jamaicainn\\\/episode-[1-9]\/) {\n+        split (episodeURL, episode, \"-\")\n+        if (episodeNumber != episode[2]) {\n+            printf (\"==> Corrected mismatch: %s was episode %d\\n\", \\\n+               episodeURL, episodeNumber) >> ERROR_FILE\n+            episodeNumber = episode[2]\n+        }\n+    }\n+\n     if ((episodeNumber + 0) == 0)\n         print \"==> Episode number is 00: \" episodeURL >> ERROR_FILE\n     printf (\"%d\\t=HYPERLINK(\\\"%s\\\";\\\"%s, %s%02d%s%02d, %s\\\"\\)\\t\\t\\t%s\\n\", \\\n"}
{"commit":"3bdac36bd0b952a543ab6a9c65d4c057e3dc7d9b","subject":"List all unique IP addresses and number of times it was requested","message":"List all unique IP addresses and number of times it was requested","repos":"Aurametrix\/Alg-U,Aurametrix\/Alg-U","returncode":1,"stderr":"error: pathspec 'HASH\/ip-example.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- HASH\/ip-example.awk\n+++ HASH\/ip-example.awk\n@@ -0,0 +1,5 @@\n+awk '{Ip[$3]++;}\n+END\n+{ for (var in Ip)\n+  print var, \"access\", Ip[var],\" times\"\n+}\n"}
{"commit":"d833d47950b81abea539f410919bdc9afb9a2523","subject":"Create getBBoxFrom-sitemap.awk","message":"Create getBBoxFrom-sitemap.awk\n\nContinue experiment using sitemaps for BBox\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'getBBoxFrom-sitemap.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- getBBoxFrom-sitemap.awk\n+++ getBBoxFrom-sitemap.awk\n@@ -0,0 +1,225 @@\n+# Print the processed \"Episode\" lines from a WebScraper csv file saved in tsv format\n+\n+# INVOCATION:\n+#       awk -v EPISODE_INFO_FILE=$EPISODE_INFO_FILE -v ERROR_FILE=$ERROR_FILE \\\n+#           -f getBBoxEpisodesFrom-webscraper.awk $EPISODES_SORTED_FILE >$EPISODES_SPREADSHEET_FILE\n+\n+# Field numbers\n+#    1 web-scraper-start-url  2 SsnURL     3 SsnURL-href    4 URL        5 Program_Title\n+#    6 Episode_Title          7 Year       8 Duration       9 Rating    10 Description\n+\n+\n+BEGIN {\n+    FS=\"\\t\"\n+    OFS=\"\\t\"\n+    print \"Sortkey\\tTitle\\tSeasons\\tEpisodes\\tDuration\\tYear(s)\\tRating\\tDescription\"\n+    # For debugging variations in seasons and episodes format\n+    str = \"date +%y%m%d.%H%M%S\"\n+    str | getline longdate\n+    close str\n+    for ( i = 1; i <= 4; i++ ) {\n+        outfile = \"BBox-scrapes\/c\" i \"-\" longdate \".csv\"\n+        print \"Type\\t#\\tSortkey\\tURL\\tshowTitle\\tepisodeTitle\\tYear(s)\" > outfile\n+    }\n+}\n+\n+{\n+    for ( i = 1; i <= NF; i++ ) {\n+        if ($i == \"null\")\n+            $i = \"\"\n+    }\n+}\n+\n+\/\\\/us\\\/movie\\\/|\\\/us\\\/episode\\\/\/ {\n+    baseURL = $1\n+    URL = $4\n+    showTitle = $5\n+    episodeTitle = $6\n+    Years = $7\n+    Duration = $8\n+    Rating = $9\n+    Description = $10\n+    showtype = \"S\"\n+\n+    shortURL = URL\n+    sub (\/^\\\/us\\\/episode\\\/\/,\"\",shortURL)\n+    episodeSeason = \"\"\n+    episodeNumber = \"\"\n+    # Season 3, Episode 8\n+    if (match (episodeTitle, \/^Season [[:digit:]]+|^Series [[:digit:]]+\/))\n+        episodeSeason = substr(episodeTitle,8,RLENGTH-7)\n+   \n+    # Extract sortkey from URL\n+    nflds = split (URL,fld,\"_\")\n+    if (URL ~ \/_S[[:digit:]]*_E[[:digit:]]*_[[:digit:]]*$\/) {\n+        # \/us\/episode\/35_Days_S3_E8_23851\n+        seasonNumber = substr(fld[nflds-2], 2)\n+        episodeNumber = substr(fld[nflds-1], 2)\n+        if (baseURL ~ \/The_Edinburgh_Show_23924$\/) {\n+            episodeSeason = Years\n+        }\n+        # Give precedence to season number in episodeTitle over season number in URL \n+        if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n+            revisedSeasons1 += 1\n+            printf (\"==> Fixed c1 season: %02d-%02d\\t%s\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n+            seasonNumber = episodeSeason\n+        }\n+        sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n+        c1Num += 1\n+        outfile = \"BBox-scrapes\/c1-\" longdate \".csv\"\n+        printf (\"c1\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c1Num,sortkey,showTitle,shortURL,episodeTitle,Years) >> outfile\n+    } else if (URL ~ \/_E[[:digit:]]*_[[:digit:]]*$\/) {\n+        # \/us\/episode\/35_Hours_E1_26129\n+        revisedSeasons2 += 1\n+        episodeSeason = Years\n+        if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n+            printf (\"==> Fixed c2 season: %02d-%02d\\t%s\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n+            seasonNumber = episodeSeason\n+        }\n+        episodeNumber = substr(fld[nflds-1], 2)\n+        sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n+        c2Num += 1\n+        outfile = \"BBox-scrapes\/c2-\" longdate \".csv\"\n+        printf (\"c2\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c2Num,sortkey,showTitle,shortURL,episodeTitle,Years) >> outfile\n+    } else if (URL ~ \/Episode_[[:digit:]]*_[[:digit:]]*$\/) {\n+        # \/us\/episode\/Episode_5_26089\n+        revisedSeasons3 += 1\n+        seasonNumber = Years\n+        if (episodeSeason != \"\" && seasonNumber+0 != episodeSeason+0) {\n+            printf (\"==> Fixed c3 season: %02d-%02d\\t%s\\t%s\\t%s\\n\", \\\n+                    seasonNumber, episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n+            seasonNumber = episodeSeason\n+        }\n+        episodeNumber = substr(fld[nflds-1], 1)\n+        sortkey = sprintf (\"%s%02dE%03d\", showtype, seasonNumber, episodeNumber)\n+        c3Num += 1\n+        outfile = \"BBox-scrapes\/c3-\" longdate \".csv\"\n+        printf (\"c3\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c3Num,sortkey,showTitle,shortURL,episodeTitle,Years) >> outfile\n+    } else {\n+        revisedSeasons4 += 1\n+        URL ~ \/^\\\/us\\\/movie\\\/\/ ? showtype = \"M\" : showtype = \"E\"\n+        # \/us\/episode\/Orkneys_Stone_Age_Temple_7144\n+        # A History of Ancient Britain Special, Orkney's Stone Age Temple\n+        sortkey = sprintf (\"%s%05d\", showtype, fld[nflds])\n+        if (episodeSeason != \"\") {\n+            showtype = \"S\"\n+            sortkey = sprintf (\"%s%02dE%05d\", showtype, episodeSeason, 99999 - fld[nflds])\n+            printf (\"==> Fixed c4 season: null-%02d\\t%s\\t%s\\t%s\\n\", \\\n+                    episodeSeason, showTitle, shortURL, episodeTitle) >> ERROR_FILE\n+        }\n+        c4Num += 1\n+        outfile = \"BBox-scrapes\/c4-\" longdate \".csv\"\n+        printf (\"c4\\t%d\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",c4Num,sortkey,showTitle,shortURL,episodeTitle,Years) >> outfile\n+    }\n+\n+    # Convert duration from minutes to HMS\n+    sub( \/ min\/,\"\",Duration)\n+    secs = 0\n+    mins = Duration % 60\n+    hrs = int(Duration \/ 60)\n+    HMS = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n+    if (HMS == \"00:00:00\")\n+        HMS = \"\"\n+\n+    # Special processing for some shows is needed in all getBBox*From-webscraper.awk scripts.\n+    # \"Changed\" message and counting revisedTitles are only in getBBoxProgramsFrom-webscraper.awk\n+    # so they are not repeated for each episode and each season.\n+    if (baseURL ~ \/Maigret_15974$\/) {\n+        showTitle = \"Maigret (2016)\"\n+    }\n+    if (baseURL ~ \/Maigret_\\(1992\\)_15928$\/) {\n+        showTitle = \"Maigret (1992)\"\n+    }\n+    if (baseURL ~ \/Porridge_9509$\/) {\n+        showTitle = \"Porridge (1974-1977)\"\n+    }\n+    if (baseURL ~ \/Porridge_14747$\/) {\n+        showTitle = \"Porridge (2016-2017)\"\n+    }\n+\n+    # Get rid of redundant \"Series #\" or \"Series #\" from episodeTitle\n+    if (match (episodeTitle, \/^Season [[:digit:]]*, |^Series [[:digit:]]*, \/))\n+        episodeTitle = substr(episodeTitle,RLENGTH+1)\n+\n+    # Get rid of initial\/trailing quotes in showTitle\n+    # \"BBC Three's \"\"Murdered By...\"\" Collection Trailer\"\n+    if (showTitle ~ \/^\".*\"$\/) {\n+        revisedTitles += 1\n+        printf (\"==> Fixed quoted title: www.britbox.com%s\\n\", URL) >> ERROR_FILE\n+        # printf (\"    %s\\n\", showTitle) >> ERROR_FILE\n+        sub (\/^\"\/,\"\",showTitle)\n+        sub (\/\"$\/,\"\",showTitle)\n+        # printf (\"    %s\\n\", showTitle) >> ERROR_FILE\n+    }\n+\n+    # Non-existent fields in movies or episodes\n+    if (URL ~ \/^\\\/us\\\/movie\\\/\/) {\n+        depth = \"1\"\n+        numSeasons = 1\n+        numEpisodes = 1\n+        fullTitle = showTitle\n+    } else {\n+        depth = \"2\"\n+        numSeasons = \"\"\n+        numEpisodes = \"\"\n+        fullTitle = showTitle \", \" sortkey \", \" episodeTitle\n+    }\n+\n+    # Fix two consecutive double quotes in showTitle, but leave in fullTitle \n+    gsub (\"\\\"\\\"\",\"\\\"\",showTitle)\n+\n+    # Fix HEX quotes in Description\n+    gsub (\"\\xc2\\x91\",\"\\\"\",Description)\n+    gsub (\"\\xc2\\x92\",\"\\\"\",Description)\n+\n+    # Create spreadsheet row in common format\n+    savedLine = sprintf \\\n+        (\"%s (%s) %s %s\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s\\\"\\)\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\",\\\n+         showTitle, depth, Years, sortkey, URL, fullTitle, numSeasons, numEpisodes, \\\n+         HMS, Years, Rating, Description)\n+\n+    # Make sure line doesn't start with a single quote so it sorts correctly in Open Office\n+    sub (\/^'\/,\"\",savedLine)\n+\n+    print savedLine\n+    next\n+}\n+\n+\/\\\/us\\\/show\\\/\/ {\n+    # Shouldn't get here\n+    badEpisodes += 1\n+    URL = $4\n+    nflds = split (URL,URLflds,\"\/\")\n+    printf (\"==> Upstream error in %s\\n\", FILENAME)  >> ERROR_FILE \n+    print \"==> Found \/us\/show\/ in episodes: \" URLflds[nflds]  >> ERROR_FILE\n+}\n+\n+END {\n+    printf (\"In getBBoxEpisodesFrom-webscraper.awk\\n\") > \"\/dev\/stderr\"\n+    if (revisedTitles > 0 ) {\n+        revisedTitles == 1 ? field = \"title\" : field = \"titles\"\n+        printf (\"    %2d %s revised in %s\\n\", revisedTitles, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    if (revisedSeasons1 > 0 ) {\n+        revisedSeasons1 == 1 ? field = \"season\" : field = \"seasons\"\n+        printf (\"    %3d c1 %s revised in %s\\n\", revisedSeasons1, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    if (revisedSeasons2 > 0 ) {\n+        revisedSeasons2 == 1 ? field = \"season\" : field = \"seasons\"\n+        printf (\"    %3d c2 %s revised in %s\\n\", revisedSeasons2, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    if (revisedSeasons3 > 0 ) {\n+        revisedSeasons3 == 1 ? field = \"season\" : field = \"seasons\"\n+        printf (\"    %3d c3 %s revised in %s\\n\", revisedSeasons3, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    if (revisedSeasons4 > 0 ) {\n+        revisedSeasons4 == 1 ? field = \"season\" : field = \"seasons\"\n+        printf (\"    %3d c4 %s revised in %s\\n\", revisedSeasons4, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+    if (badEpisodes > 0 ) {\n+        badEpisodes == 1 ? field = \"URL\" : field = \"URLs\"\n+        printf (\"    %2d extra \/show\/ %s in %s\\n\", badEpisodes, field, FILENAME) > \"\/dev\/stderr\"\n+    }\n+}\n"}
{"commit":"dc97951402b499023ce877dd2438bce0840b2c26","subject":"fix instruction matching errors in i386 CFI generation","message":"fix instruction matching errors in i386 CFI generation\n\nfdiv and fmul instructions were wrongly matched by the rules for\ninteger div and mul instructions, leading to incorrect conclusions\nabout register values being clobbered.\n","repos":"chardi\/musl,chardi\/musl,chardi\/musl","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/chardi\/musl.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"2302a5ae5625c2ed3a5e7286940d32c7c176d1d2","subject":"add script bin\/includebloat","message":"add script bin\/includebloat\n\nChange-Id: I086052c9a4dd2a216e0af153c43e98eec85a4600\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'bin\/includebloat.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- bin\/includebloat.awk\n+++ bin\/includebloat.awk\n@@ -0,0 +1,34 @@\n+#!\/usr\/bin\/gawk -f\n+\n+BEGIN {\n+    cmd = \"find workdir\/Dep\/CxxObject\/ -name *.d | xargs cat\"\n+    while ((cmd | getline) > 0) {\n+        if ($0 ~ \/^ .*\\\\$\/) {\n+            gsub(\/^ \/, \"\");\n+            gsub(\/ *\\\\$\/, \"\");\n+            includes[$1]++\n+            if ($2) {\n+                # GCC emits 2 per line if short enough!\n+                includes[$2]++\n+            }\n+        }\n+    }\n+    exit\n+}\n+\n+END {\n+    for (inc in includes) {\n+        cmd = \"wc -c \" inc\n+        if ((cmd | getline) < 0)\n+            print \"ERROR on: \" cmd\n+        sizes[inc] = $1 # $0 is wc -c output, $1 is size\n+        totals[inc] = $1 * includes[inc]\n+        totalsize += totals[inc]\n+        close(cmd)\n+    }\n+    PROCINFO[\"sorted_in\"] = \"@val_num_desc\"\n+    print \"sum total bytes included: \" totalsize\n+    for (inc in totals) {\n+        print totals[inc], sizes[inc], includes[inc], inc\n+    }\n+}\n"}
{"commit":"d7ba1e5bbf2bbd721b118f88e91acfaf681f234a","subject":"Fix build for wp8","message":"Fix build for wp8\n","repos":"jiangjianping\/libilbc-rfc3951","returncode":1,"stderr":"error: pathspec 'build\/wp8\/libilbc-rfc3951\/extract-cfile.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- build\/wp8\/libilbc-rfc3951\/extract-cfile.awk\n+++ build\/wp8\/libilbc-rfc3951\/extract-cfile.awk\n@@ -0,0 +1,25 @@\n+BEGIN { srcname = \"nothing\"; }\r\n+{ if (\/^A\\.[0-9][0-9]*\\.* *[a-zA-Z][a-zA-Z_0-9]*\\.[ch]\/) {\r\n+    if (srcname != \"nothing\")\r\n+      close(srcname);\r\n+    srcname = $2;\r\n+    printf(\"creating source file %s\\n\", srcname);\r\n+  }else if (srcname != \"nothing\") {\r\n+    if (\/Andersen,* *et* *al\\.\/) \r\n+      printf(\"skipping %s\\n\", $0);\r\n+    else if (\/\f+\/)\r\n+      printf(\"skipping2 %s\\n\", $0);\r\n+    else if (\/Internet Low Bit Rate Codec *December 2004\/)\r\n+      printf(\"skipping3 %s\\n\", $0);\r\n+    else if (\/Authors' *Addresses\/){\r\n+      close(srcname);\r\n+      exit;}\r\n+    else\r\n+      print $0 >> srcname;\r\n+  }\r\n+}\r\n+END {\r\n+  printf(\"ending file %s\\n\", srcname);\r\n+  close(srcname);\r\n+}\r\n"}
{"commit":"843ba25fb9d492d744fcedbfc77eba37a468c6b4","subject":"Add TMS1mmProbeTestBadDAC.awk for analyzing probe test data to identify failed DACs and print for a wiki table entry.","message":"Add TMS1mmProbeTestBadDAC.awk for analyzing probe test data to identify failed DACs and print for a wiki table entry.\n","repos":"plac-lab\/TMIIaTest,plac-lab\/TMIIaTest","returncode":1,"stderr":"error: pathspec 'Software\/Analysis\/src\/TMS1mmProbeTestBadDAC.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- Software\/Analysis\/src\/TMS1mmProbeTestBadDAC.awk\n+++ Software\/Analysis\/src\/TMS1mmProbeTestBadDAC.awk\n@@ -0,0 +1,43 @@\n+#!\/usr\/bin\/awk -f\n+#\n+# Check if a tested chip is bad due to failed DACs and print for a wiki table entry.\n+#\n+\n+BEGIN {\n+    # at which DAC code to check for voltage\n+    dacCode2Check = 0\n+    # voltage threshold to declare as bad channel\n+    badVth = 0.2\n+    veryBadVth = 1.5\n+    # having >= these number of bad channels will be declared as bad chip\n+    nBadChTh = 3\n+    # column id of begin and end channel data in data file\n+    chColBegin = 3\n+    chColEnd = 8\n+#    print(\"==== Characteristics of Topmetal-S chips of wafer ====\")\n+}\n+\n+\/^#\/ {\n+    printf(\"| %2d | %2d |\", $3, $4)\n+}\n+\n+{\n+    if($1 == dacCode2Check) {\n+        nBad = 0\n+        nVeryBad = 0\n+        for(i=chColBegin; i<=chColEnd; i++) {\n+            if($i > veryBadVth) { nVeryBad++ }\n+            if($i > badVth || $i == 0.0) {\n+                printf(\" **%g** |\", $i)\n+                nBad++\n+            } else {\n+                printf(\" %g |\", $i)\n+            }\n+        }\n+        if(nBad >= nBadChTh || nVeryBad > 0) {\n+            printf(\" %d\/%d | **Y** |  |  |\\n\", nBad, nVeryBad)\n+        } else {\n+            printf(\" %d\/%d | N |  |  |\\n\", nBad, nVeryBad)\n+        }\n+    }\n+}\n"}
{"commit":"f5cd57bff6c8436fc9d23196f93f86c2f40ad3b8","subject":"  if (str_len(y[x]) != 3)","message":"  if (str_len(y[x]) != 3)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"d727700b685360c7bdcd60e81b64a96a8ac9c6b2","subject":"initial add","message":"initial add\n","repos":"monarch-initiative\/dipper,TomConlin\/dipper,TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper","returncode":1,"stderr":"error: pathspec 'scripts\/ntriple2dot.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/ntriple2dot.awk\n+++ scripts\/ntriple2dot.awk\n@@ -0,0 +1,69 @@\n+#! \/usr\/bin\/awk -f\n+\n+# remove first and last chars\n+function trim(str){ \n+\treturn substr(str,2,length(str)-2)\n+}\n+\n+# remove final element in slashed path\n+function stripid(uri){\n+\tl = match(uri,\/.*\\\/\/)  # side effect is RLENGTH\n+\tif(l<=0)\n+\t\treturn uri\n+\telse \n+\t\treturn substr(uri,1,RLENGTH -1)\n+}\n+\n+function contract(uri){\n+\tif(uri in prefix)\n+\t\treturn prefix[uri]\n+\telse {\n+\t\tgsub(\/[:.\/-]+\/,\"_\",uri)\n+\t\treturn uri\n+\t}\n+}\n+\n+# parse and stash the curie file (first file)\n+(FNR == NR) && \/^'[^']*' *: 'http[^']*'.*\/ {\n+\tsplit($0,a,\"'\")\n+\tprefix[stripid(a[4])]=a[2]\n+}\n+\n+# process the ntriple file(s)  which are not the first file\n+### all are uri\n+(FNR != NR) && \/^<[^>]*> <[^>]*> <[^>]*> \\.$\/ {\n+\t### Subject (uri)\n+\ts = contract(stripid(trim($1)))\n+\t### Predicate (uri)\n+\tsplit(trim($2),b,\"\/\")\n+\tp = b[length(b)]\n+\t### Object (like subject)\n+\to = contract(stripid(trim($3)))\n+\tedgelist[s \" -> \" o \" [label=\\\"\" p \"\\\"];\"]++\n+}\n+### object is a literal\n+(FNR != NR) && \/^<[^>]*> <[^>]*> \"[^\"]*\" \\.$\/ {\n+\t### Subject (uri)\n+\ts = contract(stripid(trim($1)))\n+\t### Predicate (uri)\n+\tsplit(trim($2),b,\"\/\")\n+\tp = b[length(b)]\n+\t### not a uri\n+\to = \"LITERAL\"\n+\tedgelist[s \" -> \" o \" [label=\\\"\" p \"\\\"];\"]++\n+\tnodelist[o \" [shape=record];\"]++\n+}\n+\n+END{\n+\tprint \"digraph {\"\n+\tprint \"rankdir=LR;\"\n+\tprint \"charset=\\\"utf-8\\\";\"\n+\tfor(edge in edgelist){\n+\t\tprint edge\n+\t}\n+\tfor(node in nodelist){\n+\t\tprint node\n+\t}\n+\tprint \"}\"\n+}\n+\n"}
{"commit":"26f8e0e8eb9f829ca06b4d498e7d6b0e4ee1ac0e","subject":"  while (ec = getline < \"setup.ini\") {","message":"  while (ec = getline < \"setup.ini\") {\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"dd1585bae017e605e979e97869640ed0b6619f62","subject":"add binding...","message":"add binding...\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.imbh\/calc_bindingenergy.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.imbh\/calc_bindingenergy.awk\n+++ tool.imbh\/calc_bindingenergy.awk\n@@ -0,0 +1,15 @@\n+BEGIN{\n+    eb = 0.;\n+    ek = 0.;\n+    ep = 0.;\n+    n  = 0;\n+}\n+{\n+    eb+=0.5*$3*($7**2+$8**2+$9**2+$25);\n+    ek+=0.5*$3*($7**2+$8**2+$9**2);\n+    ep+=0.5*$3*$25;\n+    n++;\n+}\n+END{\n+    printf(\"n: %8d eb: %+e ek: %+e ep: %+e\\n\", n, eb, ek, ep)\n+}\n"}
{"commit":"41efaa6098d4e06355f3411b323891b43c74f0b7","subject":"Added awk script which swaps columns","message":"Added awk script which swaps columns\n","repos":"denglert\/manuals,denglert\/manuals","returncode":1,"stderr":"error: pathspec 'awk\/examples\/swap2cols.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- awk\/examples\/swap2cols.awk\n+++ awk\/examples\/swap2cols.awk\n@@ -0,0 +1,2 @@\n+#!\/bin\/awk\n+{ t = $1; $1 = $2; $2 = t; print; }\n"}
{"commit":"ec1c28ff145a4e441e07e2c98553af2078199131","subject":"2008-03-14  Martin Sebor  <sebor@roguewave.com>","message":"2008-03-14  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk (get_gzlogfname): New function to removed directory\n\tprefix from log file and replace the temporary PID suffix with the\n\toriginal .gz extension.\n\t(print_logtable, print_timingstable): Called get_gzlogfname().\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@637301 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"b59b7d272efc25e3779e75c7d70424062b135ec4","subject":"Although Cray's may want to have their #:s double quoted other machines don't.","message":"Although Cray's may want to have their #:s double quoted other machines don't.\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@6933 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"57fa317c7643db0e05a543bf9e62e80b274c1f10","subject":"added salt-bridge script","message":"added salt-bridge script\n","repos":"lud0\/comp-bio-tools,lud0\/comp-bio-tools,lud0\/comp-bio-tools","returncode":1,"stderr":"error: pathspec 'salt-bridge.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- salt-bridge.awk\n+++ salt-bridge.awk\n@@ -0,0 +1,44 @@\n+#!\/usr\/bin\/awk -f \n+\n+function charged(res){\n+    if (res==\"ARG\" || res==\"LYS\") return 1;\n+    if (res==\"ASP\" || res==\"GLU\") return -1; \n+    return 0;\n+}\n+function okatom(aa,res) {\n+    if (res==\"ARG\" && aa==\"CZ\") return 1;\n+    if (res==\"LYS\" && aa==\"NZ\") return 1;\n+    if (res==\"ASP\" && aa==\"CG\") return 1;\n+    if (res==\"GLU\" && aa==\"CD\") return 1;\n+    return 0;\n+}\n+BEGIN {\n+    VERBOSE=1\n+\n+    if (ARGC==1) {\n+        print \"usage: salt-bridge.awk [VERBOSE=0\/1]  nco.dat\";\n+        print\n+        print \"SB definition: contact between\"\n+        print \" CZ_ARG(+) -- CG_ASP(-)\"\n+        print \" CZ_ARG(+) -- CD_GLU(-)\"\n+        print \" NZ_LYS(+) -- CG_ASP(-)\"\n+        print \" NZ_LYS(+) -- CD_GLU(-)\"\n+        print\n+        print \"Prints the salt bridges found in the contact list file nco.dat\"\n+        print \"Expecting the column format:\"\n+        print\n+        print \"ID        AT1  ATM RES RESID  AT2 ATM RES RESID  dist\"\n+        print \"8771      4449 OC2 GLN 274    1765 OE1 GLN 110   4.654825\"\n+        print\n+        print \"if variable VERBOSE=0 ony prints [AT1 AT2 dist] of the salt bridge otherwise more info\"\n+\n+        exit 0;\n+    }\n+}\n+{\n+    if (VERBOSE==1) {\n+        if (index($1,\"#\")!=1 && charged($4)*charged($8)==-1 && okatom($3,$4) && okatom($7,$8)) print $2,$3,$4,$5,$6,$7,$8,$9\n+    } else {\n+        if (index($1,\"#\")!=1 && charged($4)*charged($8)==-1 && okatom($3,$4) && okatom($7,$8)) print $2,$6,$10\n+    }\n+}\n"}
{"commit":"71d8c768ef151f1bc2100d5390625b8b8a4bb0ed","subject":"initial commit of splitOnRecords.awk","message":"initial commit of splitOnRecords.awk\n","repos":"statsbiblioteket\/munin,statsbiblioteket\/munin","returncode":1,"stderr":"error: pathspec 'splitOnRecords.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- splitOnRecords.awk\n+++ splitOnRecords.awk\n@@ -0,0 +1,81 @@\n+BEGIN {\n+\tactive=0;\n+\tprint \"BatchId, jobtype, starttime, jobid, endtime, totalmaptime, totalreducetime, maptasks\";\n+}\n+\n+# Output:\n+# BatchId, job type, start time, end time, duration, jobId, #map input records, map time, reduce time\n+\n+#2014-08-12 07:50:07.901 INFO  d.s.m.autonomous.AutonomousComponent - Found batch B400026955287-RT2\n+\/Found\/ {\n+\tif (!active) {\n+\t\tprint \"RECORD START\" | \"cat 1>&2\"\n+\t\tsplit($0, s, \"batch \");\n+\t\tprintf \"%s\", s[2];\n+\t\tprintf \", %s\", jobtype\n+\t\tactive=1\n+\t} else {\n+\t\tprint \"ERROR - out of sequence!\" $0 | \"cat 1>&2\"\n+\t\texit\n+\t}\n+}\n+\n+# 2014-08-11 10:30:14.415 INFO  org.apache.hadoop.mapreduce.Job - Running job: job_1407155868271_0080\n+\/Running job:\/ {\n+\tif (active==1) {\n+\t\t#printf \"\\tSTART: %s\\n\", $0\n+\t\tsplit($0,s,\" INFO \");\n+\t\tprintf \", %s\", s[1];\n+\t\tsplit($0,s,\"Running job: \")\n+\t\tprintf \", %s\", s[2];\n+\t}\n+}\n+\n+# This is the last log message in a record\n+#\t\tMap input records=11680\n+\/Map input records\/ {\n+\tif (active==1) {\n+\t\t#printf \"\\t%s, \\n\", $0\n+\t\tsplit($0, s, \"=\");\n+\t\tprintf \", %s\\n\", s[2];\n+\t\tprint \"RECORD END\" | \"cat 1>&2\"\n+\t\tactive = 0\n+\t}\n+}\n+\n+#\t\tTotal time spent by all maps in occupied slots (ms)=5512646\n+\/Total time spent by all maps in occupied slots\/ {\n+\tif (active==1) {\n+\t\t#printf \"\\t%s, \\n\", $0\n+\t\tsplit($0, s, \"=\");\n+\t\tprintf \", %s\", s[2];\n+\t}\n+}\n+\n+#\t\tTotal time spent by all reduces in occupied slots (ms)=81308394\n+\/Total time spent by all reduces in occupied slots\/ {\n+\tif (active==1) {\n+\t\t#printf \"\\t%s, \\n\", $0\n+\t\tsplit($0, s, \"=\");\n+\t\tprintf \", %s\", s[2];\n+\t}\n+}\n+\n+\n+\/failed with state FAILED due\/ {\n+\tif (active==1) {\n+\t\t#print \"\\tFAILED: \" $0\n+\t\tprintf \", FAILED\\n\";\n+\t\tactive = 0\n+\t\tprint \"RECORD END\" | \"cat 1>&s\"\n+\t}\n+}\n+\n+#2014-08-12 04:38:00.649 INFO  org.apache.hadoop.mapreduce.Job - Job job_1407155868271_0084 completed successfully\n+\/completed successfully\/ {\n+\tif (active==1) {\n+\t\t#print \"\\tSTOP: \" $0\n+\t\tsplit($0, s, \" INFO \");\n+\t\tprintf \", %s\", s[1];\n+\t}\n+}\n"}
{"commit":"14996f370a04ffdc53a0ef473e815886346ef83d","subject":"transpose.awk","message":"transpose.awk\n","repos":"robx\/scripts,robx\/scripts,robx\/scripts","returncode":1,"stderr":"error: pathspec 'transpose.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- transpose.awk\n+++ transpose.awk\n@@ -0,0 +1,15 @@\n+{ \n+    for (i=1; i<=NF; i++)  {\n+        a[NR,i] = $i\n+    }\n+}\n+NF>p { p = NF }\n+END {    \n+    for(j=1; j<=p; j++) {\n+        str=a[1,j]\n+        for(i=2; i<=NR; i++){\n+            str=str a[i,j];\n+        }\n+        print str\n+    }\n+}\n"}
{"commit":"1e24ffca9bf3426387b3841650edc78d8a49ffe7","subject":"  if (str_length(pa[ch]) != 3)","message":"  if (str_length(pa[ch]) != 3)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"6c14d30030c8c2d4e061269658efef5a7708ae8a","subject":"  rx_split(\"\/\", url, br)","message":"  rx_split(\"\/\", url, br)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"5b6beada39d02a7ea7041218cdecb8fe0ed4e086","subject":"rough filter: keeping only PASS records","message":"rough filter: keeping only PASS records\n","repos":"marcelm\/CAW,marcelm\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW,marcelm\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/marcelm\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"44d69af8a342005985272e75a6220d966f06a736","subject":"add wordfreq","message":"add wordfreq\n","repos":"The-Orizon\/nlputils,The-Orizon\/nlputils,The-Orizon\/nlputils","returncode":1,"stderr":"error: pathspec 'wordfreq.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- wordfreq.awk\n+++ wordfreq.awk\n@@ -0,0 +1,11 @@\n+#!\/usr\/bin\/awk -f\n+{\n+    for (i = 1; i <= NF; i++) {\n+        word[$i]++;\n+    }\n+}\n+END {\n+    for (i in word) {\n+        print word[i], i;\n+    }\n+}\n"}
{"commit":"e5ee18497729316abdd11942640b7eaa4669bc38","subject":"update","message":"update\n","repos":"crutchy-\/exec-irc-bot,crutchy-\/exec-irc-bot,crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot,crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot,crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot,Dhs92\/exec-irc-bot","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- sedbot.awk\n+++ sedbot.awk\n@@ -1,10 +1,4 @@\n #!\/usr\/bin\/gawk -f\n-# https:\/\/github.com\/FoobarBazbot\/sedbot\n-# https:\/\/github.com\/FoobarBazbot\/sedbot\/blob\/master\/LICENSE\n-# by FoobarBazbot\n-# modified by crutchy\n-# https:\/\/github.com\/crutchy-\/test\/blob\/master\/sedbot.awk\n-# 21-july-2014\n function lineout(old,new,nouser) {\n   if(old!=new) print (nouser?\"\":\"<\" tauntuser(user) \"> \") new >outfile; close(outfile);\n   if(taunt[tolower(user)]>0) taunt[tolower(user)]--;\n@@ -14,7 +8,6 @@\n   return u;\n }\n BEGIN {\n-  #outfile=( ENVIRON[\"HOME\"] \"\/sedbotirc\/irc.sylnt.us\/#soylent\/in\");\n   line_re=\"^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2} <([^>]*)> (.*)$\";\n   blag_re=\"world wide web|internet|interweb|intersphere|intertubes|interblag|blogosphere|blagonet|blagosphere|blagoblag|webnet|webweb\";\n   blag_n=split(blag_re,blag_word,\/\\|\/);\n"}
{"commit":"6bc75a476afa35abeebb747b75bb63dc260db720","subject":"Added a copy of the original script that will later become a method of extracting subnets and pools","message":"Added a copy of the original script that will later become a method of extracting subnets and pools\n","repos":"genebean\/ISC-DHCP-to-IPControl","returncode":1,"stderr":"error: pathspec 'dhcpparse.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- dhcpparse.awk\n+++ dhcpparse.awk\n@@ -0,0 +1,127 @@\n+#!\/usr\/bin\/awk -f\n+# \n+# Author: Matt Pascoe - matt@opennetadmin.com \n+#\n+# This awk script is used to extract relavant information from a dhcpd.conf\n+# config file and build a csv with appropriate fields for passing into\n+# a dcm.pl module.  This can be used to bootstrap a new database from existing\n+# site data.  As usual, inspect the output for accuracy.\n+ \n+# Note that for hosts, it will try a reverse lookup on the IP address\n+# to determine an appropriate dns name\n+#\n+# USAGE:\n+# make this script executable with `chmod +x dhcpparse.awk` and then\n+#\n+#   cat dhcpd.conf|.\/dhcpparse.awk\n+ \n+# set the RECORD SEPARATOR, RS, to \"}\" ... records span multiple lines\n+BEGIN {RS=\"}\"}\n+ \n+# TODO: figure out how to skip comment lines without having to use sed first\n+ \n+length($0) > 5 { total++\n+ \n+  for(i=1;i<=NF;i++) {\n+ \n+    counter[total] = total\n+ \n+    # if this field matches the word \"host\"\n+    if($i ~ \/^host$\/) {\n+      type[total] = \"host\"\n+      hostname[total]=$(i+1)\n+      # Remove the trailing { that might be there\n+      gsub(\/{\/, \"\", hostname[total])\n+    }\n+ \n+    # if this field matches the word \"hardware\"\n+    else if($i ~ \/^hardware$\/) {\n+ \n+      # get rid of the trailing semi-colon\n+      split($(i+2),arr,\";\")\n+ \n+      mac[total]=arr[1]\n+    }\n+ \n+    # if this field matches the word \"fixed-address\"\n+    else if($i ~ \/^fixed-address$\/) {\n+ \n+      # get rid of the trailing semi-colon\n+      split($(i+1),arr,\";\")\n+ \n+      ip[total]=arr[1]\n+    }\n+ \n+    # if this field matches the word \"subnet\"\n+    else if($i ~ \/^subnet$\/) {\n+ \n+      type[total] = \"subnet\"\n+      # get rid of the enclosing quotes\n+      split($(i+1),arr,\"\\\"\")\n+ \n+      subnetip[total]=arr[1]\n+    }\n+ \n+    # if this field matches the word \"netmask\"\n+    else if($i ~ \/^netmask$\/) {\n+ \n+      subnetmask[total]=$(i+1)\n+    }\n+ \n+    # if this field matches the word \"range\"\n+    else if($i ~ \/^range$\/) {\n+      total++\n+      type[total] = \"pool\"\n+      poolstart[total]=$(i+1)\n+      # get rid of the trailing semi-colon\n+      split($(i+2),arr,\";\")\n+      poolend[total]=arr[1]\n+    }\n+ \n+    # if this field matches the word \"failover\"\n+    if($i ~ \/^#failover$\/) {\n+      # get rid of the enclosing quotes\n+      split($(i+2),arr,\"\\\"\")\n+ \n+      failover[total]=arr[2]\n+    }\n+  }\n+ \n+ \n+ \n+  # do a host command reverse lookup on the IP to try and find a dns name\n+  if( length(ip[total]) > 0 ) {\n+    command = (\"host \" ip[total])\n+    command | getline tmpname\n+    close(command)\n+    split(tmpname,n,\"pointer\")\n+    \n+    # trim off leading spaces etc\n+    gsub(\/^[ \\t]+\/, \"\", n[2])\n+ \n+    name[total] = substr(n[2],0,length(n[2])-1)\n+  }\n+ \n+  if( length(name[total]) == 0 ) {\n+    name[total]=\"dhcpload-\" ip[total]\n+  }\n+  \n+ \n+}\n+ \n+# for every entry we captured, display its appropriate info\n+END { for(entry in counter) {\n+         if(type[entry] == \"subnet\") {\n+             printf(\"%s,%s,%s,DHCPLOAD-%s\\n\",\\\n+                 type[entry],subnetip[entry],subnetmask[entry],subnetip[entry])\n+         }\n+         if(type[entry] == \"pool\") {\n+             printf(\"%s,%s,%s,%s\\n\",\\\n+                 type[entry],poolstart[entry],poolend[entry],failover[entry])\n+         }\n+         if(type[entry] == \"host\") {\n+             printf(\"%s,%s,%s,%s,%s\\n\",\\\n+                 type[entry],ip[entry],mac[entry],name[entry],hostname[entry])\n+         }\n+    }\n+}\n"}
{"commit":"9494601d95a414cfe475d40749e619b6297a3983","subject":"Added more files for NDB Cluster","message":"Added more files for NDB Cluster\n","repos":"davidl-zend\/zenddbi,ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,davidl-zend\/zenddbi,ollie314\/server,flynn1973\/mariadb-aix,ollie314\/server,natsys\/mariadb_10.2,ollie314\/server,slanterns\/server,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,natsys\/mariadb_10.2,ollie314\/server,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,ollie314\/server,davidl-zend\/zenddbi,natsys\/mariadb_10.2,ollie314\/server,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,natsys\/mariadb_10.2,natsys\/mariadb_10.2,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,ollie314\/server,davidl-zend\/zenddbi,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,ollie314\/server,davidl-zend\/zenddbi,ollie314\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix","returncode":1,"stderr":"error: pathspec 'ndb\/home\/bin\/parseConfigFile.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- ndb\/home\/bin\/parseConfigFile.awk\n+++ ndb\/home\/bin\/parseConfigFile.awk\n@@ -0,0 +1,98 @@\n+BEGIN{\n+    where=0;\n+    n_hosts=0;\n+    n_api=0;\n+    n_ndb=0;\n+    n_mgm=0;\n+    n_ports=0;\n+}\n+\/COMPUTERS\/ {\n+    where=1;\n+}\n+\/\\[[ \\t]*COMPUTER[ \\t]*\\]\/ {\n+    where=1;\n+}\n+\/PROCESSES\/ {\n+    where=2;\n+}\n+\/Type: MGMT\/ {\n+    if(where!=1){\n+\twhere=2;\n+\tn_mgm++;\n+    }\n+}\n+\/\\[[ \\t]*MGM[ \\t]*\\]\/ {\n+    where=2;\n+    n_mgm++;\n+}\n+\/Type: DB\/ {\n+    if(where!=1){\n+\twhere=3;\n+\tn_ndb++;\n+    }\n+}\n+\/\\[[ \\t]*DB[ \\t]*\\]\/ {\n+    where=3;\n+    n_ndb++;\n+}\n+\/Type: API\/ {\n+    if(where!=1){\n+\twhere=4;\n+\tn_api++;\n+    }\n+}\n+\/\\[[ \\t]*API[ \\t]*\\]\/ {\n+    where=4;\n+    n_api++;\n+}\n+\/HostName:\/ {\n+    host_names[host_ids[n_hosts]]=$2;\n+}\n+\n+\/FileSystemPath:\/ {\n+  if (where==3){\n+    ndb_fs[ndb_ids[n_ndb]]=$2;\n+  }\n+}\n+\n+\/Id:\/{\n+    if(where==1){\n+\tn_hosts++;\n+\thost_ids[n_hosts]=$2;\n+    }\n+    if(where==2){\n+\tmgm_ids[n_mgm]=$2;\n+    }\n+    if(where==3){\n+\tndb_ids[n_ndb]=$2;\n+    }\n+    if(where==4){\n+\tapi_ids[n_api]=$2;\n+    }\n+}\n+\/ExecuteOnComputer:\/{\n+    if(where==2){\n+\tmgm_hosts[mgm_ids[n_mgm]]=host_names[$2];\n+    }\n+    if(where==3){\n+\tndb_hosts[ndb_ids[n_ndb]]=host_names[$2];\n+    }\n+    if(where==4){\n+\tapi_hosts[api_ids[n_api]]=host_names[$2];\n+    }\n+}\n+END {\n+    for(i=1; i<=n_mgm; i++){\n+\tprintf(\"mgm_%d=%s\\n\", mgm_ids[i], mgm_hosts[mgm_ids[i]]);\n+    }\n+    for(i=1; i<=n_ndb; i++){\n+\tprintf(\"ndb_%d=%s\\n\", ndb_ids[i], ndb_hosts[ndb_ids[i]]);\n+\tprintf(\"ndbfs_%d=%s\\n\", ndb_ids[i], ndb_fs[ndb_ids[i]]);\n+    }\n+    for(i=1; i<=n_api; i++){\n+\tprintf(\"api_%d=%s\\n\", api_ids[i], api_hosts[api_ids[i]]);\n+    }\n+    printf(\"mgm_nodes=%d\\n\", n_mgm);\n+    printf(\"ndb_nodes=%d\\n\", n_ndb);\n+    printf(\"api_nodes=%d\\n\", n_api);\n+}\n"}
{"commit":"e2b328d33b0ad3385ff4bcf91363dc8579128a4c","subject":"adding yamado-categories","message":"adding yamado-categories\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"19d407a3e9c3de6b541a25b577bcbeb5a7f5ce28","subject":"kinetis: Add script for generating vendor header include lines","message":"kinetis: Add script for generating vendor header include lines\n","repos":"adrianghc\/RIOT,ks156\/RIOT,rfuentess\/RIOT,authmillenon\/RIOT,avmelnikoff\/RIOT,miri64\/RIOT,OTAkeys\/RIOT,LudwigKnuepfer\/RIOT,roberthartung\/RIOT,Josar\/RIOT,RIOT-OS\/RIOT,biboc\/RIOT,smlng\/RIOT,toonst\/RIOT,gebart\/RIOT,mfrey\/RIOT,ant9000\/RIOT,LudwigOrtmann\/RIOT,yogo1212\/RIOT,LudwigKnuepfer\/RIOT,adrianghc\/RIOT,kbumsik\/RIOT,LudwigKnuepfer\/RIOT,mtausig\/RIOT,x3ro\/RIOT,aeneby\/RIOT,kbumsik\/RIOT,basilfx\/RIOT,immesys\/RiSyn,biboc\/RIOT,kYc0o\/RIOT,avmelnikoff\/RIOT,jasonatran\/RIOT,x3ro\/RIOT,mfrey\/RIOT,OTAkeys\/RIOT,rfuentess\/RIOT,neiljay\/RIOT,josephnoir\/RIOT,Josar\/RIOT,cladmi\/RIOT,jasonatran\/RIOT,lazytech-org\/RIOT,mtausig\/RIOT,basilfx\/RIOT,kbumsik\/RIOT,lazytech-org\/RIOT,roberthartung\/RIOT,neiljay\/RIOT,neiljay\/RIOT,RIOT-OS\/RIOT,ks156\/RIOT,immesys\/RiSyn,Josar\/RIOT,miri64\/RIOT,x3ro\/RIOT,Josar\/RIOT,neiljay\/RIOT,jasonatran\/RIOT,yogo1212\/RIOT,gebart\/RIOT,basilfx\/RIOT,aeneby\/RIOT,roberthartung\/RIOT,OTAkeys\/RIOT,A-Paul\/RIOT,LudwigOrtmann\/RIOT,mtausig\/RIOT,authmillenon\/RIOT,kaspar030\/RIOT,aeneby\/RIOT,mfrey\/RIOT,toonst\/RIOT,OlegHahm\/RIOT,toonst\/RIOT,immesys\/RiSyn,immesys\/RiSyn,neiljay\/RIOT,avmelnikoff\/RIOT,miri64\/RIOT,miri64\/RIOT,lazytech-org\/RIOT,BytesGalore\/RIOT,A-Paul\/RIOT,gebart\/RIOT,aeneby\/RIOT,yogo1212\/RIOT,biboc\/RIOT,LudwigKnuepfer\/RIOT,LudwigOrtmann\/RIOT,immesys\/RiSyn,kaspar030\/RIOT,BytesGalore\/RIOT,lazytech-org\/RIOT,jasonatran\/RIOT,OlegHahm\/RIOT,cladmi\/RIOT,smlng\/RIOT,OTAkeys\/RIOT,BytesGalore\/RIOT,kbumsik\/RIOT,toonst\/RIOT,Josar\/RIOT,josephnoir\/RIOT,yogo1212\/RIOT,kbumsik\/RIOT,basilfx\/RIOT,roberthartung\/RIOT,kaspar030\/RIOT,kaspar030\/RIOT,roberthartung\/RIOT,adrianghc\/RIOT,OlegHahm\/RIOT,smlng\/RIOT,avmelnikoff\/RIOT,RIOT-OS\/RIOT,ant9000\/RIOT,gebart\/RIOT,josephnoir\/RIOT,cladmi\/RIOT,A-Paul\/RIOT,biboc\/RIOT,mfrey\/RIOT,kYc0o\/RIOT,ks156\/RIOT,authmillenon\/RIOT,ks156\/RIOT,RIOT-OS\/RIOT,smlng\/RIOT,biboc\/RIOT,authmillenon\/RIOT,OlegHahm\/RIOT,mfrey\/RIOT,A-Paul\/RIOT,avmelnikoff\/RIOT,basilfx\/RIOT,mtausig\/RIOT,ks156\/RIOT,immesys\/RiSyn,toonst\/RIOT,kYc0o\/RIOT,BytesGalore\/RIOT,LudwigKnuepfer\/RIOT,ant9000\/RIOT,jasonatran\/RIOT,authmillenon\/RIOT,yogo1212\/RIOT,cladmi\/RIOT,OlegHahm\/RIOT,ant9000\/RIOT,adrianghc\/RIOT,aeneby\/RIOT,x3ro\/RIOT,kYc0o\/RIOT,RIOT-OS\/RIOT,rfuentess\/RIOT,BytesGalore\/RIOT,josephnoir\/RIOT,mtausig\/RIOT,josephnoir\/RIOT,LudwigOrtmann\/RIOT,x3ro\/RIOT,rfuentess\/RIOT,ant9000\/RIOT,miri64\/RIOT,yogo1212\/RIOT,gebart\/RIOT,rfuentess\/RIOT,lazytech-org\/RIOT,adrianghc\/RIOT,smlng\/RIOT,LudwigOrtmann\/RIOT,cladmi\/RIOT,kYc0o\/RIOT,kaspar030\/RIOT,authmillenon\/RIOT,OTAkeys\/RIOT,A-Paul\/RIOT,LudwigOrtmann\/RIOT","returncode":1,"stderr":"error: pathspec 'cpu\/kinetis\/dist\/generate-cpu-files\/generate-header-includes.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- cpu\/kinetis\/dist\/generate-cpu-files\/generate-header-includes.awk\n+++ cpu\/kinetis\/dist\/generate-cpu-files\/generate-header-includes.awk\n@@ -0,0 +1,22 @@\n+# Usage: awk -f <this_script> vendor\/MKxxxx.h vendor\/MKxxyy.h vendor\/MKzzz.h ...\n+\/Processor[s]?:\/ {\n+    i=0;\n+    if (FNR == NR) {\n+        printf \"#if\";\n+    } else {\n+        printf \"#elif\";\n+    }\n+    while(match($0, \/MK.*\/)) {\n+        if (i>0) {\n+            printf \" || \\\\\\n   \";\n+        }\n+        printf \" defined(CPU_MODEL_%s)\", substr($0, RSTART, RLENGTH);\n+        getline;\n+        i++;\n+    }\n+    printf(\"\\n#include \\\"%s\\\"\\n\", FILENAME);\n+    nextfile;\n+}\n+END {\n+  print \"#endif\"\n+}\n"}
{"commit":"8cfdfa9c8fd84d4090bba54eb616a2c9361a076f","subject":"fix misinterpretation of indexed memory operand in i386 CFI generation","message":"fix misinterpretation of indexed memory operand in i386 CFI generation\n\na register used as an index in the memory destination of a mov\ninstruction was wrongly interpreted as the destination of the mov.\n","repos":"chardi\/musl,chardi\/musl,chardi\/musl","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/chardi\/musl.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"49ae7a1857f7b04fe864d30a73515bf067e7c29b","subject":"I'm tired of searching single sequences","message":"I'm tired of searching single sequences\n","repos":"ballesterus\/PhyloUtensils","returncode":1,"stderr":"error: pathspec 'seqlike.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- seqlike.awk\n+++ seqlike.awk\n@@ -0,0 +1,31 @@\n+#!\/bin\/awk -f\n+\n+##############################################################\n+#         Simple awk script to search fasta records          #\n+#                                                            #\n+# Returns the FASTA records whose seq. id. matches a regex   #\n+# Usage:                                                     #\n+#     seqlike.awk s=<regex> <file.fasta>                      #\n+#                                                            #\n+# Author:J.A. Ballesteros                                    #\n+# Date:July 2020                                             #\n+# GPL vers. 3                                                #\n+##############################################################\n+\n+BEGIN{\n+    FS=\"\\n\";\n+    RS=\">\";\n+    OFS=\"\";\n+    m=0;\n+\n+}\n+\n+{\n+    if ($1 ~ s){\n+\tprint \">\" $0;\n+\t++m \n+    }\n+}\n+END{\n+    print \"Matches found: \", m\n+}\n"}
{"commit":"74e0543c99e861820d077c793851f080386939bc","subject":"First archiving of an awk script that takes calculates a reasonable scaling factor for all png files in this directory, and inserts them into the html files in ..\/Project (named with html.tmp suffixes).","message":"First archiving of an awk script that takes calculates a reasonable scaling\nfactor for all png files in this directory, and inserts them into the html\nfiles in ..\/Project (named with html.tmp suffixes).\n\n\ngit-svn-id: afcf11d89342f630bd950d18a70234a9e277d909@91724 523d945c-050c-4681-91ec-863ad3bb968a\n","repos":"ACS-Community\/ACS,jbarriosc\/ACSUFRO,jbarriosc\/ACSUFRO,ACS-Community\/ACS,csrg-utfsm\/acscb,ACS-Community\/ACS,csrg-utfsm\/acscb,jbarriosc\/ACSUFRO,jbarriosc\/ACSUFRO,jbarriosc\/ACSUFRO,jbarriosc\/ACSUFRO,csrg-utfsm\/acscb,csrg-utfsm\/acscb,jbarriosc\/ACSUFRO,csrg-utfsm\/acscb,ACS-Community\/ACS,ACS-Community\/ACS,ACS-Community\/ACS,jbarriosc\/ACSUFRO,csrg-utfsm\/acscb,csrg-utfsm\/acscb,jbarriosc\/ACSUFRO,ACS-Community\/ACS,csrg-utfsm\/acscb,ACS-Community\/ACS","returncode":1,"stderr":"error: pathspec 'Documents\/ACSArchitecture\/Project\/Images\/scaleImages.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- Documents\/ACSArchitecture\/Project\/Images\/scaleImages.awk\n+++ Documents\/ACSArchitecture\/Project\/Images\/scaleImages.awk\n@@ -0,0 +1,28 @@\n+#! \/usr\/bin\/gawk -f\n+\n+BEGIN {\n+width = 562;\n+pngRegexp = \"[A-Za-z_-]+\\.png\"\n+hRegexp=\"[Hh][Ee][Ii][Gg][Hh][Tt]=\\\"?[0-9]+\\\"?\";\n+wRegexp=\"[Ww][Ii][Dd][Tt][Hh]=\\\"?[0-9]+\\\"?\";\n+\n+while (getline < \"imageSizeList.txt\" == 1) {\n+\tfname = substr($1,1,length($1)-1);\n+\theight=$7*512.0\/$5;\n+\th[fname] = height;\n+\t}\n+close(\"imageSizeList.txt\");\n+}\n+\/^.*.png\/{\n+if (match($0,pngRegexp) !=0) {\n+\tsub(hRegexp,\"\");\n+\tsub(wRegexp,\"\");\n+\tmatch($0,pngRegexp);\n+\tfname = substr($0, RSTART, RLENGTH);\n+\tnmRegexp = fname\"\\\"\";\n+\tsub(nmRegexp,(\"&\" sprintf(\" WIDTH=\\\"%i\\\" HEIGHT=\\\"%i\\\" \",width, h[fname])));\n+\tprint $0 >> FILENAME\".tmp\"\n+\tnext;\n+   }\n+}\n+{print $0 >> FILENAME\".tmp\"}\n"}
{"commit":"895415eb3c37bfa1f660ab318f4d8e88191b5bd6","subject":"added normal checker, written in GAWK","message":"added normal checker, written in GAWK\n","repos":"drbitboy\/ICQutils","returncode":1,"stderr":"error: pathspec 'check_positive_normals.gawk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- check_positive_normals.gawk\n+++ check_positive_normals.gawk\n@@ -0,0 +1,52 @@\n+#!\/usr\/bin\/gawk -f\n+\n+### check_positive_normals.gawk\n+###\n+### Check plate normals of well-behaved STL model\n+###\n+### Well-behaved:  all surface normals point outward from the origin,\n+###                a la Peter Thomas SPUD models, with any ray from the\n+###                origin never intersecting the surface in more than\n+###                one place.\n+###\n+### 1) dot products of facet normal with\n+###\n+###      Vertex0,\n+###      Vertex1,\n+###      Vertex2,\n+###\n+###    appended to end of [vertex X Y Z] lines, should be positive\n+###\n+### 2) Scaled dot products of facet normal with\n+###\n+###      VCROSS(Vertex1-Vertex0, Vertex2-Vertex0),\n+###\n+###    printed out after last [vertex X Y Z] line for each facet,\n+###    should also be positive and equal to +1.0\n+###     \n+\n+function vdot(x0,y0,z0,x1,y1,z1) { return x0*x1 + y0*y1 + z0*z1 }\n+function vnorm(x0,y0,z0) { return sqrt(vdot(x0,y0,z0,x0,y0,z0)) }\n+\n+$1==\"facet\" { nx=$3+0.; ny=$4+0.; nz=$5+0. ; vtx=0 ; print FNR, $0; next }\n+\n+$1==\"vertex\" {\n+  vx[vtx] = $2\n+  vy[vtx] = $3\n+  vz[vtx] = $4\n+  print FNR,$0,vdot(nx,ny,nz,$2,$3,$4)\n+\n+  # Difference from v?[0] to either v?[1] or v>[2]\n+  if (vtx>0) {\n+    vx[vtx] -= vx[0]\n+    vy[vtx] -= vy[0]\n+    vz[vtx] -= vz[0]\n+  }\n+  if (++vtx<3) next\n+\n+  # Cross product\n+  x = vy[1] * vz[2] - vz[1]*vy[2]   # x <= y cross z\n+  y = vz[1] * vx[2] - vx[1]*vz[2]   # y <= z cross x\n+  z = vx[1] * vy[2] - vy[1]*vx[2]   # z <= x cross y\n+  print vdot(x,y,z,nx,ny,nz) \/ (vnorm(x,y,z)*vnorm(nx,ny,nz))\n+}\n"}
{"commit":"7a5ff8643f8983a2b9249900239f132370789b31","subject":"Script used to import raw values.","message":"Script used to import raw values.\n","repos":"IanDarwin\/jannotate","returncode":1,"stderr":"error: pathspec 'fiximports.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- fiximports.awk\n+++ fiximports.awk\n@@ -0,0 +1,3 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {FS=\",\"}\n+{print \"insert into annotation(id,api,name,usage) values(\", --i, \"'\" $1 \"','\" $2 \"','\" $3 \"')\"}\n"}
{"commit":"b932cef4fc2075038a3ac796eb51bc199140e8bb","subject":"REPL: update","message":"REPL: update\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/REPL.awk\n+++ include\/REPL.awk\n@@ -4,7 +4,7 @@\n \n # Detect external readline wrapper (rlwrap).\n function initRlwrap() {\n-    Rlwrap = (\"rlwrap --version 2>\/dev\/null\" | getline) ? \"rlwrap\" : \"\"\n+    Rlwrap = (\"rlwrap --version\" SUPERR | getline) ? \"rlwrap\" : \"\"\n }\n \n # Prompt for interactive session.\n@@ -118,5 +118,5 @@\n     }\n \n     # %s : source language\n-    printf(AnsiCode[\"bold\"] AnsiCode[tolower(Option[\"prompt-color\"])] p AnsiCode[0] \" \", getDisplay(Option[\"sl\"])) > \"\/dev\/stderr\"\n+    printf(AnsiCode[\"bold\"] AnsiCode[tolower(Option[\"prompt-color\"])] p AnsiCode[0] \" \", getDisplay(Option[\"sl\"])) > STDERR\n }\n"}
{"commit":"240461a5e7011c62998d41b8c49e8e35ada0d52b","subject":"added pattern to cases when all the calls are printed out","message":"added pattern to cases when all the calls are printed out\n","repos":"szilvajuhos\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/szilvajuhos\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"05936ff8e20ac185e752535d97541056bfc91f4f","subject":"utf selection in header","message":"utf selection in header\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"7211adae74a6683e00a12b0d7cab52562cade03f","subject":"script to fix contigs and reads for Manta","message":"script to fix contigs and reads for Manta\n","repos":"szilvajuhos\/CAW,marcelm\/CAW,szilvajuhos\/CAW,marcelm\/CAW,marcelm\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/marcelm\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"ba016a847db37b3a7608dbdb1749a00c8ae820a0","subject":"conv.awk for Pig","message":"conv.awk for Pig\n","repos":"daijyc\/hivemall,naritta\/hivemall,daijyc\/hivemall,tempbottle\/hivemall,NaokiStones\/hivemall,tempbottle\/hivemall,tempbottle\/hivemall,NaokiStones\/hivemall,naritta\/hivemall,NaokiStones\/hivemall,naritta\/hivemall,daijyc\/hivemall","returncode":1,"stderr":"error: pathspec 'scripts\/misc\/conv_pig.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- scripts\/misc\/conv_pig.awk\n+++ scripts\/misc\/conv_pig.awk\n@@ -0,0 +1,15 @@\n+BEGIN{ FS=\" \" }\n+{\n+    label=$1;\n+    features=\"{\"\n+    for(i=2;i<=NF;i++)\n+    {\n+        if (i!=2)\n+            features = features \",\"\n+        feature = $i\n+        features = features \"(\" feature \")\";\n+    }\n+    features = features \"}\"\n+    print NR \"\\t\" label \"\\t\" features;\n+}\n+END{}\n"}
{"commit":"c9e618ba62665e887fdd752bbd3afb1d47526f7b","subject":"Add checkFile rule governing blank lines after imports.","message":"Add checkFile rule governing blank lines after imports.\n","repos":"citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/citycloud-bigdata\/mondrian.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"65b8d95dc121018666c2a0e5d1a4c0ef0fc23440","subject":"awk example","message":"awk example\n","repos":"pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds,pxlpnk\/xhelloworlds","returncode":1,"stderr":"error: pathspec 'awk\/hello.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- awk\/hello.awk\n+++ awk\/hello.awk\n@@ -0,0 +1,8 @@\n+# run with awk -f\n+\n+function greet(name)\n+{\n+    print \"Hello\", name\n+}\n+\n+BEGIN { greet(\"DevFest\") }\n"}
{"commit":"88be4af11ec0c668bdc98f459511d7ec915660ba","subject":"Add new script for gln testing report","message":"Add new script for gln testing report\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@24405 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":1,"stderr":"error: pathspec 'scripts\/tdb\/statuses_gln.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln.awk\n+++ scripts\/tdb\/statuses_gln.awk\n@@ -0,0 +1,85 @@\n+#!\/usr\/bin\/awk -f\n+# cat *.tdb | tdbout -t publisher,plugin,publisher:info[tester],status\n+\n+BEGIN {\n+  FS=\"\\t\"\n+  pn = 0\n+}\n+\n+{\n+    nn = split($2,na,\/\\.\/)\n+    lp2 = na[nn]\n+    if (!(($1,lp2) in b)) {\n+      p[pn] = $1\n+      n[pn] = lp2\n+  #    n[pn] = $2\n+      r[pn] = $3\n+      pn++\n+    }\n+    b[$1,lp2]++\n+    c[$1,lp2,$4]++\n+    x[$4]++\n+    tt++\n+}\n+\n+END {\n+  s[0] = \"expected\"\n+  s[1] = \"exists\"\n+  s[2] = \"manifest\"\n+  s[3] = \"wanted\"\n+  s[4] = \"crawling\"\n+  s[5] = \"testing\"\n+  s[6] = \"notReady\"\n+  s[7] = \"released\"\n+  s[8] = \"down\"\n+  s[9] = \"superseded\"\n+  s[10] = \"zapped\"\n+  sn = 11\n+  \n+  sc[0] = \"expe\"\n+  sc[1] = \"exis\"\n+  sc[2] = \"mani\"\n+  sc[3] = \"want\"\n+  sc[4] = \"craw\"\n+  sc[5] = \"test\"\n+  sc[6] = \"notR\"\n+  sc[7] = \"rele\"\n+  sc[8] = \"down\"\n+  sc[9] = \"supe\"\n+  sc[10] = \"zapp\"\n+  scn = 11\n+\n+  #print out header\n+  printf \"Publisher\\tPlugin\\tT\\tTotal\"\n+  for (j = 0 ; j < scn ; j++) {\n+    if (x[s[j]] > 0) {\n+    printf \"\\t%s\", sc[j]\n+    }\n+  }\n+  printf \"\\n\"\n+\n+  #print out publisher, plugin, tester, total aus\n+  for (i = 0 ; i < pn ; i++) {\n+    printf \"%s\\t%s\\t%s\\t%d\", p[i], n[i], r[i], b[p[i],n[i]]\n+    for (j = 0 ; j < sn ; j++) {\n+      if (x[s[j]] > 0){\n+      if (c[p[i],n[i],s[j]] == 0) {\n+      printf \"\\t..\" \n+    } else {\n+        printf \"\\t%d\", c[p[i],n[i],s[j]]\n+      }\n+    }\n+    }\n+    printf \"\\n\"\n+  }\n+    #print out bottom line sums\n+    printf \"Publisher\\tPlugin\\tT\\t%d\", tt\n+    for (j = 0 ; j < sn ; j++) {\n+      if (x[s[j]] > 0) {\n+        printf \"\\t%d\", x[s[j]]\n+      }\n+    }\n+\n+  printf \"\\n\"\n+}\n+\n"}
{"commit":"edd7071aab55ede9dc4e6df0babeab3fb595b797","subject":"updated awk yamado parser for dating and abstract","message":"updated awk yamado parser for dating and abstract\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"f199e65fd2859268ad706880fab4e59ac16e11c9","subject":"SCCS var.gen.awk 10\/09\/30 08:23:33: date and time created 10\/09\/30 08:23:33 by neo","message":"SCCS var.gen.awk 10\/09\/30 08:23:33: date and time created 10\/09\/30 08:23:33 by neo\n","repos":"phorward\/phorward,phorward\/phorward","returncode":1,"stderr":"error: pathspec 'src\/pbasis\/var.gen.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- src\/pbasis\/var.gen.awk\n+++ src\/pbasis\/var.gen.awk\n@@ -0,0 +1,361 @@\n+#!\/bin\/awk\n+#This is a utility script to generate get-\/set and conversion-functions for the\n+#variant data type pvar implemented in var.h\n+#\n+#I was lazy, had not the wish to write every of  this functions by hand... so\n+#I'm sorry for yet another generator script...\n+\n+BEGIN\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\tFS = \"[ \\t;:]+\"\n+\t\t\t\t\t\t\t\t\t\tdatatype = \"\"\n+\t\t\t\t\t\t\t\t\t\tmember = \"\"\n+\t\t\t\t\t\t\t\t\t\twithin_vargen = 0\n+\t\t\t\t\t\t\t\t\t\tfirst = 0\n+\t\t\t\t\t\t\t\t\t\tvariants_cnt = 0\n+\t\t\t\t\t\t\t\t\t\ton_vargen = 0\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tSUBSEP = \"#\"\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tprint \"\/*\"\n+\t\t\t\t\t\t\t\t\t\tprint \" * WARNING:\"\n+\t\t\t\t\t\t\t\t\t\tprint \" * THIS FILE IS GENERATED - DO NOT EDIT MANUALLY - IT WILL GO AWAY!\"\n+\t\t\t\t\t\t\t\t\t\tprint \" *\/\"\n+\t\t\t\t\t\t\t\t\t\tprint \"\"\n+\t\t\t\t\t\t\t\t\t\tprint \"#include \\\"pbasis.h\\\"\"\n+\t\t\t\t\t\t\t\t\t\tprint \"\"\n+\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\t\n+END\t\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\tprev = \"\"\n+\t\t\t\t\t\t\t\t\t\tfor( i = 1; i <= variants_cnt; i++ )\n+\t\t\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\t\tif( prev == members[ variants[ i ] \\\n+\t\t\t\t\t\t\t\t\t\t\t\t\tSUBSEP \"member\" ] )\n+\t\t\t\t\t\t\t\t\t\t\t\tcontinue\n+\t\t\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\t\tif( with_conv )\n+\t\t\t\t\t\t\t\t\t\t\t\tconvfunc( variants[ i ] );\n+\n+\t\t\t\t\t\t\t\t\t\t\tprev = members[ variants[ i ] \\\n+\t\t\t\t\t\t\t\t\t\t\t\t\tSUBSEP \"member\" ]\n+\t\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tif( with_conv )\n+\t\t\t\t\t\t\t\t\t\t\tallconv_func()\n+\t\t\t\t\t\t\t\t\t}\n+\n+\/[a-zA-Z_]+\\*?[ \\t]*[a-zA-Z_]+;\/\t{\n+\t\t\t\t\t\t\t\t\t\tif( !within_vargen )\n+\t\t\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\t\tdatatype = $2\n+\t\t\t\t\t\t\t\t\t\t\tmember = $3\n+\t\t\t\t\t\t\t\t\t\t\tnext\n+\t\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\t}\n+\n+\/vargen:\/\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\twithin_vargen = 1\n+\t\t\t\t\t\t\t\t\t\tline = $0\n+\t\t\t\t\t\t\t\t\t\tgsub( \"\/\\\\*\", \"\", line )\n+\t\t\t\t\t\t\t\t\t\tgsub( \"\\\\*\/\", \"\", line )\n+\t\t\t\t\t\t\t\t\t\tsplit( line, types, \":\" )\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tvar_type = types[2]\n+\t\t\t\t\t\t\t\t\t\tvar_format = types[3]\n+\t\t\t\t\t\t\t\t\t\tvar_define = types[4]\n+\t\t\t\t\t\t\t\t\t\tvar_emptyval = types[5]\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tif( var_define == \"\" )\n+\t\t\t\t\t\t\t\t\t\t\tvar_define = \"PVAR_\" \\\n+\t\t\t\t\t\t\t\t\t\t\t\ttoupper( var_type )\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tvariants[ ++variants_cnt ] = datatype\n+\t\t\t\t\t\t\t\t\t\tmembers[ datatype SUBSEP \\\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\"member\" ] = member\n+\t\t\t\t\t\t\t\t\t\tmembers[ datatype SUBSEP \\\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\"var_type\" ] = var_type\n+\t\t\t\t\t\t\t\t\t\tmembers[ datatype SUBSEP \\\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\"var_format\" ] = var_format\n+\t\t\t\t\t\t\t\t\t\tmembers[ datatype SUBSEP \\\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\"var_define\" ] = var_define\n+\t\t\t\t\t\t\t\t\t\tmembers[ datatype SUBSEP \\\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\"var_emptyval\" ] = var_emptyval\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tsetcode = \"\"\n+\t\t\t\t\t\t\t\t\t\tfirst = 1\n+\t\t\t\t\t\t\t\t\t\tlastconvcode = \"\"\n+\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\t\n+\/to [a-zA-Z_]+\\*?:\/\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\tif( !within_vargen )\n+\t\t\t\t\t\t\t\t\t\t\tnext\n+\t\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tconvcode = trim( substr( $0, \\\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tindex( $0, \":\" ) + 1) )\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tif( convcode == \"(same)\" )\n+\t\t\t\t\t\t\t\t\t\t\tconvcode = lastconvcode\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\t#print $3 SUBSEP datatype\n+\t\t\t\t\t\t\t\t\t\tconvert[ $3 SUBSEP datatype ] = convcode\n+\n+\t\t\t\t\t\t\t\t\t\tlastconvcode = convcode\n+\t\t\t\t\t\t\t\t\t}\n+\n+\/set:\/\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\tif( !within_vargen )\n+\t\t\t\t\t\t\t\t\t\t\tnext\n+\t\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tgsub( \"set:\", \"\", $0 )\n+\t\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tif( !first )\n+\t\t\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\t\tif( setcode != \"\" )\n+\t\t\t\t\t\t\t\t\t\t\t\tsetcode = setcode \"\\n\"\n+\n+\t\t\t\t\t\t\t\t\t\t\tsetcode = setcode \"\\t\" trim( $0 )\n+\t\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tfirst = 0\n+\t\t\t\t\t\t\t\t\t\tnext\n+\t\t\t\t\t\t\t\t\t}\n+\n+\t\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\tif( !within_vargen )\n+\t\t\t\t\t\t\t\t\t\t\tnext\n+\t\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tline = trim( $0 )\n+\t\t\t\t\t\t\t\t\t\tif( substr( line, length( line ) \\\n+\t\t\t\t\t\t\t\t\t\t\t\t - 1, 2 ) == \"*\/\" )\n+\t\t\t\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\t\t\t\twithin_vargen = 0\n+\t\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\t\tif( with_set )\n+\t\t\t\t\t\t\t\t\t\t\t\tsetfunc()\n+\t\t\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\t\tif( with_get )\n+\t\t\t\t\t\t\t\t\t\t\t\tgetfunc()\n+\t\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\t\t\t\tfirst = 0\n+\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\t\n+#--- Utility functions go here ---\n+\n+function setfunc()\n+{\n+\tprint \"\/* -FUNCTION--------------------------------------------------------------------\"\n+\tprint \"\tFunction:\t\tpvar_set_\" var_type \"()\"\n+\tprint \"\"\t\n+\tprint \"\tAuthor:\t\t\tJan Max Meyer (generated with var.gen.awk)\"\n+\tprint \"\"\t\n+\tprint \"\tUsage:\t\t\tSets a variant's \" datatype \" data value and type.\"\n+\tprint \"\"\t\t\t\t\t\n+\tprint \"\tParameters:\t\tpvar*\tvar\tPointer to pvar structure.\"\n+\tprint \"\t\t\t\t\t\" datatype \"\t\" member \"\tValue to be assigned.\"\n+\tprint \"\"\n+\tprint \"\tReturns:\t\t\" datatype \"\t\tThe value of \" member \".\"\n+\tprint \"\"  \n+\tprint \"\t~~~ CHANGES & NOTES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\"\n+\tprint \"\tDate:\t\tAuthor:\t\t\tNote:\"\n+\tprint \"----------------------------------------------------------------------------- *\/\"\n+\n+\tprint datatype \" pvar_set_\" var_type \"( pvar* var, \" \\\n+\t\t\t\tdatatype \" \" member \" )\"\n+\tprint \"{\"\n+\tprint \"\tPROC( \\\"pvar_set_\" var_type \"\\\" );\"\n+\tprint \"\tPARMS( \\\"var\\\", \\\"%p\\\", var );\"\n+\tprint \"\tPARMS( \\\"\" member \"\\\", \\\"\" var_format \"\\\", \" member \" );\"\n+\tprint \"\"\n+\tprint \"\tpvar_reset( var );\"\t\n+\tprint \" var->type &= ~0x0F;\"\n+\tprint \"\tvar->type |= \" var_define \";\"\n+\tprint \"\tvar->val.\" member \" = \" member \";\"\n+\t\n+\tif( setcode != \"\" )\n+\t\tprint setcode\n+\n+\tprint \"\"\n+\tprint \"\tRETURN( var->val.\" member \" );\"\n+\tprint \"}\\n\"\n+}\n+\n+function getfunc()\n+{\n+\tprint \"\/* -FUNCTION--------------------------------------------------------------------\"\n+\tprint \"\tFunction:\t\tpvar_get_\" var_type \"()\"\n+\tprint \"\"\t\n+\tprint \"\tAuthor:\t\t\tJan Max Meyer (generated with var.gen.awk)\"\n+\tprint \"\"\t\n+\tprint \"\tUsage:\t\t\tReturns a variant's \" datatype \" data value and type.\"\n+\tprint \"\t\t\t\t\tIf the variant exists in another data type, it will be\"\n+\tprint \"\t\t\t\t\tconverted, so use it carefully if data loss is not desired!\"\n+\tprint \"\"\n+\tprint \"\tParameters:\t\tpvar*\tvar\tPointer to pvar structure.\"\n+\tprint \"\"\n+\tprint \"\tReturns:\t\t\" datatype \"\t\tThe \" datatype \"-value of the variant.\"\n+\tprint \"\"  \n+\tprint \"\t~~~ CHANGES & NOTES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\"\n+\tprint \"\tDate:\t\tAuthor:\t\t\tNote:\"\n+\tprint \"----------------------------------------------------------------------------- *\/\"\n+\n+\tprint datatype \" pvar_get_\" var_type \"( pvar* var )\"\n+\tprint \"{\"\n+\tprint \"\tPROC( \\\"pvar_get_\" var_type \"\\\" );\"\n+\tprint \"\tPARMS( \\\"var\\\", \\\"%p\\\", var );\"\n+\tprint \"\"\n+\tprint \"\tif( pvar_type( var ) != \" var_define \")\"\n+\tprint \"\t{\"\n+\tprint \"\t\tif( pvar_is_convertible( var ) )\"\n+\tprint \"\t\t{\"\n+\tprint \"\t\t\tMSG( \\\"Conversion allowed and required\\\" );\"\n+\tprint \"\t\t\tif( pvar_convert( var, \" var_define \" ) != ERR_OK )\"\n+\tprint \"\t\t\t\tRETURN( (\" datatype \")\" var_emptyval \" );\"\n+\tprint \"\t\t}\"\n+\tprint \"\t\telse\"\n+\tprint \"\t\t\tRETURN( (\" datatype \")\" var_emptyval \" );\"\n+\tprint \"\t}\"\n+\tprint \"\"\n+\tprint \"\tRETURN( var->val.\" member \" );\"\n+\tprint \"}\\n\"\n+}\n+\n+function convfunc( type )\n+{\n+\tfor( ok in okdone )\n+\t\tokdone[ ok ] = 0\n+\t\n+\tmember = members[ type SUBSEP \"member\" ]\n+\tvar_type = members[ type SUBSEP \"var_type\" ]\n+\tvar_format = members[ type SUBSEP \"var_format\" ]\n+\tvar_define = members[ type SUBSEP \"var_define\" ]\n+\tvar_emptyval = members[ type SUBSEP \"var_emptyval\" ]\n+\n+\tprint \"\/* -FUNCTION--------------------------------------------------------------------\"\n+\tprint \"\tFunction:\t\tpvar_to_\" var_type \"()\"\n+\tprint \"\"\t\n+\tprint \"\tAuthor:\t\t\tJan Max Meyer (generated with var.gen.awk)\"\n+\tprint \"\"\t\n+\tprint \"\tUsage:\t\t\tConverts a variant's current value into a \" type \" variable.\"\n+\t\n+\tif( var_type ~ \/string\/ )\n+\t\tprint \"\t\t\t\t\tThe returned memory is allocated, and must be freed by the caller.\"\n+\n+\tprint \"\"\n+\tprint \"\tParameters:\t\tpvar*\tvar\tPointer to pvar structure.\"\n+\tprint \"\"\n+\tprint \"\tReturns:\t\t\" type \"\t\tThe \" type \"-value of the variant.\"\n+\n+\tif( var_type ~ \/string\/ )\n+\t\tprint \"\t\t\t\t\tMemory must be freed by caller!\"\n+\n+\tprint \"\"  \n+\tprint \"\t~~~ CHANGES & NOTES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\"\n+\tprint \"\tDate:\t\tAuthor:\t\t\tNote:\"\n+\tprint \"----------------------------------------------------------------------------- *\/\"\n+\n+\tprint type \" pvar_to_\" var_type \"( pvar* var )\"\n+\tprint \"{\"\n+\tprint \"\tPROC( \\\"pvar_to_\" var_type \"\\\" );\"\n+\tprint \"\tPARMS( \\\"var\\\", \\\"%p\\\", var );\"\n+\tprint \"\"\n+\t\n+\tprint \"\tswitch( pvar_type( var ) )\"\n+\tprint \"\t{\"\n+\t\n+\tfor( j = 1; j <= variants_cnt; j++ )\n+\t{\n+\t\tif( okdone[ variants[j] ] )\n+\t\t\tcontinue\n+\t\n+\t\tokdone[ variants[j] ] = 1\n+\t\tprint \"\t\tcase \" members[ variants[j] SUBSEP \"var_define\" ] \":\"\n+\t\t\n+\t\tif( variants[j] == type )\n+\t\t{\n+\t\t\tprint \"\t\t\tRETURN( var->val.\" member \" );\"\n+\t\t\tcontinue\n+\t\t}\n+\t\t\n+\t\tif( ( conv = convert[ type SUBSEP variants[j] ] ) == \"\" )\n+\t\t\tconv = \"var->val.\" members[ variants[j] SUBSEP \"member\" ]\n+\n+\t\tprint \"\t\t\tRETURN( (\" type \")\" conv \" );\"\n+\t}\n+\t\n+\tprint \"\t}\\n\"\n+\tprint \"\tMSG( \\\"Can't convert this type!\\\" );\"\n+\tprint \"\tRETURN( (\" type \")\" var_emptyval \" );\"\n+\tprint \"}\\n\"\n+}\n+\n+function allconv_func()\n+{\n+\tfor( ok in okdone )\n+\t\tokdone[ ok ] = 0\n+\n+\tprint \"\/* -FUNCTION--------------------------------------------------------------------\"\n+\tprint \"\tFunction:\t\tpvar_convert()\"\n+\tprint \"\"\t\n+\tprint \"\tAuthor:\t\t\tJan Max Meyer (generated with var.gen.awk)\"\n+\tprint \"\"\t\n+\tprint \"\tUsage:\t\t\tConverts a pvar-structure to any supported type.\"\n+\tprint \"\"\n+\tprint \"\tParameters:\t\tpvar*\tvar\t\tPointer to pvar structure.\"\n+\tprint \"\t\t\t\t\tpbyte\ttype\tType to which var should be converted to.\"\t\n+\tprint \"\"\n+\tprint \"\tReturns:\t\tpint\tERR_OK\ton success, else an ERR_-define.\"\n+\tprint \"\"  \n+\tprint \"\t~~~ CHANGES & NOTES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\"\n+\tprint \"\tDate:\t\tAuthor:\t\t\tNote:\"\n+\tprint \"----------------------------------------------------------------------------- *\/\"\n+\n+\tprint \"pint pvar_convert( pvar* var, pbyte type )\"\n+\tprint \"{\"\n+\tprint \"\tPROC( \\\"pvar_convert\\\" );\"\n+\tprint \"\tPARMS( \\\"var\\\", \\\"%p\\\", var );\"\n+\tprint \"\tPARMS( \\\"type\\\", \\\"%d\\\", type );\"\n+\tprint \"\"\n+\tprint \"\tif( pvar_type( var ) == type )\"\n+\tprint \"\t\tRETURN( ERR_OK );\"\n+\tprint \"\"\n+\tprint \"\tswitch( type )\"\n+\tprint \"\t{\"\n+\t\n+\tfor( i = 1; i <= variants_cnt; i++ )\n+\t{\n+\t\tif( okdone[ variants[i] ] )\n+\t\t\tcontinue\n+\t\n+\t\tokdone[ variants[i] ] = 1\t\n+\t\n+\t\tprint \"\t\tcase \" members[ variants[i] SUBSEP \"var_define\" ] \":\"\n+\t\tprint \"\t\t\tpvar_set_\" members[ variants[i] SUBSEP \"var_type\" ] \\\n+\t\t\t  \"( var, pvar_to_\" members[ variants[i] SUBSEP \"var_type\" ] \\\n+\t\t\t  \"( var ) );\"\n+\t\tprint \"\t\t\tRETURN( ERR_OK );\\n\"\n+\t}\n+\n+\tprint \"\t}\"\n+\tprint \"\"\n+\tprint \"\tRETURN( ERR_FAILURE );\"\n+\tprint \"}\\n\"\n+}\n+\n+function ltrim( s )\n+{\n+\tsub( \/^[ \\t\\n]+\/, \"\", s )\n+\treturn s\n+}\n+\n+function rtrim( s )\n+{\n+\tsub( \/[ \\t\\n]+$\/, \"\", s )\n+\treturn s\n+}\n+\n+function trim( s )\n+{\n+\treturn rtrim( ltrim( s ) )\n+}\n+\n"}
{"commit":"1dbbb76585a150e39240db3f0bcb731a7191317c","subject":"file sep","message":"file sep\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":1,"stderr":"error: pathspec 'src\/awk\/fs.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/fs.awk\n+++ src\/awk\/fs.awk\n@@ -0,0 +1,14 @@\n+#! \/bin\/awk -f\n+\n+#find mean and variance of a column from a file\n+BEGIN {\n+OFS=\",\"\n+}\n+#body\n+{\n+$1=$1 #rebuild the record using current OFS\n+print $0\n+}\n+END {\n+print \"Done\" \n+}\n"}
{"commit":"fc3f56f1548ec6e3e101d0c5f738df2cbe7ba739","subject":"* awk filter for logs","message":"* awk filter for logs\n","repos":"mojmir-svoboda\/BlackBoxTT,mojmir-svoboda\/BlackBoxTT,mojmir-svoboda\/BlackBoxTT","returncode":1,"stderr":"error: pathspec 'tools\/log_bbTT.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tools\/log_bbTT.awk\n+++ tools\/log_bbTT.awk\n@@ -0,0 +1,154 @@\n+#!\/usr\/bin\/gawk\n+\n+BEGIN {\n+\n+\tm_scope_print = 1;\n+\n+\tm_bg[0] = \"\\033[0;40m\"; # blck\n+\tm_bg[1] = \"\\033[0;41m\"; # r\n+\tm_bg[2] = \"\\033[0;42m\"; # g\n+\tm_bg[3] = \"\\033[0;43m\"; # y\n+\tm_bg[4] = \"\\033[0;44m\"; # b\n+\tm_bg[5] = \"\\033[0;45m\"; # m\n+\tm_bg[6] = \"\\033[0;46m\"; # c\n+\tm_bg[7] = \"\\033[0;47m\"; # w\n+\tm_bg_def = \"\\033[0;49m\"; # default\n+\n+    m_fg[0] = \"\\033[0;30m\"; # blck\n+    m_fg[1] = \"\\033[0;31m\"; # r\n+    m_fg[2] = \"\\033[0;32m\"; # g\n+    m_fg[3] = \"\\033[0;33m\"; # y\n+    m_fg[4] = \"\\033[0;34m\"; # b\n+    m_fg[5] = \"\\033[0;35m\"; # m\n+    m_fg[6] = \"\\033[0;36m\"; # c\n+    m_fg[7] = \"\\033[0;37m\"; # wht\n+    m_fg_def = \"\\033[0;39m\"; # default\n+\n+\n+    m_colormap[0] = m_fg_def\n+    m_colormap[1] = m_fg[2]\n+    m_colormap[2] = m_fg[3]\n+    m_colormap[3] = m_fg[5]\n+    m_colormap[4] = m_fg[6]\n+    m_colormap[5] = m_fg[4]\n+    m_colormap[6] = m_fg[7]\n+    m_colormap[7] = m_bg[4]m_fg[3]\n+    m_colormap[8] = m_bg[4]m_fg[7]\n+    maxcolors = 9;\n+\n+    m_threadid[0] = 0;\n+    m_last_thread = 0;\n+\n+    m_scope_level = 0;\n+    m_indenttab[0]=0;\n+\n+\n+    FS=\"|\";\n+\tprintf(\"%s%slog_filter.awk%s\\n\",m_bg_def, m_colormap[1], m_colormap[0]);\n+}\n+\n+function indentText(thread_index, tmp)\n+{\n+    tmp = \"\";\n+    for(i = 0; i < m_indenttab[thread_index]; ++i)\n+    {\n+        tmp = tmp\" \";\n+    }\n+    return tmp;\n+}\n+\n+function incrIndent(thread_index)\n+{\n+    return ++m_indenttab[thread_index];\n+}\n+\n+function decrIndent(thread_index)\n+{\n+    return --m_indenttab[thread_index];\n+}\n+\n+function replaceText(text, tmp)\n+{\n+    tmp = \"\";\n+    gsub(\"ue::sys::threads::\", \"UE::\", text)\n+    gsub(\"ue::ai::pathfind\", \"pf\", text)\n+    gsub(\"virtual \", \"V \", text)\n+\tt = m_bg[2]\"_\"m_bg_def\n+    gsub(\"error \", t, text)\n+    gsub(\"###\", \"\\033[0;1m###\\033[0;22m\", text)\n+    gsub(\"ERR\", \"\\033[0;9m!!!\\033[0;29m\", text)\n+    return text;\n+}\n+\n+\n+{\n+# |date|pid|tid|file:line|fn|{pfn\n+#   1    2   3      4     5   6\n+\n+\tif (match($3, \"[[:digit:]]+\"))\n+\t{\n+\t\tfound = -1;\n+\t\tfor (i=0; i<m_last_thread; ++i)\n+\t\t{\n+\t\t\t#printf(\"cmp%d [[ %s with %s ]]\\n\", i, $3, m_threadid[i]);\n+\t\t\tif (m_threadid[i] == $3)\n+\t\t\t\tfound = i;\n+\t\t}\n+\n+\t\tif (found == -1)\n+\t\t{\n+\t\t\tfound = m_last_thread;\n+\t\t\tm_threadid[m_last_thread] = $3;\n+\t\t\tm_indenttab[m_last_thread] = 0;\n+\t\t\t++m_last_thread;\n+\t\t}\n+\n+\t\t#printf(\"colormap = %d for threadid=%d \\n\", m_colormap[found], m_threadid[found]);\n+\t\tscope_detected = 0\n+\n+\t\tif (index($6,\"}\"))\n+\t\t{\n+\t\t\tdecrIndent(found);\n+\t\t\tscope_detected = 1;\n+\t\t}\n+\t\tif (index($6,\"{\"))\n+\t\t{\n+\t\t\tscope_detected = 1;\n+\t\t}\n+\n+\t\tstrout = \"\";\n+\n+\t\tfill = indentText(found);\n+\n+\t\tmsg = replaceText($6);\n+\n+\t\tdate = $1;\n+\t\tgsub(\"[0-9]*-[a-zA-Z]*-[0-9]* \", \"\", date)\n+\n+\t\tif (scope_detected)\n+\t\t{\n+\t\t\tif (m_scope_print)\n+\t\t\t{\n+\t\t\t\tprintf(\"%s%s|%02i|%s%s\\n\", m_colormap[found], date, found, fill, msg);\n+\t\t\t}\n+\t\t}\n+\t\telse\n+\t\t\tprintf(\"%s%s|%02i|%s%s\\n\", m_colormap[found], date, found, fill, msg);\n+\n+\t\tif (index($6,\"{\"))\n+\t\t\tincrIndent(found);\n+\t}\n+\telse\n+\t{\n+\t\tprintf(\"* %s%s\\n\", m_colormap[0], $0);\n+\t}\n+\n+\tfflush();\n+}\n+\n+END {\n+\tfor (i=0; i<m_last_thread; ++i)\n+\t{\n+\t\tprintf(\"thread map: %i -> %d (%x)\\n\", i, m_threadid[i], m_threadid[i]);\n+\t}\n+}\n"}
{"commit":"0a8107d8e7d84c8890dc963f674475ddfcf732db","subject":"Added an auxiliary utility to ncheck 16 consecutive inumbers with debugfs.","message":"Added an auxiliary utility to ncheck 16 consecutive inumbers with debugfs.\n","repos":"andlabs\/e4jexamine","returncode":1,"stderr":"error: pathspec 'ncheck16.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- ncheck16.awk\n+++ ncheck16.awk\n@@ -0,0 +1,15 @@\n+# 2 january 2015\n+# usage: awk -f icheck16.awk diskimage\n+# enter one inumber at a time\n+# TODO the usual\n+BEGIN {\n+\tdiskimage = ARGV[1]\n+\tARGC--\n+}\n+{\n+\tfor (i = 0; i < 16; i++) {\n+\t\tn = $1 + i\n+\t\tc = sprintf(\"debugfs -R 'ncheck %d' '%s' 2>\/dev\/null\", n, diskimage)\n+\t\tsystem(c)\n+\t}\n+}\n"}
{"commit":"17957c54042e04f3e3b6603c7efeef42a8716ecf","subject":"rollback","message":"rollback\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":1,"stderr":"error: pathspec 'CPU\/common\/collisions.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- CPU\/common\/collisions.awk\n+++ CPU\/common\/collisions.awk\n@@ -0,0 +1,121 @@\n+#!\/usr\/bin\/awk -f\n+##########\n+#The MIT License (MIT)\n+#\n+# Copyright (c) 2015 Aiden Lab\n+#\n+# Permission is hereby granted, free of charge, to any person obtaining a copy\n+# of this software and associated documentation files (the \"Software\"), to deal\n+# in the Software without restriction, including without limitation the rights\n+# to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n+# copies of the Software, and to permit persons to whom the Software is\n+# furnished to do so, subject to the following conditions:\n+#\n+# The above copyright notice and this permission notice shall be included in\n+# all copies or substantial portions of the Software.\n+#\n+#  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+#  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+#  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+#  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+#  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+#  THE SOFTWARE.\n+##########\n+# Takes a SAM file, looks for interesting abnormal chimeric reads.\n+# only those reads mapped to chromosomes 1-24 with MAPQ >= 10, and\n+# with at least a triple where the minimum distance >= 20Kb\n+# Juicer version 1.5\n+function abs(v) {\n+    return v<0?-v:v;\n+}\n+BEGIN{\n+  OFS=\"\\t\";\n+  mapq_thresh=-1;\n+  tottot = -1; # will count first non-group\n+}\n+{\n+  # input file is sorted by read name.  Look at read name to group \n+  # appropriately\n+  split($1,a,\"\/\");\n+  if(a[1]==prev){\n+    # move on to next record.  look below this block for actions that occur\n+    # regardless.\n+    count++;\n+  }\n+  else {\n+    # deal with read pair group\n+    tottot++;\n+    printme = 1;\n+    j = 0;\n+    for (i in c) {\n+      split(c[i], tmp);\n+      mapped[j] = tmp[3] ~ \/^[1-9,X,Y,M][0-9,T]?$\/ || tmp[3] ~ \/^chr[1-9,X,Y,M][0-9,T]?$\/;\n+      name[j] = tmp[1];\n+      str[j] = tmp[2];\n+      chr[j] = tmp[3];\n+      pos[j] = tmp[4];\n+      m[j] = tmp[5];\n+      cig[j] = tmp[6];\n+      seq[j] = tmp[10];\n+      j++;\n+    }\n+    len = j;\n+    bigdist = 0;\n+    for (j=0; j<len; j++) {\n+        printme = printme && mapped[j] && (m[j] >= 10);\n+        for (k=j+1; k<len; k++) {\n+            if (abs(pos[j]-pos[k]) >= 20000) {\n+                bigdist++;\n+            }\n+        }\n+    }\n+#    printme = printme && (bigdist >= 3);\n+    if (printme) {\n+      for (j = 0; j < len; j++) {\n+          printf(\"%s %d %s %d %d %s %s \", name[j], str[j], chr[j], pos[j], m[j], cig[j], seq[j]);\n+      }\n+      printf(\"\\n\");\n+    }\n+\n+    # reset variables\n+    delete c;\n+    count=1;\n+    prev=a[1];\n+  }\n+  # these happen no matter what, after the above processing\n+  c[count] = $0;\n+}\n+END {\n+    printme = 1;\n+    j = 0;\n+    for (i in c) {\n+      split(c[i], tmp);\n+      mapped[j] = tmp[3] ~ \/^[1-9,X,Y,M][0-9,T]?$\/ || tmp[3] ~ \/^chr[1-9,X,Y,M][0-9,T]?$\/;\n+      name[j] = tmp[1];\n+      str[j] = tmp[2];\n+      chr[j] = tmp[3];\n+      pos[j] = tmp[4];\n+      m[j] = tmp[5];\n+      cig[j] = tmp[6];\n+      seq[j] = tmp[10];\n+      j++;\n+    }\n+    len = j;\n+    bigdist = 0;\n+    for (j=0; j<len; j++) {\n+        printme = printme && mapped[j] && (m[j] >= 10);\n+        for (k=j+1; k<len; k++) {\n+            if (abs(pos[j]-pos[k]) >= 20000) {\n+                bigdist++;\n+            }\n+        }\n+    }\n+#    printme = printme && (bigdist >= 3);\n+    if (printme) {\n+      for (j = 0; j < len; j++) {\n+          printf(\"%s %d %s %d %d %s %s \", name[j], str[j], chr[j], pos[j], m[j], cig[j], seq[j]);\n+      }\n+      printf(\"\\n\");\n+    }\n+}\n"}
{"commit":"cc72264ed27a33dc25f7df4d403a2814d025c620","subject":"  if (s_length(pa[ch]) != 3) {","message":"  if (s_length(pa[ch]) != 3) {\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"8c05b6c27ccd629f33bb5e20ad9d7eaf6496b96f","subject":"Add AWK script to generate a frequency table from a column of numbers","message":"Add AWK script to generate a frequency table from a column of numbers\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":1,"stderr":"error: pathspec 'tools\/awk\/frequency_table.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/frequency_table.awk\n+++ tools\/awk\/frequency_table.awk\n@@ -0,0 +1,22 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# Generates a frequency table.\n+#\n+# Usage: frequency_table\n+#\n+# Input:\n+#   - a column of numbers\n+#\n+# Output:\n+#   - frequency table\n+\n+{\n+\ttotal += 1\n+\ttable[$1] += 1\n+}\n+END {\n+\tfor (v in table) {\n+\t\tcount = table[v]\n+\t\tprint v OFS count OFS count\/total\n+\t}\n+}\n"}
{"commit":"02c584cbb9e01f7cfc891b03ae49ce2049268e85","subject":"Added script to filter out long stack traces.","message":"Added script to filter out long stack traces.\n","repos":"martenbohlin\/StackAnalyzer","returncode":1,"stderr":"error: pathspec 'src\/awk\/longThreads.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/longThreads.awk\n+++ src\/awk\/longThreads.awk\n@@ -0,0 +1,27 @@\n+#!\/usr\/bin\/awk -f\n+\n+BEGIN {\n+    PRINT=0\n+    BUFF=\"\"\n+    LINES=0\n+}\n+\/\"[^\"]*\".*prio=[^ ]* tid=[^ ]* .*\/ {\n+    if (LINES>30) {\n+\tprint BUFF\n+\tPRINT=0\n+    }\n+    LINES=0\n+    BUFF=\"\"\n+}\n+{\n+    if (LINES<2000) {\n+\tBUFF=BUFF \"\\n\" $0\n+\tLINES=LINES+1\n+    }\n+}\n+\n+END {\n+    if (PRINT) {\n+        print BUFF\n+    }\n+}\n"}
{"commit":"54ba7975776e8301a9ab2551cbb5755b8df1ce4b","subject":"Add Tobias Waldekranz's awesome little AWK script","message":"Add Tobias Waldekranz's awesome little AWK script\n\nSigned-off-by: Joachim Nilsson <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>\n","repos":"troglobit\/netcalc,troglobit\/sipcalc,troglobit\/netcalc,troglobit\/sipcalc","returncode":1,"stderr":"error: pathspec 'ipcalc.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- ipcalc.awk\n+++ ipcalc.awk\n@@ -0,0 +1,23 @@\n+# Calculate network address from IP and prefix len\n+# Tobias Waldekranz, 2017\n+#\n+#   $ echo \"192.168.2.232\/24\" | awk -f ipcalc.awk\n+#   192.168.2.0\/24\n+#\n+#   $ echo \"192.168.2.232.24\" | awk -f ipcalc.awk\n+#   192.168.2.0\/24\n+#\n+#   $ echo \"192.168.2.232 24\" | awk -f ipcalc.awk\n+#   192.168.2.0\/24\n+#\n+BEGIN { FS=\"[. \/]\" }\n+{ \n+    ip  = lshift($1, 24) + lshift($2, 16) + lshift($3, 8) + $4;\n+    net = lshift(rshift(ip, 32 - $5), 32 - $5);\n+\n+    printf(\"%d.%d.%d.%d\/%d\\n\",\n+\t   and(rshift(net, 24), 0xff),\n+\t   and(rshift(net, 16), 0xff),\n+\t   and(rshift(net,  8), 0xff),\n+\t   and(net, 0xff), $5);\n+}\n"}
{"commit":"54664269efb97a50801e4592136508fa7fceae7f","subject":"A script that generates language model data from frame data, suitable for gnuplot","message":"A script that generates language model data from frame data, suitable\nfor gnuplot\n\n\ngit-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@2457 94700074-3cef-4d97-a70e-9c8c206c02f5\n","repos":"deepstupid\/sphinx5","returncode":1,"stderr":"error: pathspec 'scripts\/extractLanguageProbs.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/extractLanguageProbs.awk\n+++ scripts\/extractLanguageProbs.awk\n@@ -0,0 +1,8 @@\n+# An awk\/gawk script that extracts the language probabilities from an\n+# S4 results output file.  Output is 3 columns:\n+# 1 - frame number\n+# 2 - total lang probability applied\n+# 3 - this frames lang prob\n+# 4 - this frames insertion prob\n+$1 >= 1 && $1 < 100000 { sum += $4;  sum += $5; }\n+$1 >= 1 && $1 < 100000 { print $1, sum, $4, $5 }\n"}
{"commit":"77a95b1492631f270207b5dbde55b363c5f380c4","subject":"Create trace.awk","message":"Create trace.awk","repos":"shenyan1\/iobenchmark,shenyan1\/iobenchmark,shenyan1\/iobenchmark,shenyan1\/iobenchmark","returncode":1,"stderr":"error: pathspec 'tools\/trace.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/trace.awk\n+++ tools\/trace.awk\n@@ -0,0 +1,2 @@\n+#\u63d0\u53d6trace\u6587\u4ef6\u4e2d\u60f3\u8981\u7684\u4fe1\u606f\n+cat usr_1.csv | awk -F\",\" '{if($4==\"Write\") print \"W\",$5,$6;else print \"R\",$5,$6}'> ~\/usr_1_ssd.csv\n"}
{"commit":"b810686e8067366fc63469f3459bd6e0e7950682","subject":"Added sjCollapseSamples.awk script","message":"Added sjCollapseSamples.awk script\n","repos":"alexdobin\/STAR,alexdobin\/STAR,alexdobin\/STAR,alexdobin\/STAR","returncode":1,"stderr":"error: pathspec 'extras\/scripts\/sjCollapseSamples.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- extras\/scripts\/sjCollapseSamples.awk\n+++ extras\/scripts\/sjCollapseSamples.awk\n@@ -0,0 +1,25 @@\n+# usage:\n+# awk -f sjCollapseSamples.awk \/path\/to\/all\/*\/SJ.out.tab | sort -k1,1V -k2,2n -k3,3n > SJ.all\n+# output columns:\n+# 1-6 - same as in SJ.out.tab\n+# 7   - total number of unique mappers\n+# 8   - total number of multi-mappers\n+# 9   - max overhang\n+# 10  - number of samples the junction was detected in\n+\n+BEGIN {\n+    OFS=\"\\t\";\n+}\n+\n+{\n+    sj=$1 \"\\t\" $2 \"\\t\" $3 \"\\t\" $4 \"\\t\" $5 \"\\t\" $6; \n+    nSamples[sj]++;\n+    nU[sj]+=$7;\n+    nM[sj]+=$8;\n+    if (nO[sj]<$9) nO[sj]=$9;\n+};\n+\n+END {\n+    for (sj in nSamples) print sj,nU[sj],nM[sj],nO[sj],nSamples[sj];\n+}\n+\n"}
{"commit":"cb0eec1af86c494d90208ace59b96655fea447bd","subject":"Fix Awk code avoiding division by zero error","message":"Fix Awk code avoiding division by zero error\n","repos":"vilugao\/fibonacci,vilugao\/fibonacci,vilugao\/fibonacci,vilugao\/fibonacci,vilugao\/fibonacci,vilugao\/fibonacci,vilugao\/fibonacci,vilugao\/fibonacci","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/vilugao\/fibonacci.git\/'\n","license":"unlicense","lang":"Awk","diff":""}
{"commit":"8248a419944a794f82bceadb815a89b7aaaf04c4","subject":"Initial revision","message":"Initial revision\n","repos":"Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack","returncode":1,"stderr":"error: pathspec 'modules\/src\/em_opt\/makefuns.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- modules\/src\/em_opt\/makefuns.awk\n+++ modules\/src\/em_opt\/makefuns.awk\n@@ -0,0 +1,59 @@\n+BEGIN\t\t{\n+\t\tFS = \"|\";\n+\t\tseenproc = 0;\n+\t\tCC=\"${CMD}\"\n+\t\t}\n+\/^%\/\t\t{}\n+\/^$\/\t\t{}\n+\/^[a-z]\/ && $3 !~ \/.*NOTIMPLEMENTED.*\/ {\n+\t\tif(seenproc) {\n+\t\t\tprint \"}\"\n+\t\t\tprint \"--EOF--\"\n+\t\t\tprintf \"if %s C_%s.c\\n\",CC,nam\n+\t\t\tprintf \"then :\\nelse exit 1\\nfi\\n\"\n+\t\t\tprintf \"rm -f C_%s.c\\n\",nam\n+\t\t}\n+\t\tseenproc = 1\n+\t\t$1 = substr($1,1,index($1,\"\\t\")-1);\n+\t\tnam = $1\n+\t\tprintf \"cat > C_%s.c << '--EOF--'\\n\",$1\n+\t\tprint \"#include \\\"nopt.h\\\"\"\n+\t\tprintf \"C_%s(\",$1\n+\t\tnparms = split($2,parms,\":\");\n+\t\tfor(p=1;p<nparms;p++) {\n+\t\t\tif(p!=1) {\n+\t\t\t\tprintf \",\"\n+\t\t\t}\n+\t\t\tsplit(parms[p+1],a,\" \")\n+\t\t\tprintf a[1]\n+\t\t}\n+\t\tprintf \")\\n\"\n+\t\tif(nparms) {\n+\t\t\tprintf \"\\t%s\",parms[1]\n+\t\t}\n+\t\tfor(p=1;p<nparms;p++) {\n+\t\t\tsplit(parms[p+1],a,\" \")\n+\t\t\tprintf \" %s;\\n\",a[1]\n+\t\t\tif(a[2]) {\n+\t\t\t\tprintf \"\\t%s%s%s\",a[2],a[3],a[4]\n+\t\t\t}\n+\t\t}\n+\t\tif($3) {\n+\t\t\tprintf \"{\\n\\t%s\\n\",$3\n+\t\t}\n+\t\telse {\n+\t\t\tprintf \"{\\n\"\n+\t\t}\n+\t\t}\n+\/^\t\/\t{\n+\t\tprint\n+\t\t}\n+END\t\t{\n+\t\tif(seenproc) {\n+\t\t\tprint \"}\"\n+\t\t\tprint \"--EOF--\"\n+\t\t\tprintf \"if %s C_%s.c\\n\",CC,nam\n+\t\t\tprintf \"then :\\nelse exit 1\\nfi\\n\"\n+\t\t\tprintf \"rm -f C_%s.c\\n\",nam\n+\t\t}\n+\t\t}\n"}
{"commit":"b0d694788d182ec4bc134249a192a82a017a2292","subject":"Add an awk script used in one-vs-the-rest classification example.","message":"Add an awk script used in one-vs-the-rest classification example.","repos":"daijyc\/hivemall,daijyc\/hivemall,NaokiStones\/hivemall,NaokiStones\/hivemall,naritta\/hivemall,daijyc\/hivemall,naritta\/hivemall,tempbottle\/hivemall,tempbottle\/hivemall,naritta\/hivemall,NaokiStones\/hivemall,tempbottle\/hivemall","returncode":1,"stderr":"error: pathspec 'scripts\/misc\/one-vs-rest.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- scripts\/misc\/one-vs-rest.awk\n+++ scripts\/misc\/one-vs-rest.awk\n@@ -0,0 +1,17 @@\n+BEGIN{ FS=\"\\t\"; OFS=\"\\t\"; }\n+{\n+ \tpossible_labels=$1;\n+ \trowid=$2;\n+    label=$3;\n+    features=$4;\n+\n+ \tlabel_count = split(possible_labels, label_array, \",\");\n+ \t\t\n+\tfor(i = 1; i <= label_count; i++) {\n+    \tif (label_array[i] == label)\n+      \t\tprint rowid, label, 1, features;\n+      \telse\n+      \t\tprint rowid, label_array[i], -1, features;\n+\t}\n+}\n+END{}\n"}
{"commit":"a7c80150a6cad0fc7a93fb2c16ca1d17796f057a","subject":"2008-03-24  Martin Sebor  <sebor@roguewave.com>","message":"2008-03-24  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk (print_section): Prepended \"..\/\" to the log file name\n\tsince build logs are stored in the parent directory of the one that\n\tcontains the cross-build results.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@640483 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"6f15ed4cc6300cfc4f57985523f6becc97cbc314","subject":"Added normalize.","message":"Added normalize.\n","repos":"jrwilson\/ioa,jrwilson\/ioa,jrwilson\/ioa","returncode":1,"stderr":"error: pathspec 'examples\/normalize.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- examples\/normalize.awk\n+++ examples\/normalize.awk\n@@ -0,0 +1,13 @@\n+#!\/usr\/bin\/awk -f\n+\n+{\n+\tfor (i = 1; i <= NF; ++i) {\n+\t    split ($i, fields, \"=\");\n+\t    map[fields[1]] = fields[2];\n+\t}\n+\n+\tuser = map[\"user\"];\n+\ttotal = map[\"total\"];\n+\n+\tprintf (\"system=%f\\n\", (total - user) \/ total);\n+}\n"}
{"commit":"5723024639d315d934571f6b1c08a698a5ee52aa","subject":"gps.sh -> .awk","message":"gps.sh -> .awk\n","repos":"gits68\/scripts,gits68\/scripts","returncode":1,"stderr":"error: pathspec 'bin\/gps.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- bin\/gps.awk\n+++ bin\/gps.awk\n@@ -0,0 +1,80 @@\n+#!\/usr\/bin\/awk -f\n+#\n+# Copyright (c) 1995-2016 Cyrille Lefevre (Cyrille.Lefevre@laposte.net). All rights reserved.\n+#\n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions\n+# are met:\n+#\n+# 1. Redistributions of source code must retain the above copyright\n+#    notice, this list of conditions and the following disclaimer.\n+# 2. Redistributions in binary form must reproduce the above copyright\n+#    notice, this list of conditions and the following disclaimer in\n+#    the documentation and\/or other materials provided with the\n+#    distribution.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS''\n+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n+# PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS\n+# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n+# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n+# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n+# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n+# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n+# SUCH DAMAGE.\n+\n+BEGIN {\n+\tsplit(\"N S\", nsa); split(\"E W\", eoa)\n+\tCONVFMT = \"%04.1f\"\n+\tfmt = \"%.8f\"\n+\tepsilon = .00000001\n+}\n+function round(l, n) { return +(+(l \"e+\" n) \"e-\" n) }\n+function l2dms(l, t,\tn, d, m, s) {\n+\tn = t[1+(l<0)]\n+\tif (l < 0) l = -l\n+\td = int(l)\n+\tl -= int(l)\n+\tl *= 60\n+\tm = int(l)\n+\tl -= int(l)\n+\tl *= 60\n+\ts = round(l, 2)\n+\tif (s == 60) { m++; s -= 60 }\n+\treturn d \"\u00b0\" m \"'\" s \"''\" n\n+}\n+function dms2l(n, d, m, s,\tl, t) {\n+\treturn n * (d + (m \/ 60) + (s \/ 3600))\n+}\n+function l2l(l, a, m, n,\ts, o, x, t) {\n+\ts = o = l2dms(l, a)\n+\tx = o ~ m ? n : -n\n+\tgsub(\/[^-.0-9]\/, \" \", o)\n+\tsplit(o, t)\n+\treturn dms2l(x, t[1], t[2], t[3])\n+}\n+\/.\/ {\n+\tns = \/N\/ ? 1 : -1\n+\teo = \/[OW]\/ ? -1 : 1\n+\tgsub(\/[^-.0-9]\/, \" \")\n+\tif (NF != 6) {\n+\t\tnss = l2dms($1, nsa)\n+\t\teos = l2dms($2, eoa)\n+\t\tnsn = l2l($1, nsa, \"N\", 1)\n+\t\teon = l2l($2, eoa, \"[OW]\", -1)\n+\t\tprintf fmt \" \" fmt \"\\n\", nsn, eon\n+\t\tprint nss, eos\n+\t} else {\n+\t\tnsn = dms2l(ns, $1, $2, $3)\n+\t\teon = dms2l(eo, $4, $5, $6)\n+\t\tnss = l2dms(nsn, nsa)\n+\t\teos = l2dms(eon, eoa)\n+\t\tprintf fmt \" \" fmt \"\\n\", nsn, eon\n+\t\tprint nss, eos\n+\t}\n+}\n+\n+# eof\n"}
{"commit":"628a07bcf86c69713e959210ae942b3568661c62","subject":"Added unbundle script for hub4","message":"Added unbundle script for hub4\n\n\ngit-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@1409 94700074-3cef-4d97-a70e-9c8c206c02f5\n","repos":"deepstupid\/sphinx5","returncode":1,"stderr":"error: pathspec 'scripts\/unbundleHub4.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/unbundleHub4.awk\n+++ scripts\/unbundleHub4.awk\n@@ -0,0 +1,83 @@\n+# This is an awk script that will take the hub4 eval99 distribution\n+# and generate a script that will unpack the distribution into a set\n+# of audio and batch files suitable for s4.\n+#\n+\n+BEGIN {\n+    audioCount = 0;\n+    directory = \"\/lab\/speech\/sphinx4\/data\/hub4\/eval99\/supervised\/\";\n+\n+    print \"#!\/bin\/sh\"\n+    print \"#  This Script unbundles the hub4\/eval99 (broadcast news)\"\n+    print \"#  into a set of raw audio and batch files suitable for \"\n+    print \"#  processing by sphinx.\"\n+    print \"#  \"\n+    print \"#  This script is automatically generated by unbundleHub99.awk\"\n+    print \"#  \"\n+    print \"#  \"\n+    print \"#  Create the destination directory\"\n+    print \"mkdir -p \" directory;\n+    print \"rm -rf \" directory \"\/*\";\n+\n+}\n+\n+function displaySummary() {\n+    print \"========================\";\n+    print \"Sphere   : \"  sphereName;\n+    print \"Audio    : \" audioName;\n+    print \"Speaker  : \"  speaker;\n+    print \"start    : \"  startTime;\n+    print \"end      : \"  endTime;\n+    print \"duration : \" duration;\n+    print \"class    : \" speechClass;\n+    print \"sox cmd  : \" soxCommand;\n+    print \"xcrpt    : \" transcript;\n+}\n+\n+function outputCommands() {\n+    print \"\";\n+    print \"\";\n+    print \"echo Processing\" audioName \n+    print soxCommand;\n+    print \"echo \" audioName \" \" transcript \" >> \" batchName;\n+    print \"echo \" audioName \" \" transcript \" >> \" allBatch;\n+}\n+\n+function isGoodUtterance() {\n+    return speechClass != \"\";\n+}\n+\n+$1 != \";;\"  {\n+    audioCount++;\n+    source = $1;\n+    sphereName = $1 \".sph\";\n+    speaker = $3;\n+    startTime = $4;\n+    endTime = $5\n+    duration = endTime - startTime;\n+    info = $6;\n+\n+    split(info, infoArray, \",\");\n+    speechClass = infoArray[2];\n+    transcript = \"\";\n+    for (i = 7; i <= NF; i++) {\n+        # markup is in parans, so drop that.\n+        if (index($i, \"(\")  == 0) {\n+            transcript = transcript \" \" $i;\n+        }\n+    }\n+\n+\n+    audioName = directory source \".\" audioCount \".\" speechClass \".raw\";\n+    batchName = directory speechClass \"_hub4.batch\"\n+    allBatch = directory \"all_hub4.batch\"\n+\n+    soxCommand =  \"sox \" sphereName \" -r 16000 -s -w \" audioName  \\\n+        \" trim \" startTime \" \" duration\n+\n+\n+    if (isGoodUtterance()) {\n+        outputCommands();\n+    }\n+    # displaySummary();\n+}\n"}
{"commit":"12c193b1baecb02a78c885ec493f7977ec4a5f0e","subject":"Created an AWK script to generate pipe separate keyword list","message":"Created an AWK script to generate pipe separate keyword list\n","repos":"rmtiwari\/ABAPSyntaxHighlighter,rmtiwari\/ABAPSyntaxHighlighter","returncode":1,"stderr":"error: pathspec 'SupportDocs\/keywordPipeGenerator.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- SupportDocs\/keywordPipeGenerator.awk\n+++ SupportDocs\/keywordPipeGenerator.awk\n@@ -0,0 +1 @@\n+{ printf \"%s|\", $0}\n"}
{"commit":"77bbdad49ce646f671ba2fce42f4c569805e5f5e","subject":"Awk version of makeobjops.PL. Note the invocation ordering is slightly different: \tawk -f makeobjops.awk foo.m -ch","message":"Awk version of makeobjops.PL.\nNote the invocation ordering is slightly different:\n\tawk -f makeobjops.awk foo.m -ch\n\nSubmitted by:\tOliver Fromme <olli@fromme.com>\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":1,"stderr":"error: pathspec 'sys\/tools\/makeobjops.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/makeobjops.awk\n+++ sys\/tools\/makeobjops.awk\n@@ -0,0 +1,485 @@\n+#!\/usr\/bin\/awk -f\n+#\n+# Copyright (c) 1992, 1993\n+#        The Regents of the University of California.  All rights reserved.\n+#\n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions\n+# are met:\n+# 1. Redistributions of source code must retain the above copyright\n+#    notice, this list of conditions and the following disclaimer.\n+# 2. Redistributions in binary form must reproduce the above copyright\n+#    notice, this list of conditions and the following disclaimer in the\n+#    documentation and\/or other materials provided with the distribution.\n+# 3. All advertising materials mentioning features or use of this software\n+#    must display the following acknowledgement:\n+#        This product includes software developed by the University of\n+#        California, Berkeley and its contributors.\n+# 4. Neither the name of the University nor the names of its contributors\n+#    may be used to endorse or promote products derived from this software\n+#    without specific prior written permission.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n+# SUCH DAMAGE.\n+#\n+# From @(#)vnode_if.sh        8.1 (Berkeley) 6\/10\/93\n+# From @(#)makedevops.sh 1.1 1998\/06\/14 13:53:12 dfr Exp $\n+# From @(#)makedevops.sh ?.? 1998\/10\/05\n+# From src\/sys\/kern\/makedevops.pl,v 1.12 1999\/11\/22 14:40:04 n_hibma Exp\n+# From src\/sys\/kern\/makeobjops.pl,v 1.8 2001\/11\/16 02:02:42 joe Exp\n+#\n+# $FreeBSD$\n+\n+#\n+#   Script to produce kobj front-end sugar.\n+#\n+\n+function usage ()\n+{\n+\tprint \"usage: makeobjops.awk <srcfile.m> [-d] [-p] [-l <nr>] [-c|-h]\";\n+\tprint \"where -c   produce only .c files\";\n+\tprint \"      -h   produce only .h files\";\n+\tprint \"      -p   use the path component in the source file for destination dir\";\n+\tprint \"      -l   set line width for output files [80]\";\n+\tprint \"      -d   switch on debugging\";\n+\texit 1;\n+}\n+\n+function warn (msg)\n+{\n+\tprint \"makeobjops.awk:\", msg > \"\/dev\/stderr\";\n+}\n+\n+function warnsrc (msg)\n+{\n+\twarn(src \":\" lineno \": \" msg);\n+}\n+\n+function debug (msg)\n+{\n+\tif (opt_d)\n+\t\twarn(msg);\n+}\n+\n+function die (msg)\n+{\n+\twarn(msg);\n+\texit 1;\n+}\n+\n+#   These are just for convenience ...\n+function printc(s) {if (opt_c) print s > ctmpfilename;}\n+function printh(s) {if (opt_h) print s > htmpfilename;}\n+\n+#\n+#   If a line exceeds maxlength, split it into multiple\n+#   lines at commas.  Subsequent lines are indented by\n+#   the specified number of spaces.\n+#\n+#   In other words:  Lines are split by replacing \", \"\n+#   by \",\\n\" plus indent spaces.\n+#\n+\n+function format_line (line, maxlength, indent)\n+{\n+\trline = \"\";\n+\n+\twhile (length(line) > maxlength) {\n+\t\t#\n+\t\t#   Find the rightmost \", \" so that the part\n+\t\t#   to the left of it is just within maxlength.\n+\t\t#   If there is none, give up and leave it as-is.\n+\t\t#\n+\t\tif (!match(substr(line, 1, maxlength + 1), \/^.*, \/))\n+\t\t\tbreak;\n+\t\trline = rline substr(line, 1, RLENGTH - 1) \"\\n\";\n+\t\tline = sprintf(\"%*s\", indent, \"\") substr(line, RLENGTH + 1);\n+\t}\n+\treturn rline line;\n+}\n+\n+#\n+#   Join an array into a string.\n+#\n+\n+function join (separator, array, num)\n+{\n+\t_result = \"\"\n+\tif (num) {\n+\t\twhile (num > 1)\n+\t\t\t_result = separator array[num--] _result;\n+\t\t_result = array[1] _result;\n+\t}\n+\treturn _result;\n+}\n+\n+#\n+#   Execute a system command and report if it failed.\n+#\n+\n+function system_check (cmd)\n+{\n+\tif ((rc = system(cmd)))\n+\t\twarn(cmd \" failed (\" rc \")\");\n+}\n+\n+#\n+#   Handle \"INTERFACE\" line.\n+#\n+\n+function handle_interface ()\n+{\n+\tintname = $2;\n+\tsub(\/;$\/, \"\", intname);\n+\tif (intname !~ \/^[a-z_][a-z0-9_]*$\/) {\n+\t\tdebug($0);\n+\t\twarnsrc(\"Invalid interface name '\" intname \"', use [a-z_][a-z0-9_]*\");\n+\t\terror = 1;\n+\t\treturn;\n+\t}\n+\tif (!\/;[ \t]*$\/)\n+\t\twarnsrc(\"Semicolon missing at end of line, no problem\");\n+\n+\tdebug(\"Interface \" intname);\n+\n+\tprinth(\"#ifndef _\" intname \"_if_h_\");\n+\tprinth(\"#define _\" intname \"_if_h_\\n\");\n+\tprintc(\"#include \\\"\" intname \"_if.h\\\"\\n\");\n+}\n+\n+#\n+#   Handle \"CODE\" and \"HEADER\" sections.\n+#   Returns the code as-is.\n+#\n+\n+function handle_code ()\n+{\n+\tcode = \"\\n\";\n+\tgetline < src;\n+\tindent = $0;\n+\tsub(\/[^\t ].*$\/, \"\", indent);\t# find the indent used\n+\twhile (!\/^}\/) {\n+\t\tsub(\"^\" indent, \"\");\t# remove the indent\n+\t\tcode = code $0 \"\\n\";\n+\t\tgetline < src;\n+\t\tlineno++;;\n+\t}\n+\treturn code;\n+}\n+\n+#\n+#   Handle \"METHOD\" and \"STATICMETHOD\" sections.\n+#\n+\n+function handle_method (static)\n+{\n+\t#\n+\t#   Get the return type and function name and delete that from\n+\t#   the line. What is left is the possibly first function argument\n+\t#   if it is on the same line.\n+\t#\n+\tif (!intname) {\n+\t\twarnsrc(\"No interface name defined\");\n+\t\terror = 1;\n+\t\treturn;\n+\t}\n+\tsub(\/^[^ \t]+[ \t]+\/, \"\");\n+\tret = $0;\n+\tsub(\/[ \t]*\\{.*$\/, \"\", ret);\n+\tname = ret;\n+\tsub(\/^.*[ \t]\/, \"\", name);\t# last element is name of method\n+\tsub(\/[ \t]+[^ \t]+$\/, \"\", ret);\t# return type\n+\tdebug(\"Method: name=\" name \" return type=\" ret);\n+\n+\tsub(\/^[^\\{]*\\{[\t ]*\/, \"\");\n+\n+\tif (!name || !ret) {\n+\t\tdebug($0);\n+\t\twarnsrc(\"Invalid method specification\");\n+\t\terror = 1;\n+\t\treturn;\n+\t}\n+\n+\tif (name !~ \/^[a-z_][a-z_0-9]*$\/) {\n+\t\twarnsrc(\"Invalid method name '\" name \"', use [a-z_][a-z0-9_]*\");\n+\t\terror = 1;\n+\t\treturn;\n+\t}\n+\n+\tif (methods[name]) {\n+\t\twarnsrc(\"Duplicate method name\");\n+\t\terror = 1;\n+\t\treturn;\n+\t}\n+\tmethods[name] = name;\n+\n+\tline = $0;\n+\twhile (line !~ \/\\}\/ && (getline < src) > 0) {\n+\t\tline = line \" \" $0;\n+\t\tlineno++\n+\t}\n+\n+\tdefault = \"\";\n+\tif (!match(line, \/\\};?\/)) {\n+\t\twarnsrc(\"Premature end of file\");\n+\t\terror = 1;\n+\t\treturn;\n+\t}\n+\textra = substr(line, RSTART + RLENGTH);\n+\tif (extra ~ \/[\t ]*DEFAULT[ \t]*[a-zA-Z_][a-zA-Z_0-9]*[ \t]*;\/) {\n+\t\tdefault = extra;\n+\t\tsub(\/.*DEFAULT[\t ]*\/, \"\", default);\n+\t\tsub(\/[; \t]+.*$\/, \"\", default);\n+\t}\n+\telse if (extra && opt_d) {\n+\t\t#   Warn about garbage at end of line.\n+\t\twarnsrc(\"Ignored '\" extra \"'\");\n+\t}\n+\tsub(\/\\};?.*$\/, \"\", line);\n+\n+\t#\n+\t#   Create a list of variables without the types prepended.\n+\t#\n+\tsub(\/^[\t ]+\/, \"\", line);\t# remove leading ...\n+\tsub(\/[ \t]+$\/, \"\", line);\t# ... and trailing whitespace\n+\tgsub(\/[\t ]+\/, \" \", line);\t# remove double spaces\n+\n+\tnum_arguments = split(line, arguments, \/ *; *\/) - 1;\n+\tdelete varnames;\t\t# list of varnames\n+\tnum_varnames = 0;\n+\tfor (i = 1; i <= num_arguments; i++) {\n+\t\tif (!arguments[i])\n+\t\t\tcontinue;\t# skip argument if argument is empty\n+\t\tnum_ar = split(arguments[i], ar, \/[* \t]+\/);\n+\t\tif (num_ar < 2) {\t# only 1 word in argument?\n+\t\t\twarnsrc(\"no type for '\" arguments[i] \"'\");\n+\t\t\terror = 1;\n+\t\t\treturn;\n+\t\t}\n+\t\t#   Last element is name of variable.\n+\t\tvarnames[++num_varnames] = ar[num_ar];\n+\t}\n+\n+\targument_list = join(\", \", arguments, num_arguments);\n+\tvarname_list = join(\", \", varnames, num_varnames);\n+\n+\tif (opt_d) {\n+\t\twarn(\"Arguments: \" argument_list);\n+\t\twarn(\"Varnames: \" varname_list);\n+\t}\n+\n+\tmname = intname \"_\" name;\t# method name\n+\tumname = toupper(mname);\t# uppercase method name\n+\n+\tfirstvar = varnames[1];\n+\n+\tif (default == \"\")\n+\t\tdefault = \"0\";\n+\n+\t# the method description \n+\tprinth(\"extern struct kobjop_desc \" mname \"_desc;\");\n+\t# the method typedef\n+\tprototype = \"typedef \" ret \" \" mname \"_t(\";\n+\tprinth(format_line(prototype argument_list \");\",\n+\t    line_width, length(prototype)));\n+\n+\t# Print out the method desc\n+\tprintc(\"struct kobjop_desc \" mname \"_desc = {\");\n+\tprintc(\"\\t0, (kobjop_t) \" default);\n+\tprintc(\"};\\n\");\n+\n+\t# Print out the method itself\n+\tif (0) {\t\t# haven't chosen the format yet\n+\t\tprinth(\"static __inline \" ret \" \" umname \"(\" varname_list \")\");\n+\t\tprinth(\"\\t\" join(\";\\n\\t\", arguments, num_arguments) \";\");\n+\t}\n+\telse {\n+\t\tprototype = \"static __inline \" ret \" \" umname \"(\";\n+\t\tprinth(format_line(prototype argument_list \")\",\n+\t\t    line_width, length(prototype)));\n+\t}\n+\tprinth(\"{\");\n+\tprinth(\"\\tkobjop_t _m;\");\n+\tif (!static)\n+\t\tfirstvar = \"((kobj_t)\" firstvar \")\";\n+\tprinth(\"\\tKOBJOPLOOKUP(\" firstvar \"->ops,\" mname \");\");\n+\tretrn =  (ret != \"void\") ? \"return \" : \"\";\n+\tprinth(\"\\t\" retrn \"((\" mname \"_t *) _m)(\" varname_list \");\");\n+\tprinth(\"}\\n\");\n+}\n+\n+#\n+#   Begin of the main program.\n+#\n+\n+BEGIN {\n+\n+line_width = 80;\n+gerror = 0;\n+\n+#\n+#   Process the command line.\n+#\n+\n+num_files = 0;\n+\n+for (i = 1; i < ARGC; i++) {\n+\tif (ARGV[i] ~ \/^-\/) {\n+\t\t#\n+\t\t#   awk doesn't have getopt(), so we have to do it ourselves.\n+\t\t#   This is a bit clumsy, but it works.\n+\t\t#\n+\t\tfor (j = 2; j <= length(ARGV[i]); j++) {\n+\t\t\to = substr(ARGV[i], j, 1);\n+\t\t\tif\t(o == \"c\")\topt_c = 1;\n+\t\t\telse if\t(o == \"h\")\topt_h = 1;\n+\t\t\telse if\t(o == \"p\")\topt_p = 1;\n+\t\t\telse if\t(o == \"d\")\topt_d = 1;\n+\t\t\telse if\t(o == \"l\") {\n+\t\t\t\tif (length(ARGV[i]) > j) {\n+\t\t\t\t\topt_l = substr(ARGV[i], j + 1);\n+\t\t\t\t\tbreak;\n+\t\t\t\t}\n+\t\t\t\telse {\n+\t\t\t\t\tif (++i < ARGC)\n+\t\t\t\t\t\topt_l = ARGV[i];\n+\t\t\t\t\telse\n+\t\t\t\t\t\tusage();\n+\t\t\t\t}\n+\t\t\t}\n+\t\t\telse\n+\t\t\t\tusage();\n+\t\t}\n+\t}\n+\telse if (ARGV[i] ~ \/\\.m$\/)\n+\t\tfilenames[num_files++] = ARGV[i];\n+\telse\n+\t\tusage();\n+}\n+\n+if (!num_files || !(opt_c || opt_h))\n+\tusage();\n+\n+if (opt_p)\n+\tdebug(\"Will produce files in original not in current directory\");\n+\n+if (opt_l) {\n+\tif (opt_l !~ \/^[0-9]+$\/ || opt_l < 1)\n+\t\tdie(\"Invalid line width '\" opt_l \"'\");\n+\tline_width = opt_l;\n+\tdebug(\"Line width set to \" line_width);\n+}\n+\n+for (i = 0; i < num_files; i++)\n+\tdebug(\"Filename: \" filenames[i]);\n+\n+for (file_i = 0; file_i < num_files; file_i++) {\n+\tsrc = filenames[file_i];\n+\tcfilename = hfilename = src;\n+\tsub(\/\\.m$\/, \".c\", cfilename);\n+\tsub(\/\\.m$\/, \".h\", hfilename);\n+\tif (!opt_p) {\n+\t\tsub(\/^.*\\\/\/, \"\", cfilename);\n+\t\tsub(\/^.*\\\/\/, \"\", hfilename);\n+\t}\n+\n+\tdebug(\"Processing from \" src \" to \" cfilename \" \/ \" hfilename);\n+\n+\tctmpfilename = cfilename \".tmp\";\n+\thtmpfilename = hfilename \".tmp\";\n+\n+\tcommon_head = \\\n+\t    \"\/*\\n\" \\\n+\t    \" * This file is produced automatically.\\n\" \\\n+\t    \" * Do not modify anything in here by hand.\\n\" \\\n+\t    \" *\\n\" \\\n+\t    \" * Created from source file\\n\" \\\n+\t    \" *   \" src \"\\n\" \\\n+\t    \" * with\\n\" \\\n+\t    \" *   makeobjops.awk\\n\" \\\n+\t    \" *\\n\" \\\n+\t    \" * See the source file for legal information\\n\" \\\n+\t    \" *\/\\n\";\n+\n+\tprintc(common_head \"\\n\" \\\n+\t    \"#include <sys\/param.h>\\n\" \\\n+\t    \"#include <sys\/queue.h>\\n\" \\\n+\t    \"#include <sys\/kernel.h>\\n\" \\\n+\t    \"#include <sys\/kobj.h>\");\n+\n+\tprinth(common_head);\n+\n+\tdelete methods;\t\t# clear list of methods\n+\tintname = \"\";\n+\tlineno = 0;\n+\terror = 0;\t\t# to signal clean up and gerror setting\n+\n+\twhile (!error && (getline < src) > 0) {\n+\t\tlineno++;\n+\n+\t\t#\n+\t\t#   Take special notice of include directives.\n+\t\t#\n+\t\tif (\/^#[ \t]*include[ \t]+[\"<][^\">]+[\">]\/) {\n+\t\t\tincld = $0;\n+\t\t\tsub(\/^#[ \t]*include[ \t]+\/, \"\", incld);\n+\t\t\tdebug(\"Included file: \" incld);\n+\t\t\tprintc(\"#include \" incld);\n+\t\t}\n+\n+\t\tsub(\/#.*\/, \"\");\t\t# remove comments\n+\t\tsub(\/^[\t ]+\/, \"\");\t# remove leading ...\n+\t\tsub(\/[ \t]+$\/, \"\");\t# ... and trailing whitespace\n+\n+\t\tif (\/^$\/) {\t\t# skip empty lines\n+\t\t}\n+\t\telse if (\/^INTERFACE[ \t]+[^ \t;]*[ \t]*;?[ \t]*$\/)\n+\t\t\thandle_interface();\n+\t\telse if (\/^CODE[ \t]*{$\/)\n+\t\t\tprintc(handle_code());\n+\t\telse if (\/^HEADER[\t ]*{$\/)\n+\t\t\tprinth(handle_code());\n+\t\telse if (\/^METHOD\/)\n+\t\t\thandle_method(0);\n+\t\telse if (\/^STATICMETHOD\/)\n+\t\t\thandle_method(1);\n+\t\telse {\n+\t\t\tdebug($0);\n+\t\t\twarnsrc(\"Invalid line encountered\");\n+\t\t\terror = 1;\n+\t\t}\n+\t}\n+\n+\t#\n+\t#   Print the final '#endif' in the header file.\n+\t#\n+\tprinth(\"#endif \/* _\" intname \"_if_h_ *\/\");\n+\n+\tclose (ctmpfilename);\n+\tclose (htmpfilename);\n+\n+\tif (error) {\n+\t\twarn(\"Output skipped\");\n+\t\tsystem_check(\"rm -f \" ctmpfilename \" \" htmpfilename);\n+\t\tgerror = 1;\n+\t}\n+\telse {\n+\t\tif (opt_c)\n+\t\t\tsystem_check(\"mv \" ctmpfilename \" \" cfilename);\n+\t\tif (opt_h)\n+\t\t\tsystem_check(\"mv \" htmpfilename \" \" hfilename);\n+\t}\n+}\n+\n+exit gerror;\n+\n+}\n"}
{"commit":"2dc6ee63574c58e0c072d094473ba0d64afed1e0","subject":"Add script to convert old submission format to new format.","message":"Add script to convert old submission format to new format.\n","repos":"myfavouritekk\/TPN","returncode":1,"stderr":"error: pathspec 'tools\/data\/submission_old_to_new.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tools\/data\/submission_old_to_new.awk\n+++ tools\/data\/submission_old_to_new.awk\n@@ -0,0 +1,9 @@\n+#!\/usr\/bin\/env awk -f\n+\n+{\n+    for (i = 1; i <= NF; i++) {\n+        if (i == 3) printf \"-1 \";\n+        printf $i\" \"\n+    }\n+    printf \"\\n\"\n+}"}
{"commit":"75c2d0f3ce099b4d33fd6406a5f10656f5893673","subject":"add httpd.awk for http test","message":"add httpd.awk for http test\n","repos":"DQNEO\/dotfiles,DQNEO\/dotfiles,DQNEO\/dotfiles","returncode":1,"stderr":"error: pathspec 'httpd.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- httpd.awk\n+++ httpd.awk\n@@ -0,0 +1,18 @@\n+#!\/usr\/bin\/gawk -f\n+# httpd.awk\n+# original from http:\/\/dqn.sakusakutto.jp\/2013\/08\/awk_http_server.html\n+BEGIN {\n+    port = \"8080\";\n+    http_service = \"\/inet\/tcp\/\" port \"\/0\/0\";\n+    RS = ORS = \"\\r\\n\";\n+\n+    for (;;) {\n+        if ((http_service |& getline) > 0) {\n+            print \"HTTP\/1.x 200 OK\"         |& http_service;\n+            print \"Content-type: text\/html\" |& http_service;\n+            print \"\"                        |& http_service;\n+            print \"<h1>Hello, world!<\/h1>\"  |& http_service;\n+        }\n+        close(http_service);\n+    }\n+}\n"}
{"commit":"44e5968ffc34508e05229caf40bede7e8440ffa3","subject":"Modify script to get is all sorted out.","message":"Modify script to get is all sorted out.\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon","returncode":1,"stderr":"error: pathspec 'scripts\/tdb\/statuses_gln_auids.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_gln_auids.awk\n+++ scripts\/tdb\/statuses_gln_auids.awk\n@@ -0,0 +1,117 @@\n+#!\/usr\/bin\/awk -f\n+#tdbout -t publisher,plugin,publisher:info[tester],status,year *.tdb \n+#           #1        #2      #3                     #4    #5\n+#tdbout -t publisher,plugin,auid,publisher:info[tester],status,year *.tdb \n+#           #1        #2      #3   #4                     #5     #6  \n+\n+BEGIN {\n+  FS=\"\\t\"\n+  pn = 0\n+    #str = \"date +%m-%d-%Y\";\n+    #str | getline date;\n+    #close str;\n+}\n+\n+{\n+  # add a loop to add line only if either [status is _not_ manifest] OR [journal_year (or journal end year) is gt or eq to 2010 && journal year (or journal end year) is lt or eq to the current year we are testing]\n+  current_year = 2016\n+  end_year = 0\n+  incontract = 0\n+  test_year = \"\"\n+  test_year = 2010\n+  if (length($6) > 3) {\n+    end_year = substr($6,length($6)-3,4)\n+  }\n+  #printf \"%s\\n\", $0\n+  if (($5 != \"manifest\") || ((end_year >= test_year) && (end_year <= current_year))) {\n+    incontract = 1\n+  }\n+\n+  if (incontract == 1) {\n+    #split up the plugin. nn=number of fields. na is the name of the array.\n+    nn = split($2,na,\/\\.\/)\n+    #save the last element into 1p2.\n+    lp2 = na[nn]\n+    p[pn] = $1        #publisher\n+    n[pn] = lp2       #plugin\n+    auid[pn] = $3     #auid\n+    status[pn] = $5   #status\n+    r[pn] = $4        #tester\n+    if (r[pn] == \"\") {\n+      if ((substr(p[pn],1,2) <= \"Mz\")) {\n+        r[pn] = \"5\"\n+      } else if (substr(p[pn],1,2) >= \"NA\") {\n+        r[pn] = \"8\"\n+      }\n+    }\n+    pn++\n+    x[$5]++\n+    tt++\n+  }\n+}\n+\n+END {\n+  s[0] = \"expected\"\n+  s[1] = \"exists\"\n+  s[2] = \"manifest\"\n+  s[3] = \"wanted\"\n+  s[4] = \"testing\"\n+  s[5] = \"notReady\"\n+  s[6] = \"ready\"\n+  s[7] = \"released\"\n+  s[8] = \"down\"\n+  s[9] = \"superseded\"\n+  s[10] = \"doNotProcess\"\n+  s[11] = \"doesNotExist\"\n+  sn = 12\n+  \n+  sc[0] = \"expe\"\n+  sc[1] = \"exis\"\n+  sc[2] = \"mani\"\n+  sc[3] = \"want\"\n+  sc[4] = \"test\"\n+  sc[5] = \"notR\"\n+  sc[6] = \"read\"\n+  sc[7] = \"rele\"\n+  sc[8] = \"down\"\n+  sc[9] = \"supe\"\n+  sc[10] = \"doNP\"\n+  sc[11] = \"dNoE\"\n+  scn = 12\n+\n+  #print out header\n+  printf \"Publisher\\tPlugin\\tAUid\\tT\\tTotal\\tStatus\"\n+  #for (j = 0 ; j < scn ; j++) {\n+  #  if (x[s[j]] > 0) {\n+  #  printf \"\\t%s\", sc[j]\n+  #  }\n+  #}\n+  printf \"\\n\"\n+\n+  #print out publisher, plugin, auid, tester, status\n+  for (i = 0 ; i < pn ; i++) {\n+    printf \"%s\\t%s\\t%s\\t%s\\t1\", p[i], n[i], auid[i], r[i], status[i]\n+    #for (j = 0 ; j < sn ; j++) {\n+    #  if (x[s[j]] > 0){\n+#   #   if (status[i] == 0) {\n+    #  printf \"\\t..\" \n+    #} else {\n+    #    printf \"1\"\n+    #  }\n+    #}\n+#    }\n+    printf \"\\n\"\n+  }\n+    #print out bottom line sums\n+    printf \"Publisher\\tPlugin\\tAUid\\tT\\t%d\", tt\n+    for (j = 0 ; j < sn ; j++) {\n+      if (x[s[j]] > 0) {\n+        printf \"\\t%d\", x[s[j]]\n+      }\n+    }\n+\n+  printf \"\\n\"\n+  #printf \"%s\", date\n+  #printf \"\\n\"\n+}\n+\n"}
{"commit":"a3d9bb278deba69723ad6496f1a0f90fd5717017","subject":"Add crosscheck of EPISODES with SEASONS","message":"Add crosscheck of EPISODES with SEASONS\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'verifyBBoxInfoFrom-webscraper.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- verifyBBoxInfoFrom-webscraper.awk\n+++ verifyBBoxInfoFrom-webscraper.awk\n@@ -0,0 +1,45 @@\n+# WebScraper has problems getting incomplete data.\n+#\n+# Crosscheck the info in EPISODES with the info in SEASONS. Count up episodes\n+# and compare with the number of episodes listed in the seasons file.\n+\n+# For now these seem more likely a problem in scraping SEASONS than EPISODES\n+# so it could be these are false positives in generating spreadsheets. \n+# Problems listed in BBox_anomalies files are more likely to be real.\n+\n+# INVOCATION\n+#    awk -f verifyBBoxInfoFrom-webscraper.awk BBox_episodeInfo-180421.123042.txt\n+\n+\/ movie \/ {\n+    title = $3\n+    numEpisodes = $5\n+    if (numEpisodes == 0)\n+        print\n+}\n+\n+\/ show \/ {\n+    numShows += 1\n+    showTitle[numShows] = $3 \n+    shouldHave[numShows] = $5\n+    doesHave[numShows] = 0\n+    if (numEpisodes == 0)\n+        print\n+}\n+\n+\/^         \/ {\n+    epis  = NF-1\n+    if ($epis !~ \/^[[:digit:]]*$\/)\n+        print \"==> Bad input line \" NR \"\\n\" $0\n+    else\n+        doesHave[numShows] += $epis\n+}\n+\n+END {\n+    print \"\"\n+    for ( i = 1; i <= numShows; i++ ) {\n+        if (shouldHave[i] != doesHave[i]) {\n+            print \"==> show  \"showTitle[i] \" has \" doesHave[i] \" instead of \" \\\n+                shouldHave[i] \" episodes.\"\n+        }\n+    }\n+}\n"}
{"commit":"4ccb21d97a017eb34ff01b6e09f1d843e7336050","subject":"changelog: Added AWK script","message":"changelog: Added AWK script\n","repos":"ianhenderson\/simple-git-changelog","returncode":1,"stderr":"error: pathspec 'changelog.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- changelog.awk\n+++ changelog.awk\n@@ -0,0 +1,29 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {\n+\t# Determines whether to print 'Unreleased' banner at top\n+\tUNRELEASED_COMMITS = 1\n+\t# Prefixes that determine whether a commit will be printed\n+\tCHANGELOG_REGEX = \"^(changelog|fix|docs|chore|feat): \"\n+\tFS=\"|\"\n+\twhile (\"git log --pretty='%D|%s|%H'\" | getline) {\n+\t\tIS_GIT_TAG = length($1) && match($1, \/tag:\/)\n+\t\tif (IS_GIT_TAG) {\n+\t\t\tUNRELEASED_COMMITS = 0\n+\t\t\t# Cut out text up to tag\n+\t\t\tsub(\/.*tag: \/, \"\", $1)\n+\t\t\t# Cut out text after tag\n+\t\t\tsub(\/,.*\/, \"\", $1)\n+\t\t\tprint $1 \n+\t\t} else {\n+\t\t\tif ( UNRELEASED_COMMITS ) {\n+\t\t\t\tprint \"Unreleased\"\n+\t\t\t\tUNRELEASED_COMMITS = 0\n+\t\t\t}\n+\t\t\tif ( match($2, CHANGELOG_REGEX) ) {\n+\t\t\t\tsub(CHANGELOG_REGEX, \"\", $2)\n+\t\t\t\tprintf(\"\\t- %s\\n\", $2)\n+\t\t\t}\n+\t\t}\n+\n+\t}\n+}\n"}
{"commit":"cfb9010f555fdba8ee1fa7f8a93fff1c7df88825","subject":"Turn IMDB scrapes into usable data","message":"Turn IMDB scrapes into usable data\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'getFullcastFrom-imdb.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- getFullcastFrom-imdb.awk\n+++ getFullcastFrom-imdb.awk\n@@ -0,0 +1,64 @@\n+BEGIN {\n+    FS = \"\\t\"\n+}\n+\n+{\n+    web_scraper_start_url = $1\n+    Title = $2\n+    Years = $3\n+    Cast = $4\n+    Directors = $5\n+    Writers = $6\n+\n+    if (Cast == \"\" && Directors == \"\" && Writers == \"\")\n+        next\n+\n+    if (NR == 1)\n+        next\n+\n+    if (Cast != \"\") {\n+        gsub (\/[[:blank:]]{3,99}\\(uncredited\\)\/,\" (uncredited)\",Cast)\n+        nflds1 = split (Cast,fld,\/[[:blank:]]{3,99}\/)\n+        type = \"Actor\"\n+        person = fld[1]\n+        role = fld[3]\n+        sub (\/\\302\\240\/,\"\",role)\n+        episodes = fld[4]\n+        nflds2 = split (episodes,fld,\/,\/)\n+        num_episodes = fld[1]\n+        sub (\/ episodes?\/,\"\",num_episodes)\n+        episode_years = fld[2]\n+        sub (\/ \/,\"\",episode_years)\n+    }\n+\n+    if (Directors != \"\") {\n+        nflds1 = split (Directors,fld,\/[[:blank:]]{3,99}\/)\n+        type = \"Director\"\n+        role = \"\"\n+        person = fld[1]\n+        episodes = fld[3]\n+        gsub (\/[()]\/,\"\",episodes)\n+        nflds2 = split (episodes,fld,\/,\/)\n+        num_episodes = fld[1]\n+        sub (\/ episodes?\/,\"\",num_episodes)\n+        episode_years = fld[2]\n+        sub (\/ \/,\"\",episode_years)\n+    }\n+\n+    if (Writers != \"\") {\n+        nflds1 = split (Writers,fld,\/[[:blank:]]{3,99}\/)\n+        type = \"Writer\"\n+        role = \"\"\n+        person = fld[1]\n+        episodes = fld[3]\n+        gsub (\/[()]\/,\"\",episodes)\n+        nflds2 = split (episodes,fld,\/,\/)\n+        num_episodes = fld[1]\n+        sub (\/ episodes?\/,\"\",num_episodes)\n+        episode_years = fld[2]\n+        sub (\/ \/,\"\",episode_years)\n+    }\n+\n+    printf (\"%d - %s %s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",nflds1,Title,Years,person,type,role,num_episodes,episode_years)\n+\n+}\n"}
{"commit":"157b0ab9bbc12ac8f4a5fab1aebd29c4da67a30d","subject":"- added new symsets script","message":"- added new symsets script\n","repos":"openss7\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,openss7\/openss7,0x7678\/openss7,kerr-huang\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7","returncode":1,"stderr":"error: pathspec 'scripts\/symsets.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/symsets.awk\n+++ scripts\/symsets.awk\n@@ -0,0 +1,548 @@\n+#!\/usr\/bin\/awk -f\n+# =============================================================================\n+#\n+# @(#) $RCSfile: symsets.awk,v $ $Name:  $($Revision: 1.1.2.1 $) $Date: 2011-03-17 07:01:22 $\n+#\n+# -----------------------------------------------------------------------------\n+#\n+# Copyright (c) 2008-2011  Monavacon Limited <http:\/\/www.monavacon.com\/>\n+# Copyright (c) 2001-2008  OpenSS7 Corporation <http:\/\/www.openss7.com\/>\n+# Copyright (c) 1997-2001  Brian F. G. Bidulock <bidulock@openss7.org>\n+#\n+# All Rights Reserved.\n+#\n+# This program is free software; you can redistribute it and\/or modify it under\n+# the terms of the GNU Affero General Public License as published by the Free\n+# Software Foundation; version 3 of the License.\n+#\n+# This program is distributed in the hope that it will be useful, but WITHOUT\n+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n+# FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\n+# details.\n+#\n+# You should have received a copy of the GNU Affero General Public License along\n+# with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>, or write to\n+# the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n+#\n+# -----------------------------------------------------------------------------\n+#\n+# U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software on\n+# behalf of the U.S. Government (\"Government\"), the following provisions apply\n+# to you.  If the Software is supplied by the Department of Defense (\"DoD\"), it\n+# is classified as \"Commercial Computer Software\" under paragraph 252.227-7014\n+# of the DoD Supplement to the Federal Acquisition Regulations (\"DFARS\") (or any\n+# successor regulations) and the Government is acquiring only the license rights\n+# granted herein (the license rights customarily provided to non-Government\n+# users).  If the Software is supplied to any unit or agency of the Government\n+# other than DoD, it is classified as \"Restricted Computer Software\" and the\n+# Government's rights in the Software are defined in paragraph 52.227-19 of the\n+# Federal Acquisition Regulations (\"FAR\") (or any successor regulations) or, in\n+# the cases of NASA, in paragraph 18.52.227-86 of the NASA Supplement to the FAR\n+# (or any successor regulations).\n+#\n+# -----------------------------------------------------------------------------\n+#\n+# Commercial licensing and support of this software is available from OpenSS7\n+# Corporation at a fee.  See http:\/\/www.openss7.com\/\n+#\n+# -----------------------------------------------------------------------------\n+#\n+# Last Modified $Date: 2011-03-17 07:01:22 $ by $Author: brian $\n+#\n+# =============================================================================\n+\n+function getline_command(cmd)\n+{\n+    cmd | getline; close(cmd); return $0\n+}\n+function date(format) {\n+    if (format) {\n+\treturn getline_command(\"date +\\\"\" format \"\\\"\")\n+    } else {\n+\treturn getline_command(\"date -uIseconds\")\n+    }\n+}\n+function year()\n+{\n+    return date(\"%Y\")\n+}\n+function allyears(    this, last, sep, result)\n+{\n+    last = year(); sep = \"\"; result = \"\"\n+    for (this = 2009; this <= last; this++) {\n+\tresult = result sep this\n+\tsep = \", \"\n+    }\n+    return result\n+}\n+function print_info(string)\n+{\n+    if (values[\"quiet\"] == 0 && values[\"verbose\"] > 0) {\n+\tprint blu me \": I: \" string std > stderr\n+\twritten[stderr] = 1\n+    }\n+}\n+function print_debug(string)\n+{\n+    if (values[\"debug\"] > 0) {\n+\tprint mag me \": D: \" string std > stderr\n+\twritten[stderr] = 1\n+    }\n+}\n+function print_error(string)\n+{\n+    print red me \": E: \" string std > stderr\n+    written[stderr] = 1\n+}\n+function print_warn(string)\n+{\n+    if (values[\"quiet\"] == 0 || values[\"verbose\"] > 0 || values[\"debug\"] > 0) {\n+\tprint org me \": W: \" string std > stderr\n+\twritten[stderr] = 1\n+    }\n+}\n+function usage(output)\n+{\n+    if (values[\"quiet\"])\n+\treturn\n+    print \"\\\n+symsets:\\n\\\n+  $Id: symsets.awk,v 1.1.2.1 2011-03-17 07:01:22 brian Exp $\\n\\\n+Usage:\\n\\\n+  symsets [options] [INPUT ...]\\n\\\n+  symsets -h\\n\\\n+  symsets -V\\n\\\n+  symsets -C\\\n+\" > output\n+    written[output] = 1\n+}\n+function help(output)\n+{\n+    if (values[\"quiet\"])\n+\treturn\n+    usage(output)\n+    print \"\\\n+Arguments:\\n\\\n+  INPUT ...\\n\\\n+      Module.symvers files for which to generate symsets\\n\\\n+      [default: \" defaults[\"inputs\"] \"] {\" environs[\"inputs\"] \"}\\n\\\n+Options:\\n\\\n+  -s, --suse\\n\\\n+      output symsets in SuSE format\\n\\\n+  -r, --redhat\\n\\\n+      output symsets in RedHat format (default)\\n\\\n+  -k, --kversion KVERSION\\n\\\n+      kernel version KVERSION\\n\\\n+      [default: \" defaults[\"kversion\"] \"] {\" environs[\"kversion\"] \"}\\n\\\n+  -I, --inputs INPUTS\\n\\\n+      input Module.symvers files (space separated)\\n\\\n+      [default: \" defaults[\"inputs\"] \"] {\" environs[\"inputs\"] \"}\\n\\\n+  -o, --outfile OUTFILE\\n\\\n+      output file name OUTFILE\\n\\\n+      [default: \" defaults[\"outfile\"] \"] {\" environs[\"outfile\"] \"}\\n\\\n+  -n, --dryrun, --dry-run\\n\\\n+      don't perform the actions, just check them\\n\\\n+  -q, --quiet, --silent\\n\\\n+      suppress normal output\\n\\\n+  -D, --debug[=LEVEL]\\n\\\n+      increase or set debug level\\n\\\n+      [default: \" defaults[\"debug\"] \"]\\n\\\n+  -v, --verbose[=LEVEL]\\n\\\n+      increase or set verbosity level\\n\\\n+      [default: \" defaults[\"verbose\"] \"]\\n\\\n+  -h, --help\\n\\\n+      display this usage information and exit\\n\\\n+  -V, --version\\n\\\n+      display script version and exit\\n\\\n+  -C, --copying\\n\\\n+      display copying permissions and exit\\n\\\n+\" > output\n+    written[output] = 1\n+}\n+function version(output)\n+{\n+    if (values[\"quiet\"])\n+\treturn\n+    print \"\\\n+Version 2.1\\n\\\n+$Id: symsets.awk,v 1.1.2.1 2011-03-17 07:01:22 brian Exp $\\n\\\n+Copyright (c) 2008, \" allyears() \"  Monavacon Limited.\\n\\\n+Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008  OpenSS7 Corporation.\\n\\\n+Copyright (c) 1997, 1998, 1999, 2000, 2001  Brian F. G. Bidulock.\\n\\\n+\\n\\\n+All Rights Reserved.\\n\\\n+\\n\\\n+This is free software; see the source for copying conditions.  There is NO\\n\\\n+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\\n\\\n+\\n\\\n+Distributed by OpenSS7 under GNU Affero General Public License Version 3,\\n\\\n+with conditions, incorporated herein by reference.\\n\\\n+\\n\\\n+See \" me \" -- --copying' for copying permissions.\\\n+\" > output\n+    written[output] = 1\n+}\n+function copying(output)\n+{\n+    if (values[\"quiet\"])\n+\treturn\n+    print \"\\\n+--------------------------------------------------------------------------------\\n\\\n+$Id: symsets.awk,v 1.1.2.1 2011-03-17 07:01:22 brian Exp $\\n\\\n+--------------------------------------------------------------------------------\\n\\\n+Copyright (c) 2008, \" allyears() \"  Monavacon Limited.\\n\\\n+Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008  OpenSS7 Corporation.\\n\\\n+Copyright (c) 1997, 1998, 1999, 2000, 2001  Brian F. G. Bidulock.\\n\\\n+\\n\\\n+All Rights Reserved.\\n\\\n+--------------------------------------------------------------------------------\\n\\\n+This program is free software; you can  redistribute  it and\/or modify  it under\\n\\\n+the terms  of the  GNU  Affero General Public  License as published  by the Free\\n\\\n+Software Foundation; version 3 of the License.\\n\\\n+\\n\\\n+This program is distributed in the hope that it will  be useful, but WITHOUT ANY\\n\\\n+WARRANTY; without even  the implied warranty of MERCHANTABILITY or FITNESS FOR A\\n\\\n+PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.\\n\\\n+\\n\\\n+You should have received a copy of the  GNU Affero General Public License  along\\n\\\n+with this program.   If not, see <http:\/\/www.gnu.org\/licenses\/>, or write to the\\n\\\n+Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\\n\\\n+--------------------------------------------------------------------------------\\n\\\n+U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software on behalf\\n\\\n+of the U.S. Government (\\\"Government\\\"), the following provisions apply to you. If\\n\\\n+the Software is supplied by the  Department of Defense (\\\"DoD\\\"), it is classified\\n\\\n+as \\\"Commercial  Computer  Software\\\"  under  paragraph  252.227-7014  of the  DoD\\n\\\n+Supplement  to the  Federal Acquisition Regulations  (\\\"DFARS\\\") (or any successor\\n\\\n+regulations) and the  Government  is acquiring  only the  license rights granted\\n\\\n+herein (the license rights customarily provided to non-Government users). If the\\n\\\n+Software is supplied to any unit or agency of the Government  other than DoD, it\\n\\\n+is  classified as  \\\"Restricted Computer Software\\\" and the Government's rights in\\n\\\n+the Software  are defined  in  paragraph 52.227-19  of the  Federal  Acquisition\\n\\\n+Regulations (\\\"FAR\\\")  (or any successor regulations) or, in the cases of NASA, in\\n\\\n+paragraph  18.52.227-86 of  the  NASA  Supplement  to the FAR (or any  successor\\n\\\n+regulations).\\n\\\n+--------------------------------------------------------------------------------\\n\\\n+Commercial  licensing  and  support of this  software is  available from OpenSS7\\n\\\n+Corporation at a fee.  See http:\/\/www.openss7.com\/\\n\\\n+--------------------------------------------------------------------------------\\\n+\" > output\n+    written[output] = 1\n+}\n+function getopt_long(argc, argv, optstring, longopts, longindex,    pos, needarg, wantarg)\n+{\n+    option = \"\"; optval = \"\"; optarg = \"\"; pos = 0; needarg = 0; wantarg = 0\n+    if (optind == 0) { optind = 1; more = \"\" }\n+    while ((optind < argc) || (more != \"\")) {\n+\tif (more) { arg = \"-\" more; more = \"\" }\n+\telse { arg = argv[optind]; optind++ }\n+\tif (arg ~ \/^--?[a-zA-Z0-9]\/) {\n+\t    if (needarg) {\n+\t\tprint_error(\"option -\" optval \" requires an argument\")\n+\t\tusage(stderr)\n+\t\texit 2\n+\t    }\n+\t    if (wantarg) {\n+\t\tmore = substr(arg, 2)\n+\t\treturn optval\n+\t    }\n+\t    if (arg ~ \/^--[a-zA-Z0-9][-_a-zA-Z0-9]*=.*$\/) {\n+\t\toption = arg; sub(\/^--\/, \"\", option); sub(\/=.*$\/, \"\", option)\n+\t\toptarg = arg; sub(\/^--([a-zA-Z0-9][-_a-zA-Z0-9]*)=\/, \"\", optarg)\n+\t\tif (!(option in longopts)) {\n+\t\t    print_error(\"option --\" option \" not recognized\")\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\tif (longopts[option] !~ \/:\/) {\n+\t\t    print_error(\"option --\" option \" does not take an argument\")\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\toptval = substr(longopts[option], 1, 1)\n+\t\treturn optval\n+\t    }\n+\t    if (arg ~ \/^--[a-zA-Z0-9][-_a-zA-Z0-9]*$\/) {\n+\t\toption = arg; sub(\/^--\/, \"\", option)\n+\t\tif (!(option in longopts)) {\n+\t\t    print_error(\"option --\" option \" not recognized\")\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\tif (longopts[option] ~ \/::\/) { wantarg = 1 } else\n+\t\tif (longopts[option] ~ \/:\/ ) { needarg = 1 }\n+\t\toptval = substr(longopts[option], 1, 1)\n+\t\tfor (option in longopts)\n+\t\t    if (substr(longopts[option], 1, 1) == optval)\n+\t\t\tbreak\n+\t\tif (!needarg && !wantarg)\n+\t\t    return optval\n+\t\tcontinue\n+\t    }\n+\t    if (arg ~ \/^-[a-zA-Z0-9]\/) {\n+\t\toptval = substr(arg, 2, 1)\n+\t\tpos = index(optstring, optval)\n+\t\tif (pos == 0) {\n+\t\t    print_error(\"option -\" optval \" not recognized\")\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\tif (substr(optstring, pos+1, 1) == \":\") {\n+\t\t    if (length(arg) > 2) {\n+\t\t\tif (substr(optstring, pos+2, 1) == \":\") {\n+\t\t\t    more = substr(arg, 3)\n+\t\t\t    if (more && more !~ \/^[a-zA-Z0-9]\/) {\n+\t\t\t\tprint_error(\"bad option sequence \" arg)\n+\t\t\t\tusage(stderr)\n+\t\t\t\texit 2\n+\t\t\t    }\n+\t\t\t} else\n+\t\t\t    optarg = substr(arg, 3)\n+\t\t\tfor (option in longopts)\n+\t\t\t    if (substr(longopts[option], 1, 1) == optval)\n+\t\t\t\tbreak\n+\t\t\treturn optval\n+\t\t    }\n+\t\t    if (substr(optstring, pos+2, 1) == \":\") { wantarg = 1 } else\n+\t\t    if (substr(optstring, pos+1, 1) == \":\") { needarg = 1 }\n+\t\t    for (option in longopts)\n+\t\t\tif (substr(longopts[option], 1, 1) == optval)\n+\t\t\t    break\n+\t\t    continue\n+\t\t}\n+\t\tif (length(arg) > 2) { more = substr(arg, 3) } else { more = \"\" }\n+\t\tif (more && more !~ \/^[a-zA-Z0-9]\/) {\n+\t\t    print_error(\"bad option sequence \" arg)\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\tfor (option in longopts)\n+\t\t    if (substr(longopts[option], 1, 1) == optval)\n+\t\t\tbreak\n+\t\treturn optval\n+\t    }\n+\t}\n+\tif (arg == \"--\")\n+\t    return -1\n+\tif (needarg || wantarg) {\n+\t    optarg = arg\n+\t    return optval\n+\t}\n+\toptind--\n+\treturn -1\n+    }\n+    return -1\n+}\n+function system_command(cmd)\n+{\n+    print_debug(cmd); return system(cmd)\n+}\n+function missing(fnlp, expected) {\n+    print_error(fnlp \" definition missing \" (expected - NF) \" fields\")\n+}\n+function garbage(fnlp, maximum) {\n+    print_warn(fnlp \" definition with \" (NF - maximum) \" garbage fields\")\n+}\n+function unrecog(fnlp, line) {\n+    print_error(fnlp \" unrecognized line: \" line)\n+}\n+function read_inputs(inputs) {\n+    print_debug(\"reading inputs...\")\n+    for (k in inputs) {\n+\tinput = inputs[k]\n+\tprint_debug(\"reading input \" input)\n+\tfilename = input\n+\tlineno = 0\n+\twhile ((getline < input) == 1) {\n+\t    lineno++; fnl = filename \":\" lineno; fnlp = fnl \": \"\n+\t    if (NF < 4) { missing(fnlp, 4); continue }\n+\t    if (NF > 4) { garbage(fnlp, 4); NF = 4 }\n+\t    if ($1~\/^0x\/) {\n+\t\tgsub(\/\\\/\/, \"_\")\n+\t\tif ($3 in symsets) {\n+\t\t    symsets[$3] = symsets[$3] \" \" $2\n+\t\t    crcsets[$3] = crcsets[$3] $1\n+\t\t} else {\n+\t\t    symsets[$3] = $2\n+\t\t    crcsets[$3] = $1\n+\t\t}\n+\t\t# Note that SuSE includes EXPORT type in the\n+\t\t# kABI, whereas RedHat does not.\n+\t\tif (values[\"suse\"] == 1) {\n+\t\t    syms[$2] = $1 \"\\t\" $2 \"\\t\" $3 \"\\t\" $4\n+\t\t} else {\n+\t\t    syms[$2] = $1 \"\\t\" $2 \"\\t\" $3\n+\t\t}\n+\t\t#print $1 \"\\t\" $2 \"\\t\" $3\n+\t    } else { unrecog(fnlp, $0); continue }\n+\t}\n+\tclose(input)\n+    }\n+}\n+BEGIN {\n+    LINT = \"yes\"\n+    me = \"symsets.awk\"\n+    if (!(\"TERM\" in ENVIRON)) ENVIRON[\"TERM\"] = \"dumb\"\n+    if (ENVIRON[\"TERM\"] == \"dumb\" || system(\"test -t 1 -a -t 2\") != 0) {\n+\tstdout = \"\/dev\/stderr\"; written[stdout] = 0\n+\tstderr = \"\/dev\/stderr\"; written[stderr] = 0\n+\tcr = \"\"; lf = \"\\n\"\n+\tblk = \"\"; hblk = \"\"\n+\tred = \"\"; hred = \"\"\n+\tgrn = \"\"; hgrn = \"\"\n+\torg = \"\"; horg = \"\"\n+\tblu = \"\"; hblu = \"\"\n+\tmag = \"\"; hmag = \"\"\n+\tcyn = \"\"; hcyn = \"\"\n+\tstd = \"\"\n+    } else {\n+\tstdout = \"\/dev\/stdout\"; written[stdout] = 0\n+\tstderr = \"\/dev\/stderr\"; written[stderr] = 0\n+\tcr = \"\\r\"; lf = \"\"\n+\tblk = \"\\033[0;30m\"; hblk = \"\\033[1;30m\"\n+\tred = \"\\033[0;31m\"; hred = \"\\033[1;31m\"\n+\tgrn = \"\\033[0;32m\"; hgrn = \"\\033[1;32m\"\n+\torg = \"\\033[0;33m\"; horg = \"\\033[1;33m\"\n+\tblu = \"\\033[0;34m\"; hblu = \"\\033[1;34m\"\n+\tmag = \"\\033[0;35m\"; hmag = \"\\033[1;35m\"\n+\tcyn = \"\\033[0;36m\"; hcyn = \"\\033[1;36m\"\n+\tstd = \"\\033[m\"\n+    }\n+    if (\"kversion\" in ENVIRON) { uname = ENVIRON[\"kversion\"] }\n+    else                       { uname = getline_command(\"uname -r\") }\n+    longopts[\"inputs\"       ] = \"I:\" ; environs[\"inputs\"        ] = \"MODPOST_MODVER\"  ; defaults[\"inputs\"       ] = \"Module.symvers\"\n+    longopts[\"suse\"         ] = \"s\"  ;                                                  defaults[\"suse\"         ] = 0\n+    longopts[\"redhat\"       ] = \"r\"  ;                                                  defaults[\"redhat\"       ] = 1\n+    longopts[\"kversion\"     ] = \"k:\" ; environs[\"kversion\"      ] = \"kversion\"        ; defaults[\"kversion\"     ] = uname\n+    longopts[\"outfile\"      ] = \"o:\" ; environs[\"outfile\"       ] = \"MODPOST_SYMSETS\" ; defaults[\"outfile\"      ] = \"symsets-\" uname \".tar.gz\"\n+    longopts[\"dryrun\"       ] = \"n\"  ;                                                  defaults[\"dryrun\"       ] = 0\n+    longopts[\"dry-run\"      ] = \"n\"  ;                                                  defaults[\"dry-run\"      ] = 0\n+    longopts[\"quiet\"        ] = \"q\"  ;                                                  defaults[\"quiet\"        ] = 0\n+    longopts[\"silent\"       ] = \"q\"  ;                                                  defaults[\"silent\"       ] = 0\n+    longopts[\"debug\"        ] = \"D::\";                                                  defaults[\"debug\"        ] = 0\n+    longopts[\"verbose\"      ] = \"v::\";                                                  defaults[\"verbose\"      ] = 0\n+    longopts[\"help\"         ] = \"h\"  ;\n+    longopts[\"version\"      ] = \"V\"  ;\n+    longopts[\"copying\"      ] = \"C\"  ;\n+    # set mandatory defaults\n+    values[\"suse\"         ] = defaults[\"suse\"    ]\n+    values[\"redhat\"       ] = defaults[\"redhat\"  ]\n+    values[\"kversion\"     ] = defaults[\"kversion\"]\n+    values[\"inputs\"       ] = defaults[\"inputs\"  ]\n+    values[\"outfile\"      ] = defaults[\"outfile\" ]\n+    values[\"debug\"        ] = defaults[\"debug\"   ]\n+    values[\"verbose\"      ] = defaults[\"verbose\" ]\n+    values[\"quiet\"        ] = defaults[\"quiet\"   ]\n+    if (\"V\" in ENVIRON && ENVIRON[\"V\"] == 1) {\n+\tvalues[\"quiet\"  ] = 0\n+\tvalues[\"verbose\"] = 2\n+    }\n+    optstring = \"I:srk:o:nqD::v::hVC\"\n+    optind = 0\n+    while (1) {\n+\tc = getopt_long(ARGC, ARGV, optstring, longopts)\n+\tif (c == -1) break\n+\telse if (c ~ \/[Iko]\/)  { values[option] = optarg }\n+\telse if (c ~ \/[srnq]\/) { values[option] = 1 }\n+\telse if (c == \"D\")     { if (optarg) { values[\"debug\"  ] = optarg } else { values[\"debug\"  ]++ } }\n+\telse if (c == \"v\")     { if (optarg) { values[\"verbose\"] = optarg } else { values[\"verbose\"]++ } }\n+\telse if (c == \"h\")     { help(   stdout); exit 0 }\n+\telse if (c == \"V\")     { version(stdout); exit 0 }\n+\telse if (c == \"C\")     { copying(stdout); exit 0 }\n+\telse                   { usage(  stderr); exit 2 }\n+    }\n+    if (optind < ARGC) {\n+\tvalues[\"inputs\"] = ARGV[optind]; optind++\n+\twhile (optind < ARGC) {\n+\t    values[\"inputs\"] = values[\"inputs\"] \" \" ARGV[optind]\n+\t    optind++\n+\t}\n+    }\n+    for (i=1;ARGC>i;i++) { delete ARGV[i] }\n+    for (value in values) {\n+\tif (!values[value] && (value in environs) && (environs[value] in ENVIRON) && ENVIRON[environs[value]]) {\n+\t    print_debug(\"assigning value for \" value \" from environment \" environs[value])\n+\t    values[value] = ENVIRON[environs[value]]\n+\t}\n+\tif (!values[value] && (value in defaults) && defaults[value]) {\n+\t    print_debug(\"assigning value for \" value \" from default \" defaults[value])\n+\t    values[value] = defaults[value]\n+\t}\n+    }\n+    if (values[\"suse\"] == 1) { values[\"redhat\"] = 0 }\n+    if (!values[\"inputs\"] || values[\"inputs\"] == \"-\") {\n+\tprint_debug(\"no inputs, using \" stdin)\n+\tvalues[\"inputs\"] = stdin\n+    }\n+    split(values[\"inputs\"], inputs)\n+    read_inputs(inputs)\n+    directory = values[\"outfile\"]\n+    sub(\/\\.tar\\.gz\/, \"\", directory)\n+    tarball = directory \".tar.gz\"\n+    dirname  = getline_command(\"dirname \"  directory)\n+    basename = getline_command(\"basename \" directory)\n+    if (dirname == \".\") { chngdir = \"\" } else { chngdir = \" -C \" dirname }\n+    system_command(\"mkdir -p \" directory)\n+    if (system(\"test -f \" tarball) == 0) {\n+\tprint_debug(\"unpacking tarball \" tarball)\n+\tsystem_command(\"tar -xzf \" tarball chngdir)\n+    }\n+\n+    print_debug(\"processing symbols\")\n+    for (symset in symsets) {\n+\tprint_debug(\"processing symbol set \" symset)\n+\tif (values[\"redhat\"] == 1) {\n+\t    # note that RedHat does not protect the symbol name,\n+\t    # the location of the symbol within the kernel, nor\n+\t    # the export type in the kABI, whereas SuSE does.\n+\t    $0 = getline_command(\"echo '\" crcsets[symset] \"' | sha1sum\")\n+\t    hash = $1\n+\t    print_debug(\"hash is: '\" hash \"'\")\n+\t} else {\n+\t    hash = \"tmp\"\n+\t}\n+\tprint_debug(\"removing \" directory \"\/\" symset \".*\")\n+\tsystem_command(\"rm -f -- \" directory \"\/\" symset \".*\")\n+\tfile = directory \"\/\" symset \".\" hash\n+\tprint_debug(\"creating \" file)\n+\tn = split(symsets[symset],symbols)\n+\tn = asort(symbols)\n+\tfor (i=1;i<=n;i++) {\n+\t    sym = symbols[i]\n+\t    print syms[sym] > file\n+\t}\n+\tclose(file)\n+\tif (hash == \"tmp\") {\n+\t    hash = getline_command(\"md5sum \" file)\n+\t    hash = substr(hash, 1, 16)\n+\t    print_debug(\"hash is: '\" hash \"'\")\n+\t    print_debug(\"moving \" file \" to \" directory \"\/\" symset \".\" hash)\n+\t    system_command(\"mv -f -- \" file \" \" directory \"\/\" symset \".\" hash)\n+\t}\n+    }\n+    print_debug(\"done processing symbols\")\n+    print_debug(\"creating \" tarball)\n+    system_command(\"tar -czf \" tarball chngdir \" \" basename)\n+    print_debug(\"removing working directory \" directory)\n+    system_command(\"rm -fr -- \" directory)\n+    exit 0\n+}\n+END {\n+    if (written[stdout]) {\n+\tclose(stdout)\n+\twritten[stdout] = 0\n+    }\n+    if (written[stderr]) {\n+\tclose(stderr)\n+\twritten[stderr] = 0\n+    }\n+}\n+\n+# =============================================================================\n+#\n+# $Log: symsets.awk,v $\n+# Revision 1.1.2.1  2011-03-17 07:01:22  brian\n+# - added new symsets script\n+#\n+#\n+# =============================================================================\n+# vim: ft=awk sw=4 nocin nosi fo+=tcqlorn\n"}
{"commit":"c095328759bf99cc5e0c835f3d716676a7e4f69d","subject":"Create parseOui.awk","message":"Create parseOui.awk","repos":"guntari\/randomac","returncode":1,"stderr":"error: pathspec 'parseOui.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- parseOui.awk\n+++ parseOui.awk\n@@ -0,0 +1,60 @@\n+#!\/usr\/bin\/awk -f\n+\n+#####\n+##\n+##      DATE: 2015-04-11\n+##    AUTHOR: Emile Mercier\n+##   PURPOSE: Parse oui.txt into a associative array\n+##            with the key being the entire manufacturer string.\n+##            for use during compiling randomac.c\n+##\n+##     NOTE: after running this on oui.txt, it becomes obvious that the data is\n+##           not normalized.\n+##\n+##           For example, look at this output:\n+##              2wire>--001FB3 00217C 0022A4 002351 002456 00253C 002650 28162E 34EF44 383BC8 3CEA4F\n+##              2wire inc>------60C397 94C150\n+##              2wire inc.>-----001D5A\n+##              2wire, inc>-----000D72 001288 00183F 0019E4 001AC4\n+##              2wire, inc.>----001495 001B5B 001EC7 00D09E\n+##\n+##           sloppy :(\n+##\n+##\n+##    USAGE: parseOui.awk oui.txt\n+\n+# take action only the lines matching \"base 16\" in oui.txt\n+\/base 16\/ {\n+    count+=1;\n+    mfgString=\"\"\n+\n+    # store the base 16 mac prefix in an array named MacPrefix\n+    MacPrefix[count] = sprintf(\"%s\", $1);\n+\n+    # store the entire manufacturer name in the variable mfgString\n+    # I did this in awk but sed or cut in shell is what i'd rather do.\n+    # \"from here to end of line\" in awk is pretty ugly\n+    for (i=4; i<=NF; ++i) {\n+        # if condition is so that mfgString doesn't have a preceeding space\n+        if ( i == 4)\n+            mfgString = sprintf(\"%s\",$i);\n+        else\n+            mfgString = sprintf(\"%s %s\", mfgString, sprintf(\"%s\",$i) );\n+    }\n+\n+    # Store the manufacturer string \"mfgString\" in a associative array \"Manuf\"\n+    # as the \"primary key\"\n+    # each mac prefix associated with the literal manufacturer string\n+    # is then stored, space delimited, in it.\n+    # The if condition is so that first mac prefix entry isn't preceeded by a space\n+    if ( Manuf[ tolower(mfgString) ] == \"\" )\n+        Manuf[ tolower(mfgString) ] = sprintf(\"%s\", MacPrefix[count]);\n+    else\n+        Manuf[ tolower(mfgString) ] = sprintf(\"%s %s\",Manuf[ tolower(mfgString) ],MacPrefix[count]);\n+}\n+\n+END{\n+   for (i in Manuf)\n+       printf( \"%s\\t%s\\n\", i, Manuf[i] );\n+}\n+\n"}
{"commit":"537a5fb722ec7009e25dea3664299d5a55522b3c","subject":"perf.awk: logs performance meter","message":"perf.awk: logs performance meter\n","repos":"osesov\/zutils,osesov\/zutils,osesov\/zutils","returncode":1,"stderr":"error: pathspec 'awk\/perf.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- awk\/perf.awk\n+++ awk\/perf.awk\n@@ -0,0 +1,245 @@\n+#! \/usr\/bin\/gawk -f\n+\n+#\n+# PowerUp performance using logs\n+# \n+\n+func die(msg, a, b, c, d, e, f)\n+{\n+    printf( msg, a, b, c, d, e, f )\n+    printf( \"\\nat (%d): %s\\n\", NR, $0 )\n+    exit(1);\n+}\n+\n+function time2str(year, mon, day, hour, min, sec, msec)\n+{\n+    return sprintf(\"%02d.%02d.%04d %02d:%02d:%02d.%03d\", day, mon, year, hour, min, sec, msec);\n+}\n+\n+function time2ts( year, mon, day, hour, min, sec, msec )\n+{\n+    return\t\t\t\t\t\t\t\t\\\n+\t( int( ( 1461 * ( year + 4800 + int( ( mon - 14 ) \/ 12) ) ) \/ 4) + \\\n+\t  int( ( 367 * ( mon - 2 - 12 * int( ( mon - 14 ) \/ 12) ) ) \/ 12) - \\\n+\t  int( ( 3 * ( ( year + 4900 +  int( ( mon - 14 ) \/ 12) ) \/ 100 ) ) \/ 4) + \\\n+\t  day - 32075 )\t\t\t\t\t\t\t\\\n+\t* (24 * 60 * 60 * 1000) + (((hour * 60 + min) * 60 + sec) * 1000 + msec)\n+}\n+\n+function ts2time( jd, r,\t\t\t\\\n+\t\t  l, n, j, d, m, y )\n+{\n+    l = int(jd \/ (24 * 60 * 60 * 1000) ) + 68569\n+    n = int( ( 4 * l ) \/ 146097)\n+    l = l - int( ( 146097 * n + 3 ) \/ 4)\n+    i = int( ( 4000 * ( l + 1 ) ) \/ 1461001 )\n+    l = l - int( ( 1461 * i ) \/ 4 ) + 31\n+    j = int( ( 80 * l ) \/ 2447 )\n+    d = l - int( ( 2447 * j ) \/ 80 )\n+    l = int( j \/ 11 )\n+    m = j + 2 - ( 12 * l )\n+    y = 100 * ( n - 49 ) + i + l\n+\n+    r[0] = y\n+    r[1] = m\n+    r[2] = d\n+\n+# convert time\n+    l = jd % (24 * 60 * 60 * 1000)\n+\n+    r[6] = l % 1000; l = int(l \/ 1000)\n+    r[5] = l % 60;   l = int(l \/ 60)\n+    r[4] = l % 60;   l = int(l \/ 60)\n+    r[3] = l % 24;   l = int(l \/ 24)\n+}\n+\n+function ts2str( tm,\t\t\t\t\\\n+\t\t _d)\n+{\n+    delete _d\n+    ts2time( tm, _d )\n+    return time2str(_d[0], _d[1], _d[2], _d[3], _d[4], _d[5], _d[6]);\n+}\n+\n+# converts to epoch time\n+function _str2time(str \\\n+\t\t  , _arr, _day, _mon, _year, _hour, _min, _sec, _msec, _ts)\n+{\n+    if (match(str, \/([[:digit:]]+)\\.([[:digit:]]+)\\.([[:digit:]]+) ([[:digit:]]+)\\:([[:digit:]]+)\\:([[:digit:]]+)(\\.([[:digit:]]+))?\/, _arr)) {\n+\n+\t_ts = time2ts( _arr[3], _arr[2], _arr[1], _arr[4], _arr[5], _arr[6], _arr[8] );\n+#\tg0 = ts2str( _ts );\n+#\tg1 = time2str( _arr[3], _arr[2], _arr[1], _arr[4], _arr[5], _arr[6], _arr[8] );\n+\t\n+#\tif (g0 != g1)\n+#\t    die( \"Unvalid time. orig: '%s', parsed '%s', '%s'\", str, g0, g1 );\n+\treturn _ts;\n+    }\n+\n+    die( \"unable to parse time [%s]\", str);\n+}\n+\n+function gettime(date, time)\n+{\n+    return _str2time( date \" \" time);\n+}\n+\n+# time measure\n+\n+function print_arr(arr, \\\n+\t\t   _col, _index)\n+{\n+    \n+    _col = 0\n+    for (_index in title) {\n+\tif (title[_index] == \"\")\n+\t    continue;\n+\n+\tif (_col != 0)\n+\t    printf(\",\")\n+\tprintf(\"%s\", arr[_index])\n+\t_col++;\n+    }\n+\n+    printf(\"\\n\");\n+\n+}\n+\n+function print_header()\n+{\n+    print_arr( title );\n+\n+    delete avg\n+    averages = 0;\n+}\n+\n+function print_stats()\n+{\n+    if (!boot_start)\n+\treturn\n+\n+    print_arr( time );\n+\n+# update average\n+    for (i in title) {\n+\tavg[i] = avg[i] + time[i];\n+    }\n+    averages++;\n+\n+#    printf(\"%s\\t%s\\t%s\\n\", dal_time, powerup_time, ready_to_watch_time)\n+    boot_start = 0;\n+    \n+}\n+\n+function print_final()\n+{\n+    print_stats();\n+\n+    print \"---\";\n+    if (averages) {\n+\tfor (i in title) {\n+\t    avg[i] = int(avg[i] \/ averages);\n+\t}\n+    }\n+\n+    print_arr( avg )\n+\n+    delete avg\n+    averages = 0;\n+}\n+\n+BEGINFILE {\n+    boot_start = 0;\n+    fixtime = 0;\n+    boot_index = 0;\n+\n+# indices\n+    boot = 0\n+    dal  = 1\n+    powerup = 2\n+    ready_to_watch = 3\n+\n+# titles\n+    title[ boot ] = \"\"\n+    title[ dal  ] = \"dal\"\n+    title[ powerup ] = \"powerup\"\n+    title[ ready_to_watch ] = \"ready_to_watch\"\n+\n+    print \"*** \" FILENAME;\n+    print_header();\n+}\n+\n+\n+# line time is in $2 and $3\n+# [DBG] 13.08.2015 06:04:16.501\n+\n+\/Thread::init\\('LogBufferThread'\\)\/ { # first supervisor message\n+\n+    fixtime = 0;\n+\n+    delete start\n+    delete time\n+\n+    start[ boot ] = boot_start = gettime($2, $3)\n+    boot_index++;\n+\n+    close( out );\n+    out = FILENAME \".boot\" boot_index \".log\";\n+\n+#    print \"start: \" boot_start, ts2str(boot_start);\n+}\n+\n+\/DAL: main: DAL version\/ { # first DAL message\n+    if (!boot_start) {\n+\tprint \"no start message found\"\n+\tnext;\n+    }\n+\n+    start[dal] = gettime($2, $3) - fixtime\n+    time[dal]  = start[dal] - start[boot]\n+}\n+\n+\/DAL: PosixProcess::run: run \\[powerup-launcher\\]\/ {\n+    if (!boot_start) {\n+\tprint \"no start message found\"\n+\tnext;\n+    }\n+\n+    start[powerup] = gettime($2, $3) - fixtime\n+    time[powerup] = start[powerup] - start[dal]\n+}\n+\n+\/Registry: set: \\[registry\\] ready_to_watch <-- 1 \\[added, 0\\]\/ {\n+    if (!boot_start) {\n+\tprint \"no start message found\"\n+\tnext;\n+    }\n+\n+    start[ready_to_watch] = gettime($2, $3) - fixtime\n+    time[ready_to_watch] = start[ready_to_watch] - start[powerup]\n+\n+    print_stats();\n+}\n+\n+\/system time changed from .* to .*\/ { # time fix message\n+    if (!boot_start)\n+\tnext\n+\n+    if (!match($0, \/system time changed from (.*) to (.*)\/, arr))\n+\tdie(\"Unable to match time\");\n+\t\n+    delta1 = gettime(arr[1])\n+    delta2 = gettime(arr[2])\n+    fixtime += (delta2 - delta1)\n+}\n+\n+ENDFILE {\n+    print_final()\n+    close( out );\n+}\n+\n+{\n+    if (boot_start) {\n+\tprint $0 >> out;\n+    }\n+}\n"}
{"commit":"0617bb2003e7e9df43f1ce86cd7593f478627704","subject":"2008-03-14  Martin Sebor  <sebor@roguewave.com>","message":"2008-03-14  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk (get_gzlogfname): Replaced .txt suffix with\n\tthe hopefully now correct .gz.txt.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@637303 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"72d535f618bf8410bd503ca0be2f3f14bc7263cb","subject":"Add parser for Z3's get-model output.","message":"Add parser for Z3's get-model output.\n\nDoesn't really parse it, it just reformats it into something less\nrubbish.\n","repos":"jmorse\/numbness","returncode":1,"stderr":"error: pathspec 'z3_parse.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- z3_parse.awk\n+++ z3_parse.awk\n@@ -0,0 +1,13 @@\n+#!\/usr\/bin\/gawk -f\n+BEGIN{\n+\tbees=\"\";\n+}\n+\n+\/^[ ]+\\(define-fun.*Int$\/{\n+\tbees = $2;\n+}\n+\n+\/^[ ]+[0-9]+\\)\/{\n+\tmatch ($0, \/^[ ]+([0-9]+)\\)\/, arr)\n+\tprint bees \" \" arr[1];\n+}\n"}
{"commit":"e1950d2201b6ffdeda41bdc1e37d64e1d90eb1c5","subject":"2008-04-15  Martin Sebor  <sebor@roguewave.com>","message":"2008-04-15  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk: Added comments describing how platform pattern\n\tmatching works for the expected failures feature.\n\tPrepended 'X' to the signal name when the signal is expected\n\tto match the legend at the bottom of the page.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@648374 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"7e780d421a95b89a9be969b00684c2467321d0cd","subject":"add trim.awk","message":"add trim.awk\n","repos":"ptpt\/lips,ptpt\/lips","returncode":1,"stderr":"error: pathspec 'lips\/trim.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- lips\/trim.awk\n+++ lips\/trim.awk\n@@ -0,0 +1,28 @@\n+#!\/usr\/bin\/awk -f\n+\n+#+block usage\n+\n+# ### `trim.awk`: trim blank lines\n+# ```\n+# usage: trim.awk FILENAME\n+# ```\n+\n+# Trim blank lines in FILENAME\n+\n+#+endblock\n+\n+BEGIN {\n+    n = 0\n+}\n+\n+{\n+    lines[n++] = $0\n+}\n+\n+END {\n+    for (start=0; start<n && lines[start]~\/^\\s*$\/; start++);\n+    for (end=n-1; end>=0 && lines[end]~\/^\\s*$\/; end--);\n+    for (i=start; i<=end; i++) {\n+        print lines[i];\n+    }\n+}\n"}
{"commit":"5dc82c75777c4a76490745ef3426445275f90892","subject":"Added 99 Bottles Problem in AWK","message":"Added 99 Bottles Problem in AWK\n","repos":"isalnikov\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,mishin\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,movb\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,movb\/Algorithm-Implementations,mishin\/Algorithm-Implementations,mishin\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Endika\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,warreee\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Endika\/Algorithm-Implementations,movb\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,mishin\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,mishin\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,mishin\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Endika\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Endika\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,warreee\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,mishin\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,movb\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,mishin\/Algorithm-Implementations,warreee\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,warreee\/Algorithm-Implementations,movb\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,mishin\/Algorithm-Implementations,movb\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,movb\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,movb\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,movb\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,mishin\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,movb\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,movb\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,movb\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,movb\/Algorithm-Implementations,Endika\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Endika\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,mishin\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Endika\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,mishin\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,mishin\/Algorithm-Implementations,warreee\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,warreee\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Endika\/Algorithm-Implementations,warreee\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Endika\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,mishin\/Algorithm-Implementations,mishin\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,movb\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,movb\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,warreee\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Endika\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations","returncode":1,"stderr":"error: pathspec '99_Bottles_Problem\/AWK\/wasi0013\/99Bottles.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- 99_Bottles_Problem\/AWK\/wasi0013\/99Bottles.awk\n+++ 99_Bottles_Problem\/AWK\/wasi0013\/99Bottles.awk\n@@ -0,0 +1,20 @@\n+func bottle(){\n+  bottles = 99;\n+  while(bottles > 0){\n+    printf(\"%d bottles of beer on the wall, %d bottles of beer.\\n\",bottles,bottles);\n+    bottles--;\n+    print(\"Take one down and pass it around,\",(bottles > 0) ?bottles:\"no more\" ,\"bottles of beer on the wall.\");\n+  }\n+  print(\"No more bottles of beer on the wall, no more bottles of beer.\");\n+  print(\"Go to the store and buy some more, 99 bottles of beer on the wall.\");\n+}\n+\n+\n+\n+BEGIN {\n+    \/\/ run the program\n+\tbottle();\n+}\n+END {\n+\n+}"}
{"commit":"ad6252aae8d068255b1c0d12bf9e67db46345c5b","subject":"reverted experimental mawk","message":"reverted experimental mawk\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"427dbdb06d500b5719fe2929737b73cf87b8c767","subject":"display more conventional date format in html pages","message":"display more conventional date format in html pages\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"cfaa58f9c777216d3864652e45f42dd6c137a97c","subject":"gnumake2: added missing processdelivered.awk script","message":"gnumake2: added missing processdelivered.awk script","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'solenv\/gbuild\/processdelivered.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/gbuild\/processdelivered.awk\n+++ solenv\/gbuild\/processdelivered.awk\n@@ -0,0 +1,36 @@\n+#*************************************************************************\n+#\n+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n+# \n+# Copyright 2000, 2010 Oracle and\/or its affiliates.\n+#\n+# OpenOffice.org - a multi-platform office productivity suite\n+#\n+# This file is part of OpenOffice.org.\n+#\n+# OpenOffice.org is free software: you can redistribute it and\/or modify\n+# it under the terms of the GNU Lesser General Public License version 3\n+# only, as published by the Free Software Foundation.\n+#\n+# OpenOffice.org is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU Lesser General Public License version 3 for more details\n+# (a copy is included in the LICENSE file that accompanied this code).\n+#\n+# You should have received a copy of the GNU Lesser General Public License\n+# version 3 along with OpenOffice.org.  If not, see\n+# <http:\/\/www.openoffice.org\/license.html>\n+# for a copy of the LGPLv3 License.\n+#\n+#*************************************************************************\n+\n+BEGIN {\n+    RS=\" \"\n+    FS=\":\"\n+}\n+\n+NF == 2 {\n+    print \"COPY \" $1 \" \" $2;\n+}\n+\n"}
{"commit":"4e6100da8165726260c507a51d4d982c37c6c2d9","subject":"adding awk script to read winners from stdout.txt","message":"adding awk script to read winners from stdout.txt\n","repos":"guacamoleo\/Tensile,ROCmSoftwarePlatform\/Tensile,guacamoleo\/Tensile,guacamoleo\/Tensile,ROCmSoftwarePlatform\/Tensile,ROCmSoftwarePlatform\/Tensile,guacamoleo\/Tensile","returncode":1,"stderr":"error: pathspec 'Tensile\/Source\/winners.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- Tensile\/Source\/winners.awk\n+++ Tensile\/Source\/winners.awk\n@@ -0,0 +1,18 @@\n+########################################\n+# Usage: awk -f winners.awk out.txt\n+########################################\n+\n+BEGIN {\n+  problemLine = \"  ---Problem---\"\n+  winnerLine = \"  ---Winner---\"\n+}\n+\n+\/Problem\\[\/ {\n+  printf \"%-40s - %s\\n\", problemLine, winnerLine\n+  problemLine = $0\n+}\n+\n+\/\\*,\/ {\n+  winnerLine = $0\n+}\n+\n"}
{"commit":"997ec8fc9b20618a33b271629e28567d20f90512","subject":"Calculate durations","message":"Calculate durations\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'calculateBBoxDurations.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- calculateBBoxDurations.awk\n+++ calculateBBoxDurations.awk\n@@ -0,0 +1,65 @@\n+# Total the duration of episodes in every series\n+# Update the number of episodes and the total show duration for any that are missing\n+# NOTE: Depends on file being sorted in reverse order\n+\n+# INVOCATION:\n+#       grep -hv ^Sortkey $PROGRAMS_SPREADSHEET_FILE $EPISODES_SPREADSHEET_FILE | sort -f |\n+#           tail -r | awk -v ERROR_FILE=$ERROR_FILE -v DURATION_FILE=$DURATION_FILE \\\n+#           -f calculateBBoxDurations.awk | tail -r >>$LONG_SPREADSHEET_FILE\n+\n+# Field numbers\n+#    1 Sortkey    2 Title    3 Seasons    4 Episodes    5 Duration    6 Year(s)    7 Rating\n+\n+BEGIN {\n+    FS = \"\\t\"\n+    OFS = \"\\t\"\n+}\n+\n+# No processing on header and other lines unrelated to shows\n+$1 == \"\" || $1 == \"Sortkey\" {\n+    print\n+    next\n+}\n+\n+# Accumulate total time on any line that has a valid duration\n+$5 != \"\" {\n+    # Check all durations for strict HH:MM:SS format\n+    if ($5 !~ \/^[[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2}$\/) {\n+        print \"==> Bad duration \" $5 \" in \" $0 >> ERROR_FILE\n+        print\n+        next\n+    } else {\n+        split ($5, tm, \":\")\n+        totalTime[3] += tm[3]\n+        totalTime[2] += tm[2] + int(totalTime[3] \/ 60)  \n+        totalTime[1] += tm[1] + int(totalTime[2] \/ 60)\n+        totalTime[3] %= 60; totalTime[2] %= 60\n+    }\n+}\n+\n+# (2) indicates an episode, which should always have a valid duration\n+# Accumulate series time and episode count on any line that has a valid duration\n+$1 ~ \/ \\(2\\) \/ {\n+        secs += tm[3]\n+        mins += tm[2] + int(secs \/ 60)\n+        hrs += tm[1] + int(mins \/ 60)\n+        secs %= 60; mins %= 60\n+        episodes += 1\n+        print\n+}\n+\n+# (1) indicates a show, which may or may not have a duration\n+# If it has no duration, update it from the running total\n+$1 ~ \/ \\(1\\) \/ {\n+    if ($5 == \"\") {\n+        $4 = episodes\n+        $5 = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n+        secs = 0; mins = 0; hrs = 0;\n+        episodes = 0\n+    }\n+    print\n+}\n+\n+END {\n+    printf (\"%02d:%02d:%02d\\n\", totalTime[1], totalTime[2], totalTime[3]) >> DURATION_FILE\n+}\n"}
{"commit":"5810cea33a733659ff26c0e22c0afdbb3316feb2","subject":"Little awk test","message":"Little awk test\n","repos":"lucashmorais\/x-Bench,lucashmorais\/x-Bench,lucashmorais\/x-Bench,lucashmorais\/x-Bench,lucashmorais\/x-Bench,lucashmorais\/x-Bench,lucashmorais\/x-Bench","returncode":1,"stderr":"error: pathspec 'test2.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- test2.awk\n+++ test2.awk\n@@ -0,0 +1,4 @@\n+{\n+\tif ($0 ~ \/var pontuacao\/ )\n+\t\tprint;\n+}\n"}
{"commit":"b06c8ac78288b578851442b70dc23cd1ded6229d","subject":"Add tool to populate options for configure","message":"Add tool to populate options for configure\n","repos":"colstrom\/unpkg","returncode":1,"stderr":"error: pathspec 'tool\/configure.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool\/configure.awk\n+++ tool\/configure.awk\n@@ -0,0 +1,23 @@\n+BEGIN { OFS = \"=\" }\n+$1 == \"--bindir\" { print $0,BINDIR }\n+$1 == \"--datadir\" { print $0,DATADIR }\n+$1 == \"--datarootdir\" { print $0,DATAROOTDIR }\n+$1 == \"--docdir\" { print $0,DOCDIR }\n+$1 == \"--dvidir\" { print $0,DVIDIR }\n+$1 == \"--dynlibdir\" { print $0,DYNLIBDIR }\n+$1 == \"--htmldir\" { print $0,HTMLDIR }\n+$1 == \"--includedir\" { print $0,INCLUDEDIR }\n+$1 == \"--infodir\" { print $0,INFODIR }\n+$1 == \"--libdir\" { print $0,LIBDIR }\n+$1 == \"--libexecdir\" { print $0,LIBEXECDIR }\n+$1 == \"--localedir\" { print $0,LOCALEDIR }\n+$1 == \"--localstatedir\" { print $0,LOCALSTATEDIR }\n+$1 == \"--mandir\" { print $0,MANDIR }\n+$1 == \"--oldincludedir\" { print $0,OLDINCLUDEDIR }\n+$1 == \"--pdfdir\" { print $0,PDFDIR }\n+$1 == \"--psdir\" { print $0,PSDIR }\n+$1 == \"--sbindir\" { print $0,SBINDIR }\n+$1 == \"--sharedstatedir\" { print $0,SHAREDSTATEDIR }\n+$1 == \"--srcdir\" { print $0,SRCDIR }\n+$1 == \"--sysconfdir\" { print $0,SYSCONFDIR }\n+$1 == \"--sysdepdir\" { print $0,SYSDEPDIR }\n"}
{"commit":"84983df02dd2e53b738e9959312e411f5610f4dc","subject":"END has to be last with Sun's awk","message":"END has to be last with Sun's awk\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@9772 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"c92b4e31ae74221e45e7f68327c6c8501ac7df23","subject":"MONDRIAN-LAGUNITAS: checkFile: Allow long string literal on line starting with '?' or ':'.","message":"MONDRIAN-LAGUNITAS: checkFile: Allow long string literal on line starting with '?' or ':'.\n\n[git-p4: depot-paths = \"\/\/open\/mondrian-release\/lagunitas\/\": change = 14917]\n","repos":"citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/citycloud-bigdata\/mondrian.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"5a39ae3a3dadee1b19dbb4737c03c43e421f36f5","subject":"add correct_energy.awk","message":"add correct_energy.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.hgas\/correct_energy.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.hgas\/correct_energy.awk\n+++ tool.hgas\/correct_energy.awk\n@@ -0,0 +1,6 @@\n+{\n+    if($10<0.) {\n+        $10 *= -1;\n+    }\n+    print $0;\n+}\n"}
{"commit":"1c679dc85cdce68b5b65566b993571a3972fad8c","subject":"chinese block","message":"chinese block\n","repos":"idevz\/life,idevz\/life,idevz\/life,idevz\/life","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/idevz\/life.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"73fa18eaebe170926a6cc62e355addc3cb848bce","subject":"add tool.imbh\/print_dumpparticle.awk","message":"add tool.imbh\/print_dumpparticle.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.imbh\/print_dumpparticle.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.imbh\/print_dumpparticle.awk\n+++ tool.imbh\/print_dumpparticle.awk\n@@ -0,0 +1,3 @@\n+{\n+    printf(\"            dumpOneParticle(%10d, sph);\\n\", $1);\n+}\n"}
{"commit":"594519c75efb7ea76d9828b9f343e620e06a8bb2","subject":"make-barcodes.awk: New script for code creating barcodes from sequences.","message":"make-barcodes.awk: New script for code creating barcodes from sequences.\n","repos":"makrutenko\/dunovo,makrutenko\/dunovo,makrutenko\/dunovo","returncode":1,"stderr":"error: pathspec 'make-barcodes.awk' did not match any file(s) known to git\n","license":"isc","lang":"Awk","diff":"--- make-barcodes.awk\n+++ make-barcodes.awk\n@@ -0,0 +1,40 @@\n+BEGIN {\n+  FS = \"\\t\"; OFS = \"\\t\";\n+  if (! BAR_LEN) {\n+    BAR_LEN = 24;\n+  }\n+  if (! INVARIANT) {\n+    INVARIANT = 5;\n+  }\n+  HALF = int(BAR_LEN\/2);\n+  # Fill an array mapping each character to its ASCII value.\n+  for (i = 0; i < 128; i++) {\n+    char = sprintf(\"%c\", i);\n+    ORD[char] = i;\n+  }\n+}\n+function get_sum(seq) {\n+  sum = 0;\n+  for (i = 1; i <= length(seq); i++) {\n+    sum += ORD[substr(seq, i, 1)];\n+  }\n+  return sum;\n+}\n+{\n+  alpha = substr($2, 1, HALF);\n+  beta = substr($6, 1, HALF);\n+  alpha_sum = get_sum(alpha);\n+  beta_sum = get_sum(beta);\n+  if (alpha_sum < beta_sum) {\n+    barcode = alpha beta;\n+    order = \"ab\";\n+  } else {\n+    barcode = beta alpha;\n+    order = \"ba\";\n+  }\n+  read1 = substr($2, HALF + INVARIANT + 1);\n+  read2 = substr($6, HALF + INVARIANT + 1);\n+  # $1 = read1 name | $4 = read1 quality | $5 = read2 name | $8 = read2 quality\n+  print barcode, order, $1, read1, $4, $5, read2, $8;\n+}\n+\n"}
{"commit":"ddaa6f5195bcfb88f15cb9e3e6e5af6cadf0c210","subject":"Add awk solution to problem 16","message":"Add awk solution to problem 16\n","repos":"bewuethr\/ctci","returncode":1,"stderr":"error: pathspec 'MPRT\/MPRT.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- MPRT\/MPRT.awk\n+++ MPRT\/MPRT.awk\n@@ -0,0 +1,39 @@\n+#!\/usr\/bin\/awk -f\n+\n+{\n+    protein = \"\"\n+    flag = 0    # Get rid of line with label\n+    while ((\"curl -Ls http:\/\/www.uniprot.org\/uniprot\/\"$1\".fasta\" | getline prot_line) > 0) {\n+        if (flag)\n+            # Append line to protein\n+            protein = protein prot_line\n+        else\n+            # We're on the first line - ignore label and set flag\n+            flag = 1\n+    }\n+\n+    first = 1    # Print label only once\n+    startidx = 1\n+    do {\n+        where = match(substr(protein, startidx), \/N[^P][ST][^P]\/)\n+        if (where != 0) {\n+            if (first) {\n+                # Print label, start location string\n+                print $0\n+                loc_string = where + startidx - 1\n+                # Reset flag\n+                first = 0\n+            }\n+            else {\n+                # Append to location string\n+                loc_string = loc_string \" \" where + startidx - 1\n+            }\n+            # Update offset: start one after start of last match\n+            startidx += where\n+        }\n+    } while (where != 0)\n+\n+    # Did we find something?\n+    if (loc_string)\n+        print loc_string\n+}\n"}
{"commit":"f9f56547f387b988fecf50b9897c577a03838664","subject":"Add a crosscheck for the SEASONS_SORTED_FILE","message":"Add a crosscheck for the SEASONS_SORTED_FILE\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'crosscheckInfo.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- crosscheckInfo.awk\n+++ crosscheckInfo.awk\n@@ -0,0 +1,43 @@\n+# Crosscheck the number of episodes of each show found by counting them (grep -c)\n+# in EPISODES_SORTED_FILE versus the number added up from SEASONS_SORTED_FILE\n+# Both numbers are found by processing a checkEpisodeInfo file\n+#\n+# For now these seem more likely a problem in scraping SEASONS_SORTED_FILE than EPISODES_SORTED_FILE\n+# so it could be these are false positives in generating spreadsheets. The case is stronger for\n+# problems listed in checkBBox_anomalies files.\n+\n+# INVOCATION:\n+#    awk -f crosscheckInfo.awk checkEpisodeInfo-180415.185805.txt\n+\n+\/ movie \/ {\n+    title = $3\n+    numEpisodes = $5\n+    if (numEpisodes == 0)\n+        print\n+}\n+\n+\/ show \/ {\n+    numShows += 1\n+    showTitle[numShows] = $3 \n+    shouldHave[numShows] = $5\n+    doesHave[numShows] = 0\n+    if (numEpisodes == 0)\n+        print\n+}\n+\n+\/^         \/ {\n+    epis  = NF-1\n+    if ($epis !~ \/^[[:digit:]]*$\/)\n+        print \"==> Bad input line \" NR \"\\n\" $0\n+    else\n+        doesHave[numShows] += $epis\n+}\n+\n+END {\n+    for ( i = 1; i <= numShows; i++ ) {\n+        if (shouldHave[i] != doesHave[i]) {\n+            print \"==> show  \"showTitle[i] \" has \" doesHave[i] \" instead of \" \\\n+                shouldHave[i] \" episodes.\"\n+        }\n+    }\n+}\n"}
{"commit":"73ddaa629c145af1632ac67d5d7d3a2abeabdf24","subject":"tools: remove old updateAuthors.awk script","message":"tools: remove old updateAuthors.awk script\n\nUsing the new tools\/update-authors.sh script so this is\nredundant\n\nPR-URL: https:\/\/github.com\/iojs\/io.js\/pull\/582\nReviewed-By: Ben Noordhuis <59bd0a3ff43b32849b319e645d4798d8a5d1e889@bnoordhuis.nl>\n","repos":"dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/dreamllq\/node.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"ec4b5095eef03500eca59dc375c6cff7af52d39f","subject":"asplit.awk now 1-base numbering, for the need of kaldi's run.pl","message":"asplit.awk now 1-base numbering, for the need of kaldi's run.pl\n","repos":"cybeliak\/mispronounceableness,cybeliak\/mispronounceableness,cybeliak\/mispronounceableness","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/cybeliak\/mispronounceableness.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"4e6ea83fa5fc80df68a49b554195bef5f84c4274","subject":"Add AWK script to merge comma-terminated lines","message":"Add AWK script to merge comma-terminated lines\n","repos":"nlfiedler\/devscripts,nlfiedler\/devscripts","returncode":1,"stderr":"error: pathspec 'mergelines.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- mergelines.awk\n+++ mergelines.awk\n@@ -0,0 +1,25 @@\n+#!\/usr\/bin\/awk -f\n+#\n+# AWK script to join multiple lines if the preceeding line ends with a comma (,).\n+#\n+# For example:\n+#\n+#   1,\n+#   2,\n+#   3\n+#\n+# Turns into:\n+#\n+#   1, 2, 3\n+#\n+\n+\/,$\/ {\n+    ORS=\"\"\n+    print $0\n+    do {\n+        getline\n+        print $0\n+    } while ($0 ~ \/,$\/)\n+    ORS=\"\\n\"\n+    print \"\"\n+}\n"}
{"commit":"e8c8ca6d628b9dc9af8feabe1c9d406eb2d8a45c","subject":"Create signal_clean.awk","message":"Create signal_clean.awk\n\nA clean baseline reference for data processing comparisons","repos":"busysteve\/linear_regression","returncode":1,"stderr":"error: pathspec 'signal_clean.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- signal_clean.awk\n+++ signal_clean.awk\n@@ -0,0 +1,11 @@\n+BEGIN{\n+\n+\tfor( i=0; i < 360; i++ )\n+\t{\n+\t\twave  =  sin((((i)%360)*3.14159265\/180));\n+\t\twavy  =  wave+sin(wave*30);\n+\t\tmessy =  10 + wavy + 1;\n+\t\tprint messy;\n+\t}\n+\n+}\n"}
{"commit":"bda94c210f954c84586e075b3cc1e81d384726d5","subject":"Create signal_data.awk","message":"Create signal_data.awk\n\nA simple awk script for generating noisy signal data for testing the linear_regression code.","repos":"busysteve\/linear_regression","returncode":1,"stderr":"error: pathspec 'signal_data.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- signal_data.awk\n+++ signal_data.awk\n@@ -0,0 +1,11 @@\n+BEGIN{\n+\n+\tfor( i=0; i < 360; i++ )\n+\t{\n+\t\twave  =  sin((((i)%360)*3.14159265\/180));\n+\t\twavy  =  wave+sin(wave*30);\n+\t\tmessy =  10 + wavy + rand() * 2;\n+\t\tprint messy;\n+\t}\n+\n+}\n"}
{"commit":"49a7e9580d4be9030c6418d46cd331fc1244fa94","subject":"added missing file","message":"added missing file\n","repos":"dacb\/16S-pipeline","returncode":1,"stderr":"error: pathspec 'fa2sql.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- fa2sql.awk\n+++ fa2sql.awk\n@@ -0,0 +1,23 @@\n+BEGIN {\n+\ts = -1;\n+\tif (table == \"\")\n+\t\ttable = \"sequences\";\n+\tif (create_table == 1)\n+\t\tprintf(\"DROP TABLE IF EXISTS %s; CREATE TABLE %s ( otu VARCHAR(32) PRIMARY KEY, sequence LONGTEXT );\", table, table);\n+}\n+\n+\/^>\/ {\n+\t++s;\n+\totu[s] = $1; \n+\tsub(\">\", \"\", otu[s]);\n+\tsequence[s] = \"\";\n+}\n+{\n+\tif (substr($1, 1, 1) != \">\")\n+\t\tsequence[s] = sequence[s] $1;\n+}\n+END {\n+\tfor (i = 0; i <= s; ++i) { \n+\t\tprintf(\"INSERT INTO %s (otu, sequence) VALUES (\\\"%s\\\", \\\"%s\\\");\\n\", table, otu[i], sequence[i]);\n+\t}\n+} \n"}
{"commit":"e8beca047b9e99bc8e2336d5f7eb7b66e1fce987","subject":"Script for sampling N number of random reads from FASTQ files.","message":"Script for sampling N number of random reads from FASTQ files.\n","repos":"ballesterus\/PhyloUtensils","returncode":1,"stderr":"error: pathspec 'sampleReads.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- sampleReads.awk\n+++ sampleReads.awk\n@@ -0,0 +1,29 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN{RS=\"@\";\n+    ORS=\"\";\n+    FS=\"\\n\"\n+    if(ARGC< 3){\n+\tn=0;\n+\tcount=-1;}\n+    else{\n+\tn=ARGV[2];\n+\tcount=0;}\n+    delete ARGV[2];\n+    srand();\n+\n+    print \"Usage:\\n\\tsampleReads.awk <INFILE.fastq> <NUMBER OF READS TO BE SAMPLED>\\n\\nIf no number is provided reads will be sampled randomly till the end of the inpuit file.\\n\\n\";\n+\n+}\n+{\n+    OUTF=\"subsam_\" FILENAME;\n+    OUTF2=\"unsam_\" FILENAME;\n+    if (rand() >= 0.5 && count < n  && NF > 1){\n+\tprint \"@\" $0 >> OUTF;\n+\tif(n != 0)\n+\t    count=count+1;\t\n+    }\t\n+    else if (NF > 1)\n+\tprint \"@\" $0 >> OUTF2;\n+\t    \n+}\n+\n"}
{"commit":"7a3ed3640d6529a6868027de794a741aa691438f","subject":"tools: introduce log analyzer","message":"tools: introduce log analyzer\n\nThe included AWK script can analyze logs from BeeeOn Server in the current\nconfiguration. It also handles two date-time formats used:\n\n* testing: hh:mm:ss.iii\n* production: YY-MM-DD hh:mm:ss.iii\n\nThe script tries to determine timing of certain operations (if the logs\ncontain enough information), counts unique clients, client requests, etc.\n\nSigned-off-by: Jan Viktorin <3eab6ac54c005c4408f608556a6663b7f2abede7@fit.vutbr.cz>\n","repos":"BeeeOn\/server,BeeeOn\/server,BeeeOn\/server,BeeeOn\/server","returncode":1,"stderr":"error: pathspec 'tools\/log-analyze.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/log-analyze.awk\n+++ tools\/log-analyze.awk\n@@ -0,0 +1,423 @@\n+#! \/usr\/bin\/awk -f\n+\n+function log_trim_left(line)\n+{\n+\tsub(\/^.+\\[(Trace|Debug|Information|Notice|Warning|Error|Critical|Fatal)\\] \/, \"\", line)\n+\treturn line\n+}\n+\n+function log_trim_right(line)\n+{\n+\tsub(\/\\([^)]*:[0-9]*\\)$\/, \"\", line)\n+\treturn line\n+}\n+\n+function log_extract_pid_tid(line)\n+{\n+\tsub(\/:\\{\/, \"-\", line)\n+\tsub(\/,.+$\/, \"\", line)\n+\n+\treturn line\n+}\n+\n+function extract_message(line)\n+{\n+\tline = log_trim_left(line)\n+\treturn log_trim_right(line)\n+}\n+\n+function time2ms(time, part, result)\n+{\n+\tsplit(time, part, \"[:.]\")\n+\n+\tresult = part[1] * 60 * 60 * 1000\n+\tresult += part[2] * 60 * 1000\n+\tresult += part[3] * 1000\n+\tresult += part[4]\n+\n+\treturn result\n+}\n+\n+function time_stat(start, end)\n+{\n+\tif (start == 0)\n+\t\treturn \"??:??:??.???..\" end \" ?ms\"\n+\n+\treturn start \"..\" end \" \" (time2ms(end) - time2ms(start)) \"ms\"\n+}\n+\n+function report_counts(title, counts)\n+{\n+\tif (counts[0] > 0) {\n+\t\tprint title \":\", counts[0]\n+\n+\t\tfor (key in counts) {\n+\t\t\tif (key == 0)\n+\t\t\t\tcontinue\n+\n+\t\t\tprint \"*\", key \":\", counts[key]\n+\t\t}\n+\t}\n+}\n+\n+function clear_array(array, first_zero) {\n+\tfor (key in array)\n+\t\tdelete array[key]\n+\n+\tif (first_zero)\n+\t\tarray[0] = 0\n+}\n+\n+function count_array(array, key, count) {\n+\tcount = 0\n+\tfor (key in array)\n+\t\tcount += 1\n+\n+\treturn count\n+}\n+\n+function report_server_stats()\n+{\n+\treport_counts(\"Criticals\", criticals)\n+\treport_counts(\"Fatals\", fatals)\n+\n+\treport_counts(\"XML-UI clients\", xmlui_clients)\n+\n+\tif (xmlui_requests[0] > 0) {\n+\t\tprint \"Requests\"\n+\n+\t\tfor (key in xmlui_requests) {\n+\t\t\tif (key == 0)\n+\t\t\t\tcontinue\n+\n+\t\t\tsplit(key, multikey, SUBSEP)\n+\t\t\tif (multikey[2] != \"ip\")\n+\t\t\t\tcontinue\n+\n+\t\t\tip = xmlui_requests[multikey[1], \"ip\"]\n+\t\t\tstart = xmlui_requests[multikey[1], \"start\"]\n+\t\t\tend = xmlui_requests[multikey[1], \"end\"]\n+\t\t\tinfo = xmlui_requests[multikey[1], \"info\"]\n+\n+\t\t\tprint \"*\", ip \":\", time_stat(start, end), info\n+\t\t}\n+\t}\n+\n+\treport_counts(\"REST-UI clients\", restui_clients)\n+\n+\tif (count_array(restui_requests_total) > 0) {\n+\t\tprint \"REST-UI Requests\"\n+\t\tfor (key in restui_requests_total) {\n+\t\t\tprint \"*\", key \":\", restui_requests_total[key]\n+\t\t}\n+\t}\n+\n+\tif (count_array(restui_requests_uri) > 0) {\n+\t\tprint \"REST-UI URIs\"\n+\t\tfor (key in restui_requests_uri) {\n+\t\t\tprint \"*\", key \":\", restui_requests_uri[key]\n+\t\t}\n+\t}\n+\n+\treport_counts(\"GWS clients\", gws_clients)\n+\n+\tif (transactions[0] > 0) {\n+\t\tprint \"Transactions\"\n+\n+\t\tfor (key in transactions) {\n+\t\t\tif (key == 0)\n+\t\t\t\tcontinue\n+\n+\t\t\tsplit(key, multikey, SUBSEP)\n+\t\t\tif (multikey[2] != \"id\")\n+\t\t\t\tcontinue\n+\n+\t\t\tid = transactions[multikey[1], \"id\"]\n+\t\t\ttype = transactions[multikey[1], \"type\"]\n+\t\t\tstart = transactions[multikey[1], \"start\"]\n+\t\t\tend = transactions[multikey[1], \"end\"]\n+\n+\t\t\tprint \"*\", id \":\", time_stat(start, end), type\n+\t\t}\n+\t}\n+}\n+\n+function clear_stats()\n+{\n+\tclear_array(fatals, 1)\n+\tclear_array(criticals, 1)\n+\tclear_array(xmlui_clients, 1)\n+\tclear_array(xmlui_requests, 1)\n+\tclear_array(restui_clients, 1)\n+\tclear_array(restui_requests_total, 0)\n+\tclear_array(restui_requests_uri, 0)\n+\tclear_array(gws_clients, 1)\n+\tclear_array(transactions, 1)\n+\tclear_array(thread_pools, 1)\n+\n+\ttypes_count = 0\n+\tenums_count = 0\n+\tdevs_count = 0\n+\tqueries_count = 0\n+\tinstances_count = 0\n+\trest_mappings = 0\n+}\n+\n+BEGIN {\n+\tclear_stats()\n+\tHAS_DATE = 0\n+}\n+\n+\/ (19[0-9]{2}|20[0-9]{2})-[012][0-9]-[0-3][0-9] \/ {\n+\tHAS_DATE = 1\n+}\n+\n+!\/ (19[0-9]{2}|20[0-9]{2})-[012][0-9]-[0-3][0-9] \/ {\n+\tHAS_DATE = 0\n+}\n+\n+\/PermitAuthProvider\/ && \/SOME AUTHS\/ {\n+\tprint\n+}\n+\n+\/PermitAuthProvider\/ {\n+\tnext\n+}\n+\n+\/\\[Fatal\\]\/ {\n+\t_line = $0\n+\t_msg = extract_message($0)\n+\n+\tif (fatals[_msg] == 0)\n+\t\tfatals[0] += 1\n+\n+\tfatals[_msg] += 1\n+\tif (fatals[_msg] == 1)\n+\t\tprint line\n+}\n+\n+\/\\[Critical\\]\/ {\n+\t_line = $0\n+\t_msg = extract_message($0)\n+\n+\tif (criticals[_msg] == 0)\n+\t\tcriticals[0] += 1\n+\n+\tcriticals[_msg] += 1\n+\tif (criticals[_msg] == 1)\n+\t\tprint line\n+}\n+\n+\/^Application \/ && \/ version \/ {\n+\treport_server_stats()\n+\tclear_stats()\n+\n+\tif (HAS_DATE)\n+\t\t_time = $2 \" \" $3\n+\telse\n+\t\t_time = $2\n+\n+\tprint \"# Server run report \" _time\n+\tprint extract_message($0)\n+}\n+\/^Application \/ && \/ Poco library \/ {\n+\tprint extract_message($0)\n+}\n+\n+\/IcuLocaleManager\/ && \/using ICU \/ {\n+\tprint extract_message($0)\n+}\n+\n+\/IcuLocaleManager\/ && \/resource dir: \/ {\n+\tprint extract_message($0)\n+}\n+\n+\/IcuLocaleManager\/ && \/detected locale: \/ {\n+\t$0 = log_trim_left($0)\n+\tprint \"locale: \", $3\n+}\n+\n+\/PocoDaoManager\/ && \/initialize database\/ {\n+\tprint extract_message($0)\n+}\n+\n+\/PocoDaoManager\/ && \/Session \/ && \/transact\/ {\n+\tprint extract_message($0)\n+}\n+\n+\/PocoSqitchInitializer\/ && \/unsafe deploy \/ {\n+\tprint extract_message($0)\n+}\n+\n+\/PocoSimpleDBInitializer\/ && \/executed script \/ {\n+\tprint extract_message($0)\n+}\n+\n+\/TypeInfoProvider\/ && \/register type \/ {\n+\ttypes_count += 1\n+}\n+\n+\/EnumInfoProvider\/ && \/register enum \/ {\n+\tenums_count += 1\n+}\n+\n+\/DevicesSAXHandler\/ && \/Warning\/ {\n+\tprint extract_message($0)\n+}\n+\n+\/DeviceInfoProvider\/ && \/register device \/ {\n+\tdevs_count += 1\n+}\n+\n+\/ loading query \/ {\n+\tqueries_count += 1\n+}\n+\n+\/DependencyInjector\/ && \/successfully created \/ {\n+\tinstances_count += 1\n+}\n+\n+\/RestRouter\/ && \/mapping \/ {\n+\trest_mappings += 1\n+}\n+\n+\/^Application\/ && \/starting runner\/ {\n+\tprint extract_message($0)\n+}\n+\n+\/ creating thread pool \/ {\n+\t$0 = log_trim_left($0)\n+\t_curr = thread_pools[0] + 1\n+\tthread_pools[0] = _curr\n+\tthread_pools[_curr, \"min\"] += $5\n+\tthread_pools[_curr, \"max\"] += $7\n+}\n+\n+\/LoopRunner\/ && \/ started \/ && \/ loops \/ {\n+\tprint \"Value types:   \", types_count\n+\tprint \"Enum subtypes: \", enums_count\n+\tprint \"Device types:  \", devs_count\n+\tprint \"DB queries:    \", queries_count\n+\tprint \"DI instances:  \", instances_count\n+\tprint \"REST mappings: \", rest_mappings\n+\n+\t$0 = log_trim_left($0)\n+\tprint \"Loops:         \", $2\n+\n+\tthreads_min = 0\n+\tthreads_max = 0\n+\n+\tfor (i = 0; i < thread_pools[0]; ++i) {\n+\t\tthreads_min += thread_pools[i + 1, \"min\"]\n+\t\tthreads_max += thread_pools[i + 1, \"max\"]\n+\t}\n+\n+\tprint \"Thread pools:  \", thread_pools[0]\n+\tprint \"Threads:       \", threads_min \"..\" threads_max\n+}\n+\n+\/XmlRequestHandlerFactory\/ && \/ accepting client \/ {\n+\t_id = log_extract_pid_tid($(3 + HAS_DATE))\n+\t$0 = log_trim_left($0)\n+\n+\tsplit($3, _addr, \":\")\n+\t_ip = _addr[1]\n+\n+\tif (xmlui_clients[_ip] == 0)\n+\t\txmlui_clients[0] += 1\n+\n+\txmlui_clients[_ip] += 1\n+\txmlui_requests_tmp[_id, \"ip\"] = _ip\n+}\n+\n+\/XmlRequestHandlerFactory\/ && \/document: <request\/ {\n+\t_id = log_extract_pid_tid($(3 + HAS_DATE))\n+\txmlui_requests_tmp[_id, \"start\"] = $(2 + HAS_DATE)\n+\n+\t_msg = extract_message($0)\n+\n+\tif (match(_msg, \/ ns=\"[^\"]+\" \/) > 0) {\n+\t\t_ns = substr(_msg, RSTART, RLENGTH)\n+\t\tsub(\/^.*=\"\/, \"\", _ns)\n+\t\tsub(\/\".*$\/, \"\", _ns)\n+\t}\n+\tif (match(_msg, \/ type=\"[^\"]+\" \/) > 0) {\n+\t\t_type = substr(_msg, RSTART, RLENGTH)\n+\t\tsub(\/^.*=\"\/, \"\", _type)\n+\t\tsub(\/\".*$\/, \"\", _type)\n+\t}\n+\n+\txmlui_requests_tmp[_id, \"info\"] = _ns \":\" _type\n+}\n+\n+\/XmlRequestHandler\/ && \/<response\/ {\n+\t_id = log_extract_pid_tid($(3 + HAS_DATE))\n+\t_curr = xmlui_requests[0] + 1\n+\txmlui_requests[0] = _curr\n+\n+\txmlui_requests[_curr, \"ip\"] = xmlui_requests_tmp[_id, \"ip\"]\n+\tdelete xmlui_requests_tmp[_id, \"ip\"]\n+\txmlui_requests[_curr, \"start\"] = xmlui_requests_tmp[_id, \"start\"]\n+\tdelete xmlui_requests_tmp[_id, \"start\"]\n+\txmlui_requests[_curr, \"info\"] = xmlui_requests_tmp[_id, \"info\"]\n+\tdelete xmlui_requests_tmp[_id, \"info\"]\n+\n+\txmlui_requests[_curr, \"end\"] = $(2 + HAS_DATE)\n+}\n+\n+\/PocoRestRequestFactory\/ && \/handling request\/ {\n+\t$0 = extract_message($0)\n+\trestui_requests_total[$3] += 1\n+\trestui_requests_uri[$4] += 1\n+\n+\tsplit($6, _addr, \":\")\n+\t_ip = _addr[1]\n+\n+\tif (restui_clients[_ip] == 0)\n+\t\trestui_clients[0] += 1\n+\n+\trestui_clients[_ip] += 1\n+}\n+\n+\/WebSocketRequestHandler\/ && \/connection from \/ {\n+\t$0 = log_trim_left($0)\n+\n+\tsplit($3, _addr, \":\")\n+\t_ip = _addr[1]\n+\n+\tif (gws_clients[_ip] == 0)\n+\t\tgws_clients[0] += 1\n+\n+\tgws_clients[_ip] += 1\n+}\n+\n+\/ transaction \/ && \/ started \/ {\n+\t_time = $(2 + HAS_DATE)\n+\t_thread = log_extract_pid_tid($(3 + HAS_DATE))\n+\t$0 = extract_message($0)\n+\t_id = $2 \"-\" _thread\n+\ttransactions_tmp[_id, \"start\"] = _time\n+}\n+\n+\/ transaction \/ && (\/ commit \/ || \/ rollback \/) {\n+\t_time = $(2 + HAS_DATE)\n+\t_thread = log_extract_pid_tid($(3 + HAS_DATE))\n+\t$0 = extract_message($0)\n+\t_id = $2 \"-\" _thread\n+\t_type = $3\n+\n+\t_curr = transactions[0] + 1\n+\ttransactions[0] = _curr\n+\n+\ttransactions[_curr, \"start\"] = transactions_tmp[_id, \"start\"]\n+\tdelete transactions_tmp[_id, \"start\"]\n+\n+\ttransactions[_curr, \"end\"] = _time\n+\ttransactions[_curr, \"type\"] = _type\n+\ttransactions[_curr, \"id\"] = _id\n+}\n+\n+END {\n+\treport_server_stats()\n+\tclear_stats()\n+}\n"}
{"commit":"a8e86c9305cef83a8f1fe8de9381b8dcf8b463c9","subject":"port of csvquote to awk. no command line options support yet. it's slow","message":"port of csvquote to awk. no command line options support yet. it's slow\n","repos":"dbro\/csvquote,dbro\/csvquote","returncode":1,"stderr":"error: pathspec 'csvquote.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- csvquote.awk\n+++ csvquote.awk\n@@ -0,0 +1,99 @@\n+#!\/usr\/bin\/awk -f\n+# csvquote in awk\n+# TODO assign the special characters using command line flags\n+# TODO add header mode\n+\n+BEGIN {\n+    # read one line at a time\n+    FS=\"\";\n+    OFS=FS;\n+    delimiter=\",\";\n+    recordsep=\"\\n\";\n+    quotechar=\"\\\"\";\n+    delimiter_code=\"\\035\";\n+    recordsep_code=\"\\034\";\n+    replace_mode = 1; # true. if restore mode then 0\n+    # existing_state is a global variable\n+    existing_state[1] = 0; # false\n+    existing_state[2] = 0; # false\n+    existing_state[3] = \"\"; # empty buffer\n+}\n+\n+function replace_special_chars(c) {\n+    # existing_state is a global variable. it could be passed in as an array\n+    # (pass-by-ref) but we still need to persist its state from one input\n+    # line to the next and it needs to be altered by this function, so\n+    # can't be simple variables\n+    quote_in_effect = existing_state[1];\n+    maybe_escaped_quote_char = existing_state[2];\n+    writebuf = existing_state[3];\n+\n+    if (maybe_escaped_quote_char) {\n+        if (c != quotechar) {\n+            # this is the end of a quoted field\n+            quote_in_effect = 0; # false\n+        }\n+        writebuf = writebuf c; # concat\n+        maybe_escaped_quote_char = 0; # false\n+    } else if (quote_in_effect) {\n+        if (c == quotechar) {\n+            # this is either an escaped quote char or the end of a quoted\n+            # field. need to read one more character to decide which\n+            writebuf = writebuf c; # concat\n+            maybe_escaped_quote_char = 1; # true\n+        } else if (c == delimiter) {\n+            writebuf = writebuf delimiter_code; # concat\n+        } else if (c == recordsep) {\n+            writebuf = writebuf recordsep_code; # concat\n+        } else {\n+            writebuf = writebuf c; # concat\n+        }\n+    } else {\n+        # quote not in effect\n+        writebuf = writebuf c; # concat\n+        if (c == quotechar) {\n+            quote_in_effect = 1; # true\n+        }\n+    }\n+\n+    existing_state[1] = quote_in_effect;\n+    existing_state[2] = maybe_escaped_quote_char;\n+    existing_state[3] = writebuf;\n+}\n+\n+function restore_special_chars(c) {\n+    writebuf = existing_state[3];\n+    if (c == delimiter_code) {\n+        writebuf = writebuf delimiter; # concat\n+    } else if (c == recordsep_code) {\n+        writebuf = writebuf recordsep; # concat\n+    } else {\n+        writebuf = writebuf c; # concat\n+    }\n+    existing_state[3] = writebuf;\n+}\n+\n+(replace_mode) {\n+    # do this for every input line\n+    for (i=1;i<=NF;i++) {\n+        replace_special_chars($i);\n+    }\n+    printf(\"%s\", existing_state[3]);\n+    existing_state[3] = \"\";\n+    replace_special_chars(RS);\n+}\n+\n+(!replace_mode) {\n+    # restore the original special characters\n+    # do this for every input line\n+    for (i=1;i<=NF;i++) {\n+        restore_special_chars($i);\n+    }\n+    printf(\"%s\", existing_state[3]);\n+    existing_state[3] = \"\";\n+    restore_special_chars(RS);\n+}\n+\n+END {\n+    printf(\"%s\", existing_state[3]); #flush\n+}\n"}
{"commit":"fb3d0d57159b22ad549742481253f1f5049e6283","subject":"Add a simple stats tool","message":"Add a simple stats tool\n\n","repos":"jimregan\/languagetool,languagetool-org\/languagetool,janissl\/languagetool,janissl\/languagetool,meg0man\/languagetool,languagetool-org\/languagetool,janissl\/languagetool,meg0man\/languagetool,meg0man\/languagetool,meg0man\/languagetool,jimregan\/languagetool,lopescan\/languagetool,lopescan\/languagetool,janissl\/languagetool,janissl\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,jimregan\/languagetool,lopescan\/languagetool,meg0man\/languagetool,languagetool-org\/languagetool,lopescan\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,lopescan\/languagetool","returncode":1,"stderr":"error: pathspec 'trunk\/JLanguageTool\/src\/dev\/tools\/stats.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- trunk\/JLanguageTool\/src\/dev\/tools\/stats.awk\n+++ trunk\/JLanguageTool\/src\/dev\/tools\/stats.awk\n@@ -0,0 +1,44 @@\n+#Script to sort rule matches from LanguageTool\n+#Usage: gawk -f stats.awk <file_created_by_LanguageTool>\n+#(c) 2008, Marcin Mikowski\n+#Licensed on the terms of LGPL 3.0\n+\n+\/[0-9]+\\.\\)\/ {\n+gsub(\/^.*ID: \/,\"\")\n+rule_cnt[$0]++\n+current_rule=$0\n+rulematch=1\n+}\n+\/^$\/ {current_rule=\"\"}\n+\/^(Message: |Suggestion: |\\.\\.\\.)\/ {\n+comments[current_rule]= comments[current_rule] \"\\n\" $0\n+}\n+\/^ \/ && \/ \\^\/ {\n+comments[current_rule]= comments[current_rule] \"\\n\" $0 \"\\n\"\n+}\n+END {\n+if (rulematch==1) {\n+print \"LanguageTool rule matches in descending order\"\n+print \"=============================================\"\n+print \"\"\n+}\n+z = asorti(rule_cnt, rule_names)\n+#for (i = 1; i <= z; i++)\n+ #   print i \" \" rule_names[i]\n+n = asort(rule_cnt, rules)\n+\n+for (i = z; i >= 1; i--) {\n+\n+\tfor (j = 1; j <= z; j++) {\n+#\t\tprint j \" \" rule_names[j] \" => \" rule_cnt[rule_names[j]]\n+\t\tif (rule_cnt[rule_names[j]]==rules[i] \\\n+\t\t\t&& printed[rule_names[j]]!=\"done\") {\t\t\t\t\n+\t\t\t\tprinted[rule_names[j]]=\"done\"\t\t\t\t\n+\t\t\t\trule=rule_names[j]\n+\tprint \"Rule ID: \" rule \", matches: \" rule_cnt[rule]\n+\tprint comments[rule]\n+\tprint \"=============\"\n+\t\t}\n+\t}\n+}\t\n+}"}
{"commit":"a31536d118944b0df514035b84af53a3c60022b4","subject":"Hello world in AWK language","message":"Hello world in AWK language","repos":"WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17,WebClub-NITK\/Hacktoberfest-2k17","returncode":1,"stderr":"error: pathspec 'Hello' did not match any file(s) known to git\nerror: pathspec 'AWK\/Sudhanshu36.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":""}
{"commit":"c572a3a3ffe689bfb9c2ef88e72a5e552a634c95","subject":"Find largest ordered word","message":"Find largest ordered word\n","repos":"dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook","returncode":1,"stderr":"error: pathspec 'praxis\/ordered-words.awk' did not match any file(s) known to git\n","license":"isc","lang":"Awk","diff":"--- praxis\/ordered-words.awk\n+++ praxis\/ordered-words.awk\n@@ -0,0 +1,18 @@\n+# Largest ordered word\n+# Copyright 2015 Dennis Decker Jensen\n+# Tectonics: awk -f ordered-words.awk < \/usr\/share\/dict\/words\n+\n+BEGIN {\n+        maxlen = length(max = \"\")\n+}\n+{\n+        word = $0\n+        len = length(word)\n+        if (len < maxlen) next\n+        for (i = 1; i <= len - 1; ++i)\n+                if (substr(word, i, 1) < substr(word, i + 1, 1))\n+                        maxlen = length(max = word)\n+}\n+END {\n+        printf(\"Largest word '%s' is %d characters long\\n\", max, maxlen)\n+}\n"}
{"commit":"cd4d3877392fff9f6abc0ad76d508f48148ea160","subject":"checkpoint","message":"checkpoint\n","repos":"stuartyeates\/rsnz-fellows","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/stuartyeates\/rsnz-fellows.git\/'\n","license":"unlicense","lang":"Awk","diff":""}
{"commit":"9435047d75c8d04ba5e8e721a722f01726a58ad4","subject":"first","message":"first\n\n","repos":"jimregan\/languagetool,jimregan\/languagetool,meg0man\/languagetool,jimregan\/languagetool,janissl\/languagetool,lopescan\/languagetool,lopescan\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,meg0man\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,lopescan\/languagetool,janissl\/languagetool,jimregan\/languagetool,meg0man\/languagetool,janissl\/languagetool,janissl\/languagetool,janissl\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,lopescan\/languagetool,lopescan\/languagetool,meg0man\/languagetool","returncode":1,"stderr":"error: pathspec 'trunk\/languagetool\/dict-de\/awk\/checkaffix.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- trunk\/languagetool\/dict-de\/awk\/checkaffix.awk\n+++ trunk\/languagetool\/dict-de\/awk\/checkaffix.awk\n@@ -0,0 +1,45 @@\n+#\n+# check_affix.awk\n+#  check affix file for Oo myspell\n+#\n+function is_fx(s)\n+{\n+   if(s == \"PFX\")\n+\t  return 1;\n+   if(s == \"SFX\")\n+\t  return 2;\n+\t if(s == \"REP\")\n+\t  return 3;\n+   return 0;\n+}\n+BEGIN {linenr = 0; nr = 0;}\n+\n+    { ++linenr;\n+\t   if(nr){\n+\t\t  if(sorszam++ == nr){\n+\t\t     sorszam = 0;\n+\t\t\t  nr = 0;\n+\t\t\n+\t\t\t  if(NF > 1 && substr($0,1,1) != \"#\" && ((is_fx($1) < 3) && (is_fx($1) > 0)  && ($4 + 0) == 0)){\n+\t\t        print \"2. error in line \" linenr \" line:\" $0;\n+#\t\t\t  next;\n+           }\n+\t\t  }  \n+\t\t  else if($1 != veg || ((fxtyp < 3) && (($2 != typ) || (NF < 5)) )){\n+\t\t    print \"1. error in line \" linenr\" line:\" $0;\n+\t\t     sorszam = 0;\n+\t\t\t  nr = 0;\n+\t\t\t  next;\t\t \n+\t\t }\n+\t\t  else\n+\t\t    next;\n+\t\t }\n+\t   while(!(ret = is_fx($1)))next;\n+\t\t veg = $1;\n+\t\t typ = $2;\n+\t\t fxtyp = ret;\n+\t\t if(ret < 3) nr = $4 + 0;\n+\t\t    else nr = $2 + 0;\n+       sorszam = 0;\t\n+#\t\t print \"---1 \" $0\" nr:\"nr;\t\t\n+\t\t}"}
{"commit":"7f22999cba5be80365f6a28cdd8b84c8267c88bc","subject":"Add a script to parse acpi_quirks into a header file that we can compile into ACPI.  Script written by Mark Santcroos with some edits from myself.","message":"Add a script to parse acpi_quirks into a header file that we can compile\ninto ACPI.  Script written by Mark Santcroos with some edits from myself.\n\nSubmitted by:\tmarks\n","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase","returncode":1,"stderr":"error: pathspec 'sys\/tools\/acpi_quirks2h.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- sys\/tools\/acpi_quirks2h.awk\n+++ sys\/tools\/acpi_quirks2h.awk\n@@ -0,0 +1,191 @@\n+#!\/usr\/bin\/awk -f\n+#\n+# $FreeBSD$\n+#\n+# Copyright (c) 2004 Mark Santcroos <marks@ripe.net>\n+# All rights reserved.\n+#\n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions\n+# are met:\n+# 1. Redistributions of source code must retain the above copyright\n+#    notice, this list of conditions and the following disclaimer.\n+# 2. Redistributions in binary form must reproduce the above copyright\n+#    notice, this list of conditions and the following disclaimer in the\n+#    documentation and\/or other materials provided with the distribution.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n+# SUCH DAMAGE.\n+#\n+\n+BEGIN {\n+\tOUTPUT=\"acpi_quirks.h\"\n+}\n+\n+# Print header and id\n+NR == 1 {\n+\tVERSION = $0;\n+\tgsub(\"\\^# \", \"\", VERSION)\n+\tgsub(\"\\\\$\", \"\", VERSION)\n+\n+\tprintf(\"\/*\\n\") > OUTPUT;\n+\tprintf(\" * THIS FILE IS AUTOMAGICALLY GENERATED.  DO NOT EDIT.\\n\") \\\n+\t    > OUTPUT;\n+\tprintf(\" *\\n\") > OUTPUT;\n+\tprintf(\" * Generated from:\\n\") > OUTPUT;\n+\tprintf(\" * %s\\n\", VERSION) > OUTPUT;\n+\tprintf(\" *\/\\n\\n\") > OUTPUT;\n+}\n+\n+# Ignore comments and empty lines\n+\/^#\/, NF == 0 {\n+}\n+\n+#\n+# NAME field: this is the first line of every entry\n+#\n+$1 == \"name:\" {\n+\tENTRY_NAME = $2;\n+\tprintf(\"const struct acpi_table %s[] = {\\n\", ENTRY_NAME) > OUTPUT;\n+}\n+\n+#\n+# OEM field\n+#\n+$1 == \"oem:\" {\n+\tLENGTH = length();\n+\n+\t# Parse table type to match\n+\tTABLE = $2;\n+\n+\t# Parse OEM ID\n+\tM = match ($0, \/\\\"[^\\\"]*\\\"\/);\n+\tOEM_ID = substr($0, M, RLENGTH);\n+\n+\t# Parse OEM Table ID\n+\tANCHOR = LENGTH - (M + RLENGTH - 1);\n+\tREMAINDER = substr($0, M + RLENGTH, ANCHOR);\n+\tM = match (REMAINDER, \/\\\"[^\\\"]*\\\"\/);\n+\tOEM_TABLE_ID = substr(REMAINDER, M, RLENGTH);\n+\n+\tprintf(\"\\t{ ACPI_TABLE_%s, OEM, %s, %s },\\n\",\n+\t    TABLE, OEM_ID, OEM_TABLE_ID) > OUTPUT;\n+}\n+\n+#\n+# CREATOR field\n+#\n+$1 == \"creator:\" {\n+\t# Parse table type to match\n+\tTABLE = $2;\n+\n+\tM = match ($0, \/\\\"[^\\\"]*\\\"\/);\n+\tCREATOR = substr($0, M, RLENGTH);\n+\n+\tprintf(\"\\t{ ACPI_TABLE_%s, CREATOR, %s },\\n\", TABLE, CREATOR) > OUTPUT;\n+}\n+\n+#\n+# OEM REVISION field\n+#\n+$1 == \"oem_rev:\" {\n+\tTYPE = $2;\n+\tSIGN = $3;\n+\tVALUE = $4;\n+\n+\t# Parse operand\n+\tOPERAND = trans_sign(SIGN);\n+\n+\t# Parse OEM revision ID\n+\tREV = \"OEM_REV\";\n+\n+\tprintf(\"\\t{ ACPI_TABLE_%s, %s, %s, %s },\\n\",\n+\t    TYPE, REV, OPERAND, VALUE) > OUTPUT;\n+}\n+\n+#\n+# CREATOR REVISION field\n+#\n+$1 == \"creator_rev:\" {\n+\tTYPE = $2;\n+\tSIGN = $3;\n+\tVALUE = $4;\n+\n+\t# Parse operand\n+\tOPERAND = trans_sign(SIGN);\n+\n+\t# Parse creator revision ID\n+\tREV = \"CREATOR_REV\";\n+\n+\tprintf(\"\\t{ ACPI_TABLE_%s, %s, %s, %s },\\n\",\n+\t    TYPE, REV, OPERAND, VALUE) > OUTPUT;\n+}\n+\n+#\n+# QUIRKS field: This is the last line of every entry\n+#\n+$1 == \"quirks:\" {\n+\tprintf(\"\\t{ ACPI_TABLE_END }\\n};\\n\\n\") > OUTPUT;\n+\n+\tQUIRKS = $0;\n+\tsub(\/^quirks:[ ]*\/ , \"\", QUIRKS);\n+\n+\tQUIRK_COUNT++;\n+\tQUIRK_LIST[QUIRK_COUNT] = QUIRKS;\n+\tQUIRK_NAME[QUIRK_COUNT] = ENTRY_NAME;\n+}\n+\n+#\n+# All information is gathered, now create acpi_quirks_table\n+#\n+END {\n+\t# Header\n+\tprintf(\"const struct acpi_blacklist acpi_quirks_table[] = {\\n\") \\\n+\t    > OUTPUT;\n+\n+\t# Array of all quirks\n+\tfor (i = 1; i <= QUIRK_COUNT; i++) {\n+\t\tprintf(\"\\t{ %s, %s },\\n\", QUIRK_NAME[i], QUIRK_LIST[i]) \\\n+\t\t    > OUTPUT;\n+\t}\n+\n+\t# Footer\n+\tprintf(\"\\t{ NULL, 0 }\\n\") > OUTPUT;\n+\tprintf(\"};\\n\") > OUTPUT;\n+\n+\texit(0);\n+}\n+\n+#\n+# Translate math SIGN into verbal OPERAND\n+#\n+function trans_sign(TMP_SIGN)\n+{\n+\tif (TMP_SIGN == \"=\")\n+\t\tTMP_OPERAND = \"OP_EQL\";\n+\telse if (TMP_SIGN == \"!=\")\n+\t\tTMP_OPERAND = \"OP_NEQ\";\n+\telse if (TMP_SIGN == \"<=\")\n+\t\tTMP_OPERAND = \"OP_LEQ\";\n+\telse if (TMP_SIGN == \">=\")\n+\t\tTMP_OPERAND = \"OP_GEQ\";\n+\telse if (TMP_SIGN == \">\")\n+\t\tTMP_OPERAND = \"OP_GTR\";\n+\telse if (TMP_SIGN == \"<\")\n+\t\tTMP_OPERAND = \"OP_LES\";\n+\telse {\n+\t\tprintf(\"error: unknown sign: \" TMP_SIGN \"\\n\");\n+\t\texit(1);\n+\t}\n+\n+\treturn (TMP_OPERAND);\n+}\n"}
{"commit":"b4f11a4ec54582283ad391ba1982a69938d538d0","subject":"    print ac_join(sb, RS)","message":"    print ac_join(sb, RS)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"2733128c10aa3b0cea91a3f83fa370b155da0208","subject":"Added an awk script to analyze app fractions.","message":"Added an awk script to analyze app fractions.\n","repos":"lagerspetz\/TimeSeriesSpark,lagerspetz\/TimeSeriesSpark","returncode":1,"stderr":"error: pathspec 'energy-data-processing\/analyze-apps-fractions.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- energy-data-processing\/analyze-apps-fractions.awk\n+++ energy-data-processing\/analyze-apps-fractions.awk\n@@ -0,0 +1,19 @@\n+#!\/usr\/bin\/awk -f\n+\n+$0 ~ \"app fractions:\" {\n+  print $0\n+  c=1\n+}\n+\n+c == 1 {\n+  w=$(NF-1)\n+  if (w+0 != w)\n+    next\n+  v=$(NF)\n+  if (v+0 != v)\n+    next\n+  if (w == 0 && v == 0)\n+    next\n+  print $0\n+}\n+\n"}
{"commit":"e7a8c3a172edae64a50c616ce3b259715b004aae","subject":"Add uniqueLines.awk","message":"Add uniqueLines.awk\n","repos":"milamd\/sh,SergKolo\/sh","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/SergKolo\/sh.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"ef2f974a813882f0228249248289d5df162e8743","subject":"Added an awk script for examining complete journal logs in one place.","message":"Added an awk script for examining complete journal logs in one place.\n","repos":"andlabs\/e4jexamine","returncode":1,"stderr":"error: pathspec 'fulllog.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- fulllog.awk\n+++ fulllog.awk\n@@ -0,0 +1,14 @@\n+# 2 january 2015\n+# usage: .\/e4jexamine summary file | awk -f fulllog.awk file\n+# TODO pass options to e4jexamine\n+BEGIN {\n+\tfile = ARGV[1]\n+\tARGC = 1\n+}\n+{ print }\n+\/descriptor\/ {\n+\tcmd = sprintf(\".\/e4jexamine descdump.%s %s\", $1, file)\n+\twhile (cmd | getline)\n+\t\tprintf \"\\t%s\\n\", $0\n+\tclose(cmd)\n+}\n"}
{"commit":"171c0ae4d62ff94370e5e939dbd259caa6def287","subject":"imprement md parser","message":"imprement md parser\n","repos":"amamama\/hairy-octo-sansa,amamama\/hairy-octo-sansa","returncode":1,"stderr":"error: pathspec 'md2slide.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- md2slide.awk\n+++ md2slide.awk\n@@ -0,0 +1,88 @@\n+function parse_line(line,   ret) {\n+\tif (line ~ \/^#[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\n+\t} else if (line ~ \/^##[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h2\", parse_line(gensub(\/^##[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)));\n+\t} else if (line ~ \/^###[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h3\", parse_line(gensub(\/^###[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)));\n+\t} else if (line ~ \/^####[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h4\", parse_line(gensub(\/^####[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)));\n+\t} else if (line ~ \/^#####[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h5\", parse_line(gensub(\/^#####[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)));\n+\t} else if (line ~ \/^######[[:space:]]*[^[:space:]].*[^[:space:]][[:space:]]*$\/) {\n+\t\tret = ret tag(\"h6\", parse_line(gensub(\/^######[[:space:]]*([^[:space:]].*[^[:space:]])[[:space:]]*$\/, \"\\\\1\", \"g\", line)));\n+\t} else if (line ~ \/\\*\\*[^[:space:]].+[^[:space:]]\\*\\*\/) {\n+\t\tret = ret parse_line(gensub(\/\\*\\*([^[:space:]].+[^[:space:]])\\*\\*\/, \"<strong>\\\\1<\/strong>\", \"g\", line));\n+\t} else if (line ~ \/__[^[:space:]].+[^[:space:]]__\/) {\n+\t\tret = ret parse_line(gensub(\/__([^[:space:]].+[^[:space:]])__\/, \"<strong>\\\\1<\/strong>\", \"g\", line));\n+\t} else if (line ~ \/\\*[^[:space:]*].+[^[:space:]*]\\*\/) {\n+\t\tret = ret parse_line(gensub(\/\\*([^[:space:]*].+[^[:space:]*])\\*\/, \"<em>\\\\1<\/em>\", \"g\", line));\n+\t} else if (line ~ \/_[^[:space:]_].+[^[:space:]_]_\/) {\n+\t\tret = ret parse_line(gensub(\/_([^[:space:]_].+[^[:space:]_])_\/, \"<em>\\\\1<\/em>\", \"g\", line));\n+\t} else if (line ~ \/\\[.+\\]\\(.+\\)\/) {\n+\t\tret = ret gensub(\/\\[(.+)\\]\\((.+)\\)\/, \"<a href=\\\"\\\\2\\\">\\\\1<\/a>\", \"g\", line);\n+\t} else {\n+\t\tgsub(\/  $\/, \"<br \/>\", line);\n+\t\tret = ret line;\n+\t}\n+\treturn ret;\n+}\n+\n+function tag(stag, body) {\n+\treturn \"<\" stag \">\" body \"<\/\" stag \">\";\n+}\n+\n+function parse_para(para,   lines, ret) {\n+\tmax_idx = split(para, lines);\n+\tret = ret \"<p>\";\n+\tfor (i = 1; i <= max_idx; i++) {\n+\t\tif (lines[i + 1] ~ \/^=+\/) {\n+\t\t\tret = ret tag(\"h1\", parse_line(lines[i]));\n+\t\t} else if (lines[i + 1] ~ \/^-+\/) {\n+\t\t\tret = ret tag(\"h2\", parse_line(lines[i]));\n+\t\t} else if (lines[i] ~ \/^=+\/ || lines[i] ~ \/^-+\/) {\n+\t\t\tret = ret \"<hr \/>\";\n+\t\t}else if (lines[i] ~ \/^[[:space:]]*>\/) {\n+\t\t\tret = ret \"<blockquote>\"\n+\t\t\tfor (; lines[i] ~ \/^[[:space:]]*>\/; i++) {\n+\t\t\t\tret = ret parse_line(gensub(\/^[[:space:]]*>(.*)\/, \"\\\\1\", \"g\", lines[i]));\n+\t\t\t}\n+\t\t\tret = ret \"<\/blockquote>\";\n+\t\t} else if (lines[i] ~ \/^[[:space:]]*(\\*|-)[[:space:]]+[^[:space:]].*\/) {\n+\t\t\tret = ret \"<li>\";\n+\t\t\tfor (; lines[i] ~ \/^[[:space:]]*(\\*|-)\/; i++) {\n+\t\t\t\tret = ret tag(\"ul\", parse_line(gensub(\/^[[:space:]]*(\\*|-)[[:space:]]+([^[:space:]].*)\/, \"\\\\2\", \"g\", lines[i])));\n+\t\t\t}\n+\t\t\tret = ret \"<\/li>\";\n+\t\t} else if (lines[i] ~ \/^[[:space:]]*[[:digit:]]+[[:space:]]+[^[:space:]].*\/) {\n+\t\t\tret = ret \"<li>\";\n+\t\t\tfor (; lines[i] ~ \/^[[:space:]]*[[:digit:]]+[[:space:]]+[^[:space:]].*\/; i++) {\n+\t\t\t\tret = ret tag(\"ul\", parse_line(gensub(\/^[[:space:]]*[[:digit:]]+[[:space:]]+([^[:space:]].*)\/, \"\\\\1\", \"g\", lines[i])));\n+\t\t\t}\n+\t\t\tret = ret \"<\/li>\";\n+\t\t} else if (lines[i] ~ \/^```\/) {\n+\t\t\tret = ret \"<code>\";\n+\t\t\tfor (; lines[i] !~ \/^```\/; i++) {\n+\t\t\t\tret lines[i] \"<br \/>\";\n+\t\t\t}\n+\t\t\tret = ret \"<\/code>\";\n+\t\t} else {\n+\t\t\tret = ret parse_line(lines[i]);\n+\t\t}\n+\t}\n+\tret = ret \"<\/p>\";\n+\treturn ret;\n+}\n+\n+BEGIN {\n+\tRS = \"\";\n+\tFS = \"\\n\";\n+}\n+\n+{\n+\tprint parse_para($0);\n+\n+}\n+\n+END {\n+}\n"}
{"commit":"9f1470c723eb2723693693be78f2bddc17cb3b4a","subject":"Added Harshad Number in AWK","message":"Added Harshad Number in AWK\n","repos":"aayushKumarJarvis\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,movb\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Endika\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,mishin\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Endika\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,movb\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,movb\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,mishin\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,warreee\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,mishin\/Algorithm-Implementations,mishin\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,mishin\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,warreee\/Algorithm-Implementations,mishin\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,warreee\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,mishin\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,movb\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,movb\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Endika\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,mishin\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,warreee\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,warreee\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,warreee\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,mishin\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,warreee\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,movb\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,movb\/Algorithm-Implementations,mishin\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,mishin\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,mishin\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,mishin\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,warreee\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Endika\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,movb\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Endika\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,movb\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,movb\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,movb\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,movb\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Endika\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,movb\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,movb\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,mishin\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Endika\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,warreee\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,warreee\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Endika\/Algorithm-Implementations,movb\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations","returncode":1,"stderr":"error: pathspec '10_Harshad_Number\/AWK\/wasi0013\/HarshadNumber.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- 10_Harshad_Number\/AWK\/wasi0013\/HarshadNumber.awk\n+++ 10_Harshad_Number\/AWK\/wasi0013\/HarshadNumber.awk\n@@ -0,0 +1,41 @@\n+# Harshad Number implementation\n+# See: http:\/\/en.wikipedia.org\/wiki\/Harshad_number\n+\n+func sumdigits(n){\n+    result=0;\n+\n+    while(n){\n+        \n+        result+=(n%10);\n+        n=int(n\/10);\n+    \n+    }\n+    \n+    return result;\n+}\n+\n+#Test wheather a number is harshad number or not\n+func isharshad(n){\n+    return n%sumdigits(n)==0;\n+}\n+\n+\n+BEGIN {\n+  \n+  print(\"Testing for Harshad Numbers\");\n+  count=0;\n+\n+  #There are 33 harshad numbers in the range 1-100\n+  for(i=1;i<101;i++){\n+      #count = count + 1 if harshad number else count + 0\n+      count+= isharshad(i) ? 1 : 0 ;\n+  }\n+\n+}\n+END {\n+\n+ print(\"The test was \",count==33?\"Successful\":\"Unsuccessful\");\n+\n+\n+\n+}"}
{"commit":"701cf5b90b508f17cff9dd122cec6b79138c61da","subject":"Add an awk script to list all targets returned by xcodebuild -list","message":"Add an awk script to list all targets returned by xcodebuild -list\n","repos":"hsavit1\/objc-build-scripts,jspahrsummers\/objc-build-scripts","returncode":1,"stderr":"error: pathspec 'targets.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- targets.awk\n+++ targets.awk\n@@ -0,0 +1,10 @@\n+BEGIN {\n+    FS = \"\\n\"\n+}\n+\n+\/Targets:\/ {\n+    while (getline && $0 != \"\") {\n+        sub(\/^ +\/, \"\");\n+        print;\n+    }\n+}\n"}
{"commit":"78a7d4ffd20f68cd18dbe48de3cdc392970dcc9c","subject":"add awk script to read out variable information from ncdump -h to utils","message":"add awk script to read out variable information from ncdump -h to utils\n","repos":"eth-cscs\/compression,eth-cscs\/compression,eth-cscs\/compression,eth-cscs\/compression,eth-cscs\/compression,eth-cscs\/compression","returncode":1,"stderr":"error: pathspec 'util\/variable_information.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- util\/variable_information.awk\n+++ util\/variable_information.awk\n@@ -0,0 +1,42 @@\n+#!\/bin\/awk -f\n+\n+# This awk script parses the output of ncdump -h to read information about\n+# the variables.\n+# The current version reads 2D and 3D variables from a CESM file.\n+#\n+# run with: ncdump -h FILE.nc4 | .\/variable_information.awk > out.txt\n+\n+BEGIN {\n+    OFS = \"\\t\";\n+    print \"VARIABLE\", \"INFO\", \"VALUE\";\n+}\n+\n+\/float .*(time, lev, ncol)\/ {\n+    variable = $2;\n+    sub(\/\\(.*\/,\"\",variable); # remove dimension information\n+    print variable, \"levels\", 30;\n+}\n+\n+\/float .*(time, ilev, ncol)\/ {\n+    variable = $2;\n+    sub(\/\\(.*\/,\"\",variable); # remove dimension information\n+    print variable, \"levels\", 31;\n+}\n+\n+\/float .*(time, ncol)\/ {\n+    variable = $2;\n+    sub(\/\\(.*\/,\"\",variable); # remove dimension information\n+    print variable, \"levels\", 1;\n+}\n+\n+\/.*:long_name = \/ {\n+    var = $1;\n+    sub(\/:long_name\/,\"\",var); # remove \":long_name\"\n+    if (var == variable) { # only print names when levels have been printed just before\n+        name = $3;\n+        for (i=4; i<=NF; i++) name = name \" \" $i;\n+        gsub(\/\"\/,\"\",name); # remove quotes from variable name\n+        sub(\/ ;\/,\"\",name); # remove trailing \";\" from variable name\n+        print variable, \"name\", name;\n+    }\n+}\n"}
{"commit":"aea3efe20fdd80fdf6dc6195bfa6ea48125be2b4","subject":"2008-04-15  Martin Sebor  <sebor@roguewave.com>","message":"2008-04-15  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk: Enclosed runtime warnings in parentheses\n\tas documented in the legend at the bottom of the generated\n\tpage.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@648319 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"f15fa495e844abb31f943901d68bd3103285ca71","subject":"add tool.nswd\/calc_surfacedensity.awk","message":"add tool.nswd\/calc_surfacedensity.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.nswd\/calc_surfacedensity.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.nswd\/calc_surfacedensity.awk\n+++ tool.nswd\/calc_surfacedensity.awk\n@@ -0,0 +1,41 @@\n+# argv: n1msun\n+BEGIN{\n+    pi = 3.14159265359;\n+    ms = 1.989e33;\n+    \n+    cdz  = 1e-2;\n+    rin  = 1e6;\n+    rout = 1e11;\n+    ndig = 10\n+    dr   = 10**(1.\/ndig);\n+    n    = int(10 * log(rout \/ rin)\/log(10.));\n+    for(i = 0; i < n; i++) {\n+\tsigma[i] = 0.0;\n+\trhocn[i] = 0.0;\n+\tncn[i]   = 0;\n+    }\n+}\n+{\n+    r = sqrt($4**2 + $5**2);\n+    if(r < rin || rout < r) {\n+\tnext;\n+    }    \n+    i = int(log(r\/rin) \/ log(dr));\n+    sigma[i]++;\n+    ri = rin * dr**i;\n+    if(-cdz*ri < $6 && $6 < cdz*ri) {\n+\trhocn[i] += $16;\n+\tncn[i]++;\n+    }\n+}\n+END{\n+    for(i = 0; i < n; i++) {\n+\tri = rin * dr**i;\n+\trn = rin * dr**(i+1);\n+\tsi = sigma[i] * ms \/ n1msun \/ (4. * pi * (rn**2 - ri**2));\n+\tni = ((ncn[i] != 0) ? 1 \/ ncn[i] : 0.);\n+\tdc = rhocn[i] * ni;\n+\tprintf(\"%+e %+e %+e %9d\\n\", ri, si, dc, sigma[i]);\n+    }\n+}\n+\n"}
{"commit":"d2da35407a6fbcbfbfe7515e6db413e2de95ca15","subject":"SCCS mkdoc.awk 10\/04\/29 00:19:44: date and time created 10\/04\/29 00:19:44 by neo","message":"SCCS mkdoc.awk 10\/04\/29 00:19:44: date and time created 10\/04\/29 00:19:44 by neo\n","repos":"phorward\/phorward,phorward\/phorward","returncode":1,"stderr":"error: pathspec 'run\/mkdoc.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- run\/mkdoc.awk\n+++ run\/mkdoc.awk\n@@ -0,0 +1,464 @@\n+#-------------------------------------------------------------------------------\n+# Phorward SDK - mkdoc :: Documentation Generator\n+# Copyright (C) 2009, 2010 by Phorward Software Technologies, Jan Max Meyer\n+# http:\/\/www.phorward-software.com ++ mail<<AT>>phorward-software<<DOT>>com\n+#\n+# Script:\t\tmkdoc.awk\n+# Author:\t\tJan Max Meyer\n+#-------------------------------------------------------------------------------\n+\n+BEGIN\t{\n+\t\t\tSUBSEP = \"#\"\n+\n+\t\t\tprint_sections = 1 \n+\t\t\tfull_index = 0\n+\t\t\ttpldir = getenv( \"PHOME\" ) \"\/tpl\"\n+\t\t\tmanual = \"\"\n+\n+\t\t\tt = 1\n+\n+\t\t\t# Begin of program\n+\t\t\tfor( i = 1; i < ARGC; i++ )\n+\t\t\t{\n+\t\t\t\tif( ARGV[i] == \"-o\" )\n+\t\t\t\t\toutput = ARGV[++i]\n+\t\t\t\telse if( ARGV[i] == \"-i\" )\n+\t\t\t\t\tfull_index = 1\n+\t\t\t\telse if( ARGV[i] == \"-ns\" )\n+\t\t\t\t\tprint_sections = 0\n+\t\t\t\telse if( ARGV[i] == \"-tpl\" && i+1 < ARGC )\n+\t\t\t\t\ttpldir = ARGV[++i]\n+\t\t\t\telse if( ARGV[i] == \"-m\" && i+1 < ARGC )\n+\t\t\t\t\tmanual = readfile( ARGV[++i] )\n+\t\t\t\telse if( ARGV[i] == \"-c\" && i+1 < ARGC )\n+\t\t\t\t\tallcopyright = ARGV[++i]\n+\t\t\t\telse if( ARGV[i] == \"-t\" && i+1 < ARGC )\n+\t\t\t\t\talltitle = ARGV[++i]\n+\t\t\t\telse if( ARGV[i] == \"-u\" && i+1 < ARGC )\n+\t\t\t\t\tallusage = ARGV[++i]\n+\t\t\t\telse\n+\t\t\t\t\tfiles[ j++ ] = ARGV[i]\n+\t\t\t}\n+\t\t\t\n+\t\t\tif( substr( tpldir, length( tpldir ) - 1, 1 ) != \"\/\" )\n+\t\t\t\ttpldir = tpldir \"\/\"\n+\t\t\t\n+\t\t\t# Read all templates\n+\t\t\ttpl[ \"DOCUMENT\" ] = readfile( tpldir \"document.tpl\" )\n+\t\t\ttpl[ \"MODULE\" ] = readfile( tpldir \"module.tpl\" )\n+\t\t\ttpl[ \"FUNCTION\" ] = readfile( tpldir \"function.tpl\" )\n+\t\t\ttpl[ \"parameters\" ] = readfile( tpldir \"parameter.tpl\" )\n+\t\t\ttpl[ \"returns\" ] = readfile( tpldir \"returns.tpl\" )\n+\t\t\ttpl[ \"refentry\" ] = readfile( tpldir \"refentry.tpl\" )\n+\t\t\t\n+\t\t\tdocument = tpl[ \"DOCUMENT\" ]\n+\t\t\t\n+\t\t\t# Process the files\n+\t\t\tfor( i in files )\n+\t\t\t{\n+\t\t\t\tprocess( files[i] )\n+\n+\t\t\t\tif( print_sections )\n+\t\t\t\t{\n+\t\t\t\t\t#Output the header and index of contents\n+\t\t\t\t\tgsub( \"!!\" \"index\", print_idx(), head_text )\n+\t\t\t\t\tgsub( \"!!\" \"contents\", print_ref(), head_text )\n+\n+\t\t\t\t\t#all_text = all_text head_text\n+\t\t\t\t\t#all_text = all_text print_ref()\n+\t\t\t\t\t\n+\t\t\t\t\tall_text = all_text head_text\n+\n+\t\t\t\t\thead_text = \"\"\n+\t\t\t\t}\n+\n+\t\t\t\tif( full_index )\n+\t\t\t\t{\n+\t\t\t\t\tfor( s in functions )\n+\t\t\t\t\t\tall_functions[ s ] = functions[ s ]\n+\t\t\t\t} \n+\t\t\t\t\n+\t\t\t\tfor( s in functions )\n+\t\t\t\t\tdelete functions[s]\n+\t\t\t}\n+\n+\t\t\tif( full_index )\n+\t\t\t{\n+\t\t\t\tfor( s in all_functions )\n+\t\t\t\t\tfunctions[ s ] = all_functions[ s ]\n+\n+\t\t\t\tif( !print_sections )\n+\t\t\t\t\tall_text = print_ref()\n+\n+\t\t\t\tallindex = print_idx()\n+\t\t\t}\n+\t\t\t\n+\t\t\tif( document != \"\" )\n+\t\t\t{\n+\t\t\t\tgsub( \"!!\" \"title\", alltitle, document )\n+\t\t\t\tgsub( \"!!\" \"usage\", allusage, document )\n+\t\t\t\tgsub( \"!!\" \"copyright\", allcopyright, document )\n+\t\t\t\tgsub( \"!!\" \"manual\", manual, document )\n+\t\t\t\tgsub( \"!!\" \"index\", allindex, document )\n+\t\t\t\tgsub( \"!!\" \"reference\", all_text, document )\n+\t\t\t}\n+\t\t\telse\n+\t\t\t\tdocument = all_text\n+\t\t\t\t\n+\t\t\t#Finally print all!\n+\t\t\tprint document\n+\t\t}\n+\t\t\n+\n+function process( file )\n+{\n+\tsection = \"\"\n+\tcurrent_item = \"\"\n+\told_item = \"\"\n+\tnodoc = 0\n+\tline = 1\n+\t\n+\twhile( getline line <file > 0 )\n+\t{\n+\t\t#this could be windoof files\n+\t\tgsub( \"\\r\", \"\", line )\t\t\n+\t\tline = trim( line )\n+\t\t\n+\t\tsection_line++\n+\n+\t\tif( line == \"\" )\n+\t\t{\n+\t\t\tif( current_item == \"usage\" || current_item == \"copyright\" )\n+\t\t\t\titems[ current_item ] = items[ current_item ] \"\\n\"\n+\n+\t\t\tcontinue\n+\t\t}\n+\t\t\n+\t\t#Look for section?\n+\t\tif( section == \"NODOC\" && index( line, \"COD_ON\" ) >= 1 )\n+\t\t\tsection = \"\";\n+\t\telse if( section == \"\" )\n+\t\t{\n+\t\t\tif( index( line, \"\/* -MODULE\" ) == 1 )\n+\t\t\t\tsection = \"MODULE\"\n+\t\t\telse if( index( line, \"\/* -FUNCTION\" ) == 1 )\n+\t\t\t\tsection = \"FUNCTION\"\n+\t\t\telse if( index( line, \"NO_DOC\" ) >= 1 )\n+\t\t\t\tsection = \"NODOC\";\n+\n+\t\t\tcurrent_item = \"\"\n+\t\t\tsection_line = 0\n+\t\t}\n+\t\telse if( section != \"NODOC\" )\n+\t\t{\n+\t\t\t#End of a section\n+\t\t\tif( index( line, \"--------------------------------------------\" \\\n+\t\t\t\t\t\"--------------------------------- *\/\" ) == 1 \\\n+\t\t\t\t|| index( line, \"~~~ CHANGES & NOTES ~~~\" ) > 0 )\n+\t\t\t{\n+\t\t\t\t# create a function parameter synopsis!\n+\t\t\t\tif( section == \"FUNCTION\" )\n+\t\t\t\t{\n+\t\t\t\t\t#Generate RETURNTYPE and RETURNDESC\n+\t\t\t\t\tif( items[ \"returns\" ] != \"\" )\n+\t\t\t\t\t{\n+\t\t\t\t\t\tif( index( items[ \"returns\" ], \" \" ) )\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\tdatatype = substr( items[ \"returns\" ], 1, \\\n+\t\t\t\t\t\t\t\t\t\tindex( items[ \"returns\" ], \" \" ) - 1 )\n+\t\t\t\t\t\t\tdesc = \tsubstr( items[ \"returns\" ], \\\n+\t\t\t\t\t\t\t\t\t\tindex( items[ \"returns\" ], \" \" ) + 1 )\n+\t\t\t\t\t\t}\n+\t\t\t\t\t\telse\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\tdatatype = items[ \"returns\" ]\n+\t\t\t\t\t\t\tdesc = \"Nothing\"\n+\t\t\t\t\t\t}\n+\n+\t\t\t\t\t\titems[ \"returntype\" ] = datatype\n+\n+\t\t\t\t\t\tif( desc == \"\" )\n+\t\t\t\t\t\t\tdesc = \"Nothing.\"\n+\n+\t\t\t\t\t\titems[ \"returndesc\" ] = desc\n+\t\t\t\t\t}\n+\t\t\t\t\t\n+\t\t\t\t\t#Generate function-name\n+\t\t\t\t\tgsub( \/\\(.*\\)$\/, \"\", items[ \"function\" ] )\n+\n+\t\t\t\t\t#GENERATE SYNOPSIS\n+\t\t\t\t\titems[ \"synopsis\" ] = items[ \"function\" ]\n+\t\t\t\t\t#gsub( \/\\(.*\\)$\/, \"\", items[ \"synopsis\" ] )\n+\t\t\t\t\titems[ \"synopsis\" ] = items[ \"synopsis\" ] \"( \"\n+\t\t\t\t\t\n+\t\t\t\t\tfirst = 1\n+\t\t\t\t\tfor( item in items )\n+\t\t\t\t\t{\n+\t\t\t\t\t\tif( match( item, \"parameters\" SUBSEP \"[0-9]+\" ) )\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\tdatatype = substr( items[ item ], 1, \\\n+\t\t\t\t\t\t\t\tindex( items[ item ], \" \" ) - 1 )\n+\t\t\t\t\t\t\tdesc = substr( items[ item ], \\\n+\t\t\t\t\t\t\t\t\t\tindex( items[ item ], \" \" ) + 1 )\n+\n+\t\t\t\t\t\t\tif( datatype != \"...\" )\n+\t\t\t\t\t\t\t{\n+\t\t\t\t\t\t\t\tparam = substr( desc, 1, index( desc, \" \" ) - 1 )\n+\t\t\t\t\t\t\t\tdesc = \tsubstr( desc, index( desc, \" \" ) + 1 )\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\telse\n+\t\t\t\t\t\t\t\tparam = \"\"\n+\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\tif( !first )\n+\t\t\t\t\t\t\t\titems[ \"synopsis\" ] = items[ \"synopsis\" ] \", \"\n+\t\t\t\t\t\t\tfirst = 0\n+\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\titems[ \"synopsis\" ] = items[ \"synopsis\" ] datatype\n+\t\t\t\t\t\t\tif( param != \"\" )\n+\t\t\t\t\t\t\t\titems[ \"synopsis\" ] = items[ \"synopsis\" ] \\\n+\t\t\t\t\t\t\t\t\t\" \" param\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t\t\n+\t\t\t\t\tif( first )\n+\t\t\t\t\t\titems[ \"synopsis\" ] = items[ \"synopsis\" ] \"void )\"\n+\t\t\t\t\telse\n+\t\t\t\t\t\titems[ \"synopsis\" ] = items[ \"synopsis\" ] \" )\"\n+\n+\t\t\t\t\titems[ \"synopsis\" ] = items[ \"returntype\" ] \" \" \\\n+\t\t\t\t\t\t\t\t\t\t\titems[ \"synopsis\" ]\n+\t\t\t\t\t\n+\t\t\t\t\t#Put code in array first, for sorting\n+\t\t\t\t\tfuncname =  items[ \"function\" ]\n+\t\t\t\t\t#gsub( \/_|\\(|\\)\/, \"\", funcname )\n+\n+\t\t\t\t\t# GENERATE OUTPUT...\n+\t\t\t\t\t#write index of contents as a quick reference\n+\t\t\t\t\tif( !index( items[ \"usage\" ], \".\" ) )\n+\t\t\t\t\t\titems[ \"usage\" ] = trim( items[ \"usage\" ] ) \".\"\n+\n+\t\t\t\t\tcontent[ funcname ] = substr( items[ \"usage\" ], \\\n+\t\t\t\t\t\t\t\t\t\t\t1, index( items[ \"usage\" ], \".\" ) )\n+\n+\t\t\t\t\t#Write output into functions array\n+\t\t\t\t\tfunctions[ funcname ] = fill_tex_tpl( section, items )\n+\t\t\t\t}\n+\t\t\t\telse if( head_text == \"\" )\n+\t\t\t\t\thead_text = fill_tex_tpl( section, items )\n+\t\t\t\t\n+\t\t\t\t#for( item in items )\n+\t\t\t\t\t#print item \" => \\\"\" items[ item ] \"\\\"\"\n+\t\t\t\t\n+\t\t\t\tfor( item in items )\n+\t\t\t\t\tdelete items[ item ]\n+\t\t\t\t\t\n+\t\t\t\tsection = \"\"\n+\t\t\t\tcurrent_item = \"\"\n+\t\t\t\tcontinue\n+\t\t\t}\n+\t\t\telse if( index( line, \"File:\" ) == 1 )\n+\t\t\t\tcurrent_item = \"file\"\n+\t\t\telse if( index( line, \"Author:\" ) == 1 )\n+\t\t\t\tcurrent_item = \"author\"\n+\t\t\telse if( index( line, \"Usage:\" ) == 1 )\n+\t\t\t\tcurrent_item = \"usage\"\n+\t\t\telse if( index( line, \"Function:\" ) == 1 )\n+\t\t\t\tcurrent_item = \"function\"\n+\t\t\telse if( index( line, \"Parameters:\" ) == 1 )\n+\t\t\t{\n+\t\t\t\takt_parm = 1\n+\t\t\t\tcurrent_item = \"parameters\" SUBSEP akt_parm\n+\t\t\t}\n+\t\t\telse if( index( line, \"Returns:\" ) == 1 )\n+\t\t\t{\n+\t\t\t\tcurrent_item = \"returns\"\n+\t\t\t}\n+\t\t\telse if( section == \"MODULE\" && section_line == 1 )\n+\t\t\t\tcurrent_item = \"title\"\n+\t\t\telse if( section == \"MODULE\" && section_line == 2 )\n+\t\t\t\tcurrent_item = \"copyright\"\n+\n+\t\t\t#Read in the item information\n+\t\t\tif( current_item != \"\" )\n+\t\t\t{\n+\t\t\t\tif( current_item != old_item && items[ current_item ] == \"\" )\n+\t\t\t\t{\n+\t\t\t\t\tif( current_item != \"title\" \\\n+\t\t\t\t\t\t&& current_item != \"copyright\" )\n+\t\t\t\t\t{\n+\t\t\t\t\t\tline = trim( substr( line, index( line, \":\" ) + 1 ) )\n+\t\t\t\t\t}\n+\n+\t\t\t\t\tgsub( \/[ \\t]+\/, \" \", line )\n+\n+\t\t\t\t\titems[ current_item ] = line\n+\t\t\t\t}\n+\t\t\t\telse\n+\t\t\t\t{\n+\t\t\t\t\tif( match( current_item, \"parameters\" SUBSEP \"[0-9]+\" ) )\n+\t\t\t\t\t{\n+\t\t\t\t\t\tif( match( line, \\\n+\t\t\t\t\t\t\t\"[A-Za-z0-9_*]+[ \\t][ \\t]+[A-Za-z0-9_*()]+[ \\t]+|\\\\.\\\\.\\\\.[ \\t]+\" ) )\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\takt_parm++\n+\t\t\t\t\t\t\tcurrent_item = \"parameters\" SUBSEP akt_parm \n+\t\t\t\t\t\t\t\n+\t\t\t\t\t\t\tgsub( \/[ \\t]+\/, \" \", line )\n+\t\t\t\t\t\t\titems[ current_item ] = line\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t\t\n+\t\t\t\t\tif( old_item == current_item )\n+\t\t\t\t\t{\n+\t\t\t\t\t\tgsub( \/[ \\t]+\/, \" \", line )\n+\n+\t\t\t\t\t\tif( ( section == \"MODULE\" && current_item == \"usage\" ) \\\n+\t\t\t\t\t\t\t|| current_item == \"copyright\" )\n+\t\t\t\t\t\t\tdelim = \"\\n\"\n+\t\t\t\t\t\telse\n+\t\t\t\t\t\t\tdelim = \" \"\n+\n+\t\t\t\t\t\titems[ current_item ] = items[ current_item ] delim line\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\n+\t\t\told_item = current_item\n+\t\t}\n+\t\t\n+\t\tline++;\n+\t}\n+\t\n+\tclose( getline line <file > 0 )\n+}\n+\n+function fill_tex_tpl( section, items )\n+{\n+\tfinal = tpl[ section ]\n+\tparameters = \"\"\n+\n+\tfor( item in items )\n+\t{\n+\t\t#print \"!!\" item \" \" items[ item ]\n+\n+\t\t#for LaTeX\n+\t\t#gsub( \"_\", \"\\\\_\", items[ item ] )\n+\n+\t\tif( match( item, \"parameters\" SUBSEP \"[0-9]+\" ) )\n+\t\t{\n+\t\t\tdatatype = substr( items[ item ], 1, \\\n+\t\t\t\t\t\tindex( items[ item ], \" \" ) - 1 )\n+\t\t\tdesc = \tsubstr( items[ item ], index( items[ item ], \" \" ) + 1 )\n+\t\t\t\n+\t\t\tif( datatype != \"...\" )\n+\t\t\t{\n+\t\t\t\tparam = substr( desc, 1, index( desc, \" \" ) - 1 )\n+\t\t\t\tdesc = \tsubstr( desc, index( desc, \" \" ) + 1 )\n+\t\t\t}\n+\t\t\telse\n+\t\t\t\tparam = \"\"\n+\t\t\t\t\t\t\t\t\n+\t\t\tsubfinal = tpl[ \"parameters\" ]\n+\t\t\tgsub( \"!!\" \"datatype\", datatype, subfinal )\n+\t\t\tgsub( \"!!\" \"param\", param, subfinal )\n+\t\t\tgsub( \"!!\" \"desc\", desc, subfinal )\n+\t\t\t\n+\t\t\tparameters = parameters subfinal\n+\t\t}\n+\t\telse if( item == \"returns\" )\n+\t\t{\n+\t\t\tsubfinal = tpl[ \"returns\" ]\n+\t\t\tgsub( \"!!\" \"datatype\", items[ \"returntype\" ], subfinal )\n+\t\t\tgsub( \"!!\" \"desc\", items[ \"returndesc\" ], subfinal )\n+\t\t\t\n+\t\t\tgsub( \"!!\" item, subfinal, final )\n+\t\t}\n+\t\telse\n+\t\t{\t\t\t\n+\t\t\tgsub( \"!!\" item, items[ item ], final )\n+\t\t}\n+\t}\n+\n+\tif( section == \"FUNCTION\" )\n+\t\tgsub( \"!!parameters\", parameters, final )\n+\t\n+\treturn final\n+}\n+\n+function print_idx()\n+{\n+\tt = 1\n+\tfor( s in functions )\n+\t\tsort[t++] = s\n+\n+\tn = asort( sort )\n+\n+\trefindex = \"\"\n+\tfor( s = 1; s <= n; s++ )\n+\t{\n+\t\trefentry = tpl[ \"refentry\" ]\n+\t\t\n+\t\tgsub( \"!!\" \"function\", sort[s], refentry )\n+\t\tgsub( \"!!\" \"usage\", content[ sort[s] ], refentry )\n+\t\trefindex = refindex refentry\n+\t}\n+\n+\tfor( s in sort )\n+\t\tdelete sort[s]\n+\n+\treturn refindex\n+}\n+\n+function print_ref()\n+{\n+\tt = 1\n+\tfor( s in functions )\n+\t\tsort[t++] = s\n+\n+\tn = asort( sort )\n+\n+\ttext = \"\"\n+\tfor( s = 1; s <= n; s++ )\n+\t\ttext = text functions[sort[s]]\n+\n+\tfor( s in sort )\n+\t\tdelete sort[s]\n+\n+\treturn text\n+}\n+\n+#--- Utility functions go here ---\n+\n+function ltrim( s )\n+{\n+\tsub( \/^[ \\t\\n]+\/, \"\", s )\n+\treturn s\n+}\n+\n+function rtrim( s )\n+{\n+\tsub( \/[ \\t\\n]+$\/, \"\", s )\n+\treturn s\n+}\n+\n+function trim( s )\n+{\n+\treturn rtrim( ltrim( s ) )\n+}\n+\n+function readfile( s )\n+{\n+\tf = \"\"\n+\n+\twhile( ( getline l < s ) > 0 )\n+\t\tf = f l \"\\n\"\n+\t\n+\tclose( s )\n+\treturn f\n+}\n+\n+function getenv( s )\n+{\n+\t\"echo $\" s | getline v\n+\treturn v\n+}\n"}
{"commit":"635df72166268df4ff2a40ec50e01e64d0c3f934","subject":"added prettyplz.awk","message":"added prettyplz.awk\n","repos":"Hamcha\/dvx","returncode":1,"stderr":"error: pathspec 'prettyplz.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- prettyplz.awk\n+++ prettyplz.awk\n@@ -0,0 +1,37 @@\n+#!\/usr\/bin\/awk -f\n+# Prettifies a Haskell list\n+\n+func print_indent(ind,    i) {\n+\tfor (i = 0; i < ind; ++i)\n+\t\tprintf \"\\t\"\n+}\n+\n+{\n+\tfor (c = 1; c <= length($0); ++c) {\n+\t\tch = substr($0, c, 1)\n+\t\tif (ch == \"[\") {\n+\t\t\tprintf \"[\\n\"\n+\t\t\tprint_indent(++indent)\n+\t\t} else if (ch == \"(\") {\n+\t\t\tin_args = 1\n+\t\t\tprintf \"(\"\n+\t\t} else if (ch == \")\") {\n+\t\t\tin_args = 0\n+\t\t\tprintf \")\"\n+\t\t} else if (ch == \",\") {\n+\t\t\tif (in_args)\n+\t\t\t\tprintf \", \"\n+\t\t\telse {\n+\t\t\t\tprintf \",\\n\"\n+\t\t\t\tprint_indent(indent)\n+\t\t\t}\n+\t\t} else if (ch == \"]\") {\n+\t\t\tprintf \"\\n\"\n+\t\t\tprint_indent(--indent)\n+\t\t\tprintf \"]\"\n+\t\t} else {\n+\t\t\tprintf ch\n+\t\t}\n+\t}\n+\tprint \"\"\n+}\n"}
{"commit":"bf0728cc58b374d799e3ec5861371d13317ebbe4","subject":"tool.imbh\/calc_highT-mass.awk","message":"tool.imbh\/calc_highT-mass.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.imbh\/calc_highT-mass.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.imbh\/calc_highT-mass.awk\n+++ tool.imbh\/calc_highT-mass.awk\n@@ -0,0 +1,14 @@\n+# argv: Tmaxcrit\n+BEGIN{\n+    m  = 0.;\n+    ms = 1.989e33;\n+}\n+{\n+    if($46 > Tmaxcrit) {\n+\tm += $3;\n+    }\n+}\n+END{\n+    printf(\"%+e\\n\", m \/ ms);\n+}\n+\n"}
{"commit":"c968112890ed9109532ad07a0e9f72b09bb6a830","subject":"Added filter.awk back from master","message":"Added filter.awk back from master\n","repos":"OPENDAP\/sql_handler,OPENDAP\/sql_handler,OPENDAP\/sql_handler","returncode":1,"stderr":"error: pathspec 'bin\/filter.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- bin\/filter.awk\n+++ bin\/filter.awk\n@@ -0,0 +1,145 @@\n+#\/bin\/gawk\n+\n+# 07\/Aug\/2010 carlo cancellieri ccancellieri@hotmail.com\n+\n+BEGIN{\n+#das flag\n+\tdas=0;\n+\tif (DAS==1 || DAS==\"das\"){\n+\t\td1=1;\n+\t}\n+\telse {\n+\t\td1=0;\n+\t}\n+#dds flag\n+\tdds=0;\n+\tif (DDS==1 || DDS==\"dds\"){\n+\t\td2=1;\n+\t}\n+\telse {\n+\t\td2=0;\n+\t}\n+#data flag\n+\tdata=0; \n+\tif (DATA==1 || DATA==\"data\"){\n+\t\td3=1;\n+\t}\n+\telse {\n+\t\td3=0;\n+\t}\n+\t\n+# simple or complete flag\n+\tcomplete=0;\n+\tsimple=0;\n+\tif (COMPLETE==\"complete\"){\n+\t\tc=1;\n+\t\ts=0;\n+\t}\n+\telse if (COMPLETE==\"simple\"){\n+\t\tc=0;\n+\t\ts=1;\n+\t}\n+\telse {\n+\t\tc=0;\n+\t\ts=0;\n+\t}\n+# substitution\n+\tCLASS=toupper(CLASS);\n+\tTYPE=tolower(TYPE);\n+\t\n+# All the rows flag\n+\trest=1;\n+}\n+\n+\/#DAS#\/\t{\n+\tif (rest==0)\t{ rest=1; das=0;} \n+\telse\t{das=d1; dds=0;\tdata=0; rest=0;}\n+#\tprint \"DAS: \"das,dds,data,rest \"COMPLETE:\"complete,simple\n+\tnext;\n+}\n+\/#DDS#\/\t{\n+\tif (rest==0)\t{ rest=1; dds=0;}\n+\telse\t{das=0; dds=d2; data=0; rest=0;}\n+#\tprint \"DDS: \"das,dds,data,rest \"COMPLETE:\"complete,simple\n+\tnext;\n+}\n+\/#DATA#\/{\n+\tif (rest==0)\t{ rest=1; data=0;}\n+\telse\t{das=0; dds=0; data=d3; rest=0;}\n+#\tprint \"DATA: \"das,dds,data,rest \"COMPLETE:\"complete,simple\n+\tnext;\n+}\n+\n+\/#COMPLETE#\/{\n+\tif (complete==1){complete=0;}\n+\telse {complete=1;}\n+#\tprint \"COMPLETE: \"complete,c,rest\n+\tnext;\n+}\n+\/#SIMPLE#\/{\n+\tif (simple==1)\t{simple=0;}\n+\telse {simple=1;}\n+#\tprint \"SIMPLE: \"simple,s,rest\n+\tnext;\n+}\n+\n+\/\/{\t\n+\tif (rest==1) {\n+\t\tif (complete==1){\n+\t\t\t#we are in the complete section\n+\t\t\tif (c==1){\n+\t\t\t\t#complete is what you want\n+\t\t\t\tgsub(\/OPENDAP_CLASS\/,CLASS,$0);\n+\t\t\t\tgsub(\/OPENDAP_TYPE\/,TYPE,$0);\n+\t\t\t\tprint $0\n+\t\t\t}\n+\t\t\t#else simple is what you want\n+\t\t}\n+\t\telse if (simple==1){\n+\t\t\t#we are in the simple section\n+\t\t\tif (s==1){\n+\t\t\t\t#simple is what you want\n+\t\t\t\tgsub(\/OPENDAP_CLASS\/,CLASS,$0);\n+\t\t\t\tgsub(\/OPENDAP_TYPE\/,TYPE,$0);\n+\t\t\t\tprint $0\n+\t\t\t}\n+\t\t\t#else complete is what you want\n+\t\t}\n+\t\telse\n+\t\t{\n+\t\t\t#we are in the rest of the file\n+\t\t\tgsub(\/OPENDAP_CLASS\/,CLASS,$0);\n+\t\t\tgsub(\/OPENDAP_TYPE\/,TYPE,$0);\n+\t\t\tprint $0\n+\t\t}\n+\t}\n+\telse if(das==1 || dds==1 || data==1) {\n+\t\tif (complete==1){\n+\t\t\t#we are in the complete section\n+\t\t\tif (c==1){\n+\t\t\t\t#complete is what you want\n+\t\t\t\tgsub(\/OPENDAP_CLASS\/,CLASS,$0);\n+\t\t\t\tgsub(\/OPENDAP_TYPE\/,TYPE,$0);\n+\t\t\t\tprint $0\n+\t\t\t}\n+\t\t\t#else simple is what you want\n+\t\t}\n+\t\telse if (simple==1){\n+\t\t\t#we are in the simple section\n+\t\t\tif (s==1){\n+\t\t\t\t#simple is what you want\n+\t\t\t\tgsub(\/OPENDAP_CLASS\/,CLASS,$0);\n+\t\t\t\tgsub(\/OPENDAP_TYPE\/,TYPE,$0);\n+\t\t\t\tprint $0\n+\t\t\t}\n+\t\t\t#else complete is what you want\n+\t\t}\n+\t\telse\n+\t\t{\n+\t\t\t#we are in the rest of a (das==1 || dds==1 || data==1)\n+\t\t\tgsub(\/OPENDAP_CLASS\/,CLASS,$0);\n+\t\t\tgsub(\/OPENDAP_TYPE\/,TYPE,$0);\n+\t\t\tprint $0\n+\t\t}\n+\t}\n+}"}
{"commit":"545db52d408f4f30d0c103457954dca64aa6e7a1","subject":"Added AWK","message":"Added AWK\n","repos":"chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld,chinmayshah99\/helloworld","returncode":1,"stderr":"error: pathspec 'awk\/hello.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- awk\/hello.awk\n+++ awk\/hello.awk\n@@ -0,0 +1,7 @@\n+# Awk hello world program\n+# written by- Aaditya Naik (rincemust)\n+\n+BEGIN {print \"Hello World\"}\n+\n+# to run, type-\n+#   $ awk hello.awk"}
{"commit":"f80251c6caf64b90c3c0ab4ce2ba59448fc7f6e5","subject":"fixing bug in style header","message":"fixing bug in style header\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"2854427cbe22ab1232116189dccbf1deecf2a64e","subject":"msa2fa.awk: Convert sscs.py .msa.tsv output to .fa.","message":"msa2fa.awk: Convert sscs.py .msa.tsv output to .fa.\n","repos":"makrutenko\/dunovo,makrutenko\/dunovo,makrutenko\/dunovo","returncode":1,"stderr":"error: pathspec 'msa2fa.awk' did not match any file(s) known to git\n","license":"isc","lang":"Awk","diff":"--- msa2fa.awk\n+++ msa2fa.awk\n@@ -0,0 +1,17 @@\n+# A quick script to convert the .msa.tsv output of sscs.py back into FASTA format.\n+\n+BEGIN {\n+  FS = \"\\t\";\n+  OFS = \"\\t\";\n+}\n+\n+$2 == \"CONSENSUS\" {\n+  if ($1 == last) {\n+    mate = 2;\n+  } else {\n+    mate = 1;\n+  }\n+  print \">\" $1 \".\" mate;\n+  print $3;\n+  last = $1;\n+}\n"}
{"commit":"c38e4326bcb362184bb23e4a0b01ba74358cfcc3","subject":"awk script to extract the OGD-AT specifiation from a plain text representation of the PDF file","message":"awk script to extract the OGD-AT specifiation from a plain text representation of the PDF file\n","repos":"the42\/ogdat,the42\/ogdat,the42\/ogdat","returncode":1,"stderr":"error: pathspec 'ogdatv21\/convogdatspectocsv.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- ogdatv21\/convogdatspectocsv.awk\n+++ ogdatv21\/convogdatspectocsv.awk\n@@ -0,0 +1,52 @@\n+# AWK file credit to http:\/\/stackoverflow.com\/users\/751863\/steve\n+\n+BEGIN {\n+    RS=\"\\nID\\n\"\n+    FS=\"\\n\"\n+    OFS=\"|\"\n+\n+    required[\"1\"]; required[\"5\"]; required[\"8\"]; required[\"9\"]; required[\"10\"];\n+    required[\"11\"]; required[\"14\"]; required[\"15\"]; required[\"19\"]; required[\"21\"]; required[\"24\"];\n+\n+    headpart = \"Bezeichner|OGD-Kurzname|CKAN Feld|Anzahl|Definition|Erl\u00e4uterung|Beispiel|ON A 2270:2010|ON\/EN\/ISO 19115:2003|RDF property|Definition Englisch\"\n+    ns = split(headpart, b, OFS)\n+    for (i=1; i <= ns; i++) {\n+        a[b[i]]\n+    }\n+    print \"ID\" OFS headpart OFS \"Occurence\"\n+}\n+\n+NR>2 {\n+    for (i=1;i<=NF;i++) {\n+\n+        l = (l ? l (l ~ \/^(extras|resources):$\/ ? \"\" : \" \") : \"\") $i\n+\n+        if ($(i+1) == \"\" ) {\n+            if (l in a) {\n+                l = \"\"\n+            }\n+            else if (l != \"\") {\n+                c = (c ? c OFS : \"\") l\n+                n++\n+                if (n == 1) {\n+                    id = $i\n+                }\n+                l = \"\"\n+            }\n+        }\n+        if (n == 12) {\n+            if (c ~ \/^[0-9]\/) {\n+                if (id in required) {\n+                    c = c OFS \"R\"\n+                } else {\n+                    c = c OFS \"O\"\n+                }\n+            } else {\n+                c = \"ERROR: BAD RECORD\"\n+            }\n+            print c\n+            c = n = \"\"\n+            next\n+        }\n+    }\n+}"}
{"commit":"d6b7f1164528a83ab2d87e806e84c8265801f9bb","subject":"Create fix_letters.awk","message":"Create fix_letters.awk","repos":"busysteve\/ANN,busysteve\/ANN","returncode":1,"stderr":"error: pathspec 'fix_letters.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- fix_letters.awk\n+++ fix_letters.awk\n@@ -0,0 +1,12 @@\n+{\n+    if( length($0) != 0 )\n+    {\n+        printf( \"%s\", $0 ); \n+\n+        for( i=length($0); i < 8; i++ )\n+            printf(\" \");\n+    }\n+\n+    printf(\"\\n\");\n+    \n+}\n"}
{"commit":"1dff9d20ff8d446fb3470c11b9bc948385558c8a","subject":"1st entry of basic blast parsing using awk","message":"1st entry of basic blast parsing using awk\n","repos":"cjlee112\/pygr,ctb\/pygr,cjlee112\/pygr,RitwikGupta\/pygr,RitwikGupta\/pygr,ctb\/pygr,ctb\/pygr,theoryno3\/pygr,ctb\/pygr,ctb\/pygr,GenDataPro\/pygr,GenDataPro\/pygr,theoryno3\/pygr,RitwikGupta\/pygr,cjlee112\/pygr,cjlee112\/pygr,theoryno3\/pygr,GenDataPro\/pygr","returncode":1,"stderr":"error: pathspec 'parse_blast.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- parse_blast.awk\n+++ parse_blast.awk\n@@ -0,0 +1,240 @@\n+#!\/usr\/bin\/awk -f\n+\n+\n+\n+\n+function is_repetitive_hit(start,end,threshold,threshold2)\n+{\n+  overlap[0]= -1;\n+  overlap[1]= -10;\n+\n+  if (region[0]>=start && region[0]<end) {\n+    overlap[0]=region[0];\n+    extent[0]=start;\n+  }\n+  else if (start>=region[0] && start<region[1]) {\n+    overlap[0]=start;\n+    extent[0]=region[0];\n+  }\n+  else { # WE HAVE NO OVERLAP, SO JUST RESET AND RETURN *\/\n+    region[0]= start; # SAVE THE CURRENT REGION FOR CHECKING THE NEXT ONE*\/\n+    region[1]= end;\n+    return 0;  # NO REPETITIVE OVERLAP *\/\n+  }\n+  if (region[1]>=start && region[1]<end) {\n+    overlap[1]=region[1];\n+    extent[1]=end;\n+  }\n+  else {\n+    overlap[1]=end;\n+    extent[1]=region[1];\n+  }\n+  if (overlap[0]>=0) { # GOT OVERLAP *\/\n+    my_length=end-start;\n+    if (overlap[1]-overlap[0]>threshold*my_length && overlap[1]-overlap[0]>threshold2*(region[1]-region[0])) {\n+#      printf(\"REPEAT [%d,%d]: overlaps [%d,%d]\\n\",start,end,region[0],region[1]);\n+      region[0]=extent[0]; # SAVE THE UNION OF THE OVERLAPPING REGIONS*\/\n+      region[1]=extent[1];\n+      return 1; # THIS IS A REPEAT!*\/\n+    }\n+  }\n+\n+  region[0]= start; # SAVE THE CURRENT REGION FOR CHECKING THE NEXT ONE*\/\n+  region[1]= end;\n+  return 0;  # NO REPETITIVE OVERLAP *\/\n+}\n+\n+\n+\n+\n+\n+function print_interval()\n+{\n+    if (mode==\"all\") {\n+\tif (IDENTITY_PERCENT+0<identity_min) {\n+\t    return;\n+\t}\n+\tif (BLAST_FRAME+0>=0) {\n+\t    printf(\"MATCH_INTERVAL\\t%d\\t%s\\t%s\\t%d\\t%s\\t%s\\t%s\\t%d\\t%d\\t%d\\n\",hit_id,SEQ_ID,SUBJ_ID,BLAST_SCORE+0,E_VALUE,IDENTITY_PERCENT,BLAST_FRAME,q_interval_start,i_query-q_interval_start,s_interval_start);\n+\t}\n+\telse {\n+\t    printf(\"MATCH_INTERVAL\\t%d\\t%s\\t%s\\t%d\\t%s\\t%s\\t%s\\t%d\\t%d\\t%d\\n\",hit_id,SEQ_ID,SUBJ_ID,BLAST_SCORE+0,E_VALUE,IDENTITY_PERCENT,BLAST_FRAME,q_interval_start,i_query-q_interval_start,i_subj-BLAST_FRAME);\n+\t}\n+    }\n+    else if (mode==\"detail\") {\n+\tprintf(\"%d\\t%d\\t%d\\t%d\\t%d\\n\",hit_id,q_interval_start,i_query-1,s_interval_start,i_subj-BLAST_FRAME);\n+    }\n+}\n+\n+\n+\n+\n+function print_hit()\n+{\n+  if (remove_repeats) {\n+    if (is_repetitive_hit(QUERY_START,QUERY_END,0.9,0.8)) {\n+      if (nrepeat++ > 20) {\n+\tprintf(\"REMOVING REPEAT %d-%d\\n\",QUERY_START,QUERY_END);\n+        return 0;\n+      }\n+    }\n+    else {\n+      nrepeat=0;\n+    }\n+  }\n+    hit_id++;\n+    query_len=length(QUERY_SEQ);\n+    q_interval_start= -1;\n+    i_query=QUERY_START;\n+    if (BLAST_FRAME+0>0) {\n+\ti_subj=SUBJ_START;\n+    }\n+    else {\n+\ti_subj=SUBJ_END;\n+    }\n+    for (i=1;i<=query_len;i++) {\n+\tif (substr(QUERY_SEQ,i,1)==\"-\") {\n+\t    if (q_interval_start>0) {\n+\t\tprint_interval();\n+\t    }\n+\t    q_interval_start= -1;\n+\t    i_subj+= BLAST_FRAME;\n+\t}\n+\telse {\n+\t    if (substr(SUBJ_SEQ,i,1)==\"-\") {\n+\t\tif (q_interval_start>0) {\n+\t\t    print_interval();\n+\t\t}\n+\t\tq_interval_start= -1;\n+\t    }\n+\t    else {\n+\t\tif (q_interval_start<0) {\n+\t\t    q_interval_start=i_query;\n+\t\t    s_interval_start=i_subj;\n+\t\t}\n+\t\ti_subj+= BLAST_FRAME;\n+\t    }\n+\t    i_query++;\n+\t}\n+    }\n+    if (q_interval_start>0) {\n+\tprint_interval();\n+    }\n+    gsub(\"-\",\"\",QUERY_SEQ);\n+    gsub(\"-\",\"\",SUBJ_SEQ);\n+    if (mode==\"summary\") {\n+\tprintf(\"%d\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\\n\",hit_id,SEQ_ID,SUBJ_ID,BLAST_SCORE,E_VALUE,IDENTITY_PERCENT,BLAST_FRAME,QUERY_START,QUERY_END,SUBJ_START,SUBJ_END);\n+    }\n+    QUERY_START=9999999;\n+    QUERY_END= -1;\n+    SUBJ_START=9999999;\n+    SUBJ_END= -1;\n+}\n+\n+\n+\n+\/^Query=\/ {\n+    SEQ_ID=$2;\n+    TITLE=substr($0,index($0,$3));\n+    QUERY_START=9999999;\n+    QUERY_END= -1;\n+}\n+\n+\/No hits\/ {\n+}\n+\n+\n+\/^>\/ {\n+    if (QUERY_START<QUERY_END) {\n+\tprint_hit();\n+    }\n+    SUBJ_ID=substr($1,2);\n+    SUBJ_TITLE=substr($0,index($0,$2));\n+    BLAST_FRAME=\"+1\"\n+}\n+\n+\/^ Score =\/ {\n+    if (QUERY_START<QUERY_END) {\n+\tprint_hit();\n+    }\n+    BLAST_SCORE=$3;\n+    E_VALUE=$8;\n+    if (substr(E_VALUE,1,1)==\"e\") {\n+\tE_VALUE=\"1\" E_VALUE;\n+    }\n+    if (E_VALUE+0.0 == 0.0) {\n+\tE_VALUE=300;\n+    }\n+    else {\n+\tE_VALUE= -log(E_VALUE+0.0)\/log(10.0);\n+\tif (E_VALUE==\"inf\") {\n+\t    E_VALUE=300;\n+\t}\n+    }\n+    QUERY_SEQ=\"\";\n+    SUBJ_SEQ=\"\";\n+    SUBJ_START=9999999;\n+    SUBJ_END= -1;\n+}\n+\n+\n+\/^  Database:\/ {\n+    if (QUERY_START<QUERY_END) {\n+\tprint_hit();\n+    }\n+}\n+\n+\n+\/Identities =\/ {\n+    IDENTITY_PERCENT=substr($4,2);\n+    IDENTITY_PERCENT=substr(IDENTITY_PERCENT,1,index(IDENTITY_PERCENT,\"%\")-1);\n+}\n+\n+\n+\/^ Frame =\/ {\n+    BLAST_FRAME=$3;\n+}\n+\n+\n+\/^ Strand = \/ {\n+    if ($5==\"Plus\") {\n+\tBLAST_FRAME=\"+1\";\n+    }\n+    else if ($5==\"Minus\") {\n+\tBLAST_FRAME=\"-1\";\n+    }\n+}\n+\n+\n+\/^Query:\/ {\n+    if ($2<QUERY_START) {\n+\tQUERY_START=$2;\n+    }\n+    if ($4<QUERY_START) {\n+\tQUERY_START=$4;\n+    }\n+    if ($2>QUERY_END) {\n+\tQUERY_END=$2;\n+    }\n+    if ($4>QUERY_END) {\n+\tQUERY_END=$4;\n+    }\n+    QUERY_SEQ=QUERY_SEQ $3;\n+}\n+\n+\n+\/^Sbjct:\/ {\n+    if ($2<SUBJ_START) {\n+\tSUBJ_START=$2;\n+    }\n+    if ($4<SUBJ_START) {\n+\tSUBJ_START=$4;\n+    }\n+    if ($2>SUBJ_END) {\n+\tSUBJ_END=$2;\n+    }\n+    if ($4>SUBJ_END) {\n+\tSUBJ_END=$4;\n+    }\n+    SUBJ_SEQ=SUBJ_SEQ $3;\n+}\n"}
{"commit":"a72beda32f527bddcc05fb5d488a8885de732fa7","subject":"checkFile: check for copyright 2014; more liberal check for spaces after import.","message":"checkFile: check for copyright 2014; more liberal check for spaces after import.\n","repos":"citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/citycloud-bigdata\/mondrian.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"c094f9e6fe30095c30c15e3b95c7d5cb68f5a4b6","subject":"fixed bug #52, invalid operator |&","message":"fixed bug #52, invalid operator |&\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"a26a305effdca9f6ccb6ebf452a22b55d754a588","subject":"    print \"try 2.1 for FTP\"","message":"    print \"try 2.1 for FTP\"\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"bc7d13bb48d713f2e1d057273db36eed6368a5d9","subject":"add truecolortest.awk","message":"add truecolortest.awk\n","repos":"vdrandom\/vscripts,vdrandom\/vscripts,vdrandom\/vscripts","returncode":1,"stderr":"error: pathspec 'truecolortest.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- truecolortest.awk\n+++ truecolortest.awk\n@@ -0,0 +1,16 @@\n+#!\/usr\/bin\/awk -f\n+# a simple script to test 24 bit compatibility in a terminal\n+# source: https:\/\/gist.github.com\/XVilka\/8346728\n+BEGIN{\n+    s=\"\/\\\\\/\\\\\/\\\\\/\\\\\/\\\\\"; s=s s s s s s s s;\n+    for (colnum = 0; colnum<77; colnum++) {\n+        r = 255-(colnum*255\/76);\n+        g = (colnum*510\/76);\n+        b = (colnum*255\/76);\n+        if (g>255) g = 510-g;\n+        printf \"\\033[48;2;%d;%d;%dm\", r,g,b;\n+        printf \"\\033[38;2;%d;%d;%dm\", 255-r,255-g,255-b;\n+        printf \"%s\\033[0m\", substr(s,colnum+1,1);\n+    }\n+    printf \"\\n\";\n+}\n"}
{"commit":"903e221ea6f483c4af1bc03782cfdaad0aac13ba","subject":"Added awk script to split FASTA file into codons","message":"Added awk script to split FASTA file into codons\n","repos":"ballesterus\/PhyloUtensils","returncode":1,"stderr":"error: pathspec 'splitcodon.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- splitcodon.awk\n+++ splitcodon.awk\n@@ -0,0 +1,27 @@\n+#!\/usr\/bin\/awk -f \n+\n+BEGIN{\n+    RS=\">\";\n+    FS =\"\\n\";\n+    OFS=\"\"\n+    ORS=\"\"\n+    if (ARGC < 3){\n+\tprint \"usage: awk  [INFILE] [codon number] > outfile\";\n+\texit 1\n+\t}\n+    c = ARGV[2]\n+    print c\n+    delete ARGV[2];\n+}\n+{\n+    if (NF > 1){\n+\ti = c;\n+\tprint \">\"$1 \"\\n\" \n+\tsl=length($2);\n+\twhile( i <= sl ){\n+\t    print substr($2, i, 1) \n+\t    i = i + 3;\n+\t}\n+\tprint \"\\n\"\n+    }\n+}\n"}
{"commit":"3b92bfe3c33830841eb2d452682a8cebd276a1c6","subject":"add Translate (initial)","message":"add Translate (initial)\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":1,"stderr":"error: pathspec 'lib\/Translate.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- lib\/Translate.awk\n+++ lib\/Translate.awk\n@@ -0,0 +1,164 @@\n+#!\/usr\/bin\/gawk -f\n+\n+@include \"lib\/Commons\"\n+@include \"lib\/PLTokenizer\"\n+@include \"lib\/PLParser\"\n+\n+# Get the translation of a string.\n+function getTranslation(text, sl, tl, hl,\n+                        isVerbose, toSpeech, returnPlaylist,\n+                        ####\n+                        altTranslations, article, ast, content,\n+                        explanation, group, i, il,\n+                        isPhonetic, j, original, phonetics,\n+                        r, rtl, saveSortedIn, segments,\n+                        temp, tokens, translation, translations,\n+                        word, words, wordClasses) {\n+    isPhonetic = match(tl, \/^@\/)\n+    tl = substr(tl, 1 + isPhonetic)\n+\n+    if (!getCode(tl)) {\n+        # Check if target language is supported\n+        w(\"[WARNING] Unknown target language code: \" tl)\n+    } else if (rtl = Locale[getCode(tl)][\"rtl\"]) {\n+        # Check if target language is RTL\n+        if (!FriBidi)\n+            w(\"[WARNING] \" Locale[getCode(tl)][\"name\"] \" is a right-to-left language, but GNU FriBidi is not found on your system.\\nText might be displayed incorrectly.\")\n+    }\n+\n+    content = getResponse(text, sl, tl, hl)\n+\n+    plTokenize(tokens, content)\n+    plParse(ast, tokens)\n+\n+    if (!anything(ast)) {\n+        e(\"[ERROR] Oops! Something went wrong and I can't translate it for you :(\")\n+        ExitCode = 1\n+    }\n+\n+    # Debug mode\n+    if (Option[\"debug\"]) {\n+        d(sprintf(\"content='%s'\", content))\n+        da(tokens, \"tokens[%s]='%s'\")\n+        da(ast, \"ast[%s]='%s'\")\n+    }\n+\n+    saveSortedIn = PROCINFO[\"sorted_in\"]\n+    PROCINFO[\"sorted_in\"] = \"@ind_num_asc\"\n+    for (i in ast) {\n+        if (i ~ \"^0\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+\" SUBSEP \"0$\")\n+            append(translations, postprocess(literal(ast[i])))\n+        if (i ~ \"^0\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+\" SUBSEP \"1$\")\n+            append(original, literal(ast[i]))\n+        if (i ~ \"^0\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+\" SUBSEP \"2$\")\n+            append(phonetics, literal(ast[i]))\n+\n+        if (match(i, \"^0\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n+            wordClasses[group[1]] = literal(ast[i])\n+\n+        if (match(i, \"^0\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"([[:digit:]]+)$\", group))\n+            words[group[1]][group[2]][group[3]] = literal(ast[i])\n+        if (match(i, \"^0\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"1\" SUBSEP \"([[:digit:]]+)$\", group))\n+            words[group[1]][group[2]][\"1\"][group[3]] = literal(ast[i])\n+\n+        if (match(i, \"^0\" SUBSEP \"5\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n+            segments[group[1]] = literal(ast[i])\n+\n+        if (match(i, \"^0\" SUBSEP \"5\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"2\" SUBSEP \"([[:digit:]]+)\" SUBSEP \"0$\", group))\n+            altTranslations[group[1]][group[2]] = postprocess(literal(ast[i]))\n+\n+        # Identified source languages\n+        if (i ~ \"^0\" SUBSEP \"8\" SUBSEP \"0\" SUBSEP \"[[:digit:]]+$\")\n+            append(il, literal(ast[i]))\n+    }\n+    PROCINFO[\"sorted_in\"] = saveSortedIn\n+\n+    translation = join(translations)\n+\n+    if (!anything(il)) il[0] = sl\n+\n+    # Generate output\n+    if (!isVerbose) {\n+        # Brief mode\n+\n+        r = isPhonetic && anything(phonetics) ?\n+            join(phonetics) :  # phonetic transcription\n+            s(translation, tl) # target language\n+\n+        if (toSpeech) {\n+            returnPlaylist[0][\"text\"] = translation\n+            returnPlaylist[0][\"tl\"] = tl\n+        }\n+\n+    } else {\n+        # Verbose mode\n+\n+        r = AnsiCode[\"bold\"] s(translation, tl) AnsiCode[\"no bold\"] # target language\n+        if (anything(phonetics))\n+            r = r \"\\n\" AnsiCode[\"bold\"] join(phonetics) AnsiCode[\"no bold\"] # phonetic transcription\n+\n+        if (anything(altTranslations[0])) {\n+            # List alternative translations\n+\n+            if (Locale[getCode(hl)][\"rtl\"] || Locale[getCode(il[0])][\"rtl\"])\n+                r = r \"\\n\\n\" s(sprintf(Locale[getCode(hl)][\"message\"], join(original))) # caution: mixed languages, BiDi invoked must be implemented correctly (i.e. FriBidi is required)\n+            else\n+                r = r \"\\n\\n\" sprintf(Locale[getCode(hl)][\"message\"], join(original))\n+            if (Locale[getCode(il[0])][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n+                r = r \"\\n\" s(\"(\" Locale[getCode(il[0])][\"endonym\"] \" \u2794 \" Locale[getCode(tl)][\"endonym\"] \")\") # caution: mixed languages\n+            else\n+                r = r \"\\n\" \"(\" Locale[getCode(il[0])][\"endonym\"] \" \u2794 \" Locale[getCode(tl)][\"endonym\"] \")\"\n+\n+            temp = segments[0] \"(\" join(altTranslations[0], \"\/\") \")\"\n+            for (i = 1; i < length(altTranslations); i++)\n+                temp = temp \" \" segments[i] \"(\" join(altTranslations[i], \"\/\") \")\"\n+            if (Locale[getCode(il[0])][\"rtl\"] || Locale[getCode(tl)][\"rtl\"])\n+                r = r \"\\n\" AnsiCode[\"bold\"] s(temp) AnsiCode[\"no bold\"] # caution: mixed languages\n+            else\n+                r = r \"\\n\" AnsiCode[\"bold\"] temp AnsiCode[\"no bold\"]\n+        }\n+\n+        if (anything(wordClasses)) {\n+            # List dictionary entries\n+\n+            for (i = 0; i < length(words); i++) {\n+                r = r \"\\n\\n\" s(\"[\" wordClasses[i] \"]\", hl) # home language\n+                for (j = 0; j < length(words[i]); j++) {\n+                    word = words[i][j][0]\n+                    explanation = join(words[i][j][1], \", \")\n+                    article = words[i][j][4]\n+\n+                    if (rtl) {\n+                        r = r \"\\n\" AnsiCode[\"bold\"] sprintf(\"%\" Option[\"width\"] - 4 \"s\", s((article ?\n+                                                                                            \"(\" article \")\" :\n+                                                                                            \"\") \" \" word, tl, Option[\"width\"] - 4)) AnsiCode[\"no bold\"] # target language\n+                        r = r \"\\n\" s(explanation, il[0], Option[\"width\"] - 8) # identified source language\n+                    } else {\n+                        r = r \"\\n\" \"    \" AnsiCode[\"bold\"] show((article ?\n+                                                                 \"(\" article \") \" :\n+                                                                 \"\") word, tl) AnsiCode[\"no bold\"] # target language\n+                        r = r \"\\n\" \"        \" s(explanation, il[0], Option[\"width\"] - 8) # identified source language\n+                    }\n+                }\n+            }\n+        }\n+\n+        if (toSpeech) {\n+            if (index(Locale[getCode(hl)][\"message\"], \"%s\") > 2) {\n+                returnPlaylist[0][\"text\"] = sprintf(Locale[getCode(hl)][\"message\"], \"\")\n+                returnPlaylist[0][\"tl\"] = hl\n+                returnPlaylist[1][\"text\"] = join(original)\n+                returnPlaylist[1][\"tl\"] = il[0]\n+            } else {\n+                returnPlaylist[0][\"text\"] = join(original)\n+                returnPlaylist[0][\"tl\"] = il[0]\n+                returnPlaylist[1][\"text\"] = sprintf(Locale[getCode(hl)][\"message\"], \"\")\n+                returnPlaylist[1][\"tl\"] = hl\n+            }\n+            returnPlaylist[2][\"text\"] = translation\n+            returnPlaylist[2][\"tl\"] = tl\n+        }\n+    }\n+\n+    return r\n+}\n"}
{"commit":"d64ca0f62a6dbf5821a8e0d4533857d7cef4a87b","subject":"use return instead of exit in main to avoid a warning","message":"use return instead of exit in main to avoid a warning\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@8941 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"3c2ca4735ae87f804f37bce460335fb2ce33dca2","subject":"add missing file - fix build breakage","message":"add missing file - fix build breakage\n","repos":"pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,tkelman\/graphviz","returncode":1,"stderr":"error: pathspec 'awk\/svgcolor.awk' did not match any file(s) known to git\n","license":"epl-1.0","lang":"Awk","diff":"--- awk\/svgcolor.awk\n+++ awk\/svgcolor.awk\n@@ -0,0 +1,26 @@\n+# \n+# \/**********************************************************\n+# *      This software is part of the graphviz package      *\n+# *                http:\/\/www.graphviz.org\/                 *\n+# *                                                         *\n+# *            Copyright (c) 1994-2005 AT&T Corp.           *\n+# *                and is licensed under the                *\n+# *            Common Public License, Version 1.0           *\n+# *                      by AT&T Corp.                      *\n+# *                                                         *\n+# *        Information and Software Systems Research        *\n+# *              AT&T Research, Florham Park NJ             *\n+# **********************************************************\/\n+# \n+# Convert SVG-1.1 color data to same RGBA format used in color_names.\n+# See svgcolor_names for input format.\n+#\n+# All colors assumed opaque, so A = 255 in all colors\n+BEGIN {\n+\tFS = \"[ ,()]*\";\n+}\n+\/^[ \t]*$\/    { next; }\n+\/^#\/    { next; }\n+{\n+\tprintf (\"\/svg\/%s %s %s %s 255\\n\", $1, $5, $6, $7);\n+}\n"}
{"commit":"f575526c734068f7f6f19c5217d703d2da7425e2","subject":"Se quitan comentarios","message":"Se quitan comentarios\n\n","repos":"interwaremx\/Caudal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/interwaremx\/Caudal.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"08bbd0ae24c979ea0206311a913ae416465a4966","subject":"Add tool to extract options from configure help output","message":"Add tool to extract options from configure help output\n","repos":"colstrom\/unpkg","returncode":1,"stderr":"error: pathspec 'tool\/extract-configure-options.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool\/extract-configure-options.awk\n+++ tool\/extract-configure-options.awk\n@@ -0,0 +1,5 @@\n+$1 ~ \/^--\/ {\n+    gsub(\"[[]\", \" \")\n+    split($1,OPTION,\"=\")\n+    print OPTION[1]\n+}\n"}
{"commit":"dca93e6bf1443022d058235d66e4e93f0193dfa8","subject":"added missing processdelivered.awk script","message":"added missing processdelivered.awk script\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'solenv\/gbuild\/processdelivered.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/gbuild\/processdelivered.awk\n+++ solenv\/gbuild\/processdelivered.awk\n@@ -0,0 +1,36 @@\n+#*************************************************************************\n+#\n+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n+# \n+# Copyright 2000, 2010 Oracle and\/or its affiliates.\n+#\n+# OpenOffice.org - a multi-platform office productivity suite\n+#\n+# This file is part of OpenOffice.org.\n+#\n+# OpenOffice.org is free software: you can redistribute it and\/or modify\n+# it under the terms of the GNU Lesser General Public License version 3\n+# only, as published by the Free Software Foundation.\n+#\n+# OpenOffice.org is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU Lesser General Public License version 3 for more details\n+# (a copy is included in the LICENSE file that accompanied this code).\n+#\n+# You should have received a copy of the GNU Lesser General Public License\n+# version 3 along with OpenOffice.org.  If not, see\n+# <http:\/\/www.openoffice.org\/license.html>\n+# for a copy of the LGPLv3 License.\n+#\n+#*************************************************************************\n+\n+BEGIN {\n+    RS=\" \"\n+    FS=\":\"\n+}\n+\n+NF == 2 {\n+    print \"COPY \" $1 \" \" $2;\n+}\n+\n"}
{"commit":"3fb39e9c38aebb5e58472a93490892fd5be14097","subject":"Create zad11.awk","message":"Create zad11.awk","repos":"lukaszpetke\/jp,lukaszpetke\/jp","returncode":1,"stderr":"error: pathspec 'AWK\/zad11.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/zad11.awk\n+++ AWK\/zad11.awk\n@@ -0,0 +1,3 @@\n+#Z pliku telefony.txt wypisa\u0107 imiona i nazwiska wszystkich os\u00f3b, kt\u00f3rych telefony zaczynaj\u0105 si\u0119 od 058.\n+\n+$NF ~ \/^058\/ {print $2\" \"$1}\n"}
{"commit":"8114f821a1aa0bd5782e9ec5c00c50b481d4bc94","subject":"add tool.subCh","message":"add tool.subCh\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.subCh\/makeInit.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.subCh\/makeInit.awk\n+++ tool.subCh\/makeInit.awk\n@@ -0,0 +1,28 @@\n+BEGIN{\n+    # base parameter\n+    dnbs = 1e7;\n+    tpbs = 1e8;\n+    vxbs = 0.;\n+    # hotspot parameter\n+    xdis = 1e7;\n+    tdis = 3e9;\n+    \n+    xmax = 1e8;\n+    nmax = 800;\n+\n+    dx   = 2 * xmax \/ nmax;\n+    for(i = 0; i < nmax; i++) {\n+        px = dx * i - xmax;\n+        if(px*px < xdis*xdis) {\n+            dn = dnbs;\n+            vx = vxbs;\n+            xx = (px > 0.) ? px : -px;\n+            tp = tdis - (tdis - tpbs) * (xx \/ xdis) + tpbs;\n+        } else {\n+            dn = dnbs;\n+            vx = vxbs;\n+            tp = tpbs;\n+        }\n+        printf(\"%+e %+e %+e %+e\\n\", px, dn, tp, vx);\n+    }\n+}\n"}
{"commit":"47f10936c725d645942e56f76d28bc390836c63e","subject":"    a_new(dc, \"sage-spy.awk <timeout>\", \"\", \"try 2.1 for FTP\"","message":"    a_new(dc, \"sage-spy.awk <timeout>\", \"\", \"try 2.1 for FTP\"\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"7472aee76a980cb354697984bf1d48c387aaa066","subject":"adding my gpxutil iso date conversion script","message":"adding my gpxutil iso date conversion script\n","repos":"ai7\/toolbox,ai7\/toolbox,ai7\/toolbox,ai7\/toolbox,ai7\/toolbox","returncode":1,"stderr":"error: pathspec 'gpx\/iso-date\/src\/gpxutil.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- gpx\/iso-date\/src\/gpxutil.awk\n+++ gpx\/iso-date\/src\/gpxutil.awk\n@@ -0,0 +1,63 @@\n+#!\/usr\/bin\/env gawk -f\n+\n+# script to convert garmin gpx files's comment\/description field's\n+# silly DD-MMM-YY format to ISO date format, so native ascii order\n+# will sort waypoints by the time they are created.\n+#\n+# from: <cmt>05-JUL-13 16:34:05<\/cmt>\n+#   to: <cmt>2013-07-05 16:34:05<\/cmt>\n+\n+BEGIN {\n+    # use < or > as field separator for XML content\n+    FS = \"[<>]\"\n+\n+    # we are only interested in these lines\n+    p_line = \"<cmt>|<desc>\"\n+\n+    # regex pattern for the timestamp garmin outputs\n+    # 05-JUL-13 16:34:05\n+    # the hour can be one digit, so we group it separately\n+    p_date = \"([0-9]{2})-([a-zA-Z]{3})-([0-9]{2}) ([0-9]{1,2}):([0-9]{2}:[0-9]{2})\"\n+\n+    # create the month['jan'] = '01' ... array\n+    build_month()\n+}\n+\n+# print non matching lines (implicit action)\n+$0 !~ p_line\n+\n+# matching lines, convert matching timestamp\n+$0 ~ p_line {\n+    date = $3  # get the date we are interested in\n+\n+    if (match(date, p_date, A)) {\n+        new_date = sprintf(\"20%s-%s-%s %02d:%s\",  # assumes > year 2000\n+                           A[3],\n+                           month[tolower(A[2])],\n+                           A[1],\n+                           A[4],\n+                           A[5])\n+        # print date \" -> \" new_date\n+        # replace date with new_date in line\n+        sub(date, new_date, $0)\n+        count++\n+    }\n+    print\n+}\n+\n+END {\n+    print FILENAME \":\", count, \"line(s) update.\" > \"\/dev\/stderr\"\n+}\n+\n+# create the month['jan'] = '01' ... array\n+function build_month(   i, n, mlist)\n+{\n+    # parameters are used as local vars, no need to pass it in\n+    n = split(\"jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec\", mlist, \"|\")\n+    for (i = 1; i <= n; i++) {\n+        month[mlist[i]] = sprintf(\"%02d\", i)\n+    }\n+}\n+\n+# var initializes to 0 or \"\" as appropriate depend on use.\n+# so basically no need to initialize variables\n"}
{"commit":"bb0cc685f1b7a932492941f13ddd53014501cb55","subject":"Add utility to check proper scheduling of SI","message":"Add utility to check proper scheduling of SI\n\nThere are several types of System Information messages with tricky\nscheduling rules described in 3GPP TS 05.02 \u00a7 6.3.1.3. This GNU Awk\nscript takes in .csv file with sequence of scheduled SI messages (for\nexample generated using tshark from GSMTAP capture - see usage note\ninside the script) and check the scheduling rules compliance.\n","repos":"osmocom\/osmo-bts,osmocom\/osmo-bts,osmocom\/osmo-bts","returncode":1,"stderr":"error: pathspec 'contrib\/si_check.gawk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- contrib\/si_check.gawk\n+++ contrib\/si_check.gawk\n@@ -0,0 +1,91 @@\n+#!\/usr\/bin\/gawk -f\n+\n+# Usage example:\n+# tshark -2 -t r -E 'header=n' -E 'separator=,' -E 'quote=n' -T fields -e gsmtap.frame_nr -e gsmtap.ts -e gsmtap.arfcn -e _ws.col.Info -Y 'gsmtap' -r test.pcapng.gz | grep Information | env ARFCN=878 .\/si_check.gawk\n+# read summary on number of bis\/ter messages and adjust BT_BOTH and BT_NONE environment variables accordingly\n+\n+BEGIN {\n+\tFS = \",\"\n+\tFAILED = 0\n+\tIGNORE = 0\n+\tBIS = 0\n+\tTER = 0\n+\tQUA = 0\n+\tBT_BOTH = ENVIRON[\"BOTH\"]\n+\tBT_NONE = ENVIRON[\"NONE\"]\n+\tTC_INDEX = 0\n+\tTC4[4] = 0\n+}\n+\n+{ # expected .csv input as follows: gsmtap.frame_nr,gsmtap.ts,gsmtap.arfcn,_ws.col.Info\n+\tif (\"ARFCN\" in ENVIRON) { # ARFCN filtering is enabled\n+\t\tif (ENVIRON[\"ARFCN\"] != $3) { # ignore other ARFCNs\n+\t\t\tIGNORE++\n+\t\t\tnext\n+\t\t}\n+\t}\n+\ttype = get_si_type($4)\n+\ttc = get_tc($1)\n+\tresult = \"FAIL\"\n+\n+\tif (1 == check_si_tc(tc, type)) { result = \"OK\" }\n+\telse { FAILED++ }\n+\n+\tif (4 == tc) {\n+\t\tTC4[TC_INDEX] = type\n+\t\tTC_INDEX = int((TC_INDEX + 1) % 4)\n+\t\tif (0 == check_tc4c(type) && \"OK\" == result) {\n+\t\t\tresult = \"FAIL\"\n+\t\t\tFAILED++\n+\t\t}\n+\t}\n+\tif (type == \"2bis\") { BIS++ }\n+\tif (type == \"2ter\") { TER++ }\n+\tif (type == \"2quater\") { QUA++ }\n+\t# for (i in TC4) print TC4[i] # debugging\n+\tprintf \"ARFCN=%d FN=%d TS=%d TC=%d TYPE=%s %s\\n\", $3, $1, $2, tc, type, result\n+}\n+\n+END {\n+\tprintf \"check completed: total %d, failed %d, ignored %d, ok %d\\nSI2bis = %d, SI2ter = %d, SI2quater = %d\\n\", NR, FAILED, IGNORE, NR - FAILED - IGNORE, BIS, TER, QUA\n+\tif ((BIS > 0 || TER > 0) && BT_NONE) { printf \"please re-run with correct environment: unset 'NONE' variable\\n\" }\n+\tif ((BIS > 0 && TER > 0) && !BT_BOTH) { printf \"please re-run with correct environment: set 'BOTH' variable\\n\" }\n+}\n+\n+func get_si_type(s, x) { # we rely on format of Info column in wireshark output - if it's changed we're screwed\n+\treturn x[split(s, x, \" \")]\n+}\n+\n+func get_tc(f) { # N. B: all numbers in awk are float\n+\treturn int(int(f \/ 51) % 8)\n+}\n+\n+func check_tc4c(si, count) { # check for \"once in 4 consecutive occurrences\" rule\n+\tcount = 0\n+\tif (\"2quater\" != si || \"2ter\" != si) { return 1 } # rules is not applicable to other types\n+\tif (BT_NONE && \"2quater\" == si) { return 0 } # should be on TC=5 instead\n+\tif (!BT_BOTH && \"2ter\" == si) { return 0 } # should be on TC=5 instead\n+\tif (0 in TC4 && 1 in TC4 && 2 in TC4 && 3 in TC4) { # only check if we have 4 consecutive occurrences already\n+\t\tif (si == TC4[0]) { count++ }\n+\t\tif (si == TC4[1]) { count++ }\n+\t\tif (si == TC4[2]) { count++ }\n+\t\tif (si == TC4[3]) { count++ }\n+\t\tif (0 == count) { return 0 }\n+\t}\n+\treturn 1\n+}\n+\n+func check_si_tc(tc, si) { # check that SI scheduling on BCCH Norm is matching rules from 3GPP TS 05.02 \u00a7 6.3.1.3\n+\tswitch (si) {\n+\tcase \"1\":       return (0 == tc) ? 1 : 0\n+\tcase \"2\":       return (1 == tc) ? 1 : 0\n+\tcase \"2bis\":    return (5 == tc) ? 1 : 0\n+\tcase \"13\":      return (4 == tc) ? 1 : 0\n+\tcase \"9\":       return (4 == tc) ? 1 : 0\n+\tcase \"2ter\":    if (BT_BOTH) { return (4 == tc) ? 1 : 0 } else { return (5 == tc) ? 1 : 0 }\n+\tcase \"2quater\": if (BT_NONE) { return (5 == tc) ? 1 : 0 } else { return (4 == tc) ? 1 : 0 }\n+\tcase \"3\":       return (2 == tc || 6 == tc) ? 1 : 0\n+\tcase \"4\":       return (3 == tc || 7 == tc) ? 1 : 0\n+\t}\n+\treturn 0\n+}\n"}
{"commit":"23ede9c3eb578bc7ea4008b9a3383a8ccdb525a9","subject":"builtin","message":"builtin\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":1,"stderr":"error: pathspec 'src\/awk\/builtin.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/builtin.awk\n+++ src\/awk\/builtin.awk\n@@ -0,0 +1,13 @@\n+#! \/bin\/awk -f\n+\n+#find mean and variance of a column from a file\n+BEGIN {\n+}\n+#body\n+{\n+   alen=length($2)\n+   if (alen >= 29)\n+      print $2, alen\n+}\n+END { \n+}\n"}
{"commit":"22729affae0f6940db799818f38853d507ec388e","subject":"Separate awk script.","message":"Separate awk script.\n\nSeparate awk script.\n","repos":"mzch\/vmmaestro,jirutka\/vmmaestro","returncode":1,"stderr":"error: pathspec 'vmvar.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- vmvar.awk\n+++ vmvar.awk\n@@ -0,0 +1,46 @@\n+#! \/usr\/bin\/awk\n+\n+BEGIN {\n+  DISKS    = 0;\n+  NICS     = 0;\n+  CSECTION = \"\";\n+}\n+\n+\/^[ \\ta-zA-Z0-9_-+!@$%^&\\\\\\\/.:]+\/ {\n+  pos   = index($0, \"=\");\n+  if (pos > 0)\n+  {\n+\tleft  = substr($0, 1, pos - 1);\n+\tright = substr($0, pos + 1, length($0) - pos);\n+\tgsub(\"^[ \\t]+\" ,\"\", left);\n+\tgsub(\"[ \\t]+$\" ,\"\", left);\n+\tgsub(\"^[ \\t]+\" ,\"\", right);\n+\tgsub(\"[ \\t]+$\" ,\"\", right);\n+\tleft = tolower(left);\n+\tif (match(CSECTION, \"disk\") > 0)\n+\t{\n+\t  left = sprintf(\"%s[%d]\", left, DISKS);\n+\t}\n+\tif (match(CSECTION, \"network\") > 0)\n+\t{\n+\t  left = sprintf(\"%s[%d]\", left, NICS);\n+\t}\n+\tprintf (\"%s_%s=%s\\n\", CSECTION, left, right);\n+  }\n+}\n+\n+\/^[ \\t]*\\[[a-zA-Z0-9_-+!@$%^&\\\\\\\/.:]+\/ {\n+  gsub(\"^[ \\t]+\" ,\"\", $1);\n+  gsub(\"[ \\t]+$\" ,\"\", $1);\n+  gsub(\"^\\[\" ,\"\", $1);\n+  gsub(\"\\]$\" ,\"\", $1);\n+  CSECTION = $1;\n+  if (match(CSECTION,\"disk\") > 0)\n+  {\n+\tDISKS = DISKS + 1;\n+  }\n+  if (match(CSECTION, \"network\") > 0)\n+  {\n+\tNICS = NICS + 1;\n+  }\n+}\n"}
{"commit":"38401bef3440bd1d1a4267356bd9121379b66310","subject":"Use waas cache on Advanced page","message":"Use waas cache on Advanced page\n","repos":"KnCMiner\/knc-asic,KnCMiner\/knc-asic,KnCMiner\/knc-asic","returncode":1,"stderr":"error: pathspec 'RPi_system\/waas_all_info_cached.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- RPi_system\/waas_all_info_cached.awk\n+++ RPi_system\/waas_all_info_cached.awk\n@@ -0,0 +1,100 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {\n+  NUM_ASIC = 6;\n+  NUM_DIE = 4;\n+  NUM_DCDC = 8;\n+  for (asic = 0; asic < NUM_ASIC; ++asic) {\n+    asic_temp[asic] = \"\";\n+    asic_type[asic] = \"OFF\";\n+    for (die = 0; die < NUM_DIE; ++die) {\n+      asic_freq[asic, die] = 0;\n+    }\n+    for (dcdc = 0; dcdc < NUM_DCDC; ++dcdc)\n+      asic_dcdctemp[asic, dcdc] = \"\";\n+  }\n+  cur_asic = 0;\n+ }\n+\n+\/ASICCACHE\/ { asic = $2;\n+  asic_type[asic] = $3;\n+  asic_temp[asic] = $4;\n+  for (die = 0; die < NUM_DIE; ++die) {\n+    asic_freq[asic, die] = $(5 + die*2);\n+    asic_volt[asic, die] = $(5 + die*2 + 1);\n+  }\n+  for (dcdc = 0; dcdc < NUM_DCDC; ++dcdc) {\n+    asic_dcdctemp[asic, dcdc] = $(5 + NUM_DIE*2 + dcdc*3);\n+    asic_dcdcVout[asic, dcdc] = $(5 + NUM_DIE*2 + dcdc*3 + 1);\n+    asic_dcdcIout[asic, dcdc] = $(5 + NUM_DIE*2 + dcdc*3 + 2);\n+  }\n+}\n+\n+END {\n+  print \"{\"\n+  for (asic = 0; asic < NUM_ASIC; ++asic) {\n+    num = asic + 1;\n+    printf(\"\\\"asic_%d\\\": {\\n\", num);\n+\n+    for (dcdc = 0; dcdc < NUM_DCDC; ++dcdc) {\n+      vout = \"\";\n+      if (\"\" != asic_dcdcVout[asic, dcdc])\n+        vout = (0.0 + asic_dcdcVout[asic, dcdc]);\n+      if (vout <= 0)\n+        vout_s = \"\";\n+      else\n+        vout_s = sprintf(\"%.4f\", vout);\n+      print \"\\t\\\"dcdc\" dcdc \"_Vout\\\": \\\"\" vout_s \"\\\",\"\n+\n+      iout = \"\";\n+      if (\"\" != asic_dcdcIout[asic, dcdc])\n+        iout = (0.0 + asic_dcdcIout[asic, dcdc]);\n+      if (iout <= 0)\n+        iout_s = \"\";\n+      else\n+        iout_s = sprintf(\"%.4f\", iout);\n+      print \"\\t\\\"dcdc\" dcdc \"_Iout\\\": \\\"\" iout_s \"\\\",\"\n+\n+      temp = \"\";\n+      if (\"\" != asic_dcdctemp[asic, dcdc])\n+        temp = (0.0 + asic_dcdctemp[asic, dcdc]);\n+      if (temp <= 0)\n+        temp_s = \"\";\n+      else\n+        temp_s = sprintf(\"%.1f\", temp);\n+      print \"\\t\\\"dcdc\" dcdc \"_Temp\\\": \\\"\" temp_s \"\\\",\"\n+    }\n+\n+    for (die = 0; die < NUM_DIE; ++die) {\n+      freq = \"\";\n+      if (\"\" != asic_freq[asic, die])\n+        freq = (0 + asic_freq[asic, die]);\n+      if (freq <= 0)\n+        freq = \"\";\n+      print \"\\t\\\"die\" die \"_Freq\\\": \\\"\" freq \"\\\",\";\n+\n+      volt = \"\";\n+      if (\"\" != asic_volt[asic, die])\n+        volt = (0.0 + asic_volt[asic, die]);\n+      if (volt <= -1000)\n+        volt_s = \"\";\n+      else\n+        volt_s = sprintf(\"%.4f\", volt);\n+      print \"\\t\\\"die\" die \"_Voffset\\\": \\\"\" volt_s \"\\\",\";\n+    }\n+\n+    temp = \"\";\n+    if (\"\" != asic_temp[asic])\n+      temp = (0.0 + asic_temp[asic]);\n+    if (temp <= 0)\n+      temp_s = \"\";\n+    else\n+      temp_s = sprintf(\"%.1f\", temp);\n+    print \"\\t\\\"temperature\\\": \\\"\" temp_s \"\\\"\";\n+\n+    if (asic < (NUM_ASIC - 1))\n+      print \"},\"\n+    else\n+      print \"}\"\n+  }\n+  print \"}\"\n+}\n"}
{"commit":"b4774230bc2223ddeab13a838d17b10a931a181f","subject":"pushing","message":"pushing\n","repos":"timm\/sandbox,timm\/sandbox,timm\/sandbox,timm\/sandbox,timm\/sandbox","returncode":1,"stderr":"error: pathspec 'auk\/libOk.auk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- auk\/libOk.auk\n+++ auk\/libOk.auk\n@@ -0,0 +1,12 @@\n+# vim: ft=awk:ts=2 sw=2 sts=2 expandtab:cindent:formatoptions+=cro \n+\n+@include \"lib\"\n+\n+BEGIN { \n+  data(d) \n+  Csv(d,\"data\/weather\" The.dot \"csv\")\n+  _ISORTER=3\n+  asort(d.rows,_,\"isort_cmp\")\n+  o(d.rows)\n+}\n+\n"}
{"commit":"61310007a8666c47ff4c3ca3ae93e8cc5acf9ada","subject":"Histogram awk script","message":"Histogram awk script\n","repos":"psd\/price-paid-data,psd\/price-paid-data,psd\/price-paid-data,psd\/price-paid-data","returncode":1,"stderr":"error: pathspec 'bin\/histogram.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- bin\/histogram.awk\n+++ bin\/histogram.awk\n@@ -0,0 +1,19 @@\n+#!\/usr\/bin\/env awk -f\n+\n+# draws histogram for a reverse sorted count file\n+\n+NR == 1 {\n+    width = 60\n+    max = $1;\n+}\n+{\n+    title = $2;\n+    size = width * ($1 \/ max);\n+\n+    bar = \"\";\n+    for (i = 0; i < size; i++)\n+        bar = bar\"#\";\n+\n+    count = sprintf(\"(%d)\", $1);\n+    printf \"%-10s %10s %s\\n\", title, count, bar;\n+}\n"}
{"commit":"bc89c554c978ce7d5fbdb782a5a60e82e7f44f5e","subject":"  s_split(\"\/\", url, br)","message":"  s_split(\"\/\", url, br)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"f279c7a256dbd0d3d0cce439f5cd61879f212d65","subject":"add first version of parser (AWK ftw)","message":"add first version of parser (AWK ftw)\n","repos":"bluehood\/yafam,bluehood\/yafam","returncode":1,"stderr":"error: pathspec 'parser.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- parser.awk\n+++ parser.awk\n@@ -0,0 +1,37 @@\n+#!\/usr\/bin\/awk -f\n+\n+function parse(string, ss, toks, f) {\n+\n+   if(index(string, \"(\") != 0) {\n+      match(string, \/(.*)\\(([^()]+)\\)(.*)\/, ss);\n+      toparse = ss[1] parse(ss[2]) ss[3];\n+      return parse(toparse);\n+   }\n+\n+   if(index(string, \" or \") != 0) {\n+      match(string, \/(.*) or (.*)\/, ss);\n+      return \"max[\" parse(ss[1]) \",\" parse(ss[2]) \"]\";\n+   }\n+\n+   if(index(string, \" and \") != 0) {\n+      match(string, \/(.*) and (.*)\/, ss);\n+      return \"min[\" parse(ss[1]) \",\" parse(ss[2]) \"]\";\n+   }\n+\n+   if(index(string, \"min[\") == 0 && index(string, \"max[\") == 0)\n+      return \"f{\\\"\"string\"\\\"}\";\n+   else\n+      return string;\n+}\n+\n+{\n+   split($0,ss,\" => \");\n+   header = \"Fitness rule\"++n\"(Fitnesses f) {\";\n+   result = parse(ss[1]);\n+   gsub(\/\\[\/,\"(\",result);\n+   gsub(\/\\]\/,\")\",result);\n+   gsub(\/\\{\/,\"[\",result);\n+   gsub(\/\\}\/,\"]\",result);\n+   body = \"\\t return \" result \";\";\n+   print header \"\\n\" body \"\\n}\\nrules[\\\"\" ss[2] \"\\\"] = rule\" n \";\";\n+}\n"}
{"commit":"26d66058c5bfae65ae4c90b8f8fc14a6ea7da266","subject":"Add anm3 config","message":"Add anm3 config\n","repos":"Ameliorate\/dotfiles","returncode":1,"stderr":"error: pathspec 'anm3rc.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- anm3rc.awk\n+++ anm3rc.awk\n@@ -0,0 +1,82 @@\n+@include \"anm3.awk\"\n+\n+\/+1$\/ {\n+\tmagic_key(\"Home\")\n+}\n+\n+\/+2$\/ && W_COMMAND !~ \/Discord\/ {\n+\tmagic_key(\"End\")\n+}\n+\n+\/+2$\/ && W_COMMAND ~ \/Discord\/ {\n+\tkey(\"Escape\") # Go to newest message and mark unread.\n+}\n+\n+\/+2$\/ && W_TITLE ~ \/Minecraft\/ {\n+\tkey(\"F5 F5\") # Look behind character.\n+}\n+\n+\/-2$\/ && W_TITLE ~ \/Minecraft\/ {\n+\tkey(\"F5\")\n+}\n+\n+\/-3$\/ && W_COMMAND ~ \/Discord\/ {\n+\tkey(\"Shift+Prior\")\n+}\n+\n+\/+4$\/ {\n+\tMINIMIZE_WIN = W_TITLE \" \" W_COMMAND\n+}\n+\n+\/-4$\/ {\n+\tif (MINIMIZE_WIN == W_TITLE \" \" W_COMMAND) {\n+\t\txdo(\"getactivewindow windowminimize\") # Iconify window.\n+\t}\t\n+}\n+\n+\/-7$\/ && W_COMMAND ~ \/firefox|chrom\/ {\n+\tkey(\"Ctrl+Shift+t\")\n+}\n+\n+\/+10$\/ && W_COMMAND ~ \/firefox|chrom\/ { # Works for firefox, chrome, and chromium\n+\tkey(\"Ctrl+w\") # Close Tab\n+}\n+\n+\/+10$\/ && W_COMMAND ~ \/Discord\/ {\n+\tif (W_TITLE ~ \/^Discord$\/) {\n+\t\t# xdo(\"getactivewindow windowclose\") # Discord can't be reopened?\n+\t} else {\n+\t\tkey(\"Ctrl+1 Ctrl+1\") # Switch to start screen\n+\t}\n+}\n+\n+\/+10$\/ && W_TITLE ~ \/Terminal - man\/ {\n+\tkey(\"q\") # quit man\n+}\n+\n+\/+10$\/ && W_TITLE ~ \/Terminal - (fish|.*@grant-arch-desk-1:)\/ {\n+\txdo(\"getactivewindow windowclose\") # close window\n+}\n+\n+\/+10$\/ && W_COMMAND ~ \/mirage\/ {\n+\txdo(\"getactivewindow windowclose\") # close window\n+}\n+\n+\/+10$\/ && W_COMMAND ~ \/pcmanfm\/ {\n+\tkey(\"Ctrl+w\")\n+}\n+\n+\/+10$\/ && W_TITLE ~ \/^Terminal - .* - VIM$\/ {\n+\tkey(\"Escape\")\n+\ttype(\":q\")\n+\tkey(\"Return\")\n+}\n+\n+\/+11$\/ {\n+\tmagic_key(\"XF86Back\")\n+}\n+\n+\/+12$\/ {\n+\tmagic_key(\"XF86Forward\")\n+}\n+\n"}
{"commit":"1b0c9cd099e80a7557eb4ae36efb1897f7202a02","subject":"recognize partial register operands in i386 CFI generation","message":"recognize partial register operands in i386 CFI generation\n","repos":"chardi\/musl,chardi\/musl,chardi\/musl","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/chardi\/musl.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"957de09063c046376dafa2fdc306bbaf7471c138","subject":"adding in addstats script for mega","message":"adding in addstats script for mega\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":1,"stderr":"error: pathspec 'CPU\/common\/makemega_addstats.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- CPU\/common\/makemega_addstats.awk\n+++ CPU\/common\/makemega_addstats.awk\n@@ -0,0 +1,66 @@\n+#!\/usr\/bin\/awk -f\n+##########\n+#The MIT License (MIT)\n+#\n+# Copyright (c) 2015 Aiden Lab\n+#\n+# Permission is hereby granted, free of charge, to any person obtaining a copy\n+# of this software and associated documentation files (the \"Software\"), to deal\n+# in the Software without restriction, including without limitation the rights\n+# to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n+# copies of the Software, and to permit persons to whom the Software is\n+# furnished to do so, subject to the following conditions:\n+#\n+# The above copyright notice and this permission notice shall be included in\n+# all copies or substantial portions of the Software.\n+#\n+#  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+#  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+#  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+#  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+#  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+#  THE SOFTWARE.\n+##########\n+# Helper script for taking in multiple inter.txt and producing sums\n+# Juicer version 1.5\n+$1==\"Sequenced\"{\n+gsub(\/,\/,\"\",$4);\n+ total=total+$4;\n+}\n+$1==\"Unmapped:\"{\n+gsub(\/,\/,\"\",$2);\n+ unmapped=unmapped+$2\n+}\n+$1==\"Normal\"{\n+gsub(\/,\/,\"\",$3);\n+ regular=regular+$3}\n+$1==\"Chimeric\" && $2==\"Paired:\"{\n+gsub(\/,\/,\"\",$3);\n+ normal=normal+$3}\n+$2==\"Ambiguous:\"{\n+gsub(\/,\/,\"\",$3);\n+ abnorm=abnorm+$3}\n+$1==\"Alignable\"{\n+gsub(\/,\/,\"\",$4);\n+ alignable=alignable+$4}\n+$1==\"Unique\" {\n+gsub(\/,\/,\"\",$3);\n+ dedup=dedup+$3}\n+$1==\"PCR\"{\n+gsub(\/,\/,\"\",$3);\n+ dups=dups+$3}\n+$1==\"Optical\"{\n+gsub(\/,\/,\"\",$3);\n+ optdups=optdups+$3}\n+END{\n+ printf(\"%s %'d\\n\", \"Sequenced Read Pairs:\", total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Normal Paired:\", regular, regular*100\/total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Chimeric Paired:\", normal, normal*100\/total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Chimeric Ambiguous:\", abnorm, abnorm*100\/total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Unmapped:\", unmapped, unmapped*100\/total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Alignable (Normal+Chimeric Paired):\", alignable, alignable*100\/total);\n+ printf(\"%s %'d\\n\", \"Unique Reads:\", dedup);\n+ printf(\"%s %'d\\n\", \"PCR Duplicates:\", dups);\n+  printf(\"%s %'d\\n\", \"Optical Duplicates:\", optdups);\n+}\n"}
{"commit":"5d583e047ca1b99b134efa700dff40323a1097b9","subject":"Add cubic_roots.awk","message":"Add cubic_roots.awk\n\n1. Awk script to compute zeros of a cubic function.\n","repos":"mherman09\/Hdef,mherman09\/Hdef,mherman09\/Hdef","returncode":1,"stderr":"error: pathspec 'scripts\/cubic_roots.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- scripts\/cubic_roots.awk\n+++ scripts\/cubic_roots.awk\n@@ -0,0 +1,40 @@\n+BEGIN{\n+    pi = atan2(1,1)*4.0\n+}{\n+    # Solve for x given a3*x^3 + a2*x^2 + a1*x +a0 = 0\n+    # Input is: a3 a2 a1 a0\n+    a3 = $1\n+    a2 = $2\n+    a1 = $3\n+    a0 = $4\n+\n+    # Normalize equation so that a3 = 1\n+    a0 = a0\/a3\n+    a1 = a1\/a3\n+    a2 = a2\/a3\n+    a3 = a3\/a3\n+\n+    Q = (3*a1-a2*a2)\/9\n+    R = (9*a2*a1-27*a0-2*a2*a2*a2)\/54\n+\n+    D = Q*Q*Q + R*R\n+\n+    # Depending on number of roots, calculate differently\n+    if (D<=0) {\n+        print \"D<=0: \",D\n+        x = R\/sqrt(-Q*Q*Q)\n+        theta = atan2(sqrt(1-x*x), x) \n+        x1 = 2*sqrt(-Q)*cos(theta\/3) - a2\/3\n+        x2 = 2*sqrt(-Q)*cos((theta+2*pi)\/3) - a2\/3\n+        x3 = 2*sqrt(-Q)*cos((theta+4*pi)\/3) - a2\/3\n+        print x1,x2,x3\n+    } else {\n+        print \"D POSITIVE: \",D\n+        S = (R+sqrt(D))^(1\/3)\n+        T = (R-sqrt(D))^(1\/3)\n+        x1 = S + T - a2\/3\n+        print x1\n+    }\n+}END{\n+\n+}\n"}
{"commit":"33c67baa992706e26cfeb63901b0786aa1d76f90","subject":"Added an awk script to check for leaks in the memory logging output we just added.","message":"Added an awk script to check for leaks in the memory logging output we just added.\n","repos":"mantyr\/libui,tbodt\/libui,mantyr\/libui,sclukey\/libui,ProtonMail\/libui,mantyr\/libui,sclukey\/libui,ProtonMail\/libui,tbodt\/libui,ProtonMail\/libui","returncode":1,"stderr":"error: pathspec 'leaks.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- leaks.awk\n+++ leaks.awk\n@@ -0,0 +1,56 @@\n+# 7 april 2015\n+\n+$2 == \"alloc\" {\n+\tif ($1 in A) {\n+\t\tproblem($1 \" already allocated (\" A[$1] \"); allocated at \" NR)\n+\t\tnext\n+\t}\n+\tA[$1] = type()\n+\tnext\n+}\n+\n+$2 == \"realloc\" {\n+\tif (!($1 in A)) {\n+\t\tproblem($1 \" not yet allocated; reallocated at \" NR)\n+\t\tnext\n+\t}\n+\tif ($3 in A) {\n+\t\tproblem($3 \" already allocated (\" A[$3] \"); reallocated at \" NR)\n+\t\tnext\n+\t}\n+\tt = A[$1]\n+\tdelete A[$1]\n+\tA[$3] = t\n+\tnext\n+}\n+\n+$2 == \"free\" {\n+\tif (!($1 in A)) {\n+\t\tproblem($1 \" not yet allocated; freed at \" NR)\n+\t\tnext\n+\t}\n+\tdelete A[$1]\n+\tnext\n+}\n+\n+{ problem(\"unrecognized line \" $0 \" at \" NR) }\n+\n+END {\n+\tfor (i in A)\n+\t\tproblem(\"leaked \" A[i] \" at \" i)\n+\tclose(\"\/dev\/stderr\")\n+\tif (hasProblems)\n+\t\texit 1\n+}\n+\n+function problem(s) {\n+\tprint s > \"\/dev\/stderr\"\n+\thasProblems = 1\n+}\n+\n+function type(\t\ts, i) {\n+\ts = $3\n+\tfor (i = 4; i <= NF; i++)\n+\t\ts = s \" \" $i\n+\treturn s\n+}\n"}
{"commit":"e04a5a0af8299762ba5332690e97e7ce7e47172b","subject":"    print \"try 2 for FTP\"","message":"    print \"try 2 for FTP\"\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"37872bb9efddf9518cc77c43f9fa8fc6bfd3d727","subject":"ARM: SAMSUNG: Add script to change old clksrc_clk to new register defs","message":"ARM: SAMSUNG: Add script to change old clksrc_clk to new register defs\n\nThis script is used to change the old style clksrc_clk as originally\nfound in plat-s3c64xx to the new style. It is here for reference if needed\nfor future code merges.\n\nSigned-off-by: Ben Dooks <1177f64998f284a7348354b8e91cbbe575d9858a@fluff.org>\n","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas","returncode":1,"stderr":"error: pathspec 'Documentation\/arm\/Samsung\/clksrc-change-registers.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- Documentation\/arm\/Samsung\/clksrc-change-registers.awk\n+++ Documentation\/arm\/Samsung\/clksrc-change-registers.awk\n@@ -0,0 +1,167 @@\n+#!\/usr\/bin\/awk -f\n+#\n+# Copyright 2010 Ben Dooks <ben-linux@fluff.org>\n+#\n+# Released under GPLv2\n+\n+# example usage\n+# .\/clksrc-change-registers.awk arch\/arm\/plat-s5pc1xx\/include\/plat\/regs-clock.h < src > dst\n+\n+function extract_value(s)\n+{\n+    eqat = index(s, \"=\")\n+    comat = index(s, \",\")\n+    return substr(s, eqat+2, (comat-eqat)-2)\n+}\n+\n+function remove_brackets(b)\n+{\n+    return substr(b, 2, length(b)-2)\n+}\n+\n+function splitdefine(l, p)\n+{\n+    r = split(l, tp)\n+\n+    p[0] = tp[2]\n+    p[1] = remove_brackets(tp[3])\n+}\n+\n+function find_length(f)\n+{\n+    if (0)\n+\tprintf \"find_length \" f \"\\n\" > \"\/dev\/stderr\"\n+\n+    if (f ~ \/0x1\/)\n+\treturn 1\n+    else if (f ~ \/0x3\/)\n+\treturn 2\n+    else if (f ~ \/0x7\/)\n+\treturn 3\n+    else if (f ~ \/0xf\/)\n+\treturn 4\n+\n+    printf \"unknown legnth \" f \"\\n\" > \"\/dev\/stderr\"\n+    exit\n+}\n+\n+function find_shift(s)\n+{\n+    id = index(s, \"<\")\n+    if (id <= 0) {\n+\tprintf \"cannot find shift \" s \"\\n\" > \"\/dev\/stderr\"\n+\texit\n+    }\n+\n+    return substr(s, id+2)\n+}\n+\n+\n+BEGIN {\n+    if (ARGC < 2) {\n+\tprint \"too few arguments\" > \"\/dev\/stderr\"\n+\texit\n+    }\n+\n+# read the header file and find the mask values that we will need\n+# to replace and create an associative array of values\n+\n+    while (getline line < ARGV[1] > 0) {\n+\tif (line ~ \/\\#define.*_MASK\/ &&\n+\t    !(line ~ \/S5PC100_EPLL_MASK\/) &&\n+\t    !(line ~ \/USB_SIG_MASK\/)) {\n+\t    splitdefine(line, fields)\n+\t    name = fields[0]\n+\t    if (0)\n+\t\tprintf \"MASK \" line \"\\n\" > \"\/dev\/stderr\"\n+\t    dmask[name,0] = find_length(fields[1])\n+\t    dmask[name,1] = find_shift(fields[1])\n+\t    if (0)\n+\t\tprintf \"=> '\" name \"' LENGTH=\" dmask[name,0] \" SHIFT=\" dmask[name,1] \"\\n\" > \"\/dev\/stderr\"\n+\t} else {\n+\t}\n+    }\n+\n+    delete ARGV[1]\n+}\n+\n+\/clksrc_clk.*=.*{\/ {\n+    shift=\"\"\n+    mask=\"\"\n+    divshift=\"\"\n+    reg_div=\"\"\n+    reg_src=\"\"\n+    indent=1\n+\n+    print $0\n+\n+    for(; indent >= 1;) {\n+\tif ((getline line) <= 0) {\n+\t    printf \"unexpected end of file\" > \"\/dev\/stderr\"\n+\t    exit 1;\n+\t}\n+\n+\tif (line ~ \/\\.shift\/) {\n+\t    shift = extract_value(line)\n+\t} else if (line ~ \/\\.mask\/) {\n+\t    mask = extract_value(line)\n+\t} else if (line ~ \/\\.reg_divider\/) {\n+\t    reg_div = extract_value(line)\n+\t} else if (line ~ \/\\.reg_source\/) {\n+\t    reg_src = extract_value(line)\n+\t} else if (line ~ \/\\.divider_shift\/) {\n+\t    divshift = extract_value(line)\n+\t} else if (line ~ \/{\/) {\n+\t\tindent++\n+\t\tprint line\n+\t    } else if (line ~ \/}\/) {\n+\t    indent--\n+\n+\t    if (indent == 0) {\n+\t\tif (0) {\n+\t\t    printf \"shift '\" shift   \"' ='\" dmask[shift,0] \"'\\n\" > \"\/dev\/stderr\"\n+\t\t    printf \"mask  '\" mask    \"'\\n\" > \"\/dev\/stderr\"\n+\t\t    printf \"dshft '\" divshift \"'\\n\" > \"\/dev\/stderr\"\n+\t\t    printf \"rdiv  '\" reg_div \"'\\n\" > \"\/dev\/stderr\"\n+\t\t    printf \"rsrc  '\" reg_src \"'\\n\" > \"\/dev\/stderr\"\n+\t\t}\n+\n+\t\tgenerated = mask\n+\t\tsub(reg_src, reg_div, generated)\n+\n+\t\tif (0) {\n+\t\t    printf \"\/* rsrc \" reg_src \" *\/\\n\"\n+\t\t    printf \"\/* rdiv \" reg_div \" *\/\\n\"\n+\t\t    printf \"\/* shift \" shift \" *\/\\n\"\n+\t\t    printf \"\/* mask \" mask \" *\/\\n\"\n+\t\t    printf \"\/* generated \" generated \" *\/\\n\"\n+\t\t}\n+\n+\t\tif (reg_div != \"\") {\n+\t\t    printf \"\\t.reg_div = { \"\n+\t\t    printf \".reg = \" reg_div \", \"\n+\t\t    printf \".shift = \" dmask[generated,1] \", \"\n+\t\t    printf \".size = \" dmask[generated,0] \", \"\n+\t\t    printf \"},\\n\"\n+\t\t}\n+\n+\t\tprintf \"\\t.reg_src = { \"\n+\t\tprintf \".reg = \" reg_src \", \"\n+\t\tprintf \".shift = \" dmask[mask,1] \", \"\n+\t\tprintf \".size = \" dmask[mask,0] \", \"\n+\n+\t\tprintf \"},\\n\"\n+\n+\t    }\n+\n+\t    print line\n+\t} else {\n+\t    print line\n+\t}\n+\n+\tif (0)\n+\t    printf indent \":\" line \"\\n\" > \"\/dev\/stderr\"\n+    }\n+}\n+\n+\/\/ && ! \/clksrc_clk.*=.*{\/ { print $0 }\n"}
{"commit":"8e27a63c160d4b41b48300d3f3caf8ba8e3911de","subject":"split out samples by animal","message":"split out samples by animal\n","repos":"dacb\/IBD_16S_analyses,dacb\/IBD_16S_analyses","returncode":1,"stderr":"error: pathspec '15.figures.ft.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- 15.figures.ft.awk\n+++ 15.figures.ft.awk\n@@ -0,0 +1,22 @@\n+{\n+\tif (line == 0) {\n+\t\tfor (i = 1; i <= NF; ++i) {\n+\t\t\theader[i] = $i;\n+\t\t}\n+\t\theaders = NF;\n+\t} else {\n+\t\tif ($1 == \"Donor\")\n+\t\t\tfile = prefix \".Donor.tab\";\n+\t\telse\n+\t\t\tfile = prefix \".\" substr($1, 1, 2) \".tab\";\n+\t\tif (first[file] == 0) {\n+\t\t\tfirst[file] = 1;\n+\t\t\tprintf(\"%s\", header[1]) > file;\n+\t\t\tfor (i = 2; i <= headers; ++i)\n+\t\t\t\tprintf(\"\\t%s\", header[i]) >> file;\n+\t\t\tprintf(\"\\n\") >> file;\n+\t\t}\n+\t\tprint $0 >> file;\n+\t}\n+\tline++;\n+}\n"}
{"commit":"7464bd8cc3a68bd7e1b9d3db010a1d0b0135b6f3","subject":"A script to show per allocator overhead\/fragmentation.","message":"A script to show per allocator overhead\/fragmentation.\n\nCan be used as follows:\n\n  .\/scripts\/allocators.awk --(current|max|max-ever) erl_crash.dump.n_0.ns_server\n\nProduces something that looks like this:\n\nbinary_alloc[0]\n\n\tmbcs size: 32872\n\tmbcs overhead: 7624\n\tmbcs fragmentation: 23\n\n\tsbcs size: 0\n\tsbcs overhead: 0\n\tsbcs fragmentation: 0\n\n\tcombined size: 32872\n\tcombined overhead: 7624\n\tcombined fragmentation: 23\n...\nTop allocators by used memory:\n\n\teheap_alloc[1]: 166645864\n\tll_alloc: 37748800\n\tbinary_alloc[4]: 13541480\n\teheap_alloc[5]: 11784296\n\teheap_alloc[4]: 10031208\n\teheap_alloc[2]: 8900712\n\teheap_alloc[3]: 8736872\n\tbinary_alloc[2]: 8159336\n\teheap_alloc[8]: 6922344\n\tbinary_alloc[1]: 5537896\n\nTop allocators by memory overhead:\n\n\tbinary_alloc[2]: 5073408\n\tbinary_alloc[4]: 4742216\n\teheap_alloc[8]: 3658200\n\teheap_alloc[1]: 3557856\n\teheap_alloc[4]: 3447792\n\teheap_alloc[2]: 2049672\n\tll_alloc: 1886176\n\teheap_alloc[3]: 1705592\n\teheap_alloc[7]: 1666024\n\tbinary_alloc[1]: 1120688\n\nTop allocators by memory fragmentation:\n\n\ttemp_alloc[1]: 100\n\ttemp_alloc[2]: 100\n\tsl_alloc[0]: 100\n\ttemp_alloc[4]: 100\n\ttemp_alloc[6]: 100\n\tsl_alloc[4]: 100\n\ttemp_alloc[8]: 100\n\tsl_alloc[6]: 100\n\tsl_alloc[7]: 100\n\ttemp_alloc[0]: 100\n\nTotals:\n\n\tmbcs size: 98508160\n\tmbcs overhead: 35793400\n\tmbcs fragmentation: 36\n\n\tsbcs size: 205307904\n\tsbcs overhead: 6765800\n\tsbcs fragmentation: 3\n\n\tcombined size: 303816064\n\tcombined overhead: 42559200\n\tcombined fragmentation: 14\n\nChange-Id: I6319826abac003619f9de0e52ae54858d3f73680\nReviewed-on: http:\/\/review.couchbase.org\/50656\nTested-by: Aliaksey Artamonau <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>\nReviewed-by: Aliaksey Artamonau <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>\n","repos":"nimishzynga\/ns_server,ceejatec\/ns_server,membase\/ns_server,membase\/ns_server,mschoch\/ns_server,nimishzynga\/ns_server,nimishzynga\/ns_server,ceejatec\/ns_server,ceejatec\/ns_server,mschoch\/ns_server,ceejatec\/ns_server,nimishzynga\/ns_server,mschoch\/ns_server,nimishzynga\/ns_server,mschoch\/ns_server,mschoch\/ns_server,ceejatec\/ns_server,membase\/ns_server,membase\/ns_server,membase\/ns_server,nimishzynga\/ns_server,membase\/ns_server,ceejatec\/ns_server,mschoch\/ns_server","returncode":1,"stderr":"error: pathspec 'scripts\/allocators.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- scripts\/allocators.awk\n+++ scripts\/allocators.awk\n@@ -0,0 +1,155 @@\n+#!\/usr\/bin\/gawk -f\n+\n+BEGIN {\n+    type = \"current\"\n+\n+    argc = 0\n+\n+    for (i in ARGV) {\n+        if (match(ARGV[i], \/--(max|max-ever|current)\/, m)) {\n+            type = m[1]\n+        } else {\n+            argv[argc] = ARGV[i]\n+            argc += 1\n+        }\n+    }\n+\n+    ARGC = argc\n+    for (i in argv) {\n+        ARGV[i] = argv[i]\n+    }\n+\n+    if (type == \"current\") {\n+        size_index = 0\n+    } else if (type == \"max\") {\n+        size_index = 1\n+    } else if (type == \"max-ever\") {\n+        size_index = 2\n+    }\n+}\n+\n+match($0, \/=allocator:(.*)\/, matches) {\n+    allocator = matches[1]\n+}\n+\n+match($0, \/(mbcs|sbcs) (blocks|carriers) size: ([[:digit:]]+) ([[:digit:]]+) ([[:digit:]]+)\/, matches) {\n+    if (allocator) {\n+        allocators[allocator] = \"\"\n+        sizes[allocator \",\" matches[1] \",\" matches[2]] = matches[3 + size_index]\n+    }\n+}\n+\n+END {\n+    total_mbcs_blocks = 0\n+    total_mbcs_carriers = 0\n+\n+    total_sbcs_blocks = 0\n+    total_sbcs_carriers = 0\n+\n+    PROCINFO[\"sorted_in\"] = \"@ind_str_asc\"\n+    for (allocator in allocators) {\n+        mbcs_blocks = sizes[allocator \",mbcs,blocks\"]\n+        mbcs_carriers = sizes[allocator \",mbcs,carriers\"]\n+\n+        sbcs_blocks = sizes[allocator \",sbcs,blocks\"]\n+        sbcs_carriers = sizes[allocator \",sbcs,carriers\"]\n+\n+        mbcs_size[allocator] = mbcs_carriers\n+        mbcs_overhead[allocator] = mbcs_carriers - mbcs_blocks\n+        mbcs_fragmentation[allocator] = fragmentation(mbcs_overhead[allocator], mbcs_size[allocator])\n+\n+        sbcs_size[allocator] = sbcs_carriers\n+        sbcs_overhead[allocator] = sbcs_carriers - sbcs_blocks\n+        sbcs_fragmentation[allocator] = fragmentation(sbcs_overhead[allocator], sbcs_size[allocator])\n+\n+        total_mbcs_blocks += mbcs_blocks\n+        total_mbcs_carriers += mbcs_carriers\n+        total_sbcs_blocks += sbcs_blocks\n+        total_sbcs_carriers += sbcs_carriers\n+\n+        combined_size[allocator] = mbcs_size[allocator] + sbcs_size[allocator]\n+        combined_overhead[allocator] = mbcs_overhead[allocator] + sbcs_overhead[allocator]\n+        combined_fragmentation[allocator] = fragmentation(combined_overhead[allocator],\n+                                                          combined_size[allocator])\n+\n+        printf(\"%s\\n\\n\", allocator)\n+        printf(\"\\tmbcs size: %d\\n\", mbcs_size[allocator])\n+        printf(\"\\tmbcs overhead: %d\\n\", mbcs_overhead[allocator])\n+        printf(\"\\tmbcs fragmentation: %d\\n\\n\", mbcs_fragmentation[allocator])\n+        printf(\"\\tsbcs size: %d\\n\", sbcs_size[allocator])\n+        printf(\"\\tsbcs overhead: %d\\n\", sbcs_overhead[allocator])\n+        printf(\"\\tsbcs fragmentation: %d\\n\\n\", sbcs_fragmentation[allocator])\n+        printf(\"\\tcombined size: %d\\n\", combined_size[allocator])\n+        printf(\"\\tcombined overhead: %d\\n\", combined_overhead[allocator])\n+        printf(\"\\tcombined fragmentation: %d\\n\\n\", combined_fragmentation[allocator])\n+    }\n+\n+    total_mbcs_overhead = total_mbcs_carriers - total_mbcs_blocks;\n+    total_mbcs_fragmentation = fragmentation(total_mbcs_overhead, total_mbcs_carriers)\n+\n+    total_sbcs_overhead = total_sbcs_carriers - total_sbcs_blocks;\n+    total_sbcs_fragmentation = fragmentation(total_sbcs_overhead, total_sbcs_carriers)\n+\n+    total_blocks = total_mbcs_blocks + total_sbcs_blocks\n+    total_carriers = total_mbcs_carriers + total_sbcs_carriers\n+    total_overhead = total_carriers - total_blocks\n+    total_fragmentation = fragmentation(total_overhead, total_carriers)\n+\n+    top(combined_size, top_size, 10)\n+    top(combined_overhead, top_overhead, 10)\n+    top(combined_fragmentation, top_fragmentation, 10)\n+\n+    PROCINFO[\"sorted_in\"] = \"@val_type_desc\"\n+\n+    printf(\"Top allocators by used memory:\\n\\n\")\n+    for (allocator in top_size) {\n+        printf(\"\\t%s: %d\\n\", allocator, top_size[allocator])\n+    }\n+\n+    printf(\"\\n\")\n+\n+    printf(\"Top allocators by memory overhead:\\n\\n\")\n+    for (allocator in top_overhead) {\n+        printf(\"\\t%s: %d\\n\", allocator, top_overhead[allocator])\n+    }\n+\n+    printf(\"\\n\")\n+\n+    printf(\"Top allocators by memory fragmentation:\\n\\n\")\n+    for (allocator in top_fragmentation) {\n+        printf(\"\\t%s: %d\\n\", allocator, top_fragmentation[allocator])\n+    }\n+\n+    printf(\"\\n\")\n+    printf(\"Totals:\\n\\n\")\n+    printf(\"\\tmbcs size: %d\\n\", total_mbcs_carriers)\n+    printf(\"\\tmbcs overhead: %d\\n\", total_mbcs_overhead)\n+    printf(\"\\tmbcs fragmentation: %d\\n\\n\", total_mbcs_fragmentation)\n+    printf(\"\\tsbcs size: %d\\n\", total_sbcs_carriers)\n+    printf(\"\\tsbcs overhead: %d\\n\", total_sbcs_overhead)\n+    printf(\"\\tsbcs fragmentation: %d\\n\\n\", total_sbcs_fragmentation)\n+    printf(\"\\tcombined size: %d\\n\", total_carriers)\n+    printf(\"\\tcombined overhead: %d\\n\", total_overhead)\n+    printf(\"\\tcombined fragmentation: %d\\n\\n\", total_fragmentation)\n+}\n+\n+function fragmentation(overhead, size) {\n+    if (size == 0) {\n+        return 0\n+    }\n+\n+    return 100 * overhead \/ size\n+}\n+\n+function top(arr, result, count) {\n+    PROCINFO[\"sorted_in\"] = \"@val_type_desc\"\n+\n+    for (allocator in arr) {\n+        result[allocator] = arr[allocator]\n+\n+        count -= 1\n+        if (count <= 0) {\n+            break\n+        }\n+    }\n+}\n"}
{"commit":"e1ec16c90a0dd448b4d5278794d91c3f7df0c991","subject":"2008-01-02  Martin Sebor  <sebor@roguewave.com>","message":"2008-01-02  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk: Added a pattern to extract date formatted in the\n\tWindows format (the output of date \/T).\n\t(get_date): Handled badly formatted\/empty dates more robustly.\n\t(get_buildtype): Handled build types with the [redundant] \"win32\" bit\n\tindicating Windows threads.\n\t(print_section): Stripped the leading directory component from the log\n\tfile name (the equivalent of basename).\n\t(print_section): Formatted empty date as \"N\/A\".\n\n\ngit-svn-id: 1e8a4076bc3774682289f662a06025447996ff23@608297 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"59ffc9a45bf015c6a4919c15902675a869e610b0","subject":"sage-spy: FTP","message":"sage-spy: FTP\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"78967bffe074325867b6f020f95b7235c0b58b14","subject":"Add Netflix specific link generator","message":"Add Netflix specific link generator\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'generateLinksFrom-NetflixActivityPage.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- generateLinksFrom-NetflixActivityPage.awk\n+++ generateLinksFrom-NetflixActivityPage.awk\n@@ -0,0 +1,35 @@\n+# Helper for converting Netflix \"viewing activity\" into hyperlinks\n+#\n+\n+# <a href=\"\/title\/80988960\" data-reactid=\"68\">Death in Paradise: Season 6: &quot;Man Overboard, Part 2&quot;\n+# <a href=\"\/title\/80170369\" data-reactid=\"124\">Ugly Delicious: Season 1: &quot;Pizza&quot;\n+# <a href=\"\/title\/80190361\" data-reactid=\"100\">Hinterland: Season 3: &quot;Episode 2&quot;\n+\n+# INVOCATION:\n+#    Browse to https:\/\/www.netflix.com\/viewingactivity\n+#    Save as 'Page Source'\n+#    awk -f generateLinksFrom-NetflixActivityPage.awk ~\/Downloads\/Netflix.html\n+\n+BEGIN {\n+    RS=\"\\<\"\n+    # print 10 records unless overridden with \"-v maxRecordsToPrint=<n>\"\n+    if (maxRecordsToPrint == \"\") maxRecordsToPrint = 10\n+}\n+\n+\/div class=\"col date nowrap\"\/ {\n+    split ($0,fld,\">\")\n+    date = fld[2]\n+}\n+\n+\/a href=\"\\\/title\\\/\/ {\n+    split ($0,fld,\">\")\n+    title = fld[2]\n+    split ($0,fld,\"\\\"\")\n+    URL = fld[2]\n+    gsub (\/&quot;\/,\"\",title)\n+    printf (\"=HYPERLINK(\\\"https:\/\/www.netflix.com\/%s\\\";\\\"%s\\\")\\t%s\\tNetflix Streaming\\n\",\\\n+        URL,title,date)\n+    recordsPrinted += 1\n+    if (recordsPrinted >= maxRecordsToPrint)\n+        exit\n+}\n"}
{"commit":"780c65ac3e3b2ab4c13559dbbe5077b2cde1fdf0","subject":"Added rounding routind for awk","message":"Added rounding routind for awk\n","repos":"marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts,marev711\/scripts","returncode":1,"stderr":"error: pathspec 'round.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- round.awk\n+++ round.awk\n@@ -0,0 +1,26 @@\n+# round.awk --- do normal rounding\n+\n+function round(x,   ival, aval, fraction)\n+{\n+   ival = int(x)    # integer part, int() truncates\n+\n+   # see if fractional part\n+   if (ival == x)   # no fraction\n+      return ival   # ensure no decimals\n+\n+   if (x < 0) {\n+      aval = -x     # absolute value\n+      ival = int(aval)\n+      fraction = aval - ival\n+      if (fraction >= .5)\n+         return int(x) - 1   # -2.5 --> -3\n+      else\n+         return int(x)       # -2.3 --> -2\n+   } else {\n+      fraction = x - ival\n+      if (fraction >= .5)\n+         return ival + 1\n+      else\n+         return ival\n+   }\n+}\n"}
{"commit":"1029338496358c817c255715de36ee52f33bea2f","subject":"New file.","message":"New file.\n","repos":"sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db","returncode":1,"stderr":"error: pathspec 'LINEBREAK.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- LINEBREAK.awk\n+++ LINEBREAK.awk\n@@ -0,0 +1,133 @@\n+# LINEBREAK.awk -- awk script to produce a compact linebreak property map\n+# Copyright (C) 2005\n+#   National Institute of Advanced Industrial Science and Technology (AIST)\n+#   Registration Number H15PRO112\n+\n+# This file is part of the m17n database; a sub-part of the m17n\n+# library.\n+\n+# The m17n library is free software; you can redistribute it and\/or\n+# modify it under the terms of the GNU Lesser General Public License\n+# as published by the Free Software Foundation; either version 2.1 of\n+# the License, or (at your option) any later version.\n+\n+# The m17n library is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+# Lesser General Public License for more details.\n+\n+# You should have received a copy of the GNU Lesser General Public\n+# License along with the m17n library; if not, write to the Free\n+# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n+# 02111-1307, USA.\n+\n+function setLBC(name, code) {\n+  if (code % 10 == 0)\n+    printf \"\\n# %2d:%s\", code, name;\n+  else\n+    printf \"  %2d:%s\", code, name;\n+  to_lbc[name] = code;\n+}\n+\n+BEGIN {\n+  FS = \"[; ]\";\n+  from = \"\";\n+  to = \"\";\n+  prev_lbc = -1;\n+  i = 0;\n+  printf \"# Code:LineBreakingClass\";\n+  # Assign a uniq integer code to each line breaking class.\n+  # The codes must be the same as \"enum LineBreakingClass\" of\n+  # m17n-lib\/src\/linebreak.c\n+  setLBC(\"OP\", i++);\t\t# open\n+  setLBC(\"CL\", i++);\t\t# close\n+  setLBC(\"QU\", i++);\t\t# quotation\n+  setLBC(\"GL\", i++);\t\t# glue\n+  setLBC(\"NS\", i++);\t\t# no-start\n+  setLBC(\"EX\", i++);\t\t# exclamation\/interrogation\n+  setLBC(\"SY\", i++);\t\t# Syntax (slash)\n+  setLBC(\"IS\", i++);\t\t# infix (numeric) separator\n+  setLBC(\"PR\", i++);\t\t# prefix\n+  setLBC(\"PO\", i++);\t\t# postfix\n+  setLBC(\"NU\", i++);\t\t# numeric\n+  setLBC(\"AL\", i++);\t\t# alphabetic\n+  setLBC(\"ID\", i++);\t\t# ideograph (atomic)\n+  setLBC(\"IN\", i++);\t\t# inseparable\n+  setLBC(\"HY\", i++);\t\t# hyphen\n+  setLBC(\"BA\", i++);\t\t# break after\n+  setLBC(\"BB\", i++);\t\t# break before\n+  setLBC(\"B2\", i++);\t\t# break both\n+  setLBC(\"ZW\", i++);\t\t# ZW space\n+  setLBC(\"CM\", i++);\t\t# combining mark\n+  setLBC(\"WJ\", i++);\t\t# word joiner\n+\n+  # For UAX#14 7.6 Korean Syllable Block Pair Table.\n+  setLBC(\"H2\", i++);\t\t# Hamgul 2 Jamo Syllable\n+  setLBC(\"H3\", i++);\t\t# Hangul 3 Jamo Syllable\n+  setLBC(\"JL\", i++);\t\t# Jamo leading consonant\n+  setLBC(\"JV\", i++);\t\t# Jamo vowel\n+  setLBC(\"JT\", i++);\t\t# Jamo trailing consonant\n+\n+  # Not handled in the pair table.\n+  setLBC(\"SA\", i++);\t\t# south (east) asian\n+  setLBC(\"SP\", i++);\t\t# space\n+  setLBC(\"PS\", i++);\t\t# paragraph and line separators\n+  setLBC(\"BK\", i++);\t\t# hard break (newline)\n+  setLBC(\"CR\", i++);\t\t# carriage return\n+  setLBC(\"LF\", i++);\t\t# line feed\n+  setLBC(\"NL\", i++);\t\t# next line\n+  setLBC(\"CB\", i++);\t\t# contingent break opportunity\n+  setLBC(\"SG\", i++);\t\t# surrogate\n+  setLBC(\"AI\", i++);\t\t# ambiguous\n+  setLBC(\"XX\", i);\t\t# unknown\n+  \n+  # The default is \"XX\".\n+  printf \"\\n0x0000-0x3FFFFF %d\\n\", i;\n+}\n+\n+\/^[0-9A-Za-z]*;\/ {\n+  lbc = to_lbc[$2];\n+  if (prev_lbc != lbc)\n+    {\n+      if (prev_lbc != -1)\n+\t{\n+\t  if (from == to)\n+\t    printf \"%s %d\\n\", from, prev_lbc;\n+\t  else\n+\t    printf \"%s-%s %d\\n\", from, to, prev_lbc;\n+\t}\n+      from = \"0x\" $1;\n+      to = \"0x\" $1;\n+      prev_lbc = lbc;\n+    }\n+  else\n+    to = \"0x\" $1;\n+  next;\n+}\n+\n+\/^[0-9A-Za-z]*\\.\\.[0-9A-Za-z]*;\/ {\n+  lbc = to_lbc[$2];\n+  if (prev_lbc != -1)\n+    {\n+      if (from == to)\n+\tprintf \"%s %d\\n\", from, prev_lbc;\n+      else\n+\tprintf \"%s-%s %d\\n\", from, to, prev_lbc;\n+    }\n+  gsub(\"\\\\.\\\\.\", \"-0x\");\n+  printf \"0x%s %d\\n\", $1, lbc;\n+  from = \"\";\n+  to = \"\";\n+  prev_lbc = -1;\n+  next;\n+}\n+\n+END {\n+  if (prev_lbc != -1)\n+    {\n+      if (from == to)\n+\tprintf \"0x%s %d\\n\", from, prev_lbc;\n+      else\n+\tprintf \"0x%s-0x%s %d\\n\", from, to, prev_lbc;\n+    }\n+}\n"}
{"commit":"9d55d3473080b2c51ec3bf4b059d50d52a298d35","subject":"Create webserver.awk","message":"Create webserver.awk","repos":"lramage94\/dotfiles,lramage94\/dotfiles","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/lramage94\/dotfiles.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"ee3823e1188528ea8a73d9b12f96f06672f099e5","subject":"    dc[\"sage-spy.awk <timeout>\", \"\", \"try 2.1 for FTP\"]","message":"    dc[\"sage-spy.awk <timeout>\", \"\", \"try 2.1 for FTP\"]\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"03129c7677809730f42e41222e54f3bc71dccfd3","subject":"Added script to check if a file is grouped.","message":"Added script to check if a file is grouped.\n\nIt's in awk, don't hate me.\n","repos":"emallson\/capngraph,emallson\/capngraph","returncode":1,"stderr":"error: pathspec 'check_grouped.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- check_grouped.awk\n+++ check_grouped.awk\n@@ -0,0 +1,10 @@\n+#!\/usr\/bin\/gawk -f\n+$1 in edges && current != $1 {\n+  print \"File is not grouped.\";\n+  exit;\n+}\n+\n+{\n+  current = $1;\n+  edges[$1] = 1;\n+}\n"}
{"commit":"38061caf699f33f7d55e150b109e875beecd5b41","subject":"Moved from ..\/LANGUAGE.awk.  Modified to use native.ext.","message":"Moved from ..\/LANGUAGE.awk.  Modified to\nuse native.ext.\n","repos":"sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db","returncode":1,"stderr":"error: pathspec 'LANGDATA\/LANGUAGE.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- LANGDATA\/LANGUAGE.awk\n+++ LANGDATA\/LANGUAGE.awk\n@@ -0,0 +1,114 @@\n+# LANGUAGE.awk -- awk script to generate LANGUAGE.tbl\t-*- coding: utf-8; -*-\n+# Copyright (C) 2007\n+#   National Institute of Advanced Industrial Science and Technology (AIST)\n+#   Registration Number H15PRO112\n+\n+# This file is part of the m17n database; a sub-part of the m17n\n+# library.\n+\n+# The m17n library is free software; you can redistribute it and\/or\n+# modify it under the terms of the GNU Lesser General Public License\n+# as published by the Free Software Foundation; either version 2.1 of\n+# the License, or (at your option) any later version.\n+\n+# The m17n library is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+# Lesser General Public License for more details.\n+\n+# You should have received a copy of the GNU Lesser General Public\n+# License along with the m17n library; if not, write to the Free\n+# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n+# Boston, MA 02110-1301, USA.\n+\n+BEGIN {\n+    print \";; LANGUAGE.tbl -- ISO639 Language Code\t\t-*- mode:lisp; coding:utf-8; -*-\";\n+    print \";; Copyright (C) 2007\";\n+    print \";;   National Institute of Advanced Industrial Science and Technology (AIST)\";\n+    print \";;   Registration Number H15PRO112\";\n+    print \"\";\n+    print \";; This file is part of the m17n database; a sub-part of the m17n\";\n+    print \";; library.\";\n+    print \"\";\n+    print \";; The m17n library is free software; you can redistribute it and\/or\";\n+    print \";; modify it under the terms of the GNU Lesser General Public License\";\n+    print \";; as published by the Free Software Foundation; either version 2.1 of\";\n+    print \";; the License, or (at your option) any later version.\";\n+    print \"\";\n+    print \";; The m17n library is distributed in the hope that it will be useful,\";\n+    print \";; but WITHOUT ANY WARRANTY; without even the implied warranty of\";\n+    print \";; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\";\n+    print \";; Lesser General Public License for more details.\";\n+    print \"\";\n+    print \";; You should have received a copy of the GNU Lesser General Public\";\n+    print \";; License along with the m17n library; if not, write to the Free\";\n+    print \";; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\";\n+    print \";; Boston, MA 02110-1301, USA.\";\n+    print \";;\";\n+    print \";; The file format is this:\";\n+    print \";;    (ISO639-2 ISO639-1 \\\"ENGLISH-NAME\\\" [ \\\"NATIVE-NAME\\\" [ \\\"EXTRA-CHARS\\\" ]]) ...\";\n+    print \";; ISO639-2: 3-letter language code of ISO639-2.\";\n+    print \";; ISO639-1: 2-letter language code of ISO639-1, or nil if it doesn't exist.\";\n+    print \";; ENGLISH-NAME: English name of the language.\";\n+    print \";; NATIVE-NAME: Native name of the language.\";\n+    print \";; EXTRA-CHARS: Extra characters that uniquifies the language.\";\n+    print \";;\";\n+    print \";; ISO639-2 and ISO639-1 are extracted from ISO-639-2.txt.\";\n+    print \";; ENGLISH-NAME and NATIVE-NAME are mainly extracted from CLDR,\";\n+    print \";;   but are also supplemented from these sites:\";\n+\n+    while (getline < \"native.txt\") {\n+\tif ($0 ~ \/^[a-z]\/) {\n+\t    NATIVE[$1] = $2;\n+\t    if ($3 != \"\")\n+\t\tCHARS[$1] = $3;\n+\t} else if ($0 ~ \/^;;\/) {\n+\t    print;\n+\t}\n+    }\n+    while (getline < \"native.ext\") {\n+\tif ($0 ~ \/^[a-z]\/) {\n+\t    NATIVE[$1] = $2;\n+\t}\n+    }\n+    while (getline < \"en.tbl\") {\n+\tsplit($0, array, \"\\(| \\\"|\\\" \\\"|\\\"\\)\")\n+\tENGLISH[array[2]] = array[3];\n+    }\n+}\n+\n+\/^[a-z][a-z][a-z]\\|\/ {\n+    code3 = $1;\n+    code2 = $3;\n+    if (code2 == \"\" || code2 == \"NULL\")\n+\tcode2 = \"nil\";\n+    native = NATIVE[code2];\n+    if (! native)\n+\tnative = NATIVE[code3];\n+    chars = CHARS[code3];\n+    name = $4;\n+    name = ENGLISH[code2];\n+    if (! name)\n+\tname = ENGLISH[code3];\n+    if (name == \"Greek, Modern (1453-)\")\n+\tname = \"Greek\";\n+    else {\n+\tgsub(\"; .*\", \"\", name);\n+\tgsub(\" \\\\(Other\\\\)$\", \"\", name);\n+\tgsub(\" languages$\", \"\", name);\n+\tif (name ~ \/\\(.*[0-9].*\\)$\/)\n+\t    gsub(\" \\\\([^)]*\\\\)$\", \"\", name);\n+\tif (name ~ \", \") {\n+\t    split(name, array, \", \");\n+\t    name = array[2] \" \" array[1];\n+\t}\n+    }\n+    printf \"(%s %-3s \\\"%s\\\"\", code3, code2, name;\n+    if (native != \"\")\n+\tprintf \" \\\"%s\\\"\", native;\n+    else if (chars != \"\")\n+\tprintf \" nil\";\n+    if (chars != \"\")\n+\tprintf \" \\\"%s\\\"\", chars;\n+    printf \")\\n\";\n+}\n"}
{"commit":"f1aafc377cd2dedffe27bac4f4ae30c86306ff3a","subject":"struggle with speedseq","message":"struggle with speedseq\n","repos":"szilvajuhos\/CAW,marcelm\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW,marcelm\/CAW,marcelm\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/marcelm\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"bf8006dcc898ef9ca8a3d930d385c309b8d11d27","subject":"Create zad4.awk","message":"Create zad4.awk","repos":"lukaszpetke\/jp,lukaszpetke\/jp","returncode":1,"stderr":"error: pathspec 'AWK\/zad4.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/zad4.awk\n+++ AWK\/zad4.awk\n@@ -0,0 +1,5 @@\n+#Z pliku \/etc\/passwd wypisa\u0107 wszystkie wpisy o innych u\u017cytkownikach ni\u017c root, kt\u00f3rych UID jest r\u00f3wny 0, w przeciwnym przypadku wypisa\u0107 test informuj\u0105cy, \u017ce takich u\u017cytkownik\u00f3w nie znaleziono.\n+\n+BEGIN {FS=\":\"}\n+$1!=\"root\" && $3==\"0\"{brak++;print $1}\n+END {if(brak==0) print\"brak uzytkownikow\"}\n"}
{"commit":"b84bc92fb1f2dfd3f5786efa489bc43a9eaa5ef5","subject":"fixed bug of missing header variable in file exist check","message":"fixed bug of missing header variable in file exist check\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"6835f1377b16ef8d42850dade06ee840e0f2c35a","subject":"added awk script","message":"added awk script\n\n","repos":"martijnhoekstra\/scala,felixmulder\/scala,lrytz\/scala,martijnhoekstra\/scala,felixmulder\/scala,slothspot\/scala,scala\/scala,shimib\/scala,scala\/scala,felixmulder\/scala,martijnhoekstra\/scala,scala\/scala,slothspot\/scala,jvican\/scala,jvican\/scala,lrytz\/scala,shimib\/scala,lrytz\/scala,slothspot\/scala,jvican\/scala,scala\/scala,felixmulder\/scala,slothspot\/scala,shimib\/scala,lrytz\/scala,scala\/scala,shimib\/scala,lrytz\/scala,scala\/scala,lrytz\/scala,shimib\/scala,jvican\/scala,jvican\/scala,martijnhoekstra\/scala,shimib\/scala,felixmulder\/scala,jvican\/scala,slothspot\/scala,martijnhoekstra\/scala,martijnhoekstra\/scala,slothspot\/scala,jvican\/scala,felixmulder\/scala,felixmulder\/scala,slothspot\/scala","returncode":1,"stderr":"error: pathspec 'src\/build\/addcolon.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/build\/addcolon.awk\n+++ src\/build\/addcolon.awk\n@@ -0,0 +1,13 @@\n+#!\/bin\/awk -f\n+#\n+# buraq: this awk script was used to add a colon to .neg files in test suite.\n+#        though it might be useful to have it somewhere for non-awk users as a reference.\n+#\n+{ i = match ($0, \/scala:[0-9]+\/); \n+   if(i == 0) {\n+\t print $0\n+   } else {\n+\t   sub(\/scala:[0-9]+\/, \"&:\")\n+\t\t   print $0\n+   }\n+}\n"}
{"commit":"e749afdd312c90e69919d8b89bf483f2df25c440","subject":"Create postbanken.awk","message":"Create postbanken.awk\n\nUm aus der CSV-Datei von der Poatbank f\u00fcr GNUCash eine QIF-Datei zu erzeugen, kann dieses AWK-Skript verwenden.\r\nIch habe dieses AWK-Skript auf der Webseite \"http:\/\/wiki.gnucash.org\/wiki\/FAQ#Q:_How_do_I_convert_from_CSV.2C_TSV.2C_XLS_.28Excel.29.2C_or_SXC_.28OpenOffice.org_Calc.29_to_a_QIF.3F\" gefunden.","repos":"FlatheadV8\/Postbank_PDF2CSV","returncode":1,"stderr":"error: pathspec 'postbanken.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- postbanken.awk\n+++ postbanken.awk\n@@ -0,0 +1,39 @@\n+#\n+# Quelle (2014-12-07):\n+# http:\/\/wiki.gnucash.org\/wiki\/FAQ#Q:_How_do_I_convert_from_CSV.2C_TSV.2C_XLS_.28Excel.29.2C_or_SXC_.28OpenOffice.org_Calc.29_to_a_QIF.3F\n+# Anwendung:\n+# awk -f postbanken.awk kontoutskrift.csv > import.qif\n+#\n+# awk convert fra Postbankens CSV til QIF(Gnucash, quicken, osv)\n+# CSV fra Postbanken er ikke en kommaseparert fil, men en tekstfil med feltene p\u00e5 fast plass.\n+# Bruker derfor fieldwidths i awk. Det g\u00e5r ogs\u00e5 ant \u00e5 bruke substr().\n+# Kilder:\n+# http:\/\/wiki.gnucash.org\/wiki\/FAQ\n+# http:\/\/www.ibm.com\/developerworks\/library\/l-awk1.html\n+# http:\/\/www.ibm.com\/developerworks\/library\/l-awk2.html\n+# http:\/\/www.grymoire.com\/Unix\/Awk.html#uh-67\n+# Samt manualen til awk og egrep.\n+#\n+# Bruk filen slik:\n+# $ awk -f postbanken.awk kontoutskrift.csv > import.qif\n+#\n+#\n+# Arve Seljebu - juni 2010\n+\n+\n+# Del opp filen i felter og skriv \"!Type:Bank\" bare en gang i toppen av filen\n+BEGIN {FIELDWIDTHS=\"8 5 17 35 31 11 1 11\"; print \"!Type:Bank\";}\n+# Bare bruk linjen hvis den inneholder dato\n+{ if ($0 ~ \/[0-9][0-9].[0-9][0-9].[0-9][0-9]\/) {\n+# Dato\n+  print \"D\" $1;\n+# Avkommenter neste linje for \u00e5 bruke BETALING, BETALING UTLAND osv som konto\/kategori\n+# print \"L\" $3;\n+# Beskrivelse\/memo\n+  print \"M\" $4;\n+# Debit eller kredit\n+  if ($6 == 0) { print \"T-\" $8; }\n+  else { print \"T\" $6; }\n+  print \"^\";\n+  }\n+}\n"}
{"commit":"e4e5068563babbc71eff72c8545e3bf6175737d0","subject":"packager monitoring","message":"packager monitoring\n","repos":"kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR,kaltura\/liveDVR","returncode":1,"stderr":"error: pathspec 'node_addons\/FormatConverter\/test\/anal_nginx_log_packager.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- node_addons\/FormatConverter\/test\/anal_nginx_log_packager.awk\n+++ node_addons\/FormatConverter\/test\/anal_nginx_log_packager.awk\n@@ -0,0 +1,82 @@\n+BEGIN{\n+    if(!maxInterval)\n+        maxInterval=60\n+    if(!maxChunkDuration)\n+        maxChunkDuration=12000\n+    if(!minChunkDuration)\n+        minChunkDuration=1000\n+    state = \"waitChunk\"\n+    if(!verbose)\n+        verbose=1\n+}\n+\n+function addStats(caption,data){\n+    cnts[caption] = cnts[caption] + 1\n+    sums[caption] = sums[caption] + data\n+    sums2[caption] = sums2[caption] + data*data\n+}\n+\n+function printStats(caption){\n+    cnt = cnts[caption]\n+    if(cnt){\n+        sum = sums[caption]\n+        sum2 = sums2[caption]\n+        stddev = 0\n+        if((cnt > 1)){\n+         stddev = sqrt( (sum2*cnt -sum*sum) \/ (cnt*(cnt-1)))\n+        }\n+        printf \"%s avg request interval: %.2f stddev: %.2f #: %d\\n\", caption,sum\/cnt,stddev,cnt\n+    } else {\n+        print \"couldn't find stats for \"caption\n+    }\n+}\n+\n+\n+\n+$0 ~ \/\\[debug\\]\/ && $0 ~ \/GET \\\/hls\\\/(.*)\\\/playlist.json\\\/seg\/ {\n+    split($10,b,\"-\");\n+    lastChunkPath=$10\n+    if(verbose){\n+        print $2 \" \"lastChunkPath;\n+    }\n+    if(lastChunk && lastChunk+1 != b[2]){\n+        print $2\" \"lastChunkPath\" error: expected chunk \"lastChunk+1\" got: \"b[2]\n+        delete __lastDTS[0]\n+    }\n+    lastChunk=b[2];\n+    split($2,a,\":\");\n+    time=a[3]+a[2]*60+a[1]*3600;\n+    if(lastTime){\n+        diff=time-lastTime\n+        if(diff>maxInterval){\n+            print $2\" \"lastChunkPath\" error: requested chunk after \"diff\" sec.\"\n+        }\n+        if(diff>0){\n+            addStats(\"chunkInterval\",diff)\n+        }\n+    }\n+    lastTime = time\n+    state = \"checkDTS\"\n+}\n+\n+verbose && state == \"checkDTS\" && $0 ~ \/parsed clip source\/ {\n+    print $2\" \"$11\" \"$12\" \"$13\n+}\n+\n+state == \"checkDTS\" && $0 ~ \/first frame dts\/ {\n+    state = \"waitChunk\"\n+    if( __lastDTS[0]){\n+        chunkDuration = $11 -  __lastDTS[0]\n+\n+        addStats(\"chunkDuration\",chunkDuration)\n+        if(chunkDuration > maxChunkDuration || chunkDuration < minChunkDuration){\n+            print $2\" \"lastChunkPath\" bad chunk duration \"chunkDuration\n+        }\n+    }\n+     __lastDTS[0] = $11\n+}\n+\n+END {\n+    printStats(\"chunkInterval\")\n+    printStats(\"chunkDuration\")\n+}"}
{"commit":"dc4a9c1342a0d3f739b80b824c52d873caf868ac","subject":"2008-01-03  Martin Sebor  <sebor@roguewave.com>","message":"2008-01-03  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk (sectcomponents): Added an array of lists of component\n\tnames for each section with each list maintaining the same order as\n\tin the logs. \n\t(print_section): Used the sectcomponents array to print components\n\tin each table in the same order as they appear in the build logs.\n\n\ngit-svn-id: 1e8a4076bc3774682289f662a06025447996ff23@608678 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"b2b6a6202dd91a1249c50bfe3db9c6a7c1ec6674","subject":"  ch = str_split(br[3], pa, \".\")","message":"  ch = str_split(br[3], pa, \".\")\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"e8379fb1cafc10871d4910788723ea7d0d258fd3","subject":"Add a minimal constants.awk for Caml. (sh)","message":"Add a minimal constants.awk for Caml. (sh)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@2849 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty","returncode":1,"stderr":"error: pathspec 'Bindings\/Caml\/constants.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- Bindings\/Caml\/constants.awk\n+++ Bindings\/Caml\/constants.awk\n@@ -0,0 +1,113 @@\n+###############################################################################\n+# BRLTTY - A background process providing access to the console screen (when in\n+#          text mode) for a blind person using a refreshable braille display.\n+#\n+# Copyright (C) 1995-2006 by The BRLTTY Developers.\n+#\n+# BRLTTY comes with ABSOLUTELY NO WARRANTY.\n+#\n+# This is free software, placed under the terms of the\n+# GNU General Public License, as published by the Free Software\n+# Foundation.  Please see the file COPYING for details.\n+#\n+# Web Page: http:\/\/mielke.cc\/brltty\/\n+#\n+# This software is maintained by Dave Mielke <dave@mielke.cc>.\n+###############################################################################\n+\n+BEGIN {\n+  print \"type t =\"\n+}\n+\n+END {\n+}\n+\n+function brlCommand(name, symbol, value, help) {\n+  writeCommandDefinition(name, value, help)\n+}\n+\n+function brlBlock(name, symbol, value, help) {\n+\n+  if (value ~ \/^0[xX][0-9a-fA-F]+00$\/) {\n+    writeCommandDefinition(name, hexadecimalValue(value) \"00\", help)\n+  }\n+}\n+\n+function brlKey(name, symbol, value, help) {\n+#  print \"braille key:\"\n+#  print name symbol value\n+#  print \"(** \" help \" *)\"\n+}\n+\n+function brlFlag(name, symbol, value, help) {\n+#  if (value ~ \/^0[xX][0-9a-fA-F]+0000$\/) {\n+#    value = hexadecimalValue(substr(value, 1, length(value)-4))\n+#    if (name ~ \/^CHAR_\/) {\n+#      name = substr(name, 6)\n+#    } else {\n+#      value = value \"00\"\n+#    }\n+#  } else if (value ~ \/^\\(\/) {\n+#    gsub(\"BRL_FLG_\", \"KEY_FLG_\", value)\n+#  } else {\n+#    return\n+#  }\n+#  writeCamlConstant(\"int\", \"KEY_FLG_\" name, value, help)\n+}\n+\n+function brlDot(number, symbol, value, help) {\n+#  writeCamlConstant(\"int\", \"DOT\" number, value, help)\n+}\n+\n+function apiConstant(name, symbol, value, help) {\n+#  writeCamlConstant(\"int\", name, value);\n+}\n+\n+function apiMask(name, symbol, value, help) {\n+#  writeCamlConstant(\"long\", \"KEY_\" name, hexadecimalValue(value) \"L\");\n+}\n+\n+function apiShift(name, symbol, value, help) {\n+#  writeCamlConstant(\"int\", \"KEY_\" name, hexadecimalValue(value));\n+}\n+\n+function apiType(name, symbol, value, help) {\n+#  writeCamlConstant(\"int\", \"KEY_TYPE_\" name, hexadecimalValue(value));\n+}\n+\n+function apiKey(name, symbol, value, help) {\n+#  value = hexadecimalValue(value)\n+#\n+#  if (name == \"FUNCTION\") {\n+#    for (i=0; i<35; ++i) {\n+#      writeKeyDefinition(\"F\" (i+1), \"(\" value \" + \" i \")\")\n+#    }\n+#  } else {\n+#    writeKeyDefinition(name, value)\n+#  }\n+}\n+\n+function writeCommandDefinition(name, value, help) {\n+  print \"  | CMD_\" name \" (** \" help \" *)\"\n+}\n+\n+function writeKeyDefinition(name, value) {\n+#  writeCamlConstant(\"int\", \"KEY_SYM_\" name, value)\n+}\n+\n+function writeCamlConstant(type, name, value, help) {\n+#  writeCamldocComment(help)\n+#  print \"  public static final \" type \" \" name \" = \" value \";\"\n+}\n+\n+function writeCamldocComment(text) {\n+#  if (length(text) > 0) print \" (** \" text \" *)\"\n+}\n+\n+function hexadecimalValue(value) {\n+  value = tolower(value)\n+  gsub(\"x0+\", \"x\", value)\n+  gsub(\"x$\", \"x0\", value)\n+  return value\n+}\n+\n"}
{"commit":"a463afc1a8a4a9bf042f436f12a9dbbad2d5958f","subject":"A script that allows comparison between two S4 runs.","message":"A script that allows comparison between two S4 runs.\n\n\ngit-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@1467 94700074-3cef-4d97-a70e-9c8c206c02f5\n","repos":"deepstupid\/sphinx5","returncode":1,"stderr":"error: pathspec 'scripts\/compareResults.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/compareResults.awk\n+++ scripts\/compareResults.awk\n@@ -0,0 +1,32 @@\n+#\n+#\n+# An [gn]awk script that allows a comparison between two runs of S4\n+# This script will annotate the output of S4 with the corresponding\n+# WER from a given previously collected S4 output.  This is useful\n+# when tuning the recognizer.\n+#\n+# Typical usage:\n+#\n+# make an4_words_trigram > results.out &\n+# tail -f results.out | gawk -f compareResults.awk previousResults.out\n+#\n+#\n+BEGIN {\n+        other = ARGV[1];\n+        ARGV[1] = \"\";\n+        print ARGV[1];\n+}\n+\n+$1 != \"Words:\" { print $0; }\n+\n+$1 == \"Words:\" {\n+   words = $2;\n+   while (getline oRes < other > 0) {\n+       split(oRes, arr);\n+       if (arr[1] == \"Words:\" && arr[2] == words) {\n+           otherWER = arr[6];\n+           break;\n+       }\n+   }\n+   printf(\"%s  Previous WER: %s\\n\", $0, otherWER);\n+}\n"}
{"commit":"a16e64889bda7f9c8e02d3c73eba7b6a2272723c","subject":"a short script used to make a cpu runs 100%","message":"a short script used to make a cpu runs 100%\n","repos":"pplab\/LSFext","returncode":1,"stderr":"error: pathspec 'runCPU.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- runCPU.awk\n+++ runCPU.awk\n@@ -0,0 +1,14 @@\n+#!bin\/awk\n+BEGIN{\n+    srand();\n+    x=rand();\n+    n=0;\n+    for(;;)\n+    {\n+        x=4*x*(1-x)\n+        if(++n==1e6){\n+            print x;\n+            n=0;\n+        }\n+    }\n+}\n"}
{"commit":"cb25de2209988b80767ed7589b6db160b977a43d","subject":"normal and tumor indexes have to be added as command-line parameters -v NORMAL_IDX=10 -v TUMOUR_IDX=9","message":"normal and tumor indexes have to be added as command-line parameters -v NORMAL_IDX=10 -v TUMOUR_IDX=9\n","repos":"szilvajuhos\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/szilvajuhos\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"9ee62f6c222808e0cdff7a390f77ad253717e63d","subject":"remove useless file","message":"remove useless file\n","repos":"mancoast\/cado-nfs,mancoast\/cado-nfs,mancoast\/cado-nfs,mancoast\/cado-nfs,mancoast\/cado-nfs,mancoast\/cado-nfs,mancoast\/cado-nfs","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/mancoast\/cado-nfs.git\/'\n","license":"lgpl-2.1","lang":"Awk","diff":""}
{"commit":"353ec01e36d9481b948f166ed718bca3d446a4c4","subject":"fix _","message":"fix _\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@4139 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"c7e4db18023b8c7b92b5f9753f429f98f5eb58bd","subject":"text matching","message":"text matching\n\nThis example uses the sub() function to make a change to the input record. (sub() replaces the first instance of any text matched by the first argument with the string provided as the second argument; see String-Manipulation Functions.) Here, the regexp \/a+\/ indicates \u201cone or more \u2018a\u2019 characters,\u201d and the replacement text is \u2018<A>\u2019.","repos":"Aurametrix\/Alg-U,Aurametrix\/Alg-U","returncode":1,"stderr":"error: pathspec 'REGEX\/txt.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- REGEX\/txt.awk\n+++ REGEX\/txt.awk\n@@ -0,0 +1 @@\n+echo aaaabcd | awk '{ sub(\/a+\/, \"<A>\"); print }'\n"}
{"commit":"5f213aba4de2796aff383cea95edf2df672d2cc6","subject":"2008-05-14  Martin Sebor  <sebor@roguewave.com>","message":"2008-05-14  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk (get_gzlogfname): Temporarily hardcoded \"logs\/\"\n\tas the directory prefix for logs HTML href tags, until a cleaner\n\tsolution is devised.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@656477 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"fb61467550cc234146289dc3a4a102da72053285","subject":"make grammar_to_rules work with actions, sort of","message":"make grammar_to_rules work with actions, sort of\n","repos":"darkfoxprime\/foxCAT,darkfoxprime\/foxCAT","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/darkfoxprime\/foxCAT.git\/'\n","license":"isc","lang":"Awk","diff":""}
{"commit":"5ad036507a71798dbce22982c5d7b85b56db2d15","subject":"use full prototype for main","message":"use full prototype for main\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@11676 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"a4757ad30379ab2aebaec31c8bce3bd5038139df","subject":"Add AWK script to compute the corrected sample standard deviation","message":"Add AWK script to compute the corrected sample standard deviation\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":1,"stderr":"error: pathspec 'tools\/awk\/stdev.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/stdev.awk\n+++ tools\/awk\/stdev.awk\n@@ -0,0 +1,36 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# Computes the corrected sample standard deviation.\n+#\n+# Usage: stdev\n+#\n+# Input:\n+#   - a column of numbers\n+#\n+# Output:\n+#   - corrected sample standard deviation\n+#\n+# Notes:\n+#   - Uses [Welford's method][1].\n+#\n+# [1]: https:\/\/en.wikipedia.org\/wiki\/Algorithms_for_calculating_variance#Online_algorithm\n+\n+BEGIN {\n+\tdelta = 0\n+\tmean = 0\n+\tM2 = 0\n+\tN = 0\n+}\n+{\n+\tN += 1\n+\tdelta = $1 - mean\n+\tmean += delta \/ N\n+\tM2 += delta * ($1 - mu)\n+}\n+END {\n+\tif (N < 2) {\n+\t\tprint 0\n+\t} else {\n+\t\tprint sqrt(M2 \/ (N-1))\n+\t}\n+}\n"}
{"commit":"558e1d41f989a4f47b2ade252f7e2446f663fffa","subject":"added one more auxiliary script for getting random vectors","message":"added one more auxiliary script for getting random vectors\n","repos":"WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex,WladimirSidorenko\/SentiLex","returncode":1,"stderr":"error: pathspec 'scripts\/get_vectors.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- scripts\/get_vectors.awk\n+++ scripts\/get_vectors.awk\n@@ -0,0 +1,40 @@\n+#!\/usr\/bin\/awk -f\n+\n+##################################################################\n+BEGIN {\n+    FS = \"\\t\"\n+    if (ARGC != 4) {\n+\tprintf(\"Incorrect number of arguments.\") > \"\/sys\/stderr\"\n+\texit 1\n+    }\n+\n+    ret = 0\n+    WCL = 0 + ARGV[1]\n+    # obtain words to fetch\n+    ifile = ARGV[2]\n+    while ((ret = (getline < ifile)) > 0) {\n+\tif (!NF)\n+\t    continue\n+\telse if (NF != 2) {\n+\t    printf(\"Incorrect line format: %s\", $0) > \"\/sys\/stderr\"\n+\t    exit 2\n+\t}\n+\tWORD2SEEK[$1] = \"\"\n+    }\n+    ARGV[1] = ARGV[2] = \"\"\n+    # obtain random line numbers to fetch\n+    srand()\n+    wcl = WCL - 1\n+    for (i = 1; i < WCL; ++i) {\n+\trandarr[i] = rand() * wcl + 1\n+    }\n+    asorti(randarr, tmparr)\n+    delete randarr\n+    wcl = WCL \/ 100\n+    for (i = 1; i < WCL; ++i) {\n+\tFNR2SEEK[tmparr[i]] = \"\"\n+    }\n+}\n+\n+##################################################################\n+NF && FNR > 1 && ($1 in WORD2SEEK || FNR in FNR2SEEK)\n"}
{"commit":"b426460aa8f097cdf8f995dd31451c1f5379786d","subject":"Make script to process top level BritBox shows","message":"Make script to process top level BritBox shows\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'getBritBoxProgramsFrom-webscraper.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- getBritBoxProgramsFrom-webscraper.awk\n+++ getBritBoxProgramsFrom-webscraper.awk\n@@ -0,0 +1,72 @@\n+BEGIN {\n+    FS=\"\\t\"\n+    print \"Sortkey\\tTitle\\tSeasons\\tDuration\\tYear\\tRating\\tDescription\"\n+}\n+\n+# if needed for debugging record placment, replace \"\/nosuchrecord\/\" below\n+\/nosuchrecord\/ {\n+    print \"\"\n+    print NR \" - \" $0\n+    for ( i = 1; i <= NF; i++ ) {\n+        print \"field \" i \" = \" $i\n+    }\n+}\n+\n+{\n+    for ( i = 1; i <= NF; i++ ) {\n+        if ($i == \"null\")\n+            $i = \"\"\n+    }\n+}\n+\n+\/\\\/us\\\/movie\\\/|\\\/us\\\/show\\\/\/{\n+    URL = $3\n+    showTitle = $4\n+    Year = $5\n+    NumSeasons = $6\n+    Duration = $7\n+    Rating = $8\n+    Description = $9\n+\n+    sub (\/ Season[s]\/,\"\",NumSeasons)\n+    sub( \/ min\/,\"\",Duration)\n+\n+    # Convert duration from minutes to HMS\n+    secs = 0\n+    mins = Duration % 60\n+    hrs = int(Duration \/ 60)\n+    HMS = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n+\n+    # Titles starting with \"The\" should not sort based on \"The\"\n+    if (match (showTitle, \/^The \/)) {\n+        showTitle = substr(showTitle, 5) \", The\"\n+    }\n+}\n+\n+\/\\\/us\\\/movie\\\/\/ {\n+    # Extract movie sortkey from URL\n+    nflds = split (URL,fld,\"_\")\n+    if (URL ~ \/_[[:digit:]]*$\/) {\n+        sortkey = sprintf (\"M%05d\", fld[nflds])\n+        printf \\\n+            (\"%s %s - mv\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, %s, %s\\\"\\)\\t\\t%s\\t%s\\t%s\\t%s\\n\", \\\n+             showTitle, sortkey, URL, showTitle, sortkey, \\\n+             Title, HMS, Year, Rating, Description)\n+    }\n+    next\n+}\n+\n+\/\\\/us\\\/show\\\/\/ {\n+    # Extract show sortkey from URL\n+    nflds = split (URL,fld,\"_\")\n+    if (URL ~ \/_[[:digit:]]*$\/) {\n+        sortkey = sprintf (\"S%05d\", fld[nflds])\n+        printf \\\n+            (\"%s %s - sh\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, %s, %s\\\"\\)\\t\\t%s\\t%s\\t%s\\t%s\\n\", \\\n+             showTitle, sortkey, URL, showTitle, sortkey, \\\n+             Title, HMS, Year, Rating, Description)\n+    }\n+    next\n+}\n+\n+\n"}
{"commit":"722f060bd2f8b87b289a170dd6f91ebcde69576b","subject":"2011-08-08: parsegaspriceshtml.awk: Created.","message":"2011-08-08: parsegaspriceshtml.awk: Created.\n","repos":"james-prior\/gas-prices","returncode":1,"stderr":"error: pathspec 'parsegaspriceshtml.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- parsegaspriceshtml.awk\n+++ parsegaspriceshtml.awk\n@@ -0,0 +1,100 @@\n+BEGIN {\n+   False=0\n+   True=!False\n+   i=0\n+   inGasPriceRecord=False\n+   expectName=False\n+}\n+\n+\/<tr id=\"rrlow_[0-9]+\"\/ {\n+   # print \"BOR\",i\n+   # print $0\n+   inGasPriceRecord=True\n+   ai[i]=0\n+}\n+\n+inGasPriceRecord && \/<div class=\"sp_p\">\/ {\n+   sub(\"<div class=\\\"pd\\\">\",\"<div class=\\\"p.\\\">\")\n+   gsub(\"\\\"><\/div><div class=\\\"p\",\"\")\n+   sub(\"^[ ]*<div class=\\\"sp_p\\\"><div class=\\\"p\",\"\")\n+   sub(\"\\\"><\/div><\/div>[ ]*$\",\"\")\n+   # print\n+   price[i]=$0\n+}\n+\n+inGasPriceRecord && \/<dd>\/ {\n+   sub(\"^[ ]*<dd>\",\"\")\n+   sub(\"<\/dd>[ ]*$\",\"\")\n+   sub(\"&amp;\",\"\\\\&\")\n+   address[i,ai[i]]=$0\n+   # print \"address[\"ai[i]\"]=\"address[i,ai[i]]\n+   ai[i]++\n+}\n+\n+inGasPriceRecord && \/<dt>\/ {\n+   expectName=True\n+}\n+\n+inGasPriceRecord && expectName && \/<a href=\"\/ {\n+   expectName=False\n+   sub(\"<\/a>[ ]*$\",\"\")\n+   sub(\"^.*>\",\"\")\n+   sub(\"&amp;\",\"\\\\&\")\n+   name[i]=$0\n+   # print\n+}\n+\n+inGasPriceRecord && \/ class=\"p_area\">\/ {\n+   sub(\"^.* class=\\\"p_area\\\">\",\"\")\n+   sub(\"<\/a>[ ]*$\",\"\")\n+   area[i]=$0\n+   # print\n+}\n+\n+inGasPriceRecord && \/<a href=\"\\\/Profile[.]aspx[?]member=\/ {\n+   sub(\"^.*<a href=\\\"\/Profile[.]aspx[?]member=\",\"\")\n+   sub(\"\\\".*$\",\"\")\n+   reporter[i]=$0\n+   # print\n+}\n+\n+inGasPriceRecord && expectRelativeTime {\n+   expectRelativeTime=False\n+   sub(\"^[ ]*\",\"\")\n+   sub(\"[ ]ago[ ]*$\",\"\")\n+   timeAgo[i]=$0\n+   # print\n+}\n+\n+inGasPriceRecord && \/<div class=\"tm\" \/ {\n+   sub(\"^[ ]*<div class=\\\"tm\\\" title=\\\"\",\"\")\n+   sub(\"\\\">[ ]*$\",\"\")\n+   time[i]=$0\n+   expectRelativeTime=True\n+   # print\n+}\n+\n+inGasPriceRecord && \/<\\\/tr>\/ {\n+   i ++\n+   # print \"EOR\"\n+   # print $0\n+   inGasPriceRecord=False\n+}\n+\n+END {\n+   for (j=0;j<i && True;j++) {\n+      if (False) {\n+         print j\n+         print price[j]\n+         print name[j]\n+         print address[j,0]\n+         print area[j]\n+         print reporter[j]\n+         print time[j]\n+         print timeAgo[j]\n+      }\n+\n+      delimiter=\"\\t\"\n+      print price[j] delimiter name[j] delimiter address[j,0] delimiter area[j] delimiter reporter[j] delimiter time[j] delimiter timeAgo[j]\n+   }\n+}\n"}
{"commit":"aca2c5f4b17a66f341e82649b461e6655e446770","subject":"forgot pop_push.awk","message":"forgot pop_push.awk\n","repos":"Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack","returncode":1,"stderr":"error: pathspec 'util\/opt\/pop_push.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- util\/opt\/pop_push.awk\n+++ util\/opt\/pop_push.awk\n@@ -0,0 +1,30 @@\n+BEGIN\t{ print \"#define CONDBRA        '\\001'\" > \"pop_push.h\"\n+\t  print \"#define JUMP           '\\002'\" >> \"pop_push.h\"\n+\t  print \"#define HASLABEL       '\\004'\" >> \"pop_push.h\"\n+\t  print \"#include \\\"pop_push.h\\\"\"\n+\t  print\n+\t  print \"char *pop_push[] = {\"\n+\t  print \"\\\"\\\",\"\n+\t  switch = 0\n+}\n+\/aar\/\t{ switch = NR }\n+\t{ if (switch) {\n+\t      printf(\"\\\"%s\\\",\\n\",$3) \n+\t      col_2[NR-switch] = $2\n+\t  }\n+\t}\n+END\t{ print \"};\"\n+\t  print\n+\t  print \"char flow_tab[]= {\"\n+\t  print \"'\\000',\"\n+\t  for(i=0; i < NR-switch; i++) {\n+\t\tinf = col_2[i]\n+\t\tf_out = \"\"\n+\t\tif (substr(inf,1,1)==\"b\") f_out = \"HASLABEL|\"\n+\t\tif (substr(inf,2,1)==\"c\") f_out = f_out \"CONDBRA\"\n+\t\telse if (substr(inf,2,1)==\"t\") f_out = f_out \"JUMP\"\n+\t\telse f_out = \"'\\000'\"\n+\t\tprint f_out\",\"\n+\t  }\n+\t  print \"};\"\n+\t}\n"}
{"commit":"80d60d58393b9ed5c6437d976753e3539df0faeb","subject":"Add AWK script to compute the unbiased sample variance","message":"Add AWK script to compute the unbiased sample variance\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":1,"stderr":"error: pathspec 'tools\/awk\/variance.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/variance.awk\n+++ tools\/awk\/variance.awk\n@@ -0,0 +1,36 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# Computes the unbiased sample variance.\n+#\n+# Usage: variance\n+#\n+# Input:\n+#   - a column of numbers\n+#\n+# Output:\n+#   - unbiased sample variance\n+#\n+# Notes:\n+#   - Uses [Welford's method][1].\n+#\n+# [1]: https:\/\/en.wikipedia.org\/wiki\/Algorithms_for_calculating_variance#Online_algorithm\n+\n+BEGIN {\n+\tdelta = 0\n+\tmean = 0\n+\tM2 = 0\n+\tN = 0\n+}\n+{\n+\tN += 1\n+\tdelta = $1 - mean\n+\tmean += delta \/ N\n+\tM2 += delta * ($1 - mu)\n+}\n+END {\n+\tif (N < 2) {\n+\t\tprint 0\n+\t} else {\n+\t\tprint M2 \/ (N-1)\n+\t}\n+}\n"}
{"commit":"d19492b1d92b0f9f8da0a3ebdcc8c39bec10af6c","subject":"iorev_tagger now working (file was missing)","message":"iorev_tagger now working (file was missing)\n\ngit-svn-id: a7f2a8f7432d210e972fb03898013d213e2b549b@8324 e6417c60-b987-48fd-844e-b20f0fcc1017\n","repos":"gkno\/seqan,gkno\/seqan,gkno\/seqan,gkno\/seqan,gkno\/seqan,gkno\/seqan,gkno\/seqan","returncode":1,"stderr":"error: pathspec 'seqan\/misc\/iorev_tagger_level2.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- seqan\/misc\/iorev_tagger_level2.awk\n+++ seqan\/misc\/iorev_tagger_level2.awk\n@@ -0,0 +1,48 @@\n+#!\/usr\/bin\/awk -f\n+\n+BEGIN {\n+\n+    LINE_FC_INDEX = 1\n+    LINE_T_INDEX = 1\n+#     split(substr($lines, 2, length($lines)), LINES_LIST)\n+    split(substr(lines_fc,2,length(lines_fc)), LINES_FC_LIST, \"_\")\n+    split(substr(lines_t,2,length(lines_t)), LINES_T_LIST, \"_\")\n+    NEWFC = 0 \n+    NEWT = 0\n+\n+#     print \"lines_fc \" lines_fc | \"cat 1>&2\"\n+#     print \"lines_fc_list[2] \" LINES_FC_LIST[2] | \"cat 1>&2\"\n+#     print LINES_T_LIST[1] | \"cat 1>&2\"\n+\n+}\n+\n+NR == LINES_FC_LIST[LINE_FC_INDEX] {\n+    NEWFC = 1\n+}\n+\n+NR == LINES_T_LIST[LINE_T_INDEX] {\n+    NEWT = 1\n+}\n+\n+\n+{\n+    if (NEWT == 1) {\n+        print $0 \" \/\/IOREV _todo_\"\n+        LINE_T_INDEX = LINE_T_INDEX + 1\n+        NEWT = 0\n+    }\n+    else\n+        print $0\n+}\n+\n+\n+\n+$0 ~ \"{\" {\n+#     print \"reached braces\"\n+    if (NEWFC == 1) {\n+        NEWFC = 0\n+        LINE_FC_INDEX = LINE_FC_INDEX + 1\n+        print \"\/\/IOREV _todo_\"\n+    }\n+}\n+  "}
{"commit":"828d8252b970a8598c3dad0d6c3344849fb5f1be","subject":"add prntblk","message":"add prntblk\n\n- util for printing a block of text\n  matching between two regular expressions\n","repos":"grafoo\/utl,grafoo\/utl,grafoo\/utl","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/grafoo\/utl.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"1d828c8debab274f7b058e3474e2494dfccb0c19","subject":"Added an awk script to check for leaks in the memory logging output we just added.","message":"Added an awk script to check for leaks in the memory logging output we just added.\n","repos":"ProtonMail\/ui,mirrr\/ui,robbiev\/ui,mirrr\/ui,hajimehoshi\/ui,janstk\/ui,beni55\/ui,hajimehoshi\/ui,HunterChen\/ui,ProtonMail\/ui,HunterChen\/ui,mirrr\/ui,janstk\/ui,beni55\/ui,cainiaocome\/ui,292388900\/ui,cainiaocome\/ui,robbiev\/ui,janstk\/ui,292388900\/ui,robbiev\/ui,ProtonMail\/ui,hajimehoshi\/ui,beni55\/ui,292388900\/ui,cainiaocome\/ui,HunterChen\/ui","returncode":1,"stderr":"error: pathspec 'new\/leaks.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- new\/leaks.awk\n+++ new\/leaks.awk\n@@ -0,0 +1,56 @@\n+# 7 april 2015\n+\n+$2 == \"alloc\" {\n+\tif ($1 in A) {\n+\t\tproblem($1 \" already allocated (\" A[$1] \"); allocated at \" NR)\n+\t\tnext\n+\t}\n+\tA[$1] = type()\n+\tnext\n+}\n+\n+$2 == \"realloc\" {\n+\tif (!($1 in A)) {\n+\t\tproblem($1 \" not yet allocated; reallocated at \" NR)\n+\t\tnext\n+\t}\n+\tif ($3 in A) {\n+\t\tproblem($3 \" already allocated (\" A[$3] \"); reallocated at \" NR)\n+\t\tnext\n+\t}\n+\tt = A[$1]\n+\tdelete A[$1]\n+\tA[$3] = t\n+\tnext\n+}\n+\n+$2 == \"free\" {\n+\tif (!($1 in A)) {\n+\t\tproblem($1 \" not yet allocated; freed at \" NR)\n+\t\tnext\n+\t}\n+\tdelete A[$1]\n+\tnext\n+}\n+\n+{ problem(\"unrecognized line \" $0 \" at \" NR) }\n+\n+END {\n+\tfor (i in A)\n+\t\tproblem(\"leaked \" A[i] \" at \" i)\n+\tclose(\"\/dev\/stderr\")\n+\tif (hasProblems)\n+\t\texit 1\n+}\n+\n+function problem(s) {\n+\tprint s > \"\/dev\/stderr\"\n+\thasProblems = 1\n+}\n+\n+function type(\t\ts, i) {\n+\ts = $3\n+\tfor (i = 4; i <= NF; i++)\n+\t\ts = s \" \" $i\n+\treturn s\n+}\n"}
{"commit":"fbb227516f0f3329f1c39ec39498fb09855ddf2f","subject":"Create zad9.awk","message":"Create zad9.awk","repos":"lukaszpetke\/jp,lukaszpetke\/jp","returncode":1,"stderr":"error: pathspec 'AWK\/zad9.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/zad9.awk\n+++ AWK\/zad9.awk\n@@ -0,0 +1,6 @@\n+#Przepisz z pliku wej\u015bciowego liczby.txt linie, kt\u00f3re s\u0105 liczbami rzeczywistymi.\n+\n+#BEGIN {cyfry=\"^[0-9]+$\" }; $0 ~cyfry \n+\n+\n+{printf \"%f\\n\", $1}\n"}
{"commit":"2d04c0450b47a015e6c7b86dc97f317c839c8eff","subject":"bin\/cat-press.awk: new file","message":"bin\/cat-press.awk: new file\n","repos":"vvv\/dotfiles,vvv\/dotfiles,vvv\/dotfiles,vvv\/dotfiles","returncode":1,"stderr":"error: pathspec 'bin\/cat-press.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- bin\/cat-press.awk\n+++ bin\/cat-press.awk\n@@ -0,0 +1,23 @@\n+#!\/usr\/bin\/awk -f\n+\n+function flush() {\n+    if (n > 0) {\n+\tif (n > 1)\n+\t    printf(\"<%u times> \", n);\n+\tprint mem\n+\tmem = \"\"\n+\tn = 0\n+    }\n+}\n+\n+BEGIN { mem = n = 0 }\n+\n+$0 == mem { ++n; next }\n+\n+{\n+    flush()\n+    mem = $0\n+    n = 1\n+}\n+\n+END { flush() }\n"}
{"commit":"ecf04367a4e37cadc18dcddf48ad1da8e3ba28e5","subject":"Added src_from_args","message":"Added src_from_args\n","repos":"ncsa\/psync,ncsa\/psync","returncode":1,"stderr":"error: pathspec 'test\/src_from_args.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- test\/src_from_args.awk\n+++ test\/src_from_args.awk\n@@ -0,0 +1 @@\n+\/^\\(<FSItem\/{s=index($0,\"\/mnt\/a\"); e=index($0,\">, <FSItem \"); l=e-s; printf(\"%s\\n\",substr($0,s,l))}\n"}
{"commit":"7c990890bfd31ed289790df0734da88d57dfd3c6","subject":"fixed awk missmatch of publish category","message":"fixed awk missmatch of publish category\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"5604cedfdad1af2b3b475a7ba8d40366dc2fdf46","subject":"add Help (initial)","message":"add Help (initial)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":1,"stderr":"error: pathspec 'lib\/Help.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- lib\/Help.awk\n+++ lib\/Help.awk\n@@ -0,0 +1,105 @@\n+#!\/usr\/bin\/gawk -f\n+\n+# Return version as a string.\n+function getVersion() {\n+    return Name \" \" Version\n+}\n+\n+# Compare indices.\n+# Used by: getCodeReference()\n+function codeComparison(i1, v1, i2, v2) {\n+    return i1 > i2\n+}\n+\n+# Compare \"name\" values.\n+# Used by: getCodeReference()\n+function nameComparison(i1, v1, i2, v2) {\n+    return \"name\" in v1 ? v1[\"name\"] > v2[\"name\"] : 0\n+}\n+\n+# Compare \"relevance\" values.\n+# Used by: getTranslation()\n+function relevanceComparison(i1, v1, i2, v2) {\n+    return \"relevance\" in v1 ? v1[\"relevance\"] < v2[\"relevance\"] : 0\n+}\n+\n+# Return code reference list as a string.\n+# Parameters:\n+#     sortBy = \"name\" or \"code\"\n+function getCodeReference(sortBy,    i, r, saveSortedIn) {\n+    r = sprintf(\"%10s  %-20s %s\\n\", \"[code]\", \"[language]\", \"[endonym]\")\n+    r = r \"    \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\" \"\\n\"\n+    saveSortedIn = PROCINFO[\"sorted_in\"]\n+    PROCINFO[\"sorted_in\"] = sortBy \"Comparison\"\n+    for (i in Locale)\n+        r = r sprintf(AnsiCode[\"bold\"] \"%10s\" AnsiCode[\"no bold\"] \"  %-20s %s\\n\", i, Locale[i][\"name\"], Locale[i][\"display\"], i)\n+    r = r \"    \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\"\n+    PROCINFO[\"sorted_in\"] = saveSortedIn\n+    return r\n+}\n+\n+# Return code reference table as a string.\n+# Parameters:\n+#     displayName = \"endonym\" or \"name\"\n+function getCodeReferenceTable(displayName) {\n+    if (displayName == \"name\")\n+        return \"\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\" \\\n+            \"\u2502 \" Locale[\"af\"][\"name\"] \"           - \" AnsiCode[\"bold\"] \"af\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"el\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"el\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"mn\"][\"name\"] \"  - \" AnsiCode[\"bold\"] \"mn\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"sq\"][\"name\"] \"            - \" AnsiCode[\"bold\"] \"sq\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"gu\"][\"name\"] \"       - \" AnsiCode[\"bold\"] \"gu\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ne\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"ne\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ar\"][\"name\"] \"              - \" AnsiCode[\"bold\"] \"ar\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"ht\"][\"name\"] \" - \" AnsiCode[\"bold\"] \"ht\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"no\"][\"name\"] \"  - \" AnsiCode[\"bold\"] \"no\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"hy\"][\"name\"] \"            - \" AnsiCode[\"bold\"] \"hy\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"ha\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"ha\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"fa\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"fa\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"az\"][\"name\"] \"         - \" AnsiCode[\"bold\"] \"az\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"he\"][\"name\"] \"         - \" AnsiCode[\"bold\"] \"he\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"pl\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"pl\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"eu\"][\"name\"] \"              - \" AnsiCode[\"bold\"] \"eu\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"hi\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"hi\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"pt\"][\"name\"] \" - \" AnsiCode[\"bold\"] \"pt\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"be\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"be\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"hmn\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"hmn\" AnsiCode[\"no bold\"] \" \u2502 \" Locale[\"pa\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"pa\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"bn\"][\"name\"] \"             - \" AnsiCode[\"bold\"] \"bn\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"hu\"][\"name\"] \"      - \" AnsiCode[\"bold\"] \"hu\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ro\"][\"name\"] \"   - \" AnsiCode[\"bold\"] \"ro\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"bs\"][\"name\"] \"             - \" AnsiCode[\"bold\"] \"bs\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"is\"][\"name\"] \"      - \" AnsiCode[\"bold\"] \"is\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ru\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"ru\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"bg\"][\"name\"] \"           - \" AnsiCode[\"bold\"] \"bg\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"ig\"][\"name\"] \"           - \" AnsiCode[\"bold\"] \"ig\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sr\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"sr\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ca\"][\"name\"] \"             - \" AnsiCode[\"bold\"] \"ca\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"id\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"id\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sk\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"sk\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ceb\"][\"name\"] \"             - \" AnsiCode[\"bold\"] \"ceb\" AnsiCode[\"no bold\"] \"   \u2502 \" Locale[\"ga\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"ga\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sl\"][\"name\"] \"  - \" AnsiCode[\"bold\"] \"sl\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"zh-CN\"][\"name\"] \"  - \" AnsiCode[\"bold\"] \"zh-CN\" AnsiCode[\"no bold\"] \" \u2502 \" Locale[\"it\"][\"name\"] \"        - \" AnsiCode[\"bold\"] \"it\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"so\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"so\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"zh-TW\"][\"name\"] \" - \" AnsiCode[\"bold\"] \"zh-TW\" AnsiCode[\"no bold\"] \" \u2502 \" Locale[\"ja\"][\"name\"] \"       - \" AnsiCode[\"bold\"] \"ja\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"es\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"es\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"hr\"][\"name\"] \"            - \" AnsiCode[\"bold\"] \"hr\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"jv\"][\"name\"] \"       - \" AnsiCode[\"bold\"] \"jv\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sw\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"sw\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"cs\"][\"name\"] \"               - \" AnsiCode[\"bold\"] \"cs\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"kn\"][\"name\"] \"        - \" AnsiCode[\"bold\"] \"kn\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sv\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"sv\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"da\"][\"name\"] \"              - \" AnsiCode[\"bold\"] \"da\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"km\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"km\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ta\"][\"name\"] \"      - \" AnsiCode[\"bold\"] \"ta\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"nl\"][\"name\"] \"               - \" AnsiCode[\"bold\"] \"nl\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"ko\"][\"name\"] \"         - \" AnsiCode[\"bold\"] \"ko\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"te\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"te\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"en\"][\"name\"] \"             - \" AnsiCode[\"bold\"] \"en\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"lo\"][\"name\"] \"            - \" AnsiCode[\"bold\"] \"lo\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"th\"][\"name\"] \"       - \" AnsiCode[\"bold\"] \"th\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"eo\"][\"name\"] \"           - \" AnsiCode[\"bold\"] \"eo\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"la\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"la\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"tr\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"tr\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"et\"][\"name\"] \"            - \" AnsiCode[\"bold\"] \"et\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"lv\"][\"name\"] \"        - \" AnsiCode[\"bold\"] \"lv\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"uk\"][\"name\"] \"  - \" AnsiCode[\"bold\"] \"uk\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"tl\"][\"name\"] \"            - \" AnsiCode[\"bold\"] \"tl\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"lt\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"lt\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ur\"][\"name\"] \"       - \" AnsiCode[\"bold\"] \"ur\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"fi\"][\"name\"] \"             - \" AnsiCode[\"bold\"] \"fi\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"mk\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"mk\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"vi\"][\"name\"] \" - \" AnsiCode[\"bold\"] \"vi\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"fr\"][\"name\"] \"              - \" AnsiCode[\"bold\"] \"fr\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"ms\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"ms\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"cy\"][\"name\"] \"      - \" AnsiCode[\"bold\"] \"cy\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"gl\"][\"name\"] \"            - \" AnsiCode[\"bold\"] \"gl\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"mt\"][\"name\"] \"        - \" AnsiCode[\"bold\"] \"mt\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"yi\"][\"name\"] \"    - \" AnsiCode[\"bold\"] \"yi\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ka\"][\"name\"] \"            - \" AnsiCode[\"bold\"] \"ka\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"mi\"][\"name\"] \"          - \" AnsiCode[\"bold\"] \"mi\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"yo\"][\"name\"] \"     - \" AnsiCode[\"bold\"] \"yo\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"de\"][\"name\"] \"              - \" AnsiCode[\"bold\"] \"de\" AnsiCode[\"no bold\"] \"    \u2502 \" Locale[\"mr\"][\"name\"] \"        - \" AnsiCode[\"bold\"] \"mr\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"zu\"][\"name\"] \"       - \" AnsiCode[\"bold\"] \"zu\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\"\n+    else\n+        return \"\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\" \\\n+            \"\u2502 \" Locale[\"af\"][\"display\"] \"    - \" AnsiCode[\"bold\"] \"af\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"hi\"][\"display\"] \"            - \" AnsiCode[\"bold\"] \"hi\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"nl\"][\"display\"] \"  - \" AnsiCode[\"bold\"] \"nl\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ar\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"ar\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"hmn\"][\"display\"] \"            - \" AnsiCode[\"bold\"] \"hmn\" AnsiCode[\"no bold\"] \" \u2502 \" Locale[\"no\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"no\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"az\"][\"display\"] \" - \" AnsiCode[\"bold\"] \"az\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"hr\"][\"display\"] \"         - \" AnsiCode[\"bold\"] \"hr\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"pa\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"pa\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"be\"][\"display\"] \"   - \" AnsiCode[\"bold\"] \"be\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ht\"][\"display\"] \"   - \" AnsiCode[\"bold\"] \"ht\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"pl\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"pl\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"bg\"][\"display\"] \"    - \" AnsiCode[\"bold\"] \"bg\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"hu\"][\"display\"] \"           - \" AnsiCode[\"bold\"] \"hu\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"pt\"][\"display\"] \"   - \" AnsiCode[\"bold\"] \"pt\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"bn\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"bn\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"hy\"][\"display\"] \"          - \" AnsiCode[\"bold\"] \"hy\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ro\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"ro\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"bs\"][\"display\"] \"     - \" AnsiCode[\"bold\"] \"bs\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"id\"][\"display\"] \" - \" AnsiCode[\"bold\"] \"id\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ru\"][\"display\"] \"     - \" AnsiCode[\"bold\"] \"ru\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ca\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"ca\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ig\"][\"display\"] \"             - \" AnsiCode[\"bold\"] \"ig\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sk\"][\"display\"] \"  - \" AnsiCode[\"bold\"] \"sk\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ceb\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"ceb\" AnsiCode[\"no bold\"] \" \u2502 \" Locale[\"is\"][\"display\"] \"         - \" AnsiCode[\"bold\"] \"is\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sl\"][\"display\"] \" - \" AnsiCode[\"bold\"] \"sl\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"cs\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"cs\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"it\"][\"display\"] \"         - \" AnsiCode[\"bold\"] \"it\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"so\"][\"display\"] \"    - \" AnsiCode[\"bold\"] \"so\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"cy\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"cy\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ja\"][\"display\"] \"           - \" AnsiCode[\"bold\"] \"ja\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sq\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"sq\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"da\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"da\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"jv\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"jv\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sr\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"sr\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"de\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"de\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ka\"][\"display\"] \"          - \" AnsiCode[\"bold\"] \"ka\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sv\"][\"display\"] \"     - \" AnsiCode[\"bold\"] \"sv\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"el\"][\"display\"] \"     - \" AnsiCode[\"bold\"] \"el\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"km\"][\"display\"] \"         - \" AnsiCode[\"bold\"] \"km\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"sw\"][\"display\"] \"   - \" AnsiCode[\"bold\"] \"sw\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"en\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"en\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"kn\"][\"display\"] \"             - \" AnsiCode[\"bold\"] \"kn\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ta\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"ta\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"eo\"][\"display\"] \"    - \" AnsiCode[\"bold\"] \"eo\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ko\"][\"display\"] \"           - \" AnsiCode[\"bold\"] \"ko\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"te\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"te\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"es\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"es\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"la\"][\"display\"] \"           - \" AnsiCode[\"bold\"] \"la\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"th\"][\"display\"] \"         - \" AnsiCode[\"bold\"] \"th\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"et\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"et\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"lo\"][\"display\"] \"              - \" AnsiCode[\"bold\"] \"lo\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"tl\"][\"display\"] \"     - \" AnsiCode[\"bold\"] \"tl\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"eu\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"eu\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"lt\"][\"display\"] \"         - \" AnsiCode[\"bold\"] \"lt\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"tr\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"tr\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"fa\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"fa\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"lv\"][\"display\"] \"         - \" AnsiCode[\"bold\"] \"lv\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"uk\"][\"display\"] \"  - \" AnsiCode[\"bold\"] \"uk\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"fi\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"fi\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"mi\"][\"display\"] \"            - \" AnsiCode[\"bold\"] \"mi\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ur\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"ur\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"fr\"][\"display\"] \"     - \" AnsiCode[\"bold\"] \"fr\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"mk\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"mk\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"vi\"][\"display\"] \"  - \" AnsiCode[\"bold\"] \"vi\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ga\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"ga\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"mn\"][\"display\"] \"           - \" AnsiCode[\"bold\"] \"mn\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"yi\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"yi\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"gl\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"gl\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"mr\"][\"display\"] \"            - \" AnsiCode[\"bold\"] \"mr\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"yo\"][\"display\"] \"      - \" AnsiCode[\"bold\"] \"yo\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"gu\"][\"display\"] \"       - \" AnsiCode[\"bold\"] \"gu\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ms\"][\"display\"] \"    - \" AnsiCode[\"bold\"] \"ms\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"zh-CN\"][\"display\"] \"    - \" AnsiCode[\"bold\"] \"zh-CN\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"ha\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"ha\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"mt\"][\"display\"] \"            - \" AnsiCode[\"bold\"] \"mt\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"zh-TW\"][\"display\"] \"    - \" AnsiCode[\"bold\"] \"zh-TW\" AnsiCode[\"no bold\"] \" \u2502\\n\" \\\n+            \"\u2502 \" Locale[\"he\"][\"display\"] \"        - \" AnsiCode[\"bold\"] \"he\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"ne\"][\"display\"] \"            - \" AnsiCode[\"bold\"] \"ne\" AnsiCode[\"no bold\"] \"  \u2502 \" Locale[\"zu\"][\"display\"] \"     - \" AnsiCode[\"bold\"] \"zu\" AnsiCode[\"no bold\"] \"    \u2502\\n\" \\\n+            \"\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\"\n+}\n"}
{"commit":"8b7df1183bd95d794f6846c56bfea8fd6fab2d87","subject":"AWK script to create a list of source files from `make` output.","message":"AWK script to create a list of source files from `make` output.\n\nFor `.\/configure` & `make` builds. Not for CMake builds. Can be used to\ngenerate source file lists to be used in `CMakeLists.txt`, though.\n\nWorks at least with `gawk`.\n\nUsage:\n\n`.configure`\n`make >foo.txt 2>&1`\n`generate_source_list_from_make_output.awk foo.txt`\n\n\tnew file:   code\/awk\/generate_source_list_from_make_output.awk\n","repos":"nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio,nrz\/ylikuutio","returncode":1,"stderr":"error: pathspec 'code\/awk\/generate_source_list_from_make_output.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- code\/awk\/generate_source_list_from_make_output.awk\n+++ code\/awk\/generate_source_list_from_make_output.awk\n@@ -0,0 +1,60 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN{\n+    # This program generates source list to be used in `CMakeLists.txt`\n+    # or elsewhere using `foo.txt` produced by `make >foo.txt 2>&1` as input.\n+\n+    current_dir = \"\";\n+    new_filename = \"\";\n+    current_filename = \"\";\n+    entering_directory_regex = \"Entering directory '\";\n+    cpp_regex = \"\\\\<[a-zA-Z0-9_-]+\\\\.cpp\\\\>\";\n+    c_regex = \"\\\\<[a-zA-Z0-9_-]+\\\\.c\\\\>\";\n+} # BEGIN\n+\n+function get_filename()\n+{\n+    # OK, there's a `.cpp` file on this line.\n+    cpp_filename = substr($0, RSTART, RLENGTH);\n+    new_filename = current_dir \"\/\" cpp_filename;\n+\n+    if (new_filename != current_filename)\n+    {\n+        current_filename = new_filename;\n+\n+        # print the filename.\n+        print current_filename;\n+\n+        # find out if there's a matching `*.h` header file too.\n+        header_filename = gensub(\/(^.*\\.)c(|pp)$\/, \"\\\\1h\", \"g\", current_filename);\n+\n+        if (system(\"test -f \" header_filename))\n+        {\n+            # header exists, so print its filename too!\n+            print header_filename;\n+        }\n+    }\n+}\n+{\n+    entering_directory_match_index = match($0, entering_directory_regex);\n+    cpp_match_index = match($0, cpp_regex);\n+    c_match_index = match($0, c_regex);\n+\n+    if (entering_directory_match_index > 0)\n+    {\n+        # OK, we are entering a new directory on this line.\n+        junk_part_length = entering_directory_match_index + length(entering_directory_regex);\n+\n+        # read current dir.\n+        current_dir = substr($0, junk_part_length, length($0) - junk_part_length);\n+    }\n+    else if (cpp_match_index > 0)\n+    {\n+        match($0, cpp_regex); # update `RSTART` & `RLENGTH`.\n+        get_filename();\n+    }\n+    else if (c_match_index > 0)\n+    {\n+        match($0, c_regex); # update `RSTART` & `RLENGTH`.\n+        get_filename();\n+    }\n+}\n"}
{"commit":"9709c9fe4428f6e5f71ceac2dede72fddbd8af93","subject":"Add script to process new scrapes","message":"Add script to process new scrapes\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'getBritBoxShowsFrom-webscraper.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- getBritBoxShowsFrom-webscraper.awk\n+++ getBritBoxShowsFrom-webscraper.awk\n@@ -0,0 +1,112 @@\n+# Print the processed \"Episode\" lines from a WebScraper csv file saved in tsv format\n+\n+# Field numbers for movies\n+#    1 web-scraper-order  2 web-scraper-start-url  3 Program_Title     4 Year    5 Duration\n+#    6 Duration           7 Rating                 8 Description\n+\n+# Field numbers for shows\n+#    1 web-scraper-order  2 web-scraper-start-url  3 SsnURL     4 SsnURL-href    5 URL\n+#    6 Program_Title      7 Episode_Title          8 Year       9 Duration      10 Rating\n+#   11 Description\n+\n+\n+BEGIN {\n+    FS=\"\\t\"\n+    # print \"Sortkey\\tTitle\\tSeasons\\tEpisodes\\tDuration\\tYear(s)\\tRating\\tDescription\"\n+}\n+\n+{\n+    for ( i = 1; i <= NF; i++ ) {\n+        if ($i == \"null\")\n+            $i = \"\"\n+    }\n+}\n+\n+\/\\\/us\\\/movie\\\/\/ {\n+    URL = $2\n+    showTitle = $3\n+    NumSeasons = 1\n+    NumEpisodes = 1\n+    Year = $4\n+    Duration = $5\n+    Rating = $6\n+    Description = $7\n+\n+    # Extract sortkey from URL\n+    nflds = split (URL,fld,\"_\")\n+    if (URL ~ \/_[[:digit:]]*$\/) {\n+        sortkey = sprintf (\"M%05d\", fld[nflds])\n+    } else {\n+        sortkey = \"XXXX\"\n+    }\n+\n+    # Convert duration from minutes to HMS\n+    sub( \/ min\/,\"\",Duration)\n+    secs = 0\n+    mins = Duration % 60\n+    hrs = int(Duration \/ 60)\n+    HMS = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n+    if (HMS == \"00:00:00\")\n+        HMS = \"\"\n+\n+    # Titles starting with \"The\" should not sort based on \"The\"\n+    if (match (showTitle, \/^The \/))\n+        showTitle = substr(showTitle, 5) \", The\"\n+\n+    savedLine = sprintf \\\n+        (\"%s (1) %s\\t=HYPERLINK(\\\"%s\\\";\\\"%s\\\"\\)\\t%s\\t%s\\t%s\\t%s\\t%s\\t%s\",\\\n+         showTitle, sortkey, URL, showTitle, NumSeasons, NumEpisodes, HMS, Year,\\\n+         Rating, Description)\n+\n+    # Make sure line doesn't start with a single quote so it sorts correctly in Open Office\n+    sub (\/^'\/,\"\",savedLine)\n+\n+    print savedLine\n+}\n+\n+\/\\\/us\\\/episode\\\/\/ {\n+    URL = $5\n+    showTitle = $6\n+    episodeTitle = $7\n+    Years = $8\n+    Duration = $9\n+    Rating = $10\n+    Description = $11\n+\n+    # Extract sortkey from URL\n+    nflds = split (URL,fld,\"_\")\n+    if (URL ~ \/_S[[:digit:]]*_E[[:digit:]]*_[[:digit:]]*$\/) {\n+        seasonNumber = substr(fld[nflds-2], 2)\n+        episodeNumber = substr(fld[nflds-1], 2)\n+        sortkey = sprintf (\"S%02dE%02d\", seasonNumber, episodeNumber)\n+    } else {\n+        sortkey = sprintf (\"E%05d\", fld[nflds])\n+    }\n+\n+    # Get rid of redundant \"Series #\" or \"Series #\" from episodeTitle\n+    if (match (episodeTitle, \/^Season [[:digit:]]*, |^Series [[:digit:]]*, \/))\n+        episodeTitle = substr(episodeTitle,RLENGTH+1)\n+\n+    # Convert duration from minutes to HMS\n+    sub( \/ min\/,\"\",Duration)\n+    secs = 0\n+    mins = Duration % 60\n+    hrs = int(Duration \/ 60)\n+    HMS = sprintf (\"%02d:%02d:%02d\", hrs, mins, secs)\n+    if (HMS == \"00:00:00\")\n+        HMS = \"\"\n+\n+    # Titles starting with \"The\" should not sort based on \"The\"\n+    if (match (showTitle, \/^The \/))\n+        showTitle = substr(showTitle, 5) \", The\"\n+\n+    savedLine = sprintf \\\n+        (\"%s (2) %s %s\\t=HYPERLINK(\\\"https:\/\/www.britbox.com%s\\\";\\\"%s, %s, %s\\\"\\)\\t\\t\\t%s\\t%s\\t%s\\t%s\",\\\n+         showTitle, Years, sortkey, URL, showTitle, sortkey, episodeTitle, HMS, Years, \\\n+         Rating, Description)\n+\n+    # Make sure line doesn't start with a single quote so it sorts correctly in Open Office\n+    sub (\/^'\/,\"\",savedLine)\n+\n+    print savedLine\n+}\n"}
{"commit":"dc405ae73dab96c9269bc48940d9cc34de985396","subject":"    arr_push(xr, dom($1) FS $1)","message":"    arr_push(xr, dom($1) FS $1)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"bf605d8a4a0cec5a06424efc5ac46cfc1813828c","subject":"cutter for the interesting part of a twiki page","message":"cutter for the interesting part of a twiki page\n","repos":"cartazio\/omega,minad\/omega","returncode":1,"stderr":"error: pathspec 'tools\/twiki.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/twiki.awk\n+++ tools\/twiki.awk\n@@ -0,0 +1,15 @@\n+interesting && \/^<div\\ class=\"twikiContentFooter\"\/ {\n+    interesting = 0\n+    next\n+}\n+\n+\/^<h1>\/ {\n+     interesting = 1\n+}\n+\n+interesting {\n+    gsub(\/<h[1-9]>\/, \"\\n&\\n\")\n+    gsub(\/<\\\/h[1-9]>\/, \"\\n&\\n\")\n+    print\n+    next\n+}\n"}
{"commit":"4e6b8eee7755a5aa7f866d0d0cd290653fd87a31","subject":"add CFI generation script for x86_64","message":"add CFI generation script for x86_64\n","repos":"chardi\/musl,chardi\/musl,chardi\/musl","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/chardi\/musl.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"c12e39867adf768734afef0722b8389e10365641","subject":"2008-03-24  Martin Sebor  <sebor@roguewave.com>","message":"2008-03-24  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk (print_section): Consistently prepended \"..\/\" to the\n\tlog file name since build logs are stored in the parent directory of\n\tthe one that contains the cross-build results.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@640489 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"a9a92ae75f159b72b86a26af23237b148a44fdb5","subject":"Add toloka-gold-isas.awk","message":"Add toloka-gold-isas.awk\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":1,"stderr":"error: pathspec 'misc\/toloka-gold-isas.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- misc\/toloka-gold-isas.awk\n+++ misc\/toloka-gold-isas.awk\n@@ -0,0 +1,13 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {\n+    FS = OFS = \"\\t\";\n+}\n+FNR == 1 {\n+    for (i=1; i<=NF; i++) ix[$i] = i;\n+    next;\n+}\n+tolower($ix[\"OUTPUT:judgement\"]) == \"true\" {\n+    for (i = 1; i <= split($ix[\"INPUT:hypernym\"], hypernyms, \", \"); i++) {\n+        print $ix[\"INPUT:hyponym\"], hypernyms[i];\n+    }\n+}\n"}
{"commit":"970c137f3a770cfe95cc0a3c3ec2b29f23373d55","subject":"fix formatting","message":"fix formatting\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@4170 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"155fe7f7dfdedce0dc71f97d95aa11e2dec71ea6","subject":"add count_overheat.awk","message":"add count_overheat.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.imbh\/count_overheat.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.imbh\/count_overheat.awk\n+++ tool.imbh\/count_overheat.awk\n@@ -0,0 +1,5 @@\n+{\n+    if($46 > 5e8 * log($47) - 2e9) {\n+        print $0;\n+    }\n+}\n"}
{"commit":"acd247401a24b0e5ae901a39ca5d993e4516b364","subject":"INTEGRATION: CWS macosxmapfiles (1.1.2); FILE ADDED 2007\/01\/26 19:10:57 pjanik 1.1.2.4: Fix whitespacing. 2007\/01\/24 06:57:37 tra 1.1.2.3: #i69351# general cleanup and better documentation 2007\/01\/21 13:38:43 tra 1.1.2.2: #i69351#more flexibility in handling map files 2007\/01\/11 08:36:10 tra 1.1.2.1: #69351#","message":"INTEGRATION: CWS macosxmapfiles (1.1.2); FILE ADDED\n2007\/01\/26 19:10:57 pjanik 1.1.2.4: Fix whitespacing.\n2007\/01\/24 06:57:37 tra 1.1.2.3: #i69351# general cleanup and better documentation\n2007\/01\/21 13:38:43 tra 1.1.2.2: #i69351#more flexibility in handling map files\n2007\/01\/11 08:36:10 tra 1.1.2.1: #69351#\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'solenv\/bin\/unxmap-to-macosx-explist.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/unxmap-to-macosx-explist.awk\n+++ solenv\/bin\/unxmap-to-macosx-explist.awk\n@@ -0,0 +1,71 @@\n+#*************************************************************************\n+#\n+#   OpenOffice.org - a multi-platform office productivity suite\n+#\n+#   $RCSfile: unxmap-to-macosx-explist.awk,v $\n+#\n+#   $Revision: 1.2 $\n+#\n+#   last change: $Author: rt $ $Date: 2007-01-31 08:42:05 $\n+#\n+#   The Contents of this file are made available subject to\n+#   the terms of GNU Lesser General Public License Version 2.1.\n+#\n+#\n+#     GNU Lesser General Public License Version 2.1\n+#     =============================================\n+#     Copyright 2005 by Sun Microsystems, Inc.\n+#     901 San Antonio Road, Palo Alto, CA 94303, USA\n+#\n+#     This library is free software; you can redistribute it and\/or\n+#     modify it under the terms of the GNU Lesser General Public\n+#     License version 2.1, as published by the Free Software Foundation.\n+#\n+#     This library is distributed in the hope that it will be useful,\n+#     but WITHOUT ANY WARRANTY; without even the implied warranty of\n+#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+#     Lesser General Public License for more details.\n+#\n+#     You should have received a copy of the GNU Lesser General Public\n+#     License along with this library; if not, write to the Free Software\n+#     Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n+#     MA  02111-1307  USA\n+#\n+#*************************************************************************\n+\n+# Generate an exported symbols list out of a map file (as use on Linux\/Solaris) in order to\n+# build shared libraries on Mac OS X\n+#\n+# The below code fails may fail with 'perverted' mapfiles (using a strange line layout etc.)\n+\n+# Skip 'SECTION_NAME {' lines\n+\/^[\\t ]*.*[\\t ]*\\{\/ { next }\n+\n+# Skip 'global:' or 'local:' lines\n+\/global:\/ || \/local:\/ { next }\n+\n+# Skip '*;' lines\n+\/^[\\t ]*\\*;[\\t ]*\/ { next }\n+\n+# Skip section end '}?;' lines\n+\/^[\\t ]*\\}[\\t ]*.*[;]*\/ { next }\n+\n+# Skip comment or empty lines\n+\/^[\\t ]*#.*\/ || \/^[\\t ]*$\/ || \/^$\/ { next }\n+\n+# Echo all lines containing symbol names and prefix them with '_'\n+# because symbols on Mac OS X start always with '__'\n+{\n+    # There may appear multiple symbols in one line\n+    # e.g. \"sym1; sym2; # and finally a comment\"\n+    # take this into account\n+    for (i = 1; i <= NF ; i++) {\n+\tif ($i !~ \/^[\\t ]*#.*\/) { # as long as the current field doesn't start with '#'\n+\t    gsub(\/[\\t ;]\/, \"\", $i) # Remove leading spaces and trailing ';'\n+\t    printf(\"_%s\\n\",$i)\n+\t}\n+\telse { # ignore everything after a '#' (comment) sign\n+\t    break\n+\t}\n+    }\n+}\n"}
{"commit":"f2ebbd8ca0535a3ae126c492786fc1dd0854d047","subject":"add awk script to convert query logs into CSV file","message":"add awk script to convert query logs into CSV file\n","repos":"pixeldrama\/ANNIS,korpling\/ANNIS,amir-zeldes\/ANNIS,amir-zeldes\/ANNIS,amir-zeldes\/ANNIS,zangsir\/ANNIS,korpling\/ANNIS,pixeldrama\/ANNIS,korpling\/ANNIS,amir-zeldes\/ANNIS,zangsir\/ANNIS,zangsir\/ANNIS,zangsir\/ANNIS,pixeldrama\/ANNIS,zangsir\/ANNIS,zangsir\/ANNIS,pixeldrama\/ANNIS,amir-zeldes\/ANNIS,pixeldrama\/ANNIS,korpling\/ANNIS,korpling\/ANNIS,pixeldrama\/ANNIS,amir-zeldes\/ANNIS","returncode":1,"stderr":"error: pathspec 'Misc\/parsequerylog\/parseCount.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- Misc\/parsequerylog\/parseCount.awk\n+++ Misc\/parsequerylog\/parseCount.awk\n@@ -0,0 +1,57 @@\n+function outputQuery(query, corpus, runtime)\n+{\n+#\tprint \"--------------------------------\"\n+#\tprint \"Query: \" query\n+#\tprint \"Runtime: \" runtime \" ms\"\n+#\tprint \"Corpus: \" corpus \n+#\tprint \"--------------------------------\"\n+\tprint corpus \"\\t\" gensub(\/\\t\/, \" \", \"g\", query) \"\\t\" runtime\n+}\n+\n+BEGIN {\n+\tquery=\"\"\n+\tprint \"corpora\\tquery\\ttime (in ms)\"\n+}\n+\n+\n+# capture a line with complete input in one line\n+\/^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9](.*)function: COUNT, query: (.*), corpus: \\[([^\\]]+)\\], runtime: [0-9]+ ms$\/ {\n+\twhere = match($0, \/^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9](.*)function: COUNT, query: (.*), corpus: \\[([^\\]]+)\\], runtime: ([0-9]+) ms$\/, ary)\n+\tif(where)\n+\t{\n+\t\tquery= \"\"\n+\t\toutputQuery(ary[2], ary[3], ary[4])\n+\t\tnext\n+\t}\n+}\n+\n+# capture incomplete\n+\/^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9](.*)function: COUNT, query: (.*)$\/ {\n+\twhere = match($0, \/^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9](.*)function: COUNT, query: (.*)$\/, ary)\n+\tif(where)\n+\t{\n+\t\tquery= ary[2]\n+\t\tnext\n+\t}\n+}\n+\n+# capture end of incomplete query\n+\/corpus: \\[([^\\]]+)\\], runtime: ([0-9]+) ms$\/ {\n+\n+\tif(query != \"\" && match($0, \/(.+), corpus: \\[([^\\]]+)\\], runtime: ([0-9]+) ms$\/,ary))\n+\t{\n+\t\toutputQuery(query \" \" ary[1], ary[2], ary[3])\n+\t}\n+\tquery = \"\"\n+\tnext\n+}\n+\n+\n+{\n+\tif(query != \"\")\n+\t{\n+\t\t# append the current line\n+\t\tquery = query \" \" $0\n+\t}\n+}\n+\n"}
{"commit":"2cda31bceaaef0371efcc37fdfc69dffb1cd9344","subject":"bugs highlighted by mawk, closes #52","message":"bugs highlighted by mawk, closes #52\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"32d9a098f66b0e7df9b5ee531930d2833848d525","subject":"added awk","message":"added awk\n","repos":"rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations,rubyists\/ebeats-implementations","returncode":1,"stderr":"error: pathspec 'awk\/beats.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- awk\/beats.awk\n+++ awk\/beats.awk\n@@ -0,0 +1,6 @@\n+#!\/bin\/awk -f\n+BEGIN{\n+  st=systime()\n+  split(strftime(\"%T\",st,1),hms,\":\")\n+  print strftime(\"d%d.%m.%y@\"( ((hms[1])*(1000\/24)) + (hms[2]*(1000\/1440)) + (hms[3]*(1000\/86400)) )\".beats\",st,1)\n+}\n"}
{"commit":"727b84b604572ba9fbcc1e8115885e8d098ac065","subject":"2008-03-14  Martin Sebor  <sebor@roguewave.com>","message":"2008-03-14  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk (print_timingstable): Highlighted totals in bold.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@637295 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"d2c37acf7cdc539d99d306d07ad7d1c7aefee6d1","subject":"pull in <errno.h>","message":"pull in <errno.h>\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"ef3afbf9c2acca9d56e68391ad910d7d4d3fbe69","subject":"script parsing TWI (I2C) sessions from digital scope","message":"script parsing TWI (I2C) sessions from digital scope\n","repos":"temoto\/vender,temoto\/vender,temoto\/vender","returncode":1,"stderr":"error: pathspec 'script\/i2c-parse.awk' did not match any file(s) known to git\n","license":"cc0-1.0","lang":"Awk","diff":"--- script\/i2c-parse.awk\n+++ script\/i2c-parse.awk\n@@ -0,0 +1,126 @@\n+#!\/usr\/bin\/env awk -f\n+# Parse mega bytes csv to human readable command-response sequences.\n+# We get this CSV from digital scope.\n+\n+# Example input:\n+# Time(seconds),Bus Name,Signal Name,Data\n+# 3.649978000,I2C 3,Digital 3,S - Start\n+# 3.649995000,I2C 3,Digital 3,F0 Write\n+# 3.650073000,I2C 3,Digital 3,ACK\n+# 3.650089000,I2C 3,Digital 3,05\n+\n+BEGIN {\n+  FS = \",\";\n+  lastTime = 0; sid = 0;\n+  mlen = 0; rlen = 0;\n+  lastByte = 0;\n+  cmdByte = 0;\n+  data = \"\"; byte = 0;\n+  line = \"\"; sdesc = \"\";\n+}\n+\n+function parseTime(s) {\n+  isms = sub(\"ms\", \"\", s) > 0;\n+  isrel = sub(\"+\", \"\", s) > 0;\n+  v = strtonum(s);\n+  if (isms) { v \/= 1000 }\n+  if (isrel) { v += lastTime }\n+  return v\n+}\n+function low(a) { return and(a, 0xff) }\n+function printLine() {\n+  if (line) {\n+    print line \"\\t\" commandName() \"\\t\" sdesc;\n+  }\n+  line = \"\"; sdesc = \"\";\n+}\n+\n+\/^Time\/ { next }\n+\/Error$\/ { next }\n+\n+{\n+lastByte = byte;\n+time = parseTime($1);\n+bus = $2;\n+data = $4;\n+byte = strtonum(\"0x\"data);\n+byteLoHex = sprintf(\"%02x \", low(byte));\n+\n+# special processing of first line\n+if (lastTime == 0) { lastTime = time; addr = parseAddr(byte); }\n+if (time - lastTime < 0) { lastTime = time ; lastBus = \"\" ; lastByte = 0; }\n+\n+if (bus == \"MT\") {\n+  if (byte >= 0x100) {\n+    # begin new VMC command (session)\n+    printLine();\n+    mchk = 0;\n+    mlen = 0;\n+    sid += 1;\n+    cmdByte = byte;\n+    addr = parseAddr(byte);\n+    sdesc = byteLoHex;\n+\n+    offset = (time - lastTime) * 1000;\n+    line = sprintf(\"%d\\t%.1f\\t%d\\t%s\",\n+      time*1000, offset, sid, deviceName(addr))\n+  } else {\n+    if (lastBus == \"MR\") {\n+      # VMC ack\/nak of peripheral response\n+      if (byte == 0x00) {\n+        sdesc = sdesc \"-> ACK \"\n+      } else if (byte == 0x55) {\n+        sdesc = sdesc \"-> RET \"\n+      } else if (byte == 0xff) {\n+        sdesc = sdesc \"-> NAK \"\n+      } else {\n+        sdesc = sdesc sprintf(\"ERR(%02x!=ACK\/RET\/NAK)\", byte)\n+      }\n+    } else {\n+      sdesc = sdesc byteLoHex;\n+    }\n+  }\n+  mchk = low(mchk + byte);\n+  lastTime = time;\n+} else if (bus == \"MR\") {\n+  if (lastBus == \"MT\") {\n+    rlen = 0;\n+\n+    mchkb = lastByte;\n+    mchk = low(mchk + 0x100 - lastByte);\n+    # skip valid checksum\n+    sdesc = substr(sdesc, 1, length(sdesc)-3);\n+    if (mchk != mchkb) {\n+      sdesc = sdesc sprintf(\"CHKERR(%02x!=%02x)\", mchkb, mchk);\n+    }\n+  }\n+  rlen += 1;\n+  lastTime = time;\n+  if (rlen == 1 && byte >= 0x100) {\n+    # short peripheral response: ACK\/NAK\n+    if (byte == 0x100) {\n+      sdesc = sdesc \"-> ACK \";\n+    } else if (byte == 0x1ff) {\n+      sdesc = sdesc \"-> NAK \";\n+    } else {\n+      sdesc = sdesc sprintf(\"-> CHKERR(%02x!=ACK\/NAK)\", byte)\n+    }\n+  } else if (rlen == 1 && byte < 0x100) {\n+    # begin long peripheral response\n+    rchk = low(byte);\n+    sdesc = sdesc \"-> \" byteLoHex;\n+  } else if (rlen > 1 && byte < 0x100) {\n+    # long peripheral response continued\n+    rchk = low(rchk + byte);\n+    sdesc = sdesc byteLoHex;\n+  } else if (rlen > 1 && byte >= 0x100) {\n+    # long peripheral response checksum\n+    rchkb = low(byte);\n+    if (rchk != rchkb) {\n+      sdesc = sdesc sprintf(\"CHKERR(%02x!=%02x)\", rchkb, rchk);\n+    }\n+  }\n+}\n+}\n+\n+END { printLine(); }\n"}
{"commit":"d7c166dcfabf1dffc2dd0ac82875624e6c6a97c8","subject":"move to a separate file","message":"move to a separate file\n","repos":"stuartyeates\/rsnz-fellows","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/stuartyeates\/rsnz-fellows.git\/'\n","license":"unlicense","lang":"Awk","diff":""}
{"commit":"f360500351dd27c97c9d8a12c4fa7200c2b267e6","subject":"getdirs.awk: restore regexp to original","message":"getdirs.awk: restore regexp to original\n\nChange-Id: I7f9714e1b0e079299c87b036dea8e91ffc701342\n","repos":"veritas-shine\/minix3-rpi,veritas-shine\/minix3-rpi,veritas-shine\/minix3-rpi,veritas-shine\/minix3-rpi,veritas-shine\/minix3-rpi,veritas-shine\/minix3-rpi,veritas-shine\/minix3-rpi,veritas-shine\/minix3-rpi","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/veritas-shine\/minix3-rpi.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"ecbfb1831ede5782b567435c3d0ef09ecd413548","subject":"reverted experimental mawk","message":"reverted experimental mawk\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"9e8bd5065ba7952d0bd83f65b37d1df593946de1","subject":"add start of log sanitiser","message":"add start of log sanitiser\n","repos":"wikimedia-research\/WMUtils,wikimedia-research\/WMUtils","returncode":1,"stderr":"error: pathspec 'inst\/sampled_log_sanitiser.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- inst\/sampled_log_sanitiser.awk\n+++ inst\/sampled_log_sanitiser.awk\n@@ -0,0 +1 @@\n+{gsub(\"\\\\n\", \" \"); gsub(\"\\\"\", \"\"); print >> \".\/processeddata.tsv\"}"}
{"commit":"2186c1b56c62f1a3e5503d5d65161ad8db3eaf6c","subject":"Create zad7.awk","message":"Create zad7.awk","repos":"lukaszpetke\/jp,lukaszpetke\/jp","returncode":1,"stderr":"error: pathspec 'AWK\/zad7.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/zad7.awk\n+++ AWK\/zad7.awk\n@@ -0,0 +1,3 @@\n+#Z pliku \/etc\/passwd wy\u015bwietli\u0107 nazwy tych u\u017cytkownik\u00f3w, kt\u00f3rzy nie maj\u0105 wype\u0142nionego pola numer 5 (dodatkowe informacje o u\u017cytkowniku).\n+\n+BEGIN {FS=\":\"} $5 ==\"\" {print $1}\n"}
{"commit":"17d11056ca9911c1c0d1b8009257c832bbc6a94c","subject":"Forgot one file for the last commit","message":"Forgot one file for the last commit\n","repos":"frmichel\/vo-support-tools,frmichel\/vo-support-tools,frmichel\/vo-support-tools","returncode":1,"stderr":"error: pathspec 'SE\/se-space-check-1.0\/parse-lcg-infosites-space.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- SE\/se-space-check-1.0\/parse-lcg-infosites-space.awk\n+++ SE\/se-space-check-1.0\/parse-lcg-infosites-space.awk\n@@ -0,0 +1,31 @@\n+# This awk script parses the output of \"lcg-infosites space\". It displays columns:\n+# SE_hostname, available space, used space, total space (in GB), %age of used space\n+#\n+# As a reminder, \"lcg-infosites space\" output is like this:\n+#    Free     Used Reserved     Free     Used Reserved Tag                    SE\n+#  Online   Online   Online Nearline Nearline Nearline\n+#-------------------------------------------------------------------------------\n+#     1696      467        0        0        0        0 -                      arc.univ.kiev.ua\n+#\n+# Usage:\n+#     lcg-infosites --vo biomed space | awk -f parse-lcg-infosites-space.awk\n+#\n+# NOTE: the GLUE specification uses: 1GB = 10^3 MB = 10^6 KB... and not 2^10, 2^20.\n+\n+BEGIN { avail=0; used=0; }\n+\n+# Remove two first lines:\n+\/Reserved\/ { next; }\n+\/Nearline\/ { next; }\n+\/--------\/ { next; }\n+\n+# Return SE hostname, available space, used space, total space (GB), %age of used space\n+{   \n+   total= $1 + $2;\n+   if (total==0)\n+       print $8, $1, $2, total, \"n.a\";\n+   else \n+       print $8, $1, $2, total, int(100*$2\/(total)) ; \n+   avail += $1; used += $2; \n+}\n+\n"}
{"commit":"12740a270dd2aca54015c02872dd3b2169214a7b","subject":"Create helper for Netflix activity","message":"Create helper for Netflix activity\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'getNetflixFrom-ActivityPage.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- getNetflixFrom-ActivityPage.awk\n+++ getNetflixFrom-ActivityPage.awk\n@@ -0,0 +1,19 @@\n+# Helper for converting Netflix \"viewing activity\" into hyperlinks\n+#\n+# Since there is no way to paste an embedded hyperlink into a text filei,\n+# paste the link and the title on two consecutive lines, e.g.\n+#\n+# https:\/\/www.netflix.com\/title\/80174814\n+# Borderliner: Season 1: \"Milla\u2019s Future\"\n+# https:\/\/www.netflix.com\/title\/80203122\n+# Luxury Travel Show: Season 1: \"Chiang Mai & Eze\"\n+# https:\/\/www.netflix.com\/title\/80217826\n+# Kavin Jay: Everybody Calm Down!\n+\n+\/^https:\/ {\n+    link = $0\n+    if ((getline title) > 0) {\n+        gsub (\/\"\/,\"\\\"\\\"\",title)\n+        printf (\"=HYPERLINK(\\\"%s\\\";\\\"%s\\\")\\n\",link,title)\n+    }\n+}\n"}
{"commit":"297cd10b2efd43d5017b22a6d4eb4bbe957d9cc1","subject":"quick and dirty converter of alingmnet files from nexus to fasta f","message":"quick and dirty converter of alingmnet files from nexus to fasta f\n","repos":"ballesterus\/PhyloUtensils","returncode":1,"stderr":"error: pathspec 'nex2fasta.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- nex2fasta.awk\n+++ nex2fasta.awk\n@@ -0,0 +1,9 @@\n+#!\/usr\/bin\/awk -f\n+\n+\n+BEGIN{RS=\"\\n\"; FS=\" \"}\n+{ IGNORECASE=1\n+    if (NF == 2 && $2 ~ \/[acgtn-]+$\/){\n+\tprintf (\">\"$1\"\\n\"$2\"\\n\")\n+    }\n+}\n"}
{"commit":"777325d6f86e0b072cba7c4b9c0ad22d464e0e8e","subject":"Add patch for glib <= 2.60","message":"Add patch for glib <= 2.60\n","repos":"rhx\/SwiftGLib,rhx\/SwiftGLib,rhx\/SwiftGLib","returncode":1,"stderr":"error: pathspec 'GLib-2.0-2.60.0.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":""}
{"commit":"12fd90da1e5182ba831fb0fb94e802ec130b3816","subject":"Add AWK","message":"Add AWK\n","repos":"Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz,Ujjwol\/Multilingual-FizzBuzz","returncode":1,"stderr":"error: pathspec 'AWK\/FizzBuzz.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/FizzBuzz.awk\n+++ AWK\/FizzBuzz.awk\n@@ -0,0 +1,13 @@\n+#!\/usr\/bin\/awk -f\n+\n+BEGIN {\n+\tfor (i = 1; i <= 100; i++)\n+\tif(i%15==0)\n+\t\tprint \"FizzBuzz\";\n+\telse if(i%3==0)\n+\t\tprint \"Fizz\";\n+\telse if(i%5==0)\n+\t\tprint \"Buzz\";\n+\telse\n+\t\tprint i\n+}"}
{"commit":"0261350319ccf6eec83691d9d453dc555c264296","subject":"add calc_ekin.awk","message":"add calc_ekin.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.imbh\/calc_ekin.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.imbh\/calc_ekin.awk\n+++ tool.imbh\/calc_ekin.awk\n@@ -0,0 +1,11 @@\n+BEGIN{\n+    sum = 0.;\n+}\n+{\n+    sum += $3 * (0.5 * ($7**2 + $8**2 + $9**2) + $45);\n+}\n+END{\n+    printf(\"%+e\\n\", sum);\n+}\n+\n+\n"}
{"commit":"c694e501caa8fa757c2a366448e6917fca3dbc11","subject":"filter as stolen from speedseq","message":"filter as stolen from speedseq\n","repos":"marcelm\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW,marcelm\/CAW,marcelm\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/marcelm\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"fe1637618f4688de9d335792ae74b6e2ea4eb0da","subject":"Added awk","message":"Added awk\n","repos":"lovejavaee\/my-hello-world,lovejavaee\/my-hello-world,lovejavaee\/my-hello-world,lovejavaee\/my-hello-world,lovejavaee\/my-hello-world,lovejavaee\/my-hello-world,lovejavaee\/my-hello-world,lovejavaee\/my-hello-world,lovejavaee\/my-hello-world,lovejavaee\/my-hello-world","returncode":1,"stderr":"error: pathspec 'awk.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- awk.awk\n+++ awk.awk\n@@ -0,0 +1,2 @@\n+# awk -f awk.awk\n+BEGIN { print \"Hello World\" }\n"}
{"commit":"119fcfd50acac225b569ac95722c57dc186e220b","subject":"add Languages (initial)","message":"add Languages (initial)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":1,"stderr":"error: pathspec 'lib\/Languages.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- lib\/Languages.awk\n+++ lib\/Languages.awk\n@@ -0,0 +1,525 @@\n+#!\/usr\/bin\/gawk -f\n+\n+# Initialize all supported locales.\n+# Mostly ISO 639-1 codes, with a few ISO 639-2 codes (alpha-3).\n+# See: <https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes>\n+#      <http:\/\/www.loc.gov\/standards\/iso639-2\/php\/code_list.php>\n+function initLocale() {\n+\n+    #1 Afrikaans\n+    Locale[\"af\"][\"name\"]       = \"Afrikaans\"\n+    Locale[\"af\"][\"endonym\"]    = \"Afrikaans\"\n+    Locale[\"af\"][\"message\"]    = \"Vertalings van %s\"\n+\n+    #2 Albanian\n+    Locale[\"sq\"][\"name\"]       = \"Albanian\"\n+    Locale[\"sq\"][\"endonym\"]    = \"Shqip\"\n+    Locale[\"sq\"][\"message\"]    = \"P\u00ebrkthimet e %s\"\n+\n+    #3 Arabic\n+    Locale[\"ar\"][\"name\"]       = \"Arabic\"\n+    Locale[\"ar\"][\"endonym\"]    = \"\u0627\u0644\u0639\u0631\u0628\u064a\u0629\"\n+    Locale[\"ar\"][\"message\"]    = \"\u062a\u0631\u062c\u0645\u0627\u062a %s\"\n+    Locale[\"ar\"][\"rtl\"]        = \"true\" # RTL language\n+\n+    #4 Armenian\n+    Locale[\"hy\"][\"name\"]       = \"Armenian\"\n+    Locale[\"hy\"][\"endonym\"]    = \"\u0540\u0561\u0575\u0565\u0580\u0565\u0576\"\n+    Locale[\"hy\"][\"message\"]    = \"%s-\u056b \u0569\u0561\u0580\u0563\u0574\u0561\u0576\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0576\u0565\u0580\u0568\"\n+\n+    #5 Azerbaijani\n+    Locale[\"az\"][\"name\"]       = \"Azerbaijani\"\n+    Locale[\"az\"][\"endonym\"]    = \"Az\u0259rbaycanca\"\n+    Locale[\"az\"][\"message\"]    = \"%s s\u00f6z\u00fcn\u00fcn t\u0259rc\u00fcm\u0259si\"\n+\n+    #6 Basque\n+    Locale[\"eu\"][\"name\"]       = \"Basque\"\n+    Locale[\"eu\"][\"endonym\"]    = \"Euskara\"\n+    Locale[\"eu\"][\"message\"]    = \"%s esapidearen itzulpena\"\n+\n+    #7 Belarusian (Cyrillic alphabet)\n+    Locale[\"be\"][\"name\"]       = \"Belarusian\"\n+    Locale[\"be\"][\"endonym\"]    = \"\u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f\"\n+    Locale[\"be\"][\"message\"]    = \"\u041f\u0435\u0440\u0430\u043a\u043b\u0430\u0434\u044b %s\"\n+\n+    #8 Bengali\n+    Locale[\"bn\"][\"name\"]       = \"Bengali\"\n+    Locale[\"bn\"][\"endonym\"]    = \"\u09ac\u09be\u0982\u09b2\u09be\"\n+    Locale[\"bn\"][\"message\"]    = \"%s \u098f\u09b0 \u0985\u09a8\u09c1\u09ac\u09be\u09a6\"\n+\n+    #9 Bosnian (Latin alphabet)\n+    Locale[\"bs\"][\"name\"]       = \"Bosnian\"\n+    Locale[\"bs\"][\"endonym\"]    = \"Bosanski\"\n+    Locale[\"bs\"][\"message\"]    = \"Prijevod za: %s\"\n+\n+    #10 Bulgarian\n+    Locale[\"bg\"][\"name\"]       = \"Bulgarian\"\n+    Locale[\"bg\"][\"endonym\"]    = \"\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438\"\n+    Locale[\"bg\"][\"message\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u043d\u0430 %s\"\n+\n+    #11 Catalan\n+    Locale[\"ca\"][\"name\"]       = \"Catalan\"\n+    Locale[\"ca\"][\"endonym\"]    = \"Catal\u00e0\"\n+    Locale[\"ca\"][\"message\"]    = \"Traduccions per a %s\"\n+\n+    #12 Cebuano\n+    Locale[\"ceb\"][\"name\"]      = \"Cebuano\"\n+    Locale[\"ceb\"][\"endonym\"]   = \"Cebuano\"\n+    Locale[\"ceb\"][\"message\"]   = \"%s Mga Paghubad sa PULONG_O_HUGPONG SA PAMULONG\"\n+\n+    #13a Chinese (Simplified)\n+    Locale[\"zh-CN\"][\"name\"]    = \"Chinese Simplified\"\n+    Locale[\"zh-CN\"][\"endonym\"] = \"\u7b80\u4f53\u4e2d\u6587\"\n+    Locale[\"zh-CN\"][\"message\"] = \"%s \u7684\u7ffb\u8bd1\"\n+\n+    #13b Chinese (Traditional)\n+    Locale[\"zh-TW\"][\"name\"]    = \"Chinese Traditional\"\n+    Locale[\"zh-TW\"][\"endonym\"] = \"\u6b63\u9ad4\u4e2d\u6587\"\n+    Locale[\"zh-TW\"][\"message\"] = \"\u300c%s\u300d\u7684\u7ffb\u8b6f\"\n+\n+    #14 Croatian\n+    Locale[\"hr\"][\"name\"]       = \"Croatian\"\n+    Locale[\"hr\"][\"endonym\"]    = \"Hrvatski\"\n+    Locale[\"hr\"][\"message\"]    = \"Prijevodi rije\u010di ili izraza %s\"\n+\n+    #15 Czech\n+    Locale[\"cs\"][\"name\"]       = \"Czech\"\n+    Locale[\"cs\"][\"endonym\"]    = \"\u010ce\u0161tina\"\n+    Locale[\"cs\"][\"message\"]    = \"P\u0159eklad v\u00fdrazu %s\"\n+\n+    #16 Danish\n+    Locale[\"da\"][\"name\"]       = \"Danish\"\n+    Locale[\"da\"][\"endonym\"]    = \"Dansk\"\n+    Locale[\"da\"][\"message\"]    = \"Overs\u00e6ttelser af %s\"\n+\n+    #17 Dutch\n+    Locale[\"nl\"][\"name\"]       = \"Dutch\"\n+    Locale[\"nl\"][\"endonym\"]    = \"Nederlands\"\n+    Locale[\"nl\"][\"message\"]    = \"Vertalingen van %s\"\n+\n+    #18 English\n+    Locale[\"en\"][\"name\"]       = \"English\"\n+    Locale[\"en\"][\"endonym\"]    = \"English\"\n+    Locale[\"en\"][\"message\"]    = \"Translations of %s\"\n+\n+    #19 Esperanto\n+    Locale[\"eo\"][\"name\"]       = \"Esperanto\"\n+    Locale[\"eo\"][\"endonym\"]    = \"Esperanto\"\n+    Locale[\"eo\"][\"message\"]    = \"Tradukoj de %s\"\n+\n+    #20 Estonian\n+    Locale[\"et\"][\"name\"]       = \"Estonian\"\n+    Locale[\"et\"][\"endonym\"]    = \"Eesti\"\n+    Locale[\"et\"][\"message\"]    = \"S\u00f5na(de) %s t\u00f5lked\"\n+\n+    #21 Filipino\n+    Locale[\"tl\"][\"name\"]       = \"Filipino\"\n+    Locale[\"tl\"][\"endonym\"]    = \"Tagalog\"\n+    Locale[\"tl\"][\"message\"]    = \"Mga pagsasalin ng %s\"\n+\n+    #22 Finnish\n+    Locale[\"fi\"][\"name\"]       = \"Finnish\"\n+    Locale[\"fi\"][\"endonym\"]    = \"Suomi\"\n+    Locale[\"fi\"][\"message\"]    = \"K\u00e4\u00e4nn\u00f6kset tekstille %s\"\n+\n+    #23 French\n+    Locale[\"fr\"][\"name\"]       = \"French\"\n+    Locale[\"fr\"][\"endonym\"]    = \"Fran\u00e7ais\"\n+    Locale[\"fr\"][\"message\"]    = \"Traductions de %s\"\n+\n+    #24 Galician\n+    Locale[\"gl\"][\"name\"]       = \"Galician\"\n+    Locale[\"gl\"][\"endonym\"]    = \"Galego\"\n+    Locale[\"gl\"][\"message\"]    = \"Traduci\u00f3ns de %s\"\n+\n+    #25 Georgian\n+    Locale[\"ka\"][\"name\"]       = \"Georgian\"\n+    Locale[\"ka\"][\"endonym\"]    = \"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8\"\n+    Locale[\"ka\"][\"message\"]    = \"%s-\u10d8\u10e1 \u10d7\u10d0\u10e0\u10d2\u10db\u10d0\u10dc\u10d4\u10d1\u10d8\"\n+\n+    #26 German\n+    Locale[\"de\"][\"name\"]       = \"German\"\n+    Locale[\"de\"][\"endonym\"]    = \"Deutsch\"\n+    Locale[\"de\"][\"message\"]    = \"\u00dcbersetzungen f\u00fcr %s\"\n+\n+    #27 Greek\n+    Locale[\"el\"][\"name\"]       = \"Greek\"\n+    Locale[\"el\"][\"endonym\"]    = \"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac\"\n+    Locale[\"el\"][\"message\"]    = \"\u039c\u03b5\u03c4\u03b1\u03c6\u03c1\u03ac\u03c3\u03b5\u03b9\u03c2 \u03c4\u03bf\u03c5 %s\"\n+\n+    #28 Gujarati\n+    Locale[\"gu\"][\"name\"]       = \"Gujarati\"\n+    Locale[\"gu\"][\"endonym\"]    = \"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0\"\n+    Locale[\"gu\"][\"message\"]    = \"%s \u0aa8\u0abe \u0a85\u0aa8\u0ac1\u0ab5\u0abe\u0aa6\"\n+\n+    #29 Haitian Creole\n+    Locale[\"ht\"][\"name\"]       = \"Haitian Creole\"\n+    Locale[\"ht\"][\"endonym\"]    = \"Krey\u00f2l Ayisyen\"\n+    Locale[\"ht\"][\"message\"]    = \"Tradiksyon %s\"\n+\n+    #30 Hausa (Latin \/ Boko alphabet)\n+    Locale[\"ha\"][\"name\"]       = \"Hausa\"\n+    Locale[\"ha\"][\"endonym\"]    = \"Hausa\"\n+    Locale[\"ha\"][\"message\"]    = \"Fassarar %s\"\n+\n+    #31 Hebrew\n+    Locale[\"he\"][\"name\"]       = \"Hebrew\"\n+    Locale[\"he\"][\"endonym\"]    = \"\u05e2\u05b4\u05d1\u05b0\u05e8\u05b4\u05d9\u05ea\"\n+    Locale[\"he\"][\"message\"]    = \"\u05ea\u05e8\u05d2\u05d5\u05de\u05d9\u05dd \u05e9\u05dc %s\"\n+    Locale[\"he\"][\"rtl\"]        = \"true\" # RTL language\n+\n+    #32 Hindi\n+    Locale[\"hi\"][\"name\"]       = \"Hindi\"\n+    Locale[\"hi\"][\"endonym\"]    = \"\u0939\u093f\u0928\u094d\u0926\u0940\"\n+    Locale[\"hi\"][\"message\"]    = \"%s \u0915\u0947 \u0905\u0928\u0941\u0935\u093e\u0926\"\n+\n+    #33 Hmong\n+    Locale[\"hmn\"][\"name\"]      = \"Hmong\"\n+    Locale[\"hmn\"][\"endonym\"]   = \"Hmoob\"\n+    Locale[\"hmn\"][\"message\"]   = \"Lus txhais: %s\"\n+\n+    #34 Hungarian\n+    Locale[\"hu\"][\"name\"]       = \"Hungarian\"\n+    Locale[\"hu\"][\"endonym\"]    = \"Magyar\"\n+    Locale[\"hu\"][\"message\"]    = \"%s ford\u00edt\u00e1sai\"\n+\n+    #35 Icelandic\n+    Locale[\"is\"][\"name\"]       = \"Icelandic\"\n+    Locale[\"is\"][\"endonym\"]    = \"\u00cdslenska\"\n+    Locale[\"is\"][\"message\"]    = \"\u00de\u00fd\u00f0ingar \u00e1 %s\"\n+\n+    #36 Igbo\n+    Locale[\"ig\"][\"name\"]       = \"Igbo\"\n+    Locale[\"ig\"][\"endonym\"]    = \"Igbo\"\n+    Locale[\"ig\"][\"message\"]    = \"Nt\u1ee5ghar\u1ecb as\u1ee5s\u1ee5 nke %s\"\n+\n+    #37 Indonesian\n+    Locale[\"id\"][\"name\"]       = \"Indonesian\"\n+    Locale[\"id\"][\"endonym\"]    = \"Bahasa Indonesia\"\n+    Locale[\"id\"][\"message\"]    = \"Terjemahan dari %s\"\n+\n+    #38 Irish\n+    Locale[\"ga\"][\"name\"]       = \"Irish\"\n+    Locale[\"ga\"][\"endonym\"]    = \"Gaeilge\"\n+    Locale[\"ga\"][\"message\"]    = \"Aistri\u00fach\u00e1in ar %s\"\n+\n+    #39 Italian\n+    Locale[\"it\"][\"name\"]       = \"Italian\"\n+    Locale[\"it\"][\"endonym\"]    = \"Italiano\"\n+    Locale[\"it\"][\"message\"]    = \"Traduzioni di %s\"\n+\n+    #40 Japanese\n+    Locale[\"ja\"][\"name\"]       = \"Japanese\"\n+    Locale[\"ja\"][\"endonym\"]    = \"\u65e5\u672c\u8a9e\"\n+    Locale[\"ja\"][\"message\"]    = \"\u300c%s\u300d\u306e\u7ffb\u8a33\"\n+\n+    #41 Javanese (Latin alphabet)\n+    Locale[\"jv\"][\"name\"]       = \"Javanese\"\n+    Locale[\"jv\"][\"endonym\"]    = \"Basa Jawa\"\n+    Locale[\"jv\"][\"message\"]    = \"Terjemahan\"\n+\n+    #42 Kannada\n+    Locale[\"kn\"][\"name\"]       = \"Kannada\"\n+    Locale[\"kn\"][\"endonym\"]    = \"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1\"\n+    Locale[\"kn\"][\"message\"]    = \"%s \u0ca8 \u0c85\u0ca8\u0cc1\u0cb5\u0cbe\u0ca6\u0c97\u0cb3\u0cc1\"\n+\n+    #43 Khmer (Central Khmer)\n+    Locale[\"km\"][\"name\"]       = \"Khmer\"\n+    Locale[\"km\"][\"endonym\"]    = \"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a\"\n+    Locale[\"km\"][\"message\"]    = \"\u1780\u17b6\u179a\u200b\u1794\u1780\u200b\u1794\u17d2\u179a\u17c2\u200b\u1793\u17c3 %s\"\n+\n+    #44 Korean\n+    Locale[\"ko\"][\"name\"]       = \"Korean\"\n+    Locale[\"ko\"][\"endonym\"]    = \"\ud55c\uad6d\uc5b4\"\n+    Locale[\"ko\"][\"message\"]    = \"%s\uc758 \ubc88\uc5ed\"\n+\n+    #45 Lao\n+    Locale[\"lo\"][\"name\"]       = \"Lao\"\n+    Locale[\"lo\"][\"endonym\"]    = \"\u0ea5\u0eb2\u0ea7\"\n+    Locale[\"lo\"][\"message\"]    = \"\u0e81\u0eb2\u0e99\u200b\u0ec1\u0e9b\u200b\u0e9e\u0eb2\u200b\u0eaa\u0eb2\u200b\u0e82\u0ead\u0e87 %s\"\n+\n+    #46 Latin\n+    Locale[\"la\"][\"name\"]       = \"Latin\"\n+    Locale[\"la\"][\"endonym\"]    = \"Latina\"\n+    Locale[\"la\"][\"message\"]    = \"Versio de %s\"\n+\n+    #47 Latvian\n+    Locale[\"lv\"][\"name\"]       = \"Latvian\"\n+    Locale[\"lv\"][\"endonym\"]    = \"Latvie\u0161u\"\n+    Locale[\"lv\"][\"message\"]    = \"%s tulkojumi\"\n+\n+    #48 Lithuanian\n+    Locale[\"lt\"][\"name\"]       = \"Lithuanian\"\n+    Locale[\"lt\"][\"endonym\"]    = \"Lietuvi\u0173\"\n+    Locale[\"lt\"][\"message\"]    = \"\u201e%s\u201c vertimai\"\n+\n+    #49 Macedonian\n+    Locale[\"mk\"][\"name\"]       = \"Macedonian\"\n+    Locale[\"mk\"][\"endonym\"]    = \"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438\"\n+    Locale[\"mk\"][\"message\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u043d\u0430 %s\"\n+\n+    #50 Malay\n+    Locale[\"ms\"][\"name\"]       = \"Malay\"\n+    Locale[\"ms\"][\"endonym\"]    = \"Bahasa Melayu\"\n+    Locale[\"ms\"][\"message\"]    = \"Terjemahan %s\"\n+\n+    #51 Maltese\n+    Locale[\"mt\"][\"name\"]       = \"Maltese\"\n+    Locale[\"mt\"][\"endonym\"]    = \"Malti\"\n+    Locale[\"mt\"][\"message\"]    = \"Traduzzjonijiet ta' %s\"\n+\n+    #52 Maori\n+    Locale[\"mi\"][\"name\"]       = \"Maori\"\n+    Locale[\"mi\"][\"endonym\"]    = \"M\u0101ori\"\n+    Locale[\"mi\"][\"message\"]    = \"Ng\u0101 whakam\u0101oritanga o %s\"\n+\n+    #53 Marathi\n+    Locale[\"mr\"][\"name\"]       = \"Marathi\"\n+    Locale[\"mr\"][\"endonym\"]    = \"\u092e\u0930\u093e\u0920\u0940\"\n+    Locale[\"mr\"][\"message\"]    = \"%s \u091a\u0940 \u092d\u093e\u0937\u093e\u0902\u0924\u0930\u0947\"\n+\n+    #54 Mongolian (Cyrillic alphabet)\n+    Locale[\"mn\"][\"name\"]       = \"Mongolian\"\n+    Locale[\"mn\"][\"endonym\"]    = \"\u041c\u043e\u043d\u0433\u043e\u043b\"\n+    Locale[\"mn\"][\"message\"]    = \"%s-\u043d \u043e\u0440\u0447\u0443\u0443\u043b\u0433\u0430\"\n+\n+    #55 Nepali\n+    Locale[\"ne\"][\"name\"]       = \"Nepali\"\n+    Locale[\"ne\"][\"endonym\"]    = \"\u0928\u0947\u092a\u093e\u0932\u0940\"\n+    Locale[\"ne\"][\"message\"]    = \"%s\u0915\u093e \u0905\u0928\u0941\u0935\u093e\u0926\"\n+\n+    #56 Norwegian\n+    Locale[\"no\"][\"name\"]       = \"Norwegian\"\n+    Locale[\"no\"][\"endonym\"]    = \"Norsk\"\n+    Locale[\"no\"][\"message\"]    = \"Oversettelser av %s\"\n+\n+    #57 Persian\n+    Locale[\"fa\"][\"name\"]       = \"Persian\"\n+    Locale[\"fa\"][\"endonym\"]    = \"\u0641\u0627\u0631\u0633\u06cc\"\n+    Locale[\"fa\"][\"message\"]    = \"\u062a\u0631\u062c\u0645\u0647\u200c\u0647\u0627\u06cc %s\"\n+    Locale[\"fa\"][\"rtl\"]        = \"true\" # RTL language\n+\n+    #58 Punjabi (Brahmic \/ Gurmukh\u012b alphabet)\n+    Locale[\"pa\"][\"name\"]       = \"Punjabi\"\n+    Locale[\"pa\"][\"endonym\"]    = \"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40\"\n+    Locale[\"pa\"][\"message\"]    = \"\u0a26\u0a47 \u0a05\u0a28\u0a41\u0a35\u0a3e\u0a26%s\"\n+\n+    #59 Polish\n+    Locale[\"pl\"][\"name\"]       = \"Polish\"\n+    Locale[\"pl\"][\"endonym\"]    = \"Polski\"\n+    Locale[\"pl\"][\"message\"]    = \"T\u0142umaczenia %s\"\n+\n+    #60 Portuguese\n+    Locale[\"pt\"][\"name\"]       = \"Portuguese\"\n+    Locale[\"pt\"][\"endonym\"]    = \"Portugu\u00eas\"\n+    Locale[\"pt\"][\"message\"]    = \"Tradu\u00e7\u00f5es de %s\"\n+\n+    #61 Romanian\n+    Locale[\"ro\"][\"name\"]       = \"Romanian\"\n+    Locale[\"ro\"][\"endonym\"]    = \"Rom\u00e2n\u0103\"\n+    Locale[\"ro\"][\"message\"]    = \"Traduceri pentru %s\"\n+\n+    #62 Russian\n+    Locale[\"ru\"][\"name\"]       = \"Russian\"\n+    Locale[\"ru\"][\"endonym\"]    = \"\u0420\u0443\u0441\u0441\u043a\u0438\u0439\"\n+    Locale[\"ru\"][\"message\"]    = \"%s: \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430\"\n+\n+    #63 Serbian (Cyrillic alphabet)\n+    Locale[\"sr\"][\"name\"]       = \"Serbian\"\n+    Locale[\"sr\"][\"endonym\"]    = \"\u0441\u0440\u043f\u0441\u043a\u0438\"\n+    Locale[\"sr\"][\"message\"]    = \"\u041f\u0440\u0435\u0432\u043e\u0434\u0438 \u0437\u0430 \u201e%s\u201c\"\n+\n+    #64 Slovak\n+    Locale[\"sk\"][\"name\"]       = \"Slovak\"\n+    Locale[\"sk\"][\"endonym\"]    = \"Sloven\u010dina\"\n+    Locale[\"sk\"][\"message\"]    = \"Preklady v\u00fdrazu: %s\"\n+\n+    #65 Slovenian\n+    Locale[\"sl\"][\"name\"]       = \"Slovenian\"\n+    Locale[\"sl\"][\"endonym\"]    = \"Sloven\u0161\u010dina\"\n+    Locale[\"sl\"][\"message\"]    = \"Prevodi za %s\"\n+\n+    #66 Somali\n+    Locale[\"so\"][\"name\"]       = \"Somali\"\n+    Locale[\"so\"][\"endonym\"]    = \"Soomaali\"\n+    Locale[\"so\"][\"message\"]    = \"Turjumaada %s\"\n+\n+    #67 Spanish\n+    Locale[\"es\"][\"name\"]       = \"Spanish\"\n+    Locale[\"es\"][\"endonym\"]    = \"Espa\u00f1ol\"\n+    Locale[\"es\"][\"message\"]    = \"Traducciones de %s\"\n+\n+    #68 Swahili\n+    Locale[\"sw\"][\"name\"]       = \"Swahili\"\n+    Locale[\"sw\"][\"endonym\"]    = \"Kiswahili\"\n+    Locale[\"sw\"][\"message\"]    = \"Tafsiri ya %s\"\n+\n+    #69 Swedish\n+    Locale[\"sv\"][\"name\"]       = \"Swedish\"\n+    Locale[\"sv\"][\"endonym\"]    = \"Svenska\"\n+    Locale[\"sv\"][\"message\"]    = \"\u00d6vers\u00e4ttningar av %s\"\n+\n+    #70 Tamil\n+    Locale[\"ta\"][\"name\"]       = \"Tamil\"\n+    Locale[\"ta\"][\"endonym\"]    = \"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd\"\n+    Locale[\"ta\"][\"message\"]    = \"%s \u0b87\u0ba9\u0bcd \u0bae\u0bca\u0bb4\u0bbf\u0baa\u0bc6\u0baf\u0bb0\u0bcd\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bcd\"\n+\n+    #71 Telugu\n+    Locale[\"te\"][\"name\"]       = \"Telugu\"\n+    Locale[\"te\"][\"endonym\"]    = \"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41\"\n+    Locale[\"te\"][\"message\"]    = \"%s \u0c2f\u0c4a\u0c15\u0c4d\u0c15 \u0c05\u0c28\u0c41\u0c35\u0c3e\u0c26\u0c3e\u0c32\u0c41\"\n+\n+    #72 Thai\n+    Locale[\"th\"][\"name\"]       = \"Thai\"\n+    Locale[\"th\"][\"endonym\"]    = \"\u0e44\u0e17\u0e22\"\n+    Locale[\"th\"][\"message\"]    = \"\u0e04\u0e33\u0e41\u0e1b\u0e25\u0e02\u0e2d\u0e07 %s\"\n+\n+    #73 Turkish\n+    Locale[\"tr\"][\"name\"]       = \"Turkish\"\n+    Locale[\"tr\"][\"endonym\"]    = \"T\u00fcrk\u00e7e\"\n+    Locale[\"tr\"][\"message\"]    = \"%s \u00e7evirileri\"\n+\n+    #74 Ukrainian\n+    Locale[\"uk\"][\"name\"]       = \"Ukrainian\"\n+    Locale[\"uk\"][\"endonym\"]    = \"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430\"\n+    Locale[\"uk\"][\"message\"]    = \"\u041f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u0438 \u0441\u043b\u043e\u0432\u0430 \u0430\u0431\u043e \u0432\u0438\u0440\u0430\u0437\u0443 \\\"%s\\\"\"\n+\n+    #75 Urdu\n+    Locale[\"ur\"][\"name\"]       = \"Urdu\"\n+    Locale[\"ur\"][\"endonym\"]    = \"\u0627\u064f\u0631\u062f\u064f\u0648\"\n+    Locale[\"ur\"][\"message\"]    = \"\u06a9\u06d2 \u062a\u0631\u062c\u0645\u06d2 %s\"\n+    Locale[\"ur\"][\"rtl\"]        = \"true\" # RTL language\n+\n+    #76 Vietnamese\n+    Locale[\"vi\"][\"name\"]       = \"Vietnamese\"\n+    Locale[\"vi\"][\"endonym\"]    = \"Ti\u1ebfng Vi\u1ec7t\"\n+    Locale[\"vi\"][\"message\"]    = \"B\u1ea3n d\u1ecbch c\u1ee7a %s\"\n+\n+    #77 Welsh\n+    Locale[\"cy\"][\"name\"]       = \"Welsh\"\n+    Locale[\"cy\"][\"endonym\"]    = \"Cymraeg\"\n+    Locale[\"cy\"][\"message\"]    = \"Cyfieithiadau %s\"\n+\n+    #78 Yiddish\n+    Locale[\"yi\"][\"name\"]       = \"Yiddish\"\n+    Locale[\"yi\"][\"endonym\"]    = \"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9\"\n+    Locale[\"yi\"][\"message\"]    = \"\u05d0\u05d9\u05d1\u05e2\u05e8\u05d6\u05e2\u05e6\u05d5\u05e0\u05d2\u05e2\u05df \u05e4\u05d5\u05df %s\"\n+    Locale[\"yi\"][\"rtl\"]        = \"true\" # RTL language\n+\n+    #79 Yoruba\n+    Locale[\"yo\"][\"name\"]       = \"Yoruba\"\n+    Locale[\"yo\"][\"endonym\"]    = \"Yor\u00f9b\u00e1\"\n+    Locale[\"yo\"][\"message\"]    = \"Aw\u1ecdn itum\u1ecd ti %s\"\n+\n+    #80 Zulu\n+    Locale[\"zu\"][\"name\"]       = \"Zulu\"\n+    Locale[\"zu\"][\"endonym\"]    = \"isiZulu\"\n+    Locale[\"zu\"][\"message\"]    = \"Ukuhumusha i-%s\"\n+\n+    # Aliases for some locales\n+    # See: <http:\/\/www.loc.gov\/standards\/iso639-2\/php\/code_changes.php>\n+    LocaleAlias[\"in\"] = \"id\" # withdrawn language code for Indonesian\n+    LocaleAlias[\"iw\"] = \"he\" # withdrawn language code for Hebrew\n+    LocaleAlias[\"ji\"] = \"yi\" # withdrawn language code for Yiddish\n+\n+    LocaleAlias[\"jw\"] = \"jv\" # withdrawn language code for Javanese\n+    LocaleAlias[\"mo\"] = \"ro\" # Moldavian or Moldovan considered a variant of the Romanian language\n+    LocaleAlias[\"sh\"] = \"sr\" # Serbo-Croatian: prefer Serbian\n+    LocaleAlias[\"zh\"] = \"zh-CN\" # Chinese: prefer Chinese Simplified\n+    LocaleAlias[\"zh-cn\"] = \"zh-CN\" # lowercase\n+    LocaleAlias[\"zh-tw\"] = \"zh-TW\" # lowercase\n+    # TODO: any more aliases supported by Google Translate?\n+}\n+\n+# Get locale key by language code or alias.\n+function getCode(code) {\n+    code = tolower(code) # case-insensitive\n+\n+    if (code in Locale || code == \"auto\")\n+        return code\n+    else if (code in LocaleAlias)\n+        return LocaleAlias[code]\n+    else\n+        return # return nothing if not found\n+}\n+\n+# Detect external bidirectional algorithm utility (fribidi);\n+# Fallback to Unix `rev` if not found.\n+function initBiDi() {\n+    \"fribidi --version 2>\/dev\/null\" |& getline FriBidi\n+    BiDiNoPad = FriBidi ? \"fribidi --nopad\" : \"rev\"\n+    BiDi = FriBidi ? \"fribidi --width %s\" : \"rev | xargs printf '%%ss\\n'\"\n+}\n+\n+# Return the single-quoted string.\n+function parameterize(text) {\n+    gsub(\/'\/, \"'\\\\''\", text)\n+    return \"'\" text \"'\"\n+}\n+\n+# Convert a logical string to visual; don't right justify RTL lines.\n+# Parameters:\n+#     code: ignore to apply bidirectional algorithm on every string\n+function show(text, code,    temp) {\n+    if (!code || Locale[getCode(code)][\"rtl\"]) {\n+        if (Cache[text][0])\n+            return Cache[text][0]\n+        else {\n+            (\"echo \" parameterize(text) \" | \" BiDiNoPad) | getline temp\n+            return Cache[text][0] = temp\n+        }\n+    } else\n+        return text\n+}\n+\n+# Convert a logical string to visual and right justify RTL lines.\n+# Parameters:\n+#     code: ignore to apply bidirectional algorithm on every string\n+#     width: ignore to use default width for padding\n+function s(text, code, width,    temp) {\n+    if (!code || Locale[getCode(code)][\"rtl\"]) {\n+        if (!width) width = Option[\"width\"]\n+        if (Cache[text][width])\n+            return Cache[text][width]\n+        else {\n+            (\"echo \" parameterize(text) \" | \" sprintf(BiDi, width)) | getline temp\n+            return Cache[text][width] = temp\n+        }\n+    } else\n+        return text\n+}\n+\n+# Initialize strings for displaying endonyms of locales.\n+function initLocaleDisplay(    i) {\n+    for (i in Locale)\n+        Locale[i][\"display\"] = show(Locale[i][\"endonym\"], i)\n+}\n+\n+# Parse a POSIX locale identifier and return the language code;\n+# Identified by both language identifier and region identifier.\n+# Parameters:\n+#     lang = [language[_territory][.codeset][@modifier]]\n+# See: <https:\/\/en.wikipedia.org\/wiki\/Locale>\n+function parseLang(lang,    code, group) {\n+    match(lang, \/^([a-z][a-z][a-z]?)(_|$)\/, group)\n+    code = getCode(group[1])\n+\n+    # Detect region identifier\n+    ## Regions using Chinese Simplified: China, Singapore\n+    if (lang ~ \/^zh_(CN|SG)\/) code = \"zh-CN\"\n+    ## Regions using Chinese Traditional: Taiwan, Hong Kong\n+    else if (lang ~ \/^zh_(TW|HK)\/) code = \"zh-TW\"\n+\n+    # FIXME: handle unrecognized language code\n+    if (!code) code = \"en\"\n+\n+    return code\n+}\n+\n+# Initialize `UserLang`.\n+function initUserLang() {\n+    UserLang = ENVIRON[\"LANG\"] ? parseLang(ENVIRON[\"LANG\"]) : \"en\"\n+\n+    if (!(ENVIRON[\"LANG\"] ~ \/UTF-8$\/))\n+        w(\"[WARNING] Your codeset of locale (\" ENVIRON[\"LANG\"] \") is not UTF-8. You have been warned.\")\n+}\n"}
{"commit":"eede545d12560107451751f89c7832052b46044e","subject":"Create events.awk","message":"Create events.awk","repos":"wxbasic\/wxbasic,wxbasic\/wxbasic,wxbasic\/wxbasic","returncode":1,"stderr":"error: pathspec 'oldversions\/0.51\/events.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- oldversions\/0.51\/events.awk\n+++ oldversions\/0.51\/events.awk\n@@ -0,0 +1,84 @@\n+# events.awk\n+# (c) 2002 David Cuny\n+# process the events.i file and generate events.c and events.h\n+\n+BEGIN {\n+    # file to write to\n+    source = \"events.c\"\n+    include = \"events.h\"\n+\n+    while (getline < \"events.i\" > 0 ) {\n+        if ($1 == \"\/\/\" || NF == 0) {\n+            # ignore\n+\n+        } else if ($1 == \"%event\") {\n+            if (NF == 1) {\n+                theKey = \"generic\"\n+            } else {\n+                theKey = $2\n+            }\n+\n+            if (!(theKey in keys)) {\n+                keys[theKey] = 1\n+            }\n+\n+        } else {\n+            event[$1] = theKey\n+        }\n+    }\n+\n+    # the include file\n+    print \"\/*\" > include\n+    print \"    Name:       events.h\" > include\n+    print \"    Purpose:    Classify wxWindows events\" > include\n+    print \"    Author:     David Cuny\" > include\n+    print \"    Copyright:  (c) 2002 David Cuny <dcuny@lanset.com>\" > include\n+    print \"    Licence:    LGPL\" > include\n+    print > include\n+    print \"    This file is autogenerated by events.awk from events.i\" > include\n+    print \"*\/\" > include\n+    print > include\n+    print \"int wClassifyEvent(WXTYPE eventType);\" > include\n+\n+    # source banner\n+    print \"\/*\" > source\n+    print \"    Name:       events.c\" > source\n+    print \"    Purpose:    Classify wxWindows events\" > source\n+    print \"    Author:     David Cuny\" > source\n+    print \"    Copyright:  (c) 2002 David Cuny <dcuny@lanset.com>\" > source\n+    print \"    Licence:    LGPL\" > source\n+    print > source\n+    print \"    This file is autogenerated by events.awk from events.i\" > source\n+    print \"    Since events are no longer int values, a case statement\" > source\n+    print \"    can't be used here.\" > source\n+    print \"*\/\" > source\n+    print > source\n+\n+    # the header\n+    print \"\/* classifyEvent: return index of event class, or -1 if not found *\/\" > source\n+    print \"int wClassifyEvent(WXTYPE eventType)\" > source\n+    print \"{\" > source\n+\n+    # order by key\n+    for (key in keys) {\n+        printf( \"    \/* %s *\/\\n\", key ) > source\n+\n+        if (key == \"generic\") {\n+            keyVal = \"-1\"\n+        } else {\n+            keyVal = \"_\" key\n+        }\n+\n+        for (e in event) {\n+            if (event[e] == key) {\n+                printf (\"    if (eventType == %-40s) return %s;\\n\", e, keyVal ) > source\n+            }\n+        }\n+        print \"\" > source\n+    }\n+\n+    # all other cases\n+    printf( \"    \/* probably user defined *\/\\n\" ) > source\n+    printf( \"    return -1;\\n\" ) > source\n+    printf( \"}\\n\" ) > source\n+}\n"}
{"commit":"a7c4a75cfaf1dedc28bd5fe263108b99577f4b0c","subject":"yes in awk","message":"yes in awk\n","repos":"mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes,mubaris\/yes","returncode":1,"stderr":"error: pathspec 'yes.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- yes.awk\n+++ yes.awk\n@@ -0,0 +1,17 @@\n+#!\/bin\/awk -f\n+\n+BEGIN {\n+    for (i = 1; i < ARGC; i++) {\n+        yes = ((yes)(ARGV[i])\" \")\n+    }\n+\n+    if (!yes) {\n+        yes = \"y\";\n+    }\n+\n+    while(1) {\n+        print yes;\n+    }\n+}\n+\n+\n"}
{"commit":"ecb4d0537620a3eb102cf39ecadcd07072b5c52c","subject":"Our version of APRS's rc builder","message":"Our version of APRS's rc builder\n\n\ngit-svn-id: b819289d3a0e8888cd070d2ae628b7cf730b797f@300115 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"apache\/tomcat-native,rmaucher\/tomcat-native-openssl,apache\/tomcat-native,andreydomas\/tomcat-native,rmaucher\/tomcat-native-openssl,rmaucher\/tomcat-native-openssl,andreydomas\/tomcat-native,rmaucher\/tomcat-native-openssl,apache\/tomcat-native,andreydomas\/tomcat-native,rmaucher\/tomcat-native-openssl,apache\/tomcat-native,andreydomas\/tomcat-native,apache\/tomcat-native,andreydomas\/tomcat-native","returncode":1,"stderr":"error: pathspec 'native\/build\/win32ver.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- native\/build\/win32ver.awk\n+++ native\/build\/win32ver.awk\n@@ -0,0 +1,121 @@\n+BEGIN {\n+\n+  # ff bits: 1(debug), 2(prerelease), 4(patched), 8(vendor) and 32(special)\n+  # debug is summed based on the \/Define _DEBUG\n+  # prerelease is based on the -dev extension,\n+  # patched is based on a non-standard \"-ver\" extension, \n+  # special and vendor are toggled by their args.\n+  #\n+  ff = 0;\n+\n+  file=ARGV[1];\n+  desc=ARGV[2];\n+  rel_h=ARGV[3];\n+\n+  filename = file;\n+  if (match(file, \/\\.\/)) {\n+    sub(\/\\.[^\\.]*$\/, \"\", file);\n+  }\n+\n+  i = 4;\n+  while (length(ARGV[i])) {\n+    if (match(ARGV[i], \/icon=\/)) {\n+      icon = substr(ARGV[i], 6);\n+    }\n+    if (match(ARGV[i], \/vendor=\/)) {\n+      vendor = substr(ARGV[i], 8);\n+      ff = ff + 8;\n+    }\n+    if (match(ARGV[i], \/special=\/)) {\n+      special = substr(ARGV[i], 9);\n+      ff = ff + 32;\n+    }\n+    i = i + 1\n+  }\n+\n+  i = i - 1;\n+  while (i) {\n+    delete ARGV[i];\n+    i = i - 1;\n+  }\n+\n+  while ((getline < rel_h) > 0) {\n+    if (match ($0, \/^#define TC._MAJOR_VERSION\/)) {\n+      ver_major = $3;\n+    }\n+    if (match ($0, \/^#define TC._MINOR_VERSION\/)) {\n+      ver_minor = $3;\n+    }\n+    if (match ($0, \/^#define TC._PATCH_VERSION\/)) {\n+      ver_patch = $3;\n+    }\n+    if (match ($0, \/^#define TC._IS_DEV_VERSION\/)) {\n+      ver_suffix = \"-dev\";\n+      ver_build = \"0\";\n+    }\n+    if (match ($0, \/^#undef TC._IS_DEV_VERSION\/)) {\n+      ver_build = \"100\";\n+    }\n+    if (match ($0, \/^.*Copyright \/)) {\n+      copyright = substr($0, RLENGTH + 1);\n+    }\n+  }\n+  ver = ver_major \".\" ver_minor \".\" ver_patch ver_suffix;\n+  verc = ver_major \",\" ver_minor \",\" ver_patch \",\" ver_build;   \n+\n+  if (length(vendor)) {\n+    ff = ff + 8;\n+  }\n+\n+  if (length(icon)) {\n+    print \"1 ICON DISCARDABLE \\\"\" icon \"\\\"\";\n+  }\n+  print \"1 VERSIONINFO\";\n+  print \" FILEVERSION \" verc \"\";\n+  print \" PRODUCTVERSION \" verc \"\";\n+  print \" FILEFLAGSMASK 0x3fL\";\n+  print \"#if defined(_DEBUG)\"\n+  print \" FILEFLAGS 0x\" sprintf(\"%02x\", ff + 1) \"L\";\n+  print \"#else\"\n+  print \" FILEFLAGS 0x\" sprintf(\"%02x\", ff) \"L\";\n+  print \"#endif\"\n+  print \" FILEOS 0x40004L\";\n+  print \" FILETYPE 0x1L\";\n+  print \" FILESUBTYPE 0x0L\";\n+  print \"BEGIN\";\n+  print \"  BLOCK \\\"StringFileInfo\\\"\";\n+  print \"  BEGIN\";\n+  print \"    BLOCK \\\"040904b0\\\"\";\n+  print \"    BEGIN\";\n+  print \"    VALUE \\\"Comments\\\", \"\\\n+     \"\\\"Licensed under the Apache License, Version 2.0 (the \\\"\\\"License\\\"\\\"); \"\\\n+     \"you may not use this file except in compliance with the License.  \"\\\n+     \"You may obtain a copy of the License at\\\\r\\\\n\\\\r\\\\n\"\\\n+     \"http:\/\/www.apache.org\/licenses\/LICENSE-2.0\\\\r\\\\n\\\\r\\\\n\"\\\n+     \"Unless required by applicable law or agreed to in writing, \"\\\n+     \"software distributed under the License is distributed on an \"\\\n+     \"\\\"\\\"AS IS\\\"\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, \"\\\n+     \"either express or implied.  See the License for the specific \"\\\n+     \"language governing permissions and limitations under the License.\\\\0\\\"\";\n+  print \"      VALUE \\\"CompanyName\\\", \\\"Apache Software Foundation\\\\0\\\"\";\n+  print \"      VALUE \\\"FileDescription\\\", \\\"\" desc \"\\\\0\\\"\";\n+  print \"      VALUE \\\"FileVersion\\\", \\\"\" ver \"\\\\0\\\"\";\n+  print \"      VALUE \\\"InternalName\\\", \\\"\" file \"\\\\0\\\"\";\n+  print \"      VALUE \\\"LegalCopyright\\\", \\\"Copyright \" copyright \"\\\\0\\\"\";\n+  print \"      VALUE \\\"OriginalFilename\\\", \\\"\" filename \"\\\\0\\\"\";\n+  if (vendor) {\n+    print \"      VALUE \\\"PrivateBuild\\\", \\\"\" vendor \"\\\\0\\\"\";\n+  }\n+  if (special) {\n+    print \"      VALUE \\\"SpecialBuild\\\", \\\"\" vendor \"\\\\0\\\"\";\n+  }\n+  print \"      VALUE \\\"ProductName\\\", \\\"Apache Portable Runtime\\\\0\\\"\";\n+  print \"      VALUE \\\"ProductVersion\\\", \\\"\" ver \"\\\\0\\\"\";\n+  print \"    END\";\n+  print \"  END\";\n+  print \"  BLOCK \\\"VarFileInfo\\\"\";\n+  print \"  BEGIN\";\n+  print \"    VALUE \\\"Translation\\\", 0x409, 1200\";\n+  print \"  END\";\n+  print \"END\";\n+}\n"}
{"commit":"0071512e1b556339ec9f366d3fec2a7529c39252","subject":"Add debugging tool which prints WebScraper field names","message":"Add debugging tool which prints WebScraper field names\n","repos":"Monty\/WhatsStreamingToday,Monty\/WhatsStreamingToday","returncode":1,"stderr":"error: pathspec 'printFieldNamesFrom-webscraper.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- printFieldNamesFrom-webscraper.awk\n+++ printFieldNamesFrom-webscraper.awk\n@@ -0,0 +1,18 @@\n+# Print field numbers and field names from a WebScraper csv file saved in tsv format\n+\n+# INVOCATION:\n+#   awk -f printFieldNamesFrom-webscraper.awk -v maxRecordsToPrint=5 BritBoxSeasons-test-tabs.csv\n+\n+BEGIN {\n+    FS=\"\\t\"\n+    # print 3 records unless overridden with \"-v maxRecordsToPrint=<n>\"\n+    if (maxRecordsToPrint == \"\") maxRecordsToPrint = 3\n+}\n+\n+NR <= maxRecordsToPrint {\n+    print \"Record \" NR\n+    for ( i = 1; i <= NF; i++ ) {\n+        print i \" - \" $i\n+    }\n+    print \"\"\n+}\n"}
{"commit":"3d99d9cdf5e630e8a3e3bf54d2abc7a5792af4fd","subject":"add build.awk","message":"add build.awk\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":1,"stderr":"error: pathspec 'build.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- build.awk\n+++ build.awk\n@@ -0,0 +1,169 @@\n+#!\/usr\/bin\/igawk -f\n+\n+@include include\/Commons.awk\n+@include metainfo.awk\n+\n+function init() {\n+    Command   = \"trans\"\n+\n+    BuildPath = \"build\/\"\n+    Trans     = BuildPath Command\n+\n+    ManPath   = \"man\/\"\n+    Ronn      = ManPath Command \".1.ronn\"\n+    RonnStyle = ManPath \"styles\/night.css\"\n+    Man       = ManPath Command \".1\"\n+}\n+\n+# Task: clean\n+function clean() {\n+    (\"rm -fr \" parameterize(BuildPath)) | getline\n+    return 0\n+}\n+\n+# Task: man\n+function man() {\n+    return system(\"ronn --manual=\" parameterize(toupper(Command) \" MANUAL\") \\\n+                  \" --organization=\" parameterize(Version) \\\n+                  \" --style=\" parameterize(RonnStyle) \\\n+                  \" \" Ronn)\n+}\n+\n+# Task: build\n+function build(target,    group, inline, line) {\n+    # Default target: bash\n+    if (!target) target = \"bash\"\n+\n+    (\"mkdir -p \" parameterize(BuildPath)) | getline\n+\n+    if (target == \"bash\" || target == \"zsh\") {\n+\n+        print \"#!\/usr\/bin\/env \" target > Trans\n+        print > Trans\n+\n+        print \"read -r -d '' TRANS_PROGRAM << 'EOF'\" > Trans\n+        if (fileExists(Program))\n+            while (getline line < Program) {\n+                match(line, \/^[[:space:]]*@include[[:space:]]*\"(.*)\"$\/, group)\n+                if (RSTART) {\n+                    # Include file\n+                    if (fileExists(group[1] \".awk\"))\n+                        while (getline inline < (group[1] \".awk\")) {\n+                            if (inline = squeeze(inline))\n+                                print inline > Trans # effective LOC\n+                        }\n+                } else {\n+                    if (line && line !~ \/^[[:space:]]*#!\/) {\n+                        # Remove preceding spaces\n+                        gsub(\/^[[:space:]]+\/, \"\", line)\n+                        print line > Trans\n+                    }\n+                }\n+            }\n+        print \"EOF\" > Trans\n+\n+        print \"read -r -d '' TRANS_MANPAGE << 'EOF'\" > Trans\n+        if (fileExists(Man))\n+            while (getline line < Man)\n+                print line > Trans\n+        print \"EOF\" > Trans\n+        print \"export TRANS_MANPAGE\" > Trans\n+\n+        print \"TRANS_COMMAND=\" Command > Trans\n+        print \"export TRANS_COMMAND\" > Trans\n+\n+        print \"TRANS_SCRIPT=$0\" > Trans\n+        print \"export TRANS_SCRIPT\" > Trans\n+\n+        print \"export COLUMNS\" > Trans\n+\n+        print \"gawk \\\"$TRANS_PROGRAM\\\" - \\\"$@\\\"\" > Trans\n+\n+        (\"chmod +x \" parameterize(Trans)) | getline\n+        return 0\n+\n+    } else if (target == \"awk\" || target == \"gawk\") {\n+\n+        if (fileExists(Program))\n+            while (getline line < Program) {\n+                match(line, \/^[[:space:]]*@include[[:space:]]*\"(.*)\"$\/, group)\n+                if (RSTART) {\n+                    # Include file\n+                    if (fileExists(group[1] \".awk\"))\n+                        while (getline inline < (group[1] \".awk\"))\n+                            print inline > Trans\".awk\"\n+                } else {\n+                    print line > Trans\".awk\"\n+                }\n+            }\n+\n+        (\"chmod +x \" parameterize(Trans\".awk\")) | getline\n+        return 0\n+\n+    } else {\n+\n+        w(\"[FAILED] Unknown target: \" AnsiCode[\"underline\"] target AnsiCode[\"no underline\"])\n+        w(\"         Supported targets: \" \\\n+          AnsiCode[\"underline\"] \"bash\" AnsiCode[\"no underline\"] \", \" \\\n+          AnsiCode[\"underline\"] \"zsh\" AnsiCode[\"no underline\"] \", \" \\\n+          AnsiCode[\"underline\"] \"gawk\" AnsiCode[\"no underline\"])\n+        return 1\n+\n+    }\n+}\n+\n+BEGIN {\n+    init()\n+\n+    pos = 0\n+    while (ARGV[++pos]) {\n+        # -target [target]\n+        match(ARGV[pos], \/^--?target(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            target = tolower(group[2] ? group[2] : ARGV[++pos])\n+            continue\n+        }\n+\n+        # [task]\n+        match(ARGV[pos], \/^[^\\-]\/, group)\n+        if (RSTART) {\n+            append(tasks, ARGV[pos])\n+            continue\n+        }\n+    }\n+\n+    # Default task: build\n+    if (!anything(tasks)) tasks[0] = \"build\"\n+\n+    for (i = 0; i < length(tasks); i++) {\n+        task = tasks[i]\n+        status = 0\n+        switch (task) {\n+\n+        case \"clean\":\n+            status = clean()\n+            break\n+\n+        case \"man\":\n+            status = man()\n+            break\n+\n+        case \"build\":\n+            status = build(target)\n+            break\n+\n+        default: # unknown task\n+            status = -1\n+        }\n+\n+        if (status == 0) {\n+            d(\"[OK] Task \" AnsiCode[\"bold\"] task AnsiCode[\"no bold\"] \" completed.\")\n+        } else if (status < 0) {\n+            w(\"[FAILED] Unknown task: \" AnsiCode[\"bold\"] task AnsiCode[\"no bold\"])\n+            exit 1\n+        } else {\n+            w(\"[FAILED] Task \" AnsiCode[\"bold\"] task AnsiCode[\"no bold\"] \" failed.\")\n+            exit 1\n+        }\n+    }\n+}\n"}
{"commit":"35e39e9dad4dfe74cae6003317189b76cb84b126","subject":"Script for printout out GC stats","message":"Script for printout out GC stats\n\n\ngit-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@1939 94700074-3cef-4d97-a70e-9c8c206c02f5\n","repos":"deepstupid\/sphinx5","returncode":1,"stderr":"error: pathspec 'scripts\/gc_sum.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/gc_sum.awk\n+++ scripts\/gc_sum.awk\n@@ -0,0 +1,11 @@\n+{\n+   gsub(\/:\/, \" \");\n+   gctime += $(NF-1);\n+   totalTime = $1;\n+}\n+\n+\n+END {\n+    print \"GC time: \", gctime, \" Total Time \", totalTime, \\\n+        \" Percent \", gctime\/totalTime * 100;\n+}\n"}
{"commit":"569ba9ca1c3f607de7886a5bbd3aaceb795b5d79","subject":"update","message":"update\n","repos":"stuartyeates\/rsnz-fellows","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/stuartyeates\/rsnz-fellows.git\/'\n","license":"unlicense","lang":"Awk","diff":""}
{"commit":"bafe67589a731a00d294bab247b1a436084a4b22","subject":"Create zad5.awk","message":"Create zad5.awk","repos":"lukaszpetke\/jp,lukaszpetke\/jp","returncode":1,"stderr":"error: pathspec 'AWK\/zad5.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/zad5.awk\n+++ AWK\/zad5.awk\n@@ -0,0 +1,3 @@\n+#Posortowa\u0107 i wypisa\u0107 z pliku \/etc\/passwd loginy wszystkich u\u017cytkownik\u00f3w. \n+\n+BEGIN {FS=\":\"} {print $1} # |sort\n"}
{"commit":"aa50476ffad467e2104002652859efa77c30af48","subject":"add ngramfreq.awk","message":"add ngramfreq.awk\n","repos":"The-Orizon\/nlputils,The-Orizon\/nlputils,The-Orizon\/nlputils","returncode":1,"stderr":"error: pathspec 'ngramfreq.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- ngramfreq.awk\n+++ ngramfreq.awk\n@@ -0,0 +1,20 @@\n+#!\/usr\/bin\/awk -f\n+# usage: awk -f ngramfreq.awk -v N=2\n+BEGIN {\n+    FS = \"\";\n+    # N = 2; # change this or specify in arguments\n+}\n+{\n+    for (i = 1; i <= NF-N+1; i++) {\n+        frag = \"\";\n+        for (j = 0; j < N; j++) {\n+            frag = frag $(i+j);\n+        }\n+        ngram[frag]++;\n+    }\n+}\n+END {\n+    for (i in ngram) {\n+        print ngram[i], i;\n+    }\n+}\n"}
{"commit":"48306a46aba85f6eeb5445923a95a5e4da3a541a","subject":"initial checkin of awk script for summarizing TransferLog data","message":"initial checkin of awk script for summarizing TransferLog data\n","repos":"zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,djw8605\/condor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor","returncode":1,"stderr":"error: pathspec 'src\/condor_ckpt_server\/xfer_log.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/condor_ckpt_server\/xfer_log.awk\n+++ src\/condor_ckpt_server\/xfer_log.awk\n@@ -0,0 +1,124 @@\n+BEGIN {\n+    num_hosts = 0;\n+    num_users = 0;\n+}\n+{\n+    if ($3 != \"RECV\" && $3 != \"SENT\") {\n+\tif (num_hosts == 0) {\n+\t    StartDate = $1;\n+\t    StartTime = $2;\n+\t} else {\n+\t    EndDate = $1;\n+\t    EndTime = $2;\n+\t}\n+\tif (AttemptedSends[$9] == 0 && AttemptedRecvs[$9] == 0) {\n+\t    Hosts[num_hosts] = $9;\n+\t    num_hosts++;\n+\t}\n+\tsplit($10, user_tmp, \"\\@\");\n+\tUser = user_tmp[1];\n+\tif (AttemptedSends[User] == 0 && AttemptedRecvs[User] == 0) {\n+\t    Users[num_users] = User;\n+\t    num_users++;\n+\t}\n+\tif ($3 == \"S\") {\n+\t    AttemptedSends[$9]++;\n+\t    AttemptedSends[User]++;\n+\t    if ($4 != \"F\") {\n+\t\tCompletedSends[$9]++;\n+\t\tCompletedSends[User]++;\n+\t\tBytesSent[$9] += $5;\n+\t\tBytesSent[User] += $5;\n+\t\tTimeSending[$9] += $7;\n+\t\tTimeSending[User] += $7;\n+\t    }\n+\t} else {\n+\t    AttemptedRecvs[$9]++;\n+\t    AttemptedRecvs[User]++;\n+\t    if ($4 != \"F\") {\n+\t\tCompletedRecvs[$9]++;\n+\t\tCompletedRecvs[User]++;\n+\t\tBytesRecvd[$9] += $5;\n+\t\tBytesRecvd[User] += $5;\n+\t\tTimeReceiving[$9] += $7;\n+\t\tTimeReceiving[User] += $7;\n+\t    }\n+\t}\n+    }\n+}\n+END {\n+    printf(\"\\nCheckpoint Server Transfer Log Data from %s %s to %s %s\\n\\n\",\n+\t   StartDate, StartTime, EndDate, EndTime);\n+    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s\\n\",\n+\t   \"\", \"Send\", \"Send\", \"Receive\", \"Receive\", \"Total\", \"Total\");\n+    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s\\n\",\n+\t   \"\", \"Bandwidth\", \"Success\", \"Bandwidth\", \"Success\", \"Bandwidth\",\n+\t   \"Success\");\n+    printf(\"%-16.16s %9.9s %7.7s %9.9s %7.7s %9.9s %7.7s\\n\\n\",\n+\t   \"User\/Host\", \"(Mb\/s)\", \"Rate\", \"(Mb\/s)\", \"Rate\", \"(Mb\/s)\", \"Rate\");\n+    for (i=0; i < num_users; i++) {\n+\tUser = Users[i];\n+\tBytes = BytesSent[User] + BytesRecvd[User];\n+\tTime = TimeSending[User] + TimeReceiving[User];\n+\tAttempted = AttemptedSends[User] + AttemptedRecvs[User];\n+\tCompleted = CompletedSends[User] + CompletedRecvs[User];\n+\tif (TimeSending[User] > 0 && TimeReceiving[User] > 0) {\n+\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%%\\n\",\n+\t\t   User,\n+\t\t   BytesSent[User]*8\/TimeSending[User]\/1024000,\n+\t\t   CompletedSends[User]\/AttemptedSends[User]*100,\n+\t\t   BytesRecvd[User]*8\/TimeReceiving[User]\/1024000,\n+\t\t   CompletedRecvs[User]\/AttemptedRecvs[User]*100,\n+\t\t   Bytes*8\/Time\/1024000,\n+\t\t   Completed\/Attempted*100);\n+\t}\n+    }\n+    printf(\"\\n\");\n+    for (i=0; i < num_hosts; i++) {\n+\tHost = Hosts[i];\n+\tBytes = BytesSent[Host] + BytesRecvd[Host];\n+\tTime = TimeSending[Host] + TimeReceiving[Host];\n+\tAttempted = AttemptedSends[Host] + AttemptedRecvs[Host];\n+\tCompleted = CompletedSends[Host] + CompletedRecvs[Host];\n+\tif (TimeSending[Host] > 0 && TimeReceiving[Host] > 0) {\n+\t    printf(\"%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%%\\n\",\n+\t\t   Host,\n+\t\t   BytesSent[Host]*8\/TimeSending[Host]\/1024000,\n+\t\t   CompletedSends[Host]\/AttemptedSends[Host]*100,\n+\t\t   BytesRecvd[Host]*8\/TimeReceiving[Host]\/1024000,\n+\t\t   CompletedRecvs[Host]\/AttemptedRecvs[Host]*100,\n+\t\t   Bytes*8\/Time\/1024000,\n+\t\t   Completed\/Attempted*100);\n+\t}\n+\tTotalBytesSent += BytesSent[Host];\n+\tTotalBytesRecvd += BytesRecvd[Host];\n+\tTotalTimeSending += TimeSending[Host];\n+\tTotalTimeReceiving += TimeReceiving[Host];\n+\tTotalAttemptedSends += AttemptedSends[Host];\n+\tTotalAttemptedRecvs += AttemptedRecvs[Host];\n+\tTotalCompletedSends += CompletedSends[Host];\n+\tTotalCompletedRecvs += CompletedRecvs[Host];\n+    }\n+    TotalBytes = TotalBytesSent + TotalBytesRecvd;\n+    TotalTime = TotalTimeSending + TotalTimeReceiving;\n+    TotalAttempted = TotalAttemptedSends + TotalAttemptedRecvs;\n+    TotalCompleted = TotalCompletedSends + TotalCompletedRecvs;\n+    if (TotalTimeSending > 0 && TotalTimeReceiving > 0) {\n+\tprintf(\"\\n%-16.16s %9.2f %6.0f%% %9.2f %6.0f%% %9.2f %6.0f%%\\n\\n\",\n+\t       \"Overall\",\n+\t       TotalBytesSent*8\/TotalTimeSending\/1024000,\n+\t       TotalCompletedSends\/TotalAttemptedSends*100,\n+\t       TotalBytesRecvd*8\/TotalTimeReceiving\/1024000,\n+\t       TotalCompletedRecvs\/TotalAttemptedRecvs*100,\n+\t       TotalBytes*8\/TotalTime\/1024000,\n+\t       TotalCompleted\/TotalAttempted*100);\n+    }\n+    printf(\"\\n%-16.16s %25.25s %25.25s\\n\\n\", \"User\", \"MB Sent\", \"MB Received\");\n+    for (i=0; i < num_users; i++) {\n+\tUser = Users[i];\n+\tprintf(\"%-16.16s %25.0f %25.0f\\n\",\n+\t       User, BytesSent[User]\/1024000, BytesRecvd[User]\/1024000);\n+    }\n+    printf(\"\\n%-16.16s %25.0f %25.0f\\n\",\n+\t   \"Total\", TotalBytesSent\/1024000, TotalBytesRecvd\/1024000);\n+}\n"}
{"commit":"4262bf5461f9f639a94ba41752c73180d41d8f6e","subject":"awk script for generating symbol export lists for AIX shared object links","message":"awk script for generating symbol export lists for AIX shared object links\n","repos":"rpavlik\/chromium,rpavlik\/chromium,rpavlik\/chromium,rpavlik\/chromium,rpavlik\/chromium","returncode":1,"stderr":"error: pathspec 'scripts\/exports.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/exports.awk\n+++ scripts\/exports.awk\n@@ -0,0 +1,15 @@\n+{\n+        if ((($2 == \"T\") || ($2 == \"D\") || ($2 == \"B\")) \\\n+                && ( substr($1,1,1) != \".\")) {\n+            if (substr ($1, 1, 7) != \"__sinit\" &&\n+                    substr ($1, 1, 7) != \"__sterm\") {\n+                if (substr ($1, 1, 5) == \"__tf1\")\n+                    print (substr ($1, 7))\n+                else if (substr ($1, 1, 5) == \"__tf9\")\n+                    print (substr ($1, 15))\n+                else\n+                    print $1\n+            }\n+        }\n+    }\n+\n"}
{"commit":"80ac6d6891fd58fc905332b6e34e70c575988c8f","subject":"a primitive converter from Google's wiki syntax to LaTeX","message":"a primitive converter from Google's wiki syntax to LaTeX","repos":"cartazio\/omega,minad\/omega","returncode":1,"stderr":"error: pathspec 'tools\/wiki2latex.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/wiki2latex.awk\n+++ tools\/wiki2latex.awk\n@@ -0,0 +1,94 @@\n+BEGIN {\n+  print \"%TCIDATA{Version=5.00.0.2606}\";\n+  print \"%TCIDATA{LaTeXparent=0,0,classes.tex}\";\n+  print \"                      \";\n+  print \"\";\n+  print \"%%%%% BEGINNING OF DOCUMENT BODY %%%%%\";\n+  print \"% html: Beginning of file: `clean.html'\";\n+  print \"% DOCTYPE HTML PUBLIC \\\"-\/\/W3C\/\/DTD HTML 4.01\/\/EN\\\"\";\n+  print \"%  This is a (PRE) block.  Make sure it's left aligned or your toc title will be off. \";\n+  print \"\";\n+  quoting = 0;\n+  itemizing = 0;\n+}\n+\n+END {\n+  print \"% html: End of file: `clean.html'\";\n+  print \"\";\n+  print \"%%%%% END OF DOCUMENT BODY %%%%%\";\n+  print \"% In the future, we might want to put some additional data here, such\";\n+  print \"% as when the documentation was converted from wiki to TeX.\";\n+  print \"%\";\n+}\n+\n+## pragmas do not count\n+\/\\#labels\/ {\n+  next;\n+}\n+\n+itemizing && !\/^   *\\*\/ {\n+  print \"\\\\end{itemize}\";\n+  itemizing = 0;\n+}\n+\n+quoting && \/^  \/ {\n+  sub(\/^  \/, \"\");\n+  print;\n+  next;\n+}\n+\n+quoting && !\/^  \/ {\n+  print \"\\\\end{quotation}\";\n+  quoting = 0;\n+}\n+\n+## empty lines do not count\n+\/^ *$\/ {\n+  next;\n+}\n+\n+\/`\/ {\n+  line = $0;\n+  sub(\/`\/, \"\\\\texttt{\", line);\n+  sub(\/`\/, \"}\", line);\n+  $0 = line\n+}\n+\n+\/==\/ {\n+  sub(\/==\/, \"\\\\subsection*{\");\n+  sub(\/==\/, \"}\");\n+  print;\n+  next;\n+}\n+\n+\/=\/ {\n+  sub(\/=\/, \"\\\\section*{\");\n+  sub(\/=\/, \"}\");\n+  print;\n+  next;\n+}\n+\n+!itemizing && \/^   *\\*\/ {\n+  print \"\\\\begin{itemize}\";\n+  itemizing = 1;\n+}\n+\n+itemizing && \/^   *\\*\/ {\n+  sub(\/^   *\\*\/, \"\\\\item\");\n+  print;\n+  print \"\";\n+  next;\n+}\n+\n+\n+\/^  \/ {\n+  print \"\\\\begin{quotation}\";\n+  quoting = 1;\n+  sub(\/^  \/, \"\");\n+  print;\n+  next;\n+}\n+\n+\n+\n+{ print }\n"}
{"commit":"60536c59283d534f065072ff37856f884aa0ed15","subject":"Added analyze.awk.","message":"Added analyze.awk.\n","repos":"jrwilson\/ioa,jrwilson\/ioa,jrwilson\/ioa","returncode":1,"stderr":"error: pathspec 'examples\/analyze.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- examples\/analyze.awk\n+++ examples\/analyze.awk\n@@ -0,0 +1,20 @@\n+#!\/usr\/bin\/awk -f\n+\n+{\n+\tfor (i = 1; i <= NF; ++i) {\n+\t    split ($i, fields, \"=\");\n+\t    s1[fields[1]] += fields[2];\n+\t    s2[fields[1]] += (fields[2] * fields[2]);\n+\t}\n+}\n+\n+END {\n+    for (i in s1) {\n+    \tavg[i] = s1[i] \/ NR;\n+\tdev[i] = sqrt (NR * s2[i] - s1[i] * s1[i]) \/ NR \/ sqrt (NR) * 1.96; # 95% Confidence interval.\n+    }\n+\n+    for (i in avg) {\n+    \tprintf (\"%s %0.12f %0.12f\\n\", i, avg[i], dev[i]);\n+    }\n+}"}
{"commit":"b682367981b00421555230c9fda0a70b42b4cce8","subject":"add translate.awk","message":"add translate.awk\n","repos":"soimort\/translate-shell,skynet\/translate-shell","returncode":1,"stderr":"error: pathspec 'translate.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- translate.awk\n+++ translate.awk\n@@ -0,0 +1,40 @@\n+#!\/usr\/bin\/gawk -f\n+\n+# This is free and unencumbered software released into the\n+# public domain.\n+#\n+# This software is provided for the purpose of personal, reasonable\n+# and convenient human use of the Google Translate Service, i.e.,\n+# only for those who feel that their terminal is more accessible\n+# than a web browser. For other purposes, please use the official\n+# Google Translate API <https:\/\/developers.google.com\/translate\/>.\n+#\n+# By using this software, you (\"the user\") agree that:\n+#\n+# 1. Neither this software nor its author is affiliated with\n+# Google Inc. (\"Google\").\n+#\n+# 2. By using this software, the user is de facto using web\n+# services provided by Google, therefore they are obliged to\n+# follow the Google Terms of Service.\n+#\n+# 3. This software is provided \"as is\". The user of this software\n+# shall be fully liable for any possible infringement of, including\n+# but not limited to, the Google Terms of Service; per contra,\n+# the user must be aware that their data might be collected by\n+# Google, therefore they shall be liable for their own privacy\n+# concern, including but not limited to, possible disclosure of\n+# personal information. See the (un)LICENSE file for more details.\n+\n+@include \"metainfo\"\n+\n+@include \"include\/Commons\"\n+\n+@include \"include\/Languages\"\n+@include \"include\/Help\"\n+@include \"include\/PLTokenizer\"\n+@include \"include\/PLParser\"\n+@include \"include\/Translate\"\n+@include \"include\/Shell\"\n+\n+@include \"include\/Main\"\n"}
{"commit":"6246b5211f29eb34ff65b4ddba7481cb92c60387","subject":"Create zad1.awk","message":"Create zad1.awk","repos":"lukaszpetke\/jp,lukaszpetke\/jp","returncode":1,"stderr":"error: pathspec 'AWK\/zad1.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/zad1.awk\n+++ AWK\/zad1.awk\n@@ -0,0 +1,5 @@\n+#zad1\n+#Z pliku \/etc\/passwd wy\u015bwietli\u0107 nazwy tych u\u017cytkownik\u00f3w, kt\u00f3rzy korzystaj\u0105 z interpretera tcsh.\n+\n+BEGIN {FS=\":\"}\n+\/tcsh\/ {print $1} \n"}
{"commit":"eaf1a88caecf27c054f444a126034e0c98708bb0","subject":"minimal functionality","message":"minimal functionality","repos":"ggreif\/al4nin,ggreif\/al4nin","returncode":1,"stderr":"error: pathspec 'purgatory\/extract.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- purgatory\/extract.awk\n+++ purgatory\/extract.awk\n@@ -0,0 +1,7 @@\n+BEGIN { relevant = 0; line = 1 }\n+\/@Haskell.*@Begin\/ { relevant = 1; print \"#line\", line }\n+\/@End.*@Haskell\/ { relevant = 0 }\n+\n+\n+\n+{ line++; if (relevant) { if (relevant > 1) print; relevant++ } }"}
{"commit":"60488a25ddf6af5c35751a91b5bee8b7083acee4","subject":"INTEGRATION: CWS changefileheader (1.7.402); FILE MERGED 2008\/03\/28 15:55:23 rt 1.7.402.1: #i87441# Change license header to LPGL v3.","message":"INTEGRATION: CWS changefileheader (1.7.402); FILE MERGED\n2008\/03\/28 15:55:23 rt 1.7.402.1: #i87441# Change license header to LPGL v3.\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'solenv\/bin\/addsym.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/addsym.awk\n+++ solenv\/bin\/addsym.awk\n@@ -0,0 +1,57 @@\n+#*************************************************************************\n+#\n+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n+# \n+# Copyright 2008 by Sun Microsystems, Inc.\n+#\n+# OpenOffice.org - a multi-platform office productivity suite\n+#\n+# $RCSfile: header.hxx,v $\n+#\n+# $Revision: 1.1 $\n+#\n+# This file is part of OpenOffice.org.\n+#\n+# OpenOffice.org is free software: you can redistribute it and\/or modify\n+# it under the terms of the GNU Lesser General Public License version 3\n+# only, as published by the Free Software Foundation.\n+#\n+# OpenOffice.org is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU Lesser General Public License version 3 for more details\n+# (a copy is included in the LICENSE file that accompanied this code).\n+#\n+# You should have received a copy of the GNU Lesser General Public License\n+# version 3 along with OpenOffice.org.  If not, see\n+# <http:\/\/www.openoffice.org\/license.html>\n+# for a copy of the LGPLv3 License.\n+#\n+#*************************************************************************\n+\n+# Add symbol patterns _ZTI* and _ZTS* to the global section of version UDK_3_0_0\n+# (and if that version is not yet present, add it).  For C++ exception handling\n+# to work across libraries, it is important that all libraries use those symbols\n+# with the same version name.\n+#\n+# The below code fails with 'perverted' mapfiles (using a strange line layout,\n+# or containing version UDK_3_0_0 without a global section, ...).\n+\n+BEGIN { state = 0 }\n+END {\n+    if (state == 0) {\n+        print \"# Weak RTTI symbols for C++ exceptions:\"\n+        print \"UDK_3_0_0 {\"\n+\tprint \"\\tglobal:\"\n+\tprint \"\\t_ZTI*; _ZTS*;\"\n+        print \"};\"\n+    }\n+}\n+state == 2 {\n+    print \"        _ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions\"\n+    state = 3\n+}\n+# #i66636# - ???\n+\/^[\\t ]*UDK_3_0_0[\\t ]*\\{\/ { state = 1 }\n+\/^[\\t ]*global[\\t ]*:\/ && state == 1 { state = 2 }\n+{ print }\n"}
{"commit":"c051a0c9a72b0921dff5584621e8c7fd2258d7ff","subject":"Fix the alignment awk program not outputting anything from last match to the end of utterance","message":"Fix the alignment awk program not outputting anything from last match to the end of utterance\n","repos":"cybeliak\/mispronounceableness,cybeliak\/mispronounceableness,cybeliak\/mispronounceableness","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/cybeliak\/mispronounceableness.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"bf78caf0040f9e10fde9c32583f2fba468f55d42","subject":"Switch back to 3 consecutive words by default, and allow shorter utterances to be aligned","message":"Switch back to 3 consecutive words by default, and allow shorter utterances to be aligned\n","repos":"cybeliak\/mispronounceableness,cybeliak\/mispronounceableness,cybeliak\/mispronounceableness","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/cybeliak\/mispronounceableness.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"2998e3bafa60d94e88eb6a4c7f82d24b9c9f7ca7","subject":"Add my awk script to update AUTHORS file","message":"Add my awk script to update AUTHORS file\n","repos":"dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node,dreamllq\/node","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/dreamllq\/node.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"d7a89ad7a87776b3ebb82b4946dd258b087803fc","subject":"  while (getline < \"setup.ini\") {","message":"  while (getline < \"setup.ini\") {\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"9927db73b48cad547f8f363991cb1f352cadbf5c","subject":"Add missing awk file","message":"Add missing awk file\n","repos":"gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml","returncode":1,"stderr":"error: pathspec 'runtime\/gen_domain_state32_inc.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- runtime\/gen_domain_state32_inc.awk\n+++ runtime\/gen_domain_state32_inc.awk\n@@ -0,0 +1,37 @@\n+#**************************************************************************\n+#*                                                                        *\n+#*                                 OCaml                                  *\n+#*                                                                        *\n+#*         Damien Doligez, projet Gallium, INRIA Rocquencourt             *\n+#*                                                                        *\n+#*   Copyright 2013 Institut National de Recherche en Informatique et     *\n+#*     en Automatique.                                                    *\n+#*                                                                        *\n+#*   All rights reserved.  This file is distributed under the terms of    *\n+#*   the GNU Lesser General Public License version 2.1, with the          *\n+#*   special exception on linking described in the file LICENSE.          *\n+#*                                                                        *\n+#**************************************************************************\n+\n+BEGIN{FS=\",\";count=0};\n+\/DOMAIN_STATE\/{\n+  print \"Store_\" substr($2,2,length($2)-2) \" MACRO reg1, reg2\";\n+  print \"  mov [reg1+\" count \"], reg2\";\n+  print \"ENDM\";\n+  print \"Load_\" substr($2,2,length($2)-2) \" MACRO reg1, reg2\";\n+  print \"  mov reg2, [reg1+\" count \"]\";\n+  print  \"ENDM\";\n+  print \"Push_\" substr($2,2, length($2)-2) \" MACRO reg1\";\n+  print \"  push [reg1+ \" count \"]\";\n+  print \"ENDM\";\n+  print \"Pop_\" substr($2, 2, length($2)-2) \" MACRO reg1\";\n+  print \"  pop [reg1+ \" count \"]\";\n+  print \"ENDM\";\n+  print \"Cmp_\" substr($2, 2, length($2)-2) \" MACRO reg1, reg2\";\n+  print \"  cmp reg2, [reg1+ \" count \"]\";\n+  print \"ENDM\";\n+  print \"Sub_\" substr($2, 2, length($2)-2) \" MACRO reg1, reg2\";\n+  print \"  sub reg2, [reg1+ \" count \"]\";\n+  print \"ENDM\";\n+  count+=8\n+}\n"}
{"commit":"28f2adf3e3e65616a557003ea0b30bddbb43be25","subject":"Add the unified pair generation script","message":"Add the unified pair generation script\n","repos":"dustalov\/watset,dustalov\/watset","returncode":1,"stderr":"error: pathspec 'pairs.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- pairs.awk\n+++ pairs.awk\n@@ -0,0 +1,13 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN{\n+    FS = OFS = \"\\t\";\n+}\n+{\n+    split($3, words, \", \");\n+    for (i = 1; i <= length(words) - 1; i++) {\n+        for (j = i + 1; j <= length(words); j++) {\n+            print words[i], words[j];\n+            print words[j], words[i];\n+        }\n+    }\n+}\n"}
{"commit":"e05191a646423660e86e9d75a1e2a01fa7fbd471","subject":"  s_split(br[3], pa, \".\")","message":"  s_split(br[3], pa, \".\")\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"ed42fe900dac65f78fb02eefcf6be97659fc331e","subject":"add library.awk","message":"add library.awk\n","repos":"dubiousjim\/awkenough","returncode":1,"stderr":"error: pathspec 'library.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- library.awk\n+++ library.awk\n@@ -0,0 +1,1349 @@\n+# library.awk\n+\n+# globals EXITCODE, MISSING\n+\n+\n+# if you call die, assert, or check*: start END blocks with\n+#    { if (EXITCODE) exit EXITCODE; ... }\n+function die(msg) {\n+    EXITCODE=1\n+    printf(\"%s: %s\\n\", ARGV[0], msg) > \"\/dev\/stderr\"\n+    exit EXITCODE\n+}\n+\n+\n+function assert(test, msg) {\n+    if (!test) die(msg ? msg : \"assertion failed\")\n+}\n+\n+\n+# missing values are only isnull(), isnum(), iszero(), isint(), isnat() when a true second arg is supplied\n+# \"\" values (even if set from command-line) are only isnull()\n+# 0 and \"0\" values are isnum(), iszero(), isint(), isnat(), but other values coercable to 0 aren't\n+# floats are isnum() but not ispos(), isneg()\n+\n+\n+# unitialized scalar\n+function ismissing(u) {\n+    return u == 0 && u == \"\"\n+}\n+\n+\n+function check(u, missing) {\n+    if (u == 0 && u == \"\") {\n+        MISSING = 1\n+        return missing\n+    }\n+    MISSING = 0\n+    return u\n+}\n+\n+# explicit \"\"\n+function isnull(s, u) {\n+    if (u) return s == \"\" # accept missing as well\n+    return !s && s != 0\n+}\n+\n+\n+function isnum(n, u) {\n+    # return n ~ \/^[+-]?[0-9]+$\/\n+    if (u) return n == n +0 # accept missing as well\n+    return n \"\" == n +0 \n+    # NOTE: awk will also convert when there's leading space\/trailing anything\n+    #       and will convert any other non-numeric to 0\n+}\n+\n+\n+# returns num or missing, else die(msg)\n+function checknum(n, missing, msg) {\n+    if (n \"\" == n + 0) {\n+        MISSING = 0\n+        return n # explicit numbers are preserved\n+    } else if (msg && n != n + 0) die(msg)\n+    MISSING = 1\n+    return missing\n+}\n+\n+\n+# explicit 0 or \"0\"\n+function iszero(n, u) {\n+    # return n + 0 == 0 # accept any coercable\n+    if (u) return n == 0 # accept missing as well\n+    return n == 0 && n != \"\"\n+}\n+\n+\n+function isint(n, u) {\n+    if (u) return int(n) == n # accept missing as well\n+    return int(n) == n && n != \"\"\n+}\n+\n+\n+# explicit isnum >= 0\n+function isnat(n, u) {\n+    if (u) return int(n) == n && n >= 0 # accept missing as well\n+    return int(n) == n && n \"\" >= 0\n+}\n+\n+\n+# returns nat or missing, else die(msg)\n+function checknat(n, missing, msg) {\n+    if (int(n) == n) {\n+        if (n \"\" >= 0) {\n+            MISSING = 0\n+            return n # explicit numbers are preserved\n+        } else if (msg && n < 0) die(msg)\n+    } else if (msg) die(msg)\n+    MISSING = 1\n+    return missing\n+}\n+\n+\n+# explicit isnum > 0\n+function ispos(n) {\n+    # return n \"\" == n +0 && n > 0 # accept float as well\n+    return int(n) == n && n > 0\n+}\n+\n+\n+# returns pos or missing, else die(msg)\n+function checkpos(n, missing, msg) {\n+    if (int(n) == n) {\n+        if (n \"\" > 0) {\n+            MISSING = 0\n+            return n # explicit numbers are preserved\n+        } else if (msg && (n < 0 || n \"\" >=  0)) die(msg)\n+    } else if (msg) die(msg)\n+    MISSING = 1\n+    return missing\n+}\n+\n+\n+function isneg(n) {\n+    # return n \"\" == n +0 && n < 0 # accept float as well\n+    return int(n) == n && n < 0\n+}\n+\n+\n+\n+## numeric utils #########\n+\n+# might as well inline\n+function max(m, n) { return (m > n) ? m : n }\n+\n+\n+# might as well inline\n+function min(m, n) { return (m < n) ? m : n }\n+\n+\n+# return k=1 distinct random elements A[1 <= i <= n], separated by SUBSEP\n+function choose(n,  k,   A, i, r, p) {\n+    k = checkpos(k, 1, \"choose: second argument must be positive\")\n+    if (!isempty(A)) {\n+        # A is already populated, choose k elements from A[1]..A[n], ordered by index\n+        p = r = \"\"\n+        for (i = 1; n > 0; i++)\n+            if (rand() < k\/n--) {\n+                p = p r A[i]\n+                r = SUBSEP\n+                k--\n+            }\n+        return p\n+    }\n+    # else choose k integers from 1..n, ordered\n+    if (k == 1)\n+        return int(n*rand())+1\n+    for (i = n-k+1; i <= n; i++)\n+        ((r = int(i*rand())+1) in A) ? A[i] : A[r]\n+    p = r = \"\"\n+    for (i=1; i<=n; i++)\n+       if (i in A) {\n+            p = p r i\n+            r = SUBSEP\n+        }\n+    split(\"\", A) # does it help to delete the aux array?\n+    return p\n+}\n+\n+\n+# random permutation of k=n integers between 1 and n\n+# the distribution of this isn't great, but it does cover the whole range of permutations\n+# a random deck is: split(permute(52,52), deck)\n+function permute(n,  k,   i, r, p) {\n+    k = checkpos(k, n, \"permute: second argument must be positive\")\n+    p = SUBSEP\n+    for (i = n-k+1; i <= n; i++) {\n+        if (p ~ SUBSEP (r = int(i*rand())+1) SUBSEP)\n+            # since i is higher than before, p only contains r when r < i\n+            sub(SUBSEP r SUBSEP, SUBSEP r SUBSEP i SUBSEP, p)    # put i after r\n+        else p = SUBSEP r p                                      # put r at beginning\n+    }\n+    return substr(p, 2, length(p)-2)\n+}\n+\n+\n+# Shuffle an array with indexes from 1 to n. (Knuth or Fisher-Yates shuffle)\n+function shuffle(A, n,    i, j, t) {\n+    if (!n) {\n+        n = 1\n+        while (n in A) n++\n+        n--\n+    }\n+    for (i = n; i > 1; i--) {\n+            j = int(i * rand()) + 1 # random integer from 1 to i\n+            t = A[i]; A[i] = A[j]; A[j] = t # swap A[i], A[j]\n+    }\n+}\n+\n+\n+## array utils #########\n+\n+function isempty(array,   i) {\n+    for (i in array) return 0\n+    return 1\n+}\n+\n+\n+# insertion sort A[1..n]\n+# stable, O(n^2) but fast for small arrays\n+function sort(A,n,   i,j,t) {\n+    if (!n) {\n+        n = 1\n+        while (n in A) n++\n+        n--\n+    }\n+    for (i = 2; i <= n; i++) {\n+        t = A[i]\n+        for (j = i; j > 1 && A[j-1] > t; j--)\n+            A[j] = A[j-1]\n+        A[j] = t\n+    }\n+}\n+\n+# mergesort is stable, O(n log n) worst-case\n+# on arrays uses O(n) auxiliary space; but on linked lists only a small constant space\n+# implementation not provided here\n+\n+\n+# in-place quicksort A[left..right]\n+# for efficiency, left and right must be supplied, default values aren't calculated\n+# unstable\n+# on avg thought to be constantly better than heapsort, but has worst-case O(n^2)\n+# choose random pivot to avoid worst-case behavior on already-sorted arrays\n+# advantage over mergesort is that it only uses O(log n) auxiliary space (if we have tail-calls)\n+function qsort(A,left,right,   i,last,t) {\n+    if (left >= right)  # do nothing if array contains at most one element\n+        return\n+    i = left + int((right-left+1)*rand()) # choose pivot\n+    t = A[left]; A[left] = A[i]; A[i] = t # swap A[left] and A[i]\n+    last = left\n+    for (i = left+1; i <= right; i++)\n+        if (A[i] < A[left]) {\n+            ++last\n+            t = A[last]; A[last] = A[i]; A[i] = t # swap A[last] and A[i]\n+        }\n+    t = A[left]; A[left] = A[last]; A[last] = t # swap A[left] and A[last]\n+    qsort(A, left, last-1)\n+    qsort(A, last+1, right)\n+}\n+\n+\n+# heapsort\n+# also unstable, and unlike merge and quicksort it relies on random-access so has poorer cache performance\n+# advantage over quicksort is that its worst-case same as avg: O(n log n)\n+# this presentation based on http:\/\/dada.perl.it\/shootout\/heapsort.lua5.html\n+function hsort(A, n,   c, p, t, i) {\n+    if (!n) {\n+        n = 1\n+        while (n in A) n++\n+        n--\n+    }\n+    i = int(n\/2) + 1\n+    while (1) {\n+        if (i > 1) {\n+            i--\n+            t = A[i]\n+        } else {\n+            t = A[n]\n+            A[n] = A[1]\n+            n--\n+            if (n == 1) {\n+                A[1] = t\n+                return\n+            }\n+        }\n+        for (p = i; (c = 2*p) <= n; p = c) {\n+            if ((c < n) && (A[c] < A[c+1]))\n+                c++\n+            if (t < A[c])\n+                A[p] = A[c]\n+            else break\n+        }\n+        A[p] = t\n+    }\n+}\n+\n+# # one of the more usual presentations\n+# function hsort(A,n,  i,t) {\n+#     if (!n) {\n+#         n = 1\n+#         while (n in A) n++\n+#         n--\n+#     }\n+#     for (i = int(n\/2); i >= 1; i--)\n+#         heapify(A, i, n)\n+#     for (i = n; i > 1; i--) {\n+#         t = A[1]; A[1] = A[i]; A[i] = t # swap A[1] and A[i]\n+#         heapify(A, 1, i-1)\n+#     }\n+# }\n+#\n+# function heapify(A,left,right,   p,c,t) {\n+#     for (p = left; (c = 2*p) <= right; p = c) {\n+#         if (c < right && A[c] < A[c+1])\n+#             c++\n+#         if (A[p] < A[c]) {\n+#             t = A[c]; A[c] = A[p]; A[p] = t # swap A[c] and A[p]\n+#         } else break\n+#     }\n+# }\n+\n+\n+\n+# if used on $0, rewrites it using OFS\n+#   if you want to preserve existing FS, need to use gsplit\n+# can also be used on array\n+# returns popped elements separated by SUBSEP\n+function pop(start,  len, A,   stop, p, last) {\n+    start = checkpos(start, 0, \"pop: first argument must be positive\")\n+    len = checknat(len, 0, \"pop: second argument must be >= 0\")\n+    if (isempty(A)) {\n+        if (!start)\n+            start = NF\n+        if (!len && !MISSING)\n+            return \"\" # explicit len=0\n+        if (!len)\n+            len = NF - start + 1\n+        stop = start + len - 1\n+        p = res = \"\"\n+        for(; ++stop <= NF; ++start) {\n+            if (len-- > 0) {\n+                res = res p $start\n+                p = SUBSEP\n+            }\n+            $start = $stop\n+        }\n+        stop = start - 1\n+        for (; start <= NF; ++start) {\n+            if (len-- > 0) {\n+                res = res p $start\n+                p = SUBSEP\n+            }\n+        }\n+        NF = stop\n+        if (!p) {\n+            # nawk won't recompute $0 just because NF was mutated\n+            if (NF) $1 = $1\n+            else $0 = \"\"\n+        }\n+        return res\n+    } else {\n+        # using array\n+        last = 1\n+        while (last in A) last++\n+        last--\n+        if (!start)\n+            start = last\n+        if (!len && !MISSING)\n+            return \"\" # explicit len=0\n+        if (!len)\n+            len = last - start + 1\n+        stop = start + len - 1\n+        p = res = \"\"\n+        for(; ++stop <= last; ++start) {\n+            if (len-- > 0) {\n+                res = res p A[start]\n+                p = SUBSEP\n+            }\n+            A[start] = A[stop]\n+        }\n+        for (; start <= last; ++start) {\n+            if (len-- > 0) {\n+                res = res p A[start]\n+                p = SUBSEP\n+            }\n+            delete A[start]\n+        }\n+        return res\n+    }\n+}\n+\n+\n+function insert(value, start,  A,   stop, last) {\n+    start = checkpos(start, 0, \"insert: second argument must be positive\")\n+    if (isempty(A)) {\n+        if (!start)\n+            start = NF + 1\n+        for (stop = NF; stop >= start; stop--) {\n+            $(stop+1) = $stop\n+        }\n+        $start = value\n+        return NF\n+    } else {\n+        # using array\n+        last = 1\n+        while (last in A) last++\n+        last--\n+        if (!start)\n+            start = last+1\n+        for (stop = last; stop >= start; stop--) {\n+            A[stop+1] = A[stop]\n+        }\n+        A[start] = value\n+        return (start > last) ? start : last + 1\n+    }\n+}\n+\n+\n+function extend(V, start,  A,   stop, lastV, last) {\n+    start = checkpos(start, 0, \"insert: second argument must be positive\")\n+    lastV = 1\n+    while (lastV in V) lastV++\n+    lastV--\n+    if (isempty(A)) {\n+        if (!lastV)\n+            return NF\n+        if (!start)\n+            start = NF + 1\n+        for (stop = NF; stop >= start; stop--) {\n+            $(stop+lastV) = $stop\n+        }\n+        for (start--; lastV > 0; lastV--)\n+            $(start+lastV) = V[lastV]\n+        return NF\n+    } else {\n+        # using array\n+        last = 1\n+        while (last in A) last++\n+        last--\n+        if (!lastV)\n+            return last\n+        if (!start)\n+            start = last+1\n+        for (stop = last; stop >= start; stop--) {\n+            A[stop+lastV] = A[stop]\n+        }\n+        last = (start > last) ? start + lastV - 1 : last + lastV\n+        for (start--; lastV > 0; lastV--)\n+            A[start + lastV] = V[lastV]\n+        return last\n+    }\n+}\n+\n+\n+function reverse(A,   i, t, last) {\n+    if (isempty(A)) {\n+        last = NF + 1\n+        for (i=1; i < last--; i++) {\n+            t = $i\n+            $i = $last\n+            $last = t\n+        }\n+    } else {\n+        # using array\n+        last = 1\n+        while (last in A) last++\n+        for (i=1; i < last--; i++) {\n+            t = A[i]\n+            A[i] = A[last]\n+            A[last] = t\n+        }\n+    }\n+}\n+\n+\n+# defaults to fields $start..$NF, using OFS\n+# if you want to preserve existing FS, need to use gsplit\n+# to concat an array without specifying len: concat(start, <uninitialized>, OFS, array)\n+function concat(start,  len, fs, A,   i, s, p, stop) {\n+    fs = check(fs, OFS)\n+    start = checkpos(start, 1, \"concat: first argument must be positive\")\n+    len = checknat(len, 0, \"concat: second argument must be >= 0\")\n+    if (!len && !MISSING)\n+        return \"\" # explicit len=0\n+    s = p = \"\"\n+    if (isempty(A)) {\n+        if (len)\n+            stop = start + len - 1\n+        else\n+            stop = NF\n+        # more with fields\n+        for (i=start; i<=stop; i++) {\n+            s = s p $i\n+            p = fs\n+        }\n+    } else {\n+        # using array\n+        if (len)\n+            stop = start + len - 1\n+        for (i=start; len ? i<=stop : i in A; i++) {\n+            s = s p A[i]\n+            p = fs\n+        }\n+    }\n+    return s\n+}\n+\n+\n+function has_value(A, value,   k) {\n+    for (k in A)\n+        if (k[A] == value)\n+            return true\n+    return false\n+}\n+\n+\n+# if onlykeys, values are ignored\n+function includes(A, B,  onlykeys,   k) {\n+    for (k in B)\n+        if (!(k in A && (onlykeys || A[k] == B[k])))\n+            return 0\n+    return 1\n+}\n+\n+\n+# if conflicts=0, drop keys; else favor A1 or A2; default=1\n+function union(A1, A2,  conflicts,   k) {\n+    conflicts = checknat(conflicts, 1, \"union: third argument must be 0, 1, or 2\")\n+    if (conflicts > 2) die(\"union: third argument must be 0, 1, or 2\")\n+    for (k in A2)\n+        if (k in A1) {\n+           if (conflicts == 2)\n+                A1[k] = A2[k]\n+            else if (conflicts == 0 && A1[k] != A2[k])\n+                delete A1[k]\n+        } else {\n+            A1[k] = A2[k]\n+        }\n+}\n+\n+\n+# if conflicts=0, drop keys; else favor A1 or A2; default=1\n+function intersect(A1, A2,  conflicts,   k) {\n+    conflicts = checknat(conflicts, 1, \"intersect: third argument must be 0, 1, or 2\")\n+    if (conflicts > 2) die(\"intersect: third argument must be 0, 1, or 2\")\n+    for (k in A1)\n+        if (k in A2) {\n+            if (conflicts == 2)\n+                A1[k] = A2[k]\n+            else if (conflicts == 0 && A1[k] != A2[k])\n+                delete A1[k]\n+        } else {\n+            delete A1[k]\n+        }\n+}\n+\n+\n+# if conflicts=0, drop keys; else keep them (favoring A1); default=1\n+function subtract(A1, A2,  conflicts,   k) {\n+    conflicts = checknat(conflicts, 1, \"subtract: third argument must be 0 or 1\")\n+    if (conflicts > 1) die(\"subtract: third argument must be 0 or 1\")\n+    for (k in A2)\n+        if (k in A1) {\n+            if (conflicts == 0 || A1[k] == A2[k])\n+                delete A1[k]\n+        }\n+}\n+\n+\n+## string utils #########\n+\n+\n+# 'quote' str for shell\n+function quote(str) {\n+    gsub(\/'\/, \"'\\\\''\", str)\n+    return \"'\" str \"'\"\n+}\n+\n+\n+# delete \"quoted\" spans, honoring \\\\ and \\\"\n+function delete_quoted(str, q,  repl) {\n+    if (q == \"\") q = \"\\\"\"\n+    gsub(q \"((\\\\\\\\\" q \")*([^\" q \"\\\\\\\\]|\\\\\\\\[^\" q \"])*)*\" q, repl, str)\n+    return str\n+}\n+\n+\n+# repeat str n times, from http:\/\/awk.freeshell.org\/RepeatAString\n+function rep(str, n,  sep,   remain, result) {\n+    if (n < 2) {\n+        remain = (n == 1)\n+        result = sep = \"\"\n+    } else {\n+        remain = (n % 2 == 1)\n+        result = rep(str, (n - remain) \/ 2, sep)\n+        result = result sep result\n+    }\n+    return result (remain ? sep str  :\"\")\n+}\n+\n+\n+# -- remove trailing and leading whitespace from string\n+function trim(str) {\n+    if (match(str, \/[^ \\t\\n].*[^ \\t\\n]\/))\n+        return substr(str, RSTART, RLENGTH)\n+    else if (match(str, \/[^ \\t\\n]\/))\n+        return substr(str, RSTART, 1)\n+    else\n+        return \"\"\n+}\n+\n+# # faster than either of:\n+# function trim2(str) {\n+#     sub(\/^[ \\t\\n]+\/, \"\", str)\n+#     sub(\/[ \\t\\n]+$\/, \"\", str)\n+#     return str\n+# }\n+# function trim3(str,  from) {\n+#     match(str, \/^[ \\t\\n]*\/)\n+#     if ((from = RLENGTH) < length(str)) {\n+#         match(str, \/.*[^ \\t\\n]\/)\n+#         return substr(str, from+1, RLENGTH-from)\n+#     } else return \"\"\n+# }\n+\n+\n+# -- remove leading whitespace from string\n+function trimleft(str) {\n+    if (match(str, \/^[ \\t\\n]+\/))\n+        return substr(str, RLENGTH+1)\n+    else\n+        return str\n+}\n+\n+# # nearly the same performance as\n+# function trimleft2(str) {\n+#     sub(\/^[ \\t\\n]+\/, \"\", str)\n+#     return str\n+# }\n+\n+\n+# -- remove trailing whitespace from string\n+function trimright(str) {\n+    if (match(str, \/.*[^ \\t\\n]\/))\n+        return substr(str, RSTART, RLENGTH)\n+    else\n+        return \"\"\n+}\n+\n+# # faster than either of:\n+# function trimright2(str,   n) {\n+#     n = length(str)\n+#     while (n && match(substr(str, n), \/^[ \\t\\n]\/)) n--\n+#     return substr(str, 1, n)\n+# }\n+# function trimright3(str) {\n+#     sub(\/[ \\t\\n]+$\/, \"\", str)\n+#     return str\n+# }\n+\n+\n+# TODO\n+## cut to max of 10 chars: `sprintf \"%.10s\", str`\n+\n+\n+# TODO\n+# function string:linewrap(width, indent)\n+#     checktype(self, 1, \"string\")\n+#     checkopt(width, 2, \"positive!\") or 72\n+#     checkopt(indent, 3, \"natural!\") or 0\n+#     local pos = 1\n+#     -- rest needs to be converted from Lua\n+#     return self:gsub(\"(%s+)()(%S+)()\",\n+#         function(sp, st, word, fi)\n+#             if fi - pos > width then\n+#                 pos = st\n+#                 return \"\\n\" .. rep(\" \", indent) .. word\n+#             end\n+#         end)\n+# end\n+\n+\n+function has_prefix(str, pre,   len2) {\n+        len2 = length(pre)\n+        return substr(str, 1, len2) == pre\n+}\n+\n+\n+function has_suffix(str, suf,   len1, len2) {\n+        len1 = length(str)\n+        len2 = length(suf)\n+        return len2 <= len1 && substr(str, len1 - len2 + 1) == suf\n+}\n+\n+\n+function detab(str, siz,    n, r, s, start) {\n+    siz = checkpos(siz, 8, \"detab: second argument must be positive\")\n+    r = \"\"\n+    n = start = 0\n+    while (match(str, \"\\t\")) {\n+        start += RSTART\n+        s = siz - (start - 1 + n) % siz\n+        n += s - 1\n+        r = r substr(str, 1, RSTART-1) rep(\" \", s)\n+        str = substr(str, RSTART+1)\n+    }\n+    return r str\n+}\n+\n+\n+function entab(str, siz) {\n+    siz = checkpos(siz, 8, \"detab: second argument must be positive\")\n+    str = detab(str, siz)\n+    gsub(\".{\" siz \"}\", \"&\\1\", str)\n+    gsub(\" +\\1\", \"\\t\", str)\n+    gsub(\"\\1\", \"\", str)\n+    return str\n+}\n+\n+\n+## regexp utils #########\n+## WARNING: \/re\/ evaluates as boolean, so have to pass \"re\"s to user functions\n+\n+# populate array from str=\"key key=value key=value\"\n+# can optionally supply \"re\" for equals, space; if they're the same or equals is \"\", array will be setlike\n+function asplit(str, array,  equals, space,   aux, i, n) {\n+    n = split(str, aux, (space == \"\") ? \"[ \\n]+\" : space)\n+    if (space && equals == space)\n+        equals = \"\"\n+    else if (ismissing(equals))\n+        equals = \"=\"\n+    split(\"\", array) # delete array\n+    for (i=1; i<=n; i++) {\n+        if (equals && match(aux[i], equals))\n+            array[substr(aux[i], 1, RSTART-1)] = substr(aux[i], RSTART+RLENGTH)\n+        else\n+            array[aux[i]]\n+    }\n+    split(\"\", aux) # does it help to delete the aux array?\n+    return n\n+}\n+\n+\n+# like lua's find(\"%b()\"), --> RSTART and sets RSTART and RLENGTH\n+function bmatch (s, opener, closer,   len, i, n, c) {\n+    len = length(s)\n+    n = 0\n+    for (i=1; i <= len; ++i) {\n+        c = substr(s, i, 1)\n+        if (c == opener) {\n+            if (n == 0) RSTART = i\n+            ++n\n+        } else if (c == closer) {\n+            --n\n+            if (n == 0) {\n+                RLENGTH = i - RSTART + 1\n+                return RSTART\n+            }\n+        }\n+    }\n+    return 0\n+}\n+\n+\n+# TODO\n+# tail not defined for negative nth (doesn't make sense, will always be none)\n+# negative nth with zero-length matches:\n+#   - head returns one element too early, or sometimes wrongly?\n+#   - matchstr diverges\n+function tail(str,  re, nth, m,  start, n) {\n+    nth = checkpos(nth, 1, \"tail: third argument must be positive\")\n+    re = check(re, SUBSEP)\n+    if (nth == 1) {\n+        if (match(str, re)) {\n+            m = substr(str, RSTART + RLENGTH)\n+            RSTART += RLENGTH\n+            RLENGTH = length(m)\n+        }\n+        return m\n+    } else {\n+        RLENGTH = -1\n+        start = 1\n+        while (nth--) {\n+            if (RLENGTH > 0) {\n+                str = substr(str, RSTART + RLENGTH)\n+                start += RLENGTH - 1\n+            } else if (RLENGTH == 0) {\n+                start++\n+                if ((str = substr(str, RSTART + 1)) == \"\") {\n+                    nth--\n+                    break\n+                }\n+            }\n+            n = (RLENGTH > 0)\n+            if (!match(str, re)) break\n+            if (n && !RLENGTH) {\n+                assert(RSTART == 1 && nth >= 0)\n+                if ((str = substr(str, 2)) == \"\" || !match(str, re)) break\n+                start++\n+            }\n+            start += RSTART + n - 1\n+        }\n+        if (nth >= 0) {\n+            RSTART = 0\n+            RLENGTH = -1\n+        } else {\n+            m = substr(str, RSTART + RLENGTH)\n+            RSTART = start + RLENGTH\n+            RLENGTH = length(m)\n+        }\n+        return m\n+    }\n+}\n+\n+\n+# this returns items between \"re\"; matchstr returns what matches \"re\"\n+# 3rd argument to specify which item (-1 for last)\n+# defaults to re=SUBSEP nth=1st none=\"\"\n+function head(str, re, nth,  none,   start, m, n) {\n+    if (nth != -1) {\n+        nth = checkpos(nth, 1, \"head: third argument must be positive\")\n+    }\n+    re = check(re, SUBSEP)\n+    if (nth == 1) {\n+        if (match(str, re)) {\n+            RLENGTH = RSTART - 1\n+            str = substr(str, 1, RLENGTH)\n+        } else {\n+            RLENGTH = length(str)\n+        }\n+        RSTART = 1\n+        return str\n+    } else {\n+        # # to get arbitrary item, we just split\n+        # nf = split(str, aux, re)\n+        # if (nth == -1 && nf > 0)\n+        #     m = aux[nf]\n+        # else if (nth in aux)\n+        #     m = aux[nth]\n+        # split(\"\", aux) # does it help to delete the aux array?\n+        # return m\n+\n+        # I simplified and streamlined as much as I could, while still passing tests.\n+        m = (nth > 0) ? none : \"\"\n+        RLENGTH = -1\n+        start = 1\n+        while (nth--) {\n+            if (RLENGTH > 0) {\n+                str = substr(str, RSTART + RLENGTH)\n+                start += RSTART + RLENGTH - n\n+                m = (nth > 0) ? none : str\n+            } else if (RLENGTH==0) {\n+                start += RSTART + 1\n+                m = n ? substr(str, 2, 1) : str\n+                if ((str = substr(str, 2+n)) == \"\") {\n+                    if (!m || nth > 1) {\n+                        RSTART = 0\n+                        RLENGTH = -1\n+                        return none\n+                    } else if (nth-- > 0)\n+                        m = \"\"\n+                    else\n+                        start--\n+                    break\n+                }\n+            }\n+            n = (RLENGTH > 0)\n+            if (!match(str, re)) break\n+            if (RSTART > 1)\n+                m = substr(str, 1, RSTART-1)\n+            else\n+                m = (n && RLENGTH) ? \"\" : substr(m, 1, 1)\n+            start += n - 1\n+        }\n+        if (nth <= 0) {\n+            RSTART = start\n+            RLENGTH = length(m)\n+        }\n+        return m\n+    }\n+}\n+\n+\n+# 3rd argument to specify occurrence (default=1st, -1=last)\n+# permits one 0-length match at RSTART = length(str)+1\n+function matchstr(str, re, nth,  none,   m, start, len, n) {\n+    start = n = 0\n+    if (nth == -1) {\n+        # find last occurrence\n+        len = -1\n+        m = none\n+        while (match(str, re)) {\n+            start = (n += RSTART)\n+            len = RLENGTH\n+            m = substr(str, RSTART, RLENGTH)\n+            # handle 0-length match\n+            if (!RLENGTH) RLENGTH++\n+            n += RLENGTH - 1\n+            str = substr(str, RSTART + RLENGTH)\n+        }\n+        RSTART = start\n+        RLENGTH = len\n+        return m\n+    }\n+    nth = checkpos(nth, 1, \"matchstr: third argument must be positive\")\n+    RLENGTH = -1\n+    start = 1\n+    while (nth--) {\n+        if (RLENGTH > 0) {\n+            str = substr(str, RSTART + RLENGTH)\n+            start += RLENGTH - 1\n+        } else if (RLENGTH == 0) {\n+            start++\n+            if ((str = substr(str, RSTART + 1)) == \"\") {\n+                nth--\n+                break\n+            }\n+        }\n+        n = (RLENGTH > 0)\n+        if (!match(str, re)) break\n+        if (n && !RLENGTH) {\n+            assert(RSTART == 1 && nth >= 0)\n+            if ((str = substr(str, 2)) == \"\" || !match(str, re)) break\n+            start++\n+        }\n+        start += RSTART + n - 1\n+    }\n+    if (nth >= 0) {\n+        RSTART = 0\n+        RLENGTH = -1\n+        return none\n+    } else {\n+        m = substr(str, RSTART, RLENGTH)\n+        RSTART = start\n+        return m\n+    }\n+}\n+\n+\n+# 3rd argument to specify occurrence (default=1st, -1=last)\n+function nthindex(str, needle, nth,   i, n, len, start) {\n+    start = 0\n+    n = 0\n+    len = length(needle)\n+    if (nth == -1) {\n+        # find last occurrence\n+        while ((i = index(str, needle)) > 0) {\n+            n = start + i\n+            start += (i + len -1)\n+            str = substr(str, i + len)\n+        }\n+        return n\n+    }\n+    nth = checkpos(nth, 1, \"nthindex: third argument must be positive\")\n+    do {\n+        if (n > 0) {\n+            str = substr(str, n + len)\n+            start += (len -1)\n+        }\n+        n = index(str, needle)\n+        start += n\n+    } while (n && --nth)\n+    return nth ? 0 : start\n+}\n+\n+\n+# gawk's match does only a single match, and returns \\0,\\1..\\n, starts, and lengths in a single array\n+# this function does global match, and returns only \\0 and starts, in two arrays\n+function gmatch(str, re,  ms, starts,   i, n, start, sep1, sep2) {\n+    # find separators that don't occur in str\n+    i = 1\n+    do\n+        sep1 = sprintf(\"%c\", i++)\n+    while (sep1 ~ \/[][^$(){}.*+?|\\\\]\/ || index(str, sep1))\n+    do\n+        sep2 = sprintf(\"%c\", i++)\n+    while (index(str, sep2))\n+    split(\"\", starts) # delete array\n+    n = gsub(re, sep1 \"&\" sep2, str)\n+    split(str, ms, sep1)\n+    start = 1\n+    for (i=1; i<=n; i++) {\n+        start += length(ms[i])\n+        starts[i] = start--\n+        ms[i] = substr(ms[i+1], 1, index(ms[i+1], sep2) - 1)\n+    }\n+    delete ms[i]\n+    return n\n+}\n+\n+\n+# function gmatch(str, re,  ms, starts,   n, i, start, stop, eaten, sep1, sep2) {\n+#     n = 0\n+#     eaten = 0\n+#     # find separators that don't occur in str\n+#     i = 1\n+#     do\n+#         sep1 = sprintf(\"%c\", i++)\n+#     while (index(str, sep1))\n+#     do\n+#         sep2 = sprintf(\"%c\", i++)\n+#     while (index(str, sep2))\n+#     split(\"\", ms) # delete array\n+#     split(\"\", starts) # delete array\n+#     i = gsub(re, sep1 \"&\" sep2, str)\n+#     while (i--) {\n+#         start = index(str, sep1)\n+#         stop = index(str, sep2) - 1\n+#         # testing for the arrays interpret them as scalar; just use them\n+#         ms[++n] = substr(str, start + 1, stop - start)\n+#         starts[n] = eaten + start\n+#         eaten += stop - 1\n+#         str = substr(str, stop + 2)\n+#     }\n+#     return n\n+# }\n+\n+\n+# based on <http:\/\/awk.freeshell.org\/FindAllMatches>\n+# function gmatch(str, re,  ms, starts,   n, i, eaten) {\n+#     n = 0\n+#     eaten = 0\n+#     # we check number of matches to help avoid rematching anchored REs\n+#     # but note this isn't a reliable solution: \"^a|b\" will wrongly match indices 1 and 2 of \"aab\"\n+#     i = gsub(re, \"&\", str)\n+#     while (i-- && match(str, re) > 0) {\n+#         # testing for the arrays interpret them as scalar; just use them\n+#         ms[++n] = substr(str, RSTART, RLENGTH)\n+#         starts[n] = eaten + RSTART\n+#         # handle 0-length match\n+#         if (!RLENGTH) RLENGTH++\n+#         eaten += (RSTART + RLENGTH -1)\n+#         str = substr(str, RSTART + RLENGTH)\n+#     }\n+#     return n\n+# }\n+\n+\n+# behaves like gawk's split; special cases re == \"\" and \" \"\n+# unlike split, will honor 0-length matches\n+function gsplit(str, items, re,  seps,   n, i, start, stop, sep1, sep2, sepn) {\n+    n = 0\n+    # find separators that don't occur in str\n+    i = 1\n+    do\n+        sep1 = sprintf(\"%c\", i++)\n+    while (index(str, sep1))\n+    do\n+        sep2 = sprintf(\"%c\", i++)\n+    while (index(str, sep2))\n+    sepn = 1\n+    split(\"\", seps) # delete array\n+    if (ismissing(re))\n+        re = FS\n+    if (re == \"\") {\n+        split(str, items, \"\")\n+        n = length(str)\n+        for (i=1; i<n; i++)\n+            seps[i]\n+        return n\n+    }\n+    split(\"\", items) # delete array\n+    if (re == \" \") {\n+        re = \"[ \\t\\n]+\"\n+        if (match(str, \/^[ \\t\\n]+\/)) {\n+            seps[0] = substr(str, 1, RLENGTH)\n+            str = substr(str, RLENGTH+1)\n+        }\n+        if (match(str, \/[ \\t\\n]+$\/)) {\n+            sepn = substr(str, RSTART, RLENGTH)\n+            str = substr(str, 1, RSTART-1)\n+        }\n+    }\n+    i = gsub(re, sep1 \"&\" sep2, str)\n+    while (i--) {\n+        start = index(str, sep1)\n+        stop = index(str, sep2) - 1\n+        seps[++n] = substr(str, start + 1, stop - start)\n+        items[n] = substr(str, 1, start - 1)\n+        str = substr(str, stop + 2)\n+    }\n+    items[++n] = str\n+    if (sepn != 1) seps[n] = sepn\n+    return n\n+}\n+\n+\n+## debugging #########\n+\n+function dump(array,  prefix,   i) {\n+    for (i in array) {\n+        printf \"%s[%s]=<%s>\\n\", prefix, i, array[i]\n+    }\n+}\n+\n+\n+# idump(array, [[start],stop], [prefix])\n+function idump(array,  stop, prefix,   i, start) {\n+    if (isnum(prefix)) {\n+        start = stop\n+        stop = prefix\n+        prefix = i\n+    } else start = 1\n+    for (i=start; !stop || i<=stop; i++)\n+        if (i in array) {\n+            printf \"%s[%d]=<%s>\\n\", prefix, i, array[i]\n+        } else if (!stop) break\n+}\n+\n+\n+## getopt-handling #########\n+\n+function usage(basename, version, description, summary, longsummary, addl, optstring, options, minargs) {\n+    gsub(\/\\n\/, \"\\n \", longsummary)\n+    description = \"Usage:   \" basename \" \" summary \"\\n         \" description \"\\nAuthor:  Jim Pryor <dubiousjim@gmail.com>\\nVersion: \" version \"\\n\\nOptions:\\n \" longsummary (addl ? \"\\n\\n\" addl : \"\") \"\\n\\nThis script is in the public domain, free from copyrights or restrictions.\"\n+    getopt(optstring, options, basename, version, description)\n+    if (ARGC - 1 < minargs) {\n+        print description > \"\/dev\/stderr\"\n+        exit 2\n+    }\n+}\n+\n+\n+function getopt(optstring, options, basename, version, usage_msg,   i, j, o, m, n, a, d) {\n+    # options[\"long\"] = \"\"         option with no argument\n+    # options[\"long\"] = \":\"        option with required argument, only remember last occurrence\n+    # options[\"long\"] = \"?default\" option with optional argument, only remember last occurrence\n+    # options[\"long\"] = \"+\"        repeatable option with required argument, results will be separated by SUBSEP\n+    # options[\"long\"] = \"*default\" repeatable option with optional argument, results will be separated by SUBSEP (not useful? disabled)\n+\n+    # optstring = \"ab:c?d+e*\" ~~> { a=\"\", b=\":\", c=\"?\", d=\"+\", e=\"*\" }\n+\n+    for (i=1; i<=length(optstring); ) {\n+        options[m = substr(optstring, i++, 1)]\n+        if (substr(optstring, i, 1) ~ \/[:+?]\/)  # \/[:+?*]\/ disabled *\n+            options[m] = substr(optstring, i++, 1)\n+    }\n+\n+    for (i=1; i<ARGC; ) {\n+        if (ARGV[i] == \"--\") {\n+            # end of option arguments\n+            i++\n+            break\n+        } else if (ARGV[i] ~ \/^--[a-z][a-z]\/) {\n+            m = substr(ARGV[i++], 3)\n+            if (m == \"version\") {\n+                printf \"%s version %s\\n\", basename, version > \"\/dev\/stderr\"\n+                exit 0\n+            } else if (m == \"help\") {\n+                print usage_msg > \"\/dev\/stderr\"\n+                exit 0\n+            }\n+            if (j = index(m, \"=\")) {\n+                a = substr(m, j+1)\n+                m = substr(m, 1, j-1)\n+            }\n+            if (!(m in options)) {\n+                printf \"%s: unknown option --%s\\n\", basename, m > \"\/dev\/stderr\"\n+                exit 2\n+            }\n+        } else if (ARGV[i] ~ \/^--\/) {\n+            printf \"%s: unknown option %s\\n\", basename, ARGV[i] > \"\/dev\/stderr\"\n+            exit 2\n+        } else if (ARGV[i] ~ \/^-.\/) { \n+            m = substr(ARGV[i], 2, 1)\n+            if (length(ARGV[i]) == 2) {\n+                j = 0 # no argument yet\n+                i++\n+            } else {\n+                j = 1 # flag unknown argument\n+                a = substr(ARGV[i], 3)\n+                ARGV[i] = \"-\" a\n+            }\n+            if (!(m in options)) {\n+                printf \"%s: unknown option -%s\\n\", basename, m > \"\/dev\/stderr\"\n+                exit 2\n+            }\n+        } else {\n+            # first non-option argument\n+            break\n+        }\n+\n+        n = substr(options[m], 1, 1)\n+        if (n == \":\" || n == \"+\") {\n+            if (j==1) {\n+                # consume rest of current ARGV\n+                i++\n+            } else if (j==0)\n+                if (i<ARGC && (a = ARGV[i]) !~ \/^-\/)\n+                    i++\n+                else {\n+                    printf \"%s: option -%s%s missing required argument\\n\", basename, (length(m)==1) ? \"\" : \"-\", m > \"\/dev\/stderr\"\n+                    exit 2\n+                }\n+            # :[SUBSEP arg] gets reassigned\n+            # +[SUBSEP arg...] is repeatable\n+            options[m] = ((n==\":\") ? n : options[m]) SUBSEP a\n+        } else if (n == \"?\") {  #   || n == \"*\" disabled *\n+            d = index(options[m], SUBSEP)\n+            d = substr(options[m], 2, d ? d-1 : length(options[m]))\n+            if (j==1) {\n+                # consume rest of current ARGV\n+                i++\n+            } else if (j==0)\n+                if (i<ARGC && (a = ARGV[i]) !~ \/^-\/)\n+                    i++\n+                else {\n+                    # missing optional argument\n+                    a = d\n+                }\n+            # ?default[SUBSEP arg] gets reassigned\n+            # *default[SUBSEP arg...] is repeatable\n+            options[m] = ((n==\"?\") ? \"?\" d : options[m]) SUBSEP a\n+        } else {\n+            if (j>1) {\n+                printf \"%s: option --%s doesn't accept an argument\\n\", basename, m > \"\/dev\/stderr\"\n+                exit 2\n+            }\n+            options[m] = ++o\n+        }\n+    }\n+    if (i>1) {\n+        for (j=1; i<ARGC; )\n+            ARGV[j++] = ARGV[i++]\n+        ARGC = j\n+    }\n+    for (m in options) {\n+        if (options[m] ~ \/^[:+?*]\/) {\n+            if (k = index(options[m], SUBSEP))\n+                options[m] = substr(options[m], k+1)\n+            else\n+                delete options[m]\n+        } else if (!(options[m]))\n+            delete options[m]\n+    }\n+}\n+\n+\n+\n+## os\/filesystem #########\n+\n+# assert(system(cmd) == 0, \"system(\\\"\" cmd \"\\\") failed\")\n+\n+\n+function isreadable(path) {\n+    return (system(\"test -r \" quote(path)) == 0)\n+}\n+\n+# function isreadable(path,   v, res) {\n+#     res = 0\n+#     if ((getline v < path) >= 0) {\n+#         res = 1 # though file may be empty\n+#         close(path)\n+#     }\n+#     return res\n+# }\n+\n+\n+function filesize(path,   followlink,  v, cmd) {\n+    cmd = \"ls -ld \" (followlink ? \"-L \" : \"\") quote(path) \" 2>\/dev\/null\"\n+    if (0 < (cmd | getline v)) {\n+        close(cmd)\n+        if (v ~ \/^-\/) {\n+            return head(v, \" \", 5) # filesize\n+        } else {\n+            return \"\" # not regular file\n+        }\n+    } else {\n+        close(cmd)\n+        return -1 # file doesn't exist\n+    }\n+}\n+\n+\n+function filetype(path,   followlink,  v, cmd) {\n+    cmd = \"ls -ld \" (followlink ? \"-L \" : \"\") quote(path) \" 2>\/dev\/null\"\n+    if (0 < (cmd | getline v)) {\n+        close(cmd)\n+        v = substr(v, 1, 1) # -dlcbsp\n+        if (v == \"-\")\n+            return \"f\" # this ensures that error result < all non-error results\n+        else\n+            return v\n+    } else {\n+        close(cmd)\n+        return -1 # file doesn't exist\n+    }\n+}\n+\n+\n+function basename(path, suffix) {\n+    sub(\/\\\/$\/, \"\", path)\n+    if (path == \"\")\n+        return \"\/\"\n+    sub(\/^.*\\\/\/, \"\", path)\n+    if (suffix != \"\" && has_suffix(path, suffix))\n+        path = substr(path, 1, length(path) - length(suffix))\n+    return path\n+}\n+\n+\n+function dirname(path, suffix) {\n+    if (!sub(\/\\\/[^\\\/]*\\\/?$\/, \"\", path))\n+        return \".\"\n+    else if (path != \"\")\n+        return path\n+    else\n+        return \"\/\"\n+}\n+\n+\n+function getfile(path,   v, p, res) {\n+    res = p = \"\"\n+    while (0 < (getline v < path)) {\n+        res = res p v\n+        p = \"\\n\"\n+    }\n+    assert(close(path) == 0, \"close(\\\"\" path \"\\\") failed\")\n+    return res\n+}\n+\n+\n+function getpipe(cmd,   v, p, res) {\n+    res = p = \"\"\n+    while (0 < (cmd | getline v)) {\n+        res = res p v\n+        p = \"\\n\"\n+    }\n+    assert(close(cmd) == 0, \"close(\\\"\" cmd \"\\\") failed\")\n+    return res\n+}\n+\n+\n+# creates a file that will be deleted when awk exits; works on FreeBSD, should also work on BusyBox, whose `trap` accepts only numeric signals; also FreeBSD permits `mktemp -t awk` but BusyBox requires `mktemp -t \/tmp\/awk.XXXXXX`\n+function mktemp(   cmd, v) {\n+    # base directory is -p DIR, else ${TMPDIR-\/tmp}\n+    # -t tmp.XXXXXX or TEMPLATE\n+    cmd = \"T=`mktemp \\\"${TMPDIR:-\/tmp}\/awk.XXXXXX\\\"` || exit 1; trap \\\"rm -f '$T'\\\" 0 1 2 3 15; printf '%s\\n' \\\"$T\\\"; cat \/dev\/zero\"\n+#     0\/EXIT\n+#     1\/HUP: controlling terminal or process died\n+#     2\/INT ^C from keyboard\n+#     15\/TERM\n+\n+#     3\/QUIT ^\\ from keyboard\n+#     6\/ABRT from abort(2)\n+#     13\/PIPE: write to pipe with no readers\n+#     14\/ALRM from alarm(2), e.g. if script calls sleep\n+\n+# other stty keys: eof=^d start\/stop=^q\/^s susp=^z dsusp=^y\n+#                  erase\/erase2=^?\/^h werase=^w kill=^u reprint=^r lnext=^v\n+#                  flush\/discard=^o status=^t\n+\n+    if (0 < (cmd | getline v)) {\n+        return v\n+    } else {\n+        return \"\"\n+    }\n+    # we intentionally don't close the pipe\n+}\n+\n"}
{"commit":"c5615003ecbbddca32382a28ff29db57af9aecdb","subject":"Oops.","message":"Oops.\n","repos":"citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/citycloud-bigdata\/mondrian.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"344beeb59d6c4e0780cbb20cd174f48c6fb95846","subject":"Integrate change 2b890aceb9782c5d0442c475bc920abeb40cc2dc.","message":"Integrate change 2b890aceb9782c5d0442c475bc920abeb40cc2dc.\n","repos":"citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/citycloud-bigdata\/mondrian.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"70c6409b8a8865527978143ab2403ec51023992a","subject":"added open_c\/version.awk","message":"added open_c\/version.awk\n\ndarcs-hash:20070430115950-1b897-969397f11883eeb2a4024a2575f72be1494d5fde.gz\n","repos":"xhook\/sofia-sip,unispeech\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,jart\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,erdincay\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,xhook\/sofia-sip,BelledonneCommunications\/sofia-sip,erdincay\/sofia-sip,unispeech\/sofia-sip,erdincay\/sofia-sip,jart\/sofia-sip,BelledonneCommunications\/sofia-sip","returncode":1,"stderr":"error: pathspec 'open_c\/version.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- open_c\/version.awk\n+++ open_c\/version.awk\n@@ -0,0 +1,51 @@\n+#! \/bin\/gawk\n+#\n+# This script extracts the version information from configure.ac\n+# and re-generates win32\/config.h and \n+# libsofia-sip-ua\/features\/sofia_sip_features.h\n+#\n+# --------------------------------------------------------------------\n+#\n+# This file is part of the Sofia-SIP package\n+#\n+# Copyright (C) 2005 Nokia Corporation.\n+#\n+# Contact: Pekka Pessi <pekka.pessi@nokia.com>\n+#\n+# This library is free software; you can redistribute it and\/or\n+# modify it under the terms of the GNU Lesser General Public License\n+# as published by the Free Software Foundation; either version 2.1 of\n+# the License, or (at your option) any later version.\n+#\n+# This library is distributed in the hope that it will be useful, but\n+# WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n+# Lesser General Public License for more details.\n+#\n+# You should have received a copy of the GNU Lesser General Public\n+# License along with this library; if not, write to the Free Software\n+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n+# 02110-1301 USA\n+#\n+# --------------------------------------------------------------------\n+#\n+# Contributor(s): Pekka.Pessi@nokia.com.\n+#\n+# Created: Wed Jan 25 15:57:10 2006 ppessi\n+#\n+\n+BEGIN { IN=1; OUT=0; }\n+\n+IN && \/^AC_INIT\/ { version=$2; gsub(\/[\\]\\[)]\/, \"\", version); }\n+\n+OUT && \/@[A-Z_]+@\/ { \n+  gsub(\/@PACKAGE_VERSION@\/, version);\n+  gsub(\/@PACKAGE_BUGREPORT@\/, \"sofia-sip-devel@lists.sourceforge.net\");\n+  gsub(\/@PACKAGE_NAME@\/, \"sofia-sip\");\n+  gsub(\/@PACKAGE@\/, \"sofia-sip\");\n+  gsub(\/@PACKAGE_STRING@\/, \"sofia-sip\");\n+  gsub(\/@PACKAGE_TARNAME@\/, \"sofia-sip\");\n+}\n+\n+OUT { print; }\n+\n"}
{"commit":"14f25acc054eec21a84cf74754d1eb7a525c0818","subject":"    print ad_join(sb, RS)","message":"    print ad_join(sb, RS)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"c3957b53d0925d526e362dacff0ba9f53672d19a","subject":"stuipd cray awk wants \\#","message":"stuipd cray awk wants \\#\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@4873 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"ec34db2d5dd7dd46e400da449ad2a3076da32d73","subject":"inital add; gen stats on rdf statements","message":"inital add; gen stats on rdf statements\n","repos":"TomConlin\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,monarch-initiative\/dipper,TomConlin\/dipper","returncode":1,"stderr":"error: pathspec 'scripts\/spote_count.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/spote_count.awk\n+++ scripts\/spote_count.awk\n@@ -0,0 +1,80 @@\n+#! \/usr\/bin\/gawk -f\n+# spote_count.awk\n+# RDF ntriple counts for:\n+# subject predicate object triples entity\n+#\n+# spote_count.awk -v\"RELEASE=YYYYMM\" path\/file.nt\n+\n+\n+function sum(a, t){\n+    for(i in a)\n+        t += a[i]\n+    return t\n+}\n+\n+BEGIN{\n+    if(! RELEASE)\n+        \"date +%Y%m\" | getline RELEASE;\n+    FS = \" \"\n+    archive = \"https:\/\/archive.monarchinitiative.org\/\"\n+}\n+\n+# iri objects\n+\/^.*> .$\/ {\n+    s[$1]++;p[$2]++;o[$3]++\n+}\n+\n+# entities  (typed subjects)\n+$2 == \"<http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type>\" {\n+    e[$1]++\n+}\n+\n+# literal objects\n+\/^.*\" .$\/ {\n+    s[$1]++;p[$2]++;\n+    # not counting literals for now\n+    # $1=\"\";$2=\"\";l[$0]++\n+}\n+\n+# not counting bnodes for now\n+# blank node subject\n+#\/^[^ ]*\\.well-known\\\/genid\/ {\n+#    bs[$1]++\n+#    b[$1]++\n+#}\n+\n+# blank node object\n+#\/ <[^ ]*\\.well-known\\\/genid\/ {\n+#    bo[$3]++\n+#    b[$3]++\n+#}\n+\n+END{\n+    split(FILENAME, path, \"\/\")\n+    graphname = path[length(path)]\n+    # still has extension '.nt' might need to truncate\n+\n+    subject_iri = \"<\" archive RELEASE \"\/rdf\/\" graphname \">\"\n+    subject_curie = \"MonarchArchive:\" RELEASE \"\/rdf\/\" graphname\n+\n+    # turtle like output for now b\/c _datasets output is always turtle\n+    # not sure if or how this will get intregrated.\n+\n+    print \"@prefix MonarchArchive: <https:\/\/archive.monarchinitiative.org\/> .\"\n+    print \"@prefix void: <http:\/\/rdfs.org\/ns\/void#> .\"\n+\n+    print subject_curie \" a dctypes:Dataset ;\"  # redundant typing\n+    print \"\\tvoid:distinctSubjects \" length(s)  \" \/ \" sum(s) \" ;\"\n+    print \"\\tvoid:distinctObjects \"  length(o)  \" \/ \" sum(o) \" ;\"\n+    print \"\\tvoid:entities \"         length(e)  \" \/ \" sum(e) \" ;\"\n+    print \"\\tvoid:properties \"       length(p)  \" \/ \" sum(p) \" ;\"\n+\n+    # not aware of what predicates to use. (have not researched)\n+    # print \"\\texample:literals \"      length(l)  \" \/ \" sum(l) \" ;\"\n+    # print \"\\texample:blanknode \"     length(b)  \" \/ \" sum(b) \" ;\"\n+    # print \"\\texample:bnodesub \"      length(bs) \" \/ \" sum(bs) \" ;\"\n+    # print \"\\texample:bnodeobj \"      length(bo) \" \/ \" sum(bo) \" ;\"\n+\n+    print \"\\tvoid:triples \" FNR \" .\"\n+\n+}\n"}
{"commit":"06e6f1a302e894efb6667c03f7af157750a51c1f","subject":"AWK script to get PharmGKB-UMLS mappings","message":"AWK script to get PharmGKB-UMLS mappings\n","repos":"pidr\/sources2rdf","returncode":1,"stderr":"error: pathspec 'parse_drugs_tsv.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- parse_drugs_tsv.awk\n+++ parse_drugs_tsv.awk\n@@ -0,0 +1,14 @@\n+BEGIN { print \"D\u00e9but du parcours\"\n+FS=\"\\t\" }\n+{\n+pharmgkb_id = $1\n+split($10,xref,\",\")\n+for (i in xref) { \n+\tif(match(xref[i],\/(\"UMLS:.*)\/)) {\n+\t\tgsub(\/\"UMLS:\/,\"\", xref[i])\n+\t\tgsub(\/\\(.*\/, \"\", xref[i])\n+\t\tprint pharmgkb_id,xref[i]\n+\t}\n+}\n+}\n+END { print \"-- Parcours termin\u00e9 --\" }\n"}
{"commit":"e5cfb83d3d6e025567de1c899f953ebb0b55a233","subject":"Add awk script for quad score.","message":"Add awk script for quad score.\n","repos":"jacquerie\/IR","returncode":1,"stderr":"error: pathspec 'awk\/quad.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- awk\/quad.awk\n+++ awk\/quad.awk\n@@ -0,0 +1,2 @@\n+    { sum2 += $1 * $1 }\n+END { printf(\"%f\\n\", 1 - sqrt(sum2 \/ NR)) }\n"}
{"commit":"9c7480e80256528c2b1d341845fbe2283072b209","subject":"update","message":"update\n","repos":"Dhs92\/exec-irc-bot,crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot,crutchy-\/exec-irc-bot,crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot,crutchy-\/exec-irc-bot,Dhs92\/exec-irc-bot,crutchy-\/exec-irc-bot","returncode":1,"stderr":"error: pathspec 'sedbot.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- sedbot.awk\n+++ sedbot.awk\n@@ -0,0 +1,53 @@\n+#!\/usr\/bin\/gawk -f\n+function lineout(old,new,nouser) {\n+  if(old!=new) print (nouser?\"\":\"<\" tauntuser(user) \"> \") new >outfile; close(outfile);\n+  if(taunt[tolower(user)]>0) taunt[tolower(user)]--;\n+}\n+function tauntuser(u) {\n+  if(taunt[tolower(u)]>0) for(i=1;i<10;i++) u=gensub(\"(\"vowel_re\")+(.)\",vowel_letter[int(rand()*vowel_n+1)]\"\\\\2\",i,u);\n+  return u;\n+}\n+BEGIN {\n+  line_re=\"^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2} <([^>]*)> (.*)$\";\n+  blag_re=\"world wide web|internet|interweb|intersphere|intertubes|interblag|blogosphere|blagonet|blagosphere|blagoblag|webnet|webweb\";\n+  blag_n=split(blag_re,blag_word,\/\\|\/);\n+  vowel_re=\"a|e|i|o|u|y\";\n+  vowel_n=split(vowel_re,vowel_letter,\/\\|\/); \n+  slash_n=split(\"\\1ACTION offers # a \/\\1|\\1ACTION tosses a \/ to #\\1|#, did you know there's THREE slashes in a proper s\/\/\/ command?|\\1ACTION hurls a \/ at #!\\1|#, you bloody moron, get the syntax straight or get off this channel!!\\n\\1ACTION peppers # with \/s\\1\",slash_msg,\"|\");\n+  srand();\n+}\n+$0 ~ line_re {\n+  user=repluser=gensub(line_re,\"\\\\1\",1);\n+  line=gensub(\/\\001ACTION (.*)\\001\/,\"\\\\1\",1,gensub(line_re,\"\\\\2\",1));\n+  update_line=1;\n+}\n+line ~ \/^s\\\/(([^\\\/\\\\]|\\\\.)+)\\\/(([^\\\/\\\\]|\\\\.)*)[[:space:]]*$\/ {\n+  update_line=0;\n+  taunt[tolower(user)]+=1.5;\n+  lineout(\"\",gensub(\"#\",tauntuser(user),\"g\",slash_msg[int(rand()*rand()*slash_n+1)]),1);\n+}\n+line ~ \/^([\\x41-\\x7D][-0-9\\x41-\\x7D]*)[:,] s(.*)\/ {\n+  repluser=gensub(\/^([\\x41-\\x7D][-0-9\\x41-\\x7D]*)[:,] s(.*)\/,\"\\\\1\",1,line);\n+  line=gensub(\/^([\\x41-\\x7D][-0-9\\x41-\\x7D]*)[:,] (s.*)\/,\"\\\\2\",1,line);\n+  print repluser \": \" line \"\\n\" >\"\/dev\/stderr\";\n+}\n+line ~ \/^s\/ {\n+  sep=substr(line,2,1);\n+  if(sep ~ \/[\\.\\^\\$\\[\\]\\|\\+\\*\\(\\)\\{\\}]\/) sep=\"\\\\\"sep;\n+  desep=\"\\\\\\\\(\"sep\")\";\n+  s_re = \"^s\" sep \"(([^\" sep \"\\\\\\\\]|\\\\\\\\.)+)\" sep \"(([^\" sep \"\\\\\\\\]|\\\\\\\\.)*)\" sep \"(([0-9]*[1-9][0-9]*|g)|([iI]))*[[:space:]]*$\";\n+  if(line ~ s_re) {\n+    update_line=0;\n+    search=gensub(desep,\"\\\\1\",\"g\",gensub(s_re,\"\\\\1\", 1, line));\n+    repl  =gensub(desep,\"\\\\1\",\"g\",gensub(s_re,\"\\\\3\", 1, line));\n+    count =gensub(desep,\"\\\\1\",\"g\",gensub(s_re,\"\\\\6\", 1, line));\n+    casein=gensub(desep,\"\\\\1\",\"g\",gensub(s_re,\"\\\\7\", 1, line));\n+    print repluser \": \" line \"\\n\" s_re \"\\n\" search \"\\n\" repl \"\\n\" count \"\\n\" casein >\"\/dev\/stderr\";\n+    if(!count) count=1;\n+    if(casein) IGNORECASE=1; else IGNORECASE=0;\n+    newline=gensub(search,repl,count,last_line[tolower(repluser)]);\n+    lineout((repluser!=user?\"<\"repluser\"> \":\"\")last_line[tolower(repluser)],(repluser!=user?\"<\"repluser\"> \":\"\")gensub(blag_re,blag_word[int(rand()*blag_n+1)],\"g\",newline));\n+  }\n+}\n+line ~ \/^[sS][eE][dD][bB][oO][tT]\/ {lineout(\"\",\"\\001ACTION is a 53-line awk script, https:\/\/github.com\/FoobarBazbot\/sedbot\\001\",1);}\n+update_line {last_line[tolower(user)]=line;}\n"}
{"commit":"d55ee89437264d02b87639c167ccde517d7add0d","subject":"use PACKAGE_VERSION instead","message":"use PACKAGE_VERSION instead\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"8fbdd2f309edb3571acb828d26507230a0678024","subject":"final pass: add some backgrounds","message":"final pass: add some backgrounds","repos":"cartazio\/omega,minad\/omega","returncode":1,"stderr":"error: pathspec 'tools\/backgrounds.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- tools\/backgrounds.awk\n+++ tools\/backgrounds.awk\n@@ -0,0 +1,24 @@\n+BEGIN {\n+  slidecount = 0\n+}\n+\n+\n+\/<div class=\"slide cover title\">\/ {\n+  print \"<div class='background cover'>\"\n+  print \"  <img style='width: 100%; float:right' src='ALTA_Flower.png' alt='ALTA flower' \/>\"\n+  print \"<\/div>\"\n+  print \"\"\n+}\n+\n+\/<div class='slide'>\/ {\n+  slidecount++\n+  if (slidecount == 2)\n+  {\n+    print \"<div class='background haskell'>\"\n+    print \"  <img style='float:right' src='http:\/\/www.haskell.org\/wikiupload\/4\/4a\/HaskellLogoStyPreview-1.png' alt='Haskell logo' \/>\"\n+    print \"<\/div>\"\n+    sub(\/slide\/, \"slide haskell\")\n+  }\n+}\n+\n+{ print }\n"}
{"commit":"410256e2d781e45cbe1928b5dd8137286468f654","subject":"Awk script to colorize junit output Example of usage : .\/build junit | tee junit.log | awk -f ..\/dev\/scripts\/junit.awk","message":"Awk script to colorize junit output\nExample of usage :\n.\/build junit | tee junit.log | awk -f ..\/dev\/scripts\/junit.awk\n\ngit-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@9193 28e8926c-6b08-0410-baaa-805c5e19b8d6\n","repos":"tobwiens\/scheduling,tobwiens\/scheduling,lpellegr\/scheduling,lpellegr\/scheduling,youribonnaffe\/scheduling,zeineb\/scheduling,tobwiens\/scheduling,yinan-liu\/scheduling,yinan-liu\/scheduling,paraita\/scheduling,sandrineBeauche\/scheduling,mbenguig\/scheduling,mbenguig\/scheduling,ShatalovYaroslav\/scheduling,ow2-proactive\/scheduling,marcocast\/scheduling,paraita\/scheduling,laurianed\/scheduling,ow2-proactive\/scheduling,youribonnaffe\/scheduling,yinan-liu\/scheduling,laurianed\/scheduling,sgRomaric\/scheduling,ow2-proactive\/scheduling,marcocast\/scheduling,zeineb\/scheduling,jrochas\/scheduling,paraita\/scheduling,marcocast\/scheduling,sgRomaric\/scheduling,lpellegr\/scheduling,laurianed\/scheduling,sandrineBeauche\/scheduling,mbenguig\/scheduling,marcocast\/scheduling,zeineb\/scheduling,ShatalovYaroslav\/scheduling,mbenguig\/scheduling,yinan-liu\/scheduling,ShatalovYaroslav\/scheduling,ow2-proactive\/scheduling,sgRomaric\/scheduling,ow2-proactive\/scheduling,ow2-proactive\/scheduling,lpellegr\/scheduling,yinan-liu\/scheduling,tobwiens\/scheduling,laurianed\/scheduling,youribonnaffe\/scheduling,mbenguig\/scheduling,jrochas\/scheduling,jrochas\/scheduling,fviale\/scheduling,tobwiens\/scheduling,jrochas\/scheduling,paraita\/scheduling,youribonnaffe\/scheduling,ow2-proactive\/scheduling,lpellegr\/scheduling,yinan-liu\/scheduling,youribonnaffe\/scheduling,jrochas\/scheduling,tobwiens\/scheduling,laurianed\/scheduling,paraita\/scheduling,marcocast\/scheduling,sandrineBeauche\/scheduling,ShatalovYaroslav\/scheduling,sandrineBeauche\/scheduling,lpellegr\/scheduling,yinan-liu\/scheduling,ShatalovYaroslav\/scheduling,laurianed\/scheduling,fviale\/scheduling,zeineb\/scheduling,fviale\/scheduling,youribonnaffe\/scheduling,zeineb\/scheduling,sandrineBeauche\/scheduling,sandrineBeauche\/scheduling,marcocast\/scheduling,sgRomaric\/scheduling,mbenguig\/scheduling,fviale\/scheduling,paraita\/scheduling,fviale\/scheduling,jrochas\/scheduling,sgRomaric\/scheduling,zeineb\/scheduling,mbenguig\/scheduling,marcocast\/scheduling,zeineb\/scheduling,tobwiens\/scheduling,paraita\/scheduling,fviale\/scheduling,sgRomaric\/scheduling,youribonnaffe\/scheduling,ShatalovYaroslav\/scheduling,fviale\/scheduling,lpellegr\/scheduling,sandrineBeauche\/scheduling,sgRomaric\/scheduling,jrochas\/scheduling,ShatalovYaroslav\/scheduling,laurianed\/scheduling","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/lpellegr\/scheduling.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"2e00fed282076bd2776db1eb66a5a7cd13fa26ea","subject":"Add linkparser.","message":"Add linkparser.\n","repos":"lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial,lulin\/trivial","returncode":1,"stderr":"error: pathspec 'linkparser\/linkparser.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- linkparser\/linkparser.awk\n+++ linkparser\/linkparser.awk\n@@ -0,0 +1,153 @@\n+#!@include \"functions.awk\"\n+\n+BEGIN {\n+\ttrue = 1\n+\tfalse = 0\n+\tg_pat_srccommon = \"\\\\\/sw\\\\\/vobs.+\"\n+\tg_sroot = \"\"\n+\ttar_root = \"\"\n+\n+\t# Colors\n+\tRED=\"\\033[0;31m\"\n+\tGRN=\"\\033[0;32m\"\n+\tBLU=\"\\033[0;34m\"\n+\tNC=\"\\033[0m\"\n+\tBOL=\"\\033[1m\"\n+\n+\tif (arg ~ \/test\/) {\n+\t\tdo_test();\n+\t\tSKIP_END = true\n+\t\texit 0\n+\t}\n+\tcount = 0\n+}\n+\n+\/^[^-]\/ {\n+\tlink = $0\n+\t# Remove the ending ' \\'\n+\tgsub(\/[ \\t]+\\\\$\/, \"\", link)\n+\n+\tif (g_sroot == \"\") {\n+\t\tg_sroot = get_sroot(link)\n+\t\tsystem(\"mkdir .\" g_sroot)\n+\t}\n+\n+\tcmd_file = link\".cmd\"\n+\twhile ((getline line < cmd_file) > 0) {\n+\t\t# abosolute path\n+\t\tif (line ~ \/[ \\t]+-c[ \\t]+\\\/.+$\/)\n+\t\t\tsource = gensub(\/^.+[ \\t]+-c[ \\t]+(.+)$\/, \"\\\\1\", \"g\", line)\n+\t\t# relative path\n+\t\telse\n+\t\t\tsource = gensub(\/^cd (.+);.+-c (.+)\/, \"\\\\1\/\\\\2\", \"g\", line)\n+\n+\t\tprint BLU source NC\n+\t\tif (source == \"\") {\n+\t\t\tprint RED \"+++++++\"line NC\n+\t\t}\n+\n+\t\tdir = dirname(source)\n+\t\tbase = basename(source)\n+\t\tpatt = \"^.+\\\\\/\"g_sroot\"\\\\\/(sw.+)\"\n+\t\trel_path = gensub(patt, \"\\\\1\", \"g\", dir)\n+\n+\t\tsystem(\"mkdir -p .\" g_sroot \"\/\" rel_path)\n+\t\tsystem(\"cp \" source \" .\" g_sroot \"\/\" rel_path)\n+\n+\t\tcount = count + 1\n+\t}\n+}\n+\n+END {\n+\tprint \"Total dumped files: \" count\n+\t\"date +%Y%m%d%H%M%S\" | getline date\n+\ttarball = g_sroot \".\" date \".tar.gz\"\n+\tprintf(\"Generating source tarball %s%s%s%s ...\\n\", RED, BOL, tarball, NC)\n+\tsystem(\"tar zcf \" tarball \" .\" g_sroot)\n+\tsystem(\"rm -r .\"g_sroot)\n+}\n+\n+function get_sroot(line) {\n+\tif (line !~ g_pat_srccommon)\n+\t\treturn \"\"\n+\n+\tgsub(g_pat_srccommon, \"\", line);\n+\tgsub(\/.+\\\/\/, \"\", line);\n+\treturn line;\n+}\n+\n+# dirname\n+function dirname(path) {\n+\tif (path == \"\")\n+\t\treturn \"\"\n+\n+\t# Remove the ending '\/'\n+\tgsub(\/\\\/+$\/, \"\", path)\n+\n+\t# Remove basename\n+\tgsub(\/[^\\\/]+$\/, \"\", path)\n+\tif (path == \"\") return \".\"\n+\n+\t# Remove the ending '\/' again\n+\tgsub(\/\\\/+$\/, \"\", path)\n+\tif (path == \"\")\n+\t\treturn \"\/\"\n+\n+\treturn path\n+}\n+\n+# basename\n+function basename(path) {\n+\tif (path == \"\")\n+\t\treturn \"\"\n+\n+\t# Remove the ending '\/'\n+\tgsub(\/\\\/+$\/, \"\", path)\n+\tif (path == \"\")\n+\t\treturn \"\/\"\n+\n+\tpath = gensub(\/^.+\\\/+(.+)$\/, \"\\\\1\", \"g\", path)\n+\n+\treturn path;\n+}\n+\n+###### Test #########\n+function do_test() {\n+\tprintf(\"%s%s%s%s\\n\", BLU, BOL, \"---- Test get_sroot ----\", NC)\n+\ttest_get_sroot(\"\/repo\/lulinw\/isam\/sw\/vobs\/esam\/build\");\n+\ttest_get_sroot(\"\/repo\/lulinw\/isam\/sw\/esam\/build\");\n+\n+\tprintf(\"%s%s%s%s\\n\", BLU, BOL, \"---- Test dirname ----\", NC)\n+\ttest_dirname(\"\/home\/abc\");\n+\ttest_dirname(\"home\/\/\/abc\/\/\");\n+\ttest_dirname(\"home\/\/\/abc\/de\/\/\");\n+\ttest_dirname(\"..\/abc\/\/\");\n+\ttest_dirname(\"abc\");\n+\ttest_dirname(\"..\");\n+\ttest_dirname(\"..\/\/\/\");\n+\n+\tprintf(\"%s%s%s%s\\n\", BLU, BOL, \"---- Test basename ----\", NC)\n+\ttest_basename(\"\/home\/\/abc\")\n+\ttest_basename(\"\/\/\/\")\n+\ttest_basename(\"\/\")\n+\ttest_basename(\"..\")\n+\ttest_basename(\"..\/abc\/\/\")\n+\ttest_basename(\"\/..\/abc\/\/\")\n+\ttest_basename(\"\/..\/abc\/efg\/\")\n+}\n+\n+function test_get_sroot(line) {\n+\tif ((ret = get_sroot(line)) == \"\") {\n+\t\tprintf(\"Unexpected line [PAT=%s]:\\n  %s%s%s\\n\",\n+\t\t\t\tg_pat_srccommon, RED, line, NC)\n+\t} else\n+\t\tprintf(\"Root of %s is\\n  %s%s%s\\n\", line, GRN, get_sroot(line), NC)\n+}\n+\n+function test_dirname(path) {\n+\tprintf(\"dirname(%s) is \\n  %s%s%s\\n\", path, GRN, dirname(path), NC)\n+}\n+\n+function test_basename(path) {\n+\tprintf(\"basename(%s) is \\n %s%s%s\\n\", path, GRN, basename(path), NC)\n+}\n"}
{"commit":"abaeeafc942fac7b8c95c0735a1f74ac8561074c","subject":"Create zad3.awk","message":"Create zad3.awk","repos":"lukaszpetke\/jp,lukaszpetke\/jp","returncode":1,"stderr":"error: pathspec 'AWK\/zad3.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/zad3.awk\n+++ AWK\/zad3.awk\n@@ -0,0 +1,4 @@\n+#Z pliku \/etc\/passwd wypisa\u0107 dane u\u017cytkownik\u00f3w nale\u017c\u0105cych do grupy pracown (zobacz w \/etc\/group).\n+\n+BEGIN {FS=\":\"}\n+\/home\/pracown\/ {print $1} \n"}
{"commit":"1270ceefa000d2c5132376a9a58923fe326c01d4","subject":"Added a decode script","message":"Added a decode script\n","repos":"mntnorv\/wrdl,mntnorv\/wrdl","returncode":1,"stderr":"error: pathspec 'extras\/decode.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- extras\/decode.awk\n+++ extras\/decode.awk\n@@ -0,0 +1,43 @@\n+BEGIN {\n+\tRS = \"\"\n+\tFS = \"\"\n+\tconvert = \"\\nABCDEFGHIJKLMNOPQRSTUVWXYZ\"\n+\n+\t# For character to number conversion\n+\tfor (n=0; n<256; n++) {\n+\t\tord[sprintf(\"%c\", n)] = n\n+\t}\n+\n+\tshift = 0\n+\tlastNum = 0\n+}\n+\n+function fiveBitDecode(char) {\n+\tcurrentNum = ord[char]\n+\t\n+\n+\tif (shift >= 8) {\n+\t\tshift = shift - 8\n+\t}\n+\n+\twhile (shift <= 8) {\n+\t\tif (shift > 0 && shift < 5) {\n+\t\t\tlastNum = or(lastNum, and(lshift(currentNum, 5 - shift), 0x1F))\n+\t\t\tprintf \"%c\", substr(convert, lastNum + 1, 1)\n+\t\t}\n+\n+\t\tlastNum = and(rshift(currentNum, shift), 0x1F)\n+\t\tif (shift <= 3) {\n+\t\t\tprintf \"%c\", substr(convert, lastNum + 1, 1)\n+\t\t\tlastNum = 0\n+\t\t}\n+\n+\t\tshift = shift + 5\n+\t}\n+}\n+\n+{\n+\tfor (i = 1; i <= NF; i++) {\n+\t\tfiveBitDecode($i)\n+\t}\n+}"}
{"commit":"0d7ea1611fb6050bf6ffc66ce299187083050df1","subject":"Added new script, could probably use some refinements.","message":"Added new script, could probably use some refinements.\n","repos":"HBBisenieks\/GAM-scripts","returncode":1,"stderr":"error: pathspec 'betterBulkGroup.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- betterBulkGroup.awk\n+++ betterBulkGroup.awk\n@@ -0,0 +1,20 @@\n+#!\/usr\/bin\/awk -f\n+\n+# Bulk update email groups\n+# Written by Hilary B. Bisenieks <https:\/\/github.com\/HBBisenieks> (c)2013\n+# Provided under the MIT License\n+# No warranty is provided or implied\n+\n+# Takes as input a .csv file with each row containing\n+# a username followed by any number of email groups to\n+# which they should be added as a member.\n+\n+BEGIN {\n+\tFS=\",\";\n+}\n+{\n+\tfor (i=2; i<=NF; i++)\n+\t{\n+\t\tsystem(\"python \/path\/to\/gam.py update group \" $i \" add member \" $1);\n+\t}\n+}\n"}
{"commit":"ff7504418f4a3356f2201819367c3f7555c40339","subject":"2.13.awk","message":"2.13.awk\n","repos":"kaiiak\/APUE","returncode":1,"stderr":"error: pathspec 'chapter2\/2.13.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- chapter2\/2.13.awk\n+++ chapter2\/2.13.awk\n@@ -0,0 +1,87 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN\t{\n+\tprintf(\"#include \\\"apue.h\\\"\\n\")\n+\tprintf(\"#include <erron.h>\\n\")\n+\tprintf(\"#include <limits.h>\\n\")\n+\tprintf(\"\\n\")\n+\tprintf(\"static void pr_sysconf(char *, int);\\n\")\n+\tprintf(\"static void pr_pathconf(char *, char *, int\");\\n\")\n+\tprintf(\"\\n\")\n+\tprintf(\"int\\n\")\n+\tprintf(\"main(int argc, char *argv[])\\n\")\n+\tprintf(\"{\\n\")\n+\tprintf(\"\\tif (argc != 2)\\n\")\n+\tprintf(\"\\t\\terr_quit{\\\"usage: a.out <dirname>\\\";\\n\\n\")\n+\tFS=\"\\t+\"\n+\twhile (getline <\"sysconf.sym\" > 0) {\n+\t\tprintf(\"#ifdef %s\\n\", $1)\n+\t\tprintf(\"\\tprintf(\\\"%s defined to be %%ld\\\\n\", (long)%s+0);\\n\", $1, $1)\n+\t\tprintf(\"#else\\n\")\n+\t\tprintf(\"\\tprintf(\\\"no symbol for %s\\\\n\");\\n\", $1)\n+\t\tprintf(\"#endif\\n\")\n+\t\tprintf(\"#ifdef %s\\n\", $2)\n+\t\tprintf(\"\\tpr_sysconf(\\\"%s = \\\", %s);\\n\", $1, $2)\n+\t\tprintf(\"#else\\n\")\n+\t\tprintf(\"\\tprintf(\\\"no symbol for %s\\\\n\");\\n\", $2)\n+\t\tprintf(\"#endif\\n\")\n+\t}\n+\tclose(\"sysconf.sym\")\n+\twhile (getline <\"pathconf.sym\" > 0) {\n+\t\tprintf(\"#ifdef %s\\n\", $1)\n+        printf(\" printf(\\\"%s defined to be %%d\\\\n\\\", %s+0);\\n\", $1, $1)\n+        printf(\"#else\\n\")\n+        printf(\" printf(\\\"no symbol for %s\\\\n\\\");\\n\", $1)\n+        printf(\"#endif\\n\")\n+        printf(\"#ifdef %s\\n\", $2)\n+        printf(\" pr_pathconf(\\\"%s =\\\", argv[1], %s);\\n\", $1, $2)\n+        printf(\"#else\\n\")\n+        printf(\" printf(\\\"no symbol for %s\\\\n\\\");\\n\", $2)\n+        printf(\"#endif\\n\")\n+    }\n+    close(\"pathconf.sym\")\n+    exit\n+\t}\n+\tEND {\n+    printf(\" exit(0);\\n\")\n+    printf(\"}\\n\\n\")\n+    printf(\"static void\\n\")\n+    printf(\"pr_sysconf(char *mesg, int name)\\n\")\n+    printf(\"{\\n\")\n+    printf(\" long val;\\n\\n\")\n+    printf(\" fputs(mesg, stdout);\\n\")\n+    printf(\" errno = 0;\\n\")\n+    printf(\" if ((val = sysconf(name)) < 0) {\\n\")\n+    printf(\"  if (errno != 0) {\\n\")\n+    printf(\"   if (errno == EINVAL)\\n\")\n+    printf(\"    fputs(\\\" (not supported)\\\\n\\\", stdout);\\n\")\n+    printf(\"   else\\n\")\n+    printf(\"    err_sys(\\\"sysconf error\\\");\\n\")\n+    printf(\"  } else {\\n\")\n+    printf(\"   fputs(\\\" (no limit)\\\\n\\\", stdout);\\n\")\n+    printf(\"  }\\n\")\n+    printf(\" } else {\\n\")\n+    printf(\"  printf(\\\" %%ld\\\\n\\\", val);\\n\")\n+    printf(\" }\\n\")\n+    printf(\"}\\n\\n\")\n+    printf(\"static void\\n\")\n+    printf(\"pr_pathconf(char *mesg, char *path, int name)\\n\")\n+    printf(\"{\\n\")\n+    printf(\" long val;\\n\")\n+    printf(\"\\n\")\n+    printf(\" fputs(mesg, stdout);\\n\")\n+    printf(\" errno = 0;\\n\")\n+    printf(\" if ((val = pathconf(path, name)) < 0) {\\n\")\n+    printf(\"  if (errno != 0) {\\n\")\n+    printf(\"   if (errno == EINVAL)\\n\")\n+    printf(\"    fputs(\\\" (not supported)\\\\n\\\", stdout);\\n\")\n+    printf(\"   else\\n\")\n+    printf(\"    err_sys(\\\"pathconf error, path = %%s\\\", path);\\n\")\n+    printf(\"  } else {\\n\")\n+    printf(\"   fputs(\\\" (no limit)\\\\n\\\", stdout);\\n\")\n+    printf(\"  }\\n\")\n+    printf(\" } else {\\n\")\n+    printf(\"  printf(\\\" %%ld\\\\n\\\", val);\\n\")\n+    printf(\" }\\n\")\n+    printf(\"}\\n\")\n+}\n+}"}
{"commit":"29f42210d171c6cee2ab5a15e9619614d1b5611f","subject":"Bin numbers - stackoverflow answer","message":"Bin numbers - stackoverflow answer\n","repos":"keithel\/unorganized-scripts,keithel\/unorganized-scripts,keithel\/unorganized-scripts","returncode":1,"stderr":"error: pathspec 'number_binning.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- number_binning.awk\n+++ number_binning.awk\n@@ -0,0 +1,22 @@\n+BEGIN {\n+    PROCINFO[\"sorted_in\"]=\"@ind_num_asc\";\n+    delta = (delta == \"\") ? 0.1 : delta;\n+};\n+\n+\/^-?([0-9][0-9]*|[0-9]*(\\.[0-9][0-9]*))\/ {\n+    # Special case the [-delta - 0] case so it doesn't bin in the [0-delta] bin\n+    fractBin=$1\/delta\n+    if (fractBin < 0 && int(fractBin) == fractBin)\n+        fractBin = fractBin+1\n+    prefix = (fractBin <= 0 && int(fractBin) == 0) ? \"-\" : \"\"\n+    bins[prefix int(fractBin)]++\n+}\n+\n+END {\n+    for (var in bins)\n+    {\n+        srange = sprintf(\"%0.2f\",delta * ((var >= 0) ? var : var-1))\n+        erange = sprintf(\"%0.2f\",delta * ((var >= 0) ? var+1 : var))\n+        print srange \" \" erange \" \" bins[var]\n+    }\n+}\n"}
{"commit":"9702db270e3e6e6dfca5f716f9dbb349daf17c5a","subject":"Add rdf-n3.awk","message":"Add rdf-n3.awk\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":1,"stderr":"error: pathspec 'misc\/rdf-n3.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- misc\/rdf-n3.awk\n+++ misc\/rdf-n3.awk\n@@ -0,0 +1,94 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {\n+    FS = \"\\t\";\n+\n+    LABEL         = \"<http:\/\/www.w3.org\/2000\/01\/rdf-schema#label>\";\n+    TYPE          = \"<http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type>\";\n+\n+    CONCEPT       = \"<http:\/\/www.w3.org\/2004\/02\/skos\/core#Concept>\";\n+    LEXICALSENSE  = \"<http:\/\/lemon-model.net\/lemon#LexicalSense>\";\n+    WORD          = \"<http:\/\/lemon-model.net\/lemon#Word>\";\n+    FORM          = \"<http:\/\/lemon-model.net\/lemon#Form>\";\n+\n+    WRITTENREP    = \"<http:\/\/lemon-model.net\/lemon#writtenRep>\";\n+    CANONICALFORM = \"<http:\/\/lemon-model.net\/lemon#canonicalForm>\";\n+    BROADER       = \"<http:\/\/lemon-model.net\/lemon#broader>\";\n+    NARROWER      = \"<http:\/\/lemon-model.net\/lemon#narrower>\";\n+    SENSE         = \"<http:\/\/lemon-model.net\/lemon#sense>\";\n+    ISSENSEOF     = \"<http:\/\/lemon-model.net\/lemon#isSenseOf>\";\n+    REFERENCE     = \"<http:\/\/lemon-model.net\/lemon#reference>\";\n+    ISREFERENCEOF = \"<http:\/\/lemon-model.net\/lemon#isReferenceOf>\";\n+}\n+{\n+    nsenses = split($3, senses, \", \");\n+    nisas   = split($5, isas,   \", \");\n+\n+    if (nsenses == 0 || nisas == 0) next;\n+\n+    print \":c\" $1, TYPE, CONCEPT, \".\";\n+\n+    for (sense_id in senses) {\n+        sense = senses[sense_id];\n+\n+        sub(\":.*$\", \"\", sense);\n+\n+        if (!(sense in sindex)) {\n+            sindex[sense] = scount++;\n+\n+            word = sense;\n+            gsub(\"_\", \" \",  word);\n+            sub(\"#.*$\", \"\", word);\n+\n+            if (!(word in windex)) {\n+                windex[word] = wcount++;\n+\n+                print \":w\" windex[word], TYPE,          WORD,              \".\";\n+                print \":w\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                print \":f\" windex[word], TYPE,          FORM,              \".\";\n+                print \":f\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                print \":f\" windex[word], WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n+                print \":w\" windex[word], CANONICALFORM, \":f\" windex[word], \".\";\n+            }\n+\n+            print \":s\" sindex[sense], TYPE,          LEXICALSENSE,       \".\";\n+            print \":s\" sindex[sense], LABEL,         \"\\\"\" sense \"\\\"\",    \".\";\n+            print \":s\" sindex[sense], ISSENSEOF,     \":w\" windex[word],  \".\";\n+            print \":w\" windex[word],  SENSE,         \":s\" sindex[sense], \".\";\n+            print \":s\" sindex[sense], REFERENCE,     \":c\" $1,            \".\";\n+            print \":c\" $1,            ISREFERENCEOF, \":s\" sindex[sense], \".\";\n+        }\n+\n+        for (isa_id in isas) {\n+            isa = isas[isa_id];\n+\n+            sub(\":.*$\", \"\", isa);\n+\n+            if (!(isa in sindex)) {\n+                sindex[isa] = scount++;\n+\n+                word = isa;\n+                gsub(\"_\", \" \",  word);\n+                sub(\"#.*$\", \"\", word);\n+\n+                if (!(word in windex)) {\n+                    windex[word] = wcount++;\n+\n+                    print \":w\" windex[word], TYPE,          WORD,              \".\";\n+                    print \":w\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                    print \":f\" windex[word], TYPE,          FORM,              \".\";\n+                    print \":f\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                    print \":f\" windex[word], WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n+                    print \":w\" windex[word], CANONICALFORM, \":f\" windex[word], \".\";\n+                }\n+\n+                print \":s\" sindex[isa],  TYPE,      LEXICALSENSE,      \".\";\n+                print \":s\" sindex[isa],  LABEL,     \"\\\"\" isa \"\\\"\",     \".\";\n+                print \":s\" sindex[isa],  ISSENSEOF, \":w\" windex[word], \".\";\n+                print \":w\" windex[word], SENSE,     \":s\" sindex[isa],  \".\";\n+            }\n+\n+            print \":s\" sindex[sense], BROADER,  \":s\" sindex[isa],   \".\";\n+            print \":s\" sindex[isa],   NARROWER, \":s\" sindex[sense], \".\";\n+        }\n+    }\n+}\n"}
{"commit":"079b09611c5fde32ec72d843bb0ea7208ba66975","subject":"Create filter_it.awk","message":"Create filter_it.awk\n\nItalian filter","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":1,"stderr":"error: pathspec 'filter_it.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- filter_it.awk\n+++ filter_it.awk\n@@ -0,0 +1,197 @@\n+BEGIN {}\n+\/^macro:[:alpha: ]+\/ {\n+    macroLine = \"\"\n+    # I check every field from the second one(the first one is \"macro:\")\n+    for (x = 2; x <= NF; x++) {\n+        do {\n+            # I found a keys being kept pressed or just released, I print it as it is\n+            # This works because (probably) I don't want to keep pressed keys that need to be translated such as symbols\n+            if (length($x) > 1 && (substr($x, 1, 1) == \"+\" || substr($x, 1, 1) == \"-\")) {\n+                macroLine = macroLine $x;\n+                break;\n+            }\n+            # An upper-case key, I need to press shift to do it. Using the != toupper I avoid triggering things like \",\" == tolower(\",\") and \",\" == toupper(\",\")\n+            if ($x != tolower($x)) {\n+                macroLine = macroLine \"+lshift,+\" tolower($x) \",-\" tolower($x) \",-lshift\";\n+                break;\n+            }\n+            if ($x == \"\\\\\") {\n+                macroLine = macroLine \"+grave,-grave\";\n+                break;\n+            }\n+            if ($x == \"|\") {\n+                macroLine = macroLine \"+lshift,+grave,-grave,-lshift\";\n+                break;\n+            }\n+            if ($x == \"!\") {\n+                macroLine = macroLine \"+lshift,+1,-1,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\\\"\") {\n+                macroLine = macroLine \"+lshift,+2,-2,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00a3\") {\n+                macroLine = macroLine \"+lshift,+3,-3,-lshift\";\n+                break;\n+            }\n+            if ($x == \"$\") {\n+                macroLine = macroLine \"+lshift,+4,-4,-lshift\";\n+                break;\n+            }\n+            if ($x == \"%\") {\n+                macroLine = macroLine \"+lshift,+5,-5,-lshift\";\n+                break;\n+            }\n+            if ($x == \"&\") {\n+                macroLine = macroLine \"+lshift,+6,-6,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\/\") {\n+                macroLine = macroLine \"+lshift,+7,-7,-lshift\";\n+                break;\n+            }\n+            if ($x == \"(\") {\n+                macroLine = macroLine \"+lshift,+8,-8,-lshift\";\n+                break;\n+            }\n+            if ($x == \")\") {\n+                macroLine = macroLine \"+lshift,+9,-9,-lshift\";\n+                break;\n+            }\n+            if ($x == \"=\") {\n+                macroLine = macroLine \"+lshift,+0,-0,-lshift\";\n+                break;\n+            }\n+            if ($x == \"'\") {\n+                macroLine = macroLine \"+minus,-minus\";\n+                break;\n+            }\n+            if ($x == \"?\") {\n+                macroLine = macroLine \"+lshift,+minus,-minus,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00ec\") {\n+                macroLine = macroLine \"+equal,-equal\";\n+                break;\n+            }\n+            if ($x == \"^\") {\n+                macroLine = macroLine \"+lshift,+equal,-equal,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u20ac\") {\n+                macroLine = macroLine \"+ralt,+e,-e,-ralt\";\n+                break;\n+            }\n+            if ($x == \"\u00e8\") {\n+                macroLine = macroLine \"+lbrace,-lbrace\";\n+                break;\n+            }\n+            if ($x == \"\u00e9\") {\n+                macroLine = macroLine \"+lshift,+lbrace,-lbrace,-lshift\";\n+                break;\n+            }\n+            if ($x == \"[\") {\n+                macroLine = macroLine \"+ralt,+lbrace,-lbrace,-ralt\";\n+                break;\n+            }\n+            if ($x == \"{\") {\n+                macroLine = macroLine \"+ralt,+lshift,+lbrace,-lbrace,-lshift,-ralt\";\n+                break;\n+            }\n+            if ($x == \"+\") {\n+                macroLine = macroLine \"+rbrace,-rbrace\";\n+                break;\n+            }\n+            if ($x == \"*\") {\n+                macroLine = macroLine \"+lshift,+rbrace,-rbrace,-lshift\";\n+                break;\n+            }\n+            if ($x == \"]\") {\n+                macroLine = macroLine \"+ralt,+rbrace,-rbrace,-ralt\";\n+                break;\n+            }\n+            if ($x == \"}\") {\n+                macroLine = macroLine \"+ralt,+lshift,+rbrace,-rbrace,-lshift,-ralt\";\n+                break;\n+            }\n+            if ($x == \"\u00f2\") {\n+                macroLine = macroLine \"+colon,-colon\";\n+                break;\n+            }\n+            if ($x == \"\u00e7\") {\n+                macroLine = macroLine \"+lshift,+colon,-colon,-lshift\";\n+                break;\n+            }\n+            if ($x == \"@\") {\n+                macroLine = macroLine \"+ralt,+colon,-colon,-ralt\";\n+                break;\n+            }\n+            if ($x == \"\u00e0\") {\n+                macroLine = macroLine \"+quote,-quote\";\n+                break;\n+            }\n+            if ($x == \"\u00b0\") {\n+                macroLine = macroLine \"+lshift,+quote,-quote,-lshift\";\n+                break;\n+            }\n+            if ($x == \"#\") {\n+                macroLine = macroLine \"+ralt,+quote,-quote,-ralt\";\n+                break;\n+            }\n+            if ($x == \"\u00f9\") {\n+                macroLine = macroLine \"+hash,-hash\";\n+                break;\n+            }\n+            if ($x == \"\u00a7\") {\n+                macroLine = macroLine \"+lshift,+hash,-hash,-lshift\";\n+                break;\n+            }\n+            if ($x == \"<\") {\n+                macroLine = macroLine \"+bslash_iso,-bslash_iso\";\n+                break;\n+            }\n+            if ($x == \">\") {\n+                macroLine = macroLine \"+lshift,+bslash_iso,-bslash_iso,-lshift\";\n+                break;\n+            }\n+            if ($x == \",\") {\n+                macroLine = macroLine \"+comma,-comma\";\n+                break;\n+            }\n+            if ($x == \";\") {\n+                macroLine = macroLine \"+lshift,+comma,-comma,-lshift\";\n+                break;\n+            }\n+            if ($x == \".\") {\n+                macroLine = macroLine \"+dot,-dot\";\n+                break;\n+            }\n+            if ($x == \":\") {\n+                macroLine = macroLine \"+lshift,+dot,-dot,-lshift\";\n+                break;\n+            }\n+            if ($x == \"-\") {\n+                macroLine = macroLine \"+slash,-slash\";\n+                break;\n+            }\n+            if ($x == \"_\") {\n+                macroLine = macroLine \"+lshift,+slash,-slash,-lshift\";\n+                break;\n+            }\n+\n+            # A normal key, press and release it, catches all the remaining cases\n+            macroLine = macroLine \"+\" $x \",-\" $x\n+        }\n+        while (0)\n+        # 0 means it runs only once instead of endlessly looping in case of errors\n+        \n+        # I add a comma between this key and the next unless I 'm at the last one\n+        if (x < NF)\n+            macroLine = macroLine \",\"\n+        else\n+            # Finished reading the macro, sending it macro to the output\n+            print macroLine\n+    }\n+}\n+END {}\n"}
{"commit":"73bcb2c73c8c4d028341e8a6e4b2bea6795eff6c","subject":"builtin","message":"builtin\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":1,"stderr":"error: pathspec 'src\/awk\/builtin.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/builtin.awk\n+++ src\/awk\/builtin.awk\n@@ -0,0 +1,13 @@\n+#! \/bin\/awk -f\n+\n+#find mean and variance of a column from a file\n+BEGIN {\n+}\n+#body\n+{\n+   alen=length($2)\n+   if (alen >= 29)\n+      print $2, alen\n+}\n+END { \n+}\n"}
{"commit":"ba055fc80f2fad3ed9cb1f111205fc4b345e50af","subject":"Add only unique reads for paired end filter","message":"Add only unique reads for paired end filter\n","repos":"glennsb\/OPtICAL,glennsb\/OPtICAL,glennsb\/OPtICAL,glennsb\/OPtICAL","returncode":1,"stderr":"error: pathspec 'lib\/optical\/filters\/paired_end_only_unique.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- lib\/optical\/filters\/paired_end_only_unique.awk\n+++ lib\/optical\/filters\/paired_end_only_unique.awk\n@@ -0,0 +1,60 @@\n+BEGIN {\n+  OFS=\"\\t\";\n+  lastid=\"\";\n+  id_counts=0;\n+}\n+{\n+  if ( $1 ~ \/^@\/ )\n+  {\n+    # headers go straight through\n+    print $0;\n+    next;\n+  }\n+  if (lastid == \"\") {\n+    lastid=$1;\n+    r1[\"read\"] = $0;\n+    r1[\"chr\"] = $3;\n+    r1[\"tags\"] = \"\";\n+    for(i=12;i<NF;i++) { r1[\"tags\"]=r1[\"tags\"] $i \" \";}\n+    r1[\"tags\"]=r1[\"tags\"] $i;\n+    next;\n+  }\n+\n+  if ( lastid == $1 ) {\n+    id_counts++;\n+    if ( id_counts == 2 ) {\n+      r2[\"read\"] = $0;\n+      r2[\"chr\"] = $3;\n+      r2[\"tags\"] = \"\";\n+      for(i=12;i<NF;i++) { r2[\"tags\"]=r2[\"tags\"] $i \" \";}\n+      r2[\"tags\"]=r2[\"tags\"] $i;\n+    }\n+  } else if ( lastid != $1 ) {\n+    if ( 2 == id_counts ) {\n+      # two matching ends of a pair, should we include them?\n+      if ( (r1[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) && (r2[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) &&\n+           (r1[\"tags\"] ~ \/XT:A:U\/) && (r2[\"tags\"] ~ \/XT:A:U\/) ) {\n+             print r1[\"read\"];\n+             print r2[\"read\"];\n+      }\n+    }\n+    id_counts=1;\n+    lastid=$1;\n+    r1[\"read\"] = $0;\n+    r1[\"chr\"] = $3;\n+    r1[\"tags\"]=\"\";\n+    for(i=12;i<NF;i++) { r1[\"tags\"]=r1[\"tags\"] $i \" \";}\n+    r1[\"tags\"]=r1[\"tags\"] $i;\n+  }\n+\n+}\n+END {\n+  if ( 2 == id_counts ) {\n+    # two matching ends of a pair, should we include them?\n+    if ( (r1[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) && (r2[\"chr\"] ~ \/chr([[:digit:]]+|[XY]|MT)\/) &&\n+         (r1[\"tags\"] ~ \/XT:A:U\/) && (r2[\"tags\"] ~ \/XT:A:U\/) ) {\n+           print r1[\"read\"];\n+           print r2[\"read\"];\n+    }\n+  }\n+}\n"}
{"commit":"c2d232953b096399bb8906db94c489fcae725440","subject":"extract lines from the file until max blank lines are seen","message":"extract lines from the file until max blank lines are seen","repos":"melvinzhang\/scheme2llvm","returncode":1,"stderr":"error: pathspec 'head.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- head.awk\n+++ head.awk\n@@ -0,0 +1,15 @@\n+BEGIN {\n+    count = 0\n+    max = 0\n+}\n+\n+\/^$\/ {\n+    count++\n+    if (count > max) {\n+        exit\n+    }\n+}\n+\n+{\n+    print\n+}\n"}
{"commit":"9a555ad2f57b71fbf0cbad9d640c2ffbf7494e89","subject":"Dedup filter for gpx recorded by endomondo","message":"Dedup filter for gpx recorded by endomondo\n","repos":"xopok\/xopok-scripts,xopok\/xopok-scripts","returncode":1,"stderr":"error: pathspec 'fitness\/gpxfilter.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- fitness\/gpxfilter.awk\n+++ fitness\/gpxfilter.awk\n@@ -0,0 +1,16 @@\n+BEGIN { skipping=0; cur = \"\"; }\n+{\n+  if ($0 ~ \/trkpt lat\/) {\n+      if (cur == $0) {\n+\t  skipping = 1;\n+      } else {\n+\t  skipping = 0;\n+      }\n+      cur = $0;\n+  }\n+  if (skipping) {\n+  } else {\n+      print $0;\n+  }\n+}\n+END   { }\n"}
{"commit":"b21b50eb49cd73b0e30810acafe345e7c43ffa58","subject":"Added AWK version.","message":"Added AWK version.\n","repos":"noamknispel\/ThePrimeBenchMark,noamknispel\/ThePrimeBenchMark,noamknispel\/ThePrimeBenchMark,noamknispel\/ThePrimeBenchMark,noamknispel\/ThePrimeBenchMark","returncode":1,"stderr":"error: pathspec 'prime.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- prime.awk\n+++ prime.awk\n@@ -0,0 +1,21 @@\n+#!\/usr\/bin\/awk -f\n+\n+function isPrime (x) {\n+    if (sqrt(x) % 1 == 0)\n+        return 0\n+    for (j = 2; j < sqrt(x); j++)\n+        if (x % j == 0)\n+            return 0\n+    return 1\n+}\n+\n+BEGIN {\n+    n = 0\n+    for (i = 0;  n < ARGV[1]; i++)\n+        if (isPrime(i)) {\n+            arr[n] = i\n+            n++\n+        }\n+    for (i in arr)\n+        print arr[i]\n+}\n"}
{"commit":"b1eb02fe994a85d4b8c06ad8ad48a0b579627545","subject":"Add toloka-gold-isas.awk","message":"Add toloka-gold-isas.awk\n","repos":"dustalov\/watset,dustalov\/watset","returncode":1,"stderr":"error: pathspec 'misc\/toloka-gold-isas.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- misc\/toloka-gold-isas.awk\n+++ misc\/toloka-gold-isas.awk\n@@ -0,0 +1,13 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {\n+    FS = OFS = \"\\t\";\n+}\n+FNR == 1 {\n+    for (i=1; i<=NF; i++) ix[$i] = i;\n+    next;\n+}\n+tolower($ix[\"OUTPUT:judgement\"]) == \"true\" {\n+    for (i = 1; i <= split($ix[\"INPUT:hypernym\"], hypernyms, \", \"); i++) {\n+        print $ix[\"INPUT:hyponym\"], hypernyms[i];\n+    }\n+}\n"}
{"commit":"11a9172adb688a7e63647add36d7b2f7fc63a198","subject":"Extract barcodes done","message":"Extract barcodes done\n","repos":"hackseq\/2017_project_6,hackseq\/2017_project_6,hackseq\/2017_project_6,hackseq\/2017_project_6","returncode":1,"stderr":"error: pathspec 'extract_barcodes\/extract_barcodes.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- extract_barcodes\/extract_barcodes.awk\n+++ extract_barcodes\/extract_barcodes.awk\n@@ -0,0 +1,14 @@\n+{\n+    if (NR % 8 == 1 && NR > 1) {\n+        barcode = substr(read_pair[2], 1, 16)\n+        printf read_pair[1]\" BX:Z:\"barcode\"\\n\"\n+        printf substr(read_pair[2], 17)\"\\n\"\n+        printf read_pair[3]\"\\n\"\n+        printf substr(read_pair[4], 17)\"\\n\"\n+        printf read_pair[5]\" BX:Z:\"barcode\"\\n\"\n+        printf read_pair[6]\"\\n\"\n+        printf read_pair[7]\"\\n\"\n+        printf read_pair[0]\"\\n\"\n+    }\n+    read_pair[NR % 8] = $0\n+}\n"}
{"commit":"c89c5e573ea7e530334676491df5eec2b5043e48","subject":"Add ncsa_response_times.awk","message":"Add ncsa_response_times.awk\n\nSigned-off-by: Kevin Grigorenko <998fc961d8f3868bf77492ff63381353a0fb578e@us.ibm.com>\n","repos":"kgibm\/problemdetermination,kgibm\/problemdetermination,kgibm\/problemdetermination,kgibm\/problemdetermination,kgibm\/problemdetermination","returncode":1,"stderr":"error: pathspec 'scripts\/general\/ncsa_response_times.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- scripts\/general\/ncsa_response_times.awk\n+++ scripts\/general\/ncsa_response_times.awk\n@@ -0,0 +1,371 @@\n+#!\/usr\/bin\/awk -f\n+# usage: ncsa_response_times.awk [-v \"option=value\"] access_log... | sort -n\n+#   (First chmod a+x ncsa_response_times.awk)\n+#   The sort is needed because statistics are stored in an associative array dumped at the end and it's unordered.\n+#   Default LogFormat is assumed to be LogFormat \"%h %l %u %t \\\"%r\\\" %>s %b %D \\\"%{WAS}e\\\" %X\" common\n+#   Field descriptions: https:\/\/httpd.apache.org\/docs\/current\/mod\/mod_log_config.html#formats\n+#\n+# Output (CSV):\n+# 010SortableDateTime,Date,Day,Time,ArrivalsPer%s,ThroughputAllPer%s,Throughput4xxPer%s,Throughput5xxPer%s,ResponseTimesSumPer%s(%s),MeanResponseTimePer%s(%s),MaxResponseTimePer%s(%s),ResponseBytesSumPer%s,MeanResponseSizeBytesPer%s,MaxResponseSizeBytesPer%s\n+#\n+# Options:\n+#   Column offset of %D starting from the left (1 is the first column, 2 is second, etc.):\n+#     -v response_time_offset_left=X\n+#   Column offset of %D starting from the right (0 is the last column, 1 is second-to-last, etc.):\n+#     -v response_time_offset_right=X\n+#   Column offset of %t starting from the left (1 is the first column, 2 is second, etc.):\n+#     -v date_offset_left=X\n+#   Column offset of %t starting from the right (0 is the last column, 1 is second-to-last, etc.):\n+#     -v date_offset_right=X\n+#   Column offset of %s starting from the left (1 is the first column, 2 is second, etc.):\n+#     -v status_offset_left=X\n+#   Column offset of %s starting from the right (0 is the last column, 1 is second-to-last, etc.):\n+#     -v status_offset_right=X\n+#   Column offset of %b starting from the left (1 is the first column, 2 is second, etc.):\n+#     -v response_size_offset_left=X\n+#   Column offset of %b starting from the right (0 is the last column, 1 is second-to-last, etc.):\n+#     -v response_size_offset_right=X\n+#   Column offset of %{WAS}e starting from the left (1 is the first column, 2 is second, etc.):\n+#     -v jvm_offset_left=X\n+#   Column offset of %{WAS}e starting from the right (0 is the last column, 1 is second-to-last, etc.):\n+#     -v jvm_offset_right=X\n+#   Per-minute instead of per-second:\n+#     -v per_minute=true\n+#   Suppress printing the CSV header:\n+#     -v noheader=true\n+#   Response times in milliseconds instead of microseconds:\n+#     -v responsems=true\n+#   Debug:\n+#     -v debug=true\n+#   Divide transaction rates:\n+#     -v divtranrates=X\n+#   Don't skip rows with 0 responses:\n+#     -v noskip0=true\n+#   ODR %t time format:\n+#     -v odrtimeformat=true\n+\n+BEGIN {\n+  per_second = 1;\n+  per_title = \"S\";\n+  if (per_minute) {\n+    per_second = 0;\n+    per_title = \"M\";\n+  }\n+  if (length(date_offset_left) == 0 && length(date_offset_right) == 0) {\n+    date_offset_left = 4;\n+  }\n+  if (length(status_offset_left) == 0 && length(status_offset_right) == 0) {\n+    status_offset_left = 9;\n+  }\n+  if (length(response_time_offset_left) == 0 && length(response_time_offset_right) == 0) {\n+    response_time_offset_right = 2;\n+  }\n+  if (length(response_size_offset_left) == 0 && length(response_size_offset_right) == 0) {\n+    response_size_offset_left = 10;\n+  }\n+\n+  if (odrtimeformat) {\n+    responsems = 1;\n+  }\n+\n+  responseunit = \"us\";\n+  if (responsems) {\n+    responseunit = \"ms\";\n+  }\n+  if (!divtranrates) {\n+    divtranrates = 1;\n+  }\n+  hasJVMs = 0;\n+}\n+\n+function printHeader() {\n+  if (!noheader) {\n+    printf( \\\n+      \"010SortableDateTime,Date,Day,Time,ArrivalsPer%s,ThroughputAllPer%s,Throughput4xxPer%s,Throughput5xxPer%s,ResponseTimesSumPer%s(%s),MeanResponseTimePer%s(%s),MaxResponseTimePer%s(%s),ResponseBytesSumPer%s,MeanResponseSizeBytesPer%s,MaxResponseSizeBytesPer%s\", \\\n+      per_title, \\\n+      per_title, \\\n+      per_title, \\\n+      per_title, \\\n+      per_title, \\\n+      responseunit, \\\n+      per_title, \\\n+      responseunit, \\\n+      per_title, \\\n+      responseunit, \\\n+      per_title, \\\n+      per_title, \\\n+      per_title \\\n+    );\n+    if (hasJVMs) {\n+      printf(\",JVM\");\n+    }\n+    printf(\"\\n\");\n+  }\n+}\n+\n+# Match every line\n+{\n+  if (date_offset_left) {\n+    date = $(date_offset_left);\n+  } else {\n+    date = $(NF - date_offset_right);\n+  }\n+  if (status_offset_left) {\n+    status = $(status_offset_left);\n+  } else {\n+    status = $(NF - status_offset_right);\n+  }\n+\n+  if (!odrtimeformat) {\n+    gsub(\/\\[\/, \"\", date);\n+    gsub(\/\\\/\/, \":\", date);\n+    split(date, date_pieces, \":\");\n+    isoihsdate = sprintf(\"%d%02d%02d%02d%02d%02d\", date_pieces[3], getMonthInteger(date_pieces[2]), date_pieces[1], date_pieces[4], date_pieces[5], date_pieces[6]);\n+    day = sprintf(\"%d-%02d-%02d\", date_pieces[3], getMonthInteger(date_pieces[2]), date_pieces[1]);\n+    time = sprintf(\"%02d:%02d:%02d\", date_pieces[4], date_pieces[5], date_pieces[6]);\n+  } else {\n+    # 09\/sept.\/2021:10:36:54\n+    split(date, pieces, \"\/\");\n+    split(pieces[3], date_pieces, \":\");\n+    isoihsdate = sprintf(\"%d%02d%02d%02d%02d%02d\", date_pieces[1], getMonthIntegerODR(pieces[2]), pieces[1], date_pieces[2], date_pieces[3], date_pieces[4]);\n+    day = sprintf(\"%d-%02d-%02d\", date_pieces[1], getMonthIntegerODR(pieces[2]), pieces[1]);\n+    time = sprintf(\"%02d:%02d:%02d\", date_pieces[2], date_pieces[3], date_pieces[4]);\n+  }\n+\n+  if (!per_second) {\n+    gsub(\/..$\/, \"\", isoihsdate);\n+    gsub(\/:..$\/, \"\", time);\n+  }\n+\n+  if (response_time_offset_left) {\n+    response_time = $(response_time_offset_left);\n+  } else {\n+    response_time = $(NF - response_time_offset_right);\n+  }\n+\n+  if (response_size_offset_left) {\n+    response_size = $(response_size_offset_left);\n+  } else {\n+    response_size = $(NF - response_size_offset_right);\n+  }\n+\n+  arrivalisoihsdate = isoihsdate + 0;\n+  if (!per_second) {\n+    arrivalisoihsdate *= 100;\n+  }\n+  originalarrivalisoihsdate = arrivalisoihsdate;\n+  if (!odrtimeformat) {\n+    if (responsems) {\n+      response_time = (response_time + 0) \/ 1000;\n+      if (response_time >= 1000) {\n+        arrivalisoihsdate -= response_time \/ 1000;\n+        arrivalisoihsdate = int(arrivalisoihsdate);\n+      }\n+    } else {\n+      # microseconds\n+      if (response_time >= 1000000) {\n+        arrivalisoihsdate -= response_time \/ 1000000;\n+        arrivalisoihsdate = int(arrivalisoihsdate);\n+      }\n+    }\n+  } else {\n+    response_time = response_time + 0;\n+    arrivalisoihsdate -= response_time \/ 1000;\n+    arrivalisoihsdate = int(arrivalisoihsdate);\n+  }\n+\n+  if (int(arrivalisoihsdate % 100) >= 60) {\n+    arrivalisoihsdate -= 40;\n+  }\n+  if (!per_second) {\n+    arrivalisoihsdate = int(arrivalisoihsdate \/ 100);\n+  }\n+\n+  if (arrivalisoihsdate == 0) {\n+    printf(\"001WARNING (%s): Could not parse date for %s %s\\n\", FILENAME, $0, isoihsdate) > \"\/dev\/stderr\";\n+  }\n+\n+  key = \"all\";\n+\n+  if (jvm_offset_left) {\n+    key = $(jvm_offset_left);\n+    gsub(\/\"\/, \"\", key);\n+    hasJVMs = 1;\n+  } else if (length(jvm_offset_right) > 0) {\n+    key = $(NF - jvm_offset_right);\n+    gsub(\/\"\/, \"\", key);\n+    hasJVMs = 1;\n+  }\n+\n+  arrival_count = arrival_counts[key, arrivalisoihsdate] + 0;\n+  arrival_counts[key, arrivalisoihsdate] = arrival_count + 1;\n+\n+  arrival_counts[key, originalarrivalisoihsdate] = arrival_counts[key, originalarrivalisoihsdate] + 0;\n+\n+  if (debug) {\n+    printDebug($0 \"; date: \" date \", status: \" status \", isoihsdate: \" isoihsdate \", day: \" day \", time: \" time \", responsetime: \" response_time);\n+  }\n+\n+  sum = response_time_sums[key, isoihsdate] + 0;\n+  response_time_sums[key, isoihsdate] = sum + response_time;\n+  \n+  sum = response_size_sums[key, isoihsdate] + 0;\n+  response_size_sums[key, isoihsdate] = sum + response_size;\n+  \n+  count = response_time_counts[key, isoihsdate] + 0;\n+  response_time_counts[key, isoihsdate] = count + 1;\n+\n+  max = response_time_maximums[key, isoihsdate] + 0;\n+  if (response_time > max) {\n+    response_time_maximums[key, isoihsdate] = response_time;\n+  }\n+\n+  max = response_size_maximums[key, isoihsdate] + 0;\n+  if (response_size > max) {\n+    response_size_maximums[key, isoihsdate] = response_size;\n+  }\n+\n+  count = errors4xx_counts[key, isoihsdate] + 0;\n+  if (status >= 400 && status < 500) {\n+    count = count + 1;\n+  }\n+  errors4xx_counts[key, isoihsdate] = count;\n+\n+  count = errors5xx_counts[key, isoihsdate] + 0;\n+  if (status >= 500) {\n+    count = count + 1;\n+  }\n+  errors5xx_counts[key, isoihsdate] = count;\n+\n+  days[key, isoihsdate] = day;\n+  times[key, isoihsdate] = time;\n+}\n+\n+function getMonthInteger(month) {\n+  if (month == \"Jan\") {\n+    return 1;\n+  } else if (month == \"Feb\") {\n+    return 2;\n+  } else if (month == \"Mar\") {\n+    return 3;\n+  } else if (month == \"Apr\") {\n+    return 4;\n+  } else if (month == \"May\") {\n+    return 5;\n+  } else if (month == \"Jun\") {\n+    return 6;\n+  } else if (month == \"Jul\") {\n+    return 7;\n+  } else if (month == \"Aug\") {\n+    return 8;\n+  } else if (month == \"Sep\") {\n+    return 9;\n+  } else if (month == \"Oct\") {\n+    return 10;\n+  } else if (month == \"Nov\") {\n+    return 11;\n+  } else if (month == \"Dec\") {\n+    return 12;\n+  }\n+  return 0;\n+}\n+\n+function getMonthIntegerODR(month) {\n+  if (month ~ \/jan\/) {\n+    return 1;\n+  } else if (month ~ \/feb\/) {\n+    return 2;\n+  } else if (month ~ \/mar\/) {\n+    return 3;\n+  } else if (month ~ \/apr\/) {\n+    return 4;\n+  } else if (month ~ \/may\/) {\n+    return 5;\n+  } else if (month ~ \/jun\/) {\n+    return 6;\n+  } else if (month ~ \/jul\/) {\n+    return 7;\n+  } else if (month ~ \/aug\/) {\n+    return 8;\n+  } else if (month ~ \/sep\/) {\n+    return 9;\n+  } else if (month ~ \/oct\/) {\n+    return 10;\n+  } else if (month ~ \/nov\/) {\n+    return 11;\n+  } else if (month ~ \/dec\/) {\n+    return 12;\n+  }\n+  return 0;\n+}\n+\n+function printDebug(message) {\n+  printf(\"DEBUG: %s\\n\", message);\n+}\n+\n+function array2d_tokeys(array) {\n+  delete a2d2k;\n+  for (key in array) {\n+    split(key, pieces, SUBSEP);\n+    if (length(a2d2k[pieces[1]]) == 0) {\n+      a2d2k[pieces[1]] = pieces[2];\n+    } else {\n+      a2d2k[pieces[1]] = a2d2k[pieces[1]] SUBSEP pieces[2];\n+    }\n+  }\n+}\n+\n+END {\n+  array2d_tokeys(arrival_counts);\n+  printHeader();\n+  for (key in a2d2k) {\n+    split(a2d2k[key], pieces, SUBSEP);\n+    for (piecesKey in pieces) {\n+      date = pieces[piecesKey];\n+      dt = days[key, date];\n+      tm = times[key, date];\n+      if (!dt) {\n+        if (per_second) {\n+          dt = sprintf(\"%d-%02d-%02d\", date \/ 10000000000, (date \/ 100000000) % 1000, (date \/ 1000000) % 100);\n+          tm = sprintf(\"%d:%02d:%02d\", (date \/ 10000) % 100, (date \/ 100) % 100, date % 100);\n+        } else {\n+          dt = sprintf(\"%d-%02d-%02d\", date \/ 100000000, (date \/ 1000000) % 1000, (date \/ 10000) % 100);\n+          tm = sprintf(\"%d:%02d\", (date \/ 100) % 100, date % 100);\n+        }\n+      }\n+      arrivals = (arrival_counts[key, date] + 0) \/ divtranrates;\n+      responses = (response_time_counts[key, date] + 0) \/ divtranrates;\n+\n+      # ct is to compute averages. We don't divide by divtranrates here as that would skew the average\n+      ct = response_time_counts[key, date] + 0\n+      if (ct == 0) {\n+        ct = 1;\n+      }\n+\n+      if (responses > 0 || (responses == 0 && noskip0)) {\n+        printf( \\\n+          \"%s,%s %s,%s,%s,%d,%d,%d,%d,%d,%.2f,%d,%d,%.2f,%d\", \\\n+          date, \\\n+          dt, \\\n+          tm, \\\n+          dt, \\\n+          tm, \\\n+          arrivals, \\\n+          responses, \\\n+          errors4xx_counts[key, date] + 0, \\\n+          errors5xx_counts[key, date] + 0, \\\n+          response_time_sums[key, date] + 0, \\\n+          (response_time_sums[key, date] + 0) \/ ct, \\\n+          response_time_maximums[key, date] + 0, \\\n+          response_size_sums[key, date], \\\n+          (response_size_sums[key, date] + 0) \/ ct, \\\n+          response_size_maximums[key, date] \\\n+        );\n+        if (key != \"all\") {\n+          printf(\",%s\", key);\n+        }\n+        printf(\"\\n\");\n+      }\n+    }\n+  }\n+}\n"}
{"commit":"99c2f2f6954610ee7915054b590a113a576f3997","subject":"INTEGRATION: CWS internatiodel (1.1.2); FILE ADDED 2006\/02\/10 19:13:27 er 1.1.2.1: #i52115# move tools\/source\/intntl\/ to i18npool\/source\/isolang\/","message":"INTEGRATION: CWS internatiodel (1.1.2); FILE ADDED\n2006\/02\/10 19:13:27 er 1.1.2.1: #i52115# move tools\/source\/intntl\/ to i18npool\/source\/isolang\/\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'i18npool\/source\/isolang\/lcid.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/isolang\/lcid.awk\n+++ i18npool\/source\/isolang\/lcid.awk\n@@ -0,0 +1,119 @@\n+#!\/usr\/bin\/awk -f\n+#\n+# Utility to compare MS-LANGID definitions with those defined in ..\/..\/inc\/i18npool\/lang.hxx\n+# Run in i18npool\/source\/isolang\n+#\n+# outputs new #define LANGUAGE_... 0x... and also some commented out substrings\n+# that were matched in already existing defines.\n+#\n+# Expects input from the saved page of\n+#\n+# (1)\n+# http:\/\/www.microsoft.com\/globaldev\/reference\/lcid-all.mspx\n+# filtered through ``html2text -nobs ...'', generated table:\n+# blank,name,hex,dec fields:\n+#    |Afrikaans_-_South_Africa____________|0436|1078_|\n+# Best if file cleaned up to _only_ contain the table entries, but not\n+# necessary, entries are filtered. Check output.\n+#\n+# complete command line:\n+# lynx -dump -source http:\/\/www.microsoft.com\/globaldev\/reference\/lcid-all.mspx | html2text -nobs | awk -f lcid.awk >outfile\n+#\n+#\n+# (2)\n+# http:\/\/www.microsoft.com\/globaldev\/reference\/winxp\/xp-lcid.mspx\n+# filtered through ``html2text -nobs ...'', generated table:\n+# blank,name,hex,dec,inputlocales,collection fields:\n+#    |Afrikaans                           |0436|1078 |0436:       |Basic     |\n+# Best if file cleaned up to _only_ contain the table entries, but not\n+# necessary, entries are filtered. Check output.\n+#\n+# complete command line:\n+# lynx -dump -source http:\/\/www.microsoft.com\/globaldev\/reference\/winxp\/xp-lcid.mspx | html2text -nobs | awk -f lcid.awk >outfile\n+#\n+# Author: Eike Rathke <erack@sun.com>, <er@openoffice.org>\n+#\n+\n+BEGIN {\n+    while ((getline < \"..\/..\/inc\/i18npool\/lang.hxx\") > 0)\n+    {\n+        if ($0 ~ \/^#define[ ]*LANGUAGE_[_A-Za-z0-9]*[ ]*0x[0-9a-fA-F]\/)\n+        {\n+            # lang[HEX]=NAME \n+            lang[toupper(substr($3,3))] = toupper($2)\n+            #print substr($3,3) \"=\" $2\n+        }\n+    }\n+    # html2text table follows\n+    FS = \"\\|\"\n+    filetype = 0\n+    lcid_all = 1\n+    xp_lcid  = 2\n+}\n+\n+(NF < 5) { next }\n+\n+!filetype {\n+    if (NF == 5)\n+        filetype = lcid_all\n+    else if (NF == 7)\n+        filetype = xp_lcid\n+    else\n+        next\n+}\n+\n+($3 !~ \/^[0-9a-fA-F][0-9a-fA-F]*$\/) { filtered[$3] = $0; next }\n+\n+# all[HEX]=string\n+{ all[toupper($3)] = $2 }\n+\n+# new hex: newlang[HEX]=string\n+!(toupper($3) in lang) { newlang[toupper($3)] = $2 }\n+\n+END {\n+    if (!filetype)\n+    {\n+        print \"No file type (lcid-all|xp-lcid) recognized.\" >>\"\/dev\/stderr\"\n+        exit(1)\n+    }\n+    else if (filetype == lcid_all)\n+        print \"\/\/ assuming lcid-all file\"\n+    else if (filetype == xp_lcid)\n+        print \"\/\/ assuming xp-lcid file\"\n+    else\n+        print \"\/\/ unknown file type\"\n+    # every new language\n+    for (x in newlang)\n+    {\n+        printf( \"xxxxxxx LANGUAGE_%-26s 0x%s\\n\", newlang[x], x)\n+        n = split(newlang[x],arr,\/[^A-Za-z0-9]\/)\n+        def = \"\"\n+        for (i=1; i<=n; ++i)\n+        {\n+            if (length(arr[i]))\n+            {\n+                # each identifier word of the language name\n+                if (def)\n+                    def = def \"_\"\n+                aup = toupper(arr[i])\n+                def = def aup\n+                for (l in lang)\n+                {\n+                    #  contained in already existing definitions?\n+                    if (lang[l] ~ aup)\n+                        printf( \"\/\/ %-50s %s\\n\", arr[i] \": \" lang[l], l)\n+                }\n+            }\n+        }\n+        printf( \"#define LANGUAGE_%-26s 0x%s\\n\", def, x)\n+    }\n+    print \"\\n\/\/ --- reverse check follows ----------------------------------\\n\"\n+    for (x in lang)\n+    {\n+        if (!(x in all))\n+            print \"\/\/ not in input file:   \" x \"  \" lang[x]\n+    }\n+    print \"\\n\/\/ --- filtered table entries follow (if any) -----------------\\n\"\n+    for (x in filtered)\n+        print \"\/\/ filtered:   \" x \"  \" filtered[x]\n+}\n"}
{"commit":"ce32c5e71c274df0eb12d02beffc4af9243ae648","subject":"Added push_pop_indent script","message":"Added push_pop_indent script\n","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler","returncode":1,"stderr":"error: pathspec 'tools\/push_pop_indent.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tools\/push_pop_indent.awk\n+++ tools\/push_pop_indent.awk\n@@ -0,0 +1,18 @@\n+#!\/bin\/awk -f\n+\n+\/pop\/ {\n+\tif(--indent < 0)\n+\t\tprint \"AWK: indent less than zero (\" indent \")\" #| \"cat >&2\"\n+}\n+\n+{\n+\ti = indent\n+\twhile(i --> 0)\n+\t\tprintf \"\\t\"\n+\n+\tprint $0\n+}\n+\n+\/push\/ {\n+\tindent++\n+}\n"}
{"commit":"6aac3f2d5fc83c88618dc9e23a840b00dca89d33","subject":"sage-spy: last-modified","message":"sage-spy: last-modified\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"d1d4252194c8a0846a7857fbf7561beb10e85818","subject":"    print \"try 1.7 for FTP\"","message":"    print \"try 1.7 for FTP\"\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"d3ba84edd5cf5de67d6f44f84bcab92e6686b100","subject":"checkFile: olap4j header format has changed.","message":"checkFile: olap4j header format has changed.\n","repos":"citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/citycloud-bigdata\/mondrian.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"85397f6499f03911ea50d8cb8dcfd7151ebda856","subject":"Awk script to colorize junit output Example of usage : .\/build junit | tee junit.log | awk -f ..\/dev\/scripts\/junit.awk","message":"Awk script to colorize junit output\nExample of usage :\n.\/build junit | tee junit.log | awk -f ..\/dev\/scripts\/junit.awk\n\ngit-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@9193 28e8926c-6b08-0410-baaa-805c5e19b8d6\n","repos":"mnip91\/programming-multiactivities,paraita\/programming,acontes\/programming,mnip91\/proactive-component-monitoring,paraita\/programming,mnip91\/proactive-component-monitoring,jrochas\/scale-proactive,fviale\/programming,acontes\/programming,PaulKh\/scale-proactive,mnip91\/programming-multiactivities,lpellegr\/programming,PaulKh\/scale-proactive,lpellegr\/programming,ow2-proactive\/programming,jrochas\/scale-proactive,acontes\/programming,lpellegr\/programming,fviale\/programming,paraita\/programming,PaulKh\/scale-proactive,jrochas\/scale-proactive,fviale\/programming,PaulKh\/scale-proactive,paraita\/programming,ow2-proactive\/programming,mnip91\/proactive-component-monitoring,ow2-proactive\/programming,acontes\/programming,mnip91\/programming-multiactivities,jrochas\/scale-proactive,PaulKh\/scale-proactive,ow2-proactive\/programming,mnip91\/programming-multiactivities,ow2-proactive\/programming,fviale\/programming,jrochas\/scale-proactive,paraita\/programming,paraita\/programming,lpellegr\/programming,acontes\/programming,jrochas\/scale-proactive,lpellegr\/programming,lpellegr\/programming,mnip91\/proactive-component-monitoring,PaulKh\/scale-proactive,fviale\/programming,mnip91\/programming-multiactivities,acontes\/programming,PaulKh\/scale-proactive,mnip91\/proactive-component-monitoring,mnip91\/programming-multiactivities,jrochas\/scale-proactive,fviale\/programming,ow2-proactive\/programming,mnip91\/proactive-component-monitoring,acontes\/programming","returncode":1,"stderr":"error: pathspec 'dev\/scripts\/junit.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- dev\/scripts\/junit.awk\n+++ dev\/scripts\/junit.awk\n@@ -0,0 +1,39 @@\n+# Example of usage :\n+#\n+#   .\/build junit | awk -f ..\/dev\/scripts\/junit.awk\n+#\n+# or\n+#\n+#   .\/build junit | tee junit.log | awk -f ..\/dev\/scripts\/junit.awk\n+#\n+\n+BEGIN {\n+    nberr = 0;\n+    prev = \"\";\n+    current = \"\";\n+    errors = \"\";\n+}\n+\n+{\n+  if ( $0 ~ \/\\[junit\\]\/ ) {\n+    prev = current;\n+    current = $3;\n+    \n+    if ( $0 ~ \/(Failures|Errors): [1-9]+\/ ) {\n+        nberr++;\n+\terrors = errors \"\\n  \" prev\n+    }\n+\n+    sub(\/run: [0-9]+\/, \"\\033[32;1m&\\033[0m\");\n+    sub(\/(Failures|Errors): [1-9]+\/, \"\\033[31;1m&\\033[0m\");\n+    sub(\/[0-9.]+ sec\/, \"\\033[29;1m&\\033[0m\");\n+\n+    print\n+  }\n+}\n+\n+END {\n+    if ( nberr > 0 ) {\n+\tprint \"\\033[31;1mThere was \" nberr \" failure\" ( nberr>1 ? \"s\" : \"\" ) \" : \" errors \"\\033[0m\"\n+    }\n+}\n"}
{"commit":"debfe27dce2ad809580e0fad258e97221e1bbf7a","subject":"add subnetRRD.awk","message":"add subnetRRD.awk\n","repos":"mhaya\/sflow","returncode":1,"stderr":"error: pathspec 'subnetRRD.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- subnetRRD.awk\n+++ subnetRRD.awk\n@@ -0,0 +1,31 @@\n+#!\/bin\/awk -f\n+\n+BEGIN{ lastInt = 0; }\n+\/unixSecondsUTC\/{\n+  currentInt = $2 - ($2 % 300);\n+  if(currentInt != lastInt) {\n+    cmd=\"rrdtool update subnet.rrd\";\n+    templates = \"--template \";\n+    values=lastInt;\n+    i=0;\n+    for(key in count) {\n+      templates=templates\"n\"key\":\";\n+      values=values\":\"count[key];\n+      i++;\n+    }\n+    sub( \/.$\/, \"\", templates );\n+    if(i>0){\n+\tprint cmd\" \"templates\" \"values;\n+    }\n+    lastInt = currentInt;\n+    delete count;\n+  }\n+}\n+\/dstIP\/{\n+    vlan = $2;\n+    split(vlan,tmp,\".\");\n+    key = tmp[3];\n+    count[key] = count[key] + 1;\n+}\n+END{}\n+\n"}
{"commit":"d926beea526f3e2b53ae79203d08e3625c601041","subject":"2007-12-31  Martin Sebor  <sebor@roguewave.com>","message":"2007-12-31  Martin Sebor  <sebor@roguewave.com>\n\n\t* xcomp.awk: Escaped the question mark in invocation of gsub() to\n\tsilence the FreeBSD error: illegal primary in regular expression.\n\n\ngit-svn-id: 1e8a4076bc3774682289f662a06025447996ff23@607789 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"8175696dbc929fb74a7c6a63822b2fdc6be359ce","subject":"Added draft version of 'gen_jnienv_go.awk'","message":"Added draft version of 'gen_jnienv_go.awk'\n","repos":"asukakenji\/go,asukakenji\/go,asukakenji\/go,asukakenji\/go","returncode":1,"stderr":"error: pathspec 'jni\/scripts\/gen_jnienv_go.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- jni\/scripts\/gen_jnienv_go.awk\n+++ jni\/scripts\/gen_jnienv_go.awk\n@@ -0,0 +1,144 @@\n+BEGIN {\n+\t# Beginning Stub\n+\tprint \"#include \\\"jnienv.h\\\"\"\n+}\n+\n+func join(array, separator) {\n+\tbuffer = array[1]\n+\tfor (i = 2; i <= length(array); i++) {\n+\t\tbuffer = buffer separator array[i]\n+\t}\n+\treturn buffer\n+}\n+\n+func get_return_type(declaration) {\n+\tmatch(declaration, \/^[^ ]+\/)\n+\treturn substr(declaration, 1, RLENGTH)\n+}\n+\n+func get_method(declaration) {\n+\tmatch(declaration, \/_GoJni[^(]+\/)\n+\treturn substr(declaration, RSTART + 6, RLENGTH - 6)\n+}\n+\n+func get_parameter_list(declaration) {\n+\tmatch(declaration, \/\\([^)]+\\)\/)\n+\treturn substr(declaration, RSTART + 1, RLENGTH - 2)\n+}\n+\n+func get_first_parameter_type(parameter_list) {\n+\tif (parameter_list == \"\") {\n+\t\treturn \"\"\n+\t}\n+\tmatch(parameter_list, \/ [^ ,]+(, |$)\/)\n+\treturn substr(parameter_list, 1, RSTART - 1)\n+}\n+\n+func get_first_parameter_name(parameter_list) {\n+\tif (parameter_list == \"\") {\n+\t\treturn \"\"\n+\t}\n+\tmatch(parameter_list, \/ [^ ,]+(, |$)\/)\n+\tfirst_parameter_name = substr(parameter_list, RSTART + 1, RLENGTH - 1)\n+\tlen = length(first_parameter_name)\n+\tif (substr(first_parameter_name, len - 1) == \", \") {\n+\t\treturn substr(first_parameter_name, 1, len - 2)\n+\t}\n+\treturn first_parameter_name\n+}\n+\n+func remove_first_parameter(parameter_list) {\n+\tif (parameter_list == \"\") {\n+\t\treturn \"\"\n+\t}\n+\tmatch(parameter_list, \/^[^,]+(, |$)\/)\n+\treturn substr(parameter_list, RLENGTH + 1)\n+}\n+\n+func transform_type(type) {\n+\tif (type == \"void\") {\n+\t\treturn \"\"\n+\t}\n+\tif (substr(type, 1, 6) == \"const \") {\n+\t\ttype = substr(type, 7)\n+\t}\n+\tlen = length(type)\n+\tif (substr(type, len) == \"*\") {\n+\t\ttype = \"*C.\" substr(type, 1, len - 1)\n+\t} else {\n+\t\ttype = \"C.\" type\n+\t}\n+\treturn type\n+}\n+\n+func transform_parameter_name(parameter_name) {\n+\tif (parameter_name == \"len\") {\n+\t\treturn \"_len\"\n+\t}\n+\treturn parameter_name\n+}\n+\n+\/^\\\/\\\/ jni.h:$\/ {\n+\tprint \"\"\n+\tprint\n+}\n+\n+\/^\\\/\\\/  \/ {\n+\tprint\n+}\n+\n+\/^[^#\\\/]\/ {\n+\t# Method\n+\tm = get_method($0)\n+\tprintf \"func \" m \"(\"\n+\n+\t# Parameter List\n+\tpl = get_parameter_list($0)\n+\tfor (i in ps) {\n+\t\tdelete ps[i]\n+\t}\n+\ti = 1\n+\twhile (1) {\n+\t\tpt1 = get_first_parameter_type(pl)\n+\t\tif (pt1 == \"\") {\n+\t\t\tbreak\n+\t\t}\n+\t\tpn1 = get_first_parameter_name(pl)\n+\t\tps[i] = transform_parameter_name(pn1) \" \" transform_type(pt1)\n+\t\tpl = remove_first_parameter(pl)\n+\t\t++i\n+\t}\n+\tprintf join(ps, \", \")\n+\n+\t# Return Type\n+\trt = get_return_type($0)\n+\tif (rt == \"void\") {\n+\t\tprint \") {\"\n+\t} else {\n+\t\tprint \") \" transform_type(rt) \" {\"\n+\t}\n+\n+\t# Invocation\n+\tpl = get_parameter_list($0)\n+\tfor (i in pns) {\n+\t\tdelete pns[i]\n+\t}\n+\ti = 1\n+\twhile (1) {\n+\t\tpn1 = get_first_parameter_name(pl)\n+\t\tif (pn1 == \"\") {\n+\t\t\tbreak\n+\t\t}\n+\t\tpns[i] = transform_parameter_name(pn1)\n+\t\tpl = remove_first_parameter(pl)\n+\t\t++i\n+\t}\n+\tif (rt == \"void\") {\n+\t\tprint \"\\t\" \"C._GoJni\" m \"(\" join(pns, \", \") \")\"\n+\t} else {\n+\t\tprint \"\\t\" \"return C._GoJni\" m \"(\" join(pns, \", \") \")\"\n+\t}\n+\n+\t# End\n+\tprint \"}\"\n+}\n"}
{"commit":"c5e5d03ccff7d71402309b30d4fa30bcdc8b7832","subject":"2008-03-14  Martin Sebor  <sebor@roguewave.com>","message":"2008-03-14  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk: Escaped a forward slash to make FreeBSD awk happy.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@637274 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"ba83f2adeb746643d6434856abac85d854855de4","subject":"x","message":"x\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@4133 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"8bb513acc1013a7aa67174df5f21d007fecc22fd","subject":"filter some triples for the diagrams","message":"filter some triples for the diagrams\n","repos":"timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation,timrdf\/csv2rdf4lod-automation","returncode":1,"stderr":"error: pathspec 'doc\/examples\/source\/data-gov\/1554-frbr-demo-explore\/version\/2011-Sep-19-frbr\/doc\/filter.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- doc\/examples\/source\/data-gov\/1554-frbr-demo-explore\/version\/2011-Sep-19-frbr\/doc\/filter.awk\n+++ doc\/examples\/source\/data-gov\/1554-frbr-demo-explore\/version\/2011-Sep-19-frbr\/doc\/filter.awk\n@@ -0,0 +1,9 @@\n+{\n+        if ( $0~\/#hasHash\/ ) {}\n+   else if ( $0~\/#TabularDigest\/ ) {}\n+   else if ( $0~\/#hashAlgorithm\/ ) {}\n+   else if ( $0~\/#hashValue\/ ) {}\n+   else if ( $0~\/hash:Item\/ ) {}\n+   else if ( $0~\/p.surfrdf\/ ) {}\n+   else { print }\n+}\n"}
{"commit":"d42c4b5ecc28ce427216be60cb6dd5aa531bc6cc","subject":"make output more colorful","message":"make output more colorful\n","repos":"baobaoyeye\/tools","returncode":1,"stderr":"error: pathspec 'print_color.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- print_color.awk\n+++ print_color.awk\n@@ -0,0 +1,40 @@\n+#!\/bin\/awk -f\n+\n+BEGIN {\n+    #define verables\n+    flag=1\n+    begin_p=bp\n+    end_p=ep\n+    output=o\n+    color=c\n+    help=h\n+\n+    #print help part\n+    if(h!=\"no\"){\n+        print \"\\x1b[7mUsage:\\tprint_color.awk [-v 'bp=regex'][-v 'ep=regex'][-v c=color][-v o=only]\\x1b[m\\x1b[m\"\n+        print \"\\x1b[7m\\tbp|ep is a regex match to special output row.\\x1b[m\\x1b[m\"\n+        print \"\\x1b[7m\\tcolor=black|red|green|yellow|blue|purple|cyan|white default is white\\x1b[m\\x1b[m\"\n+        print \"\\x1b[7m\\tif option 'o' equels 'only',means only output between [bp,ep]\\x1b[m\\x1b[m\"\n+        print \"\\x1b[7m\\tif option 'h' equels 'no',means don't show help infomation\\x1b[m\\x1b[m\"\n+    }\n+}\n+$0 ~ begin_p { \n+    flag=0\n+}\n+flag==0 {\n+    if(color==\"black\"){print \"\\x1b[30m\",$0,\"\\x1b[m\\x1b[m\"}\n+    else if(color==\"red\"){print \"\\x1b[31m\",$0,\"\\x1b[m\\x1b[m\"}\n+    else if(color==\"green\"){print \"\\x1b[32m\",$0,\"\\x1b[m\\x1b[m\"}\n+    else if(color==\"yellow\"){print \"\\x1b[33m\",$0,\"\\x1b[m\\x1b[m\"}\n+    else if(color==\"blue\"){print \"\\x1b[34m\",$0,\"\\x1b[m\\x1b[m\"}\n+    else if(color==\"purple\"){print \"\\x1b[35m\",$0,\"\\x1b[m\\x1b[m\"}\n+    else if(color==\"cyan\"){print \"\\x1b[36m\",$0,\"\\x1b[m\\x1b[m\"}\n+    else if(color==\"white\"){print \"\\x1b[37m\",$0,\"\\x1b[m\\x1b[m\"}\n+    else{print \"\\x1b[37m\",$0,\"\\x1b[m\\x1b[m\"}\n+}\n+flag==1 {\n+    if(output!=\"only\"){print $0}    \n+}\n+$0 ~ end_p {\n+    flag=1\n+}\n"}
{"commit":"e7ca023fa514b19d8775901677928662399cb9a5","subject":"get symbol names from unix mapfile","message":"get symbol names from unix mapfile\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'solenv\/bin\/getcsym.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- solenv\/bin\/getcsym.awk\n+++ solenv\/bin\/getcsym.awk\n@@ -0,0 +1,68 @@\n+#*************************************************************************\n+#\n+#   $RCSfile: getcsym.awk,v $\n+#\n+#   $Revision: 1.1 $\n+#\n+#   last change: $Author: hjs $ $Date: 2001-04-27 12:46:32 $\n+#\n+#   The Contents of this file are made available subject to the terms of\n+#   either of the following licenses\n+#\n+#          - GNU Lesser General Public License Version 2.1\n+#          - Sun Industry Standards Source License Version 1.1\n+#\n+#   Sun Microsystems Inc., October, 2000\n+#\n+#   GNU Lesser General Public License Version 2.1\n+#   =============================================\n+#   Copyright 2000 by Sun Microsystems, Inc.\n+#   901 San Antonio Road, Palo Alto, CA 94303, USA\n+#\n+#   This library is free software; you can redistribute it and\/or\n+#   modify it under the terms of the GNU Lesser General Public\n+#   License version 2.1, as published by the Free Software Foundation.\n+#\n+#   This library is distributed in the hope that it will be useful,\n+#   but WITHOUT ANY WARRANTY; without even the implied warranty of\n+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+#   Lesser General Public License for more details.\n+#\n+#   You should have received a copy of the GNU Lesser General Public\n+#   License along with this library; if not, write to the Free Software\n+#   Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n+#   MA  02111-1307  USA\n+#\n+#\n+#   Sun Industry Standards Source License Version 1.1\n+#   =================================================\n+#   The contents of this file are subject to the Sun Industry Standards\n+#   Source License Version 1.1 (the \"License\"); You may not use this file\n+#   except in compliance with the License. You may obtain a copy of the\n+#   License at http:\/\/www.openoffice.org\/license.html.\n+#\n+#   Software provided under this License is provided on an \"AS IS\" basis,\n+#   WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,\n+#   WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,\n+#   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.\n+#   See the License for the specific provisions governing your rights and\n+#   obligations concerning the Software.\n+#\n+#   The Initial Developer of the Original Code is: Sun Microsystems, Inc..\n+#\n+#   Copyright: 2000 by Sun Microsystems, Inc.\n+#\n+#   All Rights Reserved.\n+#\n+#   Contributor(s): _______________________________________\n+#\n+#\n+#\n+#*************************************************************************\n+BEGIN { global_found = \"false\" }\n+\/[ \\t]*local:\/ { global_found = \"false\" }\n+\/^[ \\t]*$\/ { next }\n+global_found == \"true\"  { print $0 }\n+\/[ \\t]*global:\/ { global_found = \"true\" }\n+\n+\n"}
{"commit":"6f369be98072526179ed8651f2357f4275fd850c","subject":"explanatory comments","message":"explanatory comments\n","repos":"szilvajuhos\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/szilvajuhos\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"c457e091e187e051183d0dd2fbc2d182df4dec65","subject":"Add truecolor awk script.","message":"Add truecolor awk script.\n\nThis script is used to test true color support on your terminal emulator\nof choice. If a smooth gradient is displayed when it is run, then\neverything is configured correctly.\n","repos":"deoxys314\/deoxys314_dotfiles","returncode":1,"stderr":"error: pathspec 'scripts\/truecolor.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- scripts\/truecolor.awk\n+++ scripts\/truecolor.awk\n@@ -0,0 +1,13 @@\n+BEGIN{\n+    s=\"\/\\\\\/\\\\\/\\\\\/\\\\\/\\\\\"; s=s s s s s s s s;\n+    for (colnum = 0; colnum<77; colnum++) {\n+        r = 255-(colnum*255\/76);\n+        g = (colnum*510\/76);\n+        b = (colnum*255\/76);\n+        if (g>255) g = 510-g;\n+        printf \"\\033[48;2;%d;%d;%dm\", r,g,b;\n+        printf \"\\033[38;2;%d;%d;%dm\", 255-r,255-g,255-b;\n+        printf \"%s\\033[0m\", substr(s,colnum+1,1);\n+    }\n+    printf \"\\n\";\n+}\n"}
{"commit":"ccd2e341b6b88c19fbce9b8707689fd3a770f80a","subject":"I better commit this, while it works.","message":"I better commit this, while it works.\n","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm","returncode":1,"stderr":"error: pathspec 'share\/bin\/plain2mp.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- share\/bin\/plain2mp.awk\n+++ share\/bin\/plain2mp.awk\n@@ -0,0 +1,185 @@\n+#!\/usr\/bin\/awk\n+\n+# TODO:\n+# cat nfa.dot | dot -Tplain > \/tmp\/a.mp \\\n+# && mpost -s 'outputformat=\"svg\"' -s 'outputtemplate=\"%j-%c.%o\"' \/tmp\/a.mp\n+\n+# Only intended to consume Dot generated from libfsm's .dot output,\n+# and not graphviz diagrams in general.\n+\n+# graph 1 5.75 0.93056\n+# node start 0.15278 0.41667 0.30556 0.5 \"\" solid none black lightgrey\n+# node S6 0.97222 0.41667 0.30556 0.30556 \"\" solid circle black lightgrey\n+# node S1 5.5417 0.20833 0.41667 0.41667 \"\" solid doublecircle black lightgrey\n+# edge S3 S6 10 3.5244 0.20119 3.2727 0.19014 2.7322 0.17358 2.2778 0.20833 1.873 0.23929 1.7755 0.28067 1.375 0.34722 1.3389 0.35322 1.3009 0.35974 1.2635 0.3663 <&#x3B5;> 2.3264 0.3125 solid black\n+# edge S3 S2 4 3.835 0.20833 3.9555 0.20833 4.1328 0.20833 4.2831 0.20833 <y> 4.1319 0.3125 solid black\n+# stop\n+\n+BEGIN {\n+\t# TODO: common stuff for multiple graphs\n+\tprint \"pair start;\"\n+\tprint \"pair S[];\"\n+\tprint \"pair q[];\"\n+\tprint \"path nS[];\"\n+\tprint \"path nstart;\"\n+\tprint \"path e;\"\n+\tprint \"ahlength := .1in;\"\n+}\n+\n+\/^graph \/ {\n+\tprintf \"beginfig(%s)\\n\", $2\n+}\n+\n+\/^node \/ {\n+\t# node S6 0.97222 0.41667 0.30556 0.30556 \"\" solid circle black lightgrey\n+\t# node name x y width height label style shape color fillcolor\n+\n+\tname = $2;\n+\tx = $3;\n+\ty = $4;\n+\twidth = $5;\n+\theight = $6;\n+\t# TODO: label delimited by <>, may contain spaces\n+\n+\tdiameter = (height + width) \/ 2;\n+\n+#\tprintf \"\\t%% %s %s\\n\", name, $0\n+#\tprintf \"\\t%s := fullcircle scaled %fin shifted (%fin, %fin);\\n\", name, diameter, x, y\n+#\tprintf \"\\tdraw %s;\\n\", name\n+\tprintf \"\\t%s := (%fin, %fin);\\n\", name, x, y\n+\n+\t# TODO: style for doublecircle\n+\t# TODO: style for start state\n+\n+\tprintf \"\\tn%s := fullcircle scaled %fin shifted %s;\\n\", name, diameter, name\n+\n+\tprintf \"\\tdraw n%s;\\n\", name\n+}\n+\n+#\/^edge S1 S5 \/ {\n+\/^edge \/ {\n+\t# edge tail head n x1 y1 .. xn yn [label xl yl] style color\n+\t# edge S3 S6 10 3.5244 0.20119 3.2727 0.19014 2.7322 0.17358 2.2778 0.20833 1.873 0.23929 1.7755 0.28067 1.375 0.34722 1.3389 0.35322 1.3009 0.35974 1.2635 0.3663 <&#x3B5;> 2.3264 0.3125 solid black\n+\n+\ttail = $2;\n+\thead = $3;\n+\tn    = $4;\n+\n+\tv = split($0, a, \" \");\n+# TODO: assert n < v - whatever\n+# TODO: assert n >= 4 (knot, control, control)\n+\n+\t# TODO: note we assume -Etailclip=false -Eheadclip=false -Edir=none\n+\t# TODO: explain that requirement\n+\n+\t# things i wish the graphviz documentation said about -Tplain:\n+\t# graphviz always outputs cubic b-splines\n+\t# 3i+1 points total. format is { knot, control, control }* knot\n+\t# bezier is ordered tail to head\n+\t# first two points (knot, control) are ontop of each other, in the tail node\n+\t# last two points (control, knot) are ontop of each other, in the head node\n+\t# coordinates are in inches\n+\n+#\tprintf \"\\te := %s .. \", tail;\n+#\tfor (i = 1; i <= n; i++) {\n+#\t\t# control point\n+#\t\tcx = a[i * 2 + 3];\n+#\t\tcy = a[i * 2 + 4];\n+#\n+#\t\t# knot\n+##\t\tox = a[i * 2 + 5];\n+##\t\toy = a[i * 2 + 6];\n+#\n+#\t\tprintf \"(%sin, %sin) .. \", cx, cy;\n+##\t\tprintf \"(%sin, %sin) .. controls (%sin, %sin) and (%sin, %sin) ..\", ox, oy, cx, cy, cx, cy;\n+#\t}\n+#\tprintf \"%s;\\n\", head;\n+\n+\t#printf \"draw e withcolor green;\\n\";\n+\t#printf \"draw point .5 of e withpen pencircle scaled 3bp withcolor blue;\\n\";\n+\t#printf \"draw e cutafter %s withcolor black;\\n\", head;\n+\n+\tfor (i = 1; i <= n; i++) {\n+\t\tox = a[i * 2 + 3];\n+\t\toy = a[i * 2 + 4];\n+\t\tprintf \"draw (%sin, %sin) withpen pencircle scaled 4bp withcolor black;\\n\", ox, oy;\n+#\t\tprintf \"label.top(\\\"%d\\\", (%sin, %sin));\\n\", i, ox, oy;\n+\t}\n+\n+\tfor (i = 1; i <= n - 1; i += 3) {\n+\t\t# knot\n+\t\tox = a[(i + 0) * 2 + 3];\n+\t\toy = a[(i + 0) * 2 + 4];\n+\n+\t\t# control\n+\t\tc1x = a[(i + 1) * 2 + 3];\n+\t\tc1y = a[(i + 1) * 2 + 4];\n+\n+\t\t# control\n+\t\tc2x = a[(i + 2) * 2 + 3];\n+\t\tc2y = a[(i + 2) * 2 + 4];\n+\n+\t\tprintf \"draw (%fin, %fin) withpen pencircle scaled 3bp withcolor red;\\n\", ox, oy;\n+\t\tprintf \"draw (%fin, %fin) withpen pencircle scaled 2bp withcolor red + green;\\n\", c1x, c1y;\n+\t\tprintf \"draw (%fin, %fin) withpen pencircle scaled 2bp withcolor red + green;\\n\", c2x, c2y;\n+\t}\n+\t# TODO: knot at end, which i haven't drawn\n+\t# last point:\n+\t{\n+\t\t# knot\n+\t\tox = a[(n + 0) * 2 + 3];\n+\t\toy = a[(n + 0) * 2 + 4];\n+\t\tprintf \"draw (%fin, %fin) withpen pencircle scaled 1bp withcolor red;\\n\", ox, oy;\n+\t}\n+\n+\n+\tprintf \"\\te := \";\n+\tfor (i = 1; i <= n - 1; i += 3) {\n+\t\t# knot\n+\t\tox = a[(i + 0) * 2 + 3];\n+\t\toy = a[(i + 0) * 2 + 4];\n+\n+\t\t# control\n+\t\tc1x = a[(i + 1) * 2 + 3];\n+\t\tc1y = a[(i + 1) * 2 + 4];\n+\n+\t\t# control\n+\t\tc2x = a[(i + 2) * 2 + 3];\n+\t\tc2y = a[(i + 2) * 2 + 4];\n+\n+\t\tprintf \"(%fin, %fin) .. controls (%fin, %fin) and (%fin, %fin) .. \", ox, oy, c1x, c1y, c2x, c2y;\n+\t}\n+\t# TODO: knot at end, which i haven't drawn\n+\t# last point:\n+\t{\n+\t\t# knot\n+\t\tox = a[(n + 0) * 2 + 3];\n+\t\toy = a[(n + 0) * 2 + 4];\n+\t\tprintf \"(%fin, %fin);\", ox, oy;\n+\t}\n+\n+\tprintf \"draw e withpen pencircle scaled 0.25bp withcolor red;\\n\";\n+\n+\n+## TODO: better explain this\n+printf \"pair p; p = e intersectionpoint n%s;\\n\", head;\n+printf \"pair q; q = e intersectionpoint n%s;\\n\", tail;\n+\n+##printf \"draw p withpen pencircle scaled 3bp withcolor blue;\\n\";\n+##printf \"draw q withpen pencircle scaled 3bp withcolor blue;\\n\";\n+\n+printf \"path b; b = %s .. p .. q .. %s;\\n\", head, tail;\n+\n+printf \"drawarrow b cutbefore p cutafter q withpen pencircle scaled 0.5bp withcolor blue;\\n\";\n+##printf \"\\tdraw fullcircle scaled %fin shifted %s;\\n\", diameter, name\n+#print \"endfig;end.\"\n+}\n+\n+\/^stop$\/ {\n+\tprint \"endfig;\"\n+}\n+\n+END {\n+\tprint \"end.\"\n+}\n+\n"}
{"commit":"3dcd804cf569ce2cc0f4afb2d151978e067c73ec","subject":"simple phylip to fasta canversion","message":"simple phylip to fasta canversion\n","repos":"ballesterus\/PhyloUtensils","returncode":1,"stderr":"error: pathspec 'phy2Fasta.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- phy2Fasta.awk\n+++ phy2Fasta.awk\n@@ -0,0 +1,10 @@\n+#!\/usr\/bin\/awk -f\n+\n+BEGIN{FS= \" \"; RS=\"\\n\"}\n+{if ($1 !~ \/[0-9]\/)\n+    {\n+\tid=$1;\n+\t$1=\"\";\n+\tprint \">\"id\"\\n\"$0\n+    }\n+}\n"}
{"commit":"fecbc3424fd89f1481939d158b465cf8e899e3e4","subject":"  for (y in x) z = z d x[y] (y < m ? d \"\\\\\" d : d)","message":"  for (y in x) z = z d x[y] (y < m ? d \"\\\\\" d : d)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"cee9cbfbeb9c3815b0a61ec18c4ba4e6b1c4a42d","subject":"Add source for info pages to CVS","message":"Add source for info pages to CVS\n","repos":"tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz","returncode":1,"stderr":"error: pathspec 'doc\/infosrc\/sz.awk' did not match any file(s) known to git\n","license":"epl-1.0","lang":"Awk","diff":"--- doc\/infosrc\/sz.awk\n+++ doc\/infosrc\/sz.awk\n@@ -0,0 +1 @@\n+{printf (\"%dx%d\", $2 + $4, $3 + $5); }\n"}
{"commit":"e1e921a26644001588a9b62386c32d60ff737ec1","subject":"2008-05-06  Martin Sebor  <sebor@roguewave.com>","message":"2008-05-06  Martin Sebor  <sebor@roguewave.com>\n\n\tSTDCXX-906\n\t* bin\/xcomp.awk (print_section): Corrected the computation\n\tof date ranges. Added comments. This is already on 4.2.x\n\t(inadvertently done in rev 653930).\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@653932 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"04d503c498d08ac16f64f9d29cf23da2e80c2e60","subject":"removed beginfile expression, unsupported by mawk","message":"removed beginfile expression, unsupported by mawk\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"a20527bbeb60ccdf182757020a68af2d4bedc029","subject":"    print ab_join(sb, RS)","message":"    print ab_join(sb, RS)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"6641e1c270b6699583c05ff2143fa82ae8c6b141","subject":"awk code","message":"awk code\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":1,"stderr":"error: pathspec 'src\/awk\/meanvariance.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/meanvariance.awk\n+++ src\/awk\/meanvariance.awk\n@@ -0,0 +1,17 @@\n+#! \/bin\/awk -f\n+\n+#find mean and variance of a column from a file\n+BEGIN {\n+print \"Hello awk\"\n+}\n+\n+#body\n+{\n+sum = sum + $4\n+}\n+END { \n+print NR\n+print sum \n+mean = sum \/ NR\n+print mean\n+}\n"}
{"commit":"00f77b8a583b35be7731c4d3e58af5b2356613b3","subject":"file sep","message":"file sep\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":1,"stderr":"error: pathspec 'src\/awk\/fs.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/fs.awk\n+++ src\/awk\/fs.awk\n@@ -0,0 +1,14 @@\n+#! \/bin\/awk -f\n+\n+#find mean and variance of a column from a file\n+BEGIN {\n+OFS=\",\"\n+}\n+#body\n+{\n+$1=$1 #rebuild the record using current OFS\n+print $0\n+}\n+END {\n+print \"Done\" \n+}\n"}
{"commit":"86d4eece10d2b0fefd103d49a4e658f3c0cf5dd0","subject":"Create main.awk","message":"Create main.awk","repos":"santhoshvai\/Competitive_Programming,santhoshvai\/Competitive_Programming,santhoshvai\/Competitive_Programming,santhoshvai\/Competitive_Programming","returncode":1,"stderr":"error: pathspec 'Challenges\/53.-Kamil\/main.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- Challenges\/53.-Kamil\/main.awk\n+++ Challenges\/53.-Kamil\/main.awk\n@@ -0,0 +1 @@\n+$0=2^gsub(\/[TDLF]\/,0)\n"}
{"commit":"922ff10873395f08e0d91dab08b37047a8f2deaa","subject":"Added one awk script","message":"Added one awk script\n","repos":"Jennings-Wu\/script,Jennings-Wu\/script,Jennings-Wu\/script","returncode":1,"stderr":"error: pathspec 'awk\/word_freq.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- awk\/word_freq.awk\n+++ awk\/word_freq.awk\n@@ -0,0 +1,16 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {\n+    FS = \"[^a-zA-Z]+\"\n+    OFS = \"\\t\"\n+}\n+\n+{\n+    for (i = 1; i < NF; i++)\n+\twords[tolower($i)]++;\n+}\n+\n+END {\n+    delete words[\"\"]\n+    for (i in words)\n+\tprint words[i], i\n+}\n"}
{"commit":"5e8fe6a0dabd6f5b0a57a474d0fb3e01d783f60f","subject":"add Shell (initial)","message":"add Shell (initial)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":1,"stderr":"error: pathspec 'include\/Shell.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- include\/Shell.awk\n+++ include\/Shell.awk\n@@ -0,0 +1,122 @@\n+####################################################################\n+# Shell.awk                                                        #\n+####################################################################\n+\n+# Detect external readline wrapper (rlwrap).\n+function initRlwrap() {\n+    Rlwrap = !system(\"rlwrap --version >\/dev\/null 2>\/dev\/null\") ? \"rlwrap\" : \"\"\n+}\n+\n+# Prompt for interactive session.\n+function prompt(    i, p, temp) {\n+    p = Option[\"prompt\"]\n+\n+    # Format specifiers supported by strftime().\n+    # Roughly following ISO 8601:1988, with the notable exception of \"%S\", \"%t\" and \"%T\".\n+    # GNU libc extensions like \"%l\", \"%s\" and \"%_*\" are not supported.\n+    # See: <https:\/\/www.gnu.org\/software\/gawk\/manual\/html_node\/Time-Functions.html>\n+    #      <http:\/\/pubs.opengroup.org\/onlinepubs\/007908799\/xsh\/strftime.html>\n+    if (p ~ \/%a\/) gsub(\/%a\/, strftime(\"%a\"), p)\n+    if (p ~ \/%A\/) gsub(\/%A\/, strftime(\"%A\"), p)\n+    if (p ~ \/%b\/) gsub(\/%b\/, strftime(\"%b\"), p)\n+    if (p ~ \/%B\/) gsub(\/%B\/, strftime(\"%B\"), p)\n+    if (p ~ \/%c\/) gsub(\/%c\/, strftime(\"%c\"), p)\n+    if (p ~ \/%C\/) gsub(\/%C\/, strftime(\"%C\"), p)\n+    if (p ~ \/%d\/) gsub(\/%d\/, strftime(\"%d\"), p)\n+    if (p ~ \/%D\/) gsub(\/%D\/, strftime(\"%D\"), p)\n+    if (p ~ \/%e\/) gsub(\/%e\/, strftime(\"%e\"), p)\n+    if (p ~ \/%F\/) gsub(\/%F\/, strftime(\"%F\"), p)\n+    if (p ~ \/%g\/) gsub(\/%g\/, strftime(\"%g\"), p)\n+    if (p ~ \/%G\/) gsub(\/%G\/, strftime(\"%G\"), p)\n+    if (p ~ \/%h\/) gsub(\/%h\/, strftime(\"%h\"), p)\n+    if (p ~ \/%H\/) gsub(\/%H\/, strftime(\"%H\"), p)\n+    if (p ~ \/%I\/) gsub(\/%I\/, strftime(\"%I\"), p)\n+    if (p ~ \/%j\/) gsub(\/%j\/, strftime(\"%j\"), p)\n+    if (p ~ \/%m\/) gsub(\/%m\/, strftime(\"%m\"), p)\n+    if (p ~ \/%M\/) gsub(\/%M\/, strftime(\"%M\"), p)\n+    if (p ~ \/%n\/) gsub(\/%n\/, strftime(\"%n\"), p)\n+    if (p ~ \/%p\/) gsub(\/%p\/, strftime(\"%p\"), p)\n+    if (p ~ \/%r\/) gsub(\/%r\/, strftime(\"%r\"), p)\n+    if (p ~ \/%R\/) gsub(\/%R\/, strftime(\"%R\"), p)\n+    if (p ~ \/%u\/) gsub(\/%u\/, strftime(\"%u\"), p)\n+    if (p ~ \/%U\/) gsub(\/%U\/, strftime(\"%U\"), p)\n+    if (p ~ \/%V\/) gsub(\/%V\/, strftime(\"%V\"), p)\n+    if (p ~ \/%w\/) gsub(\/%w\/, strftime(\"%w\"), p)\n+    if (p ~ \/%W\/) gsub(\/%W\/, strftime(\"%W\"), p)\n+    if (p ~ \/%x\/) gsub(\/%x\/, strftime(\"%x\"), p)\n+    if (p ~ \/%X\/) gsub(\/%X\/, strftime(\"%X\"), p)\n+    if (p ~ \/%y\/) gsub(\/%y\/, strftime(\"%y\"), p)\n+    if (p ~ \/%Y\/) gsub(\/%Y\/, strftime(\"%Y\"), p)\n+    if (p ~ \/%z\/) gsub(\/%z\/, strftime(\"%z\"), p)\n+    if (p ~ \/%Z\/) gsub(\/%Z\/, strftime(\"%Z\"), p)\n+\n+    # %_ : prompt message\n+    if (p ~ \/%_\/)\n+        gsub(\/%_\/, sprintf(Locale[getCode(Option[\"hl\"])][\"message\"], \"\"), p)\n+\n+    # %l : home language\n+    if (p ~ \/%l\/)\n+        gsub(\/%l\/, Locale[getCode(Option[\"hl\"])][\"display\"], p)\n+\n+    # %L : home language (English name)\n+    if (p ~ \/%L\/)\n+        gsub(\/%L\/, Locale[getCode(Option[\"hl\"])][\"name\"], p)\n+\n+    # %s : source language\n+    # 's' is the format-control character for string\n+\n+    # %S : source language (English name)\n+    if (p ~ \/%S\/)\n+        gsub(\/%S\/, Locale[getCode(Option[\"sl\"])][\"name\"], p)\n+\n+    # %t : target languages, separated by \"+\"\n+    if (p ~ \/%t\/) {\n+        temp = Locale[getCode(Option[\"tl\"][1])][\"display\"]\n+        for (i = 2; i <= length(Option[\"tl\"]); i++)\n+            temp = temp \"+\" Locale[getCode(Option[\"tl\"][i])][\"display\"]\n+        gsub(\/%t\/, temp, p)\n+    }\n+\n+    # %T : target languages (English names), separated by \"+\"\n+    if (p ~ \/%T\/) {\n+        temp = Locale[getCode(Option[\"tl\"][1])][\"name\"]\n+        for (i = 2; i <= length(Option[\"tl\"]); i++)\n+            temp = temp \"+\" Locale[getCode(Option[\"tl\"][i])][\"name\"]\n+        gsub(\/%T\/, temp, p)\n+    }\n+\n+    # %, : target languages, separated by \",\"\n+    if (p ~ \/%,\/) {\n+        temp = Locale[getCode(Option[\"tl\"][1])][\"display\"]\n+        for (i = 2; i <= length(Option[\"tl\"]); i++)\n+            temp = temp \",\" Locale[getCode(Option[\"tl\"][i])][\"display\"]\n+        gsub(\/%,\/, temp, p)\n+    }\n+\n+    # %< : target languages (English names), separated by \",\"\n+    if (p ~ \/%<\/) {\n+        temp = Locale[getCode(Option[\"tl\"][1])][\"name\"]\n+        for (i = 2; i <= length(Option[\"tl\"]); i++)\n+            temp = temp \",\" Locale[getCode(Option[\"tl\"][i])][\"name\"]\n+        gsub(\/%<\/, temp, p)\n+    }\n+\n+    # %\/ : target languages, separated by \"\/\"\n+    if (p ~ \/%\\\/\/) {\n+        temp = Locale[getCode(Option[\"tl\"][1])][\"display\"]\n+        for (i = 2; i <= length(Option[\"tl\"]); i++)\n+            temp = temp \"\/\" Locale[getCode(Option[\"tl\"][i])][\"display\"]\n+        gsub(\/%\\\/\/, temp, p)\n+    }\n+\n+    # %? : target languages (English names), separated by \"\/\"\n+    if (p ~ \/%\\?\/) {\n+        temp = Locale[getCode(Option[\"tl\"][1])][\"name\"]\n+        for (i = 2; i <= length(Option[\"tl\"]); i++)\n+            temp = temp \"\/\" Locale[getCode(Option[\"tl\"][i])][\"name\"]\n+        gsub(\/%\\?\/, temp, p)\n+    }\n+\n+    # %s : source language\n+    printf(AnsiCode[\"bold\"] AnsiCode[Option[\"prompt-color\"]] p AnsiCode[0] \" \", Locale[getCode(Option[\"sl\"])][\"display\"]) > \"\/dev\/stderr\"\n+}\n"}
{"commit":"02fe41f3e8a3679b1d5f33632d15ccc9b9ac3c76","subject":"Create lr.awk","message":"Create lr.awk\n\nAn Awk script for processing linear regression of input data","repos":"busysteve\/linear_regression","returncode":1,"stderr":"error: pathspec 'lr.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- lr.awk\n+++ lr.awk\n@@ -0,0 +1,47 @@\n+#!\/bin\/awk -f  \n+BEGIN{\n+    ts = 0;\n+}\n+{\n+\tlr = linearRegression( $1, ts, 10, 0 );\n+\tts += 10;\n+\n+\tprintf( \"%f\\n\", lr );\n+\n+}\n+\n+\n+function linearRegression( newAngle, looptime, samples, prediction )\n+{\n+\n+\tlreg[counter%samples] = newAngle;\n+\ttss[counter%samples] = looptime;\n+\n+\tcounter++;\n+\n+\tlxy = 0;\n+\tlxx = 0;\n+\tlxs = 0;\n+\tlys = 0;\n+\n+\tlen = length(lreg);\n+\n+\tfor( i = 0; i < len; i++ )\n+\t{\n+\t\tlxy += lreg[i]*tss[i];\n+\t\tlxx += tss[i]*tss[i];\n+\t\tlxs += tss[i];\n+\t\tlys += lreg[i];\n+\t}\n+\n+\tif( ((len*lxx)-(lxs*lxs)) == 0 )\n+\t\treturn newAngle;\n+\n+\tm = ((len*lxy)-(lxs*lys))\/((len*lxx)-(lxs*lxs));\n+\tb = (lys-(m*lxs))\/len;\n+\n+\treturn m*(looptime+prediction)+b;\n+}\n+\n+\n+\n"}
{"commit":"786c80966b595dc70d3fc0704b30e707003dfec4","subject":"Add AWK script to add a file type annotation","message":"Add AWK script to add a file type annotation\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":1,"stderr":"error: pathspec 'tools\/git\/scripts\/annotate_file_type.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/git\/scripts\/annotate_file_type.awk\n+++ tools\/git\/scripts\/annotate_file_type.awk\n@@ -0,0 +1,157 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# Annotates a file statistic by prefixing a new column which includes the file type.\n+#\n+# Usage: annotate_file_type\n+#\n+# Input:\n+#   - <statistic> <filename>\n+#\n+# Output:\n+#   - <file_type> <statistic> <filename>\n+#\n+\n+# When adding file extension patterns, do so in alphabetical order.\n+\n+# Special cases...\n+\/(LICENSE|NOTICE)$\/ {\n+\tprint \"LICENSE\" OFS $1 OFS $2\n+\tnext\n+}\n+\/datapackage\\.json$\/ {\n+\tprint \"datapackage.json\" OFS $1 OFS $2\n+\tnext\n+}\n+\/package\\.json$\/ {\n+\tprint \"package.json\" OFS $1 OFS $2\n+\tnext\n+}\n+\n+# Known file extensions (keep in alphabetical order)...\n+\/\\.awk$\/ {\n+\tprint \"AWK\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.bib$\/ {\n+\tprint \"BibTeX\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.c$\/ {\n+\tprint \"C\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.cpp$\/ {\n+\tprint \"C++\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.csl$\/ {\n+\tprint \"CSL\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.css$\/ {\n+\tprint \"CSS\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.csv$\/ {\n+\tprint \"CSV\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.eot$\/ {\n+\tprint \"fonts\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.gif$\/ {\n+\tprint \"gif\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.go$\/ {\n+\tprint \"Go\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.h$\/ {\n+\tprint \"C\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.hpp$\/ {\n+\tprint \"C++\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.html$\/ {\n+\tprint \"HTML\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.jl$\/ {\n+\tprint \"Julia\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.jpg$\/ {\n+\tprint \"JPG\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.js$\/ {\n+\tprint \"JavaScript\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.json$\/ {\n+\tprint \"JSON\" OFS $1 OFS $2\n+\tnext\n+}\n+\/Makefile$\/ {\n+\tprint \"make\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.md$\/ {\n+\tprint \"Markdown\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.mk$\/ {\n+\tprint \"make\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.png$\/ {\n+\tprint \"PNG\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.py$\/ {\n+\tprint \"Python\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.R$\/ {\n+\tprint \"R\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.sh$\/ {\n+\tprint \"bash\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.svg$\/ {\n+\tprint \"SVG\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.txt$\/ {\n+\tprint \"plaintext\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.woff$\/ {\n+\tprint \"fonts\" OFS $1 OFS $2\n+\tnext\n+}\n+\/\\.yml$\/ {\n+\tprint \"YAML\" OFS $1 OFS $2\n+\tnext\n+}\n+\n+# Special cases...\n+$2 ~ \/^\\.([A-Za-z])+$|\\\/\\.([A-Za-z])+$\/ {\n+\tprint \"dotfiles\" OFS $1 OFS $2\n+\tnext\n+}\n+$2 ~ \/\\\/([A-Za-z0-9_-])+$\/ {\n+\tprint \"executables\" OFS $1 OFS $2\n+\tnext\n+}\n+\n+# Everything else...\n+{\n+\tprint \"OTHER\" OFS $1 OFS $2\n+}\n"}
{"commit":"83bb088ab90642f895c98284b1d858ef286bc83a","subject":"even cleaner comment","message":"even cleaner comment\n","repos":"szilvajuhos\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/szilvajuhos\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"3a80da6cc2f83bb4e113062cd2771e4e16aa69c1","subject":"get modpost working again for gawk 4.2","message":"get modpost working again for gawk 4.2\n","repos":"openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7","returncode":0,"stderr":"","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/modpost.awk\n+++ scripts\/modpost.awk\n@@ -798,8 +798,8 @@\n \t    if (SECTION == \"SYMBOL TABLE\") {\n \t\tif (NF<4)\n \t\t    continue\n-\t\tflags = substr($0, length($1 \" \"), 7)\n-\t\tval = $1; sec = $(NF-2); offset = $(NF-1); sym = $NF\n+\t\tval = \"\" $1; sec = $(NF-2); offset = $(NF-1); sym = $NF\n+\t\tflags = substr($0, length(val)+2, 7)\n \t\tif (substr(flags,1,1) == \"l\") {\n \t\t    if (substr(flags,7,1) == \"O\") {\n \t\t\tif (sec == \".modinfo\") {\n"}
{"commit":"6d5581927a290b4840e6761fb5a48776b88bd44c","subject":"fixed path in test_combo.awk to be able to run it, even though it's not integrated with cmake tests using ctest","message":"fixed path in test_combo.awk to be able to run it, even though it's not integrated with cmake tests using ctest","repos":"andre-senna\/opencog,tim777z\/opencog,ArvinPan\/opencog,Allend575\/opencog,cosmoharrigan\/atomspace,rodsol\/atomspace,sumitsourabh\/opencog,shujingke\/opencog,gavrieltal\/opencog,ArvinPan\/opencog,rodsol\/opencog,anitzkin\/opencog,jlegendary\/opencog,Tiggels\/opencog,prateeksaxena2809\/opencog,printedheart\/opencog,ArvinPan\/opencog,misgeatgit\/opencog,zhaozengguang\/opencog,jlegendary\/opencog,eddiemonroe\/atomspace,rTreutlein\/atomspace,yantrabuddhi\/opencog,TheNameIsNigel\/opencog,Tiggels\/opencog,inflector\/opencog,Allend575\/opencog,misgeatgit\/opencog,sumitsourabh\/opencog,sumitsourabh\/opencog,iAMr00t\/opencog,kinoc\/opencog,sanuj\/opencog,UIKit0\/atomspace,AmeBel\/opencog,rohit12\/atomspace,rohit12\/atomspace,gavrieltal\/opencog,sanuj\/opencog,gaapt\/opencog,zhaozengguang\/opencog,ArvinPan\/atomspace,eddiemonroe\/opencog,AmeBel\/opencog,rodsol\/opencog,shujingke\/opencog,roselleebarle04\/opencog,virneo\/opencog,cosmoharrigan\/opencog,misgeatgit\/opencog,ceefour\/opencog,ruiting\/opencog,kim135797531\/opencog,kinoc\/opencog,williampma\/opencog,anitzkin\/opencog,zhaozengguang\/opencog,tim777z\/opencog,printedheart\/opencog,Selameab\/opencog,andre-senna\/opencog,Allend575\/opencog,AmeBel\/atomspace,ruiting\/opencog,AmeBel\/opencog,williampma\/opencog,rohit12\/atomspace,kinoc\/opencog,Selameab\/opencog,andre-senna\/opencog,Allend575\/opencog,ceefour\/opencog,anitzkin\/opencog,virneo\/atomspace,yantrabuddhi\/opencog,ceefour\/atomspace,TheNameIsNigel\/opencog,ruiting\/opencog,rohit12\/opencog,rodsol\/opencog,ceefour\/atomspace,Selameab\/atomspace,eddiemonroe\/atomspace,printedheart\/atomspace,virneo\/opencog,virneo\/opencog,ruiting\/opencog,ceefour\/opencog,rodsol\/opencog,printedheart\/opencog,ArvinPan\/atomspace,inflector\/atomspace,williampma\/opencog,cosmoharrigan\/opencog,Selameab\/opencog,williampma\/atomspace,prateeksaxena2809\/opencog,sanuj\/opencog,inflector\/atomspace,yantrabuddhi\/atomspace,ceefour\/opencog,cosmoharrigan\/atomspace,eddiemonroe\/opencog,cosmoharrigan\/opencog,sumitsourabh\/opencog,inflector\/opencog,inflector\/opencog,anitzkin\/opencog,printedheart\/atomspace,MarcosPividori\/atomspace,gaapt\/opencog,gaapt\/opencog,virneo\/opencog,MarcosPividori\/atomspace,jswiergo\/atomspace,misgeatgit\/opencog,inflector\/atomspace,yantrabuddhi\/atomspace,jlegendary\/opencog,UIKit0\/atomspace,inflector\/opencog,printedheart\/atomspace,shujingke\/opencog,rohit12\/opencog,yantrabuddhi\/atomspace,virneo\/opencog,ruiting\/opencog,tim777z\/opencog,rTreutlein\/atomspace,roselleebarle04\/opencog,eddiemonroe\/opencog,roselleebarle04\/opencog,prateeksaxena2809\/opencog,roselleebarle04\/opencog,gaapt\/opencog,kim135797531\/opencog,iAMr00t\/opencog,TheNameIsNigel\/opencog,cosmoharrigan\/atomspace,andre-senna\/opencog,sanuj\/opencog,Tiggels\/opencog,prateeksaxena2809\/opencog,UIKit0\/atomspace,anitzkin\/opencog,inflector\/opencog,inflector\/atomspace,eddiemonroe\/opencog,iAMr00t\/opencog,shujingke\/opencog,Allend575\/opencog,yantrabuddhi\/atomspace,inflector\/atomspace,yantrabuddhi\/opencog,kim135797531\/opencog,Selameab\/opencog,anitzkin\/opencog,ceefour\/opencog,kim135797531\/opencog,williampma\/opencog,williampma\/opencog,misgeatgit\/opencog,cosmoharrigan\/opencog,andre-senna\/opencog,yantrabuddhi\/opencog,jswiergo\/atomspace,eddiemonroe\/opencog,gaapt\/opencog,rohit12\/opencog,jlegendary\/opencog,gaapt\/opencog,Selameab\/opencog,prateeksaxena2809\/opencog,andre-senna\/opencog,yantrabuddhi\/atomspace,Selameab\/atomspace,AmeBel\/opencog,gaapt\/opencog,ceefour\/atomspace,misgeatgit\/atomspace,printedheart\/opencog,Allend575\/opencog,anitzkin\/opencog,AmeBel\/atomspace,gavrieltal\/opencog,sumitsourabh\/opencog,AmeBel\/opencog,Selameab\/atomspace,misgeatgit\/atomspace,MarcosPividori\/atomspace,virneo\/atomspace,gavrieltal\/opencog,misgeatgit\/opencog,zhaozengguang\/opencog,TheNameIsNigel\/opencog,eddiemonroe\/opencog,printedheart\/atomspace,sanuj\/opencog,eddiemonroe\/opencog,Allend575\/opencog,virneo\/opencog,prateeksaxena2809\/opencog,jlegendary\/opencog,inflector\/opencog,rTreutlein\/atomspace,zhaozengguang\/opencog,kinoc\/opencog,virneo\/atomspace,yantrabuddhi\/opencog,kim135797531\/opencog,TheNameIsNigel\/opencog,cosmoharrigan\/atomspace,andre-senna\/opencog,sanuj\/opencog,rTreutlein\/atomspace,rodsol\/atomspace,kinoc\/opencog,AmeBel\/opencog,virneo\/opencog,tim777z\/opencog,cosmoharrigan\/opencog,jlegendary\/opencog,ArvinPan\/atomspace,misgeatgit\/atomspace,inflector\/opencog,williampma\/atomspace,rodsol\/opencog,Selameab\/atomspace,jswiergo\/atomspace,shujingke\/opencog,Tiggels\/opencog,eddiemonroe\/atomspace,eddiemonroe\/atomspace,ruiting\/opencog,ArvinPan\/opencog,UIKit0\/atomspace,misgeatgit\/opencog,ArvinPan\/opencog,shujingke\/opencog,jswiergo\/atomspace,rodsol\/atomspace,kinoc\/opencog,sumitsourabh\/opencog,roselleebarle04\/opencog,AmeBel\/atomspace,rohit12\/opencog,kim135797531\/opencog,misgeatgit\/opencog,iAMr00t\/opencog,gavrieltal\/opencog,eddiemonroe\/atomspace,misgeatgit\/atomspace,rodsol\/atomspace,roselleebarle04\/opencog,sumitsourabh\/opencog,AmeBel\/atomspace,roselleebarle04\/opencog,rodsol\/opencog,iAMr00t\/opencog,AmeBel\/opencog,ceefour\/atomspace,TheNameIsNigel\/opencog,ArvinPan\/atomspace,jlegendary\/opencog,williampma\/atomspace,ceefour\/opencog,misgeatgit\/opencog,printedheart\/opencog,yantrabuddhi\/opencog,misgeatgit\/atomspace,rohit12\/opencog,rTreutlein\/atomspace,zhaozengguang\/opencog,printedheart\/opencog,virneo\/atomspace,kim135797531\/opencog,ruiting\/opencog,prateeksaxena2809\/opencog,tim777z\/opencog,williampma\/atomspace,iAMr00t\/opencog,cosmoharrigan\/opencog,yantrabuddhi\/opencog,kinoc\/opencog,Selameab\/opencog,shujingke\/opencog,williampma\/opencog,gavrieltal\/opencog,rohit12\/opencog,inflector\/opencog,gavrieltal\/opencog,MarcosPividori\/atomspace,tim777z\/opencog,Tiggels\/opencog,ArvinPan\/opencog,Tiggels\/opencog,AmeBel\/atomspace,rohit12\/atomspace,ceefour\/opencog","returncode":1,"stderr":"error: pathspec 'scripts\/embodiment\/test_combo.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/embodiment\/test_combo.awk\n+++ scripts\/embodiment\/test_combo.awk\n@@ -0,0 +1,81 @@\n+#!\/usr\/bin\/gawk -f\n+\n+BEGIN {\n+  N=200; # number of tests to run\n+  exec=\"..\/opencog\/embodiment\/Control\/Procedure\/combo_shell_stdio `find ..\/..\/ -name 'funcs.combo'`\";\n+  FS=\"[ ()]\";\n+#by elvys: \n+#  Nowadys the functions names is not printed. So, I need to charge the\n+#  fucntions names from funcs.combo in cmd array bellow.\n+#  do {\n+#    exec ;\n+    exec |& getline;\n+#    print;\n+#    if ($(NF-1)==\"0\")\n+#      cmd[++n]=$(NF-2);\n+#  } while ($1!=\"loaded\");\n+      cmd[++n]=\"seek_food_locally\";\n+      cmd[++n]=\"sniff_butt\";\n+      cmd[++n]=\"chase\";\n+      cmd[++n]=\"pickup_carry_put_down\";\n+      cmd[++n]=\"nudge_around\";\n+      cmd[++n]=\"randbool\";\n+      cmd[++n]=\"rand_pet_or_avatar\";\n+      cmd[++n]=\"random_step\";\n+      cmd[++n]=\"bark_non_friend_avatar\";\n+      cmd[++n]=\"bark_non_friend_pet\";\n+      cmd[++n]=\"lick_friendly_avatar\";\n+      cmd[++n]=\"greet_avatar_with_jump\";\n+      cmd[++n]=\"sleep_near_owner\";\n+      cmd[++n]=\"sit_near_owner_and_stay\";\n+      cmd[++n]=\"sit_near_someone_and_stay\";\n+\n+for (i=1;i<=N;++i) {\n+    todo=cmd[int(n*rand())+1];\n+    print todo |& exec;\n+    print todo;\n+    exec |& getline; \n+    print;\n+    while (exec |& getline) {\n+      while ((NF>1 && $1==\">\" && $2==\"exec:\") || ($1==\"exec:\")) {\n+\tprint;\n+\texec |& getline;\n+      }\t\n+      print; \n+      if (\/result:\/) {\n+\texec |& getline;\n+\tprint;\n+\tbreak;\n+      } else if (\/true\/) {\n+\tif (rand()>0.5) {\n+\t  print \"true\" |& exec;\n+\t  print \"true\";\n+\t} else {\n+\t  print \"false\" |& exec;\n+\t  print \"false\";\n+\t}\n+      } else if (\/sending\/) {\n+\tif (rand()>0.5) {\n+\t  print \"action_success\" |& exec;\n+\t  print \"action_success\";\n+\t} else {\n+\t  print \"action_failure\" |& exec;\n+\t  print \"action_failure\";\n+\t}\n+      } else if (\/return\/) {\n+\tprint \"foo\" |& exec;\n+\tprint \"foo\";\n+      } else {\n+\tif (!\/execution succeeded!\/ &&\n+\t    !\/execution failed!\/) {\n+\t  print \"Unrecognized output '\"$0\"'\";\n+\t  exit(1);\n+\t}\n+\tbreak;\n+      }\n+    }\n+  }\n+  print \"Done! All \"N\" executions behaved themselves\";\n+  exit(42);\n+}\n+\n"}
{"commit":"e61ca6511971ebac000f7f503a65601d1b32ae1d","subject":"a bit","message":"a bit\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.imbh\/search_outer_particle.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.imbh\/search_outer_particle.awk\n+++ tool.imbh\/search_outer_particle.awk\n@@ -0,0 +1,23 @@\n+# flist: txxxx_x.log.id\n+{\n+    if(NR == 1) {\n+        n = 0;\n+        while((getline x < flist) > 0) {\n+            list[n] = int(x);\n+            n++;\n+        }\n+#        for(i = 0; i < n; i++) {\n+#            print list[i];\n+#        }\n+        ifirst = 0;\n+    }    \n+    for(i = ifirst; i < n; i++) {\n+        if($1 == list[i]) {\n+            print $1;\n+            ifirst = i;\n+        }\n+    }\n+    if(NR % 10000 == 0) {\n+        print $1 > \"\/dev\/stderr\";\n+    }\n+}\n"}
{"commit":"69c3a9998521324b8a7cd3db2f07acf1b7b60322","subject":"sum.awk","message":"sum.awk\n\n","repos":"childmodel\/child,childmodel\/child,childmodel\/child,childmodel\/child,childmodel\/child,childmodel\/child","returncode":1,"stderr":"error: pathspec 'Child\/Tests\/Regressions\/XYZ\/sum.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- Child\/Tests\/Regressions\/XYZ\/sum.awk\n+++ Child\/Tests\/Regressions\/XYZ\/sum.awk\n@@ -0,0 +1,4 @@\n+BEGIN { l = 0; s = 0; }\n+{ l +=1 ;\n+  if (l > 2) s += $1; }\n+END { print s; }\n"}
{"commit":"36674609735d84c69de087d59a1dbbf5c1ffa8c2","subject":"Identify maximum access day","message":"Identify maximum access day\n\n$ awk -f ex3.awk Iplogs.txt\r\nMaximum access is on 210607\r\n\r\nIn this example:\r\narray named \u201cdate\u201d has date as an index and occurrence count as the value of the array.\r\nmax is a variable which has the count value and used to find out the date which has max count.\r\nmaxdate is a variable which has the date for which the count is maximum.","repos":"Aurametrix\/Alg-U,Aurametrix\/Alg-U","returncode":1,"stderr":"error: pathspec 'HASH\/max-access.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- HASH\/max-access.awk\n+++ HASH\/max-access.awk\n@@ -0,0 +1,14 @@\n+{\n+date[$1]++;\n+}\n+END{\n+for (count in date)\n+{\n+\tif ( max < date[count] ) {\n+\t\tmax = date[count];\n+\t\tmaxdate = count;\n+\t}\n+\n+}\n+print \"Maximum access is on\", maxdate;\n+}\n"}
{"commit":"a2ad221b962f9847397a553d3512f3a3a307f3a9","subject":"- added new symsets script","message":"- added new symsets script\n","repos":"openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,openss7\/openss7,0x7678\/openss7,openss7\/openss7,openss7\/openss7,openss7\/openss7,0x7678\/openss7,0x7678\/openss7,kerr-huang\/openss7,openss7\/openss7,kerr-huang\/openss7,0x7678\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7,kerr-huang\/openss7","returncode":1,"stderr":"error: pathspec 'scripts\/symsets.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- scripts\/symsets.awk\n+++ scripts\/symsets.awk\n@@ -0,0 +1,548 @@\n+#!\/usr\/bin\/awk -f\n+# =============================================================================\n+#\n+# @(#) $RCSfile: symsets.awk,v $ $Name:  $($Revision: 1.1.2.1 $) $Date: 2011-03-17 07:01:22 $\n+#\n+# -----------------------------------------------------------------------------\n+#\n+# Copyright (c) 2008-2011  Monavacon Limited <http:\/\/www.monavacon.com\/>\n+# Copyright (c) 2001-2008  OpenSS7 Corporation <http:\/\/www.openss7.com\/>\n+# Copyright (c) 1997-2001  Brian F. G. Bidulock <bidulock@openss7.org>\n+#\n+# All Rights Reserved.\n+#\n+# This program is free software; you can redistribute it and\/or modify it under\n+# the terms of the GNU Affero General Public License as published by the Free\n+# Software Foundation; version 3 of the License.\n+#\n+# This program is distributed in the hope that it will be useful, but WITHOUT\n+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n+# FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\n+# details.\n+#\n+# You should have received a copy of the GNU Affero General Public License along\n+# with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>, or write to\n+# the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n+#\n+# -----------------------------------------------------------------------------\n+#\n+# U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software on\n+# behalf of the U.S. Government (\"Government\"), the following provisions apply\n+# to you.  If the Software is supplied by the Department of Defense (\"DoD\"), it\n+# is classified as \"Commercial Computer Software\" under paragraph 252.227-7014\n+# of the DoD Supplement to the Federal Acquisition Regulations (\"DFARS\") (or any\n+# successor regulations) and the Government is acquiring only the license rights\n+# granted herein (the license rights customarily provided to non-Government\n+# users).  If the Software is supplied to any unit or agency of the Government\n+# other than DoD, it is classified as \"Restricted Computer Software\" and the\n+# Government's rights in the Software are defined in paragraph 52.227-19 of the\n+# Federal Acquisition Regulations (\"FAR\") (or any successor regulations) or, in\n+# the cases of NASA, in paragraph 18.52.227-86 of the NASA Supplement to the FAR\n+# (or any successor regulations).\n+#\n+# -----------------------------------------------------------------------------\n+#\n+# Commercial licensing and support of this software is available from OpenSS7\n+# Corporation at a fee.  See http:\/\/www.openss7.com\/\n+#\n+# -----------------------------------------------------------------------------\n+#\n+# Last Modified $Date: 2011-03-17 07:01:22 $ by $Author: brian $\n+#\n+# =============================================================================\n+\n+function getline_command(cmd)\n+{\n+    cmd | getline; close(cmd); return $0\n+}\n+function date(format) {\n+    if (format) {\n+\treturn getline_command(\"date +\\\"\" format \"\\\"\")\n+    } else {\n+\treturn getline_command(\"date -uIseconds\")\n+    }\n+}\n+function year()\n+{\n+    return date(\"%Y\")\n+}\n+function allyears(    this, last, sep, result)\n+{\n+    last = year(); sep = \"\"; result = \"\"\n+    for (this = 2009; this <= last; this++) {\n+\tresult = result sep this\n+\tsep = \", \"\n+    }\n+    return result\n+}\n+function print_info(string)\n+{\n+    if (values[\"quiet\"] == 0 && values[\"verbose\"] > 0) {\n+\tprint blu me \": I: \" string std > stderr\n+\twritten[stderr] = 1\n+    }\n+}\n+function print_debug(string)\n+{\n+    if (values[\"debug\"] > 0) {\n+\tprint mag me \": D: \" string std > stderr\n+\twritten[stderr] = 1\n+    }\n+}\n+function print_error(string)\n+{\n+    print red me \": E: \" string std > stderr\n+    written[stderr] = 1\n+}\n+function print_warn(string)\n+{\n+    if (values[\"quiet\"] == 0 || values[\"verbose\"] > 0 || values[\"debug\"] > 0) {\n+\tprint org me \": W: \" string std > stderr\n+\twritten[stderr] = 1\n+    }\n+}\n+function usage(output)\n+{\n+    if (values[\"quiet\"])\n+\treturn\n+    print \"\\\n+symsets:\\n\\\n+  $Id: symsets.awk,v 1.1.2.1 2011-03-17 07:01:22 brian Exp $\\n\\\n+Usage:\\n\\\n+  symsets [options] [INPUT ...]\\n\\\n+  symsets -h\\n\\\n+  symsets -V\\n\\\n+  symsets -C\\\n+\" > output\n+    written[output] = 1\n+}\n+function help(output)\n+{\n+    if (values[\"quiet\"])\n+\treturn\n+    usage(output)\n+    print \"\\\n+Arguments:\\n\\\n+  INPUT ...\\n\\\n+      Module.symvers files for which to generate symsets\\n\\\n+      [default: \" defaults[\"inputs\"] \"] {\" environs[\"inputs\"] \"}\\n\\\n+Options:\\n\\\n+  -s, --suse\\n\\\n+      output symsets in SuSE format\\n\\\n+  -r, --redhat\\n\\\n+      output symsets in RedHat format (default)\\n\\\n+  -k, --kversion KVERSION\\n\\\n+      kernel version KVERSION\\n\\\n+      [default: \" defaults[\"kversion\"] \"] {\" environs[\"kversion\"] \"}\\n\\\n+  -I, --inputs INPUTS\\n\\\n+      input Module.symvers files (space separated)\\n\\\n+      [default: \" defaults[\"inputs\"] \"] {\" environs[\"inputs\"] \"}\\n\\\n+  -o, --outfile OUTFILE\\n\\\n+      output file name OUTFILE\\n\\\n+      [default: \" defaults[\"outfile\"] \"] {\" environs[\"outfile\"] \"}\\n\\\n+  -n, --dryrun, --dry-run\\n\\\n+      don't perform the actions, just check them\\n\\\n+  -q, --quiet, --silent\\n\\\n+      suppress normal output\\n\\\n+  -D, --debug[=LEVEL]\\n\\\n+      increase or set debug level\\n\\\n+      [default: \" defaults[\"debug\"] \"]\\n\\\n+  -v, --verbose[=LEVEL]\\n\\\n+      increase or set verbosity level\\n\\\n+      [default: \" defaults[\"verbose\"] \"]\\n\\\n+  -h, --help\\n\\\n+      display this usage information and exit\\n\\\n+  -V, --version\\n\\\n+      display script version and exit\\n\\\n+  -C, --copying\\n\\\n+      display copying permissions and exit\\n\\\n+\" > output\n+    written[output] = 1\n+}\n+function version(output)\n+{\n+    if (values[\"quiet\"])\n+\treturn\n+    print \"\\\n+Version 2.1\\n\\\n+$Id: symsets.awk,v 1.1.2.1 2011-03-17 07:01:22 brian Exp $\\n\\\n+Copyright (c) 2008, \" allyears() \"  Monavacon Limited.\\n\\\n+Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008  OpenSS7 Corporation.\\n\\\n+Copyright (c) 1997, 1998, 1999, 2000, 2001  Brian F. G. Bidulock.\\n\\\n+\\n\\\n+All Rights Reserved.\\n\\\n+\\n\\\n+This is free software; see the source for copying conditions.  There is NO\\n\\\n+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\\n\\\n+\\n\\\n+Distributed by OpenSS7 under GNU Affero General Public License Version 3,\\n\\\n+with conditions, incorporated herein by reference.\\n\\\n+\\n\\\n+See \" me \" -- --copying' for copying permissions.\\\n+\" > output\n+    written[output] = 1\n+}\n+function copying(output)\n+{\n+    if (values[\"quiet\"])\n+\treturn\n+    print \"\\\n+--------------------------------------------------------------------------------\\n\\\n+$Id: symsets.awk,v 1.1.2.1 2011-03-17 07:01:22 brian Exp $\\n\\\n+--------------------------------------------------------------------------------\\n\\\n+Copyright (c) 2008, \" allyears() \"  Monavacon Limited.\\n\\\n+Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008  OpenSS7 Corporation.\\n\\\n+Copyright (c) 1997, 1998, 1999, 2000, 2001  Brian F. G. Bidulock.\\n\\\n+\\n\\\n+All Rights Reserved.\\n\\\n+--------------------------------------------------------------------------------\\n\\\n+This program is free software; you can  redistribute  it and\/or modify  it under\\n\\\n+the terms  of the  GNU  Affero General Public  License as published  by the Free\\n\\\n+Software Foundation; version 3 of the License.\\n\\\n+\\n\\\n+This program is distributed in the hope that it will  be useful, but WITHOUT ANY\\n\\\n+WARRANTY; without even  the implied warranty of MERCHANTABILITY or FITNESS FOR A\\n\\\n+PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.\\n\\\n+\\n\\\n+You should have received a copy of the  GNU Affero General Public License  along\\n\\\n+with this program.   If not, see <http:\/\/www.gnu.org\/licenses\/>, or write to the\\n\\\n+Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\\n\\\n+--------------------------------------------------------------------------------\\n\\\n+U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software on behalf\\n\\\n+of the U.S. Government (\\\"Government\\\"), the following provisions apply to you. If\\n\\\n+the Software is supplied by the  Department of Defense (\\\"DoD\\\"), it is classified\\n\\\n+as \\\"Commercial  Computer  Software\\\"  under  paragraph  252.227-7014  of the  DoD\\n\\\n+Supplement  to the  Federal Acquisition Regulations  (\\\"DFARS\\\") (or any successor\\n\\\n+regulations) and the  Government  is acquiring  only the  license rights granted\\n\\\n+herein (the license rights customarily provided to non-Government users). If the\\n\\\n+Software is supplied to any unit or agency of the Government  other than DoD, it\\n\\\n+is  classified as  \\\"Restricted Computer Software\\\" and the Government's rights in\\n\\\n+the Software  are defined  in  paragraph 52.227-19  of the  Federal  Acquisition\\n\\\n+Regulations (\\\"FAR\\\")  (or any successor regulations) or, in the cases of NASA, in\\n\\\n+paragraph  18.52.227-86 of  the  NASA  Supplement  to the FAR (or any  successor\\n\\\n+regulations).\\n\\\n+--------------------------------------------------------------------------------\\n\\\n+Commercial  licensing  and  support of this  software is  available from OpenSS7\\n\\\n+Corporation at a fee.  See http:\/\/www.openss7.com\/\\n\\\n+--------------------------------------------------------------------------------\\\n+\" > output\n+    written[output] = 1\n+}\n+function getopt_long(argc, argv, optstring, longopts, longindex,    pos, needarg, wantarg)\n+{\n+    option = \"\"; optval = \"\"; optarg = \"\"; pos = 0; needarg = 0; wantarg = 0\n+    if (optind == 0) { optind = 1; more = \"\" }\n+    while ((optind < argc) || (more != \"\")) {\n+\tif (more) { arg = \"-\" more; more = \"\" }\n+\telse { arg = argv[optind]; optind++ }\n+\tif (arg ~ \/^--?[a-zA-Z0-9]\/) {\n+\t    if (needarg) {\n+\t\tprint_error(\"option -\" optval \" requires an argument\")\n+\t\tusage(stderr)\n+\t\texit 2\n+\t    }\n+\t    if (wantarg) {\n+\t\tmore = substr(arg, 2)\n+\t\treturn optval\n+\t    }\n+\t    if (arg ~ \/^--[a-zA-Z0-9][-_a-zA-Z0-9]*=.*$\/) {\n+\t\toption = arg; sub(\/^--\/, \"\", option); sub(\/=.*$\/, \"\", option)\n+\t\toptarg = arg; sub(\/^--([a-zA-Z0-9][-_a-zA-Z0-9]*)=\/, \"\", optarg)\n+\t\tif (!(option in longopts)) {\n+\t\t    print_error(\"option --\" option \" not recognized\")\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\tif (longopts[option] !~ \/:\/) {\n+\t\t    print_error(\"option --\" option \" does not take an argument\")\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\toptval = substr(longopts[option], 1, 1)\n+\t\treturn optval\n+\t    }\n+\t    if (arg ~ \/^--[a-zA-Z0-9][-_a-zA-Z0-9]*$\/) {\n+\t\toption = arg; sub(\/^--\/, \"\", option)\n+\t\tif (!(option in longopts)) {\n+\t\t    print_error(\"option --\" option \" not recognized\")\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\tif (longopts[option] ~ \/::\/) { wantarg = 1 } else\n+\t\tif (longopts[option] ~ \/:\/ ) { needarg = 1 }\n+\t\toptval = substr(longopts[option], 1, 1)\n+\t\tfor (option in longopts)\n+\t\t    if (substr(longopts[option], 1, 1) == optval)\n+\t\t\tbreak\n+\t\tif (!needarg && !wantarg)\n+\t\t    return optval\n+\t\tcontinue\n+\t    }\n+\t    if (arg ~ \/^-[a-zA-Z0-9]\/) {\n+\t\toptval = substr(arg, 2, 1)\n+\t\tpos = index(optstring, optval)\n+\t\tif (pos == 0) {\n+\t\t    print_error(\"option -\" optval \" not recognized\")\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\tif (substr(optstring, pos+1, 1) == \":\") {\n+\t\t    if (length(arg) > 2) {\n+\t\t\tif (substr(optstring, pos+2, 1) == \":\") {\n+\t\t\t    more = substr(arg, 3)\n+\t\t\t    if (more && more !~ \/^[a-zA-Z0-9]\/) {\n+\t\t\t\tprint_error(\"bad option sequence \" arg)\n+\t\t\t\tusage(stderr)\n+\t\t\t\texit 2\n+\t\t\t    }\n+\t\t\t} else\n+\t\t\t    optarg = substr(arg, 3)\n+\t\t\tfor (option in longopts)\n+\t\t\t    if (substr(longopts[option], 1, 1) == optval)\n+\t\t\t\tbreak\n+\t\t\treturn optval\n+\t\t    }\n+\t\t    if (substr(optstring, pos+2, 1) == \":\") { wantarg = 1 } else\n+\t\t    if (substr(optstring, pos+1, 1) == \":\") { needarg = 1 }\n+\t\t    for (option in longopts)\n+\t\t\tif (substr(longopts[option], 1, 1) == optval)\n+\t\t\t    break\n+\t\t    continue\n+\t\t}\n+\t\tif (length(arg) > 2) { more = substr(arg, 3) } else { more = \"\" }\n+\t\tif (more && more !~ \/^[a-zA-Z0-9]\/) {\n+\t\t    print_error(\"bad option sequence \" arg)\n+\t\t    usage(stderr)\n+\t\t    exit 2\n+\t\t}\n+\t\tfor (option in longopts)\n+\t\t    if (substr(longopts[option], 1, 1) == optval)\n+\t\t\tbreak\n+\t\treturn optval\n+\t    }\n+\t}\n+\tif (arg == \"--\")\n+\t    return -1\n+\tif (needarg || wantarg) {\n+\t    optarg = arg\n+\t    return optval\n+\t}\n+\toptind--\n+\treturn -1\n+    }\n+    return -1\n+}\n+function system_command(cmd)\n+{\n+    print_debug(cmd); return system(cmd)\n+}\n+function missing(fnlp, expected) {\n+    print_error(fnlp \" definition missing \" (expected - NF) \" fields\")\n+}\n+function garbage(fnlp, maximum) {\n+    print_warn(fnlp \" definition with \" (NF - maximum) \" garbage fields\")\n+}\n+function unrecog(fnlp, line) {\n+    print_error(fnlp \" unrecognized line: \" line)\n+}\n+function read_inputs(inputs) {\n+    print_debug(\"reading inputs...\")\n+    for (k in inputs) {\n+\tinput = inputs[k]\n+\tprint_debug(\"reading input \" input)\n+\tfilename = input\n+\tlineno = 0\n+\twhile ((getline < input) == 1) {\n+\t    lineno++; fnl = filename \":\" lineno; fnlp = fnl \": \"\n+\t    if (NF < 4) { missing(fnlp, 4); continue }\n+\t    if (NF > 4) { garbage(fnlp, 4); NF = 4 }\n+\t    if ($1~\/^0x\/) {\n+\t\tgsub(\/\\\/\/, \"_\")\n+\t\tif ($3 in symsets) {\n+\t\t    symsets[$3] = symsets[$3] \" \" $2\n+\t\t    crcsets[$3] = crcsets[$3] $1\n+\t\t} else {\n+\t\t    symsets[$3] = $2\n+\t\t    crcsets[$3] = $1\n+\t\t}\n+\t\t# Note that SuSE includes EXPORT type in the\n+\t\t# kABI, whereas RedHat does not.\n+\t\tif (values[\"suse\"] == 1) {\n+\t\t    syms[$2] = $1 \"\\t\" $2 \"\\t\" $3 \"\\t\" $4\n+\t\t} else {\n+\t\t    syms[$2] = $1 \"\\t\" $2 \"\\t\" $3\n+\t\t}\n+\t\t#print $1 \"\\t\" $2 \"\\t\" $3\n+\t    } else { unrecog(fnlp, $0); continue }\n+\t}\n+\tclose(input)\n+    }\n+}\n+BEGIN {\n+    LINT = \"yes\"\n+    me = \"symsets.awk\"\n+    if (!(\"TERM\" in ENVIRON)) ENVIRON[\"TERM\"] = \"dumb\"\n+    if (ENVIRON[\"TERM\"] == \"dumb\" || system(\"test -t 1 -a -t 2\") != 0) {\n+\tstdout = \"\/dev\/stderr\"; written[stdout] = 0\n+\tstderr = \"\/dev\/stderr\"; written[stderr] = 0\n+\tcr = \"\"; lf = \"\\n\"\n+\tblk = \"\"; hblk = \"\"\n+\tred = \"\"; hred = \"\"\n+\tgrn = \"\"; hgrn = \"\"\n+\torg = \"\"; horg = \"\"\n+\tblu = \"\"; hblu = \"\"\n+\tmag = \"\"; hmag = \"\"\n+\tcyn = \"\"; hcyn = \"\"\n+\tstd = \"\"\n+    } else {\n+\tstdout = \"\/dev\/stdout\"; written[stdout] = 0\n+\tstderr = \"\/dev\/stderr\"; written[stderr] = 0\n+\tcr = \"\\r\"; lf = \"\"\n+\tblk = \"\\033[0;30m\"; hblk = \"\\033[1;30m\"\n+\tred = \"\\033[0;31m\"; hred = \"\\033[1;31m\"\n+\tgrn = \"\\033[0;32m\"; hgrn = \"\\033[1;32m\"\n+\torg = \"\\033[0;33m\"; horg = \"\\033[1;33m\"\n+\tblu = \"\\033[0;34m\"; hblu = \"\\033[1;34m\"\n+\tmag = \"\\033[0;35m\"; hmag = \"\\033[1;35m\"\n+\tcyn = \"\\033[0;36m\"; hcyn = \"\\033[1;36m\"\n+\tstd = \"\\033[m\"\n+    }\n+    if (\"kversion\" in ENVIRON) { uname = ENVIRON[\"kversion\"] }\n+    else                       { uname = getline_command(\"uname -r\") }\n+    longopts[\"inputs\"       ] = \"I:\" ; environs[\"inputs\"        ] = \"MODPOST_MODVER\"  ; defaults[\"inputs\"       ] = \"Module.symvers\"\n+    longopts[\"suse\"         ] = \"s\"  ;                                                  defaults[\"suse\"         ] = 0\n+    longopts[\"redhat\"       ] = \"r\"  ;                                                  defaults[\"redhat\"       ] = 1\n+    longopts[\"kversion\"     ] = \"k:\" ; environs[\"kversion\"      ] = \"kversion\"        ; defaults[\"kversion\"     ] = uname\n+    longopts[\"outfile\"      ] = \"o:\" ; environs[\"outfile\"       ] = \"MODPOST_SYMSETS\" ; defaults[\"outfile\"      ] = \"symsets-\" uname \".tar.gz\"\n+    longopts[\"dryrun\"       ] = \"n\"  ;                                                  defaults[\"dryrun\"       ] = 0\n+    longopts[\"dry-run\"      ] = \"n\"  ;                                                  defaults[\"dry-run\"      ] = 0\n+    longopts[\"quiet\"        ] = \"q\"  ;                                                  defaults[\"quiet\"        ] = 0\n+    longopts[\"silent\"       ] = \"q\"  ;                                                  defaults[\"silent\"       ] = 0\n+    longopts[\"debug\"        ] = \"D::\";                                                  defaults[\"debug\"        ] = 0\n+    longopts[\"verbose\"      ] = \"v::\";                                                  defaults[\"verbose\"      ] = 0\n+    longopts[\"help\"         ] = \"h\"  ;\n+    longopts[\"version\"      ] = \"V\"  ;\n+    longopts[\"copying\"      ] = \"C\"  ;\n+    # set mandatory defaults\n+    values[\"suse\"         ] = defaults[\"suse\"    ]\n+    values[\"redhat\"       ] = defaults[\"redhat\"  ]\n+    values[\"kversion\"     ] = defaults[\"kversion\"]\n+    values[\"inputs\"       ] = defaults[\"inputs\"  ]\n+    values[\"outfile\"      ] = defaults[\"outfile\" ]\n+    values[\"debug\"        ] = defaults[\"debug\"   ]\n+    values[\"verbose\"      ] = defaults[\"verbose\" ]\n+    values[\"quiet\"        ] = defaults[\"quiet\"   ]\n+    if (\"V\" in ENVIRON && ENVIRON[\"V\"] == 1) {\n+\tvalues[\"quiet\"  ] = 0\n+\tvalues[\"verbose\"] = 2\n+    }\n+    optstring = \"I:srk:o:nqD::v::hVC\"\n+    optind = 0\n+    while (1) {\n+\tc = getopt_long(ARGC, ARGV, optstring, longopts)\n+\tif (c == -1) break\n+\telse if (c ~ \/[Iko]\/)  { values[option] = optarg }\n+\telse if (c ~ \/[srnq]\/) { values[option] = 1 }\n+\telse if (c == \"D\")     { if (optarg) { values[\"debug\"  ] = optarg } else { values[\"debug\"  ]++ } }\n+\telse if (c == \"v\")     { if (optarg) { values[\"verbose\"] = optarg } else { values[\"verbose\"]++ } }\n+\telse if (c == \"h\")     { help(   stdout); exit 0 }\n+\telse if (c == \"V\")     { version(stdout); exit 0 }\n+\telse if (c == \"C\")     { copying(stdout); exit 0 }\n+\telse                   { usage(  stderr); exit 2 }\n+    }\n+    if (optind < ARGC) {\n+\tvalues[\"inputs\"] = ARGV[optind]; optind++\n+\twhile (optind < ARGC) {\n+\t    values[\"inputs\"] = values[\"inputs\"] \" \" ARGV[optind]\n+\t    optind++\n+\t}\n+    }\n+    for (i=1;ARGC>i;i++) { delete ARGV[i] }\n+    for (value in values) {\n+\tif (!values[value] && (value in environs) && (environs[value] in ENVIRON) && ENVIRON[environs[value]]) {\n+\t    print_debug(\"assigning value for \" value \" from environment \" environs[value])\n+\t    values[value] = ENVIRON[environs[value]]\n+\t}\n+\tif (!values[value] && (value in defaults) && defaults[value]) {\n+\t    print_debug(\"assigning value for \" value \" from default \" defaults[value])\n+\t    values[value] = defaults[value]\n+\t}\n+    }\n+    if (values[\"suse\"] == 1) { values[\"redhat\"] = 0 }\n+    if (!values[\"inputs\"] || values[\"inputs\"] == \"-\") {\n+\tprint_debug(\"no inputs, using \" stdin)\n+\tvalues[\"inputs\"] = stdin\n+    }\n+    split(values[\"inputs\"], inputs)\n+    read_inputs(inputs)\n+    directory = values[\"outfile\"]\n+    sub(\/\\.tar\\.gz\/, \"\", directory)\n+    tarball = directory \".tar.gz\"\n+    dirname  = getline_command(\"dirname \"  directory)\n+    basename = getline_command(\"basename \" directory)\n+    if (dirname == \".\") { chngdir = \"\" } else { chngdir = \" -C \" dirname }\n+    system_command(\"mkdir -p \" directory)\n+    if (system(\"test -f \" tarball) == 0) {\n+\tprint_debug(\"unpacking tarball \" tarball)\n+\tsystem_command(\"tar -xzf \" tarball chngdir)\n+    }\n+\n+    print_debug(\"processing symbols\")\n+    for (symset in symsets) {\n+\tprint_debug(\"processing symbol set \" symset)\n+\tif (values[\"redhat\"] == 1) {\n+\t    # note that RedHat does not protect the symbol name,\n+\t    # the location of the symbol within the kernel, nor\n+\t    # the export type in the kABI, whereas SuSE does.\n+\t    $0 = getline_command(\"echo '\" crcsets[symset] \"' | sha1sum\")\n+\t    hash = $1\n+\t    print_debug(\"hash is: '\" hash \"'\")\n+\t} else {\n+\t    hash = \"tmp\"\n+\t}\n+\tprint_debug(\"removing \" directory \"\/\" symset \".*\")\n+\tsystem_command(\"rm -f -- \" directory \"\/\" symset \".*\")\n+\tfile = directory \"\/\" symset \".\" hash\n+\tprint_debug(\"creating \" file)\n+\tn = split(symsets[symset],symbols)\n+\tn = asort(symbols)\n+\tfor (i=1;i<=n;i++) {\n+\t    sym = symbols[i]\n+\t    print syms[sym] > file\n+\t}\n+\tclose(file)\n+\tif (hash == \"tmp\") {\n+\t    hash = getline_command(\"md5sum \" file)\n+\t    hash = substr(hash, 1, 16)\n+\t    print_debug(\"hash is: '\" hash \"'\")\n+\t    print_debug(\"moving \" file \" to \" directory \"\/\" symset \".\" hash)\n+\t    system_command(\"mv -f -- \" file \" \" directory \"\/\" symset \".\" hash)\n+\t}\n+    }\n+    print_debug(\"done processing symbols\")\n+    print_debug(\"creating \" tarball)\n+    system_command(\"tar -czf \" tarball chngdir \" \" basename)\n+    print_debug(\"removing working directory \" directory)\n+    system_command(\"rm -fr -- \" directory)\n+    exit 0\n+}\n+END {\n+    if (written[stdout]) {\n+\tclose(stdout)\n+\twritten[stdout] = 0\n+    }\n+    if (written[stderr]) {\n+\tclose(stderr)\n+\twritten[stderr] = 0\n+    }\n+}\n+\n+# =============================================================================\n+#\n+# $Log: symsets.awk,v $\n+# Revision 1.1.2.1  2011-03-17 07:01:22  brian\n+# - added new symsets script\n+#\n+#\n+# =============================================================================\n+# vim: ft=awk sw=4 nocin nosi fo+=tcqlorn\n"}
{"commit":"10bf6d1573fbca6d849a8c2292f0f8116d45fafc","subject":"include config.h before stdio.h (breaks with _FILE_OFFSET_BITS on solaris otherwise)","message":"include config.h before stdio.h (breaks with _FILE_OFFSET_BITS on\nsolaris otherwise)\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@11446 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"36a6c7f3cc0beffc777200570439436e94666c36","subject":"[FIX] Fixing breakpoint_contigs.awk to the new breakpoints TSV format.","message":"[FIX] Fixing breakpoint_contigs.awk to the new breakpoints TSV format.\n","repos":"ktrappe\/seqan,bestrauc\/seqan,hannespetur\/SeqAnHTS,bayolau\/seqan,xp3i4\/seqan,bestrauc\/seqan,bayolau\/seqan,PF2-pasteur-fr\/seqan,ktrappe\/seqan,JohnReid\/seqan,h-2\/seqan,bayolau\/seqan,ktrappe\/seqan,hannespetur\/SeqAnHTS,JohnReid\/seqan,bestrauc\/seqan,PF2-pasteur-fr\/seqan,catkira\/seqan,hannespetur\/SeqAnHTS,h-2\/seqan,ktrappe\/seqan,bayolau\/seqan,budach\/seqan,h-2\/seqan,h-2\/seqan,bayolau\/seqan,limeng12\/seqan,JohnReid\/seqan,h-2\/seqan,xenigmax\/seqan,xp3i4\/seqan,xenigmax\/seqan,PF2-pasteur-fr\/seqan,PF2-pasteur-fr\/seqan,hannespetur\/SeqAnHTS,budach\/seqan,h-2\/seqan,budach\/seqan,hannespetur\/SeqAnHTS,limeng12\/seqan,bayolau\/seqan,hannespetur\/SeqAnHTS,h-2\/seqan,xp3i4\/seqan,catkira\/seqan,bestrauc\/seqan,catkira\/seqan,JohnReid\/seqan,bayolau\/seqan,limeng12\/seqan,PF2-pasteur-fr\/seqan,catkira\/seqan,xenigmax\/seqan,budach\/seqan,xenigmax\/seqan,limeng12\/seqan,ktrappe\/seqan,xenigmax\/seqan,xenigmax\/seqan,xp3i4\/seqan,limeng12\/seqan,h-2\/seqan,xp3i4\/seqan,bestrauc\/seqan,limeng12\/seqan,JohnReid\/seqan,catkira\/seqan,catkira\/seqan,budach\/seqan,limeng12\/seqan,catkira\/seqan,xenigmax\/seqan,bestrauc\/seqan,ktrappe\/seqan,PF2-pasteur-fr\/seqan,PF2-pasteur-fr\/seqan,JohnReid\/seqan,xp3i4\/seqan,JohnReid\/seqan,h-2\/seqan,limeng12\/seqan,limeng12\/seqan,ktrappe\/seqan,PF2-pasteur-fr\/seqan,catkira\/seqan,bayolau\/seqan,budach\/seqan,budach\/seqan,hannespetur\/SeqAnHTS,budach\/seqan,hannespetur\/SeqAnHTS,xp3i4\/seqan,bestrauc\/seqan,bestrauc\/seqan,PF2-pasteur-fr\/seqan,xp3i4\/seqan,JohnReid\/seqan,xenigmax\/seqan,budach\/seqan,xp3i4\/seqan,ktrappe\/seqan,bayolau\/seqan,JohnReid\/seqan,hannespetur\/SeqAnHTS,ktrappe\/seqan,catkira\/seqan","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/bestrauc\/seqan.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"df0eb29ac1c0b41fdd2dc9f95ea89bde15e699a8","subject":"Added the source file.  Updated the readme.","message":"Added the source file.  Updated the readme.\n","repos":"gmesser\/make_password","returncode":1,"stderr":"error: pathspec 'make_password.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- make_password.awk\n+++ make_password.awk\n@@ -0,0 +1,189 @@\n+# make_password.awk - Make random password(s).\n+\n+# Usage: awk -f make_password.awk [-v num=n] [-v len=n] [-v debug=1]\n+#  Generates one password by default.\n+#\tUse -v num=n on the command line to specify the number of passwords.\n+#   (num must be >= 1; the default is 1)\n+#  Generates eight-character passwords by default.\n+#\tUse -v len=n on the command line to specify the length of the passwords. \n+#   (len must be >= 8 and <= 16; the default is 8)\n+\n+# CAUTION:\n+# Nothing has been done to automatically reject generated passwords that\n+# contain \"offensive words\".  Visually inspect the generated passwords.\n+\n+BEGIN {\n+\tsrand()\n+\n+\tidentification = \"make_password\"\n+\t\n+\t# Determine the number of passwords to print.\n+\tpswd_num = min_pswd_num = 1\n+\tif(num != \"\") {\n+\t\t# \"-v num=n\" was specified on the command line.\n+\t\tpswd_num = int(num)\n+\t\tif(pswd_num < min_pswd_num) {\n+\t\t\tpswd_num = min_pswd_num\n+\t\t\tif (debug == \"1\") {\n+\t\t\t\tprintf(\"%s: An invalid or too-small value for num was specified (%s), defaulted to %d\\n\", identification, num, pswd_num)\n+\t\t\t}\n+\t\t}\n+\t}\n+\n+\t# Determine the length of the passwords to print.\n+\tpswd_len = min_pswd_len = 8\n+\tmax_pswd_len = 16\n+\tif(len != \"\") {\n+\t\t# \"-v len=n\" was specified on the command line.\n+\t\tpswd_len = int(len)\n+\t\tif(pswd_len < min_pswd_len) {\n+\t\t\tpswd_len = min_pswd_len\n+\t\t\tif (debug == \"1\") {\n+\t\t\t\tprintf(\"%s: An invalid or too-small value for len was specified (%s), defaulted to %d\\n\", identification, len, pswd_len)\n+\t\t\t}\n+\t\t}\n+\t\tif (pswd_len > max_pswd_len) {\n+\t\t\t# A too-large value for len was specified.\n+\t\t\tpswd_len = max_pswd_len\n+\t\t\tif (debug == \"1\") {\n+\t\t\t\tprintf(\"%s: A too-large value for len was specified (%s), defaulted to %d\\n\", identification, len, pswd_len)\n+\t\t\t}\n+\t\t}\n+\t}\n+\n+\t# Print the password(s).\n+\tfor(pswd_loop = 0; pswd_loop < pswd_num; pswd_loop++) {\n+\t\tprint generate_password(pswd_len)\n+\t}\n+}\n+\n+# Generate one password.\n+function generate_password(pswd_len) {\t\n+\tpassword = get_password_characters(pswd_len)\n+\tpassword = scramble(password)\n+\treturn password\n+}\n+\n+# Get the password characters from the various candidate character strings.\n+function get_password_characters(pswd_len) {\n+\t# Initialize the candidate password character strings.\n+\t# (I don't include the I, l, O, o, 1, or 0 characters in the passwords\n+\t#  because they might be misread, depending on the user's email font.)\n+\tlowercase_candidates=\"abcdefghijkmnpqrstuvwxyz\"\n+\tuppercase_candidates=\"ABCDEFGHJKLMNPQRSTUVWXYZ\"\n+\tnumeric_candidates=\"23456789\"\n+\tspecial_candidates=\"!@#$%^&*-_=+\/\"\n+\n+\t# Here is where you can set the number of the various candidate characters.\n+\tlowercase_num = 3\n+\tuppercase_num = 2\n+\tnumeric_num = 2\n+\tspecial_num = 1\n+\n+\t# Here is where you can set how the numbers of the various candidate\n+\t# characters increase depending on the password length.\n+\tif (pswd_len > 8) {\n+\t\tuppercase_num++\n+\t}\n+\tif (pswd_len > 9) {\n+\t\tnumeric_num++\n+\t}\n+\tif (pswd_len > 10) {\n+\t\tspecial_num++\n+\t}\n+\tif (pswd_len > 11) {\n+\t\tlowercase_num++\n+\t}\n+\tif (pswd_len > 12) {\n+\t\tuppercase_num++\n+\t}\n+\tif (pswd_len > 13) {\n+\t\tnumeric_num++\n+\t}\n+\tif (pswd_len > 14) {\n+\t\tspecial_num++\n+\t}\n+\tif (pswd_len > 15) {\n+\t\tlowercase_num++\n+\t}\n+\n+\tif (debug == \"1\") {\n+\t\tprintf(\"%s: pswd_len=%d,lowercase_num=%d,uppercase_num=%d,numeric_num=%d,special_num=%d \\t\",\n+\t\t\tidentification, pswd_len, lowercase_num, uppercase_num, numeric_num, special_num)\n+\t}\n+\n+\t# Select and concatenate the password characters.\n+\tp = \"\"\n+\tp = p get_random_unique_characters(p, lowercase_candidates, lowercase_num)\n+\tp = p get_random_unique_characters(p, uppercase_candidates, uppercase_num)\n+\tp = p get_random_unique_characters(p, numeric_candidates, numeric_num)\n+\tp = p get_random_unique_characters(p, special_candidates, special_num)\n+\tif (debug == \"1\") {\n+\t\tprintf(\"%s(%d) \\t\", p, length(p))\n+\t}\n+\treturn p\n+}\n+\n+# Get a random number between 1 and n, inclusive.\n+function get_random_int(n) {\n+\tr = 1 + int(rand() * n)\n+\treturn r\n+}\n+\n+# Get up to the specified number of random characters from possibles that are not already in str.\n+# Return the characters, or \"\" if all the possibles are already in str.\n+# May return less than the specified number of characters if it runs out of\n+# possibles before the specified number is reached. \n+function get_random_unique_characters(str, possibles, char_num) {\n+\tchars = \"\"\n+\tstr_chars = str chars\n+\tfor (char_loop = 0; char_loop < char_num; char_loop++) {\n+\t\tch = get_random_unique_character(str_chars, possibles)\n+\t\tif (ch != \"\") {\n+\t\t\tchars = chars ch\n+\t\t\tstr_chars = str chars\n+\t\t}\n+\t\telse {\n+\t\t\tbreak\n+\t\t}\n+\t}\n+\treturn chars\n+}\n+\n+# Get a random character from possibles that is not already in str.\n+# Return \"\" if all the possibles are already in str.\n+function get_random_unique_character(str, possibles) {\n+\tpossibles_len = length(possibles)\n+\t# First, do a linear search for a character in possibles that is not already in str.\n+\tfor (poss_index = 1; poss_index <= possibles_len; poss_index++) {\n+\t\tch = substr(possibles, poss_index, 1)\n+\t\tx = index(str, ch)\n+\t\tif (x == 0) {\n+\t\t\t# Found one.\n+\t\t\tif (poss_index == possibles_len) {\n+\t\t\t\t# The only character in possibles that is not in str was the last\n+\t\t\t\t# character in possibles.  As an optimization, just return it.\n+\t\t\t\treturn ch\n+\t\t\t}\n+\t\t\t# Since we know there are characters in possibles that are not in str,\n+\t\t\t# we know the following loop can eventually terminate.\n+\t\t\t# Randomly choose characters from possibles until one is found that is\n+\t\t\t# not already in str.  \n+\t\t\twhile ((x = index(str, (ch = substr(possibles, get_random_int(possibles_len), 1)))) != 0) {\n+\t\t\t\t;\n+\t\t\t}\n+\t\t\treturn ch\n+\t\t}\n+\t}\n+\treturn \"\"\n+}\n+\n+# Scramble the characters in a string.\n+function scramble(str) {\n+\t# Randomly choose and concatenate characters from str until all have been chosen.\n+\tscrambled = \"\"\n+\twhile((ch = get_random_unique_character(scrambled, str)) != \"\") {\n+\t\tscrambled = scrambled ch\n+\t}\n+\treturn scrambled\n+}\n"}
{"commit":"9dc471747689c12f4d63ae1d261b944e4539c6ed","subject":"since we got no feedback regarding people running heimdal on the crays, remove the quoted # version","message":"since we got no feedback regarding people running heimdal on the\ncrays, remove the quoted # version\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@15409 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"3523df4e249dd4b4d5f6d5ff881d0cc317022cc4","subject":"","message":"\nfirst\n\n","repos":"lopescan\/languagetool,lopescan\/languagetool,janissl\/languagetool,janissl\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,lopescan\/languagetool,janissl\/languagetool,janissl\/languagetool,lopescan\/languagetool,meg0man\/languagetool,lopescan\/languagetool,languagetool-org\/languagetool,meg0man\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,jimregan\/languagetool,languagetool-org\/languagetool,jimregan\/languagetool,meg0man\/languagetool,meg0man\/languagetool,janissl\/languagetool,janissl\/languagetool,meg0man\/languagetool,languagetool-org\/languagetool","returncode":1,"stderr":"error: pathspec 'trunk\/languagetool\/tools\/where.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- trunk\/languagetool\/tools\/where.awk\n+++ trunk\/languagetool\/tools\/where.awk\n@@ -0,0 +1,55 @@\n+# where.awk\n+#\n+# Helps to find the error location in longer text using languagetool.\n+#\n+# usage: 1, copy languagetool's output into the file xx\n+#        2. awk -f where.awk <your.txt >m.txt\n+# m.txt contains a file, where first you find the error list, then\n+# the sentence, that contains error, like:\n+#pos1 pos2 error1\n+#pos1 pos2 error2\n+# erronous line\n+# ....\n+#\n+BEGIN {\n+    pos = 0;\n+    i = 1;\n+    while(getline < \"xx\" > 0){\n+\t \tif(substr($0,1, 7) != \"<error \") continue;\n+\t\tsplit($0,aa,\"from=\\\"\");\n+#\t\tprint \"aa \" aa[2];\n+\t\tsplit(aa[2], aa1, \"\\\"\");\n+\t\tstartarray[i] = aa1[1];\n+\t\tsplit($0,bb,\"to=\\\"\");\n+\t\tsplit(bb[2], bb1, \"\\\"\");\n+\t\tstoparray[i] = bb1[1];\n+\t\terrline[i] = $0;\n+#\t\tprintedarray[i] = 0;\n+\t\ti = i + 1;\n+\t}\n+\timax = i;  \n+}\n+\n+\t{ prevpos = pos;\n+\t  pos = prevpos + length($0)+1;\n+#\t  print  prevpos, pos;\n+\t  printedarray = 0;\n+\t  for(i = 1; i < imax; i++){\n+\t     if((startarray[i] >= prevpos) && (startarray[i] < pos)){\n+#\t\t      print startarray[i]-prevpos+1, stoparray[i] - startarray[i]+1;\n+\t\t      hely = substr($0, startarray[i]-prevpos+1, stoparray[i] - startarray[i]+1);\n+\t\t      hely1 = substr($0, startarray[i]-prevpos+1, stoparray[i] - startarray[i]+3);\n+\t\t\t\tif(index(hely,\"\\. \") > 1)\n+\t\t\t\t  print \"False Alarm: \"startarray[i]-prevpos\" \" stoparray[i]-prevpos \" |\" hely1\"| \" errline[i];\n+\t\t\t\telse {\n+\t\t       print startarray[i]-prevpos\" \" stoparray[i]-prevpos \" |\" hely1\"| \" errline[i];\n+\t\t\t    if(printedarray == 0){ \n+#\t\t\t    print $0; \n+    \t\t\t\t printedarray = 1;\n+\t\t\t    }\n+\t\t\t\t}\n+\t\t  }\n+\t\t  if(i == imax -1 && printedarray)\n+\t\t  \tprint $0;\n+\t\t}\n+\t}"}
{"commit":"6ee27dba42cc3b7c5df2fadd4a7a5eacdefc0f4a","subject":"Add AWK script for computing the corrected sample excess kurtosis","message":"Add AWK script for computing the corrected sample excess kurtosis\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":1,"stderr":"error: pathspec 'tools\/awk\/kurtosis.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/kurtosis.awk\n+++ tools\/awk\/kurtosis.awk\n@@ -0,0 +1,48 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# Computes the corrected sample excess kurtosis.\n+#\n+# Usage: kurtosis\n+#\n+# Input:\n+#   - a column of numbers\n+#\n+# Output:\n+#   - corrected sample excess kurtosis\n+#\n+# References:\n+#   - Joanes, D. N., and C. A. Gill. 1998. \"Comparing measures of sample skewness and kurtosis.\" *Journal of the Royal Statistical Society: Series D (The Statistician)* 47 (1). Blackwell Publishers Ltd: 183\u201389. doi:[10.1111\/1467-9884.00122](http:\/\/dx.doi.org\/10.1111\/1467-9884.00122).\n+\n+BEGIN {\n+\tdeltaN2 = 0\n+\tdeltaN = 0\n+\tdelta = 0\n+\tterm1 = 0\n+\tmean = 0\n+\tM2 = 0\n+\tM3 = 0\n+\tM4 = 0\n+\tg2 = 0\n+\tN = 0\n+}\n+{\n+\tN += 1\n+\tdelta = $1 - mean\n+\tdeltaN = delta \/ N\n+\tdeltaN2 = deltaN * deltaN\n+\n+\tterm1 = delta * deltaN * (N-1)\n+\n+\tM4 += term1 * deltaN2 * (N*N - 3*N + 3) + 6 * deltaN2 * M2 - 4 * deltaN * M3\n+\tM3 += term1*deltaN*(N-2) - 3*deltaN*M2\n+\tM2 += term1\n+\tmean += deltaN\n+}\n+END {\n+\tif (N < 4) {\n+\t\tprint \"\"\n+\t} else {\n+\t\tg2 = N*M4 \/ (M2*M2) - 3\n+\t\tprint (N-1) \/ ((N-2)*(N-3)) * ((N+1)*g2 + 6)\n+\t}\n+}\n"}
{"commit":"503e59dde9d5beb6a1c357c449cc84b1c2f40a24","subject":"awk code","message":"awk code\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":1,"stderr":"error: pathspec 'src\/awk\/meanvariance.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/meanvariance.awk\n+++ src\/awk\/meanvariance.awk\n@@ -0,0 +1,17 @@\n+#! \/bin\/awk -f\n+\n+#find mean and variance of a column from a file\n+BEGIN {\n+print \"Hello awk\"\n+}\n+\n+#body\n+{\n+sum = sum + $4\n+}\n+END { \n+print NR\n+print sum \n+mean = sum \/ NR\n+print mean\n+}\n"}
{"commit":"49c373081c1ca7ea914cf34169c4c3fb5d11a0fc","subject":"Add AWK script to compute the corrected sample skewness","message":"Add AWK script to compute the corrected sample skewness\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":1,"stderr":"error: pathspec 'tools\/awk\/skewness.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/skewness.awk\n+++ tools\/awk\/skewness.awk\n@@ -0,0 +1,42 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# Computes the corrected sample skewness.\n+#\n+# Usage: skewness\n+#\n+# Input:\n+#   - a column of numbers\n+#\n+# Output:\n+#   - corrected sample skewness\n+#\n+# References:\n+#   - Joanes, D. N., and C. A. Gill. 1998. \"Comparing measures of sample skewness and kurtosis.\" *Journal of the Royal Statistical Society: Series D (The Statistician)* 47 (1). Blackwell Publishers Ltd: 183\u201389. doi:[10.1111\/1467-9884.00122](http:\/\/dx.doi.org\/10.1111\/1467-9884.00122).\n+\n+BEGIN {\n+\tdeltaN = 0\n+\tdelta = 0\n+\tterm1 = 0\n+\tmean = 0\n+\tM2 = 0\n+\tM3 = 0\n+\tg1 = 0\n+\tN = 0\n+}\n+{\n+\tN += 1\n+\tdelta = $1 - mean\n+\tdeltaN = delta \/ N\n+\tterm1 = delta * deltaN * (N-1)\n+\tM3 += term1*deltaN*(N-2) - 3*deltaN*M2\n+\tM2 += term1\n+\tmean += deltaN\n+}\n+END {\n+\tif (N < 3) {\n+\t\tprint \"\"\n+\t} else {\n+\t\tg1 = sqrt(N)*M3 \/ (M2*sqrt(M2))\n+\t\tprint sqrt(N*(N-1)) * g1 \/ (N-2)\n+\t}\n+}\n"}
{"commit":"7079dc489d3d215ba00531ae00dfc8b4319b676e","subject":"Splitting URL query parameters \u00e0 la awk.","message":"Splitting URL query parameters \u00e0 la awk.\n","repos":"jessealama\/weierstrass","returncode":1,"stderr":"error: pathspec 'src\/query.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- src\/query.awk\n+++ src\/query.awk\n@@ -0,0 +1,13 @@\n+BEGIN {\n+    RS = \"&\"\n+    FS = \"=\"\n+    print \"{\"\n+}\n+\n+{\n+    printf \"\\t\\\"%s\\\": \\\"%s\\\"\\n\", $1, $2\n+}\n+\n+END {\n+    print \"}\"\n+}\n"}
{"commit":"05789c41fc71766d4d56b426a5ccae1deed6bc00","subject":"adding an INFO flag with caller name - initial commit","message":"adding an INFO flag with caller name - initial commit\n","repos":"marcelm\/CAW,marcelm\/CAW,marcelm\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/marcelm\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"a5b819e4745661d5b710d032e2a43b0515aea151","subject":"remove ROKEN_VERSION","message":"remove ROKEN_VERSION\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"c39dc37aec37dc104439ea69ed6aa7db0677c032","subject":"File needed for configuration","message":"File needed for configuration\n","repos":"oneminot\/libcvd,oneminot\/libcvd,oneminot\/libcvd","returncode":1,"stderr":"error: pathspec 'make\/prog_dependencies.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- make\/prog_dependencies.awk\n+++ make\/prog_dependencies.awk\n@@ -0,0 +1,17 @@\n+BEGIN{\n+\tRS=\"progs\"\n+}\n+\n+NR==1{\n+\tfor(i=2; i <= NF; i++)\n+\t\topts[$i]=1\n+\tORS=\" \"\n+\tnext\n+}\n+\n+NF{\n+\tfor(i=2; i <= NF; i++)\n+\t\tif(!($i in opts))\n+\t\t\tnext\n+\tprint \"progs\" $1\n+}\n"}
{"commit":"1552ea3430f877bdd0f4251d6b16b0467836a721","subject":"For indent=2 projects (e.g. optiq), check that there are no author tags and that braces are always at end of line.","message":"For indent=2 projects (e.g. optiq), check that there are no author tags and that braces are always at end of line.\n","repos":"citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/citycloud-bigdata\/mondrian.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"0c64cd8ef20f6c97060e8e92a0fe1431d7918bf0","subject":"2008-03-14  Martin Sebor  <sebor@roguewave.com>","message":"2008-03-14  Martin Sebor  <sebor@roguewave.com>\n\n\t* bin\/xcomp.awk: Closed pipelines to avoid exhausting OPEN_MAX limit.\n\n\ngit-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@637279 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx,pathscale\/stdcxx","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/pathscale\/stdcxx.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"c41b80bf40b105e8bd3d8ca75a1bf9443a4efae0","subject":"add Main (initial)","message":"add Main (initial)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":1,"stderr":"error: pathspec 'include\/Main.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- include\/Main.awk\n+++ include\/Main.awk\n@@ -0,0 +1,305 @@\n+####################################################################\n+# Main.awk                                                         #\n+####################################################################\n+\n+# Detect gawk version.\n+function initGawk(    group) {\n+    Gawk = \"gawk\"\n+    GawkVersion = PROCINFO[\"version\"]\n+\n+    split(PROCINFO[\"version\"], group, \".\")\n+    if (group[1] < 3 || (group[1] == 3 && group[2] < 1)) {\n+        e(\"[ERROR] Oops! Your gawk (version \" GawkVersion \") appears to be too old.\\nYou need at least gawk 3.1 to run this script.\")\n+        exit -1\n+    }\n+}\n+\n+# Main initialization.\n+function init() {\n+    metainfo()\n+\n+    # Commons\n+    initUrlEncoding()\n+    initAnsiCode()\n+\n+    # Main\n+    initGawk()          #<< AnsiCode\n+\n+    # Languages\n+    initBiDi()\n+    initLocale()\n+    initLocaleDisplay() #<< Locale, BiDi\n+    initUserLang()      #<< Locale\n+\n+    # Translate\n+    initHttpService()\n+\n+    RS = \"\\n\"\n+\n+    ExitCode = 0\n+\n+    Option[\"debug\"] = 0\n+\n+    Option[\"verbose\"] = 1\n+    Option[\"width\"] = ENVIRON[\"COLUMNS\"] ? ENVIRON[\"COLUMNS\"] : 64\n+\n+    Option[\"play\"] = 0\n+    Option[\"player\"] = ENVIRON[\"PLAYER\"] ? ENVIRON[\"PLAYER\"] : AudioPlayer\n+\n+    Option[\"interactive\"] = 0\n+    Option[\"no-rlwrap\"] = 0\n+    Option[\"prompt\"] = ENVIRON[\"TRANSLATE_PS\"] ? ENVIRON[\"TRANSLATE_PS\"] : \"%s>\"\n+    Option[\"prompt-color\"] = ENVIRON[\"TRANSLATE_PS_COLOR\"] ? ENVIRON[\"TRANSLATE_PS_COLOR\"] : \"blue\"\n+\n+    Option[\"input\"] = \"\"\n+    Option[\"output\"] = \"\/dev\/stdout\"\n+\n+    Option[\"hl\"] = ENVIRON[\"HOME_LANG\"] ? ENVIRON[\"HOME_LANG\"] : UserLang\n+    Option[\"sl\"] = ENVIRON[\"SOURCE_LANG\"] ? ENVIRON[\"SOURCE_LANG\"] : \"auto\"\n+    Option[\"tl\"][1] = ENVIRON[\"TARGET_LANG\"] ? ENVIRON[\"TARGET_LANG\"] : UserLang\n+}\n+\n+# Main entry point.\n+BEGIN {\n+    init()\n+\n+    pos = 0\n+    while (ARGV[++pos]) {\n+        # -, -no-op\n+        match(ARGV[pos], \/^-(-?no-op)?$\/)\n+        if (RSTART) continue\n+\n+        # -V, -version\n+        match(ARGV[pos], \/^--?(vers(i(on?)?)?|V)$\/)\n+        if (RSTART) {\n+            print getVersion()\n+            exit\n+        }\n+\n+        # -H, -help\n+        match(ARGV[pos], \/^--?(help|H)$\/)\n+        if (RSTART) {\n+            print getHelp(\"endonym\")\n+            exit\n+        }\n+\n+        # -h, -help-english\n+        match(ARGV[pos], \/^--?(help-e(n(g(l(i(sh?)?)?)?)?)?|h)$\/)\n+        if (RSTART) {\n+            print getHelp(\"name\")\n+            exit\n+        }\n+\n+        # -C, -code-reference\n+        match(ARGV[pos], \/^--?(code(-(r(e(f(e(r(e(n(ce?)?)?)?)?)?)?)?)?)?|C)$\/)\n+        if (RSTART) {\n+            print getCodeReference(\"code\")\n+            exit\n+        }\n+\n+        # -R, -reference\n+        match(ARGV[pos], \/^--?(ref(e(r(e(n(ce?)?)?)?)?)?|R)$\/)\n+        if (RSTART) {\n+            print getCodeReference(\"name\")\n+            exit\n+        }\n+\n+        # -d, -debug\n+        match(ARGV[pos], \/^--?d(e(b(ug?)?)?)?$\/)\n+        if (RSTART) {\n+            Option[\"debug\"] = 1\n+            continue\n+        }\n+\n+        # -v, -verbose\n+        match(ARGV[pos], \/^--?v(e(r(b(o(se?)?)?)?)?)?$\/)\n+        if (RSTART) {\n+            Option[\"verbose\"] = 1 # default value\n+            continue\n+        }\n+\n+        # -b, -brief\n+        match(ARGV[pos], \/^--?b(r(i(ef?)?)?)?$\/)\n+        if (RSTART) {\n+            Option[\"verbose\"] = 0\n+            continue\n+        }\n+\n+        # -w [num], -width [num]\n+        match(ARGV[pos], \/^--?w(i(d(th?)?)?)?(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"width\"] = group[4] ?\n+                (group[5] ? group[5] : Option[\"width\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -p, -play\n+        match(ARGV[pos], \/^--?p(l(ay?)?)?$\/)\n+        if (RSTART) {\n+            if (Option[\"player\"] || SpeechSynthesizer)\n+                Option[\"play\"] = 1\n+            else\n+                w(\"[WARNING] No available audio player or speech synthesizer is found.\")\n+            continue\n+        }\n+\n+        # -P [program], -player [program]\n+        match(ARGV[pos], \/^--?(player|P)(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"play\"] = 1\n+            Option[\"player\"] = group[2] ?\n+                (group[3] ? group[3] : Option[\"player\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -I, -interactive\n+        match(ARGV[pos], \/^--?(int(e(r(a(c(t(i(ve?)?)?)?)?)?)?)?|I)$\/)\n+        if (RSTART) {\n+            Option[\"interactive\"] = 1\n+            continue\n+        }\n+\n+        # -no-rlwrap\n+        match(ARGV[pos], \/^--?no-rlwrap\/)\n+        if (RSTART) {\n+            Option[\"no-rlwrap\"] = 1\n+            continue\n+        }\n+\n+        # -prompt [prompt_string]\n+        match(ARGV[pos], \/^--?prompt(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"prompt\"] = group[1] ?\n+                (group[2] ? group[2] : Option[\"prompt\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -prompt-color [color_code]\n+        match(ARGV[pos], \/^--?prompt-color(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"prompt-color\"] = group[1] ?\n+                (group[2] ? group[2] : Option[\"prompt-color\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -i [file], -input [file]\n+        match(ARGV[pos], \/^--?i(n(p(ut?)?)?)?(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"input\"] = group[4] ?\n+                (group[5] ? group[5] : Option[\"input\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -o [file], -output [file]\n+        match(ARGV[pos], \/^--?o(u(t(p(ut?)?)?)?)?(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"output\"] = group[5] ?\n+                (group[6] ? group[6] : Option[\"output\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -l [code], -lang [code]\n+        match(ARGV[pos], \/^--?l(a(ng?)?)?(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"hl\"] = group[3] ?\n+                (group[4] ? group[4] : Option[\"hl\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -s [code], -source [code]\n+        match(ARGV[pos], \/^--?s(o(u(r(ce?)?)?)?)?(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            Option[\"sl\"] = group[5] ?\n+                (group[6] ? group[6] : Option[\"sl\"]) :\n+                ARGV[++pos]\n+            continue\n+        }\n+\n+        # -t [codes], -target [codes]\n+        match(ARGV[pos], \/^--?t(a(r(g(et?)?)?)?)?(=(.*)?)?$\/, group)\n+        if (RSTART) {\n+            if (group[5]) {\n+                if (group[6]) split(group[6], Option[\"tl\"], \"+\")\n+            } else\n+                split(ARGV[++pos], Option[\"tl\"], \"+\")\n+            continue\n+        }\n+\n+        # Shortcut format\n+        # '{[code]=[code]+...}'\n+        match(ARGV[pos], \/^[{([]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\\]]?$\/, group)\n+        if (RSTART) {\n+            if (group[1]) Option[\"sl\"] = group[1]\n+            if (group[4]) split(group[4], Option[\"tl\"], \"+\")\n+            continue\n+        }\n+\n+        break # no more option from here\n+    }\n+\n+    # Option parsing finished\n+    # Enter interactive mode?\n+    if (Option[\"interactive\"] && !Option[\"no-rlwrap\"]) {\n+        # Initialize Rlwrap\n+        initRlwrap()\n+\n+        # Try to call Rlwrap\n+        if (Rlwrap) {\n+            # Get current script name if possible\n+            getline temp < \"\/proc\/self\/cmdline\"\n+            split(temp, group, \"\\0\")\n+\n+            # Be careful - never fork Rlwrap again in the next system call!\n+            command = Rlwrap \" \" Gawk \" -f \" (group[3] ? group[3] : Program) \" -- -no-rlwrap\"\n+            for (i = 1; i < length(ARGV); i++)\n+                if (ARGV[i])\n+                    command = command \" \" parameterize(ARGV[i])\n+            if (!system(command))\n+                exit # return from child process\n+\n+            # Rlwrap failed, continue\n+        } else {\n+            # Rlwrap not found, continue\n+            # Don't warn users - their terminal might be fancier than you think (e.g. emacs)\n+        }\n+    }\n+\n+    if (Option[\"play\"]) {\n+        # Initialize audio player or speech synthesizer\n+        initAudioPlayer()\n+        if (!AudioPlayer) initSpeechSynthesizer()\n+    }\n+\n+    if (pos < ARGC) {\n+        # More parameters\n+\n+        # Translate the rest parameters\n+        for (i = pos; i < ARGC; i++) {\n+            # Verbose mode: separator between sources\n+            if (Option[\"verbose\"] && i > pos)\n+                print replicate(\"\u2550\", Option[\"width\"])\n+\n+            translate(ARGV[i])\n+        }\n+\n+        # If input not specified, we're done\n+    } else {\n+        # No more parameter besides options\n+\n+        # If input not specified, use stdin\n+        if (!Option[\"input\"]) Option[\"input\"] = \"\/dev\/stdin\"\n+    }\n+\n+    # If input specified, start translating\n+    if (Option[\"input\"])\n+        translateMain()\n+\n+    exit ExitCode\n+}\n"}
{"commit":"210e0edcd64df6cc549b82dbc1e6223efcb871ec","subject":"Create filter_de.awk","message":"Create filter_de.awk\n\nFilter for the German Keyboard. Change macro_script.sh to use","repos":"LivingWithHippos\/ckb-next_keyboard_macro_formatter","returncode":1,"stderr":"error: pathspec 'filter_de.awk' did not match any file(s) known to git\n","license":"unlicense","lang":"Awk","diff":"--- filter_de.awk\n+++ filter_de.awk\n@@ -0,0 +1,229 @@\n+BEGIN {}\n+\/^macro:[:alpha: ]+\/ {\n+    macroLine = \"\"\n+    # I check every field from the second one(the first one is \"macro:\")\n+    for (x = 2; x <= NF; x++) {\n+        do {\n+            # I found a keys being kept pressed or just released, I print it as it is\n+            # This works because (probably) I don't want to keep pressed keys that need to be translated such as symbols\n+            if (length($x) > 1 && (substr($x, 1, 1) == \"+\" || substr($x, 1, 1) == \"-\")) {\n+                macroLine = macroLine $x;\n+                break;\n+            }\n+            # An upper-case key, I need to press shift to do it. Using the != toupper I avoid triggering things like \",\" == tolower(\",\") and \",\" == toupper(\",\")\n+            if ($x != tolower($x)) {\n+                macroLine = macroLine \"+lshift,+\" tolower($x) \",-\" tolower($x) \",-lshift\";\n+                break;\n+            }\n+            if ($x == \"^\") {\n+                macroLine = macroLine \"+grave,-grave\";\n+                break;\n+            }\n+            if ($x == \"\u00b0\") {\n+                macroLine = macroLine \"+lshift,+grave,-grave,-lshift\";\n+                break;\n+            }\n+            if ($x == \"!\") {\n+                macroLine = macroLine \"+lshift,+1,-1,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\\\"\") {\n+                macroLine = macroLine \"+lshift,+2,-2,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00b2\") {\n+                macroLine = macroLine \"+ralt,+2,-2,-ralt\";\n+                break;\n+            }\n+            if ($x == \"\u00a7\") {\n+                macroLine = macroLine \"+lshift,+3,-3,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00b3\") {\n+                macroLine = macroLine \"+ralt,+3,-3,-ralt\";\n+                break;\n+            }\n+            if ($x == \"$\") {\n+                macroLine = macroLine \"+lshift,+4,-4,-lshift\";\n+                break;\n+            }\n+            if ($x == \"%\") {\n+                macroLine = macroLine \"+lshift,+5,-5,-lshift\";\n+                break;\n+            }\n+            if ($x == \"&\") {\n+                macroLine = macroLine \"+lshift,+6,-6,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\/\") {\n+                macroLine = macroLine \"+lshift,+7,-7,-lshift\";\n+                break;\n+            }\n+            if ($x == \"{\") {\n+                macroLine = macroLine \"+ralt,+7,-7,-ralt\";\n+                break;\n+            }\n+            if ($x == \"(\") {\n+                macroLine = macroLine \"+lshift,+8,-8,-lshift\";\n+                break;\n+            }\n+            if ($x == \"[\") {\n+                macroLine = macroLine \"+ralt,+8,-8,-ralt\";\n+                break;\n+            }\n+            if ($x == \")\") {\n+                macroLine = macroLine \"+lshift,+9,-9,-lshift\";\n+                break;\n+            }\n+            if ($x == \"]\") {\n+                macroLine = macroLine \"+ralt,+9,-9,-ralt\";\n+                break;\n+            }\n+            if ($x == \"=\") {\n+                macroLine = macroLine \"+lshift,+0,-0,-lshift\";\n+                break;\n+            }\n+            if ($x == \"}\") {\n+                macroLine = macroLine \"+ralt,+0,-0,-ralt\";\n+                break;\n+            }\n+            if ($x == \"\u00df\") {\n+                macroLine = macroLine \"+minus,-minus\";\n+                break;\n+            }\n+            if ($x == \"?\") {\n+                macroLine = macroLine \"+lshift,+minus,-minus,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00b4\") {\n+                macroLine = macroLine \"+equal,-equal\";\n+                break;\n+            }\n+            if ($x == \"`\") {\n+                macroLine = macroLine \"+lshift,+equal,-equal,-lshift\";\n+                break;\n+            }\n+            if ($x == \"@\") {\n+                macroLine = macroLine \"+ralt,+q,-q,-ralt\";\n+                break;\n+            }\n+            if ($x == \"\u20ac\") {\n+                macroLine = macroLine \"+ralt,+e,-e,-ralt\";\n+                break;\n+            }\n+            if ($x == \"z\") {\n+                macroLine = macroLine \"+y,-y\";\n+                break;\n+            }\n+            if ($x == \"Z\") {\n+                macroLine = macroLine \"+lshift,+y,-y,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00fc\") {\n+                macroLine = macroLine \"+lbrace,-lbrace\";\n+                break;\n+            }\n+            if ($x == \"\u00dc\") {\n+                macroLine = macroLine \"+lshift,+lbrace,-lbrace,-lshift\";\n+                break;\n+            }\n+            if ($x == \"+\") {\n+                macroLine = macroLine \"+rbrace,-rbrace\";\n+                break;\n+            }\n+            if ($x == \"*\") {\n+                macroLine = macroLine \"+lshift,+rbrace,-rbrace,-lshift\";\n+                break;\n+            }\n+            if ($x == \"~\") {\n+                macroLine = macroLine \"+ralt,+rbrace,-rbrace,-ralt\";\n+                break;\n+            }\n+            if ($x == \"#\") {\n+                macroLine = macroLine \"+hash,-hash\";\n+                break;\n+            }\n+            if ($x == \"'\") {\n+                macroLine = macroLine \"+lshift,+hash,-hash,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00f6\") {\n+                macroLine = macroLine \"+colon,-colon\";\n+                break;\n+            }\n+            if ($x == \"\u00d6\") {\n+                macroLine = macroLine \"+lshift,+colon,-colon,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00e4\") {\n+                macroLine = macroLine \"+quote,-quote\";\n+                break;\n+            }\n+            if ($x == \"\u00c4\") {\n+                macroLine = macroLine \"+lshift,+quote,-quote,-lshift\";\n+                break;\n+            }\n+            if ($x == \",\") {\n+                macroLine = macroLine \"+comma,-comma\";\n+                break;\n+            }\n+            if ($x == \";\") {\n+                macroLine = macroLine \"+lshift,+comma,-comma,-lshift\";\n+                break;\n+            }\n+            if ($x == \"<\") {\n+                macroLine = macroLine \"+bslash_iso,-bslash_iso\";\n+                break;\n+            }\n+            if ($x == \">\") {\n+                macroLine = macroLine \"+lshift,+bslash_iso,-bslash_iso,-lshift\";\n+                break;\n+            }\n+            if ($x == \"|\") {\n+                macroLine = macroLine \"+ralt,+bslash_iso,-bslash_iso,-ralt\";\n+                break;\n+            }\n+            if ($x == \"y\") {\n+                macroLine = macroLine \"+z,-z\";\n+                break;\n+            }\n+            if ($x == \"Y\") {\n+                macroLine = macroLine \"+lshift,+z,-z,-lshift\";\n+                break;\n+            }\n+            if ($x == \"\u00b5\") {\n+                macroLine = macroLine \"+ralt,+z,-z,-ralt\";\n+                break;\n+            }\n+            if ($x == \".\") {\n+                macroLine = macroLine \"+dot,-dot\";\n+                break;\n+            }\n+            if ($x == \":\") {\n+                macroLine = macroLine \"+lshift,+dot,-dot,-lshift\";\n+                break;\n+            }\n+            if ($x == \"-\") {\n+                macroLine = macroLine \"+slash,-slash\";\n+                break;\n+            }\n+            if ($x == \"_\") {\n+                macroLine = macroLine \"+lshift,+slash,-slash,-lshift\";\n+                break;\n+            }\n+\n+            # A normal key, press and release it, catches all the remaining cases\n+            macroLine = macroLine \"+\" $x \",-\" $x\n+        }\n+        while (0)\n+        # 0 means it runs only once instead of endlessly looping in case of errors\n+        \n+        # I add a comma between this key and the next unless I 'm at the last one\n+        if (x < NF)\n+            macroLine = macroLine \",\"\n+        else\n+            # Finished reading the macro, sending it macro to the output\n+            print macroLine\n+    }\n+}\n+END {}\n"}
{"commit":"f7212df8fd52c2adf6592a4d1cf01eb379d22255","subject":"generate c code, reading from the sysconf and pathconf files","message":"generate c code, reading from the sysconf and pathconf files\n","repos":"TheEndIsNear\/unixProgramming","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/TheEndIsNear\/unixProgramming.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"87ada13c6beb0d28e11396559d9f60621ccefbaa","subject":"[WASM] Add awk script to deobfuscate wasm stack traces.","message":"[WASM] Add awk script to deobfuscate wasm stack traces.\n\nPiperOrigin-RevId: 363962157\n","repos":"google\/j2cl,google\/j2cl,google\/j2cl,google\/j2cl,google\/j2cl","returncode":1,"stderr":"error: pathspec 'transpiler\/javatests\/com\/google\/j2cl\/integration\/deobfuscate_wasm_log.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- transpiler\/javatests\/com\/google\/j2cl\/integration\/deobfuscate_wasm_log.awk\n+++ transpiler\/javatests\/com\/google\/j2cl\/integration\/deobfuscate_wasm_log.awk\n@@ -0,0 +1,13 @@\n+# Usage:\n+# awk -f deobfuscate_wasm_log.awk <wat_file> <log_file>\n+\n+# Process the log file which is the 2nd argument.\n+FILENAME == ARGV[2] {\n+  match($0, \/<anonymous>:wasm-function\\[([0-9]+)\\]\/, groups)\n+  print $0, functions[groups[1]]\n+}\n+\n+# Collects function declarations\n+\/^\\(func\/ {\n+  functions[last_function++] =  $2\n+}\n"}
{"commit":"1584255ba88d7e3c877f764e91adce137e40a79d","subject":"Add rdf-n3.awk","message":"Add rdf-n3.awk\n","repos":"dustalov\/watset,dustalov\/watset","returncode":1,"stderr":"error: pathspec 'misc\/rdf-n3.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- misc\/rdf-n3.awk\n+++ misc\/rdf-n3.awk\n@@ -0,0 +1,94 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {\n+    FS = \"\\t\";\n+\n+    LABEL         = \"<http:\/\/www.w3.org\/2000\/01\/rdf-schema#label>\";\n+    TYPE          = \"<http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#type>\";\n+\n+    CONCEPT       = \"<http:\/\/www.w3.org\/2004\/02\/skos\/core#Concept>\";\n+    LEXICALSENSE  = \"<http:\/\/lemon-model.net\/lemon#LexicalSense>\";\n+    WORD          = \"<http:\/\/lemon-model.net\/lemon#Word>\";\n+    FORM          = \"<http:\/\/lemon-model.net\/lemon#Form>\";\n+\n+    WRITTENREP    = \"<http:\/\/lemon-model.net\/lemon#writtenRep>\";\n+    CANONICALFORM = \"<http:\/\/lemon-model.net\/lemon#canonicalForm>\";\n+    BROADER       = \"<http:\/\/lemon-model.net\/lemon#broader>\";\n+    NARROWER      = \"<http:\/\/lemon-model.net\/lemon#narrower>\";\n+    SENSE         = \"<http:\/\/lemon-model.net\/lemon#sense>\";\n+    ISSENSEOF     = \"<http:\/\/lemon-model.net\/lemon#isSenseOf>\";\n+    REFERENCE     = \"<http:\/\/lemon-model.net\/lemon#reference>\";\n+    ISREFERENCEOF = \"<http:\/\/lemon-model.net\/lemon#isReferenceOf>\";\n+}\n+{\n+    nsenses = split($3, senses, \", \");\n+    nisas   = split($5, isas,   \", \");\n+\n+    if (nsenses == 0 || nisas == 0) next;\n+\n+    print \":c\" $1, TYPE, CONCEPT, \".\";\n+\n+    for (sense_id in senses) {\n+        sense = senses[sense_id];\n+\n+        sub(\":.*$\", \"\", sense);\n+\n+        if (!(sense in sindex)) {\n+            sindex[sense] = scount++;\n+\n+            word = sense;\n+            gsub(\"_\", \" \",  word);\n+            sub(\"#.*$\", \"\", word);\n+\n+            if (!(word in windex)) {\n+                windex[word] = wcount++;\n+\n+                print \":w\" windex[word], TYPE,          WORD,              \".\";\n+                print \":w\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                print \":f\" windex[word], TYPE,          FORM,              \".\";\n+                print \":f\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                print \":f\" windex[word], WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n+                print \":w\" windex[word], CANONICALFORM, \":f\" windex[word], \".\";\n+            }\n+\n+            print \":s\" sindex[sense], TYPE,          LEXICALSENSE,       \".\";\n+            print \":s\" sindex[sense], LABEL,         \"\\\"\" sense \"\\\"\",    \".\";\n+            print \":s\" sindex[sense], ISSENSEOF,     \":w\" windex[word],  \".\";\n+            print \":w\" windex[word],  SENSE,         \":s\" sindex[sense], \".\";\n+            print \":s\" sindex[sense], REFERENCE,     \":c\" $1,            \".\";\n+            print \":c\" $1,            ISREFERENCEOF, \":s\" sindex[sense], \".\";\n+        }\n+\n+        for (isa_id in isas) {\n+            isa = isas[isa_id];\n+\n+            sub(\":.*$\", \"\", isa);\n+\n+            if (!(isa in sindex)) {\n+                sindex[isa] = scount++;\n+\n+                word = isa;\n+                gsub(\"_\", \" \",  word);\n+                sub(\"#.*$\", \"\", word);\n+\n+                if (!(word in windex)) {\n+                    windex[word] = wcount++;\n+\n+                    print \":w\" windex[word], TYPE,          WORD,              \".\";\n+                    print \":w\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                    print \":f\" windex[word], TYPE,          FORM,              \".\";\n+                    print \":f\" windex[word], LABEL,         \"\\\"\" word \"\\\"\",    \".\";\n+                    print \":f\" windex[word], WRITTENREP,    \"\\\"\" word \"\\\"\",    \".\";\n+                    print \":w\" windex[word], CANONICALFORM, \":f\" windex[word], \".\";\n+                }\n+\n+                print \":s\" sindex[isa],  TYPE,      LEXICALSENSE,      \".\";\n+                print \":s\" sindex[isa],  LABEL,     \"\\\"\" isa \"\\\"\",     \".\";\n+                print \":s\" sindex[isa],  ISSENSEOF, \":w\" windex[word], \".\";\n+                print \":w\" windex[word], SENSE,     \":s\" sindex[isa],  \".\";\n+            }\n+\n+            print \":s\" sindex[sense], BROADER,  \":s\" sindex[isa],   \".\";\n+            print \":s\" sindex[isa],   NARROWER, \":s\" sindex[sense], \".\";\n+        }\n+    }\n+}\n"}
{"commit":"82aecacfe30b4fae3be94c5c2cebfd944d5a89be","subject":"added article tags","message":"added article tags\n","repos":"orbifx\/yamado","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/orbifx\/yamado.git\/'\n","license":"agpl-3.0","lang":"Awk","diff":""}
{"commit":"660715b1148e1cab42b96e0daef88eba3c0f2942","subject":"added comments","message":"added comments\n","repos":"marcelm\/CAW,marcelm\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW,marcelm\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/marcelm\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"902d317985a3a622c185349e7fe598219c5eb525","subject":"Added Binary Search in AWK","message":"Added Binary Search in AWK\n","repos":"sugiartocokrowibowo\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,movb\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Endika\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,movb\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,movb\/Algorithm-Implementations,movb\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,movb\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,mishin\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,mishin\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,warreee\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,warreee\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,mishin\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,movb\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,movb\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,warreee\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Endika\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Endika\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Endika\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,movb\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,movb\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,warreee\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,mishin\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Endika\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,movb\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,warreee\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,movb\/Algorithm-Implementations,movb\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,mishin\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,mishin\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,warreee\/Algorithm-Implementations,mishin\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,mishin\/Algorithm-Implementations,warreee\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,mishin\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,movb\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Endika\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Endika\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Endika\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,mishin\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,movb\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,mishin\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Endika\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,mishin\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Endika\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,movb\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,mishin\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations","returncode":1,"stderr":"error: pathspec 'Binary_Search\/AWK\/wasi0013\/BinarySearch.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- Binary_Search\/AWK\/wasi0013\/BinarySearch.awk\n+++ Binary_Search\/AWK\/wasi0013\/BinarySearch.awk\n@@ -0,0 +1,34 @@\n+\/\/ Implementation of Binary Search Algorithm\n+\/\/ This algorithm expects the Passed array is already sorted\n+\n+func BinarySearch(array,len,target){  \n+\n+\n+ \tlow=0;\n+ \thigh=len;\n+ \twhile(low<high){\n+             \t    \n+        mid=int((low+high)\/2);\n+             \t    \n+        if(array[mid]==target) return mid;             \t\t\n+        \n+        else if(array[mid]>target)high=mid-1;\n+        \n+        else low=mid+1;\n+    }\n+    return high;\n+}\n+\n+BEGIN {\n+\tprint\"Beginning Test...\";\n+\n+}\n+END {\n+\n+    \/\/creating a test array [1,2,3,4,5,6,7,8,9]\n+    for(i=0;i<10;i++) arr[i]=i+1;\n+\n+    ind=BinarySearch(arr,10,7);\n+    if(arr[ind]==7) print\"The Test was successful\";\n+\n+}"}
{"commit":"b5b4f4987de2e7202a4328514749bca0fd67679e","subject":"*** empty log message ***","message":"*** empty log message ***\n","repos":"kragen\/shootout,kragen\/shootout,kragen\/shootout,kragen\/shootout,kragen\/shootout,kragen\/shootout,kragen\/shootout,kragen\/shootout,kragen\/shootout,kragen\/shootout,kragen\/shootout","returncode":1,"stderr":"error: pathspec 'bench\/tcpecho\/tcpecho.gawk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- bench\/tcpecho\/tcpecho.gawk\n+++ bench\/tcpecho\/tcpecho.gawk\n@@ -0,0 +1,32 @@\n+# The Great Computer Language Shootout\n+# http:\/\/shootout.alioth.debian.org\n+#\n+# contributed by Steven Huwig\n+\n+BEGIN {\n+    REPLY_SIZE = 64;\n+    REQUEST_SIZE = 1;\n+    M = 6400;\n+    N = ARGV[1];\n+    if (!client) {\n+        socket = \"\/inet\/tcp\/8000\/0\/0\";\n+        system(\".\/tcp.awk -v client=1 \" N \" &\");\n+        while ((socket |& getline) > 0) {\n+            printf(\"%\"REPLY_SIZE\"s\", \"\\n\") |& socket;\n+        }\n+    } else {\n+        socket = \"\/inet\/tcp\/0\/localhost\/8000\";\n+        i = N;\n+        while (i-- > 0) {\n+            j = M;\n+            while (j-- > 0) {\n+                printf(\"%\"REQUEST_SIZE\"s\", \"\\n\") |& socket;\n+                socket |& getline var;\n+                bytes += length(var) + 1; # +1 for implicit \\n getline chomp\n+                replies++;\n+            }\n+        }\n+        print \"replies: \" replies \"   bytes: \" bytes;\n+    }\n+    close(socket);\n+}\n"}
{"commit":"36177de43d202acd6ac597d20c55454bae29525c","subject":"Added an encode script","message":"Added an encode script\n","repos":"mntnorv\/wrdl,mntnorv\/wrdl","returncode":1,"stderr":"error: pathspec 'extras\/encode.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- extras\/encode.awk\n+++ extras\/encode.awk\n@@ -0,0 +1,34 @@\n+BEGIN {\n+\tFS = \"\"\n+\tconvert = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\"\n+\n+\tshift = 0\n+\tlastChar = 0\n+}\n+\n+function fiveBitPrint(char) {\n+\tlastChar = or(lastChar, and(lshift(char, shift), 0xFF));\n+\n+\tif (shift >= 3) {\n+\t\tprintf \"%c\", lastChar\n+\t\tlastChar = rshift(char, 8 - shift)\n+\t}\n+\n+\tshift = shift + 5\n+\tif (shift >= 8) {\n+\t\tshift = shift - 8\n+\t}\n+}\n+\n+{\n+\tfor (i = 1; i <= NF; i++) {\n+\t\tnum = and(index(convert, $i), 0x1F)\n+\t\tfiveBitPrint(num)\n+\t}\n+\n+\tfiveBitPrint(0)\n+}\n+\n+END {\n+\tprintf \"%c\", lastChar\n+}"}
{"commit":"d391754b7d37275e73727437cce3192628052e0a","subject":"add print_centerofmass.awk","message":"add print_centerofmass.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.hgas\/print_centerofmass.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.hgas\/print_centerofmass.awk\n+++ tool.hgas\/print_centerofmass.awk\n@@ -0,0 +1,29 @@\n+BEGIN {\n+    px = 0.;\n+    py = 0.;\n+    pz = 0.;\n+    vx = 0.;\n+    vy = 0.;\n+    vz = 0.;\n+    np = 0;\n+}\n+{\n+    px += $4;\n+    py += $5;\n+    pz += $6;\n+    vx += $7;\n+    vy += $8;\n+    vz += $9;\n+    np += 1;\n+}\n+END {\n+    ninv = 1. \/ np;\n+    px *= ninv;\n+    py *= ninv;\n+    pz *= ninv;\n+    vx *= ninv;\n+    vy *= ninv;\n+    vz *= ninv;\n+    printf(\"x: %+e %+e %+e\\n\", px, py, pz);\n+    printf(\"v: %+e %+e %+e\\n\", vx, vy, vz);\n+}\n"}
{"commit":"17e6c9b8bf482bc36436c4d8daca994a65ce4634","subject":"script to list locales with and without DateAcceptancePattern","message":"script to list locales with and without DateAcceptancePattern\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk\n+++ i18npool\/source\/localedata\/data\/list-dateacceptancepattern.awk\n@@ -0,0 +1,121 @@\n+#!\/usr\/bin\/gawk -f\n+# -*- Mode: awk; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\n+#\n+# Copyright 2012 LibreOffice contributors.\n+#\n+# This Source Code Form is subject to the terms of the Mozilla Public\n+# License, v. 2.0. If a copy of the MPL was not distributed with this\n+# file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n+\n+# Usage: gawk -f list-dateacceptancepattern.awk *.xml [--html]\n+# Outputs two lists of locales, one with DateAcceptancePattern elements\n+# defined, and one where none are defined.\n+# If --html is given as the last parameter, format output suitable for\n+# inclusion in HTML.\n+\n+BEGIN {\n+    html = 0\n+    if (ARGV[ARGC-1] == \"--html\") {\n+        html = 1\n+        --ARGC\n+    }\n+    file = \"\"\n+    nopatterns = 0\n+    if (html)\n+        print \"<p>\"\n+    else\n+        print \"\"\n+    print \"Locales with explicit DateAcceptancePattern elements:\"\n+    if (html)\n+        print \"<ul>\"\n+}\n+\n+\n+file != FILENAME {\n+    if (file)\n+        endFile()\n+    file = FILENAME\n+    patterns = 0\n+    noFormatCode = 1\n+}\n+\n+\/<DateAcceptancePattern>\/ {\n+    split( $0, a, \/<|>\/ )\n+    pattern[patterns++] = a[3]\n+}\n+\n+# No FormatCode element means inherited LC_FORMAT ref=...\n+# hence pattern inherited as well.\n+\/<FormatCode>\/ {\n+    noFormatCode = 0\n+}\n+\n+\n+END {\n+    if (file)\n+        endFile()\n+    if (html)\n+    {\n+        print \"<\/ul>\"\n+        print \"\\n<p>\"\n+    }\n+    else\n+        print \"\\n\"\n+    print \"Locales without explicit DateAcceptancePattern elements:\"\n+    if (html)\n+        print \"<br>\"\n+    print \"(one implicit full date pattern is always generated)\"\n+    if (html)\n+        print \"<p>\"\n+    if (html)\n+    {\n+        for (i=0; i<nopatterns; ++i)\n+        {\n+            print NoPatternList[i] \"&nbsp;&nbsp;&nbsp; \"\n+        }\n+    }\n+    else\n+    {\n+        for (i=0; i<nopatterns; ++i)\n+        {\n+            print NoPatternList[i]\n+        }\n+    }\n+}\n+\n+\n+function endFile() {\n+    if (patterns)\n+    {\n+        if (html)\n+        {\n+            print \"  <li> \" getLocale( file) \":\"\n+            print \"  <ul>\"\n+            for ( i=0; i<patterns; ++i )\n+            {\n+                print \"    <li> \" pattern[i]\n+            }\n+            print \"  <\/ul>\"\n+        }\n+        else\n+        {\n+            print getLocale( file) \":\"\n+            for ( i=0; i<patterns; ++i )\n+            {\n+                print \"    \" pattern[i]\n+            }\n+        }\n+    }\n+    else if (!noFormatCode)\n+        NoPatternList[nopatterns++] = getLocale( file)\n+}\n+\n+\n+function getLocale( file, tmp ) {\n+    tmp = file\n+    gsub( \/.*\\\/\/, \"\", tmp )\n+    gsub( \/\\.xml\/, \"\", tmp )\n+    return tmp\n+}\n+\n+# vim:set shiftwidth=4 softtabstop=4 expandtab:\n"}
{"commit":"602118343d3113e5cc1bd9b5af49a8914aed1471","subject":"awk script to check missing in rcl (usage: awk -f check_miss.awk xxx.rcl)","message":"awk script to check missing in rcl\n(usage: awk -f check_miss.awk xxx.rcl)\n","repos":"aijunbai\/autotest2d,aijunbai\/autotest2d","returncode":1,"stderr":"error: pathspec 'check_miss.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- check_miss.awk\n+++ check_miss.awk\n@@ -0,0 +1,57 @@\n+BEGIN{\n+\t#file = $0\n+\tcurrent = \"\"\n+\twhile (getline)\t\n+\t{\n+\t\tif ($1 ~ \/^0,\/)\n+\t\t{\n+\t\t\tif ($2 != \"(referee\")\n+\t\t\t{\n+\t\t\t\tplayer[$3]\n+\t\t\t}\n+\t\t\telse\n+\t\t\t{\n+\t\t\t\tcurrent = $1\t\n+\t\t\t\tfor (p in player)\n+\t\t\t\t{\n+\t\t\t\t\tplayer[p] = 1\n+\t\t\t\t}\n+\t\t\t}\n+\t\t}\n+\t\telse if (($1 !~ \/^3000,\/) && ($1 !~ \/^6000,\/))\n+\t\t{\n+\t\t\tnew = $1 \n+\t\t\t#print current\n+\t\t\tif (current == new)\n+\t\t\t{\t\t\n+\t\t\t\tif ($2 != \"(referee\")\n+\t\t\t\t{\n+\t\t\t\t\t player[$3] = 1\n+\t\t\t\t}\n+\t\t\t}\n+\t\t\telse\n+\t\t\t{\n+\t\t\t\tfor (p in player)\n+\t\t\t\t{\n+\t\t\t\t\tif (player[p] == 0 && p !~ \/Coach\/)\n+\t\t\t\t\t{\n+\t\t\t\t\t\tprint current \" \" p \" missed!\"\n+\t\t\t\t\t}\n+\t\t\t\t\telse \n+\t\t\t\t\t{\n+\t\t\t\t\t\tplayer[p] = 0\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t\tcurrent = new\n+\t\t\t\tif ($2 != \"(referee\")\n+\t\t\t\t{\n+\t\t\t\t\t player[$3] = 1\n+\t\t\t\t}\n+\t\t\t}\n+\t\t}\n+\t}\t\n+}\n+END{\n+\tprint \"end\"\n+}\n+\n"}
{"commit":"78f6e41427ad585ea1731fc6910a9e78c9b9c5ff","subject":"gridnav: add inst.awk which builds instances for hog2 map scenarios.","message":"gridnav: add inst.awk which builds instances for hog2 map scenarios.\n","repos":"skiesel\/search,eaburns\/search,eaburns\/search,skiesel\/search,eaburns\/search,skiesel\/search","returncode":1,"stderr":"error: pathspec 'gridnav\/inst.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- gridnav\/inst.awk\n+++ gridnav\/inst.awk\n@@ -0,0 +1,14 @@\n+BEGIN {\n+\tx0=\"\"\n+\ty0=\"\"\n+\tx1=\"\"\n+\ty1=\"\"\n+\tFS=\"\\\"\"\n+}\n+\/#pair  \"start x\"\t\".*\"\/ { x0 = $4 }\n+\/#pair  \"start y\"\t\".*\"\/ { y0 = $4 }\n+\/#pair  \"goal x\"\t\".*\"\/ { x1 = $4 }\n+\/#pair  \"goal y\"\t\".*\"\/ { y1 = $4 }\n+END {\n+\tprint x0 \" \" y0 \" \" x1 \" \" y1\n+}"}
{"commit":"0d7a3612e5daa8b0eeef206be5ff3f6592347976","subject":"New script: FastQ.toFastA.awk","message":"New script: FastQ.toFastA.awk\n","repos":"lmrodriguezr\/enveomics,lmrodriguezr\/enveomics,lmrodriguezr\/enveomics,lmrodriguezr\/enveomics","returncode":1,"stderr":"error: pathspec 'Scripts\/FastQ.toFastA.awk' did not match any file(s) known to git\n","license":"artistic-2.0","lang":"Awk","diff":"--- Scripts\/FastQ.toFastA.awk\n+++ Scripts\/FastQ.toFastA.awk\n@@ -0,0 +1,12 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# @author: Luis M. Rodriguez-R\n+# @update: May-10-2015\n+# @license: artistic license 2.0\n+#\n+\n+NR%4 == 1, NR%4 == 2 {\n+   if(NR%4 == 1){ gsub(\/^@\/,\">\") }\n+   print $0\n+}\n+\n"}
{"commit":"af4cc994c0c7405cbc8b627e5369d71c32b264d3","subject":"Extract each tar separately awk","message":"Extract each tar separately awk\n","repos":"phughk\/myLinuxSettings,phughk\/myLinuxSettings","returncode":1,"stderr":"error: pathspec 'awk\/tarEach.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- awk\/tarEach.awk\n+++ awk\/tarEach.awk\n@@ -0,0 +1,2 @@\n+# This is trash fire\n+find . -name \"*.tar.gz\" | awk '{l=$0; sub(\"\\.tar\\.gz\", \"\", l); system(\"mkdir -p \" l); print \"tar -xf \" $1, \"-C\", l \"\/\"}' | sh\n"}
{"commit":"aee8ba5c99afe8c554b8b70e207d8eab149bb05d","subject":"Simple camera simulator, including cosine distortion.","message":"Simple camera simulator, including cosine distortion.\n","repos":"nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome,nmc-probe\/emulab-nome","returncode":1,"stderr":"error: pathspec 'robots\/vmcd\/cam-sim.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- robots\/vmcd\/cam-sim.awk\n+++ robots\/vmcd\/cam-sim.awk\n@@ -0,0 +1,103 @@\n+#! \/usr\/bin\/awk -f\n+# \n+# cam-sim.awk - Simulate imaging of a floor grid into an overhead wide-angle camera.\n+# The default output is rows and then columns of grid points for gnuplot.\n+# An optional output simulates file_dumper grid points.\n+# A blank line separates the points along a row or column from the next one.\n+# \n+# Option vars, set with -v var=arg:\n+#  -v floor=1 - Output floor coordinates for the grid in meters.\n+#  -v warp=1 - Apply a radial distortion to warp the ccd coords.  \n+#              Value is the warp factor, 1.0 is a simple cosine.\n+#  -v mm=1 - Output ccd coords in mm from the optical axis instead of in pixels.\n+#  -v pts=1 - Output just the grid points in row-major order.\n+#  -v fd=1 - file_dumper output, grid points in pixels plus world coords in meters.\n+#\n+# Commands:  shell\t\t\t   gnuplot\n+#  cam-sim.awk -v floor=1 > grid.data\t   plot \"grid.data\" with lines\n+#  cam-sim.awk > nowarp.data\t\t   plot \"nowarp.data\" with lines\n+#  cam-sim.awk -v warp=1 > warp1.data\t   plot \"warp1.data\" with lines\n+#  cam-sim.awk -v warp=1.414 > warp2.data  plot \"warp2.data\" with lines\n+\n+BEGIN {\n+    # Assumptions: \n+    # Floor units are meters, CCD units are pixels or millimeters.\n+    # The grid origin is under the camera at the center.\n+    # The CCD origin is at the lower left pixel of the image.\n+\n+    # Do everything with matching aspect ratios for slight simplicity.\n+    aspectX = 4; aspectY = 3; aspectRatio = aspectX \/ aspectY;\n+\n+    # The floor grid, with the camera above its center point.\n+    floorX = 3.000; floorY = floorX \/ aspectRatio; gridStep = 0.250; \n+    halfX = floorX \/ 2; halfY = floorY \/ 2;\n+    \n+    # The optical center of the camera lens in meters above the floor.\n+    ocHeight = 2.500;\n+\n+    # The CCD image sensor is 1\/3 inch diagonal 640x480 with a 4x3 aspect ratio.\n+    ccdDiag = 1\/3 * 25.4; xPix = 640; yPix = 480;\n+    diagAngle = atan2(aspectY, aspectX);\n+    ccdX = ccdDiag * cos(diagAngle); ccdY = ccdDiag * sin(diagAngle);\n+    if ( !fd ) print \"# ccdDiag\", ccdDiag, \"ccdX\", ccdX, \"ccdY\", ccdY;\n+    ## ccdDiag 8.46667 ccdX 6.77333 ccdY 5.08\n+\n+    # The lens is a varifocal wide-angle, with a focal length of 2.8 to 6 mm.\n+    # Calculate a focal length to give a field-of-view that covers the whole grid.\n+    focalLength = (ccdX\/2) * ocHeight \/ halfX;\n+    if ( !fd ) print \"# focalLength\", focalLength;\n+\n+    # Put a grid line crossing directly under the camera.\n+    stepsHalfX = int(halfX\/gridStep); stepsHalfY = int(halfY\/gridStep);\n+    ptsX = 2 * stepsHalfX + 1; ptsY = 2 * stepsHalfY + 1; \n+    if ( !fd ) print \"# rows(ptsY)\", ptsY, \"cols(ptsX)\", ptsX;\n+\n+    # Visit the grid points.\n+    if ( !fd ) print \"# warp\", warp;\n+    for ( i = 0; i < ptsY; i++ ) { # Rows of the grid.\n+\tfor ( j = 0; j < ptsX; j++ )\n+\t    point(i,j);\n+\tprint \"\";\t\t# Blank line separator.\n+    }\n+    if ( ! pts && !fd ) for ( j = 0; j < ptsX; j++ ) { # Columns of the grid.\n+\tfor ( i = 0; i < ptsY; i++ )\n+\t    point(i,j);\n+\tprint \"\";\n+    }\n+}\n+\n+function point(i,j) {\n+    gridX = (j - stepsHalfX)*gridStep;\n+    gridY = (i - stepsHalfY)*gridStep;\n+      \n+    if ( floor ) {\n+\tprint gridX, gridY;\n+\treturn;\n+    }\n+\n+    pixXmm = focalLength * gridX \/ ocHeight;\n+    pixYmm = focalLength * gridY \/ ocHeight;\n+\n+    if ( warp ) {\n+\t# Model barrel lens distortion as the cosine of the off-axis angle.\n+\tf = cos(warp * atan2(sqrt(gridX^2+gridY^2), ocHeight));\n+\tpixXmm = pixXmm * f; \n+\tpixYmm = pixYmm * f;\n+    }\n+\n+    pixX = pixXmm * xPix\/ccdX + xPix\/2;\n+    pixY = pixYmm * yPix\/ccdY + yPix\/2;\n+\n+    if ( fd ) {\t\t\t# Simulate file_dumper output.\n+      printf \"\\n+++\\nsection: (%.3f, %.3f)\\n\", gridX, gridY;\n+      frames++;\n+      printf \"frame %d (timestamp 1109888759.935184):\\n\", frames;\n+      printf \"a(%.6f,%.6f) b(%.6f,%.6f) -- wc(%.6f,%.6f,%.6f)\\n+++\\n\", \n+\tpixX, pixY+6, pixX, pixY-6, gridX, gridY, 0.0;\n+    }\n+    else if ( mm ) \n+\tprint pixXmm, pixYmm;\n+    else {\n+\tprint pixX, pixY;\n+    }\n+}\n"}
{"commit":"6871b1a8855df1511623f01d07392b3d5a9265e4","subject":"INTEGRATION: CWS beta2regression03 (1.1.2); FILE ADDED 2003\/04\/30 15:32:49 er 1.1.2.1: #i13811# gawk script to check for presence of symbols in linker mapfiles","message":"INTEGRATION: CWS beta2regression03 (1.1.2); FILE ADDED\n2003\/04\/30 15:32:49 er 1.1.2.1: #i13811# gawk script to check for presence of symbols in linker mapfiles\n","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core","returncode":1,"stderr":"error: pathspec 'i18npool\/source\/localedata\/data\/linkermapfile-check.awk' did not match any file(s) known to git\n","license":"mpl-2.0","lang":"Awk","diff":"--- i18npool\/source\/localedata\/data\/linkermapfile-check.awk\n+++ i18npool\/source\/localedata\/data\/linkermapfile-check.awk\n@@ -0,0 +1,94 @@\n+#!\/usr\/bin\/gawk -f\n+# Usage: gawk -f linkermapfile-check.awk *.map *.xml\n+# Order of *.map *.xml is important, otherwise all symbols are reported to be\n+# missing.\n+# Checks if all symbols of all locale data are present in the symbol scoping\n+# linker mapfiles.  Any output indicates a missing symbol, ..\/localedata.cxx is\n+# grep'ed to indicate the library to which mapfile the symbol should be added.\n+# Author: Eike Rathke <er@openoffice.org>\n+\n+BEGIN {\n+    bAnyMissing = 0\n+    file = \"\"\n+    nMap = 0\n+    nMaps = 0\n+    nPublics = 0\n+    sPublic[nPublics++] = \"getAllCalendars_\"\n+    sPublic[nPublics++] = \"getAllCurrencies_\"\n+    sPublic[nPublics++] = \"getAllFormats_\"\n+    sPublic[nPublics++] = \"getCollationOptions_\"\n+    sPublic[nPublics++] = \"getCollatorImplementation_\"\n+    sPublic[nPublics++] = \"getContinuousNumberingLevels_\"\n+    sPublic[nPublics++] = \"getForbiddenCharacters_\"\n+    sPublic[nPublics++] = \"getLCInfo_\"\n+    sPublic[nPublics++] = \"getLocaleItem_\"\n+    sPublic[nPublics++] = \"getOutlineNumberingLevels_\"\n+    sPublic[nPublics++] = \"getReservedWords_\"\n+    sPublic[nPublics++] = \"getSearchOptions_\"\n+    sPublic[nPublics++] = \"getTransliterations_\"\n+}\n+\n+file != FILENAME {\n+    file = FILENAME\n+    if ( file ~ \/\\.map$\/ )\n+    {\n+        sMapFile[nMaps] = file\n+        nMap = nMaps\n+        ++nMaps\n+    }\n+    else if ( file ~ \/\\.xml$\/ )\n+    {\n+        bOut = 0\n+        n = split( file, arr, \/[:\\\\\\\/.]\/ )\n+        locale = arr[n-1]\n+        for ( i=0; i<nPublics; ++i )\n+        {\n+            symbol = sPublic[i] locale \";\"\n+            bFound = 0\n+            for ( j=0; j<nMaps && !bFound; ++j )\n+            {\n+                if ( sSymbol[j,symbol] )\n+                    bFound = 1\n+            }\n+            if ( !bFound )\n+            {\n+                if ( !bOut )\n+                {\n+                    search = \"\\\"\" locale \"\\\"\"\n+                    while ( !bOut && (getline <\"..\/localedata.cxx\") > 0 )\n+                    {\n+                        if ( $0 ~ search )\n+                        {\n+                            bOut = 1\n+                            print \"..\/localedata.cxx says this should go into: \" $0\n+                        }\n+                    }\n+                    close( \"..\/localedata.cxx\" )\n+                    if ( !bOut )\n+                        print \"..\/localedata.cxx doesn't indicate to which lib this belongs to:\"\n+                    bOut = 1\n+                }\n+                print symbol\n+            }\n+        }\n+        if ( bOut)\n+        {\n+            printf(\"\\n\")\n+            bAnyMissing = 1\n+        }\n+        nextfile\n+    }\n+    else\n+        nextfile\n+}\n+\n+# only reached if .map file encountered, read in symbols\n+{\n+    if ( $1 ~ \/;$\/ )\n+        sSymbol[nMap,$1] = 1\n+}\n+\n+END {\n+    if ( !bAnyMissing )\n+        print \"All good.\" >>\"\/dev\/stderr\"\n+}\n"}
{"commit":"5accc532d201651eb9e713ff443a8eaf1f073eaa","subject":"checkFile now checks for Mondrian headers, bans \/* ... *\/ comments (only checks in strict mode, and allows those comments if they start at column 0), and gives better messages if imports are in the wrong order.","message":"checkFile now checks for Mondrian headers, bans \/* ... *\/ comments (only checks in strict mode, and allows those comments if they start at column 0), and gives better messages if imports are in the wrong order.\n","repos":"citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian,citycloud-bigdata\/mondrian","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/citycloud-bigdata\/mondrian.git\/'\n","license":"epl-1.0","lang":"Awk","diff":""}
{"commit":"b8df435c0e5d1f220aabe02a88fa5d3f4a14781d","subject":"Add awk chunks","message":"Add awk chunks\n","repos":"jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles,jpalardy\/dotfiles","returncode":1,"stderr":"error: pathspec 'chunks\/chunks.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- chunks\/chunks.awk\n+++ chunks\/chunks.awk\n@@ -0,0 +1,3 @@\n+\n+match($0, \/^mix ([^ ]+) +# +(.*)\/, arr) { print arr[1] \"\\t\" arr[2] }\n+\n"}
{"commit":"2d0874a7445c14da1647cc679b3c8d60f855a42f","subject":"Wrote the first external script for SBT.  This is a simple awk script to get the Nth occurrence of a pattern within a string.  Seems to work but still need to write tests for it.  Might also want to consider letting it read a whole file, but then again how would that work with newlines?  I'd have to read in multiline mode and I don't know if that's even possible in awk.  Oh well, baby steps for now.","message":"Wrote the first external script for SBT.  This is a simple awk script to get the Nth occurrence of a pattern within a string.  Seems to work but still need to write tests for it.  Might also want to consider letting it read a whole file, but then again how would that work with newlines?  I'd have to read in multiline mode and I don't know if that's even possible in awk.  Oh well, baby steps for now.\n","repos":"KyleJHarper\/stupidbashtard,KyleJHarper\/stupidbashtard","returncode":1,"stderr":"error: pathspec 'sbt\/ext\/string_IndexOf.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- sbt\/ext\/string_IndexOf.awk\n+++ sbt\/ext\/string_IndexOf.awk\n@@ -0,0 +1,12 @@\n+BEGIN {\n+  if( occurrence < 1 ) { occurrence = 1 }\n+  offset = 0\n+  found = 0\n+  while ( found < occurrence ) {\n+    idx = index(substr(haystack, offset + 1), needle) ;\n+    found++\n+    offset += idx\n+  }\n+  if ( idx == 0 ) { print idx ; exit }\n+  print offset ;\n+}\n"}
{"commit":"13f35fec943265affef917d34151eacb29da4433","subject":"added script to check uniqueness of edges","message":"added script to check uniqueness of edges\n","repos":"emallson\/capngraph,emallson\/capngraph","returncode":1,"stderr":"error: pathspec 'check_unique.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- check_unique.awk\n+++ check_unique.awk\n@@ -0,0 +1,19 @@\n+#!\/usr\/bin\/gawk -f\n+BEGIN {\n+    duplicates = 0;\n+}\n+\n+$1 in edges && $2 in edges[$1] {\n+    printf \"Edge %d \u2192 %d duplicated.\\n\", $1, $2\n+    duplicates += 1;\n+}\n+\n+{\n+    edges[$1][$2] += 1;\n+}\n+\n+END {\n+    if (duplicates > 0) {\n+        printf \"%d duplicates found.\\n\", duplicates\n+    }\n+}\n"}
{"commit":"3ba57500e0eddb510646792547fe062163e3e3b1","subject":"  str_split(\"\/\", url, br)","message":"  str_split(\"\/\", url, br)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"4ec88bfd8f65e89a831cbbb7f8ce0a947f50102b","subject":"    arr_bpush(xr, dom($1) FS $1)","message":"    arr_bpush(xr, dom($1) FS $1)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"efd22f3716ae85f83bf2e6598a5bba554f23fa38","subject":"Create zad2.awk","message":"Create zad2.awk","repos":"lukaszpetke\/jp,lukaszpetke\/jp","returncode":1,"stderr":"error: pathspec 'AWK\/zad2.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- AWK\/zad2.awk\n+++ AWK\/zad2.awk\n@@ -0,0 +1,5 @@\n+#Z pliku \/etc\/passwd wyliczy\u0107 sum\u0119 i \u015bredni\u0105 arytmetyczn\u0105 wszystkich numer\u00f3w UID.\n+\n+BEGIN{FS=\":\"; s=0;} #FS - separator p\u00f3l\n+{s=s+$3} #$3 jest naszym \/etc\/passwd\n+END{srednia=s\/NR; print \"srednia:\", srednia\", suma\", s;} #NR - liczba przeczytanych rekord\u00f3w\n"}
{"commit":"977a20d1aaf0cd2e10ea95380cfa297fad3dc829","subject":"dummy collapse branches based on support. Do not really collapse bu simply transform branches low supported branches to zero length.","message":"dummy collapse branches based on support. Do not really collapse bu simply transform branches low supported branches to zero length.\n","repos":"ballesterus\/PhyloUtensils","returncode":1,"stderr":"error: pathspec 'collapse.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- collapse.awk\n+++ collapse.awk\n@@ -0,0 +1,35 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN{\n+\tFS=\")\";\n+\tRS=\";\";\n+\tOFS=\"\";\n+\tORS=\"\";\n+\tif (ARGC < 3){\n+\t    print \"usage: collapse.awk  [INFILE] [BSvalue] > outfile\";\n+\texit 1\n+\t}\n+    sup = ARGV[2]\n+    delete ARGV[2];\n+}{\n+    print $1\n+    for (i=2; i <= NF; i++){\n+\tsplit($i, B, \",\")\n+\tsplit(B[1], L, \":\");\n+\tif (L[1] < sup && L[1] != \"\" ){\n+\t    sub(L[1]\":\"L[2], L[1]\":0.00\", $i);\n+\t    print \")\"$i;\n+\t}\n+\t\n+\telse {\n+\t    print \")\"$i\n+\t}\n+\n+    }\n+    print \";\"\n+}\n+\n+    \n+\n+\n+\n+\n"}
{"commit":"f7ba1708a719da68b5c4287ed218039de1b26c22","subject":"Create f.awk","message":"Create f.awk","repos":"rahulinux\/scripts,rahulinux\/scripts,rahulinux\/scripts,rahulinux\/scripts","returncode":1,"stderr":"error: pathspec 'f.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- f.awk\n+++ f.awk\n@@ -0,0 +1,32 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN{\n+\n+   #for(i=1;i<=5000;i++){\n+   #\n+   #   if (i%3 == 0 && i%5 == 0){\n+   #     \n+   #      print \"FizzBuzz\"\n+   #   \n+   #   } else if (i%3 == 0) {\n+\n+   #      print \"Fizz\"\n+\n+   #   } else if (i%5 == 0) {\n+\n+   #     print \"Buzz\"\n+\n+   #   } else {\n+   #   \n+   #     print i\n+\n+   #   }\n+\n+   #}\n+   for (i=1;i<=5000;i++){\n+      msg = \"\";\n+      if (i%3==0) { msg = msg\"Fizz\" };\n+      if (i%5==0) { msg = msg\"Buzz\" };\n+      print (length(msg) == 0)? i : msg;\n+   }\n+\n+}\n"}
{"commit":"857ffcfba79cb1af687ef3e76f9b6d64a87d5c65","subject":"double","message":"double\n","repos":"ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog,ketancmaheshwari\/hello-goog","returncode":1,"stderr":"error: pathspec 'src\/awk\/checkdouble.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- src\/awk\/checkdouble.awk\n+++ src\/awk\/checkdouble.awk\n@@ -0,0 +1,24 @@\n+#! \/bin\/awk -f\n+\n+#check back to back double occurrence of a word\n+\n+BEGIN {\n+}\n+\n+#body\n+FILENAME != prevfile {\n+  NR = 1\n+  prevfile = FILENAME\n+}\n+NF > 0{\n+  if ($1 == lastword)\n+     printf \"double %s, file %s, line %d\\n\", $1, FILENAME, NR\n+  for (i=2; i <= NF; i++)\n+      if ($i == $(i-1))\n+         printf \"double %s, file %s, line %d\\n\", $i, FILENAME, NR\n+  if (NF > 0){\n+     lastword = $NF\n+  }\n+}\n+END { \n+}\n"}
{"commit":"a43a827c8ac739462e71ec3d68f799d3fb11628a","subject":"add tool.ddet\/align_element.awk","message":"add tool.ddet\/align_element.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.ddet\/align_element.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.ddet\/align_element.awk\n+++ tool.ddet\/align_element.awk\n@@ -0,0 +1,9 @@\n+{\n+    for(i = 0; i < 12; i++) {\n+\tif(i == 0) {\n+\t    printf(\"%2d %+.3e\\n\", 4, $8);\n+\t} else {\n+\t    printf(\"%2d %+.3e\\n\", 8+i*4, $(8+i));\n+\t}\n+    }\n+}\n"}
{"commit":"5b7c1f0022cdb21e1bf12f74bea70f43c8904f7e","subject":"Create thisisfreesoftware.awk","message":"Create thisisfreesoftware.awk","repos":"DrItanium\/thisisfreesoftware,DrItanium\/thisisfreesoftware,airencracken\/thisisfreesoftware,DrItanium\/thisisfreesoftware,DrItanium\/thisisfreesoftware,airencracken\/thisisfreesoftware,DrItanium\/thisisfreesoftware,airencracken\/thisisfreesoftware,airencracken\/thisisfreesoftware,jcline\/thisisfreesoftware,airencracken\/thisisfreesoftware,jcline\/thisisfreesoftware,jcline\/thisisfreesoftware,airencracken\/thisisfreesoftware,jcline\/thisisfreesoftware,airencracken\/thisisfreesoftware,DrItanium\/thisisfreesoftware,jcline\/thisisfreesoftware,airencracken\/thisisfreesoftware,airencracken\/thisisfreesoftware,DrItanium\/thisisfreesoftware,DrItanium\/thisisfreesoftware,airencracken\/thisisfreesoftware,jcline\/thisisfreesoftware,airencracken\/thisisfreesoftware,jcline\/thisisfreesoftware,DrItanium\/thisisfreesoftware,DrItanium\/thisisfreesoftware,DrItanium\/thisisfreesoftware,airencracken\/thisisfreesoftware","returncode":1,"stderr":"error: pathspec 'thisisfreesoftware.awk' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"Awk","diff":"--- thisisfreesoftware.awk\n+++ thisisfreesoftware.awk\n@@ -0,0 +1,2 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {print \"Fuck you Mendez.\"}\n"}
{"commit":"805f3a3ce8c3f76c7f655a113f49235a5586918f","subject":"add tool.tde2d\/calculateMass.awk","message":"add tool.tde2d\/calculateMass.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.tde2d\/calculateMass.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.tde2d\/calculateMass.awk\n+++ tool.tde2d\/calculateMass.awk\n@@ -0,0 +1,16 @@\n+BEGIN {\n+    for(i = 0; i < 14; i++) {\n+\tmass[i] = 0.;\n+    }\n+}\n+{\n+    mass[0] += $5;\n+    for(i = 1; i < 14; i++) {\n+\tmass[i] += $5 * $(i+6)\n+    }\n+}\n+END {\n+    for(i = 0; i < 14; i++) {\n+\tprintf(\"%2d %+e\\n\", i, mass[i]);\n+    }\n+}\n"}
{"commit":"88525fa34fd19a8beebebd8ff3317f93e8d3b142","subject":"splitting PGN files","message":"splitting PGN files\n","repos":"robx\/scripts,robx\/scripts,robx\/scripts","returncode":1,"stderr":"error: pathspec 'splitpgn.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- splitpgn.awk\n+++ splitpgn.awk\n@@ -0,0 +1,9 @@\n+#!\/usr\/bin\/awk\n+\n+BEGIN { i = 0 }\n+\n+\/^\\[Event\/ { close(out)\n+             i += 1\n+             out = i \".pgn\" }\n+\n+{ print $0 >out }\n"}
{"commit":"df159ce30a1f6c10c46c0149300db7b0dc589f09","subject":"we need better templating...working on that","message":"we need better templating...working on that\n","repos":"scribenet\/ngx_http_extended_status_module,scribenet\/ngx_http_extended_status_module,nginx-modules\/ngx_http_extended_status_module,scribenet\/ngx_http_extended_status_module,nginx-modules\/ngx_http_extended_status_module,nginx-modules\/ngx_http_extended_status_module","returncode":1,"stderr":"error: pathspec 'template.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- template.awk\n+++ template.awk\n@@ -0,0 +1,51 @@\n+#! \/usr\/bin\/awk -f\n+#\n+# Copyright \u00a9 Adrian Perez <aperez@igalia.com>\n+#\n+# Converts an HTML template into a C header suitable for inclusion.\n+# Take a look at the HACKING.rst file to know how to use it :-)\n+#\n+# This code is placed in the public domain.\n+\n+BEGIN {\n+\tvarname = 0;\n+\tprint \"\/* Automagically generated, do not edit! *\/\"\n+\tvars_count = 0;\n+}\n+\n+\/^<!--[[:space:]]*var[[:space:]]+[^[:space:]]+[[:space:]]*-->$\/ {\n+\tif (varname) print \";\";\n+\tif ($3 == \"NONE\") {\n+\t\tvarname = 0;\n+\t\tnext;\n+\t}\n+\tvarname = $3;\n+\tvars[vars_count++] = varname;\n+\tprint \"static const u_char \" varname \"[] = \\\"\\\"\";\n+\tnext;\n+}\n+\n+\/^$\/ {\n+\tif (!varname) next;\n+\tprint \"\\\"\\\\n\\\"\";\n+\tnext;\n+}\n+\n+{\n+\tif (!varname) next;\n+\t# Order matters\n+\tgsub(\/[\\t\\v\\n\\r\\f]+\/, \"\");\n+\tgsub(\/\\\\\/, \"\\\\\\\\\");\n+\tgsub(\/\"\/, \"\\\\\\\"\");\n+\tprint \"\\\"\" $0 \"\\\"\"\n+}\n+\n+\n+END {\n+\tif (varname) print \";\";\n+\tprint \"#define NFI_TEMPLATE_SIZE (0 \\\\\";\n+\tfor (var in vars) {\n+\t\tprint \"\\t+ nfi_sizeof_ssz(\" vars[var] \") \\\\\";\n+\t}\n+\tprint \"\\t)\"\n+}\n"}
{"commit":"91990be6c3e46d57d0458be83fc9c68688f02a20","subject":"adds omfgene awk","message":"adds omfgene awk\n","repos":"nellore\/omfgene,nellore\/omfgene","returncode":1,"stderr":"error: pathspec 'omfgene.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- omfgene.awk\n+++ omfgene.awk\n@@ -0,0 +1,22 @@\n+# Count discordant paired-end alignments & mates > 500k bases away\n+\n+# Absolute value\n+function abs(v) {\n+\treturn v < 0 ? -v : v\n+}\n+\n+# Round to nearest 100\n+function rnd(v) {\n+\tr = v \/ 100\n+\ti = int(r)\n+\td = r - i\n+\treturn d >= 0.5 ? (i + 1) * 100 : i * 100\n+}\n+\n+# Parse SAM\n+# If primary alignment AND mate mapped AND (mate is on different chr OR mate is more than 500k away)\n+# print alignments rounded to nearest 100\n+# Format: mate 1 chrom TAB mate 1 rounded coordinate TAB mate 2 chrom TAB mate 2 rounded coordinate TAB 1 if secondary else 0\n+$7 != \"*\" && ($7 != \"=\" && $7 != $3 || (abs($4-$8) > 500000)) {\n+\tprint $3 \"\\t\" rnd($4) \"\\t\" ($7 == \"=\" ? $3 : $7) \"\\t\" rnd($8) \"\\t\" (int($2 \/ 256) % 2)\n+}\n"}
{"commit":"f1ba586bd8317f76de5cd7c4d1e1812530e56c01","subject":"add tool.hgas\/split_particle.awk","message":"add tool.hgas\/split_particle.awk\n","repos":"atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph,atrtnkw\/sph","returncode":1,"stderr":"error: pathspec 'tool.hgas\/split_particle.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- tool.hgas\/split_particle.awk\n+++ tool.hgas\/split_particle.awk\n@@ -0,0 +1,90 @@\n+# argv: n (Original number)\n+BEGIN{\n+    pi  = 3.141;\n+    idc = 0;\n+}\n+{\n+    id    = $1;\n+    istar = $2;\n+    mass  = $3;\n+    px    = $4;\n+    py    = $5;\n+    pz    = $6;\n+    vx    = $7;\n+    vy    = $8;\n+    vz    = $9;\n+    ue    = $13;\n+    alph  = $14;\n+    alphu = $15;\n+    ksr   = $17;\n+    for(k = 0; k < 13; k++) {\n+        cmps[k] = $(32+k);\n+    }\n+\n+    phi = pi * (2. * rand() - 1.);\n+    cth = 2. * rand() - 1.;\n+    sth = sqrt(1. - cth**2);\n+    dr  = (1.\/2.)**(1\/3.) * (ksr * 0.1);\n+    dx  = dr * sth * cos(phi);\n+    dy  = dr * sth * sin(phi);\n+    dz  = dr * cth;\n+    dvx = 0. * sth * cos(phi);\n+    dvy = 0. * sth * sin(phi);\n+    dvz = 0. * cth;\n+\n+    id0    = idc;\n+    istar0 = istar;\n+    mass0  = 0.5 * mass;\n+    px0    = px + dx;\n+    py0    = py + dy;\n+    pz0    = pz + dz;\n+    vx0    = vx + dvx;\n+    vy0    = vy + dvy;\n+    vz0    = vz + dvz;\n+    ue0    = ue;\n+    alph0  = alph;\n+    alphu0 = alphu;\n+    ksr0   = ksr;\n+    for(k = 0; k < 13; k++) {\n+        cmps0[k] = cmps[k]\n+    }\n+    idc++;\n+\n+    id1    = idc;\n+    istar1 = istar;\n+    mass1  = 0.5 * mass;\n+    px1    = px - dx;\n+    py1    = py - dy;\n+    pz1    = pz - dz;\n+    vx1    = vx - dvx;\n+    vy1    = vy - dvy;\n+    vz1    = vz - dvz;\n+    ue1    = ue;\n+    alph1  = alph;\n+    alphu1 = alphu;\n+    ksr1   = ksr;\n+    for(k = 0; k < 13; k++) {\n+        cmps1[k] = cmps[k]\n+    }\n+    idc++;\n+\n+    printf(\"%10d %2d %+e\", id0, istar0, mass0);\n+    printf(\" %+e %+e %+e\", px0, py0, pz0);\n+    printf(\" %+e %+e %+e\", vx0, vy0, vz0);\n+    printf(\" %+e %+e %+e\", ue0, alph0, alphu0);\n+    printf(\" %+e\", ksr0);\n+    for(k = 0; k < 13; k++) {\n+        printf(\" %+.3e\", cmps0[k]);\n+    }\n+    printf(\"\\n\");\n+\n+    printf(\"%10d %2d %+e\", id1, istar1, mass1);\n+    printf(\" %+e %+e %+e\", px1, py1, pz1);\n+    printf(\" %+e %+e %+e\", vx1, vy1, vz1);\n+    printf(\" %+e %+e %+e\", ue1, alph1, alphu1);\n+    printf(\" %+e\", ksr1);\n+    for(k = 0; k < 13; k++) {\n+        printf(\" %+.3e\", cmps1[k]);\n+    }\n+    printf(\"\\n\");\n+}\n"}
{"commit":"59e1bfc35a6709317f98ed59857a2ad267c3aad3","subject":"Add AWK script to compute the mid-range","message":"Add AWK script to compute the mid-range\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":1,"stderr":"error: pathspec 'tools\/awk\/midrange.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/midrange.awk\n+++ tools\/awk\/midrange.awk\n@@ -0,0 +1,27 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# Computes the mid-range.\n+#\n+# Usage: mid-range\n+#\n+# Input:\n+#   - a column of numbers\n+#\n+# Output:\n+#   - mid-range\n+\n+!i++ {\n+\t# Only for the first record:\n+\tmax = $1\n+\tmin = $1\n+}\n+{\n+\tif ($1 > max) {\n+\t\tmax = $1\n+\t} else if ($1 < min) {\n+\t\tmin = $1\n+\t}\n+}\n+END {\n+\tprint (max + min) \/ 2\n+}\n"}
{"commit":"72eaca1d94eba5045614580f2b12b2d2ec147f60","subject":"Added Tower of Hanoi in AWK","message":"Added Tower of Hanoi in AWK\n","repos":"varunparkhe\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,warreee\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,warreee\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,movb\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,movb\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,movb\/Algorithm-Implementations,movb\/Algorithm-Implementations,warreee\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Endika\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,mishin\/Algorithm-Implementations,mishin\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,warreee\/Algorithm-Implementations,mishin\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Endika\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Endika\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,movb\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,movb\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,warreee\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Endika\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,warreee\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,mishin\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,mishin\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,mishin\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,mishin\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Endika\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,mishin\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,warreee\/Algorithm-Implementations,movb\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,mishin\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Endika\/Algorithm-Implementations,movb\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,warreee\/Algorithm-Implementations,movb\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Endika\/Algorithm-Implementations,movb\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Endika\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,movb\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Endika\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,movb\/Algorithm-Implementations,warreee\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,mishin\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,movb\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Endika\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,warreee\/Algorithm-Implementations,warreee\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,mishin\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,warreee\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,movb\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,warreee\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,movb\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,mishin\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Endika\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations","returncode":1,"stderr":"error: pathspec 'Towers_Of_Hanoi\/AWK\/wasi0013\/Hanoi.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- Towers_Of_Hanoi\/AWK\/wasi0013\/Hanoi.awk\n+++ Towers_Of_Hanoi\/AWK\/wasi0013\/Hanoi.awk\n@@ -0,0 +1,18 @@\n+\/\/Towers of Hanoi problem algorithm implementation\n+\/\/See: http:\/\/en.wikipedia.org\/wiki\/Tower_of_Hanoi\n+\n+func move(n,src,dest,temp){\n+ \tif(n>=1){\n+    move(n-1,src,temp,dest);\n+    printf(\"Move %d -> %d\\n\",src,dest);\n+    move(n-1,temp,dest,src);\n+\t}\n+}\n+\n+BEGIN {\n+\tprint\"Test run with values: 3,1,3,2\";\n+\tmove(3,1,3,2);\n+}\n+END {\n+\tprint\"The test was successful\";\n+}"}
{"commit":"e565046fd77912907160a3b158db0b137e57dbe3","subject":"Added json.awk","message":"Added json.awk","repos":"iqzq123\/jsonv.sh,archan937\/jsonv.sh","returncode":1,"stderr":"error: pathspec 'utils\/json.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- utils\/json.awk\n+++ utils\/json.awk\n@@ -0,0 +1,246 @@\n+#!\/bin\/awk -f\n+#\n+# Software: JSON.awk - a practical JSON parser written in awk\n+# Version: 1.10\n+# Author: step- on github.com\n+# License: This software is licensed under the MIT or the Apache 2 license.\n+# Project home: https:\/\/github.com\/step-\/JSON.awk.git\n+# Credits: This software includes major portions of JSON.sh, a pipeable JSON\n+#   parser written in Bash, retrieved on 20130313\n+#   https:\/\/github.com\/dominictarr\/JSON.sh\n+#\n+\n+BEGIN { #{{{\n+  # option_BRIEF(1) - parse() omits printing non-leaf nodes\n+  BRIEF=1;\n+  # option_STREAM(0) - parse() omits stdout and stores jpaths in JPATHS[]\n+  STREAM=1;\n+  # for each input file:\n+  #   TOKENS[], NTOKENS, ITOKENS - tokens after tokenize()\n+  #   JPATHS[], NJPATHS - parsed data (when STREAM=0)\n+  # at script exit:\n+  #   FAILS[] - maps names of invalid files to logged error lines\n+  delete FAILS\n+\n+  # filepathnames from stdin\n+  # usage: echo -e \"file1\\nfile2\\n\" | awk -f JSON.awk\n+  # usage: { echo -; echo; cat; } | awk -f JSON.awk\n+  while (getline ARGV[++ARGC] < \"\/dev\/stdin\") {\n+    if (ARGV[ARGC] == \"\")\n+      break\n+  }\n+  # set file slurping mode\n+  srand(); RS=\"n\/o\/m\/a\/t\/c\/h\" rand()\n+}\n+#}}}\n+\n+{ # main loop: process each file in turn {{{\n+  reset() # See important application note in reset()\n+\n+  tokenize($0) # while(get_token()) {print TOKEN}\n+  if (0 == parse()) {\n+    apply(JPATHS, NJPATHS)\n+  }\n+}\n+#}}}\n+\n+END { # process invalid files {{{\n+  for(name in FAILS) {\n+    print \"invalid: \" name\n+    print FAILS[name]\n+  }\n+}\n+#}}}\n+\n+function apply (ary, size,   i) { # stub {{{\n+  for (i=1; i<size; i++)\n+    print ary[i]\n+}\n+#}}}\n+\n+function get_token() { #{{{\n+# usage: {tokenize($0); while(get_token()) {print TOKEN}}\n+\n+  # return getline TOKEN # for external tokenizer\n+\n+  TOKEN = TOKENS[++ITOKENS] # for internal tokenize()\n+  return ITOKENS < NTOKENS\n+}\n+#}}}\n+\n+function parse_array(a1,   idx,ary,ret) { #{{{\n+  idx=0\n+  ary=\"\"\n+  get_token()\n+#scream(\"parse_array(\" a1 \") TOKEN=\" TOKEN)\n+  if (TOKEN != \"]\") {\n+    while (1) {\n+      if (ret = parse_value(a1, idx)) {\n+        return ret\n+      }\n+      idx=idx+1\n+      ary=ary VALUE\n+      get_token()\n+      if (TOKEN == \"]\") {\n+        break\n+      } else if (TOKEN == \",\") {\n+        ary = ary \",\"\n+      } else {\n+        report(\", or ]\", TOKEN ? TOKEN : \"EOF\")\n+        return 2\n+      }\n+      get_token()\n+    }\n+  }\n+  if (1 != BRIEF) {\n+    VALUE=sprintf(\"[%s]\", ary)\n+  } else {\n+    VALUE=\"\"\n+  }\n+  return 0\n+}\n+#}}}\n+\n+function parse_object(a1,   key,obj) { #{{{\n+  obj=\"\"\n+  get_token()\n+#scream(\"parse_object(\" a1 \") TOKEN=\" TOKEN)\n+  if (TOKEN != \"}\") {\n+    while (1) {\n+      if (TOKEN ~ \/^\".*\"$\/) {\n+        key=TOKEN\n+      } else {\n+        report(\"string\", TOKEN ? TOKEN : \"EOF\")\n+        return 3\n+      }\n+      get_token()\n+      if (TOKEN != \":\") {\n+        report(\":\", TOKEN ? TOKEN : \"EOF\")\n+        return 4\n+      }\n+      get_token()\n+      if (parse_value(a1, key)) {\n+        return 5\n+      }\n+      obj=obj key \":\" VALUE\n+      get_token()\n+      if (TOKEN == \"}\") {\n+        break\n+      } else if (TOKEN == \",\") {\n+        obj=obj \",\"\n+      } else {\n+        report(\", or }\", TOKEN ? TOKEN : \"EOF\")\n+        return 6\n+      }\n+      get_token()\n+    }\n+  }\n+  if (1 != BRIEF) {\n+    VALUE=sprintf(\"{%s}\", obj)\n+  } else {\n+    VALUE=\"\"\n+  }\n+  return 0\n+}\n+#}}}\n+\n+function parse_value(a1, a2,   jpath,ret,x) { #{{{\n+  jpath=(a1!=\"\" ? a1 \",\" : \"\") a2 # \"${1:+$1,}$2\"\n+#scream(\"parse_value(\" a1 \",\" a2 \") TOKEN=\" TOKEN \", jpath=\" jpath)\n+  if (TOKEN == \"{\") {\n+    if (parse_object(jpath)) {\n+      return 7\n+    }\n+  } else if (TOKEN == \"[\") {\n+    if (ret = parse_array(jpath)) {\n+      return ret\n+  }\n+  } else if (TOKEN ~ \/^(|[^0-9])$\/) {\n+    # At this point, the only valid single-character tokens are digits.\n+    report(\"value\", TOKEN!=\"\" ? TOKEN : \"EOF\")\n+    return 9\n+  } else {\n+    VALUE=TOKEN\n+  }\n+  if (! (1 == BRIEF && (\"\" == jpath || \"\" == VALUE))) {\n+    x=sprintf(\"[%s]\\t%s\", jpath, VALUE)\n+    if(0 == STREAM) {\n+      JPATHS[++NJPATHS] = x\n+    } else {\n+      print x\n+    }\n+  }\n+  return 0\n+}\n+#}}}\n+\n+function parse(   ret) { #{{{\n+  get_token()\n+  if (ret = parse_value()) {\n+    return ret\n+  }\n+  if (get_token()) {\n+    report(\"EOF\", TOKEN)\n+    return 11\n+  }\n+  return 0\n+}\n+#}}}\n+\n+function report(expected, got,   i,from,to,context) { #{{{\n+  from = ITOKENS - 10; if (from < 1) from = 1\n+  to = ITOKENS + 10; if (to > NTOKENS) to = NTOKENS\n+  for (i = from; i < ITOKENS; i++)\n+    context = context sprintf(\"%s \", TOKENS[i])\n+  context = context \"<<\" got \">> \"\n+  for (i = ITOKENS + 1; i <= to; i++)\n+    context = context sprintf(\"%s \", TOKENS[i])\n+  scream(\"expected <\" expected \"> but got <\" got \"> at input token \" ITOKENS \"\\n\" context)\n+}\n+#}}}\n+\n+function reset() { #{{{\n+# Application Note:\n+# If you need to build JPATHS[] incrementally from multiple input files:\n+# 1) Comment out below:        delete JPATHS; NJPATHS=0\n+#    otherwise each new input file would reset JPATHS[].\n+# 2) Move the call to apply() from the main loop to the END statement.\n+# 3) In the main loop consider adding code that deletes partial JPATHS[]\n+#    elements that would result from parsing invalid JSON files.\n+\n+  TOKEN=\"\"; delete TOKENS; NTOKENS=ITOKENS=0\n+  delete JPATHS; NJPATHS=0\n+  VALUE=\"\"\n+}\n+#}}}\n+\n+function scream(msg) { #{{{\n+  FAILS[FILENAME] = FAILS[FILENAME] (FAILS[FILENAME]!=\"\" ? \"\\n\" : \"\") msg\n+  msg = FILENAME \": \" msg\n+  print msg >\"\/dev\/stderr\"\n+}\n+#}}}\n+\n+function tokenize(a1,   pq,pb,ESCAPE,CHAR,STRING,NUMBER,KEYWORD,SPACE) { #{{{\n+# usage A: {for(i=1; i<=tokenize($0); i++) print TOKENS[i]}\n+# see also get_token()\n+\n+  # POSIX character classes (gawk) - contact me for non-[:class:] notation\n+  # Replaced regex constant for string constant, see https:\/\/github.com\/step-\/JSON.awk\/issues\/1\n+#  ESCAPE=\"(\\\\[^u[:cntrl:]]|\\\\u[0-9a-fA-F]{4})\"\n+#  CHAR=\"[^[:cntrl:]\\\\\\\"]\"\n+#  STRING=\"\\\"\" CHAR \"*(\" ESCAPE CHAR \"*)*\\\"\"\n+#  NUMBER=\"-?(0|[1-9][0-9]*)([.][0-9]*)?([eE][+-]?[0-9]*)?\"\n+#  KEYWORD=\"null|false|true\"\n+  SPACE=\"[[:space:]]+\"\n+\n+#        gsub(STRING \"|\" NUMBER \"|\" KEYWORD \"|\" SPACE \"|.\", \"\\n&\", a1)\n+  gsub(\/\\\"[^[:cntrl:]\\\"\\\\]*((\\\\[^u[:cntrl:]]|\\\\u[0-9a-fA-F]{4})[^[:cntrl:]\\\"\\\\]*)*\\\"|-?(0|[1-9][0-9]*)([.][0-9]*)?([eE][+-]?[0-9]*)?|null|false|true|[[:space:]]+|.\/, \"\\n&\", a1)\n+        gsub(\"\\n\" SPACE, \"\\n\", a1)\n+  sub(\/^\\n\/, \"\", a1)\n+  ITOKENS=0 # get_token() helper\n+  return NTOKENS = split(a1, TOKENS, \/\\n\/)\n+}\n+#}}}\n+\n+# vim:fdm=marker:"}
{"commit":"f15d78e75c2458d10edbca8947620c51a7e3c786","subject":"Add AWK script to sample a column of values","message":"Add AWK script to sample a column of values\n","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib","returncode":1,"stderr":"error: pathspec 'tools\/awk\/sample.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- tools\/awk\/sample.awk\n+++ tools\/awk\/sample.awk\n@@ -0,0 +1,37 @@\n+#!\/usr\/bin\/env awk -f\n+#\n+# Samples a column of values.\n+#\n+# Usage: sample prob seed\n+#\n+# Input:\n+#   - a column of values\n+#\n+# Arguments:\n+#   - prob: success probability\n+#   - seed: pseudorandom number generator seed\n+#\n+# Output:\n+#   - sample values\n+#\n+# Example:\n+#   $ sample 0.1 $RANDOM\n+\n+BEGIN {\n+\tif (ARGC == 1) {\n+\t\tprob = 0.5\n+\t} else if (ARGC == 2) {\n+\t\tprob = ARGV[1]\n+\t\tARGV[1] = \"\"\n+\t} else {\n+\t\tprob = ARGV[1]\n+\t\tsrand(ARGV[2])\n+\t\tARGV[1] = \"\"\n+\t\tARGV[2] = \"\"\n+\t}\n+\t# No filenames so force stdin:\n+\tARGV[ARGC++] = \"-\"\n+}\n+rand() <= prob {\n+\tprint $0\n+}\n"}
{"commit":"af827eca9e05bfd6431ace989d95b22efca42bc2","subject":"    k_puts(dc)","message":"    k_puts(dc)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"75df442ea5fa0503bc1ea617b3a12a27a3987fb4","subject":"add script for reporting clockss progress","message":"add script for reporting clockss progress\n\n\ngit-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@15673 4f837ed2-42f5-46e7-a7a5-fa17313484d4\n","repos":"lockss\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,lockss\/lockss-daemon,lockss\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon,edina\/lockss-daemon","returncode":1,"stderr":"error: pathspec 'scripts\/tdb\/statuses_clockss.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- scripts\/tdb\/statuses_clockss.awk\n+++ scripts\/tdb\/statuses_clockss.awk\n@@ -0,0 +1,46 @@\n+#!\/usr\/bin\/awk -f\n+# input: publisher\\tcontract_year\\tyear\\tstatus\n+\n+BEGIN {\n+  FS=\"\\t\"\n+  pn = 0\n+}\n+\n+{\n+  if (!(($1,$2,$3) in b)) {\n+    p[pn] = $1\n+    t[pn] = $2\n+    d[pn] = $3\n+    pn++\n+  }\n+  b[$1,$2,$3]++\n+  c[$1,$2,$3,$4]++\n+}\n+\n+END {\n+  s[0] = \"expected\"\n+  s[1] = \"exists\"\n+  s[2] = \"manifest\"\n+  s[3] = \"wanted\"\n+  s[4] = \"crawling\"\n+  s[5] = \"testing\"\n+  s[6] = \"notReady\"\n+  s[7] = \"released\"\n+  s[8] = \"down\"\n+  s[9] = \"superseded\"\n+  sn = 10\n+\n+  printf \"Publisher\\tContract\\tYear\\tTotal\"\n+  for (j = 0 ; j < sn ; j++) {\n+    printf \"\\t%s\", s[j]\n+  }\n+  printf \"\\n\"\n+\n+  for (i = 0 ; i < pn ; i++) {\n+    printf \"%s\\t%s\\t%s\\t%d\", p[i], t[i], d[i], b[p[i],t[i],d[i]]\n+    for (j = 0 ; j < sn ; j++) {\n+      printf \"\\t%d\", c[p[i],t[i],d[i],s[j]]\n+    }\n+    printf \"\\n\"\n+  }\n+}\n"}
{"commit":"aea5a129eb1c1b37c7804fce5db0a61cd3372bc6","subject":"shortened 03\/awk\/main2.awk","message":"shortened 03\/awk\/main2.awk\n","repos":"flopp\/aoc2016","returncode":0,"stderr":"","license":"mit","lang":"Awk","diff":"--- 03\/awk\/main2.awk\n+++ 03\/awk\/main2.awk\n@@ -1,6 +1,5 @@\n-{A[S]=$1; B[S]=$1; C[S]=$1; S++;\n- if (S==3 && A[0]<A[1]+A[2] && A[1]<A[0]+A[2] && A[2]<A[0]+A[1]) T++;\n- if (S==3 && B[0]<B[1]+B[2] && B[1]<B[0]+B[2] && B[2]<B[0]+B[1]) T++;\n- if (S==3 && C[0]<C[1]+C[2] && C[1]<C[0]+C[2] && C[2]<C[0]+C[1]) T++;\n- S=S % 3;}\n+{A[S]=$1; B[S]=$1; C[S]=$1; S=(S+1) % 3;\n+ if (!S && A[0]<A[1]+A[2] && A[1]<A[0]+A[2] && A[2]<A[0]+A[1]) T++;\n+ if (!S && B[0]<B[1]+B[2] && B[1]<B[0]+B[2] && B[2]<B[0]+B[1]) T++;\n+ if (!S && C[0]<C[1]+C[2] && C[1]<C[0]+C[2] && C[2]<C[0]+C[1]) T++;}\n END {print T}\n"}
{"commit":"39d7b8e69db9e7d2fbceff613605bb8cce9b3d16","subject":"created","message":"created\n","repos":"raim\/SBML_odeSolver,raim\/SBML_odeSolver,raim\/SBML_odeSolver,raim\/SBML_odeSolver","returncode":1,"stderr":"error: pathspec 'Win32\/binary\/genplotscript.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- Win32\/binary\/genplotscript.awk\n+++ Win32\/binary\/genplotscript.awk\n@@ -0,0 +1,29 @@\n+#!\/usr\/bin\/awk -f\r\n+\/\\#t\/\r\n+{\r\n+  printf(\"set data style linespoints\\n\");\r\n+  printf(\"plot\");\r\n+  n = 0;\r\n+  for (i = 2; i != ARGC; i++)\r\n+  {\r\n+    for (j = 2; j != NF+1; j++)\r\n+    {\r\n+      if (ARGV[i] == $(j))\r\n+      {\r\n+        printf(\" '\");\r\n+\tprintf(ARGV[1]);\r\n+\tprintf(\"'\");\r\n+\tprintf(\" using 1:\");\r\n+\tprintf(j);\r\n+\tprintf(\" title '\");\r\n+\tprintf($(j));\r\n+\tprintf(\"'\");\r\n+\t\r\n+\tif (i != ARGC - 1)\r\n+\t   printf(\",\");\r\n+\tn++;\r\n+      }\t      \r\n+    }      \r\n+  }\r\n+  exit 0;\r\n+}"}
{"commit":"048add9649005670f58c39250742572b55ee575c","subject":"Add a short program that rewrites the testdata\/rsyncd.log timestamps to nowish.","message":"Add a short program that rewrites the testdata\/rsyncd.log timestamps to nowish.\n","repos":"SuperQ\/mtail,4honor\/mtail,google\/mtail,SuperQ\/mtail,google\/mtail,4honor\/mtail","returncode":1,"stderr":"error: pathspec 'log_rewriter.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- log_rewriter.awk\n+++ log_rewriter.awk\n@@ -0,0 +1,16 @@\n+BEGIN{\n+        now = systime()\n+        format = \"%Y\/%m\/%d %H:%M:%S\"\n+                \n+}\n+{\n+        split($1, DATE, \"\/\")\n+        split($2, TIME, \":\")\n+        $1 = \"\"\n+        $2 = \"\"\n+        t = mktime(DATE[1] \" \" DATE[2] \" \" DATE[3] \" \" TIME[1] \" \" TIME[2] \" \" TIME[3])\n+        if (delta == \"\") {\n+                delta = now - t\n+        }\n+        print strftime(format, t + delta) $0\n+}\n"}
{"commit":"e04a816ca6a06b52081cde044dff8294ed145db8","subject":"tiered build: ensure unused modules are removed from custom config as well as default","message":"tiered build: ensure unused modules are removed from custom config as well as default\n","repos":"ozone-development\/depricated-ozp-center,ozone-development\/depricated-ozp-center,ozone-development\/depricated-ozp-center,ozone-development\/depricated-ozp-center","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/ozone-development\/depricated-ozp-center.git\/'\n","license":"apache-2.0","lang":"Awk","diff":""}
{"commit":"7956724dc6e3c5371bb44abb21b557333e269fe5","subject":"Add an awk script for reading CVC's output.","message":"Add an awk script for reading CVC's output.\n\nFragile. But never mind.\n","repos":"jmorse\/numbness","returncode":1,"stderr":"error: pathspec 'cvc_parse.awk' did not match any file(s) known to git\n","license":"bsd-2-clause","lang":"Awk","diff":"--- cvc_parse.awk\n+++ cvc_parse.awk\n@@ -0,0 +1,19 @@\n+#!\/usr\/bin\/awk -f\n+\n+BEGIN{\n+\toutarr[0] = \"\";\n+\toutarr[1] = \"\";\n+\toutarr[2] = \"\";\n+\toutarr[3] = \"\";\n+\tidx = 0;\n+}\n+\n+\/.*sparticus.*\/{\n+\tsub(\/bv\/, \"\", $12);\n+\toutarr[idx] = $12;\n+\tidx++;\n+\tif (idx == 4) {\n+\t\tprint outarr[0] \"|\" outarr[1] \"|\" outarr[2] \"|\" outarr[3]\n+\t\tidx = 0;\n+\t}\n+}\n"}
{"commit":"b94ef3b1a30dadbde82f695fba048fc1a336eec9","subject":"adding awk, really","message":"adding awk, really\n","repos":"linuxcaffe\/taskwiki-utils,harleypig\/taskwiki-utils,linuxcaffe\/taskwiki-utils,harleypig\/taskwiki-utils","returncode":1,"stderr":"error: pathspec 'def-desc.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- def-desc.awk\n+++ def-desc.awk\n@@ -0,0 +1,35 @@\n+\n+BEGIN {\n+    FS = \"::\";\n+    VALUE = 0;\n+    WORD = \"\"\n+    DEF = \"\";\n+}\n+{\n+    if (NF <=1 && VALUE == 1) {\n+        if(WORD == \"Description\") {\n+            printf(\"%s\",DEF);\n+            exit 0;\n+        }\n+        VALUE = 0;\n+    } else if (NF == 2) {\n+        # If new definition\n+        if ($1 != \"\") {\n+            # Clean up old definition\n+            if (VALUE == 1) {\n+                if (WORD == \"Description\") {\n+                    printf(\"%s\",DEF);\n+                    exit 0;\n+                }\n+                VALUE = 0;\n+            }\n+            # New Definition\n+            WORD = $1;\n+            DEF = $2;\n+        } else if(VALUE == 1) {\n+            DEF=DEF $2;\n+        }\n+        VALUE = 1;\n+    }\n+}\n+END{}\n"}
{"commit":"7db45ce1a78ebe3ef40cc8fceea4e1b0b3f53689","subject":"checkpoint","message":"checkpoint\n","repos":"stuartyeates\/rsnz-fellows","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/stuartyeates\/rsnz-fellows.git\/'\n","license":"unlicense","lang":"Awk","diff":""}
{"commit":"8cdec11394829f07ce86cc324b4032cf9b6d46ce","subject":"New file.","message":"New file.\n","repos":"xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db,sanskrit-coders\/m17n-db,xmirror\/m17n-db,xmirror\/m17n-db,sanskrit-coders\/m17n-db","returncode":1,"stderr":"error: pathspec 'tbl2mim.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- tbl2mim.awk\n+++ tbl2mim.awk\n@@ -0,0 +1,50 @@\n+#!\/usr\/bin\/gawk\n+# Copyright (C) 2006\n+#   National Institute of Advanced Industrial Science and Technology (AIST)\n+#   Registration Number H15PRO112\n+\n+# This file is part of the m17n contrib; a sub-part of the m17n\n+# library.\n+\n+# The m17n library is free software; you can redistribute it and\/or\n+# modify it under the terms of the GNU Lesser General Public License\n+# as published by the Free Software Foundation; either version 2.1 of\n+# the License, or (at your option) any later version.\n+\n+# The m17n library is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+# Lesser General Public License for more details.\n+\n+# You should have received a copy of the GNU Lesser General Public\n+# License along with the m17n library; if not, write to the Free\n+# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n+# 02111-1307, USA.\n+\n+BEGIN {\n+    begin_table = 0;\n+}\n+\n+\/^ICON *=\/ { ICON = \" \\\"\"$3\"\\\"\"; next; }\n+\/^NAME *=\/ { NAME = tolower($3); next; }\n+\/^LANGUAGES *=\/ { LANG = $3; next; }\n+\/^STATUS_PROMPT *=\/ { TITLE = $3; next; }\n+\/^BEGIN_TABLE\/ {\n+    printf \"(input-method %s %s)\\n\", LANG, NAME;\n+    printf \"(title \\\"%s\\\"%s)\\n\", TITLE, ICON;\n+    printf \"(map\\n (trans\";\n+    begin_table = 1;\n+    next;\n+}\n+\/^END_TABLE\/ {\n+    begin_table = 0;\n+    printf \"))\\n(state (init (trans)))\\n\";\n+    next;\n+}\n+\n+{\n+    if (begin_table) {\n+\tgsub(\"[\\\\\\\\\\\"]\", \"\\\\\\\\&\");\n+\tprintf \"\\n  (\\\"%s\\\" \\\"%s\\\")\", $1, $2;\n+    }\n+}\n"}
{"commit":"2a9221cf0de5a9296225e633a624606f45b672bf","subject":"CVS_SILENT: updated awk syntax test","message":"CVS_SILENT: updated awk syntax test\n\nsvn path=\/trunk\/kdelibs\/kate\/; revision=349251\n","repos":"jfmcarreira\/kate,DickJ\/kate,hlamer\/kate,hlamer\/kate,sandsmark\/kate,hlamer\/kate,hlamer\/kate,hlamer\/kate,jfmcarreira\/kate,cmacq2\/kate,jfmcarreira\/kate,DickJ\/kate,hlamer\/kate,hlamer\/kate,hlamer\/kate,sandsmark\/kate,sandsmark\/kate,DickJ\/kate,DickJ\/kate,hlamer\/kate,sandsmark\/kate,hlamer\/kate,cmacq2\/kate,cmacq2\/kate","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"Awk","diff":"--- part\/tests\/highlight.awk\n+++ part\/tests\/highlight.awk\n@@ -1,3 +1,4 @@\n+#!\/usr\n # AWK hl test\n \n # BEGIN and END are also matched as patterns\n@@ -17,7 +18,10 @@\n \n }\n \n+# TODO and FIXME also work in comments in Awk.\n \n+# Also backslash in patterns works.\n+\/\\\/usr\\\/bin\\\/awk\/ { print \"This is me\"; }\n \n END {\n \tprint p;\n"}
{"commit":"c26366cc797a99a737374d8c22f3add5f640b16e","subject":"Mega map stats script","message":"Mega map stats script\n","repos":"theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer,theaidenlab\/juicer","returncode":1,"stderr":"error: pathspec 'UGER\/scripts\/makemega_addstats.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- UGER\/scripts\/makemega_addstats.awk\n+++ UGER\/scripts\/makemega_addstats.awk\n@@ -0,0 +1,40 @@\n+$1==\"Sequenced\"{\n+gsub(\/,\/,\"\",$4);\n+ total=total+$4;\n+}\n+$1==\"Unmapped:\"{\n+gsub(\/,\/,\"\",$2);\n+ unmapped=unmapped+$2\n+}\n+$1==\"Normal\"{\n+gsub(\/,\/,\"\",$3);\n+ regular=regular+$3}\n+$1==\"Chimeric\" && $2==\"Paired:\"{\n+gsub(\/,\/,\"\",$3);\n+ normal=normal+$3}\n+$2==\"Ambiguous:\"{\n+gsub(\/,\/,\"\",$3);\n+ abnorm=abnorm+$3}\n+$1==\"Alignable\"{\n+gsub(\/,\/,\"\",$4);\n+ alignable=alignable+$4}\n+$1==\"Unique\" {\n+gsub(\/,\/,\"\",$3);\n+ dedup=dedup+$3}\n+$1==\"PCR\"{\n+gsub(\/,\/,\"\",$3);\n+ dups=dups+$3}\n+$1==\"Optical\"{\n+gsub(\/,\/,\"\",$3);\n+ optdups=optdups+$3}\n+END{\n+ printf(\"%s %'d\\n\", \"Sequenced Read Pairs:\", total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Normal Paired:\", regular, regular*100\/total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Chimeric Paired:\", normal, normal*100\/total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Chimeric Ambiguous:\", abnorm, abnorm*100\/total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Unmapped:\", unmapped, unmapped*100\/total);\n+ printf(\" %s %'d (%0.2f%)\\n\", \"Alignable (Normal+Chimeric Paired):\", alignable, alignable*100\/total);\n+ printf(\"%s %'d\\n\", \"Unique Reads:\", dedup);\n+ printf(\"%s %'d\\n\", \"PCR Duplicates:\", dups);\n+  printf(\"%s %'d\\n\", \"Optical Duplicates:\", optdups);\n+}\n"}
{"commit":"e4df4dc9f17bef0f336a04f98c2c1278a27ea2ac","subject":"\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f","message":"\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f","repos":"sergey-raevskiy\/ai","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/sergey-raevskiy\/ai.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"914ef6be54f4efe449e8b9d78e28f0e4b0be45e0","subject":"    print ah_join(dc, RS)","message":"    print ah_join(dc, RS)\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"aa3010258f157391f07fb2ba6dc5cb5cf1c6eae2","subject":"old com_err compat","message":"old com_err compat\n\n\ngit-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@4137 ec53bebd-3082-4978-b11e-865c3cabbd6b\n","repos":"madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal,madscientist159\/heimdal","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/madscientist159\/heimdal.git\/'\n","license":"bsd-3-clause","lang":"Awk","diff":""}
{"commit":"6be4591a788c5270be6674446eb38612f418e315","subject":"Init: scripts directory (e.g. rename files for easier sortability)","message":"Init: scripts directory (e.g. rename files for easier sortability)\n","repos":"DeadDork\/learning_c,DeadDork\/learning_c","returncode":1,"stderr":"error: pathspec 'KnR\/scripts\/rename.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- KnR\/scripts\/rename.awk\n+++ KnR\/scripts\/rename.awk\n@@ -0,0 +1,4 @@\n+\/^1\\.[0-9]$\/ {\n+\ttrgt = gensub (\/^1\\.([0-9])$\/, \"1.0\\\\1\", 1);\n+\tsystem (\"git mv \" $0 \" \" trgt);\n+}\n"}
{"commit":"c1077de8f96316b87ed1c891ce051e2b15925ae9","subject":"add PLTokenizer (initial)","message":"add PLTokenizer (initial)\n","repos":"skynet\/translate-shell,soimort\/translate-shell","returncode":128,"stderr":"fatal: invalid reference: FETCH_HEAD^\n","license":"unlicense","lang":"Awk","diff":"--- lib\/PLTokenizer.awk\n+++ lib\/PLTokenizer.awk\n@@ -0,0 +1,233 @@\n+#!\/usr\/bin\/gawk -f\n+\n+# Return an element if it belongs to the array;\n+# Otherwise, return a null string.\n+function belongsTo(element, array,\n+                   ####\n+                   i) {\n+    for (i in array)\n+        if (element == array[i]) return element\n+    return \"\"\n+}\n+\n+# Return one of the substrings if the string starts with it;\n+# Otherwise, return a null string.\n+function startsWithAny(string, substrings,\n+                       ####\n+                       i) {\n+    for (i in substrings)\n+        if (index(string, substrings[i]) == 1) return substrings[i]\n+    return \"\"\n+}\n+\n+# Return one of the patterns if the string matches this pattern at the beginning;\n+# Otherwise, return a null string.\n+function matchesAny(string, patterns,\n+                    ####\n+                    i) {\n+    for (i in patterns)\n+        if (string ~ \"^\" patterns[i]) return patterns[i]\n+    return \"\"\n+}\n+\n+# Tokenize a string.\n+function plTokenize(returnTokens, string,\n+                    delimiters,\n+                    newlines,\n+                    quotes,\n+                    escapeChars,\n+                    leftBlockComments,\n+                    rightBlockComments,\n+                    lineComments,\n+                    reservedOperators,\n+                    reservedPatterns,\n+                    ####\n+                    blockCommenting,\n+                    c,\n+                    currentToken,\n+                    escaping,\n+                    i,\n+                    lineCommenting,\n+                    p,\n+                    quoting,\n+                    r,\n+                    s,\n+                    tempGroup,\n+                    tempPattern,\n+                    tempString) {\n+    # Default parameters\n+    if (!delimiters[0]) {\n+        delimiters[0] = \" \"  # whitespace\n+        delimiters[1] = \"\\t\" # horizontal tab\n+        delimiters[2] = \"\\v\" # vertical tab\n+    }\n+    if (!newlines[0]) {\n+        newlines[0] = \"\\n\" # line feed\n+        newlines[1] = \"\\r\" # carriage return\n+    }\n+    if (!quotes[0]) {\n+        quotes[0] = \"\\\"\" # double quote\n+    }\n+    if (!escapeChars[0]) {\n+        escapeChars[0] = \"\\\\\" # backslash\n+    }\n+    if (!leftBlockComments[0]) {\n+        leftBlockComments[0] = \"#|\" # Lisp-style extended comment (open)\n+        leftBlockComments[1] = \"\/*\" # C-style comment (open)\n+        leftBlockComments[2] = \"(*\" # ML-style comment (open)\n+    }\n+    if (!rightBlockComments[0]) {\n+        rightBlockComments[0] = \"|#\" # Lisp-style extended comment (close)\n+        rightBlockComments[1] = \"*\/\" # C-style comment (close)\n+        rightBlockComments[2] = \"*)\" # ML-style comment (close)\n+    }\n+    if (!lineComments[0]) {\n+        lineComments[0] = \";\"  # Lisp-style line comment\n+        lineComments[1] = \"\/\/\" # C++-style line comment\n+        lineComments[2] = \"#\"  # hash comment\n+    }\n+    if (!reservedOperators[0]) {\n+        reservedOperators[0] = \"(\" #  left parenthesis\n+        reservedOperators[1] = \")\" # right parenthesis\n+        reservedOperators[2] = \"[\" #  left bracket\n+        reservedOperators[3] = \"]\" # right bracket\n+        reservedOperators[4] = \"{\" #  left brace\n+        reservedOperators[5] = \"}\" # right brace\n+        reservedOperators[6] = \",\" # comma\n+    }\n+    if (!reservedPatterns[0]) {\n+        reservedPatterns[0] = \"[+-]?((0|[1-9][0-9]*)|[.][0-9]*|(0|[1-9][0-9]*)[.][0-9]*)([Ee][+-]?[0-9]+)?\" # numeric literal (scientific notation possible)\n+        reservedPatterns[1] = \"[+-]?0[0-7]+([.][0-7]*)?\" # numeric literal (octal)\n+        reservedPatterns[2] = \"[+-]?0[Xx][0-9A-Fa-f]+([.][0-9A-Fa-f]*)?\" # numeric literal (hexadecimal)\n+    }\n+\n+    split(string, s, \"\")\n+    currentToken = \"\"\n+    quoting = escaping = blockCommenting = lineCommenting = 0\n+    p = 0\n+    i = 1\n+    while (i <= length(s)) {\n+        c = s[i]\n+        r = substr(string, i)\n+\n+        if (blockCommenting) {\n+            if (tempString = startsWithAny(r, rightBlockComments))\n+                blockCommenting = 0 # block comment ends\n+\n+            i++\n+\n+        } else if (lineCommenting) {\n+            if (belongsTo(c, newlines))\n+                lineCommenting = 0 # line comment ends\n+\n+            i++\n+\n+        } else if (quoting) {\n+            currentToken = currentToken c\n+\n+            if (escaping) {\n+                escaping = 0 # escape ends\n+\n+            } else {\n+                if (belongsTo(c, quotes)) {\n+                    # Finish the current token\n+                    if (currentToken) {\n+                        returnTokens[p++] = currentToken\n+                        currentToken = \"\"\n+                    }\n+\n+                    quoting = 0 # quotation ends\n+\n+                } else if (belongsTo(c, escapeChars)) {\n+                    escaping = 1 # escape begins\n+\n+                } else {\n+                    # Continue\n+                }\n+            }\n+\n+            i++\n+\n+        } else {\n+            if (belongsTo(c, delimiters) || belongsTo(c, newlines)) {\n+                # Finish the current token\n+                if (currentToken) {\n+                    returnTokens[p++] = currentToken\n+                    currentToken = \"\"\n+                }\n+\n+                i++\n+\n+            } else if (belongsTo(c, quotes)) {\n+                # Finish the current token\n+                if (currentToken) {\n+                    returnTokens[p++] = currentToken\n+                }\n+\n+                currentToken = c\n+\n+                quoting = 1 # quotation begins\n+\n+                i++\n+\n+            } else if (tempString = startsWithAny(r, leftBlockComments)) {\n+                # Finish the current token\n+                if (currentToken) {\n+                    returnTokens[p++] = currentToken\n+                    currentToken = \"\"\n+                }\n+\n+                blockCommenting = 1 # block comment begins\n+\n+                i += length(tempString)\n+\n+            } else if (tempString = startsWithAny(r, lineComments)) {\n+                # Finish the current token\n+                if (currentToken) {\n+                    returnTokens[p++] = currentToken\n+                    currentToken = \"\"\n+                }\n+\n+                lineCommenting = 1 # line comment begins\n+\n+                i += length(tempString)\n+\n+            } else if (tempString = startsWithAny(r, reservedOperators)) {\n+                # Finish the current token\n+                if (currentToken) {\n+                    returnTokens[p++] = currentToken\n+                    currentToken = \"\"\n+                }\n+\n+                # Reserve token\n+                returnTokens[p++] = tempString\n+\n+                i += length(tempString)\n+\n+            } else if (tempPattern = matchesAny(r, reservedPatterns)) {\n+                # Finish the current token\n+                if (currentToken) {\n+                    returnTokens[p++] = currentToken\n+                    currentToken = \"\"\n+                }\n+\n+                # Reserve token\n+                match(r, \"^\" tempPattern, tempGroup)\n+                returnTokens[p++] = tempGroup[0]\n+\n+                i += length(tempGroup[0])\n+\n+            } else {\n+                # Continue with the current token\n+                currentToken = currentToken c\n+\n+                i++\n+            }\n+        }\n+    }\n+\n+    # Finish the last token\n+    if (currentToken)\n+        returnTokens[p++] = currentToken\n+\n+}\n"}
{"commit":"cff201b8aa5f2069ff36cd13fabfac3accec6873","subject":"  s_split(url, br, \"\/\")","message":"  s_split(url, br, \"\/\")\n","repos":"svnpenn\/sage","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/svnpenn\/sage.git\/'\n","license":"mpl-2.0","lang":"Awk","diff":""}
{"commit":"932144cdcff7d26dc3d84b4e4de20f843fd560fd","subject":"Add for updating the config file","message":"Add for updating the config file\n\ngit-svn-id: 244fd0a71b5b35931765a3ae1f99e3319f3fb8ab@822470 13f79535-47bb-0310-9956-ffa450edef68\n","repos":"kaigai\/mod_fcgid","returncode":1,"stderr":"error: pathspec 'build\/addloadexample.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- build\/addloadexample.awk\n+++ build\/addloadexample.awk\n@@ -0,0 +1,46 @@\n+# Invoke as awk addloadexample.awk\n+\n+BEGIN {\n+  lms = 0;\n+} \n+\n+tolower($0) ~ \/^[# \\t]*loadmodule[ \\t]\/ {\n+  if ( $2 == MODULE \"_module\" ) {\n+    print \"LoadModule \" MODULE \"_module \" LIBPATH \"\/mod_\" MODULE DSO;\n+    lms = 2;\n+    next;\n+  }\n+  # test $3 since # LoadModule is split into two tokens\n+  else if ( $3 == MODULE \"_module\" ) {\n+    print $1 \"LoadModule \" MODULE \"_module \" LIBPATH \"\/mod_\" MODULE DSO;\n+    lms = 2;\n+    next;\n+  }\n+  else if ( ! lms ) lms = 1;\n+}\n+\n+$0 ~ \/^[ \\t]*$\/ && lms == 1 {\n+  print \"LoadModule \" MODULE \"_module \" LIBPATH \"\/mod_\" MODULE DSO;\n+  lms = 2;\n+} \n+\n+tolower($0) ~ \/^[# \\t]*include[ \\t]\/ && $NF == EXAMPLECONF {\n+  lms = 3;\n+}\n+\n+{ print }\n+\n+END {\n+  if ( lms < 3 ) { \n+    if ( ! \/^[ \\t]*$\/ ) print \"\";\n+    if ( lms < 2 ) { \n+      print \"LoadModule \" MODULE \"_module \" LIBPATH \"\/mod_\" MODULE DSO;\n+      print \"\";\n+    }\n+    if ( length(EXAMPLECONF) ) {\n+      print \"# Example mod_\" MODULE \" configuration\";\n+      print \"#Include \" EXAMPLECONF \"\\n\";\n+    }\n+  }\n+}\n+\n"}
{"commit":"3b789f7ccb0d55657feac95901602ef291d771b9","subject":"Added more files for NDB Cluster","message":"Added more files for NDB Cluster\n\n\n\n","repos":"natsys\/mariadb_10.2,ollie314\/server,flynn1973\/mariadb-aix,ollie314\/server,ollie314\/server,slanterns\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,natsys\/mariadb_10.2,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,davidl-zend\/zenddbi,ollie314\/server,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,ollie314\/server,ollie314\/server,ollie314\/server,natsys\/mariadb_10.2,ollie314\/server,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,davidl-zend\/zenddbi,ollie314\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,natsys\/mariadb_10.2,ollie314\/server,ollie314\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix","returncode":1,"stderr":"error: pathspec 'ndb\/home\/bin\/parseConfigFile.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- ndb\/home\/bin\/parseConfigFile.awk\n+++ ndb\/home\/bin\/parseConfigFile.awk\n@@ -0,0 +1,98 @@\n+BEGIN{\n+    where=0;\n+    n_hosts=0;\n+    n_api=0;\n+    n_ndb=0;\n+    n_mgm=0;\n+    n_ports=0;\n+}\n+\/COMPUTERS\/ {\n+    where=1;\n+}\n+\/\\[[ \\t]*COMPUTER[ \\t]*\\]\/ {\n+    where=1;\n+}\n+\/PROCESSES\/ {\n+    where=2;\n+}\n+\/Type: MGMT\/ {\n+    if(where!=1){\n+\twhere=2;\n+\tn_mgm++;\n+    }\n+}\n+\/\\[[ \\t]*MGM[ \\t]*\\]\/ {\n+    where=2;\n+    n_mgm++;\n+}\n+\/Type: DB\/ {\n+    if(where!=1){\n+\twhere=3;\n+\tn_ndb++;\n+    }\n+}\n+\/\\[[ \\t]*DB[ \\t]*\\]\/ {\n+    where=3;\n+    n_ndb++;\n+}\n+\/Type: API\/ {\n+    if(where!=1){\n+\twhere=4;\n+\tn_api++;\n+    }\n+}\n+\/\\[[ \\t]*API[ \\t]*\\]\/ {\n+    where=4;\n+    n_api++;\n+}\n+\/HostName:\/ {\n+    host_names[host_ids[n_hosts]]=$2;\n+}\n+\n+\/FileSystemPath:\/ {\n+  if (where==3){\n+    ndb_fs[ndb_ids[n_ndb]]=$2;\n+  }\n+}\n+\n+\/Id:\/{\n+    if(where==1){\n+\tn_hosts++;\n+\thost_ids[n_hosts]=$2;\n+    }\n+    if(where==2){\n+\tmgm_ids[n_mgm]=$2;\n+    }\n+    if(where==3){\n+\tndb_ids[n_ndb]=$2;\n+    }\n+    if(where==4){\n+\tapi_ids[n_api]=$2;\n+    }\n+}\n+\/ExecuteOnComputer:\/{\n+    if(where==2){\n+\tmgm_hosts[mgm_ids[n_mgm]]=host_names[$2];\n+    }\n+    if(where==3){\n+\tndb_hosts[ndb_ids[n_ndb]]=host_names[$2];\n+    }\n+    if(where==4){\n+\tapi_hosts[api_ids[n_api]]=host_names[$2];\n+    }\n+}\n+END {\n+    for(i=1; i<=n_mgm; i++){\n+\tprintf(\"mgm_%d=%s\\n\", mgm_ids[i], mgm_hosts[mgm_ids[i]]);\n+    }\n+    for(i=1; i<=n_ndb; i++){\n+\tprintf(\"ndb_%d=%s\\n\", ndb_ids[i], ndb_hosts[ndb_ids[i]]);\n+\tprintf(\"ndbfs_%d=%s\\n\", ndb_ids[i], ndb_fs[ndb_ids[i]]);\n+    }\n+    for(i=1; i<=n_api; i++){\n+\tprintf(\"api_%d=%s\\n\", api_ids[i], api_hosts[api_ids[i]]);\n+    }\n+    printf(\"mgm_nodes=%d\\n\", n_mgm);\n+    printf(\"ndb_nodes=%d\\n\", n_ndb);\n+    printf(\"api_nodes=%d\\n\", n_api);\n+}\n"}
{"commit":"4470d64266830bd2fb516d819723415e17a8648c","subject":"tests: add example awk file  Changes to be committed: \tnew file:   tests\/syntax-highlighting\/file.awk","message":"tests: add example awk file\n Changes to be committed:\n\tnew file:   tests\/syntax-highlighting\/file.awk\n","repos":"GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview,GNOME\/gtksourceview","returncode":1,"stderr":"error: pathspec 'tests\/syntax-highlighting\/file.awk' did not match any file(s) known to git\n","license":"lgpl-2.1","lang":"Awk","diff":"--- tests\/syntax-highlighting\/file.awk\n+++ tests\/syntax-highlighting\/file.awk\n@@ -0,0 +1,21 @@\n+#!\/usr\/bin\/awk -f\n+# This is a comment line.\n+\n+# Special patterns:\n+BEGIN\n+END\n+\n+# Field variables:\n+xxx$0xxx\n+xx$NFxxx\n+\n+# String and numeric contansts:\n+string = \"Hello, World!\"\n+number = 42\n+\n+# Patterns:\n+\/\\.'regexpr#\"\/ { print $0 }\n+NR == 1, NR == 5 { printf(\"%s\\n\", $0) }\n+\n+# Statements:\n+print string, number\n"}
{"commit":"c33e59fc6d63da7cc9bcbbf0fc0c96e1ec3dbda1","subject":"cleaner comment","message":"cleaner comment\n","repos":"szilvajuhos\/CAW,szilvajuhos\/CAW,szilvajuhos\/CAW","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/szilvajuhos\/CAW.git\/'\n","license":"mit","lang":"Awk","diff":""}
{"commit":"982ff5048e0c1fa88761a8b8a0abcbf5f6836446","subject":"add Jon's atmosphere converter","message":"add Jon's atmosphere converter\n","repos":"jobovy\/apogee","returncode":1,"stderr":"error: pathspec 'apogee\/modelspec\/scripts\/makemoogmodel.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- apogee\/modelspec\/scripts\/makemoogmodel.awk\n+++ apogee\/modelspec\/scripts\/makemoogmodel.awk\n@@ -0,0 +1,61 @@\n+{\n+\n+count = count + 1\n+\n+if (count == 1) print \"KURUCZ\"\n+if (count == 1) printf(\"%s\", $0)\n+if (count == 2) printf(\"%s\\n\", $0)\n+\n+if ($3 == \"GRAVITY\") logg = $4\n+\n+if ($1 == \"ABUNDANCE\" && $2 == \"SCALE\") zero = log($3)\/log(10.0)\n+\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $9 == \"6\" ) c = 12.0 + $10 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $11 == \"7\" ) n = 12.0 + $12 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $13 == \"8\" ) o = 12.0 + $14 + zero + 0.04\n+\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $7 == \"11\" ) na = 12.0 + $8 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $9 == \"12\" ) mg = 12.0 + $10 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $11 == \"13\" ) al  = 12.0 + $12 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $13 == \"14\" ) si = 12.0 + $14 + zero + 0.04\n+\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $5 == \"16\" ) s  = 12.0 + $6 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $11 == \"19\" ) k  = 12.0 + $12 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $13 == \"20\" ) ca = 12.0 + $14 + zero + 0.04\n+\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $5 == \"22\" ) ti  = 12.0 + $6 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $7 == \"23\" ) v = 12.0 + $8 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $9 == \"24\" ) cr = 12.0 + $10 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $11 == \"25\" ) mn  = 12.0 + $12 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $13 == \"26\" ) fe = 12.0 + $14 + zero + 0.04\n+\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $3 == \"27\" ) co  = 12.0 + $4 + zero + 0.04\n+if ($1 == \"ABUNDANCE\" && $2 == \"CHANGE\" && $5 == \"28\" ) ni  = 12.0 + $6 + zero + 0.04\n+\n+if (start > 0 && start <= lines)  {\n+    print $0\n+    start = start +1\n+    micro = $7 * 1.0\n+    }\n+\n+if ($1 == \"READ\") lines = $3\n+if ($1 == \"READ\") start = 1\n+if ($1 == \"READ\") printf(\"             %s\\n\",$3)\n+\n+#micro = micro   # substitute your favorite formula here\n+micro = (2.24 - 0.3 * logg) * 1E5   # substitute your favorite formula here\n+if (length(vmicro)>0) micro=vmicro * 1E5\n+\n+}\n+END{printf(\"%10.3f\\n\",micro \/ 1E5)\n+printf(\"NATOMS     17 %6.3f\\n\",zero)\n+printf(\"%10.1f%10.3f%10.1f%10.3f%10.1f%10.3f\\n\",6.0,c,7.0,n,8.0,o)\n+printf(\"%10.1f%10.3f%10.1f%10.3f%10.1f%10.3f%10.1f%10.3f\\n\",11.0,na,12.0,mg,13.0,al,14.0,si)\n+printf(\"%10.1f%10.3f%10.1f%10.3f%10.1f%10.3f\\n\",16.0,s,19.0,k,20.0,ca)\n+printf(\"%10.1f%10.3f%10.1f%10.3f%10.1f%10.3f%10.1f%10.3f%10.1f%10.3f\\n\",22.0,ti,23.0,v,24.0,cr,25.0,mn,26.0,fe)\n+printf(\"%10.1f%10.3f%10.1f%10.3f\\n\",27.0,co,28.0,ni)\n+printf(\"NMOL          20\\n\")\n+printf(\"       1.1     107.0     108.0     607.0     608.0     708.0       6.1\\n\")\n+printf(\"       7.1       8.1      12.1     112.0     101.0     106.0     101.0\\n\")\n+printf(\"      22.1     822.0      14.1     114.0      26.1     126.0\\n\")\n+} \n"}
{"commit":"3076f247af8f0e27ea2172eac7ea7df9da6b76b2","subject":"contrib\/slurm: add awk script to extract crash reports","message":"contrib\/slurm: add awk script to extract crash reports\n\nAdd awk script to extract crash reports from Scalaris log files. Simple grep\ndoes not work because crash reports can expand over mutliple lines.\n","repos":"scalaris-team\/scalaris,scalaris-team\/scalaris,scalaris-team\/scalaris,jvf\/scalaris,scalaris-team\/scalaris,scalaris-team\/scalaris,jvf\/scalaris,scalaris-team\/scalaris,jvf\/scalaris,scalaris-team\/scalaris,scalaris-team\/scalaris,jvf\/scalaris,jvf\/scalaris,jvf\/scalaris,jvf\/scalaris","returncode":1,"stderr":"error: pathspec 'contrib\/slurm\/util\/crashreport.awk' did not match any file(s) known to git\n","license":"apache-2.0","lang":"Awk","diff":"--- contrib\/slurm\/util\/crashreport.awk\n+++ contrib\/slurm\/util\/crashreport.awk\n@@ -0,0 +1,13 @@\n+# Get all crashreports including reports spreading multiple lines\n+\n+BEGIN {\n+    crashreport=0\n+    timestamp_pattern=\"^20[[:digit:]]{2}-[[:digit:]]{2}-[[:digit:]]{2}\"\n+}\n+\n+# FILENAME == last_filename { last_filename=FILENAME}\n+# FILENAME != last_filename { last_filename=FILENAME; print FILENAME}\n+\n+crashreport == 1 && $0 ~ timestamp_pattern { crashreport = 0; print \"\"} # leave crash report\n+crashreport == 0 && \/FD\/ { crashreport = 1; print $0 } # enter crash report\n+crashreport == 1 && $0 !~ timestamp_pattern { print \"\\t\", $0 } # during crash report\n"}
{"commit":"ce3fda0257dc01f7821ecb88f8096bc44a017a84","subject":"Add linked-sensegram.awk","message":"Add linked-sensegram.awk\n","repos":"dustalov\/watlink,dustalov\/watlink","returncode":1,"stderr":"error: pathspec 'misc\/linked-sensegram.awk' did not match any file(s) known to git\n","license":"mit","lang":"Awk","diff":"--- misc\/linked-sensegram.awk\n+++ misc\/linked-sensegram.awk\n@@ -0,0 +1,15 @@\n+#!\/usr\/bin\/awk -f\n+BEGIN {\n+    FS = OFS = \"\\t\";\n+    print \"word\", \"cid\", \"cluster\", \"isas\";\n+}\n+$2 > 0 {\n+    gsub(\/ \/, \"\", $3);\n+    gsub(\/,\/, \":1.0,\", $3);\n+    sub(\/$\/, \":1.0\", $3);\n+    print \"s\" $1, 0, $3, \"\";\n+}\n+$4 > 0 {\n+    gsub(\/ \/, \"\", $5);\n+    print \"h\" $1, 0, $5, \"\";\n+}\n"}
{"commit":"11dd764616b6fd3ab23c29e919f2eb9fae5a6e52","subject":"LanguageHelper: scriptName(): add Mong","message":"LanguageHelper: scriptName(): add Mong\n","repos":"soimort\/translate-shell","returncode":0,"stderr":"","license":"unlicense","lang":"Awk","diff":"--- include\/LanguageHelper.awk\n+++ include\/LanguageHelper.awk\n@@ -147,8 +147,9 @@\n     case \"Kore\": return \"Korean (Hangul + Han)\"\n     case \"Laoo\": return \"Lao\"\n     case \"Latn\": return \"Latin\"\n+    case \"Mlym\": return \"Malayalam\"\n+    case \"Mong\": return \"Mongolian\"\n     case \"Mtei\": return \"Meitei Mayek\"\n-    case \"Mlym\": return \"Malayalam\"\n     case \"Mymr\": return \"Myanmar\"\n     case \"Orya\": return \"Oriya\"\n     case \"Sinh\": return \"Sinhala\"\n"}
{"commit":"805f96069866abf150bde2c3e56c586f8c20891b","subject":"Parse Condor StarterLog","message":"Parse Condor StarterLog\n","repos":"bbockelm\/glideinWMS,bbockelm\/glideinWMS,bbockelm\/glideinWMS,holzman\/glideinwms-old,holzman\/glideinwms-old,holzman\/glideinwms-old,bbockelm\/glideinWMS","returncode":1,"stderr":"error: pathspec 'creation\/web_base\/parse_starterlog.awk' did not match any file(s) known to git\n","license":"bsd-3-clause","lang":"Awk","diff":"--- creation\/web_base\/parse_starterlog.awk\n+++ creation\/web_base\/parse_starterlog.awk\n@@ -0,0 +1,130 @@\n+BEGIN {\n+  year=strftime(\"%Y\");\n+  ended_jobs=0;\n+  total_used=0;\n+  goodputZ=0;\n+  goodputNZ=0;\n+  badputSignal=0;\n+  badputOther=0;\n+  goodjobsZ=0;\n+  goodjobsNZ=0;\n+  badjobsSignal=0;\n+  badjobsOther=0;\n+}\n+\n+# year is a 4 digit string or number\n+# date is month\/day\n+# time is hour:minute:seconds\n+function convert_date(year,date,time) {\n+  split(date,datearr,\"\/\");\n+  split(time,timearr,\":\");\n+  timestr=sprintf(\"%04d %02d %02d %02d %02d %02d\",year,datearr[1],datearr[2],timearr[1],timearr[2],timearr[3]);\n+  return mktime(timestr)\n+}\n+\n+function percent(a,b) {\n+  if (b==0) {\n+    return 0;\n+  } else {\n+    return a*100\/b;\n+  }\n+}\n+\n+########################################################################  \n+\/ Communicating with shadow \/{\n+  # 7\/17 10:42:20 (pid:26855) Communicating with shadow <131.225.204.208:34839>\n+  # \n+  for (i=1; i<NF; i++) {\n+    if ($i==\"Communicating\") {\n+      changenr=i;\n+      break;\n+    }    \n+  }\n+  shadow=$(changenr+3);\n+  shadow=substr(shadow,3,length(shadow)-4)\n+  #print  $1,$2,\"Shadow:\",shadow\n+}\n+\/ Starting .* job with ID \/{\n+  # 7\/17 10:42:21 (pid:26855) Starting a VANILLA universe job with ID: 40.0\n+  # \n+  for (i=1; i<NF; i++) {\n+    if ($i==\"ID:\") {\n+      changenr=i;\n+      break;\n+    }    \n+  }\n+  jid=$(changenr+1);\n+  #print  $1,$2,\"Jid:\",jid\n+}\n+\/ Create_Process succeeded, \/{\n+  # 7\/17 10:42:21 (pid:26855) Create_Process succeeded, pid=26858\n+  # \n+  for (i=1; i<NF; i++) {\n+    if ($i==\"Create_Process\") {\n+      changenr=i;\n+      break;\n+    }    \n+  }\n+  pidstr=$(changenr+2);\n+  split(pidstr,pidarr,\"=\");\n+  pid=pidarr[2];\n+  #print  $1,$2,\"PID:\",pid\n+\n+  starttime=convert_date(year,$1,$2);\n+  print $1,$2,\"Starting job\",jid,\"from\",shadow\n+}\n+\/ Process exited, \/{\n+  # 7\/17 10:50:31 (pid:26855) Process exited, pid=26858, signal=9\n+  # 7\/17 11:23:04 (pid:23112) Process exited, pid=23114, status=0\n+  #\n+  for (i=1; i<NF; i++) {\n+    if ($i==\"Process\") {\n+      changenr=i;\n+      break;\n+    }    \n+  }\n+  pidstr=$(changenr+2);\n+  reasonstr=$(changenr+3);\n+\n+  split(reasonstr,reasonarr,\"=\");\n+\n+  ended=convert_date(year,$1,$2);\n+  if (ended<starttime) { # around new year\n+    ended=convert_date(year+1,$1,$2);\n+  }\n+  joblength=ended-starttime;\n+  \n+  ended_jobs++;\n+  total_used+=joblength;\n+\n+  print $1,$2,\"Terminated job\",jid,\"from\",shadow,reasonarr[1],reasonarr[2],\"duration\",joblength\n+  if (reasonarr[1]==\"status\") {\n+    if (reasonarr[2]==\"0\") {\n+      goodputZ+=joblength;\n+      goodjobsZ++;\n+    } else {\n+      goodputNZ+=joblength;\n+      goodjobsNZ++;\n+    }\n+  } else if (reasonarr[1]==\"signal\") {\n+    badputSignal+=joblength;\n+    badjobsSignal++\n+  } else {\n+    badputOther+=joblength;\n+    babjobsOther++;\n+  }\n+\n+  # cleanup, so it is not reused by accident\n+  jid=\"\";\n+  shadow=\"\";\n+}\n+\n+########################################################################  \n+END {\n+  print \"=================\";\n+  print \"Total jobs\",ended_jobs,\"utilization\",total_used;\n+  print \"Total goodZ jobs\",goodjobsZ \" (\" percent(goodjobsZ,ended_jobs) \"%)\",\"utilization\",goodputZ \" (\" percent(goodputZ,total_used) \"%)\";\n+  print \"Total goodNZ jobs\",goodjobsNZ \" (\" percent(goodjobsNZ,ended_jobs) \"%)\",\"utilization\",goodputNZ \" (\" percent(goodputNZ,total_used) \"%)\";\n+  print \"Total badSignal jobs\",badjobsSignal \" (\" percent(badjobsSignal,ended_jobs) \"%)\",\"utilization\",badputSignal \" (\" percent(badputSignal,total_used) \"%)\";\n+  print \"Total badOther jobs\",badjobsOther \" (\" percent(badjobsOther,ended_jobs) \"%)\",\"utilization\",badputOther \" (\" percent(badputOther,total_used) \"%)\";\n+}\n"}
