summaryrefslogtreecommitdiff
path: root/applets_sh/unix2dos
blob: 70e04290616b2f794cd0ae94de32fbe2a23da889 (plain)
1
2
3
4
5
#!/bin/sh
# TODO: use getopt to avoid parsing options as filenames,
# and to support -- and --help
[ $# -ne 0 ] && DASH_I=-i
sed $DASH_I -e 's/$/\r/' "$@"