I wrote a command line program to determine/detect the end-of-line format, tabs, bom, and nul characters
https://github.com/jftuga/chars
Stand-alone binaries are provided for all major platforms.
https://github.com/jftuga/chars
Stand-alone binaries are provided for all major platforms.