{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6201","repository_url":"https://api.github.com/repos/PowerShell/PowerShell","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6201/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6201/comments","events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6201/events","html_url":"https://github.com/PowerShell/PowerShell/issues/6201","id":298736656,"number":6201,"title":"ConvertTo-EOL cmdlet with -Unix and -Windows params","user":{"login":"kasper3","id":33230602,"avatar_url":"https://avatars3.githubusercontent.com/u/33230602?v=4","gravatar_id":"","url":"https://api.github.com/users/kasper3","html_url":"https://github.com/kasper3","followers_url":"https://api.github.com/users/kasper3/followers","following_url":"https://api.github.com/users/kasper3/following{/other_user}","gists_url":"https://api.github.com/users/kasper3/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper3/subscriptions","organizations_url":"https://api.github.com/users/kasper3/orgs","repos_url":"https://api.github.com/users/kasper3/repos","events_url":"https://api.github.com/users/kasper3/events{/privacy}","received_events_url":"https://api.github.com/users/kasper3/received_events","type":"User","site_admin":false},"labels":[{"id":552752388,"url":"https://api.github.com/repos/PowerShell/PowerShell/labels/Area-Cmdlets-Management","name":"Area-Cmdlets-Management","color":"5319e7","default":false},{"id":423526741,"url":"https://api.github.com/repos/PowerShell/PowerShell/labels/Issue-Discussion","name":"Issue-Discussion","color":"fc2929","default":false},{"id":470898211,"url":"https://api.github.com/repos/PowerShell/PowerShell/labels/Review%20-%20Committee","name":"Review - Committee","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-02-20T20:27:03Z","updated_at":"2018-03-12T20:22:58Z","closed_at":null,"author_association":"NONE","body":"Often I use utilities like `unixtodos.exe` and `dostounix.exe` to fix the line endings of documents. It would be super helpful if PowerShell team consider it as a useful utility and provide it OOTB.\r\n\r\nOne solution is: https://stackoverflow.com/a/19128003 but it \"almost\" works as \"mike z\" mentioned."},"comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments/372449811","html_url":"https://github.com/PowerShell/PowerShell/issues/6201#issuecomment-372449811","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6201","id":372449811,"user":{"login":"mklement0","id":588825,"avatar_url":"https://avatars2.githubusercontent.com/u/588825?v=4","gravatar_id":"","url":"https://api.github.com/users/mklement0","html_url":"https://github.com/mklement0","followers_url":"https://api.github.com/users/mklement0/followers","following_url":"https://api.github.com/users/mklement0/following{/other_user}","gists_url":"https://api.github.com/users/mklement0/gists{/gist_id}","starred_url":"https://api.github.com/users/mklement0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklement0/subscriptions","organizations_url":"https://api.github.com/users/mklement0/orgs","repos_url":"https://api.github.com/users/mklement0/repos","events_url":"https://api.github.com/users/mklement0/events{/privacy}","received_events_url":"https://api.github.com/users/mklement0/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T20:22:58Z","updated_at":"2018-03-12T20:22:58Z","author_association":"CONTRIBUTOR","body":"@jeffbi:\r\n\r\n> would the cmdlet be able to recognize OS 9 style line endings (CR only)\r\n\r\nYes, because `Get-Content` does.\r\nSo, \r\n\r\n * converting _from_: definitely.\r\n * converting _to_ (`ClassicMacOS`): I agree, probably not much demand, but it's easy enough to add. \r\n\r\n> Will MacOS users know they should be using Unix-style line endings?\r\n\r\nThrowing in `macOS` as an enum value is easy enough to do, but would someone using such a cmdlet really not know that macOS has had a Unix foundation for almost 17 years? (Note that we're already expecting user to know that  Linux is a flavor of Unix).\r\n\r\nI have no strong preferences  there."}}
{"actor":{"display_login":"mklement0"}}