And for a general purpose solution you would need to escape \1..\7 too. I'm afraid that's not feasible with tr.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
°) using this technique in my Wiki-nodelet-hack already
In reply to Re^5: splinting a line of text by comma
by LanX
in thread splinting a line of text by comma
by benaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |