Hi,
I have some files on my Windows box that I zipped and transfered to my FreeBSD box where I unzipped them and plan to work on them. However (using vi as my editor) at the end of each line there is this: ^M. It's very annoying and distracting. Is there any way for me to remove this from my files? Example from one of the files so you can see what I mean:
Code:
<?include('prefix.php');?>^M
<?^M
$userLevel=0;^M
$printit=1;^M
$em="Your e-mail";^M
^M
if (isset($HTTP_COOKIE_VARS["username"]) && isset($HTTP_COOKIE_VARS["userpass"])) {^M
$name=safevar($HTTP_COOKIE_VARS["username"]);^M
$pass=safevar($HTTP_COOKIE_VARS["userpass"]);^M
} else {^M
$name=null;^M
$pass=null;^M
--king4lex