File indexing completed on 2025-01-26 05:13:49
0001 #!/bin/sh 0002 exec awk -F / "{ if (\$2 == \"`basename $1`\") print \$3 }" < `dirname $1`/CVS/Entries 0003 0004 =head1 NAME 0005 0006 cvsversion -- Displays version of the file passed as argument. 0007 0008 =head1 SYNOPSIS 0009 0010 cvsversion <file> 0011 0012 =head1 DESCRIPTION 0013 0014 cvsversion displays the version in CVS of a file, as known by the local 0015 checked out directory. No connection is required to the CVS server. 0016 It can be used in other scripts, or simply to ask 0017 for diffs using 0018 0019 cvs diff -r <version> [-r <version>] <file> 0020 0021 =head1 EXAMPLES 0022 0023 cd baseline/kdelibs ; cvsversion configure.in 0024 cvsversion baseline/kdelibs/configure.in 0025 0026 =head1 AUTHOR 0027 0028 David Faure <faure@kde.org> 0029 0030 =cut