Lines Matching +full:if +full:- +full:no +full:- +full:files +full:- +full:found

1 .\"-
13 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 .Bk -words
33 .Op Fl B Ar backup-prefix
36 .Op Fl F Ar max-fuzz
38 .Op Fl o Ar out-file
39 .Op Fl p Ar strip-count
40 .Op Fl r Ar rej-name
43 .Op Fl z Ar backup-ext
68 Context diffs (old-style, new-style, and unified) and
79 will try to apply each of them as if they came from separate patch files.
88 .Bl -tag -width Ds
90 .Fl B Ar backup-prefix ,
91 .Fl Fl prefix Ar backup-prefix
107 .Fl -posix
109 .It Fl C , Fl Fl check , Fl Fl dry-run
136 .It Fl E , Fl Fl remove-empty-files
139 to remove output files that are empty after the patches have been applied.
140 This option is useful when applying patches that create or remove files.
148 .Fl F Ar max-fuzz ,
149 .Fl Fl fuzz Ar max-fuzz
164 skip patches for which a file to patch cannot be found;
165 patch files even though they have the wrong version for the
168 and assume that patches are not reversed even if they look like they are.
179 .It Fl l , Fl Fl ignore-whitespace
197 .Fl o Ar out-file ,
198 .Fl Fl output Ar out-file
202 .Fl p Ar strip-count ,
203 .Fl Fl strip Ar strip-count
206 which controls how pathnames found in the patch file are treated,
207 in case you keep your files in a different directory than the person who sent
246 that this patch was created with the old and new files swapped.
259 will reverse the hunk to see if it can be applied that way.
260 If it can, you will be asked if you want to have the
264 (Note: this method cannot detect a reversed patch if it is a normal diff
265 and if the first command is an append (i.e., it should have been a delete)
272 .Fl r Ar rej-name ,
273 .Fl Fl reject-file Ar rej-name
287 skip patches for which a file to patch cannot be found (the same as
292 and assume that patches are reversed if they look like they are.
299 .Fl Fl version-control Cm t | nil | never | none
319 .Dq version-control
322 .Bl -tag -width Ds -offset indent
326 Make numbered backups of files that already have them,
345 .Fl z Ar backup-ext ,
346 .Fl Fl suffix Ar backup-ext
353 .St -p1003.1-2008
355 .Bl -enum
357 Backup files are not created unless the
362 index files that exists.
389 If no such place is found, and it is a context diff, and the maximum fuzz factor
417 You will also be told if a fuzz factor was used to make the match, in which
420 If no original file is specified on the command line,
442 .Qq --- .
446 .Qq ---
462 .Bl -enum
467 .St -p1003.1-2008
480 file names or, for a non-context diff, the
485 If no suitable file was found to patch, the patch file is a context or
494 Additionally, if the leading garbage contains a
499 number) and check the input file to see if that word can be found.
507 .Dl | patch -d /usr/src/local/blurfl
511 .Ss Backup Files
521 The extension used for making backup files may also be specified in the
529 If there are no more lowercase letters in the name,
536 option; if that file already exists, it is backed up first.
538 There are several things you should bear in mind if you are going to
570 one file, it is probably wiser to group related patches into separate files in
573 .Bl -tag -width "PATCH_VERSION_CONTROL" -compact
577 behaves as if the
584 Directory to put temporary files in; default is
587 Selects when numbered backup files are made.
592 .Sh FILES
593 .Bl -tag -width "$TMPDIR/patch*" -compact
596 temporary files
607 .Bl -tag -width Ds -offset indent -compact
627 is attempting to intuit whether there is a patch in that text and, if so,
635 .St -p1003.1-2008
638 .Fl -posix
644 .Op Fl -posix
651 cannot tell if the line numbers are off in an ed script, and can only detect
659 a context diff in these cases to see if the changes made sense.
675 will fail if you try to check several patches in succession that build on
679 code would have to be restructured to keep temporary files around so that it
685 is incapable of patching both versions, and, if it works at all, will likely
690 will think it is a reversed patch, and offer to un-apply the patch.