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


Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.