#! /bin/csh

set old = /kamares/usr/local/FreeSurfer0.7/lib/help/csurf
set new = /kamares/usr/local/FreeSurfer0.8/lib/help/csurf


if ("$1" == "diff") then
  set echo
  gdiff $new/$2 $old/$2
  unset echo
endif

if ("$1" == "copynew") then
  set echo
  cp $new/$2 $old/$2
  chown inverse.flat $old/$2
  unset echo
endif

