From efe143bc0e073c254394b27fc3705ba74c0c4bd2 Mon Sep 17 00:00:00 2001 From: Atanas Yankov Date: Tue, 1 Sep 2020 15:10:51 +0300 Subject: [PATCH] Fix number of args --- SC2068.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2068.md b/SC2068.md index 9ac6b58..d876d5d 100644 --- a/SC2068.md +++ b/SC2068.md @@ -16,7 +16,7 @@ cp "$@" ~/dir Double quotes around `$@` (and similarly, `${array[@]}`) prevents globbing and word splitting of individual elements, while still expanding to multiple separate arguments. -Let's say you have three arguments: `baz`, `foo bar`, `*` and `/*/*/*/*` +Let's say you have four arguments: `baz`, `foo bar`, `*` and `/*/*/*/*` `"$@"` will expand into exactly that: `baz`, `foo bar`, `*` and `/*/*/*/*`