{"id":18770822,"url":"https://github.com/rasa/eolfix","last_synced_at":"2025-12-12T01:30:13.322Z","repository":{"id":26354401,"uuid":"29803396","full_name":"rasa/eolfix","owner":"rasa","description":"Report \u0026 fix end-of-line characters","archived":false,"fork":false,"pushed_at":"2015-05-21T03:58:56.000Z","size":479,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T07:42:41.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rasa.png","metadata":{"files":{"readme":"README","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-25T05:03:12.000Z","updated_at":"2015-04-13T04:00:25.000Z","dependencies_parsed_at":"2022-08-28T00:01:26.671Z","dependency_job_id":null,"html_url":"https://github.com/rasa/eolfix","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Feolfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Feolfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Feolfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Feolfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rasa","download_url":"https://codeload.github.com/rasa/eolfix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239677989,"owners_count":19679176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T19:21:41.299Z","updated_at":"2025-12-12T01:30:13.279Z","avatar_url":"https://github.com/rasa.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eolfix [![Flattr this][flatter_png]][flatter]\n\nReport, and optionally convert, the line endings of text files between Unix, Windows (MS-DOS),\nand Macintosh formats.\n\nEolfix detects and ignores binary files unless instructed to include them.\nEolfix does not modify files if the file is already in the requested format.\nEolfix properly handles \"mixed\" format files (files having more than one type of line ending format).\nEolfix does not currently work with non-ASCII files (UTF-8 etc).\n\n## Quick Start\n\nTo compile and install eolfix in `~/bin`, type:\n````bash\ngit clone https://github.com/rasa/eolfix\ncd eolfix\n./autogen.sh\n./configure\nmake\nmake install\n````\n\nTo compile and install eolfix in `/usr/local/bin`, type:\n````bash\ngit clone https://github.com/rasa/eolfix\ncd eolfix\n./autogen.sh\n./configure --prefix=/usr/local\nmake\nsudo make install\n````\n\n## Usage\n\n````\nUsage: eolfix [options] [files...]\nOptions:\n-u | --unix    [files] Convert text files to have UNIX line endings (LF)\n-d | --dos     [files] Convert text files to have DOS/Windows line endings (CRLF)\n-m | --mac     [files] Convert text files to have Macintosh line endings (CR)\n-n | --native  [files] Convert text files to have line endings native to your system\n-l | --leave   [files] Report on the type of file, but do not convert (default)\n-s | --skip    [files] Skip these files entirely\n-i | --include type    Include types: unix, dos, mac, varied, binary and all\n                       Default is to include unix, dos, mac and varied files\n-e | --exclude type    Exclude types: unix, dos, mac, varied, binary and all\n-a | --abort           Abort processing on the first error encountered\n-b | --backup          Backup each file before converting it\n-k | --backup-ext .ext Use \u003c.ext\u003e for backup file extension (default is .bak)\n-c | --compress        Compress doubled-spaced files to be single-spaced (todo)\n-g | --config file     Process options in \u003cfile\u003e\n-y | --dry-run         Skip conversion, but show what would have been converted\n-f | --force           Convert every file, even if no change would result\n-z | --ignore-case     Perform case-insensitive filename matching\n-j | --in-place        Convert text files in-place (slower)\n-o | --output file     Send output to \u003cfile\u003e (use - for stdout)\n-p | --preserve        Preserve file ownership and times\n-r | --recursive       Recurse into directories\n-t | --temp-dir dir    Use \u003cdir\u003e for temporary files (default is file's dir)\n-v | --verbose         Report on every file, even if it would not be changed\n-q | --quiet           Only report errors\n-? | --help            Show this help message and quit\n     --version         Display version information and quit\n     --license         Display licensing information\n     --                Stop processing options\n````\n\n## Supported Platforms\n\n* FreeBSD\n* Linux\n* MS-DOS\n* NetBSD\n* OpenBSD\n* Solaris\n* Windows (Cygwin)\n* Windows (Native)\n\n## Supported Compilers\n\n* Borland C++ 5.5.1 for Win32\n* Digital Mars Compiler Version 8.42n - 8.57\n* gcc version 3.4.3 (DJGPP version)\n* gcc version 3.4.2 (mingw-special)\n* gcc (Cygwin)\n* gcc (Linux)\n* Intel\u003csup\u003e\u0026reg;\u003c/sup\u003e C++ Compiler for 32-bit applications, Version 9.0\n* Intel\u003csup\u003e\u0026reg;\u003c/sup\u003e Parallel Studio XE 2015 Update 2 Composer Edition (package 179)\n* Logiciels/Informatique lcc-win32 version 3.8\n* Microsoft Visual C++ 6.0\n* Microsoft Visual Studio 2013, 2012, 2010, 2008, 2005, .NET\n* Open Watcom C/C++ NMAKE Clone for 386  Version 1.3 - 1.9\n\n## Verify a Release\n\nTo verify a release, download the .zip, .sha256, and .asc files for the release \n(replacing eolfix-0.3.0-win32.zip with the release you are verifying):\n\n````\n$ wget https://github.com/rasa/eolfix/releases/download/v0.3.0/eolfix-0.3.0-win32.zip{,.sha256,.asc}\n````\n\nNext, check that sha256sum reports \"OK\":\n````\n$ sha256sum -c eolfix-0.3.0-win32.zip.sha256\neolfix-0.3.0-win32.zip: OK\n````\n\nLastly, check that GPG reports \"Good signature\":\n\n````\n$ gpg --keyserver hkps.pool.sks-keyservers.net --recv-key 0x105a5225b6ab4b22\n$ gpg --verify eolfix-0.3.0-win32.zip.asc eolfix-0.3.0-win32.zip\ngpg:                using RSA key 0xFF914F74B4BB6EF3\ngpg: Good signature from \"Ross Smith II \u003cross@smithii.com\u003e\" [ultimate]\n...\n````\n\n## Contributing\n\nTo contribute to this project, please see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Bugs\n\nTo view existing bugs, or report a new bug, please see [issues](../../issues).\n\n## Changelog\n\nTo view the version history for this project, please see [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nThis project is [MIT licensed](LICENSE).\n\n## Contact\n\nThis project was created and is maintained by [Ross Smith II][] [![endorse][endorse_png]][endorse]\n\nFeedback, suggestions, and enhancements are welcome.\n\n[Ross Smith II]: mailto:ross@smithii.com \"ross@smithii.com\"\n[flatter]: https://flattr.com/submit/auto?user_id=rasa\u0026url=https%3A%2F%2Fgithub.com%2Frasa%2Feolfix\n[flatter_png]: http://button.flattr.com/flattr-badge-large.png \"Flattr this\"\n[endorse]: https://coderwall.com/rasa\n[endorse_png]: https://api.coderwall.com/rasa/endorsecount.png \"endorse\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasa%2Feolfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasa%2Feolfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasa%2Feolfix/lists"}