#!/bin/sh
# rcsemacs -- run rcs commands for Larch/C++ development around emacs.

chmod a-w $*
co -l $*
for f
do
  perl -p -i -e 'if ($_ =~ ?\$Header([\$:])|\$Id([\$:])?) { s/\$Header([\$:])/\$Id\1/; }' $f
done
emacs $*
ci -u $*
lc++ize $*
