Operator Scope of Action:
Operator First Added:
This operator allows simple single character string manipulation. It computes a new list, copying each character of the source list but converting any characters in dataIn to the corresponding characters in dataOut. For example:
returns a copy of $MyList in which every "a" is converted to "A".
Backslash characters must be quoted and escaped:
converts every "c" to a Macintosh newline characters (\r) - note the need in this context for an extra backslash escape (so Tinderbox knows the intended swap value is "\r" and not "r").
For further information, see the Mac OS X man page for the UNIX tr command.