I want to remove all the white spaces from a given text file. Is there any shell command available for this ? Or, how to use sed for this purpose.
sed
I wa
This is probably the simplest way of doing it:
sed -r 's/\s+//g' filename > output mv ouput filename