home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!fuug!news.funet.fi!hydra!klaava!wirzeniu
- From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
- Newsgroups: comp.os.linux
- Subject: Re: Using patch
- Message-ID: <1992Aug29.102118.16754@klaava.Helsinki.FI>
- Date: 29 Aug 92 10:21:18 GMT
- References: <1992Aug29.032618.21762@athena.mit.edu>
- Organization: University of Helsinki
- Lines: 26
-
- 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.
-
- You should be in the /usr/src directory. My personal preference is to
- use:
-
- patch -s < patch1 2>&1 | tee patch.out
-
- -s (s = silent) says there isn't as much noise, and the tee thing lets
- me look at the output later, if need be. Also, I usually do
-
- find /usr/src/linux -name '*~' -print | xargs rm
-
- to get rid of the backup files patch created.
-
- (How did I learn all those tricks? I RTFM. :)
-
- --
- Lars.Wirzenius@helsinki.fi
-