An open API service indexing awesome lists of open source software.

https://github.com/3noch/line-ending

A tool that shows statistics on line endings from `stdin`
https://github.com/3noch/line-ending

Last synced: about 1 year ago
JSON representation

A tool that shows statistics on line endings from `stdin`

Awesome Lists containing this project

README

          

line-ending
===========

Shows statistics on line endings from `stdin`.

Example:

```bash
$ cat my-file.txt | line-ending
DOS: 0
Unix: 23
```

Building
--------

You must have

* [Glasgow Haskell Compiler](http://www.haskell.org/ghc/)
* [Cabal](http://www.haskell.org/cabal/) (which comes with the [Haskell Platform](http://www.haskell.org/platform/))

Then you can

```bash
$ cd line-ending
$ cabal install
```

License
-------

Copyright © Covenant Eyes 2014

This package is licensed under the [MIT license](http://opensource.org/licenses/mit-license.php)
(see `LICENSE`).