Welcome to mirror list, hosted at ThFree Co, Russian Federation.

unix2dos « applets_sh - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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/' "$@"