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

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