Warning: this is an htmlized version!
The original is across this link,
and the conversion rules are here.
#!/bin/sh -x
# By: aloph
# Modified (trivially) by edrx
# (find-es "javascript")
#
cat > /tmp/temp_script.sh <<%%%
#!/bin/sh 
filename=
grab_filename() {
  filename=\$(echo \$@ | sed 's/^.*:: //g; s/,v \$$//g; s/RCS\///g')
}
checkout_file() { ssh _zumbi co -l \${filename}; }
checkin_file()  { ssh _zumbi ci -u \${filename}; }
edit_file()     { vim sftp://_zumbi/\${filename}; }
main() { grab_filename \$@; checkout_file; edit_file; checkin_file; }
#
main \$@
echo "finished";
read n
%%%

chmod +x  /tmp/temp_script.sh
xterm -e "/tmp/temp_script.sh $@"
rm -f     /tmp/temp_script.sh