A command line tool to convert CRLF text files to LF text files or conversely.
Usage: ./CRLF2LF [OPTION]....[FILE]...
Convert CRLF text files to LF text files.
Note: Specify file extension in filename
Options:
--help display this help and exit
--version output version information and exit
--create-copy create a copy of the original file
--crlf convert LF to CRLF
Eg:
./CRLF2LF foo.txt
- Convert foo.txt into LF text file.
./CRLF2LF foo.c --crlf
- Convert foo.c into CRLF C text file.
./CRLF2LF *.txt
- Convert all text files in current directory to LF text file.
gcc main.c -o CRLF2LF
Check the release section for up to date binaries.