if [ -f search.p ] ;then
	 rm search.p
fi
cp %6.642/search/search.p search.p
if [ -f getarg.i ] ;then
	 rm getarg.i
fi
cp %6.642/search/getarg.i getarg.i
if [ -f getpattern.i ] ;then
	 rm getpattern.i
fi
cp %6.642/search/getpattern.i getpattern.i
if [ -f scanfile.i ] ;then
	 rm scanfile.i
fi
cp %6.642/search/scanfile.i scanfile.i
if [ ! -f match.i ] ;then
	 cp %6.642/search/match.i match.i
else
	echo "match.i already exists in your directory - not copied"
fi
