#!/bin/csh

#SUL MAC:
#gcc match8.cpp -o MATCH

#A MILANO:
#g++ match8.cpp -o MATCH -lstdc++

#/usr/bin/powerpc-apple-darwin10-g++-4.2.1 match8.cpp -o MATCH
#./match.csh PN500_10000_126726405-126726505.list emllist_PN500_10000_126725005.txt PN500_10000_126726405-126726505.out 3 M31Core

set l=`wc -l $1 | awk '{print $1}'`
./MATCH $1 $2 $l $4
mv out.txt $3
