Skip to content

AC17dollars/CRLF2LF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

CRLF2LF

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.

Installation

Compilation

gcc main.c -o CRLF2LF

Binaries

Check the release section for up to date binaries.

About

A command line tool to convert CRLF text files to LF text files or conversely.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages