[tr] fix tr command with invalid args