Translations
eharetea

Translating characters using the tr command.

Change, translate characters.

Date Created:Sunday March 11th, 2007 02:40 PM
Date Modified:Saturday August 02nd, 2008 04:11 PM

TRANSLATIONS

tr -s to-chars from-chars
"squeeze out" multiple occurances of charcters in to-chars
tr -s ':' '\11'
//this replaces colons with taps, and multiple tabs with single tabs
tr-s ' ' ' ' < filemanyspaces
takes out extra spaces

tr -d from-chars
tr -d ' ' < intro
this deletes spaces, same as
sed 's/ //g' intro
tr -d '[0-9]'
deletes numbers


tr '()' '{}'