What I wanted to do was like this:
$ cat string | tr '}{|][\' '}{|]\['
>From the manpage:
SYNOPSIS
tr [ -cds ] [ string1 [ string2 ] ]
DESCRIPTION
tr copies the standard input to the standard output with
substitution or deletion of selected characters. Input
characters found in string1 are mapped into the correspond-
ing characters of string2.
Ok, if this isn't clear enough, I don't know what to do... :-)
Homann
-- Magnus Homann Email: d0asta@dtek.chalmers.se URL : http://www.dtek.chalmers.se/DCIG/d0asta.html The Climbing Archive!: http://www.dtek.chalmers.se/Climbing/index.html