From: A. V. Le Blanc (zlsiial@uts.mcc.ac.uk)
Date: 08/29/92


From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc)
Subject: Re: Using patch
Date: 29 Aug 1992 12:41:14 GMT

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