-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issuesWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendation
Description
Summary of the new feature / enhancement
As a user I want to use Get-Clipboard to process a list of items like so: Get-Clipboard | foreach {Do-Something $_} but sometimes the list happens to use LF instead of CRLF so on my Windows system I end up with one long string instead of multiple items. This means I end up with an error because the string is incorrect and I have to paste my clipboard into some other app like Notepad and copy it again to get CRLF line endings.
Proposed technical implementation details (optional)
Ideally it would accept any kind of line ending similar to how the parser works.
If that's considered too much of a breaking change, add a new switch parameter to do this and update the default behavior to write a warning if it detects a line ending that it doesn't split on.
mklement0 and iRon7
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issuesWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendation
Type
Projects
Status
Reviewed