Viewing 1 to 2 of 2 items
Archive | tr RSS feed for this section

tr

tr Command Examples

tr is an UNIX utility for translating, or deleting, or squeezing repeated characters. It will read from STDIN and write to STDOUT. tr stands for translate. $ tr [OPTION] SET1 [SET2] 1.Convert lower case to upper case The following tr command is used to convert the lower case to upper case $ tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ  Full Article…

0

tr

tr  –  translate or delete characters The tr command deletes or substitutes characters from standard input and writes the result to standard output. The tr command performs three kinds of operations depending on the strings specified by the String1 and String2variable and on the flags specified tr – changes characters, tr [options] set1 [set2]   tr -d \\r < dosfile.txt > unixfile.txt  Full Article…

0