This is my first post under #iLoveScripting which will have lots of shell script which are helping me in my day to day task and sharing here for all guys for easing their work as well.
The very magical script, which I have use, is "clnM.sh". This script is remove the ctrl-M characters (^M) from your windows file.
Usage: clnM.sh <FILE>
https://www.facebook.com/datastage4you
https://twitter.com/datagenx
https://plus.google.com/+AtulSingh0/posts
https://datagenx.slack.com/messages/datascience/