Public domain
sed -i 's/\r//' file.txt
sed -i 's/$/\r/' file.txt
BY: Pejman Moghadam TAG: dos2unix, unix2dos DATE: 2012-03-28 17:31:03