Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Frequent file juggling woes (Files switched between releases)
Re: Frequent file juggling woes [message #7090 is a reply to message #7089] Sun, 12 November 2017 09:51 Go to previous messageGo to previous message
apmuthu
Messages: 30
Registered: April 2017
Location: Chennai Singapore
Member
To convert Windows CRLF line endings to Unix style LF line endings in windows use:
TYPE input_filename | MORE /P > output_filename

Create a batch file to operate on desired file extensions recursively. Make sure that the input and output files are different (use different folders when the name is the same) otherwise you will lose your source file itself with no conversion or target file being available.

An utility do this conversion in a GUI is available at the DOS2Unix page.

If any SQL statement spans more than one line especially in the middle of a long string, chances are the "^M" (CR) character will get embedded into it and cause searches to fail.

As you work entirely on windows, I would assume that all the files would have windows CRLF line endings which is not the case. There are scores of files that retain the Unix style line endings. Using the likes of NotePad++ with line endings set to Unix style will make for such editing to be consistent with webservers running linux and windows. The possible reason your linux servers have not complained is that the file transfer program used may have auto translated the line endings during upload.

The current Radicore v2.08.0 completely in unix style line endings is available on GitHub.


[Updated on: Sun, 12 November 2017 09:58]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: where2indexedArray failure
Next Topic: Cannot delete audit data
Goto Forum:
  


Current Time: Wed Dec 04 04:23:27 EST 2024

Total time taken to generate the page: 0.01600 seconds