tr translates (replaces) all occurrences of one character with another. I arbitrarily chose dot to translate from; the idea is merely to use a character which doesn't need to survive past tr so you need to pick one which isn't present in your input. If you have ISO-8859-1 something like the section sign � used to be a popoular pick because you very rarely see it in any real-world data, but of course now with UTF-8 that no longer works.