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`
- Host: GitHub
- URL: https://github.com/3noch/line-ending
- Owner: 3noch
- License: mit
- Created: 2014-02-01T21:23:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-06-16T16:43:37.000Z (about 11 years ago)
- Last Synced: 2025-03-25T07:01:58.770Z (about 1 year ago)
- Language: Haskell
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`).