json
json copied to clipboard
Windows line endings are changed to Unix line endings
json -I
changes all Windows line endings (CRLF) to Unix line endings (LF).
Would be nice if it would instead preserve the line endings.
I totally agree. At least let me specify line ending in the command line. I need CRLF to not see ugly warnings in git like this:
warning: LF will be replaced by CRLF in yourfile.json. The file will have its original line endings in your working directory.