Title: Native globbing on Unix platforms should pass syntactically-invalid-as-globbing-patterns unquoted literals through as-is · Issue #4971 · PowerShell/PowerShell · GitHub
Open Graph Title: Native globbing on Unix platforms should pass syntactically-invalid-as-globbing-patterns unquoted literals through as-is · Issue #4971 · PowerShell/PowerShell
X Title: Native globbing on Unix platforms should pass syntactically-invalid-as-globbing-patterns unquoted literals through as-is · Issue #4971 · PowerShell/PowerShell
Description: Related: #3931 An unquoted token that is not a syntactically valid globbing pattern (wildcard expression) should be considered a literal to be passed as-is - not an error. Note that, by default, bash retains whatever unquoted token you s...
Open Graph Description: Related: #3931 An unquoted token that is not a syntactically valid globbing pattern (wildcard expression) should be considered a literal to be passed as-is - not an error. Note that, by default, ba...
X Description: Related: #3931 An unquoted token that is not a syntactically valid globbing pattern (wildcard expression) should be considered a literal to be passed as-is - not an error. Note that, by default, ba...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4971
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Native globbing on Unix platforms should pass syntactically-invalid-as-globbing-patterns unquoted literals through as-is","articleBody":"Related: #3931\r\n\r\nAn _unquoted_ token that is not a syntactically valid globbing pattern (wildcard expression) should be considered a _literal_ to be _passed as-is_ - not an _error_.\r\n\r\nNote that, by default, `bash` retains whatever unquoted token you specify as-is, if it (a) happens not to be a valid globbing pattern or (b) happens not to match any files.\r\n(Setting `shopt -s nullglob`, however, would result in syntactically valid non-matching globs evaluating to the _empty string_).\r\n\r\nSteps to reproduce (Unix platforms)\r\n------------------\r\n\r\n```powershell\r\n/bin/echo []\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```none\r\n[]\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nThe specified wildcard character pattern is not valid: []\r\n...\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\nPowerShell Core v6.0.0-beta.7 on macOS 10.12.6\r\nPowerShell Core v6.0.0-beta.7 on Ubuntu 16.04.3 LTS\r\nPowerShell Core v6.0.0-beta.7 on Microsoft Windows 10 Pro (64-bit; v10.0.15063)\r\n```\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2017-10-01T22:14:04Z","url":"https://github.com/PowerShell/PowerShell/issues/4971"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:e52a5118-c813-dc27-eebf-c43f0614a2a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D71A:2F91CD:BC6B1:106405:6AFD4AFE |
| html-safe-nonce | 526be868579a47e84a2fe8efb05c7dbffd8ffa77c4c2579f427372b9385056c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzFBOjJGOTFDRDpCQzZCMToxMDY0MDU6NkFGRDRBRkUiLCJ2aXNpdG9yX2lkIjoiNDE1NzU3MDc1MTgwNTA1ODU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5ced2f2d8650dbd4556e53246a669b2cd60af85f98885ddcad257a1edf1b7faa |
| hovercard-subject-tag | issue:261950896 |
| 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/4971/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83721479dbeb77dbd63c469cf0dc1e9f36e336872a115e697c8a1a97994c1508/PowerShell/PowerShell/issues/4971 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83721479dbeb77dbd63c469cf0dc1e9f36e336872a115e697c8a1a97994c1508/PowerShell/PowerShell/issues/4971 |
| og:image:alt | Related: #3931 An unquoted token that is not a syntactically valid globbing pattern (wildcard expression) should be considered a literal to be passed as-is - not an error. Note that, by default, ba... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mklement0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width