This page was exported from phaq [ http://phaq.phunsites.net ]
Export date: Fri Apr 19 21:16:54 2019 / +0000 GMT
Sometimes DOS files end up on unix systems without being converted. Files will then have those nasty ^M character at the line ending, which prevents some applications to work properly. The reason for is is DOS to use CRLF (carriage return + line feed) for line endings while unix uses LF (line feed) only. If only few files need to be changed, vi/vim is the tool of choice. After opening up the file, enter command mode to run this macro: :%s/^M$//g To get the ^M do not actually enter it as is. Insert it by typing the CTRL-V CTRL-M sequence instead.
Powered by [ Universal Post Manager ] plugin. HTML saving format developed by gVectors Team www.gVectors.com