Thanks this has been resolved see below
Example 2: Delete ^M character appended to the end of each line:
Let's say we have a file called test.csv that has an extra character ^M at the end of each line as illustrated below.
18,307,130,3504,12,70,1,8,0^M
15,350,165,3693,12,70,1,8,0^M...
Hi guys,
I edited some scripts in windows and ftp to server now , now I am unable to run the scripts, I get the error below when I try to run them..
syntax error : `in^M' unexpected
So I go into the scripts and manually removed ^M' … , this now work okay.
But I am unable to run other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.