Hi I am using the following command:
perl -e 's/MIT/BERKELEY/i' -p -i.bat *.txt
The problem is that if I have a file called test.txt, after executing this command, I have a ^M character appended to the end of all the lines in that file.
Is there a way to prevent this.