I have some shell scripts created on windows I want to run dos2unix on them.
dos2unix
But as I have read that dos2unix works in Linux
If you have perl installed, you can simply run:
perl
perl -i -p -e "s/\r//" [ ...]