TextUtility icon indicating copy to clipboard operation
TextUtility copied to clipboard

Add Convert-LineEnding command

Open rkeithhill opened this issue 5 years ago • 1 comments

This would be like dos2unix and unix2dos. Running gci *.cpp | Convert-LineEnding with no "switch" parameter should convert line endings to match the current platform. I would expect -Windows and -Unix (or -Linux) mutually exclusive switches to force a specific line-ending independent of the current platform. Not sure if it would be worth adding -macOS switch (for \r line endings) since I "think" that is old, old macs and probably not relevant anymore.

rkeithhill avatar Nov 25 '20 18:11 rkeithhill

Can I nudge this issue? I just searched half the web for a decent solution and they're all kinda bad in their own way. Having something for this OOTB would be great.

BarabasGitHub avatar Jan 25 '24 13:01 BarabasGitHub