mergetool: dissect strings with shell variable magic instead of `expr`