help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with diff command when using RCS ci.


From: Aaron S. Hawley
Subject: Re: Problem with diff command when using RCS ci.
Date: Fri, 25 Jul 2003 13:33:06 -0400 (EDT)

consider installing GNU diffutils to /usr/local/bin/diff

/a

On Fri, 25 Jul 2003, Reeder, John wrote:

>
> I am having a problem with the diff command when I use the RCS ci command.
> I am working on  Sun Solaris 8 system.
>
> This is the error message with ci that I get:
>
>    ci test.c
>    RCS/test.c,v  <--  test.c
>    new revision: 1.3; previous revision: 1.2
>    enter log message, terminated with single '.' or end of file:
>    >> test
>    >> .
>    /usr/local/bin/diff: not found
>    ci: RCS/test.c,v: diff failed
>    ci aborted
>
>
> If I do a which diff I get:
>
>   which diff
>   /usr/bin/diff
>
> As a work around I went to /usr/local/bin and put in a symbolic link to
> /usr/bin/diff
>
>    # ln -s /usr/bin/diff diff
>    # pwd
>    /home/local/bin
>
>
> And then I get the error message:  /usr/local/bin/diff: illegal option -- a
>
>
>    ci test.c
>    RCS/test.c,v  <--  test.c
>    new revision: 1.3; previous revision: 1.2
>    enter log message, terminated with single '.' or end of file:
>    >> test
>    >> .
>    /usr/local/bin/diff: illegal option -- a
>    usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
>        diff [-bitw] [-C number] file1 file2
>        diff [-bitw] [-D string] file1 file2
>        diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name]
> directory1 directory2
>    ci: RCS/test.c,v: diff failed
>    ci aborted
>
>
> What should I be doing to fix this problem?
>
>
> Thanks,
>
> John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]