Low: use bash in rgmanager/src/clusterfs.sh rather than clunky sed/awk

since bash can do find and replace and variable extraction  lets use it.