Linux file that does not have "CR" at the end of the line, appears as it had one

Advertisement

aldemarcalazans
Donor
Joined:
Posts:
3
Location:
Brazil

Linux file that does not have "CR" at the end of the line, appears as it had one

Every time i opened a Linux shell script, in the right window of the application (the one that shows the server files) WinSCP shows a "CR" character at the end of all lines that DOES NOT EXIST. If I copy this file to my computer, and open it again using the left window of the application, the phantom "CR" character disappeear.

file content viewed in the right window.png

file content viewed in the left window.png

Description: The Linux shell script file used in the test (.txt added just to make the upload possible)

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum