[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to see the raw line endings in a file?
From: |
Eli Zaretskii |
Subject: |
Re: How to see the raw line endings in a file? |
Date: |
Sun, 31 Mar 2019 23:17:29 +0300 |
> From: Steinar Bang <sb@dod.no>
> Date: Sun, 31 Mar 2019 21:09:52 +0200
>
> Hm... looks like existing cr's are not the cause, I grepped the source
> and this is all that was found:
> sb@lorenzo:~/workspaces/ws03/authservice$ grep -r $'\r' * | grep -v
> node_modules | grep -v target
> Binary file authservice.web.security/src/main/resources/web/favicon.ico
> matches
> Binary file
> authservice.web.users.frontend/src/main/frontend/public/favicon.ico matches
> sb@lorenzo:~/workspaces/ws03/authservice$
"Binary file" usually means there are null bytes in the file. When
Emacs sees null bytes, it by default inhibits decoding, including
detection of EOL format, so you see a Unix file with ^M characters, if
there are any.
RE: How to see the raw line endings in a file?, Drew Adams, 2019/03/31