I have a variable var="abcde$$$$$$$$fff$$gg". I want to replace all $ with space ' ' but the following puts just one space
var=$( echo "$var" | tr '$' ' ')
How can i replace them all?