Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 913383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:32:55+00:00 2026-05-15T17:32:55+00:00

I am putting an old website up on a new server and i’ve noticed

  • 0

I am putting an old website up on a new server and i’ve noticed various issues. Firstly, if i look at any of the files locally they all have double line spacing – anywhere there is a newline there has also been a blank line inserted. This is the same in netbeans and notepad++. Then, when i SFTP the files to the server and view them in Vi i see ^M at the end of each line. The final thing is that when i’m having issues making the site actually work, i’ve tracked this down to a common includes.php file which when i view it has been converted to a single line of code – i can still see ^M but there isnt a single newline in there. at the bottom of vi it actually says: “includes.php” [noeol]

I’m working locally on windows, i do have a Mac aswell i could try things on. My remote server is running Ubuntu 9

Please let me know if this question would be better on serverfault

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T17:32:56+00:00Added an answer on May 15, 2026 at 5:32 pm

    Run the files through any of a number of standard utilities and save yourself a lot of time. I think dos2unix is usually on most distributions. If not it should be in a repository somewhere.

    (Yes, this probably a serverfault question IMO.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I like putting shortcuts of the form g - google.lnk in my start menu
We are putting up a company blog at companyname.com/blog but for now the blog
I am putting together a proposal for a large multinational company for our licenced
I've been putting a lot of thought into procedural generation of content for a
I'm putting together a script to find remove duplicates in a large library of
I am putting together some ideas for our automated testing platform and have been
I'm interested in putting together my first online game using Flash as the client
Short of putting a UIWebView as the back-most layer in my nib file, how
I'm putting a crontab job for updating with apt-get once a day (running Debian
I am putting together a build system and wanted to know if there is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.