wp.jochen.hayek.name/blog-en

emacs: “output coding” – line endings

Output Coding – GNU Emacs Manual

I had an accounting file with DOS line endings, and I needed it with just 0xa (ASCII line feed).

I found this function for converting the line endings in GNU Emacs:


set-buffer-file-coding-system, used like this:


C-x RET f unix RET

Exit mobile version