File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ function DockerCleanDangling() {
113113 fi
114114
115115 echo " Removing dangling images..."
116- if docker rmi $_dangling_images 2> /dev/null; then
116+ if docker rmi " $_dangling_images " 2> /dev/null; then
117117 echo " Dangling images removed"
118118 else
119119 echo " Failed to remove some dangling images"
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ function BulkRename() {
8787 fi
8888
8989 # Escape characters in the search pattern that are special in sed regex and as delimiters
90- _search_escaped=$( printf ' %s\n' " $_search " | sed ' s/[.[\*^$&/\\ ]/\\&/g' )
90+ _search_escaped=$( printf ' %s\n' " $_search " | sed ' s/[.\\ [\*^$&/]/\\&/g' )
9191 # Escape characters in the replacement pattern that are special in sed replacements and as delimiters
9292 _replace_escaped=$( printf ' %s\n' " $_replace " | sed ' s/[&/\\]/\\&/g' )
9393
You can’t perform that action at this time.
0 commit comments