18 Feb 2003 spirit   » (Journeyer)

stripping ^M from FreeBSD Diary :

  • open file with vi ESC mod ":%s/^V^M//"
  • sed -e "s/^V^M//" <filename> > <output filename>
  • perl -pi -e "s:^V^M::g" <filenames>
  • cat <filename>|tr -d "^V^M" <new file>

    problematic site?

  • 4th:/www/apache-perl:
    -rw-r--r-- 1 root wheel 139819 Jul 11 07:22 proxy-access_log
    -rw-r--r-- 1 root wheel 68355161 Jul 11 07:22 proxy-error_log
  • jc_traffic_dump
    06605 105779910 69881502168 count ip from 198.78.66.75 to any
    06606 103237947 70856980149 count ip from any to 198.78.66.75
    -rw-r--r-- 1 root wheel 769132 Jul 11 07:35 proxy-access_log
    -rw-r--r-- 1 root wheel 68379290 Jul 11 07:35 proxy-error_log
  • Latest blog entries     Older blog entries

    X
    Share this page