gen_compares 186 B

123456789101112
  1. #!/bin/bash
  2. CMPDIR=$( fgrep CMPDIR= moshel | cut -d '=' -f 2 )
  3. mkdir -p "$CMPDIR"
  4. fgrep CheckFileChanges moshel | \
  5. while read DUMMY CMP FN; do
  6. cp -v $FN $CMPDIR/$CMP
  7. done