summaryrefslogtreecommitdiffstats
path: root/tools/ppc/convert
blob: a2622c6304b797c90d6b01f4f252b2d9001774c5 (plain)
1
2
3
4
5
#!/bin/sh

mv $1.orig $1.Unix
tr "\n" "\r" < $1.Unix > $1.MacOS
perl -e '@line = <>; $line = join("\r\n", split(/\n/, join("", @line))); print $line; print "\r\n";' < $1.Unix > $1.DOS