diff --git a/Scripts/Bash/Functions/Html/html_updateHeadings.sh b/Scripts/Bash/Functions/Html/html_updateHeadings.sh index b9d0949..6981893 100644 --- a/Scripts/Bash/Functions/Html/html_updateHeadings.sh +++ b/Scripts/Bash/Functions/Html/html_updateHeadings.sh @@ -74,7 +74,7 @@ function html_updateHeadings { while true; do case "$1" in --filter ) - REGEX="$2" + REGEX="$2" shift 2 ;; * ) @@ -83,7 +83,7 @@ function html_updateHeadings { done # Re-define regular expression to match html files only. - REGEX=$(echo "${REGEX}\.(html|htm)") + REGEX=$(echo "${REGEX}.*\.(html|htm)") # Define list of files to process. cli_getFilesList diff --git a/Scripts/Bash/Functions/Shell/shell_updateCopyright.sh b/Scripts/Bash/Functions/Shell/shell_updateCopyright.sh index 01e02cc..9f1076b 100755 --- a/Scripts/Bash/Functions/Shell/shell_updateCopyright.sh +++ b/Scripts/Bash/Functions/Shell/shell_updateCopyright.sh @@ -147,7 +147,7 @@ function shell_updateCopyright { done # Re-define regular expression to match shell files only. - REGEX=$(echo "${REGEX}\.(bash|shell|sh)") + REGEX=$(echo "${REGEX}.*\.(bash|shell|sh)") # Define list of files to process. cli_getFilesList diff --git a/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh b/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh index 1dfcfc2..ac1edf6 100755 --- a/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh +++ b/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh @@ -171,7 +171,7 @@ function svg_updateMetadata { # Re-define regular expression to match scalable vector graphic # files only. - REGEX=$(echo "${REGEX}\.(svgz|svg)") + REGEX=$(echo "${REGEX}.*\.(svgz|svg)") # Define list of files to process. cli_getFilesList diff --git a/Scripts/Bash/Functions/Svg/svg_vacuumDefs.sh b/Scripts/Bash/Functions/Svg/svg_vacuumDefs.sh index 4669ada..9ed17cd 100755 --- a/Scripts/Bash/Functions/Svg/svg_vacuumDefs.sh +++ b/Scripts/Bash/Functions/Svg/svg_vacuumDefs.sh @@ -53,7 +53,7 @@ function svg_vacuumDefs { # Re-define regular expression to match scalable vector graphic # files only. - REGEX=$(echo "${REGEX}\.(svgz|svg)") + REGEX=$(echo "${REGEX}.*\.(svgz|svg)") # Define list of files to process. cli_getFilesList