Skip to content

Instantly share code, notes, and snippets.

@kana-ph
Created July 30, 2019 15:29
Show Gist options
  • Save kana-ph/98e4b0d8e45fc28a4a37fea60ac30071 to your computer and use it in GitHub Desktop.
Save kana-ph/98e4b0d8e45fc28a4a37fea60ac30071 to your computer and use it in GitHub Desktop.
ForEach ($file in $args)
{
Write-Host "Converting: $file"
((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