#!/bin/sh
cat $1 | awk '{gsub(/\r/,"\n");print}' > $(dirname $1)/$(basename $1 .txt)_tmp.txt
rm $1
mv $(dirname $1)/$(basename $1 .txt)_tmp.txt $1

