AMBER Archive (2005)

Subject: Re: AMBER: MM_PBSA help, please

From: David A. Case (case_at_scripps.edu)
Date: Tue Jul 12 2005 - 11:34:56 CDT


On Tue, Jul 12, 2005, opitz_at_che.udel.edu wrote:

> Ok, so looking at the statement below from the bugfix page:
> "Alternatively, if the Unix patch(1) program is available, the diff for
> each file can be put in its own file (patchfile) and patch run as follows"
>
> I made the attached file (take the modified file and put them in a file
> called patchfile). Would this file be correct to run as the patchfile?
> How does the program know where to put the corrections?

It doesn't. Don't edit the file you download from the web site. Just feed
it to "patch" as is: it will ignore anything it doesn't need.

For such a tiny patch as you are considering, doing it "by hand" (in a text
editor) is certainly also a realstic approach. But in the long run, you will
be well served by learning to use patch.

...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu