/dos2unix

Convert file line endings from carriage returns to new lines

Primary LanguageGoMIT LicenseMIT

dos2unix

a basic implementation in go

This program will replace all instances of '\r' with '\n' in a given list of files.

Usage:

dos2unix path/to/file.csv

dos2unix path/to/file/a.csv path/to/file/b.csv

File output:

# path/to/file.csv.clean

# path/to/file/a.csv.clean path/to/file/b.csv.clean