head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 97.11.26.14.43.48; author alexis; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @#!/bin/sh PROGNAME=`basename $0` [ "X$1" = X ] && { echo "Usage: $PROGNAME file ... "; exit 1; } for FILE in $*; do [ -w $FILE -a "X`rcsdiff $FILE 2>/dev/null`" = X ] && { co -f $FILE 2>/dev/null; } [ -w $FILE ] && { echo "$PROGNAME: $FILE has been modified!"; exit 1; } done exit 0 @