Results 1 to 2 of 2
  1. #1
    Join Date
    August 25th, 2008
    Creating files with LF line endings
    Using WM2.4.2 on Mac OS X, it always seems to generate output files with Mac line endings (CR). I would like to put my web site into a version control system (Git) that doesn't deal with CR line endings--it stores a complete copy of each version of a file, won't show diffs, etc. I'm looking for an option to have WM generate output with LF line endings, but can't find one. I made sure that my template files had LF endings, but they all get converted to CR in the output files. Any ideas?

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Los Angeles, California
    Currently WebMerge generates pages using the line endings native to the platform it's running on. For Windows this is CRLF, for OS X it's CR, for Linux LF. Historically, this has been the most convenient solution for our customers because it lets them work with their pages easily in any tool they have on their system.

    But I can appreciate the value of using fixed line endings for the scenario you describe. It may be relatively trivial to implement this in the next build of v2.5 Beta, but before I commit I'll need to review the code to make sure it won't break anything.

    Let me explore this a bit and get back to you. With any luck I'll just add a tool to the build to allow you to set the line endings to any of those three, with the default being what it does now with the line endings native to the current platform.

    Thanks for the idea!
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: May 21st, 2009, 04:14 AM
  2. All your files belong to us - Files Held Ransom
    By zendozen in forum Midnight Cafe'
    Replies: 1
    Last Post: May 26th, 2005, 10:55 AM
  3. product files
    By womanht in forum ShareASale - SAS
    Replies: 0
    Last Post: July 11th, 2003, 08:09 PM
  4. Missing files in my pc?
    By Heyder in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: November 22nd, 2001, 07:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts