René's URL Explorer Experiment


Title: Out-String cmdlet should support -NoNewline too · Issue #3684 · PowerShell/PowerShell · GitHub

Open Graph Title: Out-String cmdlet should support -NoNewline too · Issue #3684 · PowerShell/PowerShell

X Title: Out-String cmdlet should support -NoNewline too · Issue #3684 · PowerShell/PowerShell

Description: PSv5 brought the -NoNewline switch to the Set-Content (Add-Content) and Out-File cmdlets to allow direct concatenation of the input objects without newlines (strings among the input objects retain their embedded newlines however). By def...

Open Graph Description: PSv5 brought the -NoNewline switch to the Set-Content (Add-Content) and Out-File cmdlets to allow direct concatenation of the input objects without newlines (strings among the input objects retain ...

X Description: PSv5 brought the -NoNewline switch to the Set-Content (Add-Content) and Out-File cmdlets to allow direct concatenation of the input objects without newlines (strings among the input objects retain ...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3684

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Out-String cmdlet should support -NoNewline too","articleBody":"PSv5 brought the `-NoNewline` switch to the `Set-Content` (`Add-Content`) and `Out-File` cmdlets to allow direct concatenation of the input objects without newlines (strings among the input objects retain their _embedded_ newlines however).\r\n\r\n_By default_, these cmdlets _blindly append an additional newline_, whereas `Out-String` currently _invariably_ does that, because it lacks `-NoNewline`.\r\n\r\nFor symmetry, `Out-String` should support `-NoNewline` too.\r\n\r\nCurrent behavior\r\n------------------\r\n\r\n```powershell\r\n> (Out-String -InputObject 'a') -match '^a\\r?\\n$'\r\n$True  # A trailing newline was added.\r\n```\r\n\r\nDesired behavior\r\n-----------------\r\n\r\n```powershell\r\n> (Out-String -NoNewline -InputObject 'a') -match '^a$'\r\n$True  # No trailing newline was added.\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\nPowerShell Core v6.0.0-alpha (v6.0.0-alpha.18) on Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64\r\n```\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2017-05-02T17:54:24Z","url":"https://github.com/PowerShell/PowerShell/issues/3684"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bf78879d-55e9-8b4a-8a9e-6b85ac9a57c2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id921E:2ADB95:D82E3E:13589A5:6AFDA0B3
html-safe-noncea03e21724c56a30d70e2c43679ab554cb2b379c1b101664fe498ed996583f3fc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjFFOjJBREI5NTpEODJFM0U6MTM1ODlBNTo2QUZEQTBCMyIsInZpc2l0b3JfaWQiOiI3NjQ2NTk4OTIwNDc4MjM2ODUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac127f2026bab1f17b175fb105b1a333dff7f414707a62a95c7ef1f90af20eb0f3
hovercard-subject-tagissue:225771859
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/3684/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9b2b7a1d197b6d4ecf4f977c83059e234ffe46b36608824cc4ad6d2813de1f00/PowerShell/PowerShell/issues/3684
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9b2b7a1d197b6d4ecf4f977c83059e234ffe46b36608824cc4ad6d2813de1f00/PowerShell/PowerShell/issues/3684
og:image:altPSv5 brought the -NoNewline switch to the Set-Content (Add-Content) and Out-File cmdlets to allow direct concatenation of the input objects without newlines (strings among the input objects retain ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemklement0
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/3684#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F3684
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F3684
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/3684
Reloadhttps://github.com/PowerShell/PowerShell/issues/3684
Reloadhttps://github.com/PowerShell/PowerShell/issues/3684
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3684
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3684
Out-String cmdlet should support -NoNewline toohttps://github.com/PowerShell/PowerShell/issues/3684#top
HacktoberfestPotential candidate to participate in Hacktoberfesthttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Hacktoberfest%22
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on May 2, 2017https://github.com/PowerShell/PowerShell/issues/3684#issue-225771859
Nexthttps://github.com/PowerShell/PowerShell/issues/3684?timeline_page=1
Ilya (iSazonov)https://github.com/iSazonov
Area-Cmdlets-Utilityhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Cmdlets-Utility%22
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
on May 3, 2017https://github.com/PowerShell/PowerShell/issues/3684#event-1066851130
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
HacktoberfestPotential candidate to participate in Hacktoberfesthttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Hacktoberfest%22
on Oct 1, 2017https://github.com/PowerShell/PowerShell/issues/3684#event-1273096736
https://github.com/iamraghavs
Raghav S (iamraghavs)https://github.com/iamraghavs
on Oct 5, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334435075
Michael Klement (@mklement0)https://github.com/mklement0
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 5, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334455927
herehttps://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-string/out-string.cs#L20
herehttps://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/FormatAndOutput/out-string/out-string.cs#L122
herehttps://github.com/PowerShell/PowerShell/blob/master/test/powershell/Modules/Microsoft.PowerShell.Utility/Out-String.Tests.ps1
docs repohttps://github.com/PowerShell/PowerShell-Docs/issues
Ilya (@iSazonov)https://github.com/iSazonov
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 5, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334495291
docs repohttps://github.com/PowerShell/PowerShell-Docs
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Oct 6, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334651595
Coding Guidelineshttps://github.com/PowerShell/PowerShell/blob/master/docs/dev-process/coding-guidelines.md
https://github.com/iamraghavs
Raghav S (iamraghavs)https://github.com/iamraghavs
on Oct 6, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334662794
Ilya (@iSazonov)https://github.com/iSazonov
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
Michael Klement (@mklement0)https://github.com/mklement0
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Oct 6, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334671658
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 6, 2017https://github.com/PowerShell/PowerShell/issues/3684#event-1282223207
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 6, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334826078
https://github.com/iamraghavs
Raghav S (iamraghavs)https://github.com/iamraghavs
on Oct 7, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334947226
Michael Klement (@mklement0)https://github.com/mklement0
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Oct 7, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334951153
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 7, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-334957068
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 11, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-335965393
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
#3855https://github.com/PowerShell/PowerShell/issues/3855
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Oct 12, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336012644
Michael Klement (@mklement0)https://github.com/mklement0
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 12, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336122867
as I've tried to point outhttps://github.com/PowerShell/PowerShell-Docs/issues/1739
https://github.com/iamraghavs
Raghav S (iamraghavs)https://github.com/iamraghavs
on Oct 12, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336214310
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 12, 2017https://github.com/PowerShell/PowerShell/issues/3684#event-1291011230
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 12, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336249269
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Review - CommitteeThe PR/Issue needs a review from the PowerShell Committeehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Committee%22
on Oct 12, 2017https://github.com/PowerShell/PowerShell/issues/3684#event-1291013186
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Oct 13, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336347354
Michael Klement (@mklement0)https://github.com/mklement0
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 13, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336449639
Ilya (@iSazonov)https://github.com/iSazonov
#5108https://github.com/PowerShell/PowerShell/issues/5108
#5107https://github.com/PowerShell/PowerShell/issues/5107
https://github.com/iamraghavs
Raghav S (iamraghavs)https://github.com/iamraghavs
on Oct 13, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336454033
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Oct 13, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336531463
https://github.com/PowerShell/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Utility/Out-String.mdhttps://github.com/PowerShell/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Utility/Out-String.md
https://github.com/iamraghavs
Raghav S (iamraghavs)https://github.com/iamraghavs
on Oct 15, 2017https://github.com/PowerShell/PowerShell/issues/3684#issuecomment-336693142
Michael Klement (@mklement0)https://github.com/mklement0
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
Ilya (@iSazonov)https://github.com/iSazonov
herehttps://github.com/PowerShell/PowerShell-Docs/pull/1764
Ilya (iSazonov)https://github.com/iSazonov
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
on Oct 19, 2017https://github.com/PowerShell/PowerShell/issues/3684#event-1300297071
Ryan Yates (kilasuit)https://github.com/kilasuit
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
WG-Cmdlets-Utilityhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets-Utility%22
on Jul 17, 2026https://github.com/PowerShell/PowerShell/issues/3684#event-28141953322
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/3684
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3684
HacktoberfestPotential candidate to participate in Hacktoberfesthttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Hacktoberfest%22
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.