remove spaces in tr command