#!/bin/ksh # # look_rlog #set -v # for DEBUGging if test $# -ne 2 then echo "$0 usage: file highest-revision" exit 1 fi if test ! -r RCS/${1},v then echo "$0: no RCS/${1},v" exit 1 fi r=$2 while test $r -gt 0 do (echo 1.$r; co -p1.$r $1) | less r=`expr $r - 1` done