-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation around glob patterns and shell expansion #1115
Comments
Similar to #1175. I agree that this should be noted. Seems like it should be added in the man page and on the site's rendering of the man page. I'm not sure what's the standard way of noting this precondition of globbing. Would it be like:
or
or should it be a separate section "Notes" that contains the hint to quote the glob? |
Good catch! |
💯 👍 got bitten by this! thank you! |
Some interesting notes on expansion: http://www.gnu.org/software/bash/manual/bashref.html#Filename-Expansion |
Anyone willing to create a PR for this? |
continue in mochajs/old-mochajs-site#8 |
Is this done (from 3+ years ago)? |
nope. see #3136 |
Not sure if it is needed, but it may be worth noting that due to shell expansion, glob patterns should be wrapped in single quotes on unix shells.
mocha -w -r should 'test/**/*.js'
Using that would render the --recursive flag useless.
The text was updated successfully, but these errors were encountered: