Textonyms: Difference between revisions
Content added Content deleted
imported>Meerkut m (→AWK: fixed handling of the 'print redirection has null string value' situation when the user comments out the lines suggested in BEGIN.) |
imported>Meerkut m (→AWK: more reliable substring inclusion check) |
||
Line 383: | Line 383: | ||
if (errW) { continue } |
if (errW) { continue } |
||
T9=TXN[nmb][TOTAL] |
T9=TXN[nmb][TOTAL] |
||
if (index(T9,ss)==0) { |
if (index(T9" "," "ss" ")==0) { |
||
TXN[nmb][TOTAL] = T9 " " ss |
TXN[nmb][TOTAL] = T9 " " ss |
||
TXN[nmb][COUNT]++ |
TXN[nmb][COUNT]++ |