I work on shell script and I want to remove all space characters in a string.
On another question I saw a sed command for replacing and tried to use it with sending null character in it:
echo \0 | sed "s/ /${text}/"
But it did not work.
Any other way to do this?