diff --git a/semtag b/semtag index 96ed21a..1f08a6e 100755 --- a/semtag +++ b/semtag @@ -248,7 +248,7 @@ function compare_identifiers { firstsize=${#explodedidentifierfirst[@]} secondsize=${#explodedidentifiersecond[@]} minlength=$(( $firstsize<$secondsize ? $firstsize : $secondsize )) - for (( i = 1 ; i < $minlength ; i++ )); do + for (( i = 0 ; i < $minlength ; i++ )); do compare_identifier_part "${explodedidentifierfirst[$i]}" "${explodedidentifiersecond[$i]}" partresult case $partresult in 0)