Finance::Quote

prl prl at ozemail.com.au
Thu May 3 08:54:46 EDT 2012


On 3/05/12 20:40, Les wrote:
> It appears that I was not using < in the patch. When I did use it, I
> got a message about wrong line number.  I don't know what that means.
> (I am not technical, just a user.)
>
Patch takes as input the output of a Unix "diff oldversion newversion > 
diffs", and applies it to files listed in the diff output to convert 
them from the old version to the new version. It first tries to find the 
place where a change is to be made by using the line numbers in the diff 
output. If that fails, it tries to pattern-match the text of the old 
version in the diffs file against the old version of the file. If that 
match succeeds, the patch is preformed, but a warning is printed, 
because it means that the old verson being patched isn't identical with 
the oldversion that was used to generate the patch.

Much of the time this doesn't cause any problems, but you can't be 
certain that patch has done the right thing.

Short version: the version that you're patching isn't identical to the 
version that the patch is supposed to be applied to. That may be OK, or 
it may not.

Peter


More information about the gnucash-user mailing list