#!/bin/sh # From: Dean Gaudet # # i place all of my /etc and other system configuration files # under RCS. "ef" is a simple tool to implement the checkout, # edit, and commit sequence. if rcsdiff -qu ${1+"$@"}; then co -l ${1+"$@"} && ${VISUAL-${EDITOR-vi}} ${1+"$@"} && ci -u ${1+"$@"} else echo "" echo "there are uncommitted changes!" exit 1 fi