Skip to content

Commit a26fa6b

Browse files
committed
Add missing quotes
1 parent 5d59dd5 commit a26fa6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

6_functions_subshells/map.lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ map() {
44

55
# now for all remaining arguments execute
66
# the command with the argument:
7-
for val in $@; do
7+
for val in "$@"; do
88
$COMMAND $val
99
done
1010
}

0 commit comments

Comments
 (0)