Feature Request
See original GitHub issueSummary of the new feature/enhancement
I want non-double quoted symbols not to behave like double quotes.
If that’s difficult, consider adding it to your pwsh.exe startup options.
Example problem
Command
Test-Path "“OK!“"
Result
Test-Path: A positional parameter cannot be found that accepts argument 'OK!'.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
What Is a Feature Request? Definition and Examples
A feature request is a comment, message, or ask from a user to implement a specific feature into your product. Feature requests can...
Read more >Feature Request Management Software
Canny's feature request management tools let you collect, organize, and analyze feedback with ease. Create your feature request board today! Start for free!...
Read more >7 Useful Tips to Manage Feature Requests
1. Create a central place to gather and review all feature requests. · 2. Respond to every request — personally, honestly, and promptly....
Read more >Feature Request Template: How to Collect User Feedback ...
A feature request template is a standardized form that allows users and customers to submit feature requests for your product. These can be ......
Read more >How to Manage Product Feature Requests – 6 Best Practices
A feature request is an idea a customer sends your way to make you understand how he's using your product, and what he...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I forgot the more obvious solutions:
Single-quoting:
`
-escaping:I understand that PowerShell’s permissiveness with respect to quoting/whitespace equivalence can be surprising.
I can’t speak to the original design intent, but I assume it was to accommodate source code created with or copied and pasted from editors that use non-ASCII-range quotation marks and whitespace.
If you have verbatim file names that are passed via macro expansion, before PowerShell sees the resulting source code, use a verbatim here-string (this also works with file names that contain
'
):Note that if your file name is stored in a PowerShell variable, no extra effort is needed: