Bash TR Squeeze Space

 // collapse multiple spaces to one
$ tr -s " " < file
:/