This is for escaping the spaces with backslashes. Very interesting to
see that about ten extra characters are required to do this using sed in
the shell script. Well that is the price of writing C code