1 # $NetBSD: metalog.subr,v 1.2 2011/02/17 08:41:35 uebayasi Exp $
8 # RCS wrapper for non-interactive scripts.
9 # Excerpted from /etc/security.
19 rcslog -rlatest ${xrcs_cur} | \
20 sed -n '/^revision/ { s/^revision //; p; }'
25 previous=$( xrcs_latest 2>/dev/null )
26 if [ -n "$previous" ]; then
27 rcs -q -Nprevious: ${xrcs_cur}
33 rcs -q -u -U -M ${xrcs_cur}
39 ci -q -f -u -t-"$xrcs_descr" -m"$xrcs_msg" -Nlatest ${xrcs_cur}
40 rcs -q -kb -U ${xrcs_cur}
45 co -q -f -u ${xrcs_cur}
50 if [ -f ${xrcs_cur},v ]; then
54 if [ -f ${xrcs_cur} ]; then
55 if [ ! -f ${xrcs_cur},v ]; then
80 cp /dev/null ${xrcs_cur}