I have a file in which I clean out a bunch of nonsense text as well as path information.
What I end up with is something like the following:
johnson.........................................................933
Where the periods represent the whitespace
The file comes out originally with the columns of name and hits left and right justified respectively. Since the names are of a variable length and the number on the right is also variable length, how would I go about removing the whitespace in the middle? I am newbie to sed, but rapidly falling in love with it.
Thanks in advance