uments in case the user omits them. We'll use the first one in our first programming task.
If we used #*/ instead of ##*/,... the second pattern has no wild cards and how the first is quoted to prevent any shell globbing. That's f... cement
${string/substring/replacement}
Replace first match of $substring with $replacement.
${string/... Cabc
# Replaces first match of 'abc' with 'xyz'.
echo ${stringZ//abc/x