Created
December 12, 2019 20:10
-
-
Save DieNand/7f97bc5f5e8b6598f80fe68571a342d2 to your computer and use it in GitHub Desktop.
Workaround for line endings in Powershell (some file types require unix like line ending to work, this helps in Windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$file = ".\colors.ppm" | |
((Get-Content $file) -join "`n") + "`n" | Set-Content -NoNewline $file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment