aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/dos2unix.sh2
-rw-r--r--scripts/unix2dos.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/dos2unix.sh b/scripts/dos2unix.sh
new file mode 100644
index 0000000..e2ac6ac
--- /dev/null
+++ b/scripts/dos2unix.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+find . \( -iname "*.h" -o -iname "*.c" \) -exec dos2unix {} \;
diff --git a/scripts/unix2dos.sh b/scripts/unix2dos.sh
new file mode 100644
index 0000000..2f68224
--- /dev/null
+++ b/scripts/unix2dos.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+find . \( -iname "*.h" -o -iname "*.c" \) -exec unix2dos {} \;