Its quite simple to do,but its pain when this stops the whole process of automation or development
If foo is the code in which you want to remove ^M
the command you just need is
cat foo | col -b > foo_update
or you can use dos2unix tools also,but the above case is when you dont have access to the dos2unix tools
No comments:
Post a Comment