... | ... |
@@ -97,7 +97,7 @@ if [[ $nouveau = @(check|prox|leven) ]]; then |
97 | 97 |
echo "caractère manquant (del=): $cost_del" |
98 | 98 |
echo "caractère inséré (ins=): $cost_ins" |
99 | 99 |
echo "caractère remplacé (rep=): $cost_rep" |
100 |
- echo "distance maximale (max=): ${cost_max:-$(($cost_ins + $cost_del + $cost_rep))}" |
|
100 |
+ echo "distance maximale (max=): $cost_max" |
|
101 | 101 |
for f in $(find . -type f); do |
102 | 102 |
let wc+=$(wc -w < $f) |
103 | 103 |
done |