This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Add Convert-LineEnding command #17
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels