#!/bin/sh
#	rcsdiffx - do an rcsdiff on this file and the corresponding
#			revision in RCS (as determined from the RCSid in
#			this file).

	rev=`grep RCS $1 | cut -f7 -d' '`
	if [ "$rev" = "" ]
	then
		echo RCSid not present in file $1
		exit
	fi

	rcsdiff -r$rev $1
