/usr/share/doc/librcs-perl/examples/access.pl is in librcs-perl 1.05-4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/usr/local/bin/perl -w
#------------------------------------------
# Add users to access list.
#------------------------------------------
use strict;
use Rcs;
Rcs->bindir('/usr/bin');
Rcs->quiet(0);
my $obj = Rcs->new;
$obj->rcsdir("./project/RCS");
$obj->workdir("./project/src");
$obj->file("testfile");
my @users = qw(beavis butthead);
$obj->rcs("-a@users");
my $filename = $obj->file;
my @access_list = $obj->access;
print "Users @access_list are on the access list of $filename\n";
|