Title: CLI: escaped command line quotes "" difference with powershell 5.1 · Issue #11569 · PowerShell/PowerShell · GitHub
Open Graph Title: CLI: escaped command line quotes "" difference with powershell 5.1 · Issue #11569 · PowerShell/PowerShell
X Title: CLI: escaped command line quotes "" difference with powershell 5.1 · Issue #11569 · PowerShell/PowerShell
Description: PowerShell Steps to reproduce C:\> pwsh -Command "echo 1 \"2 3\"" Expected behavior 1 2 3 Actual behavior 1 2 3 Environment data Major Minor Patch PreReleaseLabel BuildLabel ----- ----- ----- --------------- ---------- 7 0 0 rc.1
Open Graph Description: PowerShell Steps to reproduce C:\> pwsh -Command "echo 1 \"2 3\"" Expected behavior 1 2 3 Actual behavior 1 2 3 Environment data Major Minor Patch PreReleaseLabel BuildLabel ----- ----- ----- -----...
X Description: PowerShell Steps to reproduce C:\> pwsh -Command "echo 1 \"2 3\"" Expected behavior 1 2 3 Actual behavior 1 2 3 Environment data Major Minor Patch PreReleaseLabel BuildLabel ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11569
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CLI: escaped command line quotes \"\" difference with powershell 5.1","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 and PowerShell 7+ issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n\r\n--\u003e\r\n\r\nPowerShell\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\nC:\\\u003e pwsh -Command \"echo 1 \\\"2 3\\\"\"\r\n```\r\n\r\n# Expected behavior\r\n\r\n```none\r\n1\r\n2 3\r\n```\r\n\r\n# Actual behavior\r\n\r\n```none\r\n1\r\n2\r\n3\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```none\r\nMajor Minor Patch PreReleaseLabel BuildLabel\r\n----- ----- ----- --------------- ----------\r\n7 0 0 rc.1\r\n```\r\n","author":{"url":"https://github.com/gerardog","@type":"Person","name":"gerardog"},"datePublished":"2020-01-13T17:47:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/11569/PowerShell/issues/11569"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fd0dfe55-893f-acd3-e727-4e87ca05da5a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E780:180D17:43A93:6228A:6A577305 |
| html-safe-nonce | fe9a4a27fa9700bcf28169da3bed51eb301a008e49ab65d2e6ee4d7cd4287dc2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzgwOjE4MEQxNzo0M0E5Mzo2MjI4QTo2QTU3NzMwNSIsInZpc2l0b3JfaWQiOiI3NjEwMzQ3MDYwMDI2ODk3MTU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f0ccd39a98b47cd02ab531416743dc96f7bf69679403061cd24ad49d533efdae |
| hovercard-subject-tag | issue:549085587 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/11569/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c4c1bac4dca2416d34d4d3584f00915b8451d7c561485e16b8b11de570f1d831/PowerShell/PowerShell/issues/11569 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4c1bac4dca2416d34d4d3584f00915b8451d7c561485e16b8b11de570f1d831/PowerShell/PowerShell/issues/11569 |
| og:image:alt | PowerShell Steps to reproduce C:\> pwsh -Command "echo 1 \"2 3\"" Expected behavior 1 2 3 Actual behavior 1 2 3 Environment data Major Minor Patch PreReleaseLabel BuildLabel ----- ----- ----- -----... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gerardog |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c0ca805e53f128ba1f966be1d3ccd81d0d1959c7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width