Hi all,
I would like to count the occurrences of a character, more specifically of the
`.` in the ${version} option. Asking Big Brother Google, there seem to be quite
some possibilities, so I came up with the following solutions:
set dot_count [ regsub -all "\\." ${version} {} ignore ]
but I do not like it particularly and I am wondering if there would be a more
elegant expression you would propose.
Thanks!
~petr
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
