#!/bin/csh
foreach f (*-3*)

if (-e $f:s/-3/-2/) then
#	echo $f and $f:s/-3/-2/ match
else
	echo $f exits but $f:s/-3/-2/ does not
endif
end

