I'm on Debian Jessie. When I open a new textfile with
mousepad and save it, then modify it with
vim and save it again, I cannot print or
grep the contents of it anymore.
If I do
cat file, nothing is shown in the terminal. If I open
mousepad, I see the contents. If I write the file with
vim, the following is shown in the status line:
"file" [mac] 2L, 5C written
While for a "normal" file, I only get
"file" 2L, 5C written
I thought the
[mac] had something to do with the formatting of the new lines, so I tried to run:
but the problem persists. Does anyone know what exactly is wrong with the file?