Version numbers and diifs not being displayed

VilleSkyttä scop at FreeBSD.org
Thu Sep 18 10:40:14 PDT 2003


On Thu, 2003-09-18 at 17:14, carol.kirkpatrick at radianz.com wrote:

> The output is the same (see below).  Is there anyway to determine the exact
> version of rcsdiff and diff that is being used.  I downloaded the tools
> last week.  Thanks for your help.
> 
> $  rcsdiff -u -r1.1 -r1.2 techtool_archive.pl,v
> ===================================================================
> RCS file: techtool_archive.pl,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- /tmp/T0CVaiVx       2003-09-18 14:08:41.433508430 +0000
> +++ /tmp/T1DVaiVx       2003-09-18 14:08:41.443513401 +0000

GNU diff has --version, and the following hack should display the
version of diff that rcsdiff invokes:

   rcsdiff -r1.1 -r1.2 --version techtool_archive.pl,v

Additionally, on my RH9 box and FreeBSD 4.9-pre:

   $ strings /usr/bin/rcsdiff | grep /diff
   /usr/bin/diff

I don't know how to extract the rcs version number from rcsdiff,
"strings /path/to/rcsdiff | grep Id" contains some information.

Where did you download the tools from?  Did you compile them yourself?

It's probably possible to add a hac^H^H^Hworkaround for this to
cvsweb.cgi, but I'd like to first verify that it's needed, and under
what conditions.



More information about the freebsd-cvsweb mailing list