tr command scripting