[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: generating a diff in Nru style
From: |
Mark D. Baushke |
Subject: |
Re: generating a diff in Nru style |
Date: |
Tue, 04 May 2004 18:53:05 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pablo Neira <address@hidden> writes:
> Is there any way to generate a diff from a cvs in diff -Nru style?
(You may also find 'cvs diff -Nup' to be useful... at least I find that
the -p option helps add more context when I read diffs of source code.)
> Actually, I don't want this header:
>
> Index: recipe.tex
> ============================
> RCS file: /home/cvs/recipe/recipe.tex,v
> retrieving revision 1.1.1.1
Nope, that is the header you will get.
Don't worry, programs like 'patch' have no problems with it.
If you don't like it, a simple awk, sed or perl program should be able
to remove it for you.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFAmEkB3x41pRYZE/gRAk+qAJ9wuZ+vilnHJvWNznAraoBTTCqaygCeKTDW
bQM6dcBKXTK7D8yF4uRlAnE=
=dVlb
-----END PGP SIGNATURE-----