in reply to tr/// vs s/// The question.
Now I realize that mine includes a few more characters but basically the moral is that his left nothing but the characters I was seeking to destroyThat would be because tr doesn't take a regex character class, it takes a simple list of characters. :-)
This should do what you want...
For the record, the /c complements the search list, the /d deletes the matching characters.tr{A-Za-z0-9_ .=/\\}{}cd;
|
---|