trtr
[options
] [string1
[string2
]]
Copy standard input to standard output, performing substitution of characters from string1 to string2 or deletion of characters in string1 . System V requires that string1 and string2 be enclosed in square brackets. BSD versions do not have this requirement. OptionsExamplesChange uppercase to lowercase in a file:
Solaris allows the use of character classes:
Turn spaces into newlines (ASCII code 012):
Strip blank lines from file
and save in new.file
(or use
Delete colons from file ; save result in new.file :
Make long search path more readable:
|
|