GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — docs: fix documentation concerning glob expansion on UNIX by binki · Pull Request #4869 · mochajs/mocha Conversation
Contributor
Fixes #4868. Requirements
Description of the ChangeFix documentation about how shell expansion works on UNIX. Alternate DesignsI removed incorrect information and added the equivalent correct information. I may have been more verbose than necessary, but it seemed like the documentation was trying to be informative here, so I continued providing the supplemental information. Why should this be in core?This is a documentation fix. It removes erroneous information in core which should not be there. BenefitsThe documentation will be less wrong. Possible DrawbacksThis may result in people being less confused. Applicable issues
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
juergba
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree the docs is incorrect, but I'm not happy with your text either. I'm unsure about your Windows statement since we have countless shells in Windows as eg. git bash, powershell, wsl, cmd, etc. Especially powershell is a pain being so different compared to posix-like shells.
Every additional info may be confusing or incorrect, I prefer to not document on shell detail level.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
akashchouhan16
approved these changes
JoshuaKGoldberg
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM, thanks! 🙌 Just one suggestion around a friendlier docs link. What do you think?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Co-authored-by: Josh Goldberg ✨ <[email protected]>
|
There was an error while loading. Please reload this page.
I addressed your changes in the latest commit. I checked out the article you are referring to and found that it is misleading. It suggests to use single quotes which are unsupported on Windows. If a folder name contains an ampersand (legal on Windows and Unix-like OSes), then the script author might create an expression which succeeds on a Unix-like OS and fails on Windows. So I removed that reference too. Since the rationale cannot be included, I needed to add instructions to:
Please consider the latest changes. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Better! Thanks 🙏 And thanks for removing the erroneous article.
How would you feel about this minor wording tweak?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Pelle Wessman <[email protected]>
|
Thanks @binki 🙏 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
📝 Docs: Incorrectly states the shell does glob expansion for double-quoted path specifications
There was an error while loading. Please reload this page.