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

[email protected] (Bob Proulx)
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
Giovanni Bronzini <[email protected]> [2002-08-22 13:39:37 +0200]:
> I tried
> echo pippo.it | tr [.] [-] 
> but I obtained 
> pippo\it
> 
> ?

Try this instead.

  echo pippo.it | tr . -
  pippo-it

Then please read the documentation where this is described in much
more detail.

  info tr

Bob
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.