![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Hey all, don't think I've seen this here before, and I know there are many ways of doing this, so I thought, in a fit of geekery, that it might be fun to try and collect them all! Afterall everyone does have their own favourite programs.
I posted this at my own journal when I first came across it, but here's a new one as well;
I posted this at my own journal when I first came across it, but here's a new one as well;
sed -i 's/\r//' $file_name
perl -pi -e 's/\r\n/\n/g' $file_name