Skip to content

Does CRLF annoy you too? Use this Docker image to convert all files to LF.

License

Notifications You must be signed in to change notification settings

gustav-langer/annoying-crlf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

annoying-crlf

Does CRLF annoy you too? Use this Docker image to convert all files to LF.

Index

Requirements

  • Docker

Installation

  1. Pull the image or build it by executing the following command.
    $ docker build . -t annoying-crlf
  2. Run the container.
    $ docker run --rm -v $PWD:/data annoying-crlf "*.txt"

Usage

  • To change the lineendings, create a volume which points to the /data folder inside the container.
  • Pass as argument the filename which file should be converted. You can apply wildcards like:
    $ docker run --rm -v $PWD/src:/data danielschischkin/annoying-crlf:latest "*.php" "*.txt"

Useful links

About

Does CRLF annoy you too? Use this Docker image to convert all files to LF.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • F# 71.0%
  • Dockerfile 29.0%