Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
- Loading branch information
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2b1d1c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These quotes are in fact needed, even though the result is exactly the same. In the current version, you're passing two arguments to the
echo
command :Hello
andWorld
. In the previous version, the only argument of the command wasHello World
, which is what was really meant by the programmer.In this particular example, this makes no difference whatsoever, but the underlying topic of quoting in Bash (also see here for more advanced examples) is much more complex.