Bash Script Replace Character In String