- May
- 13,141
- 180
Unix's TR replaces each character in a list of characters with the corresponding character from a second list of characters, like this.
Can TPIPE do that? The alternative seems to be five /replace parameters (ugh!) and thus, I imagine, five times through each line.
Code:
v:\> echo "&_+_|_<_>" | tr "&+|<>" "12345"
"1_2_3_4_5"
Can TPIPE do that? The alternative seems to be five /replace parameters (ugh!) and thus, I imagine, five times through each line.