Hi,
I'd like to share a script I got from one of the RCS tutorials:
/usr/local/bin/rvi
#!/bin/sh
co -l $1
$VISUAL $1
rcsdiff -u $1
ci -u $1
I call this script "rvi" (there's an existing _rvi_ program in some Linux
distribs) and makes use of the revision control tools like co, ci, and
rcsdiff for managing changes to various text files (specially config files).
You just need to set the $VISUAL variable to your favorite text editor.
Saves me whenever I screw up the config files.
HTH.
---
francis vidal [bitstop network services]
streaming media + web services
v(02)330-2871,(02)330-2872
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]