#!/bin/csh

if ( $#argv == 0 ) then
	echo Usage: $0 directory
	exit 1
endif

set zips = (`find $1 -name "*.ZIP" -print`)

foreach i ( $zips )
	set x = $i:r
	if ( -r $x.TXT.gz ) then
		echo $x.TXT.gz overlaps $x.ZIP
	endif
end
