tr.1 (2010 09)

t
tr(1) tr(1)
Translate each digit in file1 to a
# (number sign), and write the result to file2.
tr "0-9" "[#*]" <file1 >file2
The * (asterisk) tells tr to repeat the
# (number sign) enough times to make the second string as long
as the first one.
AUTHOR
tr was developed by OSF and HP.
SEE ALSO
ed(1), sh(1), ascii(5), environ(5), lang(5), regexp(5).
STANDARDS CONFORMANCE
tr: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3