-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
hold-for-prWaiting - for PR mergeWaiting - for PR mergehold-for-releaseWaiting - for next releaseWaiting - for next releaseissue-doc-ideaIssue - request for new contentIssue - request for new content
Description
Prerequisites
- Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
- Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new
Get-Foo
cmdlet" instead of "New cmdlet."
Summary
The linked PR adds a new parameter for Get-Clipboard
that allows users to customize the delimiters used to split the clipboard content into an array. For example a user could use:
Get-Clipboard -Delimiter "`r`n", "`n"
to handle both Windows and Linux line endings. Or add a custom separator to handle custom string formats: Get-Clipboard -Delimiter "|"
It might also be worth adding a note that users can add this to their profile to ensure it always uses the Linux and Windows line endings:
$PSDefaultParameterValues.Add("Get-Clipboard:Delimiter",("`r`n", "`n"))
Details
No response
Articles
No response
Related Source Pull Requests
Related Source Issues
Metadata
Metadata
Assignees
Labels
hold-for-prWaiting - for PR mergeWaiting - for PR mergehold-for-releaseWaiting - for next releaseWaiting - for next releaseissue-doc-ideaIssue - request for new contentIssue - request for new content