summaryrefslogtreecommitdiffstats
path: root/tools/ppc/convert
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ppc/convert')
-rwxr-xr-xtools/ppc/convert5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ppc/convert b/tools/ppc/convert
new file mode 100755
index 000000000..a2622c630
--- /dev/null
+++ b/tools/ppc/convert
@@ -0,0 +1,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