normalize-newline-cli
Normalize the newline characters in a string to
\n
Install
npm install --global normalize-newline-cli
Usage
$ normalize-newline --help
Usage
$ normalize-newline <string>
$ cat file.txt | normalize-newline
Example
$ cat mixed-newlines.txt | normalize-newline > lf-newlines.txt
Related
- normalize-newline - API for this module