#!/bin/sh

if [ $# -lt 2 ]; then
  echo "usage: $0 [-bspanvmQT] [-D clash_option] sourcefile targetfile"
  echo "       $0 [-bspanvmQT] [-D clash_option] sourcefile [ sourcefiles... ]"
  echo "             targetdirectoryopy [-tnvm] MSDOSsourcefile"
  exit 1
fi

dosfile=$1
shift

mcopy $dosfile - | cmp $@