CVS command reference

Date: Sat, 6 Nov 1999 11:38:24 -0400 (AST)
From: Michael Smith <michael@csuite.ns.ca>
To: csuite-dev@chebucto.ns.ca
Precedence: bulk
Return-Path: <csuite-dev-mml-owner@chebucto.ns.ca>

next message in archive
no next message in thread
previous message in archive
Index of Subjects


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---1978089469-745501149-941902703=:4491
Content-Type: TEXT/PLAIN; charset=US-ASCII

I saw this on the info-cvs mailing list, thought it might be useful. It
produces a CVS command summary suitable for printing. Attached and pasted
below.

#!/bin/sh

# http://www.eGroups.com/list/info-cvs/?start=16257
#Date: Fri, 05 Nov 1999 10:38:26 -0500
#From: Douglas Finkle <dfinkle@bbn.com>
#MIME-Version: 1.0
#Subject: Re: Quick Reference Card
#References: <Pine.SGI.4.05.9911050951560.19357-100000@rec03.pnpi.spb.ru>
#X-Mailing-List: <info-cvs@gnu.org> archive/latest/11071

#Several months back someone sent a rather clever little script that's fairly
#comprehensive... here it is again. The output produced follows.

# Write a CVS quick reference to stdout.  Pipe to "enscript -B -2r"
# for one double sided sheet.

cvs -v |grep Concurrent
echo Quick Command Line Reference
echo '------------------------------------------------------------------'
cvs --help 2>&1 | grep Usage
cvs --help-options 2>&1 | egrep -v '^\(Spec'
cvs --help-commands 2>&1 |
	egrep -v '^(CVS|\(Spec)' |
	while read cmd rest; do
		echo '------------------------------------------------------------------'
		syns="`cvs --help-synonyms 2>&1 |
			grep \" $cmd\" |
			awk '{print \"(\" $2 \",\" $3 \")\"}' |
			sed 's/,)/)/g'`"
		echo $cmd $syns - $rest
		cvs -H $cmd 2>&1 | egrep -v '^\(Spec'
	done
echo '------------------------------------------------------------------'

---1978089469-745501149-941902703=:4491
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=cvsquick
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.10.9911061138230.4491@pentagram.nslug.ns.ca>
Content-Description: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9w
dGlvbnMgMj4mMSB8IGVncmVwIC12ICdeXChTcGVjJw0KY3ZzIC0taGVscC1j
b21tYW5kcyAyPiYxIHwNCgllZ3JlcCAtdiAnXihDVlN8XChTcGVjKScgfA0K
CXdoaWxlIHJlYWQgY21kIHJlc3Q7IGRvDQoJCWVjaG8gJy0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLScNCgkJc3lucz0iYGN2cyAtLWhlbHAtc3lub255bXMgMj4m
MSB8DQoJCQlncmVwIFwiICRjbWRcIiB8DQoJCQlhd2sgJ3twcmludCBcIihc
IiAkMiBcIixcIiAkMyBcIilcIn0nIHwNCgkJCXNlZCAncy8sKS8pL2cnYCIN
CgkJZWNobyAkY21kICRzeW5zIC0gJHJlc3QNCgkJY3ZzIC1IICRjbWQgMj4m
MSB8IGVncmVwIC12ICdeXChTcGVjJw0KCWRvbmUNCmVjaG8gJy0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLScNCg==
---1978089469-745501149-941902703=:4491--

next message in archive
no next message in thread
previous message in archive
Index of Subjects