[release,dunecontrol] Use $GREP consistently.
[dunecontrol,bugfix] Stops using non-posix \s with sed and only uses sed if variable is there.