dos2unix 155 B

12345
  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$//' "$@"