aboutsummaryrefslogtreecommitdiff
path: root/wrappers/unix2dos
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/unix2dos')
-rwxr-xr-xwrappers/unix2dos5
1 files changed, 5 insertions, 0 deletions
diff --git a/wrappers/unix2dos b/wrappers/unix2dos
new file mode 100755
index 00000000..68c18593
--- /dev/null
+++ b/wrappers/unix2dos
@@ -0,0 +1,5 @@
+#!/bin/sh
+#HELP usage: unix2dos [FILE...]\n\nAdd DOS newlines
+
+[ $# -ne 0 ] && DASH_I=-i
+sed $DASH_I -e 's/$/\r/' "$@"