Arggggg ... Patching driving me nuts!!!!

Ben Duncan bns
Mon May 17 11:49:25 PDT 2004


Ok Kurt ..... fill me in here.

At "Patch" file is that which is the difference of <org> compared to <new>.
The output of that is:
-<org stuff not on new>
and
+<new stuff not on org>

With the @@ stuff being
@@ -org_line,count +new_line,count @@

where < - > count is equal to all the matching lines INCLUDING the
- (minus) prefixed lines in the org file, but less the + (plus) prefixed lines.
The < + > count is equal to the number of lines  in the "New" file
including the + (plus) prefixed lines, but less the - prefixed lines

The patch procedure is "NORMALLY" run against the <org> file to update the
<org> file to what the patch requires subtracting out the minus and adding in the
pluses.

I hope this is correct.

Oh man, I am gonna need a drink after thinking on this ....

-- 
Ben Duncan   Phone (601)-355-2574     Fax (601)-355-2573   Cell (601)-946-1220
                         Business Network Solutions
                      336 Elton Road  Jackson MS, 39212
    "Software is like Sex, it is better when it's free" - Linus Torvalds



More information about the Linux-users mailing list