Topic: [Solved] Line Endings Issue

Dear All,

My last two days were too hectic. My FA was not exporting the reports in Excel Properly. No Error was shown. I was unable to locate the issue. I had one month old backup that has no issue. I compared both and found an issue that one of latest module's hooks.php file was not having LF line endings.

I found this Swiss File Knife Tool helpful to check in bulk and convert the whole projects Line Endings to LF.

Since I am using Linux server so I needed LF.

This Post is also helpful https://stackoverflow.com/a/16886243

Once installed the above tool. Open the Project Directory in Command Prompt and write the below command

> sfk remcr -dir your_project_directory -yes

www.boxygen.pk

2 (edited by apmuthu 05/14/2020 09:19:35 am)

Re: [Solved] Line Endings Issue

NotePad++ does it.
https://stackoverflow.com/questions/11341660/change-eol-on-multiple-files-in-one-go

To convert line endings use unix2dos and dos2unix.