diff options
Diffstat (limited to 'applets_sh/unix2dos')
-rwxr-xr-x | applets_sh/unix2dos | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/applets_sh/unix2dos b/applets_sh/unix2dos new file mode 100755 index 000000000..70e042906 --- /dev/null +++ b/applets_sh/unix2dos | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | # TODO: use getopt to avoid parsing options as filenames, | ||
3 | # and to support -- and --help | ||
4 | [ $# -ne 0 ] && DASH_I=-i | ||
5 | sed $DASH_I -e 's/$/\r/' "$@" | ||