... | ... |
@@ -154,7 +154,7 @@ if [[ $nouveau = @(check|prox|leven) ]]; then |
154 | 154 |
} |
155 | 155 |
END { |
156 | 156 |
if (found_words > 0) { |
157 |
- printf("mot%s proche%s de «%s» (distance) [occurences]\n", found_words > 0 ? "s" : "", found_words > 0 ? "s" : "", ancien) |
|
157 |
+ printf("mot%s proche%s de «%s» (distance) [occurences]\n", found_words > 1 ? "s" : "", found_words > 1 ? "s" : "", ancien) |
|
158 | 158 |
for (i in approx_possibles) |
159 | 159 |
printf("- %s [%i]\n", i, approx_possibles[i]) |
160 | 160 |
} |