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

  • SEARCH
  • Home
  • 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'm putting files from an old project within a new one. I cloned a
I am putting together an old post here with this new one. My main
I'm currently putting together (on old fashioned paper) a layout for my new database,
I am putting together a new dev machine, Mac. My old dev machine runs
Putting code at aspx files is slower? The code is recompiled every access? At
I putting wmd on my website. After putting code in and giving it a
I'm putting an old text into HTML. Sometimes it uses Greek terms and phrases.
I know putting java code in jsp pages in an old school way of
I am currently putting a new version of my site online. I would like
We have a continuous integration server running Hudson CI . I'm thinking about putting

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.