From: Stuart L. <sl...@cc...> - 2008-06-18 20:39:28
|
On 水, 2008-06-18 at 13:23 -0700, Wallace Roberts Consulting wrote: > To force the correct (Un*x) format of a non-Un*x file (on your Un*x > system), use the following command in VIM: > > :set ff=unix > > Then save the file, & you're done. Nice. You can also use the dos2unix utility, or load the file into emacs and do C-x RET f and then enter undecided-unix. Or in emacs M-x set-buffer-file-coding-system undecided-unix. -- Stuart Luppescu -=- slu .at. ccsr.uchicago.edu University of Chicago -=- CCSR 才文と智奈美の父 -=- Kernel 2.6.24-gentoo-r8 Distress, n.: A disease incurred by exposure to the prosperity of a friend. -- Ambrose Bierce, "The Devil's Dictionary" |