Tuesday, June 28, 2011

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

No comments: