Gani Bhagavathula wrote:
> So, if a file had three patches, then I would move to the base
> directory of the files mentioned in the .patch file, and then go
>
> patch -p1 < patchfile.name
> patch -p2 < patchfile.name
> patch -p3 < patchfile.name
>
the p<x> is not the patch number but the strip on the path as reported
by the
manual (man patch)
/u/howard/src/blurfl/blurfl.c
setting -p0 gives the entire file name unmodified, -p1 gives
u/howard/src/blurfl/blurfl.c
without the leading slash, -p4 gives
blurfl/blurfl.c
Michael
PS: the man command can help you