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

Re: Website response



On Wed, 2 Jun 1999, Golda Velez wrote:

> Here's a block of code from main.c with the new line indicated with >.

Got it, I'm building it now. That's sort of where I thought it
was supposed to go but wanted to be sure. I'll let you know the
results here in a few minutes.

> Actually I'm not as familiar as I should be with all the cvs tools - can
> you tell me how to make the context & unified diffs you were looking for?

Something along the lines of:

cp main.c main.c.old
vi main.c (and make the changes)
diff -u main.c.old main.c > main.patch

that's for unified. context would be -c instead of -u

If I recall correctly it's diff oldfile newfile but not posivie.
You can also do diff -r and name directories and get a recursive
diff of everything there.



-- 
Chris Dent.Coppertop   And what rough beast, its hour come round at last, 
.....Kiva Networking   Slouches towards Bethlehem to be born?  --Yeats