4 ms·
Always use "$@" (including the quotes) instead of $* when passing on command-line arguments. If your directory name contains a space, the above function won’t
by imurray 17y ago
Always use "$@" (including the quotes) instead of $* when passing on command-line arguments.
If your directory name contains a space, the above function won’t work. Note that putting $* in quotes would be interpreted as one argument, so that wouldn’t work if you specified an option along with a directory name.
- z8000 17y agoYeah that's what I use but couldn't remember it off the top of my head. Thanks.