[BACK]Return to patch.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / patch

Diff for /src/usr.bin/patch/patch.1 between version 1.12 and 1.13

version 1.12, 2003/07/25 02:12:45 version 1.13, 2003/07/28 16:13:53
Line 481 
Line 481 
 is attempting to intuit whether there is a patch in that text and, if so,  is attempting to intuit whether there is a patch in that text and, if so,
 what kind of patch it is.  what kind of patch it is.
 .Pp  .Pp
   The
 .Nm  .Nm
 will exit with a non-zero status if any reject files were created.  utility exits with one of the following values:
   .Pp
   .Bl -tag -width Ds -compact -offset indent
   .It \&0
   Successful completion.
   .It \&1
   One or more lines were written to a reject file.
   .It \*[Gt]\&1
   An error occurred.
   .El
   .Pp
 When applying a set of patches in a loop it behooves you to check this  When applying a set of patches in a loop it behooves you to check this
 exit status so you don't apply a later patch to a partially patched file.  exit status so you don't apply a later patch to a partially patched file.
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr diff 1  .Xr diff 1
 .Sh AUTHORS  .Sh AUTHORS
 .An Larry Wall Aq larry@wall.org  .An Larry Wall
 with many other contributors.  with many other contributors.
 .Sh CAVEATS  .Sh CAVEATS
 .Nm  .Nm

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13