in reply to Re^4: Strange behaviour of tr function in case the set1 is supplied by a variable
in thread Strange behaviour of tr function in case the set1 is supplied by a variable

The last sentence should be (mangled tags): And the first is not without problems either: if you "extrapolate" your skills with regex into tr you can write instead of

tr[aeiouy][yuoiea]

obviously incorrect

tr/[aeiouy]/[yuoiea]/

that will work fine as long as strings are of equal length.