home *** CD-ROM | disk | FTP | other *** search
- 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
- From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc)
- Newsgroups: comp.os.linux
- Subject: Re: Using patch
- Message-ID: <5724@mccuts.uts.mcc.ac.uk>
- Date: 29 Aug 92 12:41:14 GMT
- References: <1992Aug29.032618.21762@athena.mit.edu>
- Reply-To: LeBlanc@mcc.ac.uk (A. V. LeBlanc)
- Organization: Computing Centre, University of Manchester
- Lines: 32
-
- In article <1992Aug29.032618.21762@athena.mit.edu> hammond@kwhpc.caseng.com (Kevin W. Hammond) writes:
- >I applied patch 1 to 0.97 this morning, but had to manually answer Yes to each
- >file it desired to patch. Is there a way for patch to do this automatically?
- >
- >The command I used was:
- >
- > patch < patch1
- >
- >I was in the /usr/src/linux directory.
-
- Go to the /usr/src directory and type
-
- patch -c -p0 <patch1
-
- (assuming patch1 is in /usr/src instead of /usr/src/linux). This means
- 'run patch to apply context diffs, regarding all of the given pathnames
- as significant, using patch1 as input'.
-
- Alternatively, go to the /usr/src/linux directory and type
-
- patch -c -p1 <patch1
-
- (assuming patch1 is in /usr/src/linux). This means 'run patch to apply
- context diffs, regarding all of the given pathnames as significant
- except for one element, using patch1 as input'.
-
- If you haven't installed from the MCC interim version of Linux, the
- man pages are available (unformatted) in mcc-interim/0.97p2/source_files
- in the file manpages.tar.Z. These include the man page for patch.
-
- -- Owen
- LeBlanc@mcc.ac.uk
-