Use parameter expansion when assigning space_character.

See http://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html for a reference on parameter expansion in bash.
Merge remote-tracking branch 'tiziano88/patch-1'

Merging with ours strategy since we already have the equivalent of this behaviour.