repo.or.cz
/
sunny256-utils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Lib/std/c/src/: Add UNUSED, compile unused code
[sunny256-utils.git]
/
cvscat
blob
282b632f5e5d4bf90a547258ed326e0dc4af5bb8
1
#!/usr/bin/env bash
2
3
# cvscat
4
# File ID: e1b60c7c-5d37-11df-b6cd-90e6ba3022ac
5
6
if
[
$#
-le
1
];
then
7
cat
<<END
8
9
Syntax: cvscat file revision [cvs options]
10
11
END
12
exit
1
13
fi
14
15
cvsfile
=
$1
16
shift
17
revision
=
$1
18
shift
19
20
cvs
-d
$
(
cat
CVS
/
Root
)
co
-p -r
$revision
$
*
$
(
cat
CVS
/
Repository
)/
$cvsfile