home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9391 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.6 KB

  1. Path: sparky!uunet!kithrup!stanford.edu!ames!haven.umd.edu!darwin.sura.net!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!mcsun!uknet!mucs!mccuts!zlsiial
  2. From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Using patch
  5. Message-ID: <5724@mccuts.uts.mcc.ac.uk>
  6. Date: 29 Aug 92 12:41:14 GMT
  7. References: <1992Aug29.032618.21762@athena.mit.edu>
  8. Reply-To: LeBlanc@mcc.ac.uk (A. V. LeBlanc)
  9. Organization: Computing Centre, University of Manchester
  10. Lines: 32
  11.  
  12. In article <1992Aug29.032618.21762@athena.mit.edu> hammond@kwhpc.caseng.com (Kevin W. Hammond) writes:
  13. >I applied patch 1 to 0.97 this morning, but had to manually answer Yes to each
  14. >file it desired to patch.  Is there a way for patch to do this automatically?
  15. >
  16. >The command I used was:
  17. >
  18. >    patch < patch1
  19. >
  20. >I was in the /usr/src/linux directory.
  21.  
  22. Go to the /usr/src directory and type
  23.  
  24.       patch -c -p0 <patch1
  25.  
  26. (assuming patch1 is in /usr/src instead of /usr/src/linux).  This means
  27. 'run patch to apply context diffs, regarding all of the given pathnames
  28. as significant, using patch1 as input'.
  29.  
  30. Alternatively, go to the /usr/src/linux directory and type
  31.  
  32.      patch -c -p1 <patch1
  33.  
  34. (assuming patch1 is in /usr/src/linux).  This means 'run patch to apply
  35. context diffs, regarding all of the given pathnames as significant
  36. except for one element, using patch1 as input'.
  37.  
  38. If you haven't installed from the MCC interim version of Linux, the
  39. man pages are available (unformatted) in mcc-interim/0.97p2/source_files
  40. in the file manpages.tar.Z.  These include the man page for patch.
  41.  
  42.      -- Owen
  43.      LeBlanc@mcc.ac.uk
  44.