|Comparing and Merging Files with GNU diff and patch|
by David MacKenzie, Paul Eggert, and Richard Stallman
Paperback (6"x9"), 120 pages
RRP £12.95 ($19.95)
"Well packaged... the quality of information is excellent" --- Linux User and Developer Magazine (Issue 36, Feb 2004) Get a printed copy>>>
10.11.2 Inhibiting Keyboard Input
There are two ways you can prevent
patch from asking you any
--force option assumes that you know
what you are doing. It causes
patch to do the following:
- Skip patches that do not contain file names in their headers.
- Patch files even though they have the wrong version for the ‘Prereq:’ line in the patch;
- Assume that patches are not reversed even if they look like they are.
--batch option is similar to
-f, in that
it suppresses questions, but it makes somewhat different assumptions:
Skip patches that do not contain file names in their headers
(the same as
- Skip patches for which the file has the wrong version for the ‘Prereq:’ line in the patch;
- Assume that patches are reversed if they look like they are.
|ISBN 0954161750||Comparing and Merging Files with GNU diff and patch||See the print edition|