blob: cf974642163f0a412f9cbeb575369348ef945571 (
plain)
1
2
3
|
In [[bash]] we can reference arguments as an array using `$@`.
This isn't what we want when opening a new file for example, e.g `hx "$@"` opens a file for each argument.
We can use `$*` to reference them as a single string, thus `hx "$*"` opens 1 file with the name of all arguments as a single string.
|