How to replace dots "." with dashes "-" ?

"Giovanni Bronzini" <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <006b01c249d0$988d56a0$8800000a@gigio>
I tried
echo pippo.it | tr [.] [-] 
but I obtained 
pippo\it

?

Thanks

Giovanni
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.